move queue from core to the elements plugin ç
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2
3         * gst/gst.c:
4         * plugins/elements/Makefile.am:
5         * plugins/elements/gstelements.c:
6         * plugins/elements/gstqueue.c:
7           move queue from core to the elements plugin
8
9 2005-11-29  Andy Wingo  <wingo@pobox.com>
10
11         * libs/gst/base/gstbasetransform.h: 
12         * libs/gst/base/gstbasesrc.h: 
13         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14
15         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
16         of pointers by which to pad very extensible base classes (like the
17         ones in libs/gst/base).
18
19 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20
21         * docs/gst/gstreamer-docs.sgml:
22         * docs/gst/gstreamer-sections.txt:
23         * docs/libs/gstreamer-libs-docs.sgml:
24         * docs/libs/gstreamer-libs-sections.txt:
25           moving documentation from core to lib
26
27 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28
29         * check/Makefile.am:
30         * configure.ac:
31         * docs/gst/Makefile.am:
32         * gst/Makefile.am:
33         * gst/base/.cvsignore:
34         * gst/base/Makefile.am:
35         * gst/base/README:
36         * gst/base/gstadapter.c:
37         * gst/base/gstadapter.h:
38         * gst/base/gstbasesink.c:
39         * gst/base/gstbasesink.h:
40         * gst/base/gstbasesrc.c:
41         * gst/base/gstbasesrc.h:
42         * gst/base/gstbasetransform.c:
43         * gst/base/gstbasetransform.h:
44         * gst/base/gstcollectpads.c:
45         * gst/base/gstcollectpads.h:
46         * gst/base/gstpushsrc.c:
47         * gst/base/gstpushsrc.h:
48         * gst/base/gsttypefindhelper.c:
49         * gst/base/gsttypefindhelper.h:
50         * gst/check/Makefile.am:
51         * gst/check/gstcheck.c:
52         * gst/check/gstcheck.h:
53         * gst/net/Makefile.am:
54         * gst/net/gstnet.h:
55         * gst/net/gstnetclientclock.c:
56         * gst/net/gstnetclientclock.h:
57         * gst/net/gstnettimepacket.c:
58         * gst/net/gstnettimepacket.h:
59         * gst/net/gstnettimeprovider.c:
60         * gst/net/gstnettimeprovider.h:
61         * libs/gst/Makefile.am:
62         * libs/gst/base/Makefile.am:
63         * libs/gst/base/gstbasetransform.c:
64         * libs/gst/check/Makefile.am:
65         * plugins/elements/Makefile.am:
66         * po/POTFILES.in:
67           CVS surgery + support to move base, check, and net out of gst
68           and into libs/gst
69
70 2005-11-29  Andy Wingo  <wingo@pobox.com>
71
72         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
73
74         * gst/gststructure.h (struct _GstStructure): Only one pointer of
75         padding.
76
77         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
78
79         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
80
81         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
82
83         * gst/gstobject.h: (struct _GstObject): Only one pointer of
84         padding; reduces object size by about 30%. We don't expect
85         anything else to go into gstobject.
86
87         * gst/gstminiobject.h (struct _GstMiniObject)
88         (struct _GstMiniObjectClass): Only one pointer of padding; the
89         payload is only a pointer and two ints anyway. For the class there
90         are only two methods as well.
91         
92         * gst/gstelement.h (struct _GstElementClass): Removed
93         the state_changed signal callback, it is not used.
94
95 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
96
97         * docs/gst/gstreamer.types:
98           fix includes, though they are a little dinky
99
100 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
101
102         * check/Makefile.am:
103           look in the right place for elements, a lot more chance of
104           success
105         * gst/Makefile.am:
106           remove indexers and elements subdirs
107         * plugins/Makefile.am:
108           make indexers conditional
109
110 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
111
112         * Makefile.am:
113         * configure.ac:
114         * plugins/elements/Makefile.am:
115         * plugins/elements/gstcapsfilter.c:
116         * plugins/elements/gstfilesink.c:
117         * plugins/elements/gstfilesrc.c:
118         * plugins/elements/gstidentity.c:
119         * plugins/indexers/Makefile.am:
120           do CVS surgery and related build fixery to move elements
121           and indexers in a new gstreamer/plugins directory, out of the
122           gst/ directory
123
124 2005-11-29  Andy Wingo  <wingo@pobox.com>
125
126         * check/Makefile.am:
127         * pkgconfig/gstreamer-net-uninstalled.pc.in:
128         * pkgconfig/gstreamer-net.pc.in:
129         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
130         #322257.
131
132 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
133
134         * tools/Makefile.am:
135         * tools/gst-complete.1.in:
136         * tools/gst-complete.c:
137         * tools/gst-compprep.1.in:
138         * tools/gst-compprep.c:
139           removing -compprep and -complete
140
141 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
142
143         * gst/gstevent.c: (gst_event_new_new_segment),
144         (gst_event_parse_new_segment):
145         * gst/gstevent.h:
146           fix #320529 - clean up new_segment API and structure.
147           Let's hope everyone was using the methods, and not the structure.
148
149 2005-11-29  Edward Hervey  <edward@fluendo.com>
150
151         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
152         (gst_base_sink_event), (gst_base_sink_do_sync),
153         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
154         Properly handle non GST_FORMAT_TIME segment
155         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
156         Properly handle non GST_FORMAT_TIME segment
157         * gst/gstsegment.c:
158         This function is valid if the accumulator is 0 and the format
159         is different from the requested format.
160         
161 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
162
163         * docs/gst/gstreamer-sections.txt:
164         Add gst_query_new_seeking and gst_query_parse_seeking to the
165         docs.
166
167 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
168
169         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
170           Treat a pad alloc with new caps the same as if we were not
171           negotiated, in order to allow a changing upstream output
172           to produce a new format of data.
173
174 2005-11-29  Edward Hervey  <edward@fluendo.com>
175
176         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
177         (gst_base_transform_event), (gst_base_transform_eventfunc):
178         The event virtual method is now properly implemented, with a default
179         handler
180         Sub classes should call the parent_class event method. They should
181         return FALSE if they had a problem handling the given event, or don't
182         want GstBaseTransform to send that even downstream
183         * gst/elements/gstidentity.c: (gst_identity_class_init),
184         (gst_identity_init), (gst_identity_event),
185         (gst_identity_transform_ip), (gst_identity_set_property),
186         (gst_identity_get_property):
187         * gst/elements/gstidentity.h:
188         Added the single-segment boolean property.
189         If set to TRUE, it will output a single segment of data, starting from
190         0, will eat up all incoming newsegment, and modify the timestamp of the
191         buffers accordingly
192
193 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
194
195         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
196           Don't ref NULL target pad (#322751). Improve docs.
197
198 2005-11-29  Michael Smith  <msmith@fluendo.com>
199
200         * gst/gstregistryxml.c: (load_plugin):
201           Don't crash if we failed to load a feature from a plugin. 
202
203 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
204
205         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
206         (GST_START_TEST):
207           use more check API and less GLib API
208
209 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
210
211         * Makefile.am:
212           don't run checks if we don't have check
213         * common/check.mak:
214           remove the registry when running make torture
215         * docs/gst/gstreamer-sections.txt:
216           remove second multiply
217         * gst/gstqueue.c: (gst_queue_loop):
218           fix a compile warning when disabling debug
219
220 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
221
222         * gst/gstinfo.h:
223         Hey! Let's print the pad name if the pointer != NULL instead
224         of when it == NULL :-)
225
226 2005-11-28  Wim Taymans  <wim@fluendo.com>
227
228         * check/gst/gstutils.c: (GST_START_TEST):
229         Updated check, add some scaling accuracy checking code.
230
231         * gst/gstutils.c: (gst_util_div128_64),
232         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
233         (gst_util_uint64_scale_int):
234         Fix 6 times faster division code. Optimize for common 
235         1/1 and less common X/1 cases.
236
237 2005-11-28  Wim Taymans  <wim@fluendo.com>
238
239         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
240         More checks.
241
242         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
243         (do_linear_regression), (gst_clock_add_observation):
244         Cleanups.
245         Release lock when the clock cannot be slaved.
246         Catch the case where the regression returned an invalid denominator.
247
248         * gst/gstutils.c: (gst_util_div128_64_iterate),
249         (gst_util_div128_64), (gst_util_uint64_scale_int64),
250         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
251         Add protentially more performant non-iterative 128/64 divide function
252         that unfortunatly does not work yet.
253         Shortcut the trivial 0/X = 0 case.
254         Remove the warnings on overflow.
255
256 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
257
258         * gst/gstplugin.c: (gst_plugin_register_func):
259           everything causing a plugin not to load should be at least a WARNING
260
261 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
262
263         * docs/random/ensonic/dparams.txt:
264           some TODOs for the next dev cycle
265         * libs/gst/controller/gstcontroller.c:
266         (gst_controlled_property_set_interpolation_mode),
267         (gst_controlled_property_new):
268         * libs/gst/controller/gstcontroller.h:
269           use base type to assign acccessor functions
270
271 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
272
273         * check/Makefile.am:
274         Oops, that should have been top_srcdir
275
276 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
277
278         * check/Makefile.am:
279         * check/elements/fdsrc.c: (GST_START_TEST):
280         Use a cmdline define to specify the location of a file to use for
281         testing, to avoid breaking distcheck.
282
283 2005-11-28  Andy Wingo  <wingo@pobox.com>
284
285         * gst/gstpad.c (fixate_value): Use array functions for arrays.
286
287 2005-11-28  Edward Hervey  <edward@fluendo.com>
288
289         * tools/gst-launch.c: (main):
290         Clarify the output strings, makes it easier to translate.
291         Fixes #322626
292
293 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
294
295         * gst/Makefile.am:
296           don't try and build net if we don't even have <sys/socket.h>
297
298 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
299
300         * check/Makefile.am:
301         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
302         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
303           Add tests for fdsrc seekability
304
305         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
306         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
307         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
308         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
309         * gst/elements/gstfdsrc.h:
310           fdsrc should not be a 'live' source.
311           Implement seeking on seekable fd's.
312
313         * gst/gstquery.c: (gst_query_new_seeking),
314         (gst_query_parse_seeking):
315         * gst/gstquery.h:
316           Implement SEEKING query functions: 
317             *_new_seeking and *_parse_seeking
318
319 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
320
321         * gst/gstelement.c: (gst_element_dispose):
322           don't loop forever
323
324         * gst/gstiterator.c:
325         * gst/gststructure.c:
326           doc fixes
327
328         * libs/gst/controller/gstcontroller.c:
329         (gst_controlled_property_set_interpolation_mode):
330         * libs/gst/controller/gstcontroller.h:
331         * libs/gst/controller/gstinterpolation.c:
332         (interpolate_none_get_enum_value_array):
333           support controlling enums
334
335 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
336
337         * gst/gstvalue.c:
338           Improve documentation for gst_value_union().
339
340         * gst/gstvalue.h:
341           Change return value for union, intersect and subtract functions
342           from gint to gboolean.
343
344 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
345
346         * gst/gstvalue.c: (gst_value_serialize_any_list),
347         (gst_value_transform_any_list_string),
348         (gst_value_deserialize_list), (gst_value_deserialize_array),
349         (gst_value_set_int_range), (gst_value_deserialize_int_range),
350         (gst_value_set_double_range), (gst_value_deserialize_double_range),
351         (gst_value_set_fraction_range_full),
352         (gst_value_deserialize_fraction_range),
353         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
354         (gst_value_deserialize_boolean),
355         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
356         (gst_value_serialize_float), (gst_value_deserialize_float),
357         (gst_string_wrap), (gst_value_deserialize_string),
358         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
359         (gst_value_union_int_range_int_range),
360         (gst_value_intersect_int_range_int_range),
361         (gst_value_intersect_double_range_double_range),
362         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
363         (gst_value_subtract_int_range_int_range),
364         (gst_value_subtract_double_double_range),
365         (gst_value_subtract_double_range_double_range),
366         (gst_value_deserialize_fraction):
367         * gst/gstvalue.h:
368           Use gint, gdouble and gchar in our API instead of int, double and
369           char (and make usage in gstvalue.c more consistent).
370
371 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
372
373         * check/Makefile.am:
374         * libs/gst/controller/Makefile.am:
375         * libs/gst/dataprotocol/Makefile.am:
376           fix up Makefile.am and remove GST_ENABLE_NEW
377
378 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
379
380         * configure.ac:
381         * gst/Makefile.am:
382         * gst/base/Makefile.am:
383         * gst/check/Makefile.am:
384         * gst/elements/Makefile.am:
385         * gst/net/Makefile.am:
386           update LDFLAGS use some more
387
388 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
389
390         * common/m4/gst-doc.m4:
391           Fixes #312589
392
393 2005-11-26  Edward Hervey  <edward@fluendo.com>
394
395         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
396         This shouldn't issue a g_warning since it returns NULL if it
397         couldn't find the plugin, and all functions using this behave
398         properly on a NULL return. Switching to a GST_WARNING.
399
400 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
401
402         * gst/gstbin.c: (gst_bin_handle_message_func):
403         Don't leak clock messages.
404
405 2005-11-25  Wim Taymans  <wim@fluendo.com>
406
407         * gst/gstutils.c: (gst_util_uint64_scale_int64),
408         (gst_util_uint64_scale_int):
409         Optimisations, remove unneeded vars.
410
411 2005-11-25  Wim Taymans  <wim@fluendo.com>
412
413         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
414         Added more checks for the high precision uint64 cases.
415
416         * gst/gstutils.c: (gst_util_uint64_scale_int64),
417         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
418         Implement high precission (guint64 * guint64) / guint64.
419
420 2005-11-24  Wim Taymans  <wim@fluendo.com>
421
422         * gst/base/gstbasesrc.c: (gst_base_src_query):
423         Fix wrong percentage query.
424
425         * gst/gstutils.c: (gst_util_uint64_scale),
426         (gst_util_uint64_scale_int):
427         Add some more common cases that can be handled 
428         efficiently to _scale.
429
430 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
431
432         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
433         (gst_mini_object_suite):
434           don't use check calls from threads; check probably isn't
435           threadsafe and using a lock to make it threadsafe would
436           defeat the purpose of this check
437         * gst/check/gstcheck.c:
438         * gst/check/gstcheck.h:
439           use GST_DEBUG some more
440
441 2005-11-24  Wim Taymans  <wim@fluendo.com>
442
443         * gst/gstutils.c: (gst_util_uint64_scale),
444         (gst_util_uint64_scale_int):
445         Chain trivial case to _scale_int.
446
447 2005-11-24  Wim Taymans  <wim@fluendo.com>
448
449         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
450         Added test for scaling.
451
452         * gst/gstclock.h:
453         Small doc fix.
454
455         * gst/gstutils.c: (gst_util_uint64_scale_int):
456         Implemented high precision scaling code.
457
458 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
459
460         * gst/gstinfo.h:
461           do not crash on pad==NULL
462
463 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
464
465         Patch by: Stefan Kost
466
467         * common/gtk-doc.mak:
468         * docs/gst/Makefile.am:
469         * docs/libs/Makefile.am:
470           Fix distcheck issues for the libraries docs build
471           Closes #319599.
472
473 2005-11-24  Michael Smith <msmith@fluendo.com>
474
475         * docs/manual/basics-helloworld.xml:
476           Fix bug #315027: memory leak in example code in docs.
477
478 2005-11-24  Michael Smith <msmith@fluendo.com>
479
480         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
481           Unlock the PREROLL_LOCK in a failure case.
482
483 2005-11-24  Wim Taymans  <wim@fluendo.com>
484
485         * docs/gst/gstreamer-sections.txt:
486         * gst/base/gstadapter.h:
487         * gst/base/gstbasesink.h:
488         * gst/base/gstbasesrc.h:
489         * gst/base/gstbasetransform.h:
490         * gst/base/gstpushsrc.h:
491         * gst/elements/gstfakesink.h:
492         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
493         * gst/elements/gstfakesrc.h:
494         * gst/elements/gstfilesink.h:
495         * gst/elements/gstfilesrc.h:
496         * gst/gst.c:
497         * gst/gstbin.c:
498         * gst/gstbuffer.c: (_gst_buffer_copy):
499         * gst/gstbus.h:
500         * gst/gstcaps.c:
501         * gst/gstchildproxy.c:
502         * gst/gstclock.c:
503         * gst/gstelement.c:
504         * gst/gstelementfactory.c:
505         * gst/gstelementfactory.h:
506         * gst/gstevent.c:
507         * gst/gstghostpad.h:
508         * gst/gstindex.h:
509         * gst/gstinterface.h:
510         * gst/gstminiobject.c:
511         * gst/gstminiobject.h:
512         * gst/gstpad.c:
513         * gst/gstpad.h:
514         * gst/gstpadtemplate.h:
515         * gst/gstpipeline.h:
516         * gst/gstpluginfeature.h:
517         * gst/gstquery.h:
518         * gst/gstqueue.h:
519         * gst/gsttaglist.c:
520         * gst/gsttaglist.h:
521         * gst/gsttagsetter.c:
522         * gst/gsttagsetter.h:
523         * gst/gsttrace.c:
524         * gst/gsttrace.h:
525         * gst/gsttypefind.h:
526         * gst/gsturi.h:
527         * gst/gstvalue.c:
528         * gst/net/gstnetclientclock.c:
529         * gst/net/gstnetclientclock.h:
530         * gst/net/gstnettimepacket.c:
531         * gst/net/gstnettimeprovider.c:
532         * gst/net/gstnettimeprovider.h:
533         Doc fixes.
534
535 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
536
537         * configure.ac: back to HEAD
538
539 === release 0.9.6 ===
540
541 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
542
543         * configure.ac:
544           releasing 0.9.6, "Always On Time"
545
546 2005-11-23  Wim Taymans  <wim@fluendo.com>
547
548         * docs/gst/gstreamer-sections.txt:
549         * gst/glib-compat.c:
550         * gst/gsttagsetter.c:
551         * gst/gstvalue.c:
552         * gst/net/gstnetclientclock.c:
553         * gst/net/gstnettimepacket.h:
554         Doc updates.
555
556 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
557
558         * docs/faq/using.xml:
559         * docs/libs/tmpl/gstcontrol.sgml:
560         * docs/manual/advanced-dparams.xml:
561         * docs/manual/appendix-checklist.xml:
562         * docs/manual/basics-elements.xml:
563         * docs/pwg/other-source.xml:
564         * docs/random/moving-plugins:
565         * gst/gstpad.c:
566         * tools/gst-launch.1.in:
567           remove mentions of sinesrc
568
569 2005-11-23  Michael Smith <msmith@fluendo.com>
570
571         * docs/gst/gstreamer-sections.txt:
572           Update for new API and API changes.
573         * gst/gstobject.h:
574           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
575         * gst/gstvalue.c:
576           Documentation typo fix.
577         * gst/net/gstnettimepacket.c:
578           Documentation fixes for arguments.
579
580 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
581
582         * gst/gststructure.c: (gst_structure_get_fraction),
583         (gst_structure_parse_value),
584         (gst_structure_fixate_field_nearest_fraction):
585         * gst/gststructure.h:
586         * gst/gstutils.c: (gst_util_uint64_scale_int):
587         * gst/gstutils.h:
588         * scripts/update-funcnames:
589         API Changes. 
590         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
591         Make gst_structure_fixate_field_nearest_fraction take a numerator
592         and denominator argument instead of a GValue
593         add gst_structure_get_fraction helper function.
594
595 2005-11-23  Wim Taymans  <wim@fluendo.com>
596
597         * docs/design/part-TODO.txt:
598         Update TODO.
599
600         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
601         * gst/net/gstnetclientclock.h:
602         Use parent fields for timeout and window_size.
603
604 2005-11-23  Andy Wingo  <wingo@pobox.com>
605
606         * check/net/gstnetclientclock.c (test_functioning): Adjust to
607         rate_num/rate_denom change.
608
609         * gst/net/gstnetclientclock.c
610         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
611         OBJECT_LOCK. Don't call add_observation with the lock.
612
613         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
614         fraction.
615         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
616         rate fraction.
617         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
618         deal with rate as a fraction whose numerator and denominator are
619         GstClockTime values.
620         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
621         master; the other fields are protected by the SLAVE_LOCK.
622         (do_linear_regression): Note that this must be called with the
623         SLAVE_LOCK.
624         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
625         OBJECT_LOCK. Call set_calibration instead of touching the
626         variables directly.
627         (gst_clock_set_property, gst_clock_get_property): Protect
628         master/slave parameters with the SLAVE_LOCK.
629
630         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
631         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
632         note that all of the instance variables that add_observation and
633         the set_master functions use are protected by that lock and not
634         the OBJECT_LOCK.
635         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
636
637         * gst/gstclock.c (gst_clock_add_observation): No longer requires
638         the caller to take the object lock.
639
640 2005-11-23  Wim Taymans  <wim@fluendo.com>
641
642         * gst/gsterror.c: (_gst_core_errors_init):
643         * gst/gsterror.h:
644         Add error for clock stuff.
645
646         * gst/gstpipeline.c: (gst_pipeline_change_state),
647         (gst_pipeline_set_clock):
648         Post clock error when clock cannot be used in a pipeline.
649
650 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
651
652         * docs/gst/gstreamer-sections.txt:
653           make two symbols from gstinfo private for the docs
654         * gst/base/gstcollectpads.h:
655         * gst/gstutils.c:
656           fix doc typos, update docs
657
658 2005-11-22  Wim Taymans  <wim@fluendo.com>
659
660         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
661         (gst_base_sink_wait), (gst_base_sink_do_sync),
662         (gst_base_sink_handle_event):
663         * gst/base/gstbasesink.h:
664         No need to store the clock, the parent element class already
665         has it.
666
667         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
668         Updates for clock_set returning a gboolean
669
670         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
671         (gst_clock_id_wait_async), (gst_clock_class_init),
672         (gst_clock_init), (gst_clock_finalize),
673         (gst_clock_get_internal_time), (gst_clock_get_time),
674         (gst_clock_slave_callback), (gst_clock_set_master),
675         (gst_clock_get_master), (do_linear_regression),
676         (gst_clock_add_observation), (gst_clock_set_property),
677         (gst_clock_get_property):
678         * gst/gstclock.h:
679         Implement master/slave. When setting a clock as a slave, a
680         periodic timeout is scheduled to sample master and slave times.
681         Then the slave clock is recalibrated to match offset and rate
682         of the master clock.
683         Update logging a bit.
684         Add flag so that a clock can state that is cannot be slaved to
685         another clock.
686
687         * gst/gstelement.c: (gst_element_set_clock):
688         * gst/gstelement.h:
689         The set clock returns a gboolean for when an element cannot
690         deal with the selected clock in the pipeline. 
691
692         * gst/gstpipeline.c: (gst_pipeline_change_state),
693         (gst_pipeline_set_clock):
694         * gst/gstpipeline.h:
695         Handle the case where the selected clock cannot be set on
696         the pipeline.
697
698         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
699         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
700         (gst_net_client_clock_set_property),
701         (gst_net_client_clock_get_property),
702         (gst_net_client_clock_observe_times):
703         * gst/net/gstnetclientclock.h:
704         Use regression code in GstClock parent, remove duplicated
705         functionality.
706
707 2005-11-22  Michael Smith <msmith@fluendo.com>
708
709         * gst/gstutils.c: (gst_util_clock_time_scale):
710         * gst/gstutils.h:
711         * docs/gst/gstreamer-sections.txt:
712           Rename method to have extra underscore.
713
714 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
715
716         * gst/elements/Makefile.am:
717         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
718         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
719         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
720         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
721         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
722         * gst/elements/gstfakesrc.h:
723         * gst/gstqueue.c: (queue_leaky_get_type):
724           correctly fix GEnumValues so that nick is the short lowercase
725           dashed tag
726         * tools/gst-inspect.c: (print_element_properties_info):
727           also show the nick, since it's useful to use from parse_launch
728           syntax
729           Fixes #322139
730
731 2005-11-22  Michael Smith <msmith@fluendo.com>
732
733         * gst/gstutils.c: (gst_util_clocktime_scale):
734         * gst/gstutils.h:
735         * docs/gst/gstreamer-sections.txt:
736           Add util method for scaling a clocktime by a fraction. Useful 
737           implementation is left as an exercise for the reader.
738
739 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
740
741         * gst/gstvalue.c: (gst_value_collect_fraction_range):
742         If needed, allocate storage in the destination value during
743         collection.
744
745 2005-11-22  Edward Hervey  <edward@fluendo.com>
746
747         * docs/gst/gstreamer-sections.txt:
748         * gst/Makefile.am:
749         * gst/gst.h:
750         * gst/gsturitype.c:
751         * gst/gsturitype.h:
752         * gst/gstutils.c: (gst_util_set_object_arg):
753         * tools/gst-compprep.c: (main):
754         * tools/gst-inspect.c: (print_element_properties_info):
755         Removed GstURI, closes bug #321061
756
757 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
758
759         * check/gst/gststructure.c: (GST_START_TEST):
760         * gst/gststructure.c: (gst_structure_parse_value):
761           Oops, broke automatic string type parsing.
762           Add a test to catch it in future.
763
764 2005-11-22  Andy Wingo  <wingo@pobox.com>
765
766         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
767         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
768         Actually rename the function implementations. Grr.
769
770 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
771
772         * check/gst/capslist.h:
773           Comment test cases
774         * check/gst/gststructure.c: (GST_START_TEST),
775         (gst_structure_suite):
776           Test automatic value type detection in gst_structure_from_string.
777         * gst/gststructure.c: (gst_structure_parse_value):
778           Add fraction as a type we try and guess automatically in
779           caps/structure strings.
780
781 2005-11-22  Andy Wingo  <wingo@pobox.com>
782
783         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
784
785         * gst/gsttagsetter.h:
786         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
787         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
788         (gst_tag_setter_add_tag_valist)
789         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
790         _add_values, _add_valist, and _add_valist_values. Since this is an
791         interface the function suffixes should be more explicit so
792         language binding don't end up with element.add_valist ->
793         gst_tag_setter_add_valist, for example. Fixes #322069.
794
795 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
796
797         * check/gst/gstcaps.c: (GST_START_TEST):
798           Extend caps string tests to check that a caps to string
799           conversion is reversible and produces the same caps.
800
801         * gst/gststructure.c: (gst_structure_value_get_generic_type):
802           Output "fraction" as the generic type fraction range, so caps
803           serialisation and deserialisation works.
804         * check/gst/capslist.h:
805         * gst/gstvalue.c: (gst_value_deserialize_fraction):
806           Support 'MIN' and 'MAX' for deserialising fractions.
807
808 2005-11-22  Andy Wingo  <wingo@pobox.com>
809
810         * gst/gstevent.h (gst_event_new_new_segment)
811         (gst_event_parse_new_segment, gst_event_new_buffer_size)
812         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
813         Renamed from *_newsegment, *_buffersize, *_notarget.
814
815         * scripts/update-funcnames: New script, performs the changes
816         listed above.
817
818 2005-11-22  Wim Taymans  <wim@fluendo.com>
819
820         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
821         Make sure the GstFlowReturn is returned.
822
823         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
824         (gst_bus_add_signal_watch):
825         * gst/gstbus.h:
826         add gst_bus_add_signal_watch_full.
827
828         * gst/gstplugin.c: (gst_plugin_load_file):
829         Small style cleanup.
830
831 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
832
833         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
834           Block the fakesrc srcpad when we send an event, to avoid
835           contention on the stream_lock causing random test failures.
836
837 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
838
839         * check/gst/gstvalue.c: (GST_START_TEST):
840         * gst/gstvalue.c: (gst_value_fraction_subtract):
841           Fix subtraction.
842
843 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
844
845         * gst/gst.h:
846           include "gstchildproxy.h"
847         * gst/gstchildproxy.h:
848         * libs/gst/controller/gstcontroller.h:
849           use G_GNUC_NULL_TERMINATED
850
851 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
852
853         * check/gst/capslist.h:
854         * check/gst/gstcaps.c: (GST_START_TEST):
855         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
856         * gst/gststructure.c: (gst_structure_parse_range),
857         (gst_structure_fixate_field_nearest_fraction):
858         * gst/gststructure.h:
859         * gst/gstvalue.c: (gst_value_init_fraction_range),
860         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
861         (gst_value_collect_fraction_range),
862         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
863         (gst_value_set_fraction_range_full),
864         (gst_value_get_fraction_range_min),
865         (gst_value_get_fraction_range_max),
866         (gst_value_serialize_fraction_range),
867         (gst_value_transform_fraction_range_string),
868         (gst_value_compare_fraction_range),
869         (gst_value_deserialize_fraction_range),
870         (gst_value_intersect_fraction_fraction_range),
871         (gst_value_intersect_fraction_range_fraction_range),
872         (gst_value_subtract_fraction_fraction_range),
873         (gst_value_subtract_fraction_range_fraction),
874         (gst_value_subtract_fraction_range_fraction_range),
875         (gst_value_collect_fraction), (gst_value_fraction_multiply),
876         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
877         (gst_value_transform_string_fraction), (_gst_value_initialize):
878         * gst/gstvalue.h:
879           Implement fraction ranges and extend GstFraction to support
880           arithmetic subtraction, as well as deserialization from integer
881           strings such as "100"
882           Add a testsuite as for int and double range set operations
883
884 2005-11-21  Andy Wingo  <wingo@pobox.com>
885
886         * gst/gsttaglist.h: 
887         * gst/gstcaps.h: 
888         * gst/gststructure.h: Add glib-compat.h.
889
890 2005-11-21  Wim Taymans  <wim@fluendo.com>
891
892         * gst/gstbin.c: (gst_bin_change_state_func):
893         Fix for #321595
894
895 2005-11-21  Wim Taymans  <wim@fluendo.com>
896
897         * gst/gstsegment.h:
898         And add a nice define too.
899
900 2005-11-21  Wim Taymans  <wim@fluendo.com>
901
902         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
903         (gst_segment_new), (gst_segment_free), (gst_segment_init),
904         (gst_segment_set_duration), (gst_segment_set_last_stop),
905         (gst_segment_set_seek), (gst_segment_set_newsegment),
906         (gst_segment_to_stream_time), (gst_segment_to_running_time),
907         (gst_segment_clip):
908         * gst/gstsegment.h:
909         Make binding friendly.
910
911 2005-11-21  Andy Wingo  <wingo@pobox.com>
912
913         * gst/gsttagsetter.h: 
914         * gst/gsttaglist.h: 
915         * gst/gststructure.h: 
916         * gst/gstcaps.h: 
917         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
918         #319940.
919
920         * gst/gsterror.c (_gst_core_errors_init):
921         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
922         category.
923
924         * gst/Makefile.am (gst_headers): Add glib-compat.h.
925         (noinst_HEADERS): noinst the -private.
926
927 2005-11-21  Michael Smith <msmith@fluendo.com>
928
929         * gst/gstplugin.h:
930         * gst/gstregistry.h:
931           Remove unimplemented declarations for which we can see no sensible
932           use.
933
934 2005-11-21  Andy Wingo  <wingo@pobox.com>
935
936         * gst/gst.h: Include glib-compat.h.
937
938         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
939
940         * gst/glib-compat.c: Include the public and the private header.
941
942         * gst/glib-compat-private.h: Copied here from glib-compat.h.
943
944         * gst/gstvalue.c: 
945         * gst/gstpad.c: 
946         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
947
948         * check/gst/gstevent.c (create_custom_events): Check that
949         FLUSH_STOP is serialized.
950
951         * check/elements/identity.c (event_func): 
952         * check/elements/fakesrc.c (event_func): No stream lock, the core
953         takes it.
954
955         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
956         stream lock taking, yay.
957
958         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
959         ensure that core takes the stream lock.
960
961         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
962         lock name change.
963
964         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
965         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
966         it already. For the flush start we do take it though so we get the
967         right preroll state change messages.
968
969         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
970         the stream lock here, the core does it for us.
971
972         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
973         GST_STREAM_GET_LOCK.
974         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
975         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
976         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
977         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
978         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
979         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
980
981         * gst/gstpad.c: Update for stream lock name change.
982
983         * gst/base/gstbasesink.c: Update for preroll lock name change.
984
985 2005-11-21  Wim Taymans  <wim@fluendo.com>
986
987         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
988         (gst_clock_get_master):
989         * gst/gstclock.h:
990         * gst/gstsystemclock.c: (gst_system_clock_init):
991         Convert Clock flags to object flags.
992         Added methods to manage master/slave clocks.
993
994 2005-11-21  Wim Taymans  <wim@fluendo.com>
995
996         * check/gst/gstsegment.c: (GST_START_TEST):
997         * docs/design/part-TODO.txt:
998         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
999         (gst_base_sink_event), (gst_base_sink_do_sync),
1000         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1001         (gst_base_sink_query), (gst_base_sink_change_state):
1002         * gst/base/gstbasesink.h:
1003         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1004         (gst_base_src_default_newsegment),
1005         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1006         (gst_base_src_get_range), (gst_base_src_loop),
1007         (gst_base_src_change_state):
1008         * gst/base/gstbasesrc.h:
1009         * gst/base/gstbasetransform.c:
1010         (gst_base_transform_prepare_output_buf),
1011         (gst_base_transform_event), (gst_base_transform_change_state):
1012         * gst/base/gstbasetransform.h:
1013         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1014         (gst_collect_pads_event):
1015         * gst/base/gstcollectpads.h:
1016         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1017         (gst_fake_src_create):
1018         * gst/elements/gstfakesrc.h:
1019         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1020         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1021         (gst_segment_set_last_stop), (gst_segment_set_seek),
1022         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1023         (gst_segment_to_running_time), (gst_segment_clip):
1024         * gst/gstsegment.h:
1025         More segment updates, replace code in plugins with segment
1026         helper functions.
1027
1028 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1029
1030         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1031         Don't ignore sscanf results
1032
1033 2005-11-21  Andy Wingo  <wingo@pobox.com>
1034
1035         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1036
1037         * *.h:
1038         * *.c: Ran scripts/update-macros. Oh yes.
1039
1040         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1041         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1042         GST_GET_LOCK, etc.
1043
1044         * scripts/update-macros: New script. Run it on your files to
1045         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1046         well.
1047
1048 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1049
1050         * docs/gst/Makefile.am:
1051         * docs/gst/gstreamer-docs.sgml:
1052         * docs/gst/gstreamer-sections.txt:
1053         * docs/gst/gstreamer.types:
1054         * gst/gstinfo.h:
1055           more docs fixes, add new api to the docs
1056
1057 2005-11-21  Andy Wingo  <wingo@pobox.com>
1058
1059         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1060         state_broadcast call.
1061
1062         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1063
1064 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1065
1066         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1067         function calls for arrays.
1068
1069 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1070
1071         * docs/random/ensonic/media-device-daemon.txt:
1072           wild idea, can this be done?
1073         * docs/gst/gstreamer-sections.txt:
1074         * gst/gsterror.h:
1075         * gst/gstfilter.c:
1076         * gst/gstfilter.h:
1077         * gst/gstplugin.h:
1078         * gst/gstpluginfeature.c:
1079         * gst/gsttrace.c:
1080         * gst/gstvalue.c:
1081         * gst/gstvalue.h:
1082           doc fixes and additions
1083
1084 2005-11-21  Andy Wingo  <wingo@pobox.com>
1085
1086         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1087         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1088         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1089         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1090         private to the basesrc implementation.
1091
1092         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1093         behalf of event function if necessary. It should no longer be
1094         necessary to take the stream lock in pad's event functions. Fixes
1095         #320299.
1096
1097 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1098         * docs/gst/gstreamer-sections.txt:
1099         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1100         (gst_structure_fixate_field_nearest_double),
1101         (gst_structure_fixate_field_boolean):
1102         * gst/gststructure.h:
1103         * win32/common/libgstreamer.def:
1104         * win32/gstreamer.def:
1105
1106         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1107         (#322027)
1108
1109 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1110
1111         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1112         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1113         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1114         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1115         (gst_fdsrc_uri_handler_init):
1116         * gst/elements/gstfdsrc.h:
1117           Port fd:// URI handler from 0.8 to fdsrc
1118
1119 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1120
1121         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1122         (gst_value_serialize_fourcc):
1123         * gst/gstvalue.h:
1124           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1125           consistent with our other format defines (#320324).
1126
1127 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1128
1129         * gst/gstvalue.c: (gst_value_is_fixed):
1130           Revert previous commit. Value lists are by definition
1131           not fixed, as they are a list of possible values.
1132
1133 2005-11-21  Andy Wingo  <wingo@pobox.com>
1134
1135         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1136         during the stable series if we need it. Fixes #319178.
1137
1138         * gst/gstevent.c (gst_event_new_filler): Removed.
1139
1140         * check/gst/gstevent.c: Update comment about filler events.
1141
1142 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1143
1144         * gst/gstvalue.c: (gst_value_is_fixed):
1145           Should handle both value arrays and value lists.
1146
1147 2005-11-21  Andy Wingo  <wingo@pobox.com>
1148
1149         patch by: Alessandro Dessina <alessandro nnva org>
1150
1151         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1152         functions to access arrays. Fixes #321962.
1153
1154 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1155
1156         * docs/gst/gstreamer.types:
1157           gst_collectpads_get_type => gst_collect_pads_get_type.
1158           
1159         * gst/base/gstbasetransform.c:
1160           Remove unused SIGNAL_HANDOFF enum.
1161
1162 2005-11-21  Andy Wingo  <wingo@pobox.com>
1163
1164         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1165         the event type (upstream, downstream, serialized). Renamed
1166         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1167         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1168         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1169
1170         * gst/gstevent.c: Update for new CUSTOM event names.
1171
1172         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1173
1174         * gst/gstevent.h:
1175         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1176         bug #319392.
1177
1178 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1179
1180         * docs/gst/gstreamer-sections.txt:
1181         * win32/common/libgstbase.def:
1182         * win32/libgstbase.def:
1183         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1184         (gst_collect_pads_class_init), (gst_collect_pads_init),
1185         (gst_collect_pads_finalize), (gst_collect_pads_new),
1186         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1187         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1188         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1189         (gst_collect_pads_start), (gst_collect_pads_stop),
1190         (gst_collect_pads_peek), (gst_collect_pads_pop),
1191         (gst_collect_pads_available), (gst_collect_pads_read),
1192         (gst_collect_pads_flush), (gst_collect_pads_event),
1193         (gst_collect_pads_chain):
1194         * gst/base/gstcollectpads.h:
1195           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1196           unimplemented functions as unimplemented. Add padding to
1197           GstCollectData. (#320766, #320423)
1198
1199 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1200
1201         * gst/gstmessage.c:
1202           Improve docs for DURATION message (usage of duration parameter)
1203           (#320113)
1204
1205 2005-11-20  Wim Taymans  <wim@fluendo.com>
1206
1207         * check/Makefile.am:
1208         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1209         (main):
1210         * gst/Makefile.am:
1211         * gst/gst.h:
1212         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1213         (gst_segment_set_seek), (gst_segment_set_newsegment),
1214         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1215         (gst_segment_clip):
1216         * gst/gstsegment.h:
1217         Added segment helper structure and methods. Not fully implemented
1218         yet.
1219         Added segment check.
1220
1221 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1222
1223         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1224           Add a deserialisation test for fractions
1225         * examples/metadata/read-metadata.c: (message_loop),
1226         (make_pipeline), (main):
1227           Fix up metadata reading sample.
1228         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1229           Debug format fix
1230         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1231           Don't try and fixate empty caps
1232         * gst/gst_private.h:
1233           Wrap in G_BEGIN_DECLS/G_END_DECLS
1234         * gst/gstvalue.c: (gst_value_collect_fraction),
1235         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1236         (gst_value_transform_string_fraction),
1237         (gst_value_compare_fraction):
1238           Add some extra guards to ensure that we don't end up 
1239           with an invalid denominator of 0 in a gstfraction and
1240           that fractions always get reduced.
1241
1242 2005-11-20  Wim Taymans  <wim@fluendo.com>
1243
1244         * docs/gst/gstreamer-sections.txt:
1245         * gst/gstbuffer.h:
1246         * gst/gstelement.c:
1247         * gst/gstformat.c:
1248         * gst/gstformat.h:
1249         * gst/gstindex.h:
1250         * gst/gstquery.c:
1251         * gst/gstquery.h:
1252         * gst/gstvalue.c:
1253         Doc fixes.
1254
1255 2005-11-20  Wim Taymans  <wim@fluendo.com>
1256
1257         * docs/design/part-TODO.txt:
1258         * gst/gstcaps.h:
1259         Make a proper enum of the flag.
1260
1261 2005-11-19  Wim Taymans  <wim@fluendo.com>
1262
1263         * docs/design/part-TODO.txt:
1264         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1265         (gst_format_to_quark), (gst_format_register):
1266         * gst/gstformat.h:
1267         * gst/gstquery.c: (_gst_query_initialize),
1268         (gst_query_type_get_name), (gst_query_type_to_quark),
1269         (gst_query_type_register):
1270         * gst/gstquery.h:
1271         Add type to quark and type to string conversions.
1272
1273 2005-11-19  Andy Wingo  <wingo@pobox.com>
1274
1275         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1276         #320097.
1277
1278 2005-11-19  Wim Taymans  <wim@fluendo.com>
1279
1280         * docs/design/part-TODO.txt:
1281         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1282         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1283         (gst_bin_handle_message_func):
1284         * gst/gstbin.h:
1285         Make message handling overridable.
1286
1287 2005-11-19  Andy Wingo  <wingo@pobox.com>
1288
1289         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1290
1291         * gst/gstclock.h:
1292         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1293         be a GstClockTime.
1294         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1295         is a GstClockTime. Fixes #321710.
1296
1297         * gst/gstclock.h (GstClock): Remove offset property. Add
1298         internal_calibration and external_calibration. Fix padding. Pad
1299         also by GstClockTime so we don't run into problems.
1300
1301         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1302         (gst_clock_get_rate_offset): Remove.
1303         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1304
1305         * gst/gstutils.h:
1306         * gst/gstutils.c (g_static_rec_cond_wait)
1307         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1308
1309         * gst/gstbin.c: Remove terrible continue_state prototype.
1310
1311         * gst/gstelement.h (gst_element_continue_state): Make public.
1312
1313         * gst/gstelement.h:
1314         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1315         by continue_state. Fixes #319389.
1316
1317         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1318         Really fixes #168438. However I don't see anywhere where the
1319         filter function is called... stupid GStreamer...
1320         
1321         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1322         don't have a dispose function, so it won't get called when the
1323         object is unreffed, but oh well!
1324
1325         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1326         allows a destroy function to be set so user_data can be freed.
1327         Fixes #168438.
1328         (gst_index_set_filter): Call gst_index_set_filter_full.
1329
1330         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1331
1332         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1333         string should produce an error, given the lack of a way to
1334         represent NULL strings. Fixes #165650.
1335         
1336         * gst/gstvalue.h: 
1337         * gst/gstvalue.c (gst_value_array_append_value) 
1338         (gst_value_array_prepend_value, gst_value_array_get_size) 
1339         (gst_value_array_get_value): New API, copied from
1340         gst_value_list_*, only operates on arrays.
1341         (gst_value_list_append_value, gst_value_list_prepend_value) 
1342         (gst_value_list_concat, gst_value_list_get_size) 
1343         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1344
1345         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1346         init_list, because it works on both.
1347         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1348         (gst_value_copy_list_or_array): Renamed from copy_list.
1349         (gst_value_free_list_or_array): Renamed from free_list.
1350         (gst_value_collect_list_or_array): Renamed from collect_list.
1351         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1352         (gst_value_list_or_array_peek_pointer): Renamed from
1353         list_peek_pointer.
1354         (_gst_value_array_value_table, _gst_value_list_value_table):
1355         Update value table functions.
1356         (gst_value_compare_list_or_array): Renamed from compare_list.
1357
1358         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1359         some constness.
1360
1361         * gst/gsttaglist.c:
1362         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1363         GstTagList*. Fixes #143472.
1364
1365         * gst/gststructure.h: Clarify what the foreach/map functions can
1366         or can't do to their arguments.
1367
1368 2005-11-18  Wim Taymans  <wim@fluendo.com>
1369
1370         * gst/gstclock.c: (gst_clock_set_calibration),
1371         (gst_clock_get_calibration):
1372         Doc and API fixes.
1373         Calibration can be set with internal time equal to current
1374         internal time too.
1375
1376 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1377
1378         * gst/gsterror.c:
1379         * gst/gsterror.h:
1380           document
1381
1382 2005-11-18  Andy Wingo  <wingo@pobox.com>
1383
1384         * configure.ac: 
1385         * pkgconfig/gstreamer-net.pc.in:
1386         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1387         * pkgconfig/Makefile.am: Add net pkgconfig files.
1388
1389 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1390
1391         * gst/gstcaps.c:
1392         * gst/gstghostpad.c:
1393         * gst/gsttrace.c:
1394         * gst/gstvalue.c:
1395         * gst/gstvalue.h:
1396           docs fixes
1397
1398 2005-11-18  Andy Wingo  <wingo@pobox.com>
1399
1400         * gst/net/gstnetclientclock.c: Turn off debugging.
1401
1402         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1403         times connverge somewhat. Can't make a real test.
1404
1405         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1406         integer arithmetic. Return the minimum of the domain, which can be
1407         set as "internal" for gst_clock_set_calibration.
1408         (gst_net_client_clock_observe_times): Call _set_calibration.
1409         (gst_net_client_clock_new): Call _set_calibration instead of
1410         rate_offset.
1411
1412         * check/net/gstnetclientclock.c (test_functioning): Use the right
1413         adjustment api.
1414
1415         * gst/gstclock.h:
1416         * gst/gstclock.c (gst_clock_get_calibration) 
1417         (gst_clock_set_calibration): New functions, obsolete the ones I
1418         added yesterday. Doh. Precision issues mean we have to extrapolate
1419         from a point in the more recent past than 1970.
1420         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1421         obsolete.
1422         (gst_clock_adjust_unlocked): Use the right calibration data.
1423
1424 2005-11-18  Edward Hervey  <edward@fluendo.com>
1425
1426         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1427         Also reset the ->current_* values in READY->PAUSED
1428
1429 2005-11-18  Andy Wingo  <wingo@pobox.com>
1430
1431         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1432         Whoops, check the right fd. Also add some debugging.
1433         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1434         (do_linear_regression): Add a crapload of debugging. Subtract off
1435         the minimum values from the input series to discard unneeded bits.
1436         Use only int arithmetic. There is still double arithmetic when
1437         calculating the intercept that needs fixing. Return boolean to
1438         indicate success; FALSE would mean the domain or range is too
1439         great. Still needs fixes.
1440
1441 2005-11-18  Wim Taymans  <wim@fluendo.com>
1442
1443         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1444         For the current position in stream time, we need to subtract
1445         accumulated time.
1446         
1447         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1448         Release lock before calling the callback function of async
1449         entries.
1450
1451 2005-11-18  Andy Wingo  <wingo@pobox.com>
1452
1453         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1454         Port goes all the way to MAXUINT16.
1455
1456         * gst/net/gstnettimeprovider.c: Make the port range the same as
1457         for the kernel: 0 assigns, otherwise ports are less than
1458         MAXUINT16.
1459
1460         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1461         port change.
1462
1463         * check/net/gstnetclientclock.c (test_functioning): Add the start
1464         of another test. 
1465
1466 2005-11-18  Wim Taymans  <wim@fluendo.com>
1467
1468         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1469         (gst_bin_remove_func), (bin_bus_handler):
1470         * gst/gstbin.h:
1471         Removing a clock provider from a bin, triggers a clock lost message
1472         so that a new clock will be selected.
1473         Adding a clock to a bin triggers a clock provider message.
1474         Make sure we reselect a clock when we received a clock lost message.
1475         Keep a reference to the element that provided the clock.
1476
1477 2005-11-18  Andy Wingo  <wingo@pobox.com>
1478
1479         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1480         the clock initially so it produces values around the base time.
1481         (gst_net_client_clock_class_init): Typo fix.
1482         (gst_net_client_clock_thread): Add note on when the socket gets
1483         closed.
1484
1485 2005-11-17  Wim Taymans  <wim@fluendo.com>
1486
1487         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1488         Free remote and local time arrays.
1489
1490 2005-11-17  Wim Taymans  <wim@fluendo.com>
1491
1492         * gst/net/gstnetclientclock.c: (do_linear_regression),
1493         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1494         Fix compilation, uninitialized vars and a forgotten continue.
1495
1496 2005-11-17  Andy Wingo  <wingo@pobox.com>
1497
1498         * check/Makefile.am (check_PROGRAMS): 
1499         * check/net/gstnetclientclock.c: Add a most minimal test for the
1500         net client clock. More to come later.
1501
1502         * gst/net/gstnet.h: 
1503         * gst/net/Makefile.am: Add netclientclock.
1504
1505         * gst/net/gstnetclientclock.h:
1506         * gst/net/gstnetclientclock.c: New files, implement an untested
1507         GstClock that takes its time from a network time provider.
1508         Implements the algorithm in network-clock.scm.
1509
1510         * tests/network-clock.scm (*window-size*): Rename from
1511         *queue-length*.
1512         * tests/network-clock.scm (network-time): 
1513         * tests/network-clock-utils.scm (q-push): Update callers.
1514
1515 2005-11-17  Wim Taymans  <wim@fluendo.com>
1516
1517         * gst/gstbin.c: (gst_bin_provide_clock_func),
1518         (gst_bin_sort_iterator_new):
1519         And unref the child too..
1520
1521 2005-11-17  Wim Taymans  <wim@fluendo.com>
1522
1523         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1524         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1525         Refactor the sort iterator so it can be used while holding the
1526         LOCK too.
1527         Make clock selection select a clock closest to the source.
1528
1529 2005-11-17  Michael Smith <msmith@fluendo.com>
1530
1531         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1532         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1533         * gst/gstclock.h:
1534           Anonymous structs are a gcc (and some other compilers) extension, so
1535           don't use them. Since this is only for ABI-compatibility, and our
1536           API/ABI freeze is over in a few days, this whole thing will only
1537           last a few days, so don't bother trying to think up a meaningful
1538           name for the struct.
1539
1540 2005-11-17  Andy Wingo  <wingo@pobox.com>
1541
1542         * gst/gstclock.h (GstClock): Add rate and offset properties,
1543         preserving ABI stability. Add rate/offset accessors. Will file bug
1544         for the freeze break.
1545
1546         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1547         and offset, trying to keep precision and avoiding
1548         underflow/overflow.
1549         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1550         functions. Make gst_clock_set_time_adjust obsolete.
1551         (gst_clock_set_time_adjust): Note that this function is obsolete.
1552         Will file bug soon.
1553
1554         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1555         greppable by using GST_PADDING-1+1.
1556
1557 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1558
1559         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1560
1561         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1562           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1563
1564         * gst/gstpadtemplate.h:
1565         * gst/gstpluginfeature.h:
1566           Don't use c++ style comments in headers (#321638).
1567
1568 2005-11-16  Andy Wingo  <wingo@pobox.com>
1569
1570         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1571         buffer.
1572
1573         * check/net/gstnettimeprovider.c: Check to see that the time
1574         provider actually provides times. Works, yo!
1575
1576 2005-11-16  Wim Taymans  <wim@fluendo.com>
1577
1578         * check/Makefile.am:
1579         Enable more tests.
1580
1581         * check/elements/fakesrc.c: (GST_START_TEST):
1582         Set element to NULL before disposing it.
1583
1584 2005-11-16  Andy Wingo  <wingo@pobox.com>
1585
1586         * gst/net/Makefile.am:
1587         * gst/net/gstnet.h:
1588         * gst/net/gstnettimeprovider.c: 
1589         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1590         provider, include it from gstnet.h, and add it to the build.
1591
1592         * gst/net/gstnettimepacket.h: 
1593         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1594         sending and receiving.
1595
1596 2005-11-16  Wim Taymans  <wim@fluendo.com>
1597
1598         * check/Makefile.am:
1599         Enable valgrind check.
1600
1601         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1602         (gst_fake_src_alloc_buffer):
1603         Fix memleak.
1604
1605 2005-11-16  Wim Taymans  <wim@fluendo.com>
1606
1607         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1608         Call parent finalize too.
1609
1610 2005-11-16  Wim Taymans  <wim@fluendo.com>
1611
1612         * check/Makefile.am:
1613         Enable valgrind check that should work fine now.
1614
1615         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1616         * gst/gstqueue.c: (gst_queue_init):
1617         Fix memleaks in pad allocation.
1618
1619 2005-11-16  Andy Wingo  <wingo@pobox.com>
1620
1621         * gst/net/Makefile.am:
1622         * gst/net/gstnet.h: New part of core to hold network elements and
1623         objects. Put in core because it exposes API that applications want
1624         to use. The library is named libgstnet-tempname right now because
1625         of the existing libgstnet in gst-plugins-base. Solution is
1626         probably to rename the one in plugins-base; will file a bug for
1627         the freeze break.
1628
1629         * gst/net/gstnettimeprovider.c: 
1630         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1631         get_time call over the network.
1632
1633         * configure.ac: 
1634         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1635
1636         * check/Makefile.am:
1637         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1638         get additions shortly.
1639
1640 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1641
1642         * gst/gstpad.c: (gst_pad_new_from_static_template):
1643         * gst/gstpad.h:
1644           add gst_pad_new_from_static_template functions
1645         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1646         (gst_check_setup_sink_pad):
1647         * gst/elements/gsttee.c: (gst_tee_init):
1648           and use them
1649
1650 2005-11-16  Wim Taymans  <wim@fluendo.com>
1651
1652         * gst/gstpad.c: (gst_pad_pause_task):
1653         Removed warning, it's not really an error either.
1654
1655 2005-11-16  Wim Taymans  <wim@fluendo.com>
1656
1657         * gst/base/gstbasetransform.c:
1658         (gst_base_transform_prepare_output_buf),
1659         (gst_base_transform_event):
1660         Check if the caps are NULL, this can happen if the element
1661         is shutting down and the pad caps are set to NULL.
1662
1663 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1664
1665         * gst/elements/gsttee.c: (gst_tee_init):
1666           fix pad template leak in tee
1667
1668 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1669
1670         * gst/glib-compat.c: (g_value_dup_gst_object):
1671         * gst/glib-compat.h:
1672         * gst/gstpad.c: (gst_pad_set_property):
1673           use gst_object_ref when setting the pad template; this will
1674           trigger the pad template leaks on GLib 2.6 and the slaves
1675
1676 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1677
1678         * gst/glib-compat.c: (gst_flags_get_first_value):
1679         * gst/glib-compat.h:
1680         * gst/gstregistryxml.c:
1681           remove functions copied from GLib 2.6
1682
1683 2005-11-16  Michael Smith <msmith@fluendo.com>
1684
1685         * gst/Makefile.am:
1686           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1687           do, but only breaks with newer valgrind versions. We're not a
1688           valgrind tool, we have no link-time dependencies on libcoregrind.
1689
1690 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1691
1692         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1693           some debug changes
1694         * gst/gstmessage.h:
1695           typo fixes
1696
1697 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1698
1699         * gst/base/gstbasesrc.c: (gst_base_src_init):
1700         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1701         * gst/gstqueue.c: (gst_queue_init):
1702         * gst/gstregistryxml.c: (load_feature):
1703           Revert all these unrefs, they don't even pass make check !
1704
1705 2005-11-15  Johan Dahlin  <johan@gnome.org>
1706
1707         * gst/base/gstbasesrc.c: (gst_base_src_init):
1708         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1709         * gst/gstqueue.c: (gst_queue_init): 
1710         Free pad templates, fixes a couple of leaks.
1711
1712 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1713
1714         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1715
1716         * gst/gstpad.c: (gst_pad_get_property):
1717           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1718           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1719           (#321452)
1720
1721 2005-11-15  Wim Taymans  <wim@fluendo.com>
1722
1723         * gst/gstevent.c:
1724         Small doc update.
1725
1726 2005-11-15  Andy Wingo  <wingo@pobox.com>
1727
1728         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1729
1730         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1731         using GST_CLOCK_TIME_NONE to disable base time management.
1732         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1733         time if it was NONE before.
1734         (gst_pipeline_change_state): Only munge the base time if
1735         stream_time != GST_CLOCK_TIME_NONE.
1736
1737         * check/gst/gstpipeline.c (test_base_time): Punt around the
1738         problem of the probe not being called, because that's not the
1739         issue I'm looking at. Add a check that setting stream_time to NONE
1740         disables base time management.
1741         
1742 2005-11-15  Wim Taymans  <wim@fluendo.com>
1743
1744         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1745         segment_stop == -1 at startup.
1746
1747         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1748         (gst_base_transform_change_state):
1749         Init segment values at start.
1750
1751 2005-11-15  Wim Taymans  <wim@fluendo.com>
1752
1753         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1754         0 segment values are 0 in any format.
1755
1756         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1757         * gst/base/gstbasetransform.h:
1758         Parse newsegment correctly in basetransform
1759
1760         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1761         Sync to clock using updated segment values.
1762
1763 2005-11-15  Andy Wingo  <wingo@pobox.com>
1764
1765         * check/gst/gstpipeline.c (test_base_time): Add check that the
1766         base time and stream time are reset correctly.
1767
1768 2005-11-15  Wim Taymans  <wim@fluendo.com>
1769
1770         * docs/design/part-TODO.txt:
1771         Some more TODO items.
1772
1773 2005-11-15  Andy Wingo  <wingo@pobox.com>
1774
1775         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1776         error if the user selected "no clock" as the clocking method.
1777
1778         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1779         timestamps with live capture.
1780
1781         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1782         is 0 but we are a live source, timestamp the buffers using the
1783         element's clock.
1784
1785 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1786
1787         * docs/gst/gstreamer-sections.txt:
1788         * gst/gsterror.c:
1789         * gst/gstghostpad.c:
1790         * gst/gstobject.h:
1791         * gst/gstxml.c:
1792           more section docs
1793
1794 2005-11-14  Wim Taymans  <wim@fluendo.com>
1795
1796         * common/gst.supp:
1797           add suppressions from Wim's Debian machine
1798
1799 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1800
1801         * common/gst.supp:
1802           add suppressions from Andy's AMD64 Ubuntu machine
1803
1804 2005-11-14  Andy Wingo  <wingo@pobox.com>
1805
1806         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1807         STATE_LOCK not necessary. Fixes #311489.
1808
1809         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1810         #305291.
1811
1812         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1813         this function is not implemented.
1814
1815 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1816
1817         * gst/base/gstbasetransform.c:
1818         (gst_base_transform_prepare_output_buf):
1819         Ref the source pad caps while we need them.
1820         Fixes (#321386)
1821
1822 2005-11-11  Wim Taymans  <wim@fluendo.com>
1823
1824         * docs/gst/gstreamer-sections.txt:
1825         Added some docs for GstCollectData.
1826
1827         * gst/base/gstadapter.c:
1828         Some small code example fix.
1829
1830         * gst/base/gstcollectpads.c:
1831         * gst/base/gstcollectpads.h:
1832         Document some more.
1833
1834 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1835
1836         * configure.ac: back to HEAD
1837
1838 === release 0.9.5 ===
1839
1840 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1841
1842         * configure.ac:
1843           releasing 0.9.5, "Bike Lunch Day"
1844
1845 2005-11-11  Wim Taymans  <wim@fluendo.com>
1846
1847         * gst/gstbuffer.c: (_gst_buffer_copy):
1848         Copy more flags.
1849
1850         * gst/gstcaps.c: (gst_caps_is_equal):
1851         Fix some docs.
1852         Make _is_equal fast in the trivial cases.
1853
1854         * gst/gstminiobject.c:
1855         * gst/gstminiobject.h:
1856         More docs. Spifify .h file.
1857
1858         * gst/gstutils.c:
1859         Small doc update.
1860
1861 2005-11-11  Wim Taymans  <wim@fluendo.com>
1862
1863         * gst/base/gstbasetransform.c:
1864         (gst_base_transform_prepare_output_buf),
1865         (gst_base_transform_handle_buffer):
1866         Small cleanups.
1867         If we're processing a buffer and need to allocate an output
1868         buffer, we cannot accept a format change. If we did get a 
1869         format change, we have to alloc a buffer ourselves of the 
1870         right size.
1871
1872 2005-11-11  Wim Taymans  <wim@fluendo.com>
1873
1874         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1875         While checking the flag for reentrancy in the gstcaps function
1876         is nice to detect recursive invocations, it also makes it 
1877         impossible to call getcaps from multiple threads, which must be
1878         possible. So, checking for recursive calls has to go.
1879
1880 2005-11-11  Michael Smith <msmith@fluendo.com>
1881
1882         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1883           Don't sync on buffers that fall partially outside our current
1884           segment. Prevents an assertion failure/abort playing some files.
1885
1886 2005-11-10  Andy Wingo  <wingo@pobox.com>
1887
1888         * check/gst/gstbin.c (test_message_state_changed_children): Style
1889         fix..
1890
1891         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1892         gst_bus_poll with the signal watch. Ensures that poll and a signal
1893         watch see the same messages.
1894
1895         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1896         a poll and a watch at the same time get the same messages.
1897
1898 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1899
1900         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1901         * gst/gstcaps.c: (gst_caps_intersect):
1902           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1903           and it's not needed.
1904
1905 2005-11-10  Wim Taymans  <wim@fluendo.com>
1906
1907         * docs/design/part-TODO.txt:
1908         Updated todo.
1909
1910 2005-11-10  Wim Taymans  <wim@fluendo.com>
1911
1912         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1913         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1914         (gst_base_src_do_sync), (gst_base_src_get_range):
1915         Implement clock sync in base class.
1916
1917 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1918
1919         patch by: Tim-Philipp Müller <tim at centricular dot net>
1920
1921         * gst/gststructure.c: (gst_structure_parse_field),
1922         (gst_structure_from_string):
1923           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1924           so that gst_parse_launch() can deal with spaces in filtered link
1925           caps (fixes #164479)
1926         * check/gst/capslist.h:
1927         * check/gst/gststructure.c: (GST_START_TEST):
1928           add unit tests for this change
1929
1930 2005-11-10  Wim Taymans  <wim@fluendo.com>
1931
1932         * docs/gst/gstreamer-sections.txt:
1933         * gst/gstelement.c:
1934         * gst/gstelement.h:
1935         Fix docs, move some STATE macros to private.
1936
1937 2005-11-10  Wim Taymans  <wim@fluendo.com>
1938
1939         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1940         Added check for bug #317341
1941
1942         * gst/gstbuffer.c:
1943         * gst/gstbuffer.h:
1944         Some more spiffifying.
1945
1946         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1947         Call peer linkfunction if we are a source pad. Totally fixes
1948         #317341
1949
1950         * gst/gstpad.c:
1951         Update docs, source pads should call the peer linkfunction
1952         so they can atomically perform the pad link.
1953
1954 2005-11-09  Wim Taymans  <wim@fluendo.com>
1955
1956         * gst/gstbuffer.c:
1957         * gst/gstbuffer.h:
1958         Uber-spiffy-spiffify some more.
1959
1960 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1961
1962         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1963         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1964         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1965         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1966         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1967         * gst/gstpad.c: (gst_pad_init):
1968           Use GST_DEBUG_FUNCPTR() more extensively.
1969
1970 2005-11-09  Wim Taymans  <wim@fluendo.com>
1971
1972         * gst/gstobject.c: (gst_object_class_init):
1973         * gst/gstobject.h:
1974         Documentation fixes.
1975
1976 2005-11-09  Edward Hervey  <edward@fluendo.com>
1977
1978         * gst/gsttypefindfactory.c:
1979         Fix docs.
1980         
1981 2005-11-09  Edward Hervey  <edward@fluendo.com>
1982
1983         * gst/base/gsttypefindhelper.c:
1984         * gst/gsttypefind.c:
1985         * gst/gsttypefind.h:
1986         Fix docs.
1987
1988 2005-11-09  Wim Taymans  <wim@fluendo.com>
1989
1990         * gst/gstiterator.c:
1991         Fix revision data.
1992
1993         * gst/gsttask.c:
1994         * gst/gsttask.h:
1995         Fix docs.
1996
1997 2005-11-09  Wim Taymans  <wim@fluendo.com>
1998
1999         * gst/gstevent.h:
2000         * gst/gsturi.h:
2001         Fix docs.
2002
2003 2005-11-09  Wim Taymans  <wim@fluendo.com>
2004
2005         * docs/gst/gstreamer-sections.txt:
2006         Moved the message async delivery private lock and cond
2007         to the private section.
2008
2009         * gst/gstmessage.c:
2010         * gst/gstmessage.h:
2011         Fixed docs.
2012
2013 2005-11-09  Edward Hervey  <edward@fluendo.com>
2014
2015         * docs/gst/gstreamer-sections.txt:
2016         * gst/gsturi.c:
2017         * gst/gsturi.h:
2018         Document GstURIHandler
2019
2020 2005-11-09  Wim Taymans  <wim@fluendo.com>
2021
2022         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2023         (gst_iterator_find_custom):
2024         * gst/gstiterator.h:
2025         Fix iterator docs.
2026
2027 2005-11-09  Wim Taymans  <wim@fluendo.com>
2028
2029         * gst/gstbin.h:
2030         Document another field.
2031
2032         * gst/gststructure.c:
2033         * gst/gststructure.h:
2034         Document.
2035
2036 2005-11-09  Wim Taymans  <wim@fluendo.com>
2037
2038         * gst/gstbin.h:
2039         Documented structs.
2040
2041 2005-11-09  Wim Taymans  <wim@fluendo.com>
2042
2043         * docs/gst/gstreamer-sections.txt:
2044         Added some new macros.
2045
2046         * gst/gstclock.c:
2047         * gst/gstclock.h:
2048         * gst/gstobject.h:
2049         Docs updates.
2050
2051 2005-11-09  Wim Taymans  <wim@fluendo.com>
2052
2053         * docs/design/part-TODO.txt:
2054         Some more items for the TODO
2055
2056         * gst/gstcaps.c:
2057         * gst/gstcaps.h:
2058         Document GstCaps.
2059
2060 2005-11-09  Andy Wingo  <wingo@pobox.com>
2061
2062         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2063         to work on something else now tho...
2064
2065         * gst/base/gstadapter.c: More adapter docs.
2066
2067         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2068         (gst_file_sink_stop): New functions, replace the state change
2069         handler.
2070         (gst_file_sink_class_init): Hook up the start and stop functions.
2071         (gst_file_sink_base_init): Don't set the state change handler any
2072         more. It was a bit ugly too, being set from here...
2073         (gst_file_sink_get_property, gst_file_sink_set_property):
2074         Cleanups...
2075         (gst_file_sink_set_location): More robust check that doesn't call
2076         GST_STATE. Ugggggg.
2077
2078 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2079
2080         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2081           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2082
2083 2005-11-08  Wim Taymans  <wim@fluendo.com>
2084
2085         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2086         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2087         (gst_base_sink_chain), (gst_base_sink_change_state):
2088         * gst/base/gstbasesink.h:
2089         * gst/base/gstbasesrc.h:
2090         * gst/gstelement.h:
2091         * gst/gstevent.h:
2092         Avoid excessive typechecking in macros.
2093
2094         * gst/gstminiobject.c: (gst_mini_object_get_type),
2095         (gst_mini_object_init), (gst_mini_object_new),
2096         (gst_mini_object_free):
2097         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2098         (gst_object_finalize):
2099         Remove cruft code, optimize alloc_trace.
2100
2101 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2102
2103         * docs/faq/gst-uninstalled:
2104           fix up PS1 for systems that try to reset it
2105
2106 2005-11-07  Wim Taymans  <wim@fluendo.com>
2107
2108         * gst/base/gstbasesrc.c: (gst_base_src_init),
2109         (gst_base_src_get_range):
2110         Set the segment_end to -1 initially. Fixed typefind.
2111
2112 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2113
2114         * gst/base/gstadapter.c:
2115           Debug category should be 'adapter', not 'GstAdapter'.
2116           
2117         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2118         (gst_collectpads_class_init), (gst_collectpads_init),
2119         (gst_collectpads_peek), (gst_collectpads_pop),
2120         (gst_collectpads_event), (gst_collectpads_chain):
2121           Add debug category and some debugging output. Use boilerplate
2122           macros. Remove some extraneous words from docs.
2123
2124 2005-11-05  Andy Wingo  <wingo@pobox.com>
2125
2126         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2127         macro.
2128
2129 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2130
2131         * docs/gst/gstreamer-sections.txt:
2132         * gst/gstcaps.h:
2133         * gst/gstinfo.c:
2134         * gst/gstminiobject.h:
2135         * gst/gstobject.h:
2136         * gst/gstutils.h:
2137           more docs added
2138
2139 2005-11-04  Wim Taymans  <wim@fluendo.com>
2140
2141         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2142         Small update to stop at the configured segment_end
2143         position.
2144
2145 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2146
2147         * gst/gstregistry.c:
2148         * gst/gstregistry.h:
2149           added missing docs
2150
2151 2005-11-04  Edward Hervey  <edward@fluendo.com>
2152
2153         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2154         Check if we are doing a segment seek and have arrived at the
2155         end of that segment.
2156
2157 2005-11-04  Wim Taymans  <wim@fluendo.com>
2158
2159         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2160         Don't leak a mutex unlock in case of an error.
2161
2162         * gst/gstbus.h:
2163         Doc fixes.
2164
2165 2005-11-04  Wim Taymans  <wim@fluendo.com>
2166
2167         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2168         (gst_bus_post):
2169         Get the context to wake up only once.
2170
2171 2005-11-03  Wim Taymans  <wim@fluendo.com>
2172
2173         * check/states/sinks.c: (GST_START_TEST):
2174         Uncomment fixed check.
2175
2176         * docs/design/part-TODO.txt:
2177         Updated TODO.
2178
2179         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2180         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2181         (gst_base_sink_get_position):
2182         If we are going to PLAYING, post the right pending state
2183         when we post the intermediate paused message.
2184
2185         * gst/gstelement.c: (gst_element_continue_state),
2186         (gst_element_set_state_func), (gst_element_change_state):
2187         Don't post state changes that were between the same state
2188         and were not ASYNC.
2189
2190 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2191
2192         * docs/gst/gstreamer-sections.txt:
2193         * gst/gstcaps.h:
2194         * gst/gstinfo.c:
2195         * gst/gstminiobject.h:
2196         * gst/gstobject.h:
2197         * gst/gstutils.h:
2198           more docs and doc style fixes
2199
2200 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2201
2202         * docs/gst/gstreamer-sections.txt:
2203         * gst/gstelement.c:
2204         * gst/gstminiobject.c:
2205         doc fixes
2206
2207 2005-11-03  Andy Wingo  <wingo@pobox.com>
2208
2209         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2210         state-changed messages actually have the right order and the right
2211         values.
2212
2213 2005-11-03  Wim Taymans  <wim@fluendo.com>
2214
2215         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2216         Added some more checks. Specifically the case where NO_PREROLL
2217         elements are in the pipeline.
2218
2219         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2220         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2221         (gst_base_sink_get_position):
2222         Post READY->PAUSED state change messages too.
2223         Fix bug where VOID was posted as pending state...
2224
2225         * gst/gstbin.c: (gst_bin_recalc_state):
2226         use _element_continue_state() to continue the state change.
2227
2228         * gst/gstelement.c: (gst_element_continue_state),
2229         (gst_element_commit_state), (gst_element_set_state_func),
2230         (gst_element_change_state), (gst_element_change_state_func):
2231         Lots of state change cleanups, assign the STATE_RETURN in
2232         a new continue_state() function that also propagates the
2233         last return value from a state change to the app.
2234         Update some debug statements with proper category.
2235
2236 2005-11-03  Wim Taymans  <wim@fluendo.com>
2237
2238         * docs/design/part-events.txt:
2239         * docs/design/part-gstpipeline.txt:
2240         * docs/design/part-messages.txt:
2241         * docs/design/part-overview.txt:
2242         * docs/design/part-seeking.txt:
2243         * docs/design/part-states.txt:
2244         * docs/design/part-trickmodes.txt:
2245         * docs/manual/advanced-position.xml:
2246         Small docs updates.
2247
2248         * gst/gstobject.h:
2249         People think !! is ugly, this looks better.
2250
2251         * gst/gstpad.c: (gst_pad_set_blocked_async):
2252         Remove !! since it's fixed elsewhere now.
2253
2254 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2255
2256         * gst/gstminiobject.h:
2257         * gst/gstobject.h:
2258           Add !! to _FLAG_IS_SET macros to make the result boolean.
2259
2260 2005-11-03  Edward Hervey  <edward@fluendo.com>
2261
2262         * gst/gstpad.c: (gst_pad_set_blocked_async):
2263         comparing a flag and a gboolean rarely returns coherent results...
2264         Added two characters (!!) to make that work correctly.
2265         
2266 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2267
2268         * gst/gstbus.c: (gst_bus_class_init):
2269           Fix some typos.
2270           
2271         * gst/gstqueue.c: (gst_queue_loop):
2272           Don't assume a miniobject that isn't a buffer is an
2273           event (it could be that there is a refcounting
2274           problem somewhere and the pointer is stale and
2275           refers to an already destroyed miniobject).
2276
2277 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2278
2279         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2280
2281 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2282
2283         * docs/manual/advanced-position.xml:
2284           Update seek example and explanations to current 0.9 API.
2285
2286         * gst/elements/gsttypefindelement.c:
2287         (gst_type_find_element_activate):
2288           Remove FIXME comment now that the found caps
2289           are unreffed.
2290
2291 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2292
2293         * gst/gstregistryxml.c: (load_feature):
2294           Add another GST_STR_NULL instance
2295
2296 2005-11-02  Edward Hervey  <edward@fluendo.com>
2297
2298         * gst/gstpad.c: (handle_pad_block):
2299         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2300         
2301 2005-11-02  Wim Taymans  <wim@fluendo.com>
2302
2303         * gst/gstbin.c:
2304         Fix typo in docs.
2305
2306         * gst/gstelement.c: (gst_element_commit_state):
2307         Remove unused value.
2308
2309         * gst/gstiterator.c:
2310         Mention that the returned element is reffed in the docs.
2311
2312 2005-11-02  Wim Taymans  <wim@fluendo.com>
2313
2314         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2315         (gst_pad_push), (gst_pad_push_event):
2316         Unlock blocked pads when they are flushed.
2317
2318 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2319
2320         * docs/README:
2321         * docs/gst/gstreamer-sections.txt:
2322         * gst/gstbin.c:
2323           doc updates
2324         * gst/gstregistry.c: (gst_registry_scan_path_level):
2325           fix for a nasty little missed situation where an installed plug-in
2326           which was in the cache did not get overridden by an uninstalled one
2327           which was earlier in the plugin path because the newly created plugin
2328           for the uninstalled one (not in the registry) didn't get its
2329           ->registered set to TRUE
2330
2331 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2332
2333         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2334         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2335         (gst_collectpads_is_active), (gst_collectpads_collect),
2336         (gst_collectpads_collect_range), (gst_collectpads_start),
2337         (gst_collectpads_stop), (gst_collectpads_peek),
2338         (gst_collectpads_pop), (gst_collectpads_available),
2339         (gst_collectpads_read), (gst_collectpads_flush):
2340           Guard public API with assertions.
2341         
2342         * gst/gstpad.c:
2343           Fix docs for gst_pad_set_link_function().
2344
2345 2005-11-02  Johan Dahlin  <johan@gnome.org>
2346
2347         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2348         Unref found_caps after we used it.
2349
2350 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2351
2352         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2353           Don't try to ref NULL.
2354
2355 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2356
2357         * win32/common/config.h.in:
2358           provide a GST_FUNCTION that just gives a string for now
2359
2360 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2361
2362         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2363         (gst_object_flags_get_type), (register_gst_bin_flags),
2364         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2365         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2366         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2367         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2368         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2369         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2370         (gst_clock_flags_get_type), (register_gst_state),
2371         (gst_state_get_type), (register_gst_state_change_return),
2372         (gst_state_change_return_get_type), (register_gst_state_change),
2373         (gst_state_change_get_type), (register_gst_element_flags),
2374         (gst_element_flags_get_type), (register_gst_core_error),
2375         (gst_core_error_get_type), (register_gst_library_error),
2376         (gst_library_error_get_type), (register_gst_resource_error),
2377         (gst_resource_error_get_type), (register_gst_stream_error),
2378         (gst_stream_error_get_type), (register_gst_event_type),
2379         (gst_event_type_get_type), (register_gst_seek_type),
2380         (gst_seek_type_get_type), (register_gst_seek_flags),
2381         (gst_seek_flags_get_type), (register_gst_format),
2382         (gst_format_get_type), (register_gst_index_certainty),
2383         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2384         (gst_index_entry_type_get_type),
2385         (register_gst_index_lookup_method),
2386         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2387         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2388         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2389         (gst_index_flags_get_type), (register_gst_debug_level),
2390         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2391         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2392         (gst_iterator_result_get_type), (register_gst_iterator_item),
2393         (gst_iterator_item_get_type), (register_gst_message_type),
2394         (gst_message_type_get_type), (register_gst_mini_object_flags),
2395         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2396         (gst_pad_link_return_get_type), (register_gst_flow_return),
2397         (gst_flow_return_get_type), (register_gst_activate_mode),
2398         (gst_activate_mode_get_type), (register_gst_pad_direction),
2399         (gst_pad_direction_get_type), (register_gst_pad_flags),
2400         (gst_pad_flags_get_type), (register_gst_pad_presence),
2401         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2402         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2403         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2404         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2405         (gst_plugin_flags_get_type), (register_gst_rank),
2406         (gst_rank_get_type), (register_gst_query_type),
2407         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2408         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2409         (gst_tag_flag_get_type), (register_gst_task_state),
2410         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2411         (gst_alloc_trace_flags_get_type),
2412         (register_gst_type_find_probability),
2413         (gst_type_find_probability_get_type), (register_gst_uri_type),
2414         (gst_uri_type_get_type), (register_gst_parse_error),
2415         (gst_parse_error_get_type):
2416         * win32/common/gstversion.h:
2417           update win32 copies
2418
2419 2005-11-01  Luca Ognibene  <luogni@tin.it>
2420
2421         * gst/gst.c:
2422           fix docs. popt is dead, long live GOption.
2423
2424 2005-10-31  Wim Taymans  <wim@fluendo.com>
2425
2426         * gst/gstbuffer.h:
2427         Small doc fix.
2428
2429 2005-10-31  Andy Wingo  <wingo@pobox.com>
2430
2431         * Boo!
2432
2433         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2434
2435         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2436         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2437         the possibility of deadlocks here if code calling notify() or
2438         set() has a lock that can be taken in another notify handler (ABBA
2439         with class lock and e.g. python GIL state lock).
2440
2441 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2442
2443         * gst/gstbus.c: Doc updates.
2444
2445 2005-10-28  Wim Taymans  <wim@fluendo.com>
2446
2447         * docs/design/part-TODO.txt:
2448         * gst/gstiterator.c:
2449         * gst/gstsystemclock.c:
2450         * gst/gstsystemclock.h:
2451         Doc updates.
2452
2453 2005-10-28  Edward Hervey  <edward@fluendo.com>
2454
2455         * docs/gst/gstreamer-docs.sgml:
2456         * docs/gst/gstreamer-sections.txt:
2457         the GstURIType documentation page is private, it only defines GstURIType
2458         which should be defined in the GstURIHandler page
2459         
2460 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2461
2462         * gst/gstbin.c: (gst_bin_class_init):
2463         * gst/gstbin.h:
2464         * gst/gstutils.c:
2465         Documentation updates.
2466
2467 2005-10-28  Wim Taymans  <wim@fluendo.com>
2468
2469         * docs/gst/gstreamer-sections.txt:
2470         * gst/gstclock.c:
2471         * gst/gstclock.h:
2472         Documented the clocks.
2473
2474 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2475
2476         * docs/gst/gstreamer-sections.txt:
2477           move some macros to private sections
2478         * gst/gstminiobject.c:
2479         * gst/gstminiobject.h:
2480           add descriptions provided by ds and some more
2481         * gst/gstpad.h:
2482           mark macro as to be removed
2483
2484 2005-10-28  Wim Taymans  <wim@fluendo.com>
2485
2486         * docs/design/part-TODO.txt:
2487         Add an item to TODO.
2488
2489         * gst/gstiterator.c: (gst_iterator_fold),
2490         (gst_iterator_find_custom):
2491         * gst/gstiterator.h:
2492         Add iterator docs.
2493
2494 2005-10-28  Wim Taymans  <wim@fluendo.com>
2495
2496         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2497         (gst_base_transform_init):
2498         Don't leak class.
2499
2500         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2501         An EOS event marks the queue as completely filled.
2502
2503 2005-10-27  Wim Taymans  <wim@fluendo.com>
2504
2505         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2506         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2507         Some more debugging.
2508
2509         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2510         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2511         (gst_base_transform_event), (gst_base_transform_getrange),
2512         (gst_base_transform_chain):
2513         * gst/base/gstbasetransform.h:
2514         Fix debugging,
2515         Protect transform and concurrent buffer alloc with a new lock.
2516         Try not to break ABI/API.
2517
2518 2005-10-27  Wim Taymans  <wim@fluendo.com>
2519
2520         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2521         (gst_base_src_init), (gst_base_src_query),
2522         (gst_base_src_default_newsegment),
2523         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2524         (gst_base_src_send_event), (gst_base_src_event_handler),
2525         (gst_base_src_pad_get_range), (gst_base_src_loop),
2526         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2527         (gst_base_src_start), (gst_base_src_deactivate),
2528         (gst_base_src_activate_push), (gst_base_src_change_state):
2529         Move some stuff around and cleanup things.
2530
2531 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2532
2533         * gst/base/gstbasesrc.c: (gst_base_src_query):
2534           Add missing break statements.
2535
2536 2005-10-27  Wim Taymans  <wim@fluendo.com>
2537
2538         * check/gst/gstbin.c: (GST_START_TEST):
2539         An extra refcount is taken in basesrc.
2540
2541         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2542         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2543         (gst_base_src_loop):
2544         Small cleanups, check for flushing after being unlocked from the 
2545         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2546         Don't send out EOS when going to READY.
2547
2548 2005-10-27  Wim Taymans  <wim@fluendo.com>
2549
2550         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2551         (gst_base_sink_get_position):
2552         Some more debug.
2553
2554         * gst/gstbin.c: (message_check), (bin_replace_message),
2555         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2556         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2557         (bin_query_duration_init), (bin_query_duration_fold),
2558         (bin_query_duration_done), (bin_query_generic_fold),
2559         (gst_bin_query):
2560         * tools/gst-launch.c: (main):
2561         Remove old option.
2562
2563 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2564
2565         * examples/controller/audio-example.c: (main):
2566         * examples/queue/queue.c: (event_loop):
2567         * gst/base/gstbasetransform.h:
2568         * gst/gstelement.c: (gst_element_send_event):
2569         * gst/gstevent.h:
2570         * gst/gstpad.c: (gst_pad_send_event):
2571           fixing examples
2572           fixing docs typos
2573           changing log priority in error situations
2574
2575 2005-10-25  Wim Taymans  <wim@fluendo.com>
2576
2577         * gst/gstbin.c: (message_check), (bin_replace_message),
2578         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2579         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2580         (bin_query_duration_init), (bin_query_duration_fold),
2581         (bin_query_duration_done), (bin_query_generic_fold),
2582         (gst_bin_query):
2583         Some doc and debug updates.
2584         Cache previously requested query DURATION for speed. invalidate
2585         cached duration if element posts a DURATION message.
2586
2587 2005-10-25  Wim Taymans  <wim@fluendo.com>
2588
2589         * docs/design/part-TODO.txt:
2590         Update TODO.
2591
2592         * gst/gstbin.c: (message_check), (bin_replace_message),
2593         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2594         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2595         (bin_query_duration_init), (bin_query_duration_fold),
2596         (bin_query_duration_done), (bin_query_generic_fold),
2597         (gst_bin_query):
2598         Handle SEGMENT_START/DONE messages correctly.
2599         More evolved query algorithm that handles duration queries
2600         correctly.
2601
2602         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2603         (gst_element_get_state_func), (gst_element_abort_state),
2604         (gst_element_commit_state), (gst_element_lost_state):
2605         Some more debugging.
2606
2607         * gst/gstmessage.h:
2608         Added doc.
2609
2610 2005-10-25  Wim Taymans  <wim@fluendo.com>
2611
2612         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2613         Don't use invalid stream_time.
2614
2615         * gst/gstevent.c: (gst_event_new_newsegment):
2616         stream_time in newsegment cannot be undefined.
2617
2618 2005-10-24  Wim Taymans  <wim@fluendo.com>
2619
2620         * gst/gstbus.c:
2621         Doc fix.
2622
2623         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2624         (gst_queue_loop):
2625         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2626
2627 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2628
2629         * docs/libs/tmpl/gstdparam.sgml:
2630         * docs/libs/tmpl/gstdplinint.sgml:
2631         * docs/libs/tmpl/gstdpman.sgml:
2632         * docs/libs/tmpl/gstdpsmooth.sgml:
2633         * docs/libs/tmpl/gstunitconvert.sgml:
2634           these are obsolete
2635
2636 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2637
2638         * configure.ac:
2639           back to HEAD
2640
2641 === release 0.9.4 ===
2642
2643 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2644
2645         * configure.ac:
2646           releasing 0.9.4, "Tyrannosaurus Rex"
2647
2648 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2649
2650         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2651         (gst_file_sink_get_current_offset):
2652           Use fseeko() and ftello() if available. When falling back on
2653           lseek() to get the current offset, fflush() first to make sure
2654           everything is up-to-date and we get the right offset.
2655
2656 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2657
2658         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2659         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2660         * gst/gsterror.c: (_gst_stream_errors_init):
2661         * gst/gsterror.h:
2662         * gst/gstqueue.c: (gst_queue_loop):
2663         * po/POTFILES.in:
2664           remove prematurely added error category and clean up the instances
2665
2666 2005-10-21  Wim Taymans  <wim@fluendo.com>
2667
2668         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2669         (gst_base_sink_get_position), (gst_base_sink_query),
2670         (gst_base_sink_change_state):
2671         Simply set the right flag when going to playing, that's all
2672         we need to do instead of calling a function inside the object
2673         lock (that could take the lock as well and deadlock)
2674
2675 2005-10-21  Wim Taymans  <wim@fluendo.com>
2676
2677         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2678         (gst_base_src_loop):
2679         Don't warn, the peer element knows what to do best when
2680         the seek failed, it might try something else.
2681
2682 2005-10-21  Wim Taymans  <wim@fluendo.com>
2683
2684         * gst/base/gstbasesrc.c: (gst_base_src_init),
2685         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2686         Fix seeking.
2687
2688 2005-10-21  Wim Taymans  <wim@fluendo.com>
2689
2690         * docs/design/part-segments.txt:
2691         More docs.
2692
2693         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2694         Correctly set caps, even on the subbufer.
2695
2696 2005-10-21  Wim Taymans  <wim@fluendo.com>
2697
2698         * docs/gst/gstreamer-docs.sgml:
2699         * docs/gst/gstreamer-sections.txt:
2700         * gst/gstelement.h:
2701         * gst/gstevent.c:
2702         * gst/gstevent.h:
2703         * gst/gstmessage.h:
2704         * gst/gstpad.h:
2705         * gst/gstparse.h:
2706         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2707         * gst/gsttask.h:
2708         * gst/gstutils.c:
2709         * gst/gstutils.h:
2710         And 2% more doc coverage.
2711
2712 2005-10-21  Andy Wingo  <wingo@pobox.com>
2713
2714         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2715         position reporting.
2716
2717 2005-10-20  Wim Taymans  <wim@fluendo.com>
2718
2719         * gst/gsterror.c: (gst_error_get_message):
2720         * gst/gstparse.h:
2721         * gst/gstquery.h:
2722         * gst/gststructure.c:
2723         * gst/gsttrace.c:
2724         * gst/gstutils.c:
2725         More docs.
2726
2727 2005-10-20  Wim Taymans  <wim@fluendo.com>
2728
2729         * gst/gstbuffer.h:
2730         * gst/gstpad.c:
2731         * gst/gstparse.c:
2732         Another 1% more coverage.
2733
2734 2005-10-20  Wim Taymans  <wim@fluendo.com>
2735
2736         * docs/gst/gstreamer-sections.txt:
2737         * gst/gstelement.c: (gst_element_get_state_func),
2738         (gst_element_abort_state), (gst_element_commit_state),
2739         (gst_element_lost_state):
2740         * gst/gstevent.h:
2741         * gst/gstquery.c: (gst_query_set_position),
2742         (gst_query_parse_position), (gst_query_set_duration),
2743         (gst_query_parse_duration), (gst_query_new_convert):
2744         * gst/gstutils.c:
2745         Yay! 1% more docs coverage.
2746
2747 2005-10-20  Wim Taymans  <wim@fluendo.com>
2748
2749         * gst/gstpad.h:
2750         * gst/gstquery.c: (gst_query_set_position),
2751         (gst_query_parse_position), (gst_query_set_duration),
2752         (gst_query_parse_duration), (gst_query_new_convert):
2753         * gst/gstquery.h:
2754         * gst/gstutils.c: (gst_element_query_convert):
2755         * gst/gstutils.h:
2756         Docs and consistency fixes.
2757
2758 2005-10-20  Wim Taymans  <wim@fluendo.com>
2759
2760         * gst/gsttask.c:
2761         * gst/gsttask.h:
2762         More docs.
2763
2764 2005-10-20  Wim Taymans  <wim@fluendo.com>
2765
2766         * gst/gstbin.c: (message_check), (bin_replace_message),
2767         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2768         (update_degree), (gst_bin_sort_iterator_next),
2769         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2770         Reworked the message handling a bit, cache the messages instead of
2771         only the senders. alows us to do more in the future.
2772
2773 2005-10-20  Wim Taymans  <wim@fluendo.com>
2774
2775         * docs/design/part-TODO.txt:
2776         Update TODO
2777
2778         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2779         (gst_base_sink_query):
2780         Don't use clock time to report position when in EOS.
2781
2782 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2783
2784         * tools/gst-inspect.c: (print_interfaces),
2785         (print_element_properties_info), (print_element_info):
2786           Fix interface output with gst-inspect -a; don't print
2787           newlines after double/float properties.
2788
2789 2005-10-20  Wim Taymans  <wim@fluendo.com>
2790
2791         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2792         (gst_base_sink_query):
2793         Speed up current position calculation.
2794
2795         * gst/base/gstbasesrc.c: (gst_base_src_query),
2796         (gst_base_src_default_newsegment):
2797         Correctly set stream position in newsegment.
2798
2799         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2800         (update_degree), (gst_bin_sort_iterator_next),
2801         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2802         * gst/gstmessage.c: (gst_message_new_custom):
2803         Clean up debugging info
2804
2805         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2806         (gst_queue_loop), (gst_queue_handle_src_query):
2807         Pause task faster.
2808
2809 2005-10-19  Wim Taymans  <wim@fluendo.com>
2810
2811         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2812         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2813         Fix query handling again.
2814
2815 2005-10-19  Wim Taymans  <wim@fluendo.com>
2816
2817         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2818         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2819         * gst/base/gstbasesrc.c: (gst_base_src_query):
2820         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2821         * gst/elements/gsttypefindelement.c:
2822         (gst_type_find_handle_src_query), (find_element_get_length),
2823         (gst_type_find_element_activate):
2824         API change fix.
2825
2826         * gst/gstquery.c: (gst_query_new_position),
2827         (gst_query_set_position), (gst_query_parse_position),
2828         (gst_query_new_duration), (gst_query_set_duration),
2829         (gst_query_parse_duration), (gst_query_set_segment),
2830         (gst_query_parse_segment):
2831         * gst/gstquery.h:
2832         Bundling query position/duration is not a good idea since duration
2833         does not change much and we don't want to recalculate it for every
2834         position query, so they are separated again..
2835         Base value in segment query is not needed.
2836
2837         * gst/gstqueue.c: (gst_queue_handle_src_query):
2838         * gst/gstutils.c: (gst_element_query_position),
2839         (gst_element_query_duration), (gst_pad_query_position),
2840         (gst_pad_query_duration):
2841         * gst/gstutils.h:
2842         Updates for query API change.
2843         Added some docs here and there.
2844
2845 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2846
2847         * check/gst/gstbin.c: (GST_START_TEST):
2848         * check/gst/gstghostpad.c: (GST_START_TEST):
2849         * check/pipelines/cleanup.c: (GST_START_TEST):
2850           wait on thread to die so we can check refcount correctly
2851
2852 2005-10-18  Wim Taymans  <wim@fluendo.com>
2853
2854         * check/pipelines/stress.c: (GST_START_TEST):
2855         Make check a little more time consuming.
2856
2857 2005-10-18  Wim Taymans  <wim@fluendo.com>
2858
2859         * check/Makefile.am:
2860         * check/pipelines/stress.c: (GST_START_TEST),
2861         (simple_launch_lines_suite), (main):
2862         Small state change torture test.
2863
2864         * docs/design/part-states.txt:
2865         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2866         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2867         (gst_base_sink_change_state):
2868         Never take state lock from streaming thread, clean up ugly
2869         hacks. Unfortunatly core does not yet support nice ways to
2870         async commit state.
2871         
2872         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2873         (bin_bus_handler):
2874         Start state recalc if a STATE_DIRTY message is posted, but only
2875         on the toplevel bin.
2876
2877         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2878         (gst_element_get_state_func), (gst_element_abort_state),
2879         (gst_element_commit_state), (gst_element_lost_state),
2880         (gst_element_set_state_func), (gst_element_change_state):
2881         * gst/gstelement.h:
2882         State variables are now protected with the LOCK, the state
2883         lock is only used to serialize _set_state().
2884
2885 2005-10-18  Wim Taymans  <wim@fluendo.com>
2886
2887         * check/gst/gstbin.c: (GST_START_TEST):
2888         * check/gst/gstmessage.c: (GST_START_TEST):
2889         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2890         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2891         (bin_bus_handler):
2892         * gst/gstelement.c: (gst_element_abort_state),
2893         (gst_element_commit_state), (gst_element_lost_state):
2894         * gst/gstmessage.c: (gst_message_new_state_changed),
2895         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2896         (gst_message_new_segment_done), (gst_message_new_duration),
2897         (gst_message_parse_state_changed),
2898         (gst_message_parse_segment_start),
2899         (gst_message_parse_segment_done), (gst_message_parse_duration):
2900         * gst/gstmessage.h:
2901         * tools/gst-launch.c: (event_loop):
2902         Seriously, this is better than a previous commit as we only need
2903         to notify the fact that an element changed state in a streaming
2904         thread, marking the state of the parents dirty, hence the 
2905         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2906         message.
2907
2908 2005-10-18  Wim Taymans  <wim@fluendo.com>
2909
2910         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2911         (gst_bin_recalc_func):
2912         * gst/gstelement.c: (gst_element_set_clock),
2913         (gst_element_abort_state), (gst_element_lost_state):
2914         Cleanups, prepare for state change fixes.
2915
2916 2005-10-18  Wim Taymans  <wim@fluendo.com>
2917
2918         * gst/gstbin.h:
2919         * gst/gstelement.c: (gst_element_class_init),
2920         (gst_element_set_state), (gst_element_set_state_func):
2921         * gst/gstelement.h:
2922         Pending ABI changes.
2923         GThreadPool in GstBinClass to monitor async state changes.
2924         state_cookie in GstElement to detect concurrent gst/set state.
2925         set_state is now virtual too in case a very complicated element
2926         has to be constructed.
2927
2928 2005-10-18  Wim Taymans  <wim@fluendo.com>
2929
2930         * check/gst/gstbin.c: (GST_START_TEST):
2931         * check/gst/gstmessage.c: (GST_START_TEST):
2932         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2933         * gst/gstbin.c: (bin_bus_handler):
2934         * gst/gstelement.c: (gst_element_commit_state),
2935         (gst_element_lost_state):
2936         * gst/gstmessage.c: (gst_message_new_state_changed),
2937         (gst_message_new_segment_start), (gst_message_new_segment_done),
2938         (gst_message_new_duration), (gst_message_parse_state_changed),
2939         (gst_message_parse_segment_start),
2940         (gst_message_parse_segment_done), (gst_message_parse_duration):
2941         * gst/gstmessage.h:
2942         * tools/gst-launch.c: (event_loop):
2943         Make messages future proof.
2944         state-change gets a flag if it was a message comming from the
2945         streaming thread.
2946         segment-start/stop can also be specified in other formats.
2947         A message to notify an app that a pipeline changed playback 
2948         duration.
2949         Also fix a GstMessage leak in -launch
2950
2951 2005-10-18  Andy Wingo  <wingo@pobox.com>
2952
2953         * gst/gstelement.c (gst_element_dispose): More helpful message.
2954
2955 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2956
2957         reviewed by: <delete if not using a buddy>
2958
2959         * common/gtk-doc.mak:
2960
2961 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2962
2963         * gst/gstregistry.c: (gst_registry_scan_path_level):
2964           unref a plug-in we get that was already initialized
2965
2966 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2967
2968         * docs/gst/gstreamer-sections.txt:
2969         * docs/libs/gstreamer-libs-sections.txt:
2970         * gst/gstelement.h:
2971           add new api entries
2972           hide internal macro
2973
2974 2005-10-17  Andy Wingo  <wingo@pobox.com>
2975
2976         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2977         cleanup.
2978
2979         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2980
2981         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2982
2983         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2984         (gst_element_get_state_func): Better debug message.
2985         (gst_element_commit_state): s/INFO/DEBUG/.
2986         (gst_element_lost_state, gst_element_change_state): 
2987
2988         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2989         (gst_message_new_custom): s/INFO/LOG/.
2990
2991 2005-10-17  Michael Smith <msmith@fluendo.com>
2992
2993         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2994           Check if end time is valid using end time, not start time.
2995
2996 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2997
2998         * check/gst-libs/controller.c: (GST_START_TEST),
2999         (gst_controller_suite):
3000         * libs/gst/controller/gstcontroller.c:
3001         (gst_controlled_property_set_interpolation_mode):
3002         * libs/gst/controller/gstcontroller.h:
3003         * libs/gst/controller/gstinterpolation.c:
3004         * testsuite/controller/.cvsignore:
3005         * testsuite/controller/Makefile.am:
3006         * testsuite/controller/interpolator.c:
3007           merge controller testsuites
3008           fix broken tests
3009           remove mem-chunk from docs
3010
3011 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3012
3013         * gst/gstmemchunk.c:
3014         * gst/gstmemchunk.h:
3015         * gst/gsttrashstack.c:
3016         * gst/gsttrashstack.h:
3017           out.  get out.  you're fired.  to the Attic !
3018
3019 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3020
3021         * gst/gstcaps.c: (gst_caps_intersect):
3022           fix signedness issues in a (hopefully) correct way
3023         * gst/gstelement.c: (gst_element_pads_activate):
3024           some debugging
3025         * gst/gstobject.c: (gst_object_set_parent):
3026           some debugging
3027
3028 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3029
3030         * gst/gstvalue.h: Fix prototypes.
3031
3032 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3033
3034         * docs/gst/gstreamer-sections.txt:
3035         * gst/gst.c: (gst_version_string):
3036         * gst/gst.h:
3037         * gst/gstversion.h.in:
3038         * win32/common/libgstreamer.def:
3039           add gst_version_string ()
3040
3041 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3042
3043         * configure.ac:
3044           clean up further
3045         * gst/gst.c: (init_post):
3046         * win32/common/config.h.in:
3047           it's PLUGINDIR now
3048         * gst/gstcaps.c: (gst_caps_intersect):
3049           use gint64, the range could be bigger than a guint
3050
3051 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3052
3053         * gst/gstclock.h:
3054           document potential problem in 2038
3055
3056 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3057
3058         * gst/gstcaps.c: (gst_caps_intersect):
3059           Fix guint j diving under 0
3060
3061 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3062
3063         * configure.ac:
3064         * win32/common/config.h:
3065         * win32/common/config.h.in:
3066           check for process.h, declares getpid() on Windows
3067         * gst/gstinfo.c:
3068           include process.h if we have it
3069         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3070         * gst/gstmemchunk.h:
3071           fix signedness issues
3072         * win32/common/libgstreamer.def:
3073           fix get_type's
3074
3075 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3076
3077         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3078         fix. Because of unsigned ints, caps intersection was going nuts and
3079         trying to access structures with G_MAXUINT index. That fixes
3080         videotestsrc ! ffmpegcolorspace ! fakesink
3081         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3082         consistency.
3083
3084 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3085
3086         * configure.ac:
3087           use the gettext macro
3088         * gst/elements/gstelements.c:
3089         * gst/gst.c:
3090         * gst/indexers/gstindexers.c:
3091           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3092         * win32/common/config.h:
3093           updated config.h
3094         * win32/common/config.h.in:
3095           add the template to generate config.h
3096         * win32/common/gstenumtypes.c:
3097         * win32/common/gstversion.h:
3098           updated copies
3099
3100 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3101
3102         * gst/gst.c: (gst_version):
3103         * gst/gstversion.h.in:
3104           add the nano
3105
3106 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3107
3108         * gst/gstevent.h:
3109           Oops, add missing closing bracket.
3110
3111 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3112
3113         * configure.ac:
3114           use common m4's for argument checking
3115
3116 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3117
3118         * docs/gst/gstreamer-sections.txt:
3119         * gst/gstevent.h:
3120           Add GST_EVENT_TYPE_NAME() macro.
3121
3122 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3123
3124         * gst/gstinfo.c:
3125         * gst/gstpluginfeature.c:
3126         * gst/gsttask.c:
3127           privatize more symbols
3128
3129 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3130
3131         * configure.ac:
3132           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3133           everything that uses GStreamer API should have the includes
3134
3135 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3136
3137         * docs/gst/gstreamer-sections.txt:
3138         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3139         * gst/gstvalue.h:
3140           give each value a _get_type, removes the DATA exports
3141
3142 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3143
3144         * gst/gst.c:
3145         * gst/gst.h:
3146           remove _gst_registry_auto_load, not used anymore
3147         * gst/gstbin.c: (gst_bin_get_type):
3148         * gst/gstbin.h:
3149         * gst/gstelement.c: (gst_element_get_type):
3150         * gst/gstelement.h:
3151         * gst/gstobject.c: (gst_object_get_type):
3152         * gst/gstobject.h:
3153         * gst/gstpad.c: (gst_pad_get_type):
3154         * gst/gstpad.h:
3155           make _get_type functions similar, fixes data export from library
3156
3157 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3158
3159         * configure.ac:
3160           correctly make conditionals
3161         * gst/elements/Makefile.am:
3162         * gst/elements/gstelements.c:
3163           fix typo causing fdsrc not to build
3164
3165 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3166
3167         * testsuite/Makefile.am:
3168         * testsuite/bytestream/.cvsignore:
3169         * testsuite/bytestream/Makefile.am:
3170         * testsuite/bytestream/filepadsink.c:
3171         * testsuite/bytestream/gstbstest.c:
3172         * testsuite/bytestream/test1.c:
3173         * testsuite/bytestream/testfile1:
3174         * testsuite/caps/normalisation.c:
3175         * testsuite/caps/random.c: (main):
3176         * testsuite/cleanup/.cvsignore:
3177         * testsuite/cleanup/Makefile.am:
3178         * testsuite/cleanup/cleanup1.c:
3179         * testsuite/cleanup/cleanup2.c:
3180         * testsuite/cleanup/cleanup3.c:
3181         * testsuite/cleanup/cleanup4.c:
3182         * testsuite/cleanup/cleanup5.c:
3183         * testsuite/controller/interpolator.c:
3184         * testsuite/debug/printf_extension.c: (main):
3185         * testsuite/elements/tee.c:
3186         * testsuite/negotiation/.cvsignore:
3187         * testsuite/negotiation/Makefile.am:
3188         * testsuite/negotiation/pad_link.c:
3189         * testsuite/pad/Makefile.am:
3190         * testsuite/pad/chainnopull.c:
3191         * testsuite/pad/getnopush.c:
3192         * testsuite/pad/link.c:
3193         * testsuite/refcounting/sched.c: (create_pipeline):
3194         * testsuite/registry/Makefile.am:
3195         * testsuite/registry/gst-print-formats.c:
3196         * testsuite/schedulers/.cvsignore:
3197         * testsuite/schedulers/142183-2.c:
3198         * testsuite/schedulers/142183.c:
3199         * testsuite/schedulers/143777-2.c:
3200         * testsuite/schedulers/143777.c:
3201         * testsuite/schedulers/147713.c:
3202         * testsuite/schedulers/147819.c:
3203         * testsuite/schedulers/147894-2.c:
3204         * testsuite/schedulers/147894.c:
3205         * testsuite/schedulers/Makefile.am:
3206         * testsuite/schedulers/group_link.c:
3207         * testsuite/schedulers/queue_link.c:
3208         * testsuite/schedulers/relink.c:
3209         * testsuite/schedulers/unlink.c:
3210         * testsuite/schedulers/unref.c:
3211         * testsuite/schedulers/useless_iteration.c:
3212         * testsuite/states/bin.c:
3213           clean out/remove some stuff from the testsuite directories
3214
3215 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3216
3217         * configure.ac:
3218           check for some headers
3219         * gst/elements/Makefile.am:
3220         * gst/elements/gstelements.c:
3221           don't compile fdsrc without sys/socket.h
3222         * gst/indexers/Makefile.am:
3223         * gst/indexers/gstindexers.c: (plugin_init):
3224           don't compile fileindex without mmap
3225
3226 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3227
3228         * configure.ac:
3229           reorganize
3230           clean up
3231           document more
3232           remove cruft
3233         * check/Makefile.am:
3234         * docs/gst/Makefile.am:
3235         * examples/helloworld/Makefile.am:
3236         * gst/Makefile.am:
3237         * gst/base/Makefile.am:
3238         * gst/check/Makefile.am:
3239         * gst/elements/Makefile.am:
3240         * gst/indexers/Makefile.am:
3241         * gst/parse/Makefile.am:
3242         * libs/gst/controller/Makefile.am:
3243         * libs/gst/dataprotocol/Makefile.am:
3244         * examples/helloworld/helloworld.c: (event_loop):
3245           compile fixes, though it's not being compiled currently
3246
3247 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3248
3249         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3250           Add some simple tests for the new taglist date API.
3251
3252 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3253
3254         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3255         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3256           Beautify 'last-message' output: print 'none' for buffer timestamps
3257           and durations if none is set; improve alignment with next messages.
3258
3259 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3260
3261         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3262         * gst/gstpluginfeature.h:
3263         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3264         * gst/gstregistry.h:
3265         * docs/gst/gstreamer-sections.txt:
3266           Add new API to check plugin feature version requirements.
3267
3268         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3269           Some basic tests for the above.         
3270
3271 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3272
3273         * gst/gststructure.c: (gst_structure_to_string):
3274           guard against NULL printf - happens when for example
3275           a message structure with GstClock gets serialized
3276
3277 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3278
3279         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3280           Fix presumable copy'n'pasto.
3281
3282 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3283
3284         * gst/elements/gstfakesrc.h:
3285         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3286         * gst/elements/gsttypefindelement.c:
3287           fix some signedness
3288         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3289           I wonder if this could actually write +2GB files before
3290
3291 2005-10-13  Andy Wingo  <wingo@pobox.com>
3292
3293         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3294         Fix Timmeke Waymans bug.
3295         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3296         string of the proper length to gst_caps_from_string. There's a
3297         potential for, before this fix, that this could cause someone
3298         connecting over the network to cause a segfault if the payload is
3299         not NUL-terminated.
3300
3301 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3302
3303         * docs/design/draft-push-pull.txt:
3304         * docs/design/part-overview.txt:
3305         * docs/random/TODO-pre-0.9:
3306         * docs/random/old/ChangeLog.gstreamer:
3307         * gst/base/gstpushsrc.c:
3308         * gst/gstclock.c:
3309           fixed typos
3310
3311 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3312
3313         * gst/glib-compat.c: (gst_flags_get_first_value):
3314         * gst/glib-compat.h:
3315         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3316         (gst_value_compare_double), (gst_value_serialize_flags):
3317           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3318           infinite loop
3319
3320 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3321
3322         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3323         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3324           fix up debugging
3325         * tools/gst-launch.c: (event_loop):
3326           print out clock nicely
3327
3328 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3329
3330         * docs/gst/gstreamer-sections.txt:
3331         * gst/gsttaglist.h:
3332         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3333         (gst_tag_list_get_date_index):
3334           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3335           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3336
3337 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3338
3339         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3340         (gst_collectpads_chain):
3341         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3342         in CollectData.
3343
3344 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3345
3346         * docs/gst/gstreamer-sections.txt:
3347         * gst/gst.c:
3348         * gst/gsterror.h:
3349         * tools/gst-inspect.c: (main):
3350         * tools/gst-launch.c: (main):
3351         * tools/gst-run.c: (main):
3352         * tools/gst-xmlinspect.c: (main):
3353           fix GOption context leaks
3354           doc fixes
3355
3356 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3357
3358         * gst/gstbus.c:
3359           use HAVE_UNISTD_H
3360         * win32/common/config.h:
3361           update config
3362         * win32/vs6/grammar.dsp:
3363         * win32/vs6/libgstelements.dsp:
3364         * win32/vs6/libgstreamer.dsp:
3365           update vs6 files
3366
3367 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3368
3369         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3370         * gst/base/gstbasesrc.c: (gst_base_src_query):
3371           fix more guint64<->gdouble conversions
3372
3373 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3374
3375         * Makefile.am:
3376           add win32-update target
3377         * win32/common/gstconfig.h:
3378         * win32/common/gstenumtypes.c:
3379         * win32/common/gstenumtypes.h:
3380         * win32/common/gstversion.h:
3381           add files that visual studio can't generate
3382
3383 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3384
3385         * Makefile.am:
3386           add a win32-update target
3387         * configure.ac:
3388
3389 2005-10-12  Wim Taymans  <wim@fluendo.com>
3390
3391         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3392         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3393         * gst/gstelement.c: (gst_element_commit_state),
3394         (gst_element_set_state):
3395         Protect flags with proper lock.
3396         unref provided cached clock in dispose.
3397
3398 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3399
3400         * gst/gst.c:
3401         * gst/gstminiobject.h:
3402         * gst/gstpad.h:
3403         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3404           removed unused flags from miniobject
3405           doc fixes
3406
3407 2005-10-12  Wim Taymans  <wim@fluendo.com>
3408
3409         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3410         (gst_file_sink_event), (gst_file_sink_render):
3411         Flush before seeking.
3412
3413 2005-10-12  Andy Wingo  <wingo@pobox.com>
3414
3415         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3416         always been the case.
3417
3418 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3419
3420         * check/gst/gstbin.c: (GST_START_TEST):
3421         * docs/gst/gstreamer-sections.txt:
3422         * gst/base/gstbasesink.c: (gst_base_sink_init):
3423         * gst/base/gstbasesrc.c: (gst_base_src_init),
3424         (gst_base_src_get_range), (gst_base_src_check_get_range),
3425         (gst_base_src_start), (gst_base_src_stop):
3426         * gst/base/gstbasesrc.h:
3427         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3428         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3429         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3430         (bin_bus_handler):
3431         * gst/gstbin.h:
3432         * gst/gstbuffer.h:
3433         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3434         * gst/gstbus.h:
3435         * gst/gstelement.c: (gst_element_is_locked_state),
3436         (gst_element_set_locked_state), (gst_element_commit_state),
3437         (gst_element_set_state):
3438         * gst/gstelement.h:
3439         * gst/gstindex.c: (gst_index_init):
3440         * gst/gstindex.h:
3441         * gst/gstminiobject.h:
3442         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3443         (gst_object_set_parent):
3444         * gst/gstobject.h:
3445         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3446         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3447         * gst/gstpad.h:
3448         * gst/gstpadtemplate.h:
3449         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3450         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3451         * gst/gstpipeline.h:
3452         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3453         (gst_file_index_commit):
3454         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3455         * testsuite/pad/link.c: (gst_test_src_init),
3456         (gst_test_filter_init), (gst_test_sink_init):
3457         * testsuite/states/locked.c: (main):
3458           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3459           moved bitshift from macro to enum definition
3460
3461 2005-10-12  Wim Taymans  <wim@fluendo.com>
3462
3463         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3464         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3465         (gst_file_sink_render):
3466         Some more debugging info.
3467
3468 2005-10-12  Wim Taymans  <wim@fluendo.com>
3469
3470         * docs/design/part-states.txt:
3471         * tools/gst-launch.c: (main):
3472         Some doc updates.
3473         Revert non-intentional change.
3474
3475 2005-10-12  Wim Taymans  <wim@fluendo.com>
3476
3477         * check/gst/gstbin.c: (GST_START_TEST):
3478         * check/gst/gstelement.c: (GST_START_TEST):
3479         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3480         * check/gst/gstghostpad.c: (GST_START_TEST):
3481         * check/gst/gstpipeline.c: (GST_START_TEST):
3482         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3483         * check/states/sinks.c: (GST_START_TEST):
3484         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3485         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3486         (gst_bin_remove_func), (gst_bin_get_state_func),
3487         (gst_bin_recalc_state), (gst_bin_change_state_func),
3488         (bin_bus_handler):
3489         * gst/gstelement.c: (gst_element_get_state_func),
3490         (gst_element_get_state), (gst_element_abort_state),
3491         (gst_element_commit_state), (gst_element_set_state),
3492         (gst_element_change_state), (gst_element_change_state_func):
3493         * gst/gstelement.h:
3494         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3495         (gst_pipeline_provide_clock_func):
3496         * gst/gstutils.c: (gst_element_link_pads_filtered):
3497         * tools/gst-launch.c: (main):
3498         * tools/gst-typefind.c: (main):
3499         Use GstClockTime in _get_state() instead of GTimeVal.
3500         Remove old code in gstutils.c
3501
3502 2005-10-12  Andy Wingo  <wingo@pobox.com>
3503
3504         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3505         removed.
3506
3507         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3508         there is no task. Shouldn't affect any code, as nothing in our
3509         plugins checks this return value.
3510         (gst_pad_stop_task): Also take the stream lock if the pad has no
3511         task. Docs updated.
3512
3513 2005-10-12  Wim Taymans  <wim@fluendo.com>
3514
3515         * gst/gstpad.c: (pre_activate), (post_activate),
3516         (gst_pad_activate_pull), (gst_pad_activate_push):
3517         Cleanup activation code. Reset old state if
3518         activation failed.
3519
3520 2005-10-12  Wim Taymans  <wim@fluendo.com>
3521
3522         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3523         (gst_base_sink_change_state):
3524         No need to prerol after receiving EOS.
3525
3526         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3527         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3528         * gst/elements/gstidentity.c: (gst_identity_event):
3529         Print events more verbosely.
3530
3531 2005-10-12  Wim Taymans  <wim@fluendo.com>
3532
3533         * check/Makefile.am:
3534         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3535         * check/states/sinks2.c:
3536         Moved sinks2 testcode in sinks check.
3537
3538         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3539         (gst_bin_remove_func), (gst_bin_recalc_state),
3540         (gst_bin_change_state_func), (bin_bus_handler):
3541         Fix potential race condition when _get_state() iterated over an
3542         ASYNC element right before it posted a state completion.
3543
3544         * gst/gstclock.h:
3545         Do proper cast here.
3546
3547         * gst/gstevent.c: (gst_event_new_newsegment),
3548         (gst_event_parse_newsegment):
3549         A playback rate of 0.0 is not allowed.
3550
3551 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3552
3553         * win32/common/config.h:
3554         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3555         (_trewinddir), (_ttelldir), (_tseekdir):
3556         * win32/common/dirent.h:
3557         * win32/common/gtchar.h:
3558         * win32/common/libgstbase.def:
3559         * win32/common/libgstreamer.def:
3560         * win32/vs6/grammar.dsp:
3561         * win32/vs6/gst_inspect.dsp:
3562         * win32/vs6/gst_launch.dsp:
3563         * win32/vs6/gstreamer.dsw:
3564         * win32/vs6/libgstbase.dsp:
3565         * win32/vs6/libgstelements.dsp:
3566         * win32/vs6/libgstreamer.dsp:
3567           Visual Studio 6 project files, and a new common directory.
3568           Phear.
3569
3570 2005-10-11  Wim Taymans  <wim@fluendo.com>
3571
3572         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3573         (gst_base_sink_do_sync), (gst_base_sink_query),
3574         (gst_base_sink_change_state):
3575         * gst/base/gstbasesink.h:
3576         Correctly parse newsegment info.
3577
3578 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3579
3580         * gst/gst.c: (init_post):
3581           split plugin paths correctly
3582
3583 2005-10-11  Wim Taymans  <wim@fluendo.com>
3584
3585         * check/gst/gstevent.c: (GST_START_TEST):
3586         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3587         (gst_base_sink_change_state):
3588         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3589         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3590         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3591         * gst/gstevent.c: (gst_event_new_newsegment),
3592         (gst_event_parse_newsegment):
3593         * gst/gstevent.h:
3594         Added extra flag to newsegment for future API freeze.
3595         Updated check and base elements.
3596
3597 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3598
3599         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3600         (gst_collectpads_add_pad), (gst_collectpads_pop),
3601         (gst_collectpads_event), (gst_collectpads_chain):
3602         * gst/base/gstcollectpads.h: Handle EOS correctly.
3603
3604 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3605
3606         * tools/gst-launch.c: (main):
3607           more null protecting
3608
3609 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3610
3611         * gst/gst-i18n-lib.h:
3612           check for ENABLE_NLS, not GETTEXT_PACKAGE
3613         * gst/gstregistry.c: (gst_registry_add_plugin),
3614         (gst_registry_scan_path_level),
3615         (_gst_registry_remove_cache_plugins):
3616           protect possibly NULL strings
3617         * gst/parse/types.h:
3618           config.h already included before
3619         * tools/gst-inspect.c: (main):
3620           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3621           check for ENABLE_NLS, not GETTEXT_PACKAGE
3622         * tools/gst-launch.c: (main):
3623           check for ENABLE_NLS, not GETTEXT_PACKAGE
3624
3625 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3626
3627         * configure.ac:
3628           if we don't have glib, fail before testing 2.8
3629         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3630           fix a leak, should fix plugins-base testsuite
3631
3632 2005-10-11  Andy Wingo  <wingo@pobox.com>
3633
3634         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3635         take the mode we're going to as an arg. Go head and set the mode
3636         and flushing flags now, so that if the activate function starts a
3637         thread all the flags will be in the right state.
3638         (post_activate): Renamed also. Just handle making sure streaming
3639         finishes for the deactivation case, and setting the deactivated
3640         mode.
3641         (gst_pad_set_active): Complain loudly if deactivation fails.
3642         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3643         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3644         remove the terrible hack.
3645
3646 2005-10-11  Wim Taymans  <wim@fluendo.com>
3647
3648         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3649         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3650         (gst_bin_recalc_state), (gst_bin_change_state_func),
3651         (gst_bin_dispose), (bin_bus_handler):
3652         * gst/gstbin.h:
3653         Prepare to make current EOS message queue more generic.
3654         Fix some typos.
3655
3656         * gst/gstevent.c: (gst_event_new_newsegment),
3657         (gst_event_parse_newsegment):
3658         * gst/gstevent.h:
3659         Rename base to stream_time.
3660
3661         * gst/gstmessage.h:
3662         Fix typo in docs.
3663
3664 2005-10-11  Wim Taymans  <wim@fluendo.com>
3665
3666         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3667         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3668         (gst_bin_change_state_func), (bin_bus_handler):
3669         * gst/gstbin.h:
3670         Work on proper clock selection.
3671
3672 2005-10-11  Edward Hervey  <edward@fluendo.com>
3673
3674         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3675         * libs/gst/controller/gstcontroller.h:
3676         Added GList* version of _remove_properties() in order to be able to wrap
3677         it in bindings.
3678
3679 2005-10-11  Wim Taymans  <wim@fluendo.com>
3680
3681         * docs/design/part-states.txt:
3682         Some more docs.
3683
3684         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3685         (gst_bin_change_state_func), (bin_bus_handler):
3686         Doc updates. Don't distribute the same clock over and over again.
3687
3688         * gst/gstclock.c:
3689         * gst/gstclock.h:
3690         Doc updates.
3691
3692         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3693         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3694         (gst_pad_send_event):
3695         * gst/gstpad.h:
3696         Make probe emission threadsafe again.
3697         Register quarks and move _get_name() from utils.
3698         Doc updates.
3699
3700         * gst/gstpipeline.c: (gst_pipeline_class_init),
3701         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3702         Only redistribute the clock of it changed.
3703
3704         * gst/gstsystemclock.h:
3705         Doc updates. 
3706
3707         * gst/gstutils.c:
3708         * gst/gstutils.h:
3709         Moved the _flow_get_name() to GstPad.
3710
3711 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3712
3713         * check/gst-libs/gdp.c: (GST_START_TEST):
3714         * check/gst/gstcaps.c: (GST_START_TEST):
3715         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3716         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3717         (gst_dp_packet_from_caps):
3718           fix more valgrind warnings before turning up the heat
3719
3720 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3721
3722         * gst/parse/grammar.y:
3723           some cleanup before the hacking
3724
3725 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3726
3727         * gst/base/gstbasesrc.c: (gst_base_src_query):
3728           use conversions
3729         * gst/gstutils.c: (gst_guint64_to_gdouble),
3730         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3731         * gst/gstutils.h:
3732           externalize, basesrc uses it
3733           obviously the implementation needs testing
3734
3735 2005-10-10  Wim Taymans  <wim@fluendo.com>
3736
3737         * tests/sched/Makefile.am:
3738         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3739         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3740
3741 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3742
3743         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3744           apparently converting from guint64 to double is not implemented
3745           on MSVC
3746
3747 2005-10-10  Wim Taymans  <wim@fluendo.com>
3748
3749         * check/Makefile.am:
3750         * check/generic/states.c: (GST_START_TEST):
3751         * check/gst/gstbin.c: (GST_START_TEST):
3752         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3753         * check/states/sinks.c: (GST_START_TEST):
3754         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3755         (main):
3756         Check fixes, use API as stated in design docs, remove hacks.
3757
3758         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3759         (gst_base_sink_change_state):
3760         Catch stopping our task while we're shutting down.
3761
3762         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3763         (gst_bin_remove_func), (gst_bin_get_state_func),
3764         (gst_bin_recalc_state), (gst_bin_change_state_func),
3765         (bin_bus_handler):
3766         * gst/gstbin.h:
3767         * gst/gstelement.c: (gst_element_init),
3768         (gst_element_get_state_func), (gst_element_abort_state),
3769         (gst_element_commit_state), (gst_element_lost_state),
3770         (gst_element_set_state), (gst_element_change_state),
3771         (gst_element_change_state_func):
3772         * gst/gstelement.h:
3773         New state change algorithm (see #318116)
3774
3775         * gst/gstpipeline.c: (gst_pipeline_class_init),
3776         (gst_pipeline_init), (gst_pipeline_set_property),
3777         (gst_pipeline_get_property), (do_pipeline_seek),
3778         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3779         * gst/gstpipeline.h:
3780         Remove crude state change hacks.
3781
3782         * gst/gstutils.h:
3783         Remove crude hacks.
3784
3785         * tools/gst-launch.c: (main):
3786         Fixes for state change. Needs some more work to fully use the
3787         new stuff.
3788
3789 2005-10-10  Andy Wingo  <wingo@pobox.com>
3790
3791         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3792
3793         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3794         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3795         issue.
3796
3797 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3798
3799         * gst/gstiterator.c: (gst_iterator_new):
3800           Fix my previous commit: GTypes passed to gst_iterator_new()
3801           can be fundamental types.
3802
3803 2005-10-10  Wim Taymans  <wim@fluendo.com>
3804
3805         * gst/gstelement.c: (gst_element_iterate_pad_list),
3806         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3807         (gst_element_iterate_sink_pads):
3808         Use src/sink pads lists for the respective iterators instead
3809         of filtering.
3810
3811 2005-10-10  Andy Wingo  <wingo@pobox.com>
3812
3813         Merged in popt removal + GOption addition patch from Ronald, bug
3814         #169772.
3815
3816         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3817         GstElement macros around, remove popt-related symbols, add goption
3818         stuff.
3819
3820         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3821         
3822         * docs/gst/Makefile.am:
3823         * docs/libs/Makefile.am: No POPT_CFLAGS.
3824         
3825         * examples/manual/Makefile.am:
3826         * docs/manual/basics-init.xml: Doc updates with an example.
3827         
3828         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3829         (gst_init), (parse_one_option), (parse_goption_arg):
3830         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3831         bit of hand merging and debugging to get the GOption stuff working
3832         tho.
3833         
3834         * tests/Makefile.am:
3835         * tools/Makefile.am:
3836         * tools/gst-inspect.c: (main):
3837         * tools/gst-launch.c: (main):
3838         * tools/gst-run.c: (main):
3839         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3840
3841 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3842
3843         * gst/gstiterator.c: (gst_iterator_new):
3844           Add assertions to make sure passed GType is likely to really
3845           be a GType (as the compiler won't catch it if the size and
3846           GType arguments get mixed up, see #318447).
3847
3848 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3849
3850         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3851
3852         * gst/gstbin.c: (gst_bin_iterate_sorted):
3853           Pass GType and size arguments to gst_iterator_new() in the right
3854           order (maybe we should make _new() take the GType as first argument
3855           just like _new_list()?) (#318447).
3856           
3857
3858 2005-10-10  Wim Taymans  <wim@fluendo.com>
3859
3860         * gst/gstelement.c: (gst_element_finalize):
3861         And free the GStaticRecMutex too
3862
3863 2005-10-10  Andy Wingo  <wingo@pobox.com>
3864
3865         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3866         Allocate and free the mutex properly.
3867
3868         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3869         New macros.
3870         (GstElement): The state_lock is now recursive. Rebuild your
3871         plugins, suckers. Old macros adapted.
3872
3873         * docs/gst/gstreamer-sections.txt: Doc updates.
3874
3875         * gst/gstutils.h:
3876         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3877         (g_static_rec_cond_wait): Ported from state changes patch, while
3878         we wait on bug #317802 to be solved in a well-distributed GLib.
3879
3880         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3881         gst_element_change_state, variable name changes.
3882         (gst_element_change_state): Split out of gst_element_set_state in
3883         preparation for the state change merge. Doesn't pay attention to
3884         the 'transition' argument.
3885         (gst_element_set_state): Updates, hopefully purely cosmetic.
3886         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3887         state change patch.
3888         (gst_element_get_state_func): Renamed from get_state, cosmetic
3889         changes.
3890
3891 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3892
3893         * gst/elements/gstelements.c:
3894         * win32/GStreamer.vcproj:
3895         * win32/config.h:
3896         * win32/dirent.c: (_tseekdir):
3897         * win32/gst-inspect.vcproj:
3898         * win32/gst-launch.vcproj:
3899         * win32/gstconfig.h:
3900         * win32/gstelements.vcproj:
3901         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3902         * win32/gstreamer.def:
3903         * win32/msvc71.sln:
3904           updates for the win32 build (patch from Sebastien Moutte)
3905
3906 2005-10-10  Andy Wingo  <wingo@pobox.com>
3907
3908         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3909         gst_bin_get_state, cleaned up (but no logic changes).
3910         (bin_element_is_sink): Comment updates.
3911         (sink_iterator_filter): Remove needless cast.
3912         (gst_bin_iterate_sinks): Doc update.
3913         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3914         cleaned up (but no logic changes).
3915
3916         * check/states/sinks.c (test_src_sink): Cleanups from the state
3917         change patch.
3918         (test_livesrc_sink): Sync on the state.
3919
3920         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3921         the state change patch.
3922
3923         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3924         change patch.
3925
3926         * check/gst/gstbin.c: Merge in some style fixes and additional
3927         checks from Wim's state change patch.
3928
3929 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3930
3931         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3932         (gst_type_find_helper):
3933           Check whether we have the requested data already in our list of
3934           cached buffers before pulling a new buffer; also make the buffer
3935           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3936
3937 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3938
3939         * gst/gstcaps.c:
3940         * gst/gstevent.c:
3941           doc updates
3942         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3943           don't use long long, it's not portable.  Replacing with
3944           gint64 seems to work; let's hope no skeletons fall out of the closet.
3945
3946 2005-10-10  Andy Wingo  <wingo@pobox.com>
3947
3948         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3949
3950 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3951
3952         * docs/gst/gstreamer-sections.txt:
3953         * gst/gstevent.c:
3954         * gst/gstevent.h:
3955         * gst/gstinfo.c:
3956         * gst/gstinfo.h:
3957         * gst/gstmessage.c: (gst_message_parse_state_changed):
3958         * gst/gstpad.c:
3959         * gst/gstpad.h:
3960           more docs, fix compilation
3961
3962 2005-10-09  Philippe Khalaf <burger@speedy.org>
3963         * gst/gstmessage.c:
3964           Fixed a few forgotten variables on previous commit
3965
3966 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3967
3968         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3969           Fix evil typefind crasher: getrange() might return a short
3970           buffer at the end of a file, but gst_type_find_peek() must
3971           either return the full data as requested or NULL, but
3972           never a short buffer.
3973
3974 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3975
3976         * gst/gstmessage.c: (gst_message_new_state_changed),
3977         (gst_message_parse_state_changed):
3978         * gst/gstmessage.h:
3979           don't use "new", it's a C++ keyword
3980
3981 2005-10-08  Wim Taymans  <wim@fluendo.com>
3982
3983         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3984         * gst/gstelement.c: (gst_element_post_message):
3985         * gst/gstpipeline.c: (gst_pipeline_change_state):
3986         Small docs and debug updates.
3987
3988 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3989
3990         * docs/gst/gstreamer-sections.txt:
3991         * gst/gstelementfactory.c:
3992         * gst/gstevent.c:
3993         * gst/gsttaglist.c:
3994           more docs
3995
3996 2005-10-08  Wim Taymans  <wim@fluendo.com>
3997
3998         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3999         (gst_bin_dispose), (bin_bus_handler):
4000         Fix typos, add comments.
4001         Clear EOS list when going to PAUSED from any direction and do it
4002         in a threadsafe way.
4003         Get base time in a threadsafe way too.
4004         Fix confusing debug in the change_state function.
4005         Various other small cleanups.
4006         
4007         * gst/gstelement.c: (gst_element_post_message):
4008         Fix very verbose bus posting code.
4009
4010         * gst/gstpipeline.c: (gst_pipeline_class_init),
4011         (gst_pipeline_set_property), (gst_pipeline_get_property),
4012         (gst_pipeline_change_state):
4013         Small ARG_ -> PROP_ cleanup
4014
4015 2005-10-08  Wim Taymans  <wim@fluendo.com>
4016
4017         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4018         Do a less CPU demanding EOS check because we can.
4019
4020 2005-10-08  Wim Taymans  <wim@fluendo.com>
4021
4022         * libs/gst/dataprotocol/dataprotocol.c:
4023         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4024         (gst_dp_packet_from_event):
4025         * libs/gst/dataprotocol/dataprotocol.h:
4026         * libs/gst/dataprotocol/dp-private.h:
4027         It's about time we bump the version number.
4028         Since event types don't fit in the guint8 anymore describing
4029         the payload type, make payload type 16 bits wide.
4030
4031 2005-10-08  Wim Taymans  <wim@fluendo.com>
4032
4033         * docs/design/part-TODO.txt:
4034         * docs/design/part-clocks.txt:
4035         * docs/design/part-events.txt:
4036         * docs/design/part-gstbin.txt:
4037         * docs/design/part-gstelement.txt:
4038         * docs/design/part-gstpipeline.txt:
4039         * docs/design/part-live-source.txt:
4040         * docs/design/part-messages.txt:
4041         * docs/design/part-overview.txt:
4042         * docs/design/part-states.txt:
4043         Many doc updates.
4044
4045 2005-10-08  Wim Taymans  <wim@fluendo.com>
4046
4047         * gst/gstevent.c:
4048         * gst/gstevent.h:
4049         Fix event quark registration.
4050         Add some space between events so we can insert them in the
4051         right groups.
4052
4053 2005-10-08  Wim Taymans  <wim@fluendo.com>
4054
4055         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4056         (gst_base_sink_handle_buffer):
4057         Better log message.
4058
4059         * gst/gstbus.h:
4060         * gst/gstelement.h:
4061         More docs.
4062
4063         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4064         (gst_queue_set_property), (gst_queue_get_property):
4065         * gst/gstqueue.h:
4066         Remove old unused properties.
4067
4068 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4069         * docs/gst/gstreamer-sections.txt:
4070         * gst/gstmessage.c:
4071         * gst/gstmessage.h:
4072         * gst/gstminiobject.c:
4073         * gst/gstminiobject.h:
4074         * gst/gstobject.h:
4075         * gst/gstpad.h:
4076         * gst/gstutils.h:
4077           lots of new docs and doc fixes
4078
4079 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4080
4081         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4082         * gst/gstplugin.h:
4083         * gst/gstregistry.c: (gst_registry_lookup_locked),
4084         (gst_registry_scan_path_level):
4085         * gst/gstregistryxml.c: (load_plugin):
4086           Only ever load one plugin for a given plugin basename.
4087           This ensures correct overriding of GST_PLUGIN_PATH over
4088           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4089           system installed plugins.
4090
4091 2005-10-08  Wim Taymans  <wim@fluendo.com>
4092
4093         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4094         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4095         Prepare for doing QOS.
4096
4097 2005-10-08  Wim Taymans  <wim@fluendo.com>
4098
4099         * check/gst/gstbin.c: (GST_START_TEST):
4100         * check/pipelines/cleanup.c: (GST_START_TEST):
4101         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4102         Allow new clock message too.
4103
4104 2005-10-08  Wim Taymans  <wim@fluendo.com>
4105
4106         * gst/gstmessage.c: (gst_message_new_error),
4107         (gst_message_new_warning), (gst_message_new_tag),
4108         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4109         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4110         (gst_message_new_segment_start), (gst_message_new_segment_done),
4111         (gst_message_parse_state_changed),
4112         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4113         (gst_message_parse_new_clock):
4114         * gst/gstmessage.h:
4115         Also carry the clock in question.
4116
4117 2005-10-08  Wim Taymans  <wim@fluendo.com>
4118
4119         * gst/gstmessage.c: (gst_message_new_custom),
4120         (gst_message_new_eos), (gst_message_new_error),
4121         (gst_message_new_warning), (gst_message_new_tag),
4122         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4123         (gst_message_new_new_clock), (gst_message_new_segment_start),
4124         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4125         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4126         * gst/gstmessage.h:
4127         Clean up.
4128         Added clock related messages.
4129
4130         * gst/gstpipeline.c: (gst_pipeline_change_state):
4131         Post message when the clock changed.
4132
4133         * tools/gst-launch.c: (event_loop):
4134         Print new clock.
4135
4136 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4137
4138         * tools/gst-inspect.c: (print_element_properties_info):
4139           Can't pass NULL strings to g_print() on windows.
4140
4141 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4142
4143         * docs/Makefile.am:
4144         * docs/gst/Makefile.am:
4145         * docs/gst/gstreamer-docs.sgml:
4146         * docs/gst/running.xml:
4147         * docs/version.entities.in:
4148           add a chapter on running GStreamer.
4149           document GST_DEBUG and GST_PLUGIN* env vars
4150
4151 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4152
4153         * Makefile.am:
4154           remove include dir
4155         * configure.ac:
4156           remove PLUGINS_BUILDDIR stuff
4157         * gst/gst.c: (init_post):
4158           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4159         * idiottest.mak:
4160           remove, it was condescending and not needed
4161
4162 2005-10-08  Wim Taymans  <wim@fluendo.com>
4163
4164         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4165         (gst_base_sink_handle_object), (gst_base_sink_event),
4166         (gst_base_sink_wait), (gst_base_sink_handle_event),
4167         (gst_base_sink_change_state):
4168         * gst/base/gstbasesink.h:
4169         Repost EOS message while going to PLAYING if still EOS.
4170         Make sure that when receiving a FLUSH_START we don't attempt
4171         to sync on the clock anymore.
4172
4173 2005-10-08  Wim Taymans  <wim@fluendo.com>
4174
4175         * tools/gst-launch.c: (event_loop):
4176         Better message printout.
4177
4178 2005-10-08  Wim Taymans  <wim@fluendo.com>
4179
4180         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4181         (gst_bin_child_proxy_get_children_count):
4182         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4183         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4184         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4185         (gst_child_proxy_set_valist):
4186         * gst/parse/grammar.y:
4187         Make ChildProxy threadsafe and fix mem leaks.
4188
4189 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4190
4191         * gst/gst.c: (init_post):
4192           debug the GST_PLUGIN_ env vars
4193
4194 2005-10-08  Wim Taymans  <wim@fluendo.com>
4195
4196         * check/gst/gstbin.c: (GST_START_TEST):
4197         * check/gst/gstmessage.c: (GST_START_TEST):
4198         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4199         * gst/gstelement.c: (gst_element_commit_state),
4200         (gst_element_lost_state):
4201         * gst/gstmessage.c: (gst_message_new_state_changed),
4202         (gst_message_parse_state_changed):
4203         * gst/gstmessage.h:
4204         * tools/gst-launch.c: (event_loop):
4205         Added extra field to STATE_CHANGE message with the pending
4206         state, which will be different from the new state soon.
4207
4208 2005-10-08  Wim Taymans  <wim@fluendo.com>
4209
4210         * gst/gstbus.c: (gst_bus_pop):
4211         * gst/gstclock.c:
4212         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4213         Small cleanups and doc updates.
4214
4215 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4216
4217         * gst/gst.c: (init_pre):
4218         * gst/gstbin.c: (gst_bin_add_func):
4219           log distributing clocks and base time
4220         * gst/gstregistry.c: (gst_registry_add_plugin),
4221         (gst_registry_scan_path_level), (gst_registry_scan_path):
4222           clean up the debugging output a little
4223         * gst/gstutils.c: (gst_element_state_get_name):
4224           warn about a memleak (I've actually seen this be used, though
4225           it was probably a bug)
4226
4227 2005-10-07  Wim Taymans  <wim@fluendo.com>
4228
4229         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4230         (gst_base_src_init), (gst_base_src_default_newsegment),
4231         (gst_base_src_newsegment), (gst_base_src_do_seek),
4232         (gst_base_src_loop), (gst_base_src_start):
4233         * gst/base/gstbasesrc.h:
4234         Make the newsegment event customizable by subclasses.
4235
4236 2005-10-07  Wim Taymans  <wim@fluendo.com>
4237
4238         * gst/gstevent.c: (gst_event_new_buffersize),
4239         (gst_event_parse_buffersize):
4240         * gst/gstevent.h:
4241         New event for future idea.
4242
4243 2005-10-07  Andy Wingo  <wingo@pobox.com>
4244
4245         * gst/gstelement.c (gst_element_post_message): Doc update.
4246
4247         * docs/gst/gstreamer-sections.txt: Update.
4248
4249         * gst/gstmessage.c (gst_message_new_application): Made into a
4250         function like honest API calls.
4251         (gst_message_new_element): New message type.
4252
4253         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4254
4255         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4256         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4257         times.
4258
4259         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4260         NO_PREROLL from gst_element_change_state to fall through.
4261
4262 2005-10-07  Wim Taymans  <wim@fluendo.com>
4263
4264         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4265         (gst_ghost_pad_do_activate_push):
4266         Activating a ghostpad with no internal pad in push mode
4267         is ok.
4268
4269 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4270
4271         * gst/gstobject.h:
4272           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4273           Fixes compilation on Windows.
4274
4275 2005-10-07  Michael Smith <msmith@fluendo.com>
4276
4277         * tools/gst-inspect.c:
4278           Print out feature and plugin count at the end when printing out
4279           all features.
4280
4281 2005-10-04  Michael Smith <msmith@fluendo.com>
4282
4283         * gst/gsterror.c: (_gst_stream_errors_init):
4284           Add another error string used in a few existing plugins.
4285
4286         * gst/gstplugin.c:
4287         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4288         * tools/gst-inspect.c: (print_element_info):
4289           When a feature disappears from a plugin (and the feature exists in
4290           the cached registry file), things went horribly wrong. This isn't a
4291           complete fix, we should actually be removing the 'missing' features
4292           from the features list when we load the actual plugin. That's not
4293           yet implemented. 
4294
4295 2005-10-04  Johan Dahlin  <johan@gnome.org>
4296
4297         * check/gst/gstiterator.c: (GST_START_TEST):
4298         * gst/gstbin.c: (gst_bin_iterate_elements),
4299         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4300         * gst/gstelement.c: (gst_element_iterate_pads):
4301         * gst/gstformat.c: (gst_format_iterate_definitions):
4302         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4303         (gst_iterator_new_list), (gst_iterator_filter):
4304         * gst/gstiterator.h:
4305         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4306         Add a GType to GstIterator, update callsites and tests.
4307
4308 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4309
4310         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4311           give events a chance to be handled by event probes when the pad
4312           is not linked
4313
4314 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4315
4316         * gst/gstevent.c: (gst_event_type_get_name),
4317         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4318         * gst/gstevent.h:
4319           add string representations for event types
4320
4321 2005-10-06  Wim Taymans  <wim@fluendo.com>
4322
4323         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4324         Don't use NULL pointers.
4325
4326 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4327
4328         * gst/gst_private.h:
4329         * gst/gstbus.c:
4330         * gst/gstelement.c:
4331         * gst/gstinfo.c:
4332         * gst/gstpluginfeature.c:
4333           widen the debug category in output to fit the biggest one we have
4334           add a bus category and use it
4335           play with the colors
4336           fix up some categories
4337
4338 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4339
4340         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4341           add push activation of sink ghost pads.
4342           Andye, please verify
4343
4344 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4345
4346         * gst/gstutils.c: (gst_element_link_pads):
4347           fix a bug in the case where neither element has a pad
4348         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4349           add a test for that case
4350
4351 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4352
4353         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4354           emit have-data before checking for peers.  This allows
4355           for probe handlers to connect elements.  This helps autopluggers.
4356         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4357         (gst_pad_suite):
4358           add six checks, linked/unlinked with no/true/false probe
4359
4360 2005-10-04  Wim Taymans  <wim@fluendo.com>
4361
4362         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4363         (gst_fake_sink_event), (gst_fake_sink_preroll),
4364         (gst_fake_sink_render), (gst_fake_sink_change_state):
4365         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4366         (gst_fake_src_get_property), (gst_fake_src_create),
4367         (gst_fake_src_stop):
4368         * gst/elements/gstidentity.c: (gst_identity_stop):
4369         Protect last_message with lock.
4370
4371 2005-10-04  Edward Hervey  <edward@fluendo.com>
4372
4373         * gst/gstformat.h: 
4374         Added precision in the comments for GST_FORMAT_DEFAULT
4375
4376 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4377
4378         * tools/gst-launch.c: (main):
4379           Don't try to run erroneous pipelines.
4380
4381 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4382
4383         * gst/gstbus.c: We don't need this header.
4384
4385 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4386
4387         * configure.ac:
4388           back to development
4389
4390 === release 0.9.3 ===
4391
4392 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4393
4394         * README:
4395         * configure.ac:
4396           Releasing 0.9.3, "Unregistered"
4397
4398 2005-10-03  Andy Wingo  <wingo@pobox.com>
4399
4400         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4401         whereby calling a pad's activatepush() function can start a thread
4402         that starts to push or pull before the pad gets the FLUSHING flag
4403         unset. Hack around it by holding the stream lock until the flag is
4404         set. Need to replace this with a proper solution. Together with
4405         the ghost pad fixes, this fixes mp3 playing/tagreading.
4406
4407         * docs/design/part-gstghostpad.txt: Add a note about activation of
4408         proxy pads outside of ghost pads.
4409
4410         * gst/gstghostpad.c: Implement the ghost pad activation design.
4411
4412 2005-10-02  Andy Wingo  <wingo@pobox.com>
4413
4414         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4415         It is volatile, after all.
4416
4417         * docs/design/part-gstghostpad.txt: Flesh out activation with
4418         ghost pads.
4419
4420         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4421         GST_DEBUG_FUNCPTR.
4422
4423 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4424
4425         * configure.ac:
4426           Fix (unused) AM_CONDITIONAL tests.
4427
4428 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4429
4430         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4431
4432         * gst/gstutils.c: (gst_pad_query_convert):
4433           Add assertion that makes sure src_val is >=0, just like
4434           gst_query_new_convert() has. (#315895)
4435
4436 2005-09-30  Edward Hervey  <edward@fluendo.com>
4437
4438         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4439         Let's not iterate pads we're not interested in, it avoids getting 
4440         sky-high refcounts on sinkpad.
4441
4442 2005-09-30  Wim Taymans  <wim@fluendo.com>
4443
4444         * gst/gstelement.c: (gst_element_set_state),
4445         (gst_element_change_state):
4446         Small tweak, element in ASYNC remains ASYNC.
4447
4448 2005-09-30  Wim Taymans  <wim@fluendo.com>
4449
4450         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4451         Only error is an error.
4452
4453         * gst/gstbin.c: (gst_bin_change_state):
4454         Better debugging.
4455
4456         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4457         Also call pad_block in pad alloc.
4458
4459         * gst/gstutils.c: (gst_flow_get_name):
4460         Better debugging.
4461
4462 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4463
4464         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4465         (gst_base_src_get_range):
4466           Fix documentation typos. Add some more debug info.
4467
4468 2005-09-29  David Schleef  <ds@schleef.org>
4469
4470         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4471           more end-user friendly.
4472         * tools/gst-inspect.c: (main): Check if command-line argument is
4473           a file and attempt to load that file as a plugin.
4474
4475 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4476
4477         * check/gst/gstbin.c:
4478         * check/states/sinks.c:
4479           fix tests for the new warning
4480         * check/gst/gstpipeline.c:
4481           add a test for pipeline and bus interaction
4482         * gst/gstelement.c:
4483           elements should be NULL if they get disposed; add a warning if not
4484
4485 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4486
4487         * gst/gstobject.c:
4488           for 2.6 refcounting, make debug log more correct by printing
4489           the actual refcounts at the time of swap (Wim)
4490
4491 2005-09-29  Andy Wingo  <wingo@pobox.com>
4492
4493         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4494         removes signal watches previously added via
4495         gst_bus_add_signal_watch.
4496         (gst_bus_add_signal_watch): Don't return the source id, just store
4497         it on the bus if there wasn't an id already.
4498
4499         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4500         add_signal_watch and remove_signal_watch.
4501
4502 2005-09-29  Edward Hervey  <edward@fluendo.com>
4503
4504         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4505         Better if we actually iterate the list :)
4506
4507 2005-09-29  Wim Taymans  <wim@fluendo.com>
4508
4509         * check/gst/gstbin.c: (GST_START_TEST):
4510         Change for new bus API.
4511
4512         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4513         (send_messages), (GST_START_TEST), (gstbus_suite):
4514         Change for new bus signal API.
4515
4516         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4517         (gst_bus_source_prepare), (gst_bus_source_check),
4518         (gst_bus_create_watch), (gst_bus_add_watch_full),
4519         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4520         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4521         * gst/gstbus.h:
4522         Remove support for multiple GSources operating on different
4523         message types as it is too complex and unneeded when using
4524         signals.
4525         Added support for receiving signals from the bus.
4526
4527 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4528
4529         * docs/libs/tmpl/gstdataprotocol.sgml:
4530         * docs/manual/advanced-dataaccess.xml:
4531         * gst/elements/gstcapsfilter.c:
4532         * gst/gstutils.c:
4533           rename filter-caps to caps property
4534
4535 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4536
4537         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4538           More robust fraction string parsing.
4539
4540         * docs/pwg/appendix-porting.xml:
4541           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4542
4543 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4544
4545         * gst/gstcaps.c: (gst_caps_do_simplify):
4546           Thou shalt not free a structure and then continue using it
4547           in the next loop iteration.
4548
4549         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4550         (gst_caps_suite):
4551           Add test case for caps simplification.
4552
4553 2005-09-29  Wim Taymans  <wim@fluendo.com>
4554
4555         * check/gst/gstbin.c: (GST_START_TEST):
4556         Oops.
4557
4558 2005-09-29  Wim Taymans  <wim@fluendo.com>
4559
4560         * check/gst/gstbin.c: (GST_START_TEST):
4561         Add bus to bin.
4562
4563         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4564         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4565         (find_element), (gst_bin_sort_iterator_next),
4566         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4567         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4568         (gst_bin_change_state), (gst_bin_dispose):
4569         A bin does not have a bus, it gets the bus from the parent.
4570
4571         * gst/gstelement.c: (gst_element_requires_clock),
4572         (gst_element_provides_clock), (gst_element_is_indexable),
4573         (gst_element_is_locked_state), (gst_element_change_state),
4574         (gst_element_set_bus_func):
4575         Small cleanups.
4576
4577         * gst/gstpipeline.c: (gst_pipeline_class_init),
4578         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4579         The pipeline provides a bus.
4580
4581 2005-09-28  Johan Dahlin  <johan@gnome.org>
4582
4583         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4584         gst_structure_get_enum instead of gst_structure_get_int
4585
4586         * gst/gststructure.c (gst_structure_get_enum): Impl.
4587
4588         * gst/gststructure.h (gst_structure_get_enum): Add
4589
4590         * docs/gst/gstreamer-sections.txt: Ditto
4591
4592         * gst/gstmessage.c (gst_message_new_state_changed): Use
4593         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4594         which does introspection.
4595         Reviewed by Christian Schaller
4596
4597 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4598
4599         * gst/gstinfo.c: (gst_debug_log_default):
4600           don't do dummy g_strdup()s
4601         * libs/gst/controller/gstcontroller.c:
4602         (on_object_controlled_property_changed),
4603         (gst_controlled_property_new), (gst_controller_new_valist),
4604         (gst_controller_new_list),
4605         (gst_controller_remove_properties_valist), (gst_controller_set),
4606         (gst_controller_get), (gst_controller_sync_values),
4607         (gst_controller_get_value_array), (_gst_controller_class_init),
4608         (gst_controller_get_type):
4609         * libs/gst/controller/gstcontroller.h:
4610         * libs/gst/controller/gstinterpolation.c:
4611         (gst_controlled_property_find_timed_value_node):
4612           convert // to /**/ comments
4613
4614 2005-09-28  Wim Taymans  <wim@fluendo.com>
4615
4616         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4617         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4618         (gst_bus_sync_signal_handler):
4619         * gst/gstbus.h:
4620         Added async-message and sync-message signals to the bus.
4621         Added helper BusFunc to emit signals for all posted messages.
4622
4623         * gst/gstmessage.c: (gst_message_type_get_name),
4624         (gst_message_type_to_quark), (gst_message_get_type):
4625         * gst/gstmessage.h:
4626         Register quarks for message names.
4627
4628 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4629
4630         * docs/libs/gstreamer-libs-sections.txt:
4631         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4632         (gst_controller_new_list):
4633         * libs/gst/controller/gstcontroller.h:
4634           added another constructor for language bindings
4635
4636 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4637
4638         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4639           add another check
4640         * gst/gstbus.c:
4641           add some doc
4642         * gst/gstinfo.c: (_gst_debug_init):
4643           slightly more readable color for refcount debugging
4644
4645 2005-09-28  Wim Taymans  <wim@fluendo.com>
4646
4647         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4648         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4649         (find_element), (gst_bin_sort_iterator_next),
4650         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4651         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4652         (gst_bin_change_state), (gst_bin_dispose):
4653         Small doc fixes. get_clock -> provide_clock.
4654
4655         * gst/gstelement.c: (gst_element_class_init),
4656         (gst_element_provides_clock), (gst_element_provide_clock),
4657         (gst_element_get_clock), (gst_element_commit_state),
4658         (gst_element_lost_state):
4659         * gst/gstelement.h:
4660         Make get/set_clock() symetric. Add provide_clock vmethod since
4661         that is actually what this function does.
4662
4663         * gst/gstpipeline.c: (gst_pipeline_class_init),
4664         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4665         (gst_pipeline_get_clock):
4666         get_clock -> provide_clock.
4667
4668 2005-09-28  Andy Wingo  <wingo@pobox.com>
4669
4670         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4671         lieu of real docs...
4672
4673         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4674
4675 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4676
4677         * gst/elements/gstcapsfilter.c:
4678         * gst/elements/gstfakesink.c:
4679         * gst/elements/gstfakesrc.c:
4680         * gst/elements/gstfdsink.c:
4681         * gst/elements/gstfdsrc.c:
4682         * gst/elements/gstfilesink.c:
4683         * gst/elements/gstfilesrc.c:
4684         * gst/elements/gstidentity.c:
4685         * gst/elements/gsttee.c:
4686         * gst/elements/gsttypefindelement.c:
4687           Make element details static.
4688
4689 2005-09-28  Wim Taymans  <wim@fluendo.com>
4690
4691         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4692         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4693         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4694         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4695         (gst_bin_change_state), (gst_bin_dispose):
4696         Some documentation updates.
4697         Clean up dispose handlers.
4698
4699         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4700         * gst/gstpad.c: (gst_pad_dispose):
4701         Clean up dispose handler.
4702
4703         * gst/gstpipeline.c: (gst_pipeline_change_state):
4704         Removed spurious UNLOCK.
4705
4706 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4707
4708         * docs/gst/gstreamer-sections.txt:
4709         * gst/base/gstbasesrc.h:
4710         * gst/gstelement.h:
4711         * gst/gstevent.h:
4712         * gst/gstobject.h:
4713         * gst/gstpad.h:
4714         * gst/gstpipeline.c:
4715         * gst/gstpipeline.h:
4716         * gst/gstutils.h:
4717         * gst/gstxml.h:
4718           added two new functions to the docs
4719                 documents all undocumented GstXXXFlags
4720                 completed some incomplete docs 
4721
4722 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4723
4724         * gst/gstbin.c: (gst_bin_dispose):
4725         * gst/gstelement.c: (gst_element_dispose):
4726           remove now useless and leaky resurrection code in dispose
4727         * gst/base/gstbasesrc.c: (gst_base_src_init):
4728         * gst/gstelementfactory.c: (gst_element_factory_create):
4729         * gst/gstobject.c: (gst_object_set_parent):
4730           add some debugging
4731
4732 2005-09-27  Wim Taymans  <wim@fluendo.com>
4733
4734         * docs/design/part-TODO.txt:
4735         Update TODO.
4736
4737         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4738         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4739         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4740         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4741         (gst_bin_change_state):
4742         * gst/gstelement.h:
4743         Remove element variable, we keep element info in the iterator now.
4744
4745 2005-09-27  Andy Wingo  <wingo@pobox.com>
4746
4747         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4748         values.
4749
4750 2005-09-27  Wim Taymans  <wim@fluendo.com>
4751
4752         * check/gst/gstbin.c: (GST_START_TEST):
4753         Enable check that works now.
4754
4755         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4756         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4757         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4758         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4759         (gst_bin_change_state):
4760         * gst/gstbin.h:
4761         Redid the state change algorithm using a topological sort algo.
4762         Handles all cases correctly.
4763         Exposed iterator for state change order.
4764
4765         * gst/gstelement.h:
4766         Temp storage for state changes. Need to get rid of this soon.
4767
4768 2005-09-27  Wim Taymans  <wim@fluendo.com>
4769
4770         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4771         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4772         (link_fold_func), (gst_pad_proxy_setcaps):
4773         Leak fixes, the fold functions need to unref the passed object and
4774         _get_parent_*() returns ref to parent.
4775
4776 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4777
4778         * check/gst/gstbuffer.c: (test_make_writable):
4779           Plug leak in test case and fix 'make check-valgrind'
4780
4781 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4782
4783         * gst/gstbuffer.c: (gst_subbuffer_init):
4784           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4785           works correctly in all circumstances (we could have just copied
4786           the parent buffer's readonly flag, but conceptually it seems
4787           cleaner to mark all subbuffers as read-only). (based on patch
4788           by Alessandro Decina, #314710).
4789         
4790         * check/gst/gstbuffer.c: (create_read_only_buffer),
4791         (test_make_writable), (test_subbuffer_make_writable),
4792         (gst_test_suite):
4793           Add some tests for gst_buffer_make_writable().
4794
4795 2005-09-27  Wim Taymans  <wim@fluendo.com>
4796
4797         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4798         use gst_object_has_ancestor().
4799
4800         * gst/gstobject.c: (gst_object_has_ancestor):
4801         * gst/gstobject.h:
4802         gst_object_has_ancestor() copied from gstbin.c as it is a
4803         usefull function.
4804
4805         * tests/instantiate/create.c: (create_all_elements):
4806         * tests/lat.c: (handoff_src), (handoff_sink):
4807         * tests/sched/runxml.c: (main):
4808         * tests/seeking/seeking1.c: (main):
4809         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4810         (main):
4811         Fix compilation of some tests.
4812
4813 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4814
4815         * gst/gsterror.h:
4816           Remove comment. GST_TYPE_G_ERROR is here to stay,
4817           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4818           (#316961, #300610).
4819
4820 2005-09-26  Wim Taymans  <wim@fluendo.com>
4821
4822         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4823         Added check that shows error in state change order.
4824
4825 2005-09-26  Wim Taymans  <wim@fluendo.com>
4826
4827         * gst/gstbin.c: (gst_bin_change_state):
4828         Make state change function use 3 queues again, we were
4829         adding elements in the wrong order.
4830
4831         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4832         Some debug info,
4833
4834         * gst/gstpad.c: (gst_pad_dispose):
4835         Added some debug info first.
4836
4837 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4838
4839         * docs/design/draft-push-pull.txt:
4840         * docs/design/part-events.txt:
4841         * docs/design/part-overview.txt:
4842         * docs/design/part-scheduling.txt:
4843           Replace all _pull_region() with _pull_range()
4844           
4845 2005-09-26  Andy Wingo  <wingo@pobox.com>
4846
4847         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4848
4849         * check/gst-libs/controller.c: Update for controller api change.
4850
4851         * configure.ac: 
4852         * tests/Makefile.am:
4853         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4854         over by GLib bug 118439.
4855         
4856         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4857         routines to a function.
4858
4859         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4860
4861         * libs/gst/controller/gsthelper.c:
4862         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4863         (gst_object_sync_values): Renamed from sink_values. Ugh.
4864
4865         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4866
4867         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4868         Renamed from controller_key, as it is exported.
4869
4870         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4871
4872 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4873
4874         * gst/Makefile.am:
4875         * gst/gst.h:
4876         * gst/gstpad.h:
4877         * gst/gstpadtemplate.h:
4878         * gst/gstquery.c:
4879         * gst/gstquery.h:
4880         * gst/gstqueryutils.c:
4881         * gst/gstqueryutils.h:
4882           remove queryutils headers after moving the two used functions
4883           to gstquery.  also fixes build problem for gstsiddec
4884
4885 2005-09-26  Michael Smith <msmith@fluendo.com>
4886
4887         * tools/gst-launch.1.in:
4888         Correct documentation in manpage of debug syntax
4889
4890 2005-09-26  Wim Taymans  <wim@fluendo.com>
4891
4892         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4893         (gst_base_src_is_seekable), (gst_base_src_change_state):
4894         Some more debugging info.
4895
4896 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4897
4898         * docs/gst/gstreamer-sections.txt:
4899         * gst/base/gstbasetransform.h:
4900         * gst/gstindex.h:
4901           added more docs
4902
4903 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4904
4905         * docs/gst/.cvsignore:
4906         * docs/gst/tmpl/.cvsignore:
4907         * docs/gst/tmpl/gstpipeline.sgml:
4908         * docs/gst/tmpl/gstplugin.sgml:
4909         * gst/gstpipeline.c:
4910         * gst/gstplugin.c:
4911         * gst/gstplugin.h:
4912           inlined the last two docs files
4913           removed the tmpl directory from cvs (no more conflicts here!)
4914
4915 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4916
4917         * docs/gst/gstreamer-sections.txt:
4918         * docs/gst/tmpl/.cvsignore:
4919         * docs/gst/tmpl/gstpad.sgml:
4920         * docs/gst/tmpl/gstpadtemplate.sgml:
4921         * gst/Makefile.am:
4922         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4923         (gst_pad_finalize), (gst_pad_set_pad_template):
4924         * gst/gstpad.h:
4925         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4926         (gst_pad_template_class_init), (gst_pad_template_init),
4927         (gst_pad_template_dispose), (name_is_valid),
4928         (gst_static_pad_template_get), (gst_pad_template_new),
4929         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4930         (gst_pad_template_pad_created):
4931         * gst/gstpadtemplate.h:
4932           inlined two more docs
4933           factored gstpadtemplate out of gstpad
4934
4935 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4936
4937         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4938         (test_children_state_change_order_semi_sink):
4939           Fix test case: we can't rely on a fixed state change order when
4940           going from READY => PAUSED because the sink might commit its 
4941           new state first when the first buffer created by the source 
4942           reaches the sink before the source has finished its change state.
4943           (Test case still fails at times, see #316856, comment 5 onwards)
4944
4945 2005-09-24  Wim Taymans  <wim@fluendo.com>
4946
4947         * docs/design/part-events.txt:
4948         * docs/design/part-gstbus.txt:
4949         * docs/design/part-gstpipeline.txt:
4950         * docs/design/part-messages.txt:
4951         * docs/design/part-overview.txt:
4952         * docs/design/part-segments.txt:
4953         * gst/gstbin.c:
4954         * gst/gstbuffer.c:
4955         * gst/gstclock.c:
4956         * gst/gstelement.c:
4957         * gst/gstevent.c:
4958         * gst/gstfilter.c:
4959         * gst/gstiterator.c:
4960         Various documentation updates.
4961
4962 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4963
4964         * gst/gstclock.h:
4965           Well, that's embarassing.  Luckily we weren't using
4966           GST_CLOCK_DIFF anywhere.
4967
4968 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4969
4970         * common/gtk-doc.mak:
4971           don't fail on building XML, FC4 slave shows a bunch of doc
4972           missing bits that I don't get
4973         * gst/gstpad.c:
4974         * gst/gstpipeline.c:
4975         * gst/gststructure.c:
4976           some doc updates
4977
4978 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4979
4980         * docs/design/part-gstbin.txt:
4981         * docs/design/part-gstbus.txt:
4982         * gst/gstbus.c:
4983           Add blurb about how the bus goes into flushing mode and
4984           drops all messages when its bin goes from READY into NULL 
4985           state.
4986
4987 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4988
4989         * docs/gst/gstreamer-sections.txt:
4990         * gst/gststructure.c: (gst_structure_get_clock_time):
4991         * gst/gststructure.h:
4992           add a method to get a GstClockTime out of a structure
4993
4994 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4995
4996         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4997         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4998           Added test to check state change order in bins (can still be made
4999           to fail here under heavy disk load; bails out with 'Push on pad
5000           fakesink:sink0, but it was not activated in push mode').
5001
5002         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5003           Fix state change order when there is only a semi sink (#316856)
5004
5005         * gst/gstbus.c: (gst_bus_class_init):
5006           Use _class_peek_parent(), not _class_ref(); fix docs to say
5007           'default main context' instead of 'mainloop' where that is
5008           what's meant.
5009
5010         * gst/gstelement.c: (gst_element_commit_state),
5011         (gst_element_set_state):
5012           Fix typos in debug messages
5013
5014 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5015
5016         * docs/README:
5017         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5018         * gst/gstpluginfeature.c:
5019         * gst/gstutils.c:
5020           various doc updates
5021         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5022           change an assert into an error until it gets fixed properly
5023
5024 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5025
5026         * docs/gst/gstreamer-sections.txt:
5027         * docs/gst/tmpl/.cvsignore:
5028         * docs/gst/tmpl/gstelement.sgml:
5029         * docs/gst/tmpl/gstinfo.sgml:
5030         * docs/gst/tmpl/gstobject.sgml:
5031         * gst/gstelement.c:
5032         * gst/gstelement.h:
5033         * gst/gstinfo.c:
5034         * gst/gstinfo.h:
5035         * gst/gstobject.c: (gst_object_class_init):
5036         * gst/gstobject.h:
5037           inlined 3 more biiiig doc files and added some missing docs on the fly
5038
5039 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5040
5041         * check/gst/.cvsignore:
5042         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5043         * gst/gstregistryxml.c: (load_plugin),
5044         (gst_registry_xml_save_plugin):
5045           put back source in registry.  add checks for find_plugin.
5046         * testsuite/states/bin.c: (assert_state), (empty_bin),
5047         (test_adding_one_element), (main):
5048         * testsuite/states/locked.c: (main):
5049           some compile/run fixes
5050
5051 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5052
5053         * check/gst/gstvalue.c: (GST_START_TEST):
5054           fix leaks in the test itself
5055
5056 2005-09-22  Wim Taymans  <wim@fluendo.com>
5057
5058         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5059         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5060         (gst_base_sink_query):
5061         Prepare for more accurate position reporting and query
5062         handling.
5063
5064         * gst/gstelement.c: (gst_element_send_event),
5065         (gst_element_set_state):
5066         Add some comment.
5067
5068 2005-09-22  Wim Taymans  <wim@fluendo.com>
5069
5070         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5071         (gst_query_parse_segment):
5072         * gst/gstquery.h:
5073         More documentation.
5074         Add segment query for future use.
5075
5076 2005-09-22  Wim Taymans  <wim@fluendo.com>
5077
5078         * gst/gstbin.c: (gst_bin_add_func):
5079         Some more debug info.
5080
5081         * gst/gstelement.c: (gst_element_send_event):
5082         Simplify send_event
5083
5084         * gst/gstelement.h:
5085         Don't know how flags got broken.
5086
5087         * gst/gstquery.h:
5088         Added new query.
5089
5090 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5091
5092         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5093           Add simplistic test suite for GST_TYPE_DATE serialisation and
5094           deserialisation.
5095
5096 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5097
5098         * docs/gst/gstreamer-sections.txt:
5099         * gst/gststructure.c: (gst_structure_set_valist),
5100         (gst_structure_get_date):
5101         * gst/gststructure.h:
5102         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5103         (gst_date_copy), (gst_value_compare_date),
5104         (gst_value_serialize_date), (gst_value_deserialize_date),
5105         (gst_value_transform_date_string),
5106         (gst_value_transform_string_date), (_gst_value_initialize):
5107         * gst/gstvalue.h:
5108           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5109           bunch of utility functions along with a hack that checks that
5110           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5111           is required. Part of the grand scheme in #170777.
5112
5113 2005-09-22  Andy Wingo  <wingo@pobox.com>
5114
5115         * gst/gstconfig.h.in: Psych out gtk-doc.
5116
5117         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5118
5119         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5120
5121         * tools/gst-inspect.c (print_element_list): Plug some
5122         inconsequential leaks.
5123
5124         * gst/gstregistry.c (gst_registry_get_default): Doc.
5125
5126         * check/gst/gstplugin.c: 
5127         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5128         * gst/gstelementfactory.c (gst_element_factory_create): 
5129         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5130         refcount changes.
5131
5132         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5133         (gst_plugin_feature_load): Doc, don't eat refs.
5134
5135         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5136         (gst_plugin_list_free): Doc.
5137         (gst_plugin_load_file): Doc updates.
5138
5139         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5140         accessors returning refcounted objects, return a ref.
5141
5142         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5143         accessor for caps. IDEMPOTENCE. Oh yes.
5144
5145 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5146
5147         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5148
5149         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5150         (_gst_debug_register_funcptr):
5151           Add mutex to serialise access to the hash table with
5152           the function pointer => function name string mapping;
5153           make that hash table static scope (#316809).
5154
5155         * gst/registries/.cvsignore:
5156           Remove left-over file.
5157
5158 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5159
5160         * docs/pwg/appendix-porting.xml:
5161           And something about newsegment events and caps-on-buffers to
5162           the porting guide (feel free to improve).
5163
5164 2005-09-21  Andy Wingo  <wingo@pobox.com>
5165
5166         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5167         data and event probes on the same pad.
5168         (test_buffer_probe_once): Test that removing probes from within
5169         the probe functions works.
5170
5171 2005-09-21  Andy Wingo  <wingo@pobox.com>
5172
5173         * check/gst/gstutils.c: New file.
5174         (test_buffer_probe_n_times): A simple buffer probe test. More to
5175         come, foolios.
5176
5177         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5178         have-data::buffer, not have-data.
5179         (gst_pad_add_event_probe): Likewise for have-data::event.
5180         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5181         peer' isn't quite right yet though.
5182         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5183         (gst_pad_remove_data_probe): Change to take the guint handler_id
5184         as their arg, not the function+data, which is more glib-like.
5185
5186         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5187         the signal emission to indicate if the data is a buffer or an
5188         event.
5189         (gst_pad_get_type): Initialize buffer and event quarks.
5190         (gst_pad_class_init): have-data is now a detailed signal, yes it
5191         is.
5192
5193 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5194
5195         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5196         * gst/gstutils.c: (gst_util_set_value_from_string),
5197         (gst_util_set_object_arg):
5198           Don't put functional code in g_return_if_fail() or
5199           g_return_val_if_fail() statements, otherwise things will 
5200           break when G_DISABLE_CHECKS is defined during compilation.
5201
5202 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5203
5204         * docs/gst/tmpl/.cvsignore:
5205         * docs/gst/tmpl/gstvalue.sgml:
5206         * gst/gstvalue.c:
5207         * gst/gstvalue.h:
5208           inlied another one and added  some obvious docs
5209
5210 2005-09-21  Wim Taymans  <wim@fluendo.com>
5211
5212         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5213         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5214         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5215         (gst_fdsrc_get_property), (gst_fdsrc_create):
5216         * gst/elements/gstfdsrc.h:
5217         Properly implement fdsrc. Removed signal and timeout,
5218         better implemented somewhere else.
5219
5220 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5221
5222         * docs/gst/tmpl/.cvsignore:
5223         * docs/gst/tmpl/gstimplementsinterface.sgml:
5224         * gst/gstinterface.c:
5225           inlined more docs
5226
5227 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5228
5229         * docs/gst/gstreamer-sections.txt:
5230         * docs/gst/tmpl/.cvsignore:
5231         * docs/gst/tmpl/gstenumtypes.sgml:
5232           remove obsolete doc file
5233
5234 2005-09-21  David Schleef  <ds@schleef.org>
5235
5236         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5237         little beer, fix a little leak.
5238
5239 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5240
5241         * docs/gst/gstreamer-docs.sgml:
5242         * docs/gst/gstreamer-sections.txt:
5243         * docs/gst/tmpl/.cvsignore:
5244         * gst/Makefile.am:
5245         * gst/gst.h:
5246         * gst/gstbin.c:
5247         * gst/gstelement.h:
5248         * gst/gstindex.c: (gst_index_class_init):
5249         * gst/gstindex.h:
5250         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5251         (gst_index_factory_class_init), (gst_index_factory_init),
5252         (gst_index_factory_finalize), (gst_index_factory_new),
5253         (gst_index_factory_destroy), (gst_index_factory_find),
5254         (gst_index_factory_create), (gst_index_factory_make):
5255         * gst/gstindexfactory.h:
5256         * gst/gstpluginfeature.c:
5257         * gst/gstpluginfeature.h:
5258         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5259           more docs inlined, splitted gstindex.{c,h}
5260
5261 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5262
5263         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5264           fix a leak
5265
5266 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5267
5268         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5269           Set sync to FALSE by default.
5270
5271 2005-09-20  Wim Taymans  <wim@fluendo.com>
5272
5273         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5274         (gst_base_sink_init):
5275         Make sync property settable from subclass.
5276
5277         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5278         (gst_fake_sink_change_state):
5279         Set sync to FALSE by default.
5280
5281 2005-09-20  Wim Taymans  <wim@fluendo.com>
5282
5283         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5284         * tools/gst-launch.c: (main):
5285         The timeout handler should have lower priority than the source
5286         so we don't timeout before popping a message with 0 timeout.
5287         Dump error messages after failed state change.
5288
5289 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5290
5291         * tools/gst-inspect.c: (print_element_properties_info):
5292           Fix two typos.
5293
5294 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5295
5296         * check/gst/gstevent.c:
5297         * gst/elements/gstfakesink.c:
5298         * gst/elements/gstfakesink.h:
5299           remove the sync property from fakesink.
5300           has the side effect of setting sync TRUE
5301           for fakesink, which is a change.  Anyone who knows how
5302           to fix this nicely in a GObject-y way, feel free.
5303
5304 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5305
5306         * docs/gst/gstreamer-docs.sgml:
5307           remove probe refsection
5308
5309 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5310
5311         * check/Makefile.am:
5312           disable valgrinding the controller test again
5313         * docs/gst/gstreamer-sections.txt:
5314           update for api-changes
5315
5316 2005-09-20  Wim Taymans  <wim@fluendo.com>
5317
5318         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5319         (gst_base_sink_set_property), (gst_base_sink_get_property),
5320         (gst_base_sink_do_sync):
5321         * gst/base/gstbasesink.h:
5322         Added sync property to basesink to disable clock sync.
5323
5324 2005-09-20  Andy Wingo  <wingo@pobox.com>
5325
5326         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5327         eating the caller's refcount.
5328
5329         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5330         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5331         refcount.
5332
5333         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5334         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5335         of GLib 2.8 public, so we can know which refcount to check in
5336         tests.
5337
5338         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5339         (gst_object_init): Only set the gst refcount if we're going ahead
5340         with the refcount hack.
5341
5342 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5343
5344         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5345         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5346           more leaks plumbed, added more debug-logging
5347         * gst/gstmacros.h:
5348           whitespace fix
5349
5350 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5351
5352         * gst/gstmessage.c:
5353           remove include of gstmemchunk.h
5354
5355 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5356
5357         * gst/gstclock.c: (_gst_clock_id_free):
5358           Commit from the Political Party For More Atomic CVS Commits,
5359           so that people don't waste too much of their day fishing
5360           out obvious leaks out of massive commits.
5361           Oh, and fix a pretty damn obvious leak in the memchunk
5362           removal code.
5363
5364 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5365
5366         * check/Makefile.am:
5367         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5368           plug mem-leak, re-add to valgrindable tests
5369
5370 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5371
5372         * gst/gstplugin.h:
5373           unbreak the build for those who have chronic arthritis
5374           and typing "make check" is just too taxing on the hands
5375
5376 2005-09-20  Andy Wingo  <wingo@pobox.com>
5377
5378         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5379         really want it out, you should fix plugins at the same time.
5380
5381 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5382
5383         * configure.ac:
5384         * docs/gst/gstreamer-sections.txt:
5385         * gst/gstobject.c:
5386           added missing symbols to api docs
5387           disable ref-count hack if we have glib >= 2.8
5388
5389 2005-09-19  David Schleef  <ds@schleef.org>
5390
5391         * docs/gst/Makefile.am: Ignore a few more internal headers
5392         * docs/gst/gstreamer-docs.sgml: Remove old sections
5393         * docs/gst/gstreamer-sections.txt: Remove old sections
5394         * docs/gst/tmpl/gstobject.sgml: update
5395         * docs/gst/tmpl/gstplugin.sgml: update
5396         * docs/gst/tmpl/gstpluginfeature.sgml: update
5397         * docs/random/ds/0.9-suggested-changes: update.
5398         * gst/Makefile.am: remove memchunk and trashstack, since they're
5399           not used.
5400         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5401         * gst/gst.h: don't include some headers
5402         * gst/gstchildproxy.c: add gstmarshal.h
5403         * gst/gstclock.c: Don't use memchunks
5404         * gst/gstminiobject.c: Add some docs
5405         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5406         * gst/gstobject.h: same
5407         * gst/gstplugin.c: include gstmacros.h
5408         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5409         * gst/gstquery.c: don't use memchunks
5410         * gst/gstregistry.c: rename gst_registry_deinit()
5411         * gst/gstregistry.h: same
5412
5413 2005-09-19  David Schleef  <ds@schleef.org>
5414
5415         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5416         * docs/libs/gstreamer-libs-sections.txt:
5417         * docs/libs/tmpl/gstgetbits.sgml:
5418         * docs/libs/tmpl/gstputbits.sgml:
5419
5420 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5421
5422         * win32/gstenumtypes.c:
5423         * win32/gstenumtypes.h:
5424           Update.
5425
5426 2005-09-19  Wim Taymans  <wim@fluendo.com>
5427
5428         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5429         Automatically PAUSE and RESUME a pipeline when a flushing seek
5430         is performed.
5431
5432 2005-09-19  Andy Wingo  <wingo@pobox.com>
5433
5434         * gst/gstregistry.h: Spacing fixen.
5435
5436 2005-09-19  Wim Taymans  <wim@fluendo.com>
5437
5438         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5439         Handle state change failure more correctly.
5440
5441 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5442
5443         * check/Makefile.am:
5444         * check/pipelines/cleanup.c: (run_pipeline):
5445         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5446         (GST_START_TEST):
5447           enable cleanup again after fixing the leak
5448         * docs/README:
5449           some more info on docs
5450
5451 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5452
5453         * check/Makefile.am:
5454           re-enable tests now that leaks are plugged
5455         * check/gst/gst.c:
5456         * check/gst/gstbin.c:
5457         * check/gst/gstpipeline.c:
5458           add some more tests while fixing leaks
5459         * common/check.mak:
5460           make sure binaries are uptodate when valgrinding/gdbing
5461         * gst/gst.c:
5462         * gst/gstelementfactory.c:
5463           remove a ref too many, and add a FIXME for when we get
5464           round to disposing of classes
5465         * gst/gstplugin.c:
5466           fix the refcounting when loading a plugin from a file and
5467           the code pretends that the pointer is the same even though
5468           of course it can change
5469         * gst/gstpluginfeature.c:
5470           unref plugins marked cached (a bit confusing as a name)
5471           as the docs state should be done
5472           various doc additions to explain refcounting
5473         * gst/gstregistry.c:
5474         * gst/gstregistryxml.c:
5475           debugging
5476
5477 2005-09-19  Wim Taymans  <wim@fluendo.com>
5478
5479         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5480         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5481         (send_messages), (GST_START_TEST), (gstbus_suite):
5482         * check/gst/gstpipeline.c: (GST_START_TEST):
5483         * check/pipelines/cleanup.c: (run_pipeline):
5484         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5485         (GST_START_TEST):
5486         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5487         (gst_bus_source_check), (gst_bus_source_dispatch),
5488         (gst_bus_create_watch), (gst_bus_add_watch_full),
5489         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5490         * gst/gstbus.h:
5491         * tools/gst-launch.c: (event_loop):
5492         * tools/gst-md5sum.c: (event_loop):
5493         GstBusHandler -> GstBusFunc, return value has the same meaning as
5494         any other GSource (FALSE == remove source).
5495         _add_watch() and _add_watch_full() now take a MessageType mask to
5496         only handle specific types of messages.
5497         _poll() returns the GstMessage instead of the message type to avoid
5498         race conditions.
5499         _have_pending() takes a MessageType mask now too.
5500         Added testsuite for multiple bus watches.
5501         Fix testsuites and applications for new bus API.
5502
5503 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5504
5505         * check/Makefile.am:
5506           mark a bunch of the tests as to fix until we fix them
5507
5508 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5509
5510         * common/check.mak:
5511           use GST_PLUGIN settings for valgrind tests as well, so we're
5512           valgrinding the correct thing
5513         * gst/gst.c: (init_post):
5514           plug another leak
5515
5516 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5517
5518         * gst/gst.c: (init_post), (gst_deinit):
5519         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5520         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5521         * gst/gstindex.c: (gst_index_factory_class_init),
5522         (gst_index_factory_finalize):
5523         * gst/gstobject.c: (gst_object_dispose):
5524         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5525         (gst_plugin_load_file), (gst_plugin_desc_free):
5526         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5527         (gst_plugin_feature_finalize):
5528         * gst/gstregistry.c: (gst_registry_class_init),
5529         (gst_registry_init), (gst_registry_finalize),
5530         (gst_registry_get_default), (gst_registry_deinit):
5531         * gst/gstregistry.h:
5532         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5533           various cleanups and memleak plugging.  make valgrind is happy now.
5534
5535 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5536
5537         * common/check.mak:
5538           add a check-valgrind target
5539
5540 2005-09-18  David Schleef  <ds@schleef.org>
5541
5542         * tools/gst-inspect.c: Revert the GOption code.
5543
5544 2005-09-17  David Schleef  <ds@schleef.org>
5545
5546         * check/Makefile.am: Fix environment variables.
5547         * check/gst/gstplugin.c: Fix for API changes.
5548         * tools/gst-inspect.c: Fix for API changes.
5549         * tools/gst-xmlinspect.c: Fix for API changes.
5550         * gst/gstelementfactory.c:
5551         * gst/gstplugin.c:
5552         * gst/gstplugin.h:
5553         * gst/gstpluginfeature.c:
5554         * gst/gstpluginfeature.h:
5555         * gst/gstregistry.c:
5556         * gst/gstregistry.h:
5557         * gst/gstregistryxml.c:
5558         * gst/gsttypefind.c:
5559         * gst/gsttypefindfactory.c:
5560         * gst/indexers/gstfileindex.c:
5561         * gst/indexers/gstmemindex.c:
5562         * gst/schedulers/Makefile.am:
5563           Change registry to keep track of both plugins and features,
5564           removing the feature tracking from plugins themselves.
5565
5566 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5567
5568         * check/Makefile.am:
5569         * tools/gst-register.1.in:
5570           remove gst-register
5571
5572 2005-09-15  David Schleef  <ds@schleef.org>
5573
5574         * check/gst/gstplugin.c:
5575         * gst/gstelementfactory.c:
5576         * gst/gstplugin.c:
5577         * gst/gstpluginfeature.c:
5578         * gst/gstregistry.c:
5579           Getting tired of debugging.  Disabled all the unreffing of
5580           plugins and features, which fixes the segfaults, but of
5581           course leaks like crazy.  At least playbin works.
5582
5583 2005-09-15  David Schleef  <ds@schleef.org>
5584
5585         * check/gst/gstplugin.c: (register_check_elements),
5586         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5587         More testing
5588         * gst/elements/gsttypefindelement.c: Fix refcounting.
5589         * gst/gsttypefind.c:
5590         * gst/gsttypefindfactory.c:
5591         * gst/gsttypefindfactory.h:
5592
5593 2005-09-15  David Schleef  <ds@schleef.org>
5594
5595         * gst/gstindex.c: get refcounting correct.
5596         * gst/gstregistry.c: Handle the case where a feature/plugin is
5597           not found.
5598
5599 2005-09-15  David Schleef  <ds@schleef.org>
5600
5601         * check/Makefile.am:
5602         * check/gst/gstplugin.c: Add test
5603         * gst/gstplugin.c: Fix problems noticed by testsuite
5604         * gst/gstplugin.h:
5605         * gst/gstregistry.c: 
5606         * gst/gstregistry.h:
5607
5608 2005-09-15  David Schleef  <ds@schleef.org>
5609
5610         * gst/gstplugin.c: Implement semi-decent recounting and locking
5611           in plugins and plugin features.
5612         * gst/gstplugin.h:
5613         * gst/gstpluginfeature.c:
5614         * gst/gstpluginfeature.h:
5615         * gst/gstregistry.c:
5616
5617 2005-09-15  Michael Smith <msmith@fluendo.com>
5618
5619         * gst/gstregistry.c: (gst_registry_get_feature_list):
5620           Implement this. Makes oggdemux work; decodebin still broken.
5621
5622 2005-09-14  David Schleef  <ds@schleef.org>
5623
5624         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5625           #316076)
5626         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5627         * gst/check/Makefile.am:
5628         * libs/gst/controller/Makefile.am:
5629         * libs/gst/dataprotocol/Makefile.am:
5630
5631 2005-09-14  David Schleef  <ds@schleef.org>
5632
5633         * configure.ac: Remove getbits library.  Nothing uses it, and
5634           it should be in something like liboil if someone did want
5635           to use it.
5636         * libs/gst/Makefile.am:
5637         * libs/gst/getbits/Makefile.am:
5638         * libs/gst/getbits/gbtest.c:
5639         * libs/gst/getbits/getbits.c:
5640         * libs/gst/getbits/getbits.h:
5641         * libs/gst/getbits/gstgetbits_generic.c:
5642         * libs/gst/getbits/gstgetbits_i386.s:
5643         * libs/gst/getbits/gstgetbits_inl.h:
5644
5645 2005-09-14  David Schleef  <ds@schleef.org>
5646
5647         * gst/Makefile.am: Dist glib-compat.h
5648
5649 2005-09-14  David Schleef  <ds@schleef.org>
5650
5651         * configure.ac: Remove gst/registries, since it's no longer used.
5652         * gst/registries/Makefile.am:
5653         * gst/registries/gstlibxmlregistry.c:
5654         * gst/registries/gstlibxmlregistry.h:
5655         * gst/registries/gstxmlregistry.c:
5656         * gst/registries/gstxmlregistry.h:
5657         * gst/registries/registrytest.c:
5658
5659 2005-09-14  David Schleef  <ds@schleef.org>
5660
5661         * gst/glib-compat.h:
5662         * gst/gstregistryxml.c:
5663           Convergence is near.  Seriously.
5664
5665 2005-09-14  David Schleef  <ds@schleef.org>
5666
5667         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5668         * gst/glib-compat.h:
5669           Attempt #4 to appease the buildbots.
5670
5671 2005-09-14  David Schleef  <ds@schleef.org>
5672
5673         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5674           Attempt #3.
5675
5676 2005-09-14  David Schleef  <ds@schleef.org>
5677
5678         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5679         Attempt #2.
5680
5681 2005-09-14  David Schleef  <ds@schleef.org>
5682
5683         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5684           the new functions.
5685
5686 2005-09-14  David Schleef  <ds@schleef.org>
5687
5688         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5689         * gst/glib-compat.h: Add some functions that are in newer versions
5690           of glib than we care to require.
5691         * gst/gstregistryxml.c: Use them.
5692
5693 2005-09-14  David Schleef  <ds@schleef.org>
5694
5695         * po/POTFILES.in: remove gst-register.c
5696
5697 2005-09-14  David Schleef  <ds@schleef.org>
5698
5699         * docs/gst/gstreamer-docs.sgml:
5700         * docs/gst/gstreamer-sections.txt:
5701         * docs/gst/gstreamer.types:
5702         * docs/gst/tmpl/gstelement.sgml:
5703         * docs/gst/tmpl/gstplugin.sgml:
5704         * docs/gst/tmpl/gstpluginfeature.sgml:
5705           Documentation updates for registry changes.
5706
5707 2005-09-14  David Schleef  <ds@schleef.org>
5708
5709         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5710           because we don't require glib-2.8.
5711
5712 2005-09-14  David Schleef  <ds@schleef.org>
5713
5714         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5715           registries directory.
5716
5717 2005-09-14  David Schleef  <ds@schleef.org>
5718
5719         * check/Makefile.am:
5720         * check/generic/states.c:
5721         * gst/Makefile.am:
5722         * gst/gst.c:
5723         * gst/gst.h:
5724         * gst/gst_private.h:
5725         * gst/gstelementfactory.c:
5726         * gst/gstindex.c:
5727         * gst/gstinfo.c:
5728         * gst/gstplugin.c:
5729         * gst/gstplugin.h:
5730         * gst/gstpluginfeature.c:
5731         * gst/gstpluginfeature.h:
5732         * gst/gstregistry.c:
5733         * gst/gstregistry.h:
5734         * gst/gstregistrypool.c: remove
5735         * gst/gstregistrypool.h: remove
5736         * gst/gsttypefind.c:
5737         * gst/gsttypefindfactory.c:
5738         * gst/gsturi.c:
5739         * tools/Makefile.am:
5740         * tools/gst-compprep.c:
5741         * tools/gst-inspect.c:
5742         * tools/gst-register.c: remove
5743         * tools/gst-xmlinspect.c:
5744           Registry rewrite.  Changes registry from being a file created
5745           by a tool into a simple cache file created automatically by 
5746           libgstreamer.  Removed gst-register (because it's no longer
5747           needed).  Remove registry pools, because we only have one
5748           registry implementation (XML).  Fix up other subsystems as
5749           necessary.
5750
5751 2005-09-13  Michael Smith <msmith@fluendo.com>
5752
5753         * gst/gstconfig.h.in:
5754           Don't Use windows linking attributes for MinGW. Fixes #316157
5755
5756 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5757
5758         * gst/gstutils.c: (set_state_async_thread_func),
5759         (gst_element_set_state_async):
5760           Apparently people think it's better if this function doesn't
5761           try to set the state to whatever state was asked for on the first
5762           call to this function for any object.  Seriously.
5763
5764 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5765
5766         * check/gst/gstpipeline.c: (GST_START_TEST):
5767         * docs/gst/gstreamer-sections.txt:
5768         * gst/gstutils.c: (set_state_async_thread_func),
5769         (gst_element_set_state_async):
5770         * gst/gstutils.h:
5771           add a "gst_element_set_state_async" method that
5772           sets the state and starts a thread to make sure the state
5773           change completes as best as it can
5774
5775 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5776
5777         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5778           codify design+behaviour in testsuite after discussion
5779
5780 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5781
5782         * docs/gst/tmpl/gstelement.sgml:
5783         * docs/manual/appendix-quotes.xml:
5784           add a quote
5785         * gst/gstelement.c: (gst_element_set_state):
5786           add some debug
5787
5788 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5789
5790         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5791         (gst_base_transform_prepare_output_buf),
5792         (gst_base_transform_handle_buffer):
5793         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5794         (gst_capsfilter_prepare_buf):
5795           Remove the requirement for sub-classes to call the parent
5796           implementation of prepare_output_buffer with a wrapper function.
5797           
5798         * gst/gsttaglist.h:
5799         * gst/gsttagsetter.h:
5800           Fix #define wrapper
5801
5802 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5803
5804         * docs/gst/gstreamer-sections.txt:
5805           more doc cleanups
5806
5807 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5808
5809         * docs/gst/gstreamer-sections.txt:
5810         * docs/gst/tmpl/gstelement.sgml:
5811         * docs/gst/tmpl/gstplugin.sgml:
5812         * gst/gstminiobject.c:
5813         * gst/gstvalue.h:
5814           docs now stop throwing warnings
5815
5816 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5817
5818         * docs/gst/gstreamer-sections.txt:
5819         * docs/gst/gstreamer.types:
5820         * docs/gst/tmpl/gstpad.sgml:
5821         * docs/gst/tmpl/gsttypes.sgml:
5822         * gst/base/gstadapter.h:
5823         * gst/base/gstbasesink.h:
5824         * gst/base/gstbasesrc.h:
5825         * gst/gstbin.h:
5826         * gst/gstbuffer.h:
5827         * gst/gstbus.h:
5828         * gst/gstcaps.h:
5829         * gst/gstclock.h:
5830         * gst/gstelement.h:
5831         * gst/gstevent.h:
5832         * gst/gstmessage.h:
5833         * gst/gstpad.h:
5834         * gst/gststructure.c:
5835         * gst/registries/gstlibxmlregistry.h:
5836           various documentation fixes
5837
5838 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5839
5840         * docs/gst/gstreamer-sections.txt:
5841         * docs/gst/tmpl/gstvalue.sgml:
5842           rearrange gstvalue section
5843         * gst/gstutils.c: (gst_element_state_get_name):
5844           NONE -> VOID
5845         * gst/gstvalue.c: (_gst_value_initialize):
5846         * gst/gstvalue.h:
5847           doc updates
5848
5849 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5850
5851         * check/gst-libs/controller.c:
5852           Header include fix.
5853         * gst/base/gstbasetransform.c:
5854         (gst_base_transform_default_prepare_buf),
5855         (gst_base_transform_handle_buffer):
5856         * gst/base/gstbasetransform.h:
5857           Some more basetransform changes and fixes to enable sub-classes
5858           that modify buffer metadata only.
5859         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5860         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5861         (gst_capsfilter_prepare_buf):
5862           If the output pad has fixed allowed caps and input buffers 
5863           don't have any, set the fixed caps on outgoing buffers.
5864
5865 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5866         * check/elements/identity.c: (GST_START_TEST):
5867           Make the error a little clearer when the test fails because
5868           identity made a copy of the buffer.
5869         * docs/gst/gstreamer-sections.txt:
5870           New symbols in gstbasetransform.h
5871         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5872         (gst_base_transform_init), (gst_base_transform_transform_size),
5873         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5874         (gst_base_transform_default_prepare_buf),
5875         (gst_base_transform_get_unit_size),
5876         (gst_base_transform_buffer_alloc),
5877         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5878         (gst_base_transform_change_state),
5879         (gst_base_transform_set_passthrough),
5880         (gst_base_transform_set_in_place),
5881         (gst_base_transform_is_in_place):
5882         * gst/base/gstbasetransform.h:
5883           Change BaseTransform to separate in_place operate from same_caps
5884           output. in_place implies that the element can perform the transform
5885           on incoming buffers in-place, even if the caps on the output are
5886           different.
5887           Sub-class elements can now implement special buffer allocation
5888           methods for outgoing buffers if they wish to.
5889           Big documentation addition.
5890         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5891         * gst/elements/gstelements.c:
5892           Changes for basetransform modifications.
5893         * gst/elements/Makefile.am:
5894         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5895           Compile fix. Extra debug output.
5896
5897 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5898
5899         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5900         (gst_pad_suite):
5901           add tests for valid pad naming
5902         * gst/check/gstcheck.c: (gst_check_log_message_func),
5903         (gst_check_log_critical_func):
5904           add ASSERT_WARNING
5905           remove printing of code, it is fragile when the code contains
5906           % and the line number is enough info
5907         * gst/check/gstcheck.h:
5908         * gst/gstpad.c: (gst_pad_template_new):
5909           fix memleaks
5910
5911 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5912
5913         * configure.ac:
5914           say what CHECK flags we use
5915         * docs/libs/gstreamer-libs.types:
5916         * libs/gst/controller/Makefile.am:
5917         * libs/gst/controller/gst-controller.c:
5918         * libs/gst/controller/gst-controller.h:
5919         * libs/gst/controller/gst-helper.c:
5920         * libs/gst/controller/gst-interpolation.c:
5921         * libs/gst/controller/gstcontroller.c:
5922         * libs/gst/controller/gsthelper.c:
5923         * libs/gst/controller/gstinterpolation.c:
5924         * tools/gst-inspect.c: (print_plugin_info):
5925           we don't use dashes in header names
5926
5927 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5928
5929         * check/Makefile.am:
5930         * check/gst/.cvsignore:
5931         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5932         (gst_pipeline_suite), (main):
5933           adding a test for pipelines and state changes
5934         * gst/gstutils.c: (get_state_func):
5935           add some debugging
5936         * gstreamer.spec.in:
5937           fix up spec file
5938
5939 2005-09-08  Michael Smith <msmith@fluendo.com>
5940
5941         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5942         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5943         (gst_file_src_is_seekable), (gst_file_src_get_size),
5944         (gst_file_src_start):
5945         * gst/elements/gstfilesrc.h:
5946           Various fixes for unseekable, unmmapable, and non-normal files, so
5947           that fallback to read() rather than mmap() works.
5948         * gst/gstevent.c: (gst_event_new_newsegment):
5949           Allow newsegment events with segment_start == segment_end, as will
5950           correctly happen if you use filesrc on a zero-size file, for
5951           example.
5952
5953 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5954
5955         * gst/gstplugin.c: (gst_plugin_load_file):
5956           Call g_module_close when we don't load the module
5957
5958         * gst/registries/gstlibxmlregistry.c:
5959         (gst_xml_registry_get_property):
5960           Port leak fix from 0.8
5961
5962 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5963
5964         * docs/gst/gstreamer-docs.sgml:
5965         * docs/gst/tmpl/.cvsignore:
5966         * docs/gst/tmpl/gsttrace.sgml:
5967         * docs/gst/tmpl/gsttrashstack.sgml:
5968         * gst/Makefile.am:
5969         * gst/gst.h:
5970         * gst/gstelement.h:
5971         * gst/gstevent.h:
5972         * gst/gstmessage.c:
5973         * gst/gstmessage.h:
5974         * gst/gsttag.c:
5975         * gst/gsttag.h:
5976         * gst/gsttaginterface.c:
5977         * gst/gsttaginterface.h:
5978         * gst/gsttaglist.c:
5979         * gst/gsttaglist.h:
5980         * gst/gsttagsetter.c:
5981         * gst/gsttagsetter.h:
5982         * gst/gsttrace.c:
5983         * gst/gsttrace.h:
5984         * gst/gsttrashstack.c:
5985           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5986           inlined docs for gsttrace, gsttrashstack
5987
5988 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5989
5990         * gst/Makefile.am:
5991         * gst/elements/gstbufferstore.h:
5992         * gst/elements/gsttypefindelement.c:
5993         * gst/elements/gsttypefindelement.h:
5994         * gst/gst.h:
5995         * gst/gsttypefind.c:
5996         * gst/gsttypefind.h:
5997         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5998         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5999         (gst_type_find_factory_dispose),
6000         (gst_type_find_factory_unload_thyself),
6001         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6002         (gst_type_find_factory_get_caps),
6003         (gst_type_find_factory_get_extensions),
6004         (gst_type_find_factory_call_function):
6005         * gst/gsttypefindfactory.h:
6006         * gst/registries/gstlibxmlregistry.c:
6007         * gst/registries/gstxmlregistry.c:
6008           splitted gsttypefind into gsttypefind, gsttypefindfactory
6009
6010 2005-09-07  Andy Wingo  <wingo@pobox.com>
6011
6012         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6013         condition whereby the pad's task function is entered before the
6014         pad_mode variable was set.
6015
6016 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6017
6018         * gst/gstpad.c: (gst_pad_alloc_buffer):
6019           Catch misbehaving pad_alloc functions that don't
6020           set up caps and do it for them.
6021
6022 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6023
6024         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6025           test for pipe!=NULL
6026         * docs/gst/tmpl/.cvsignore:
6027         * docs/gst/tmpl/gstmemchunk.sgml:
6028         * docs/gst/tmpl/gstparse.sgml:
6029         * docs/gst/tmpl/gsttaglist.sgml:
6030         * docs/gst/tmpl/gsttagsetter.sgml:
6031         * docs/gst/tmpl/gsttypefind.sgml:
6032         * docs/gst/tmpl/gsttypefindfactory.sgml:
6033         * gst/gstmemchunk.c:
6034         * gst/gstparse.c:
6035         * gst/gsttag.c:
6036         * gst/gsttaginterface.c:
6037         * gst/gsttypefind.c:
6038         * gst/gsttypefind.h:
6039           inlined more docs
6040
6041 === release 0.9.2 ===
6042
6043 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6044
6045         * NEWS:
6046         * RELEASE:
6047         * configure.ac:
6048           releasing 0.9.2, "South"
6049
6050 2005-09-05  Andy Wingo  <wingo@pobox.com>
6051
6052         * gst/registries/gstxmlregistry.h:
6053         * gst/registries/gstxmlregistry.c: Um... resurrect...
6054         
6055         * gst/registries/gstxmlregistry.h:
6056         * gst/registries/gstxmlregistry.c: and update to newer API.
6057         Incidentally they should be a bit faster now that they don't have
6058         to parse the caps.
6059         
6060 2005-09-05  Andy Wingo  <wingo@pobox.com>
6061
6062         * gst/registries/gstxmlregistry.h:
6063         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6064         replaced by the libxml registry a while back
6065
6066 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6067
6068         * docs/gst/tmpl/gstplugin.sgml:
6069         * gst/elements/gstelements.c:
6070         * gst/gst.c:
6071         * gst/gstplugin.c: (gst_plugin_register_func),
6072         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6073         (gst_plugin_get_source):
6074         * gst/gstplugin.h:
6075         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6076         (gst_xml_registry_save_plugin):
6077         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6078         (gst_xml_registry_save_plugin):
6079         * tools/gst-inspect.c: (print_plugin_info):
6080           add a "source" plugin description field, to represent the source
6081           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6082           will set it to PACKAGE, which is automake's idea of the name of
6083           the source project.
6084
6085 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6086
6087         * Makefile.am:
6088         * autogen.sh:
6089         * configure.ac:
6090         * docs/Makefile.am:
6091         * docs/faq/Makefile.am:
6092         * docs/gst/tmpl/gstelement.sgml:
6093         * docs/gst/tmpl/gsttypes.sgml:
6094         * docs/htmlinstall.mak:
6095         * docs/manual/Makefile.am:
6096         * docs/pwg/Makefile.am:
6097           reorganize doc build a little
6098           split out docbook and gtk-doc stuff
6099           have two separate --enable's and enable them through autogen
6100           but disable by default in configure (to be similar to other
6101           projects)
6102         * gstreamer.spec.in:
6103           clean up docs install
6104         * po/af.po:
6105         * po/az.po:
6106         * po/ca.po:
6107         * po/cs.po:
6108         * po/de.po:
6109         * po/en_GB.po:
6110         * po/fr.po:
6111         * po/it.po:
6112         * po/nb.po:
6113         * po/nl.po:
6114         * po/ru.po:
6115         * po/sq.po:
6116         * po/sr.po:
6117         * po/sv.po:
6118         * po/tr.po:
6119         * po/uk.po:
6120         * po/vi.po:
6121           translation updates
6122
6123 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6124
6125         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6126           Add comment.
6127           
6128         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6129         (gst_fake_sink_change_state):
6130           Make state change function thread-safe.
6131           
6132         * gst/gstpad.c: (gst_pad_alloc_buffer):
6133           Set offset on generic buffer allocated by fallback.
6134
6135 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6136
6137         * docs/gst/gstreamer-sections.txt:
6138         * docs/gst/tmpl/gstelement.sgml:
6139         * gst/gstpad.c:
6140         * libs/gst/controller/gst-controller.c:
6141         (gst_controlled_property_set_interpolation_mode),
6142         (gst_controlled_property_new),
6143         (gst_controller_find_controlled_property):
6144          run the wingo-magic script against the docs
6145
6146 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6147
6148         * docs/gst/gstreamer-docs.sgml:
6149         * docs/gst/gstreamer-sections.txt:
6150         * docs/gst/tmpl/.cvsignore:
6151         * docs/gst/tmpl/gstelementdetails.sgml:
6152         * docs/gst/tmpl/gstelementfactory.sgml:
6153         * gst/gst.c:
6154         * gst/gstbus.c:
6155         * gst/gstelementfactory.c:
6156         * gst/gstelementfactory.h:
6157           merged elementdetails docs into elementfactory docs
6158           inlined both
6159
6160 2005-09-02  Andy Wingo  <wingo@pobox.com>
6161
6162         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6163         consider this enum an enum and not a flags.
6164
6165 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6166
6167         * docs/gst/gstreamer-docs.sgml:
6168         * docs/gst/tmpl/.cvsignore:
6169         * docs/gst/tmpl/gstghostpad.sgml:
6170         * docs/gst/tmpl/gstiterator.sgml:
6171         * docs/gst/tmpl/gstmacros.sgml:
6172         * docs/gst/tmpl/gstrealpad.sgml:
6173         * docs/gst/tmpl/gstregistry.sgml:
6174         * docs/gst/tmpl/gstregistrypool.sgml:
6175         * docs/gst/tmpl/gststructure.sgml:
6176         * docs/gst/tmpl/gstsystemclock.sgml:
6177         * docs/gst/tmpl/gsttrace.sgml:
6178         * gst/gstghostpad.c:
6179         * gst/gstmacros.h:
6180         * gst/gstmemchunk.c:
6181         * gst/gstmemchunk.h:
6182         * gst/gstqueue.c:
6183         * gst/gstregistry.c:
6184         * gst/gstregistrypool.c:
6185         * gst/gststructure.c:
6186         * gst/gstsystemclock.c:
6187           more docs inlined
6188
6189 2005-09-02  Andy Wingo  <wingo@pobox.com>
6190
6191         * gst/gstelement.h (GstState): Renamed from GstElementState,
6192         changed to be a normal enum instead of flags.
6193         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6194         munged to be GST_STATE_CHANGE_*.
6195         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6196         work with the new state representation.
6197         (GstStateChange): New enumeration of possible state transitions.
6198         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6199         (GstElementClass::change_state): Pass the GstStateChange along as
6200         an argument. Helps language bindings, so they don't have to use
6201         tricky lock-needing macros like GST_STATE_CHANGE ().
6202
6203         * scripts/update-states (file): New script. Run it on a file to
6204         update it for state naming and API changes. Updates files in
6205         place.
6206
6207         * All files updated for the new API.
6208
6209 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6210
6211         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6212         * gst/gstutils.c: (gst_util_set_value_from_string),
6213         (gst_util_set_object_arg):
6214           fix a bunch of unchecked return values
6215         * tools/gst-complete.c: (main):
6216         * gstreamer.spec.in:
6217           clean up a little
6218
6219 2005-09-01  Wim Taymans  <wim@fluendo.com>
6220
6221         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6222         (gst_base_sink_event), (gst_base_sink_do_sync),
6223         (gst_base_sink_handle_event):
6224         * gst/base/gstbasesink.h:
6225         Handle newsegments more correctly.
6226
6227         * gst/gstbus.c:
6228         Fix docs.
6229
6230         * gst/gstevent.c: (gst_event_new_newsegment):
6231         A newsegment cannot have a start_time of -1
6232
6233 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6234
6235         * win32/gstenumtypes.c:
6236         * win32/gstenumtypes.h:
6237           Update
6238
6239 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6240
6241         * libs/gst/controller/gst-controller.c:
6242         (gst_controlled_property_set_interpolation_mode),
6243         (gst_controlled_property_new):
6244          fixed boolean again
6245
6246 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6247
6248         * docs/faq/gst-uninstalled:
6249           add -good
6250         * gst/gstevent.c:
6251         * gst/gstevent.h:
6252           remove wrong docs
6253         * gst/gstutils.c: (gst_element_link_filtered):
6254         * gst/gstutils.h:
6255           add gst_element_link_filtered
6256
6257 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6258
6259         * docs/gst/gstreamer-docs.sgml:
6260         * docs/gst/gstreamer-sections.txt:
6261         * docs/gst/tmpl/.cvsignore:
6262         * docs/gst/tmpl/gsterror.sgml:
6263         * docs/gst/tmpl/gstfilter.sgml:
6264         * docs/gst/tmpl/gsturihandler.sgml:
6265         * docs/gst/tmpl/gsturitype.sgml:
6266         * docs/gst/tmpl/gstutils.sgml:
6267         * docs/gst/tmpl/gstxml.sgml:
6268         * gst/gsterror.c:
6269         * gst/gsterror.h:
6270         * gst/gstfilter.c:
6271         * gst/gsturi.c:
6272         * gst/gsturitype.c:
6273         * gst/gstutils.c:
6274         * gst/gstxml.c:
6275           inlined more docs, fixed double id-ref
6276
6277 2005-08-31  Wim Taymans  <wim@fluendo.com>
6278
6279         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6280         (gst_base_transform_handle_buffer):
6281         Passthrough elements don't need the caps as they don't care.
6282
6283 2005-08-31  Wim Taymans  <wim@fluendo.com>
6284
6285         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6286         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6287         Don't leak refcounts on buffers.
6288
6289 2005-08-31  Wim Taymans  <wim@fluendo.com>
6290
6291         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6292         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6293         (gst_base_transform_chain), (gst_base_transform_change_state):
6294         * gst/base/gstbasetransform.h:
6295         Handle the case where we are not negotiated more gracefully.
6296
6297 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6298
6299         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6300         (gst_file_src_map_region):
6301           Set READONLY flag on mmap'ed buffers, otherwise
6302           gst_buffer_make_writable() won't work properly (#314708).
6303
6304 2005-08-31  Wim Taymans  <wim@fluendo.com>
6305
6306         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6307         passthrough elements can even do inplace on non writable
6308         buffers (as they don't touch them).
6309
6310 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6311
6312         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6313         (gst_test_mono_source_set_property),
6314         (gst_test_mono_source_class_init), (GST_START_TEST),
6315         (gst_controller_suite):
6316           more tests (hehe I have the most)
6317         * gst/gstbus.c:
6318           describe popping messages whenusing mulltiple sources
6319         * libs/gst/controller/gst-controller.c:
6320         (gst_controlled_property_set_interpolation_mode),
6321         (gst_controlled_property_new):
6322         * libs/gst/controller/gst-controller.h:
6323         * libs/gst/controller/gst-interpolation.c:
6324           implement boolean properties
6325
6326 2005-08-31  Wim Taymans  <wim@fluendo.com>
6327
6328         * gst/gstminiobject.c: (gst_mini_object_ref):
6329         Cannot assert that the refcount has to be positive
6330         since a disposed object can be resurrected.
6331
6332 2005-08-31  Wim Taymans  <wim@fluendo.com>
6333
6334         * gst/gstpad.c: (gst_pad_init):
6335         Revert change, need to first fix badly behaving 
6336         apps.
6337
6338 2005-08-30  Wim Taymans  <wim@fluendo.com>
6339
6340         * check/elements/fakesrc.c: (setup_fakesrc):
6341         * check/elements/identity.c: (setup_identity):
6342         Activate pads before using them.
6343
6344 2005-08-30  Wim Taymans  <wim@fluendo.com>
6345
6346         * gst/base/gstadapter.c: (gst_adapter_flush):
6347         Flushing out 0 bytes is ok for this function.
6348
6349         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6350         no newsegment gives a warning and sets the start/stop to 
6351         invalid.
6352
6353         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6354         (gst_base_transform_set_passthrough):
6355         Some debug info.
6356
6357         * gst/gstminiobject.c: (gst_mini_object_ref):
6358         Check refcount here too.
6359
6360         * gst/gstpad.c: (gst_pad_init):
6361         Pads are initially flushing and refusing data.
6362
6363         * gst/gstutils.c: (gst_element_link_pads_filtered):
6364         When adding a capsfilter element make sure it has the
6365         same state as the parent bin.
6366
6367 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6368
6369         * docs/gst/tmpl/.cvsignore:
6370         * docs/gst/tmpl/gstformat.sgml:
6371         * docs/gst/tmpl/gstversion.sgml:
6372         * gst/gstbus.h:
6373         * gst/gstformat.c:
6374         * gst/gstformat.h:
6375         * gst/gstversion.h.in:
6376           more docs and two more inlined
6377
6378 2005-08-30  Wim Taymans  <wim@fluendo.com>
6379
6380         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6381         Don't sync to clock.
6382
6383 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6384
6385         * docs/gst/gstreamer-sections.txt:
6386           ultral33t func10ns deserve to appear in the docs actually
6387         * docs/gst/tmpl/.cvsignore:
6388         * docs/gst/tmpl/gstcompat.sgml:
6389         * docs/gst/tmpl/gstconfig.sgml:
6390         * gst/check/gstcheck.c:
6391         * gst/gstcompat.h:
6392         * gst/gstconfig.h.in:
6393           inlined more docs
6394
6395 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6396
6397         * docs/gst/tmpl/.cvsignore:
6398         * docs/gst/tmpl/gstquery.sgml:
6399         * docs/gst/tmpl/gstutils.sgml:
6400         * gst/gstquery.c:
6401         * gst/gstquery.h:
6402           inlined and extended docs
6403
6404 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6405
6406         * check/gst-libs/controller.c: (GST_START_TEST),
6407         (gst_controller_suite):
6408           more tests
6409         * docs/gst/tmpl/gstutils.sgml:
6410         * docs/libs/gstreamer-libs-sections.txt:
6411         * docs/libs/tmpl/gstdataprotocol.sgml:
6412           include path fixes
6413         * examples/controller/audio-example.c: (main):
6414           controller example works now
6415         * gst/gstclock.h:
6416           doc fixes
6417         * tools/gst-inspect.c: (print_element_properties_info):
6418           show param spec flags
6419
6420 2005-08-29  Andy Wingo  <wingo@pobox.com>
6421
6422         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6423
6424 2005-08-28  Andy Wingo  <wingo@pobox.com>
6425
6426         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6427         as having two arguments instead of just one. Allows superclasses
6428         to access information on subclasses -- see the terrible for() loop
6429         in gtype.c:g_type_create_instance for the reason why. All callers
6430         changed.
6431
6432 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6433
6434         * docs/design/part-messages.txt:
6435           update info
6436         * docs/gst/tmpl/.cvsignore:
6437         * docs/gst/tmpl/gstcaps.sgml:
6438         * docs/gst/tmpl/gstclock.sgml:
6439         * gst/gstbus.c:
6440         * gst/gstcaps.c:
6441         * gst/gstcaps.h:
6442         * gst/gstclock.c:
6443         * gst/gstclock.h:
6444         * gst/gstmessage.c:
6445           added descriptions for bus and message
6446           inline caps and clock docs
6447
6448 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6449
6450         * gst/gstmessage.c:
6451         * gst/gstmessage.h:
6452           doc fixes
6453
6454 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6455
6456         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6457           fix div-by-zero
6458
6459 2005-08-26  Andy Wingo  <wingo@pobox.com>
6460
6461         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6462         element_set_state's return val.
6463         (test_2_elements): Add test that's been disabled for months.
6464
6465         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6466         can-activate-pull properties.
6467
6468         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6469         can-activate-pull properties. Implement is_seekable so fakesrc can
6470         operate in pull mode.
6471
6472         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6473         properties.
6474         (gst_base_sink_activate, gst_base_sink_activate_pull)
6475         (gst_base_sink_activate_push): Make activation mode choosing work.
6476         Cleanups.
6477         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6478         is right. Make pull mode work. Post an eos before pausing in pull
6479         mode.
6480         (gst_base_sink_change_state): Pay attention to the core's
6481         change_state() return val.
6482         
6483         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6484         has-getrange properties. Cleanups.
6485         
6486         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6487         has_getrange and replace with can_activate_pull and
6488         can_activate_push.
6489
6490         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6491         locking comments. Remove has_loop, has_chain and replace with
6492         can_activate_pull and can_activate_push.
6493
6494 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6495
6496         * configure.ac:
6497         * examples/Makefile.am:
6498         * examples/metadata/Makefile.am:
6499         * examples/metadata/read-metadata.c: (message_loop),
6500         (have_pad_handler), (make_pipeline), (print_tag), (main):
6501           Add metadata reading example that loops over a list of filenames,
6502           dumping any tags found.
6503
6504         * gst/gstbus.c: (gst_bus_dispose):
6505         * gst/gstelement.c: (gst_element_dispose):
6506           Release a few potentially-held references in dispose.
6507
6508 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6509
6510         * docs/gst/tmpl/gstminiobject.sgml:
6511           do *not* add tmpl/*.sgml files to CVS!
6512
6513 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6514
6515         * libs/gst/bytestream/.cvsignore:
6516         * libs/gst/bytestream/Makefile.am:
6517         * libs/gst/bytestream/adapter.c:
6518         * libs/gst/bytestream/adapter.h:
6519         * libs/gst/bytestream/bytestream.c:
6520         * libs/gst/bytestream/bytestream.h:
6521         * libs/gst/bytestream/filepad.c:
6522         * libs/gst/bytestream/filepad.h:
6523           removing obsolete files
6524
6525 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6526
6527         * docs/gst/gstreamer-docs.sgml:
6528         * docs/libs/gstreamer-libs-docs.sgml:
6529           disabed additional index entries again, as this makes docs-gen just
6530           slow and they aren't useful yet
6531         * docs/libs/gstreamer-libs-sections.txt:
6532           little -section.txt cleanup for libs
6533
6534 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6535
6536         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6537         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6538           fix up some debugging
6539         (gst_base_transform_get_unit_size),
6540         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6541         (gst_base_transform_handle_buffer):
6542         * gst/base/gstbasetransform.h:
6543           handle and store timed NEWSEGMENT events so that subclasses that
6544           calculate time by counting samples have a segment_start time they
6545           need to add to their timestamps - see audioresample
6546
6547 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6548
6549         * gst/gstbin.h:
6550           removed ';' from the end of macro defs
6551         * docs/gst/gstreamer-docs.sgml:
6552         * docs/gst/gstreamer-sections.txt:
6553         * docs/gst/tmpl/.cvsignore:
6554         * gst/gstbus.h:
6555         * gst/gstelement.c: (gst_element_class_init),
6556         (gst_element_set_state), (activate_pads),
6557         (gst_element_save_thyself):
6558         * gst/gstevent.c: (gst_event_new_newsegment):
6559         * gst/gstevent.h:
6560         * gst/gstiterator.c:
6561         * gst/gstiterator.h:
6562         * gst/gstpad.c:
6563         * gst/gstprobe.h:
6564         * gst/gstutils.c: (gst_pad_query_convert):
6565         * gst/gstutils.h:
6566           fixed parameter name mismatches between source, header and docs
6567           added some more docs, resolved the last batch of unused elements in
6568           docs (now someone needs to doc them)
6569
6570 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6571
6572         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6573         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6574           don't walk through the plugins backwards.  Where is all this
6575           reversed logic coming from ?
6576
6577 2005-08-25  Wim Taymans  <wim@fluendo.com>
6578
6579         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6580         (gst_base_transform_transform_size),
6581         (gst_base_transform_configure_caps),
6582         (gst_base_transform_get_unit_size),
6583         (gst_base_transform_buffer_alloc),
6584         (gst_base_transform_change_state):
6585         * gst/base/gstbasetransform.h:
6586         Cache caps unit_size.
6587         Make sure we cannot negotiate up and downstream at the
6588         same time.
6589
6590 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6591
6592         * gst/gst.c: (init_pre), (init_post):
6593           register the installed plugin path after the env var
6594         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6595         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6596           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6597           directories, so the tests can prefer uninstalled over installed
6598
6599 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6600
6601         * gst/base/gstbasetransform.h:
6602           comment
6603         * gst/gstpad.c:
6604           add to docs
6605
6606 2005-08-25  Wim Taymans  <wim@fluendo.com>
6607
6608         * gst/gstbin.c: (bin_bus_handler):
6609         Be a bit more conservative about the posted message.
6610         
6611         * gst/gstbus.c: (gst_bus_post):
6612         Some cleanups, warn wrong return values.
6613
6614 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6615
6616         * check/gst/gstbin.c: (GST_START_TEST):
6617         * gst/gstbin.c: (bin_bus_handler):
6618         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6619         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6620         (gst_message_new_warning), (gst_message_new_tag),
6621         (gst_message_new_state_changed), (gst_message_new_segment_start),
6622         (gst_message_new_segment_done), (gst_message_new_custom):
6623         * gst/gstmessage.h:
6624         * tools/gst-launch.c: (event_loop):
6625         * tools/gst-md5sum.c: (event_loop):
6626           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6627
6628 2005-08-25  Wim Taymans  <wim@fluendo.com>
6629
6630         * check/generic/states.c: (GST_START_TEST):
6631         Cleanup can be done at the end.
6632
6633         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6634         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6635         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6636         Oh boy.. Thanks for finding this, Thomas. 
6637
6638 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6639
6640         * docs/gst/gstreamer.types:
6641           added missing types
6642
6643 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6644
6645         * docs/gst/gstreamer-docs.sgml:
6646         * docs/gst/gstreamer-sections.txt:
6647         * docs/gst/tmpl/.cvsignore:
6648         * gst/gstbin.c:
6649         * gst/gstiterator.c:
6650         * gst/gstutils.c:
6651         * gst/registries/gstxmlregistry.h:
6652           added missing classes and symbols (123 more to go)
6653           removed removed symbols from section file
6654           fixed many doc-comments
6655
6656 2005-08-24  Wim Taymans  <wim@fluendo.com>
6657
6658         * check/generic/states.c: (GST_START_TEST):
6659         Make sure all tasks are stopped.
6660
6661         * check/gst/gstbin.c: (GST_START_TEST):
6662         Unref after usage for proper valgrinding.
6663
6664         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6665         Really wait for the task to stop before destroying the
6666         mutex.
6667
6668         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6669         (gst_queue_src_activate_push):
6670         Small cleanups. Don't stop the task when we did not start
6671         it.
6672
6673         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6674         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6675         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6676         (gst_task_join):
6677         * gst/gsttask.h:
6678         Protect the stream lock with the object lock.
6679         Disallow setting the stream lock when running.
6680         Add cleanup_all to wait for the threadpool to finish.
6681         Remove code to autoallocate a mutex if none was provided.
6682         Add _join() to wait for a task to stop.
6683         Protect the thread pool with a global lock.
6684
6685 2005-08-24  Wim Taymans  <wim@fluendo.com>
6686
6687         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6688         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6689         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6690         * gst/base/gstbasesink.h:
6691         Handle newsegment events correctly.
6692         Drop buffers out of the segment range.
6693
6694 2005-08-22  Andy Wingo  <wingo@pobox.com>
6695
6696         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6697         macro, implements an interface and gstimplementsinterface for a
6698         new type.
6699
6700 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6701
6702         * check/Makefile.am:
6703         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6704           add a test that does a bunch of state changes on elements
6705           needs some fixing for valgrind
6706         * check/states/sinks.c: (gst_object_suite):
6707           whitespace
6708         * gst/gstcaps.h:
6709           add prototype for gst_caps_is_equal_fixed
6710         * gst/gstplugin.c:
6711         * gst/gstregistrypool.c:
6712           doc fixes
6713
6714 2005-08-24  Andy Wingo  <wingo@pobox.com>
6715
6716         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6717         convert a negative value. Doesn't make much sense. Mostly this is
6718         here to force callers to ensure -1 maps to -1.
6719
6720 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6721
6722         * docs/pwg/advanced-types.xml:
6723           Well done to Michael for catching my deliberate introduction
6724           of this spelling mistake. 
6725         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6726         * gst/gstelement.h:
6727           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6728           unlink pads before removing the element from the bin.
6729
6730 2005-08-24  Andy Wingo  <wingo@pobox.com>
6731
6732         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6733         the same thing as GST_DEBUG=*:4.
6734         (parse_debug_level, parse_debug_category): New helper parsers.
6735
6736 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6737
6738         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6739         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6740         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6741         (gst_base_transform_buffer_alloc),
6742         (gst_base_transform_handle_buffer):
6743           use gboolean return values and pointers to size so we can use the
6744           full GST_BUFFER_SIZE range (guint) for buffer sizes
6745           use GstPadDirection for transform_caps
6746         * gst/base/gstbasetransform.h:
6747           rename get_size to get_unit_size since that's what it is
6748         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6749           use GstPadDirection for transform_caps
6750         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6751         * gst/gstutils.h:
6752           cleanup and debugging
6753
6754 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6755
6756         * gst/gstelement.c: (gst_element_class_init),
6757         (gst_element_set_state), (activate_pads),
6758         (gst_element_save_thyself):
6759         * tools/gst-compprep.c: (main):
6760         * tools/gst-inspect.c: (print_element_properties_info):
6761         * tools/gst-xmlinspect.c: (print_element_properties):
6762           Fixed long standing mem-leak
6763
6764 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6765
6766         * check/gst/gstbin.c: (GST_START_TEST):
6767         * gst/gstbin.c: (bin_bus_handler):
6768         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6769         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6770         (gst_message_new_warning), (gst_message_new_tag),
6771         (gst_message_new_state_changed), (gst_message_new_segment_start),
6772         (gst_message_new_segment_done), (gst_message_new_custom):
6773         * gst/gstmessage.h:
6774         * tools/gst-launch.c: (event_loop):
6775         * tools/gst-md5sum.c: (event_loop):
6776           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6777           that applications can sensibly post custom messages with references
6778           to their own objects.
6779
6780 2005-08-24  Andy Wingo  <wingo@pobox.com>
6781
6782         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6783         already.
6784
6785 2005-08-24  Wim Taymans  <wim@fluendo.com>
6786
6787         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6788         (gst_base_transform_transform_caps),
6789         (gst_base_transform_transform_size),
6790         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6791         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6792         (gst_base_transform_handle_buffer):
6793         * gst/base/gstbasetransform.h:
6794         Many fixes and new features added by Thomas. Can now also do
6795         transforms with variable sizes and a custom fixate_caps function.
6796
6797 2005-08-24  Wim Taymans  <wim@fluendo.com>
6798
6799         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6800         Some debugging.
6801
6802         * gst/gstclock.h:
6803         Cast to ClockTime before formatting to time.
6804
6805         * gst/gstutils.h:
6806         Cleanups.
6807
6808 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6809
6810         * check/gst-libs/controller.c: (GST_START_TEST),
6811         (gst_controller_suite):
6812         * docs/gst/tmpl/gstcaps.sgml:
6813         * docs/gst/tmpl/gstghostpad.sgml:
6814         * docs/gst/tmpl/gstquery.sgml:
6815         * docs/gst/tmpl/gstutils.sgml:
6816         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6817         (gst_object_sink_values), (gst_object_get_value_arrays),
6818         (gst_object_get_value_array):
6819           gracefully handle helper method calls to objects that are not beeing
6820           controlled, added test case for that          
6821
6822 2005-08-23  Wim Taymans  <wim@fluendo.com>
6823
6824         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6825         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6826         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6827         (gst_event_parse_qos), (gst_event_new_seek),
6828         (gst_event_parse_seek):
6829         * gst/gstevent.h:
6830         Some more debugging output and doc cleanups.
6831
6832         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6833         Fix possible deadlock.
6834
6835 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6836
6837         * docs/gst/gstreamer-docs.sgml:
6838         * docs/gst/gstreamer-sections.txt:
6839         * docs/gst/gstreamer.types:
6840         * docs/gst/tmpl/.cvsignore:
6841         * gst/gstbin.h:
6842         * gst/gstbus.c:
6843         * gst/gstelement.c:
6844         * gst/gstevent.h:
6845           added 100 symbols from gstreamer-unused.txt to the right sections
6846           fixed more broken comments
6847           added GstBus to docs
6848
6849 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6850
6851         * docs/gst/gstreamer-sections.txt:
6852         * docs/gst/tmpl/.cvsignore:
6853         * docs/gst/tmpl/gstbin.sgml:
6854         * docs/gst/tmpl/gstbuffer.sgml:
6855         * gst/base/gstbasesrc.c:
6856         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6857         * gst/gstbuffer.c:
6858         * gst/gstbuffer.h:
6859         * tools/gst-launch.1.in:
6860           inlined more doc comments, added missing comments and fixed comments
6861           fixed typos
6862
6863 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6864
6865         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6866           some debugging
6867         * gst/gstcaps.h:
6868           whitespace fixes
6869         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6870           more debugging
6871         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6872         * gst/gststructure.h:
6873           add a fixate function for booleans; add a FIXME that these func
6874           names should probably be gst_structure_fixate_*
6875
6876 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6877
6878         * docs/gst/gstreamer-docs.sgml:
6879         * docs/gst/gstreamer-sections.txt:
6880         * gst/Makefile.am:
6881         * gst/gstbin.c: (gst_bin_get_type),
6882         (gst_bin_child_proxy_get_child_by_index),
6883         (gst_bin_child_proxy_get_children_count),
6884         (gst_bin_child_proxy_init):
6885         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6886         (gst_child_proxy_get_child_by_index),
6887         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6888         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6889         (gst_child_proxy_get), (gst_child_proxy_set_property),
6890         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6891         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6892         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6893         * gst/gstchildproxy.h:
6894         * gst/parse/grammar.y:
6895         * tools/gst-inspect.c: (print_interfaces),
6896         (print_element_properties_info), (print_element_info):
6897           ported gstchildproxy over from 0.8
6898           ported gst-inspect fixes and enhancements over from 0.8
6899
6900 2005-08-22  Wim Taymans  <wim@fluendo.com>
6901
6902         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6903         (gst_base_transform_handle_buffer):
6904         Also call the transform function if we have ANY caps.
6905
6906         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6907         Fix debug info.
6908
6909 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6910
6911         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6912           Don't pretend to handle seek events if the source is not seekable
6913
6914 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6915
6916         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6917           Remove extra parameter to debug output
6918
6919         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6920         (gst_base_src_do_seek), (gst_base_src_activate_push):
6921           Fix seek event handling.
6922
6923         * gst/gstpipeline.c: (gst_pipeline_change_state):
6924         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6925         (gst_queue_src_activate_push):
6926           Don't start the src pad task on FLUSH_STOP if the pad
6927           isn't linked.
6928           Debug changes.
6929
6930 2005-08-22  Wim Taymans  <wim@fluendo.com>
6931
6932         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6933         Added check for gst_static_caps_get() refcounting.
6934
6935 2005-08-22  Wim Taymans  <wim@fluendo.com>
6936
6937         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6938         Make _static_caps_get() refcounting sane.
6939         
6940         * gst/gstelement.c: (gst_element_set_state):
6941         Add g_return_val_if_fail() to protect against segfaults.
6942
6943 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6944
6945         * docs/gst/tmpl/gstevent.sgml:
6946         * gst/gstevent.c:
6947         * gst/gstevent.h:
6948           inlined remaining docs, added missing doc comments
6949
6950 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6951
6952         * check/gst/gstbin.c: (GST_START_TEST):
6953           since we don't know when preroll is done, use refcount range
6954           check for the sink
6955         * gst/check/gstcheck.h:
6956           add macro for checking refcount range
6957
6958 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6959
6960         * check/Makefile.am:
6961           clean up environment for when registry gets built versus
6962           when actual tests are run; valgrind seems to not report
6963           leaks if GST_PLUGIN_PATH is set to some specific values
6964         * check/gst/gstbin.c: (GST_START_TEST):
6965           add more refcounting checks; maybe this exposes a
6966           preroll lock bug ?
6967         * common/check.mak:
6968         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6969         * gst/check/gstcheck.h:
6970         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6971         (gst_bin_change_state):
6972         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6973           add/fix debugging/whitespace
6974
6975 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6976
6977         * check/gst/gstevent.c: (event_probe), (test_event),
6978         (GST_START_TEST):
6979          Er, don't call gst_bin_watch_for_state_change you idiot.
6980
6981 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6982
6983         * check/Makefile.am:
6984           Use CHECK_CFLAGS and CHECK_LIBS
6985         * check/gst/gstevent.c: (event_probe), (test_event),
6986         (GST_START_TEST):
6987           Don't leak events.
6988         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6989         (gst_base_src_start), (gst_base_src_stop),
6990         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6991         (gst_base_src_change_state):
6992           Sprinkle gst_base_src_stop liberally around error paths to fix
6993           problems reusing a source after failed state changes.
6994         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6995         (helper_find_suggest), (gst_type_find_helper):
6996           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6997         * gst/gstevent.h:
6998         * docs/gst/tmpl/gstevent.sgml:
6999           Migrate part of the docs from the SGML file. Wait for ensonic to
7000           tell me how I did it wrong ;)
7001         * tools/gst-typefind.c: (main):
7002           Extra robustness to state changes between files.
7003
7004 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7005
7006         * check/Makefile.am:
7007           don't valgrind the controller test - it's leaking - Stefan, HELP
7008         * gst/check/gstcheck.c: (gst_check_message_error),
7009         (gst_check_chain_func), (gst_check_setup_element),
7010         (gst_check_teardown_element), (gst_check_setup_src_pad),
7011         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7012         (gst_check_teardown_sink_pad):
7013         * gst/check/gstcheck.h:
7014           add a bunch of methods to set up elements, and src and sink pads
7015         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7016         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7017         (GST_START_TEST):
7018           use them
7019         * gst/gstmessage.c:
7020         * gst/gsttag.h:
7021           whitespace/doc fixes
7022
7023 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7024
7025         * gst/gstelement.h:
7026           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7027           be handled by the application and not always printed as well
7028
7029 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7030
7031         * check/Makefile.am:
7032           set GST_TOOLS_DIR
7033         * gst/check/gstcheck.c: (gst_check_message_error):
7034         * gst/check/gstcheck.h:
7035           add a fail_unless_equals_int
7036           add fail_unless for error messages
7037
7038 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7039
7040         * check/Makefile.am:
7041         * check/gst.supp:
7042         * common/Makefile.am:
7043         * common/check.mak:
7044         * common/gst.supp:
7045           factor out some of the common stuff so we can use it
7046
7047 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7048
7049         * check/Makefile.am:
7050         * check/gst/gstiterator.c: (GST_START_TEST):
7051         * check/gst/gstsystemclock.c: (GST_START_TEST),
7052         (gst_systemclock_suite):
7053         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7054         * gst/gstclock.c:
7055           valgrind more tests
7056
7057 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7058
7059         * check/elements/.cvsignore:
7060         * check/elements/gstfakesrc.c:
7061           rename to name of element
7062         * check/elements/identity.c: (chain_func), (event_func),
7063         (setup_identity), (cleanup_identity), (GST_START_TEST),
7064         (identity_suite), (main):
7065           add a test for identity
7066         * check/Makefile.am:
7067         * pkgconfig/Makefile.am:
7068         * pkgconfig/gstreamer-check.pc.in:
7069         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7070         * gst/check:
7071         * gst/Makefile.am:
7072         * configure.ac:
7073           move the check stuff to a library that gets installed
7074         * check/gst-libs/controller.c: (GST_START_TEST):
7075         * check/gst-libs/gdp.c:
7076         * check/gst/gst.c: (GST_START_TEST):
7077         * check/gst/gstbin.c:
7078         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7079         * check/gst/gstbus.c:
7080         * check/gst/gstcaps.c: (GST_START_TEST):
7081         * check/gst/gstelement.c:
7082         * check/gst/gstghostpad.c:
7083         * check/gst/gstiterator.c:
7084         * check/gst/gstmessage.c:
7085         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7086         * check/gst/gstobject.c:
7087         * check/gst/gstpad.c: (GST_START_TEST):
7088         * check/gst/gststructure.c: (GST_START_TEST):
7089         * check/gst/gstsystemclock.c: (GST_START_TEST),
7090         (gst_systemclock_suite):
7091         * check/gst/gsttag.c: (gst_tag_suite):
7092         * check/gst/gstvalue.c:
7093         * check/pipelines/cleanup.c:
7094         * check/pipelines/simple_launch_lines.c:
7095         * check/states/sinks.c:
7096           change include statement
7097
7098         * docs/gst/gstreamer-sections.txt:
7099         * docs/gst/tmpl/gstpad.sgml:
7100           document more pad stuff
7101         * gst/gstminiobject.c: (gst_mini_object_ref),
7102         (gst_mini_object_unref):
7103           debug refcounting
7104
7105 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7106
7107         * docs/gst/tmpl/gst.sgml:
7108         * gst/gst.c:
7109           eliminate another tmpl file, fix spelling in the long-description
7110
7111 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7112
7113         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7114         (test_event), (timediff), (gstevents_suite):
7115           Should fix build on 64-bit arch's
7116
7117 2005-08-18  Andy Wingo  <wingo@pobox.com>
7118
7119         Make sure that when a pipeline goes to PLAYING, that data has
7120         actually hit the sink.
7121
7122         * check/states/sinks.c (test_sink): A sink that doesn't get any
7123         data shouldn't return SUCCESS for going to either PLAYING or
7124         PAUSED. Test also the return values on the way back down.
7125
7126         * gst/gstelement.c (gst_element_set_state): When changing the
7127         state of an element currently changing state asynchronously, go to
7128         lost-state after commiting the pending state. Makes future calls
7129         to get_state continue to return ASYNC.
7130
7131         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7132         ASYNC when going to PLAYING if we still don't have preroll, as can
7133         happen with live sources.
7134
7135 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7136
7137         * docs/pwg/advanced-types.xml:
7138           Hack long paragraph into 2 chunks as a workaround for buggy
7139           jadetex version in sid and breezy that loops infinitely and
7140           eats all RAM.
7141
7142 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7143
7144         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7145         (test_event), (timediff), (gstevents_suite):
7146           Provide more error margin in clock measurements to allow for 
7147           g_get_current_time inaccuracies.
7148
7149 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7150
7151         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7152         (test_event), (timediff), (gstevents_suite):
7153            Fix error message output so I might be able to tell why the
7154            test works here but fails on the build farm.
7155
7156 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7157
7158         * check/Makefile.am:
7159         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7160         (test_event), (timediff), (gstevents_suite), (main):
7161           I wrote a test!
7162
7163         * docs/design/part-seeking.txt:
7164           Spelling correction
7165
7166         * docs/gst/tmpl/gstevent.sgml:
7167         * docs/gst/tmpl/gstfakesrc.sgml:
7168           Docs updates.
7169
7170         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7171           Treat a buffer-without-newsegment the same as a receiving 
7172           a newsegment not in time format, and disable syncing to the clock
7173           with a warning.
7174
7175         * gst/gstbus.c: (gst_bus_set_sync_handler):
7176           Assert if anyone tries to replace the existing sync_handler for bus, 
7177           as only the owner should be setting it.
7178
7179         * gst/gstevent.h:
7180           Have a fixed set of custom event enums with events identified by
7181           their structure name (as in 0.8), rather than a free-for-all
7182           allowing collisions between enum values from different plugins.
7183
7184         * gst/gstpad.c: (gst_pad_class_init):
7185           Docs change.
7186           
7187         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7188           Handle out-of-band downstream events from the sending thread.
7189
7190 2005-08-17  Andy Wingo  <wingo@pobox.com>
7191
7192         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7193         play-timeout==0 to mean no timeout at all. In that case, don't
7194         bother with a get_state or a warning, just return directly, even
7195         if it's ASYNC.
7196
7197         * gst/base/gstbasetransform.c: Debug changes.
7198
7199         * gst/gstutils.h:
7200         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7201         ensure bins post state change messages. A bit of a hack but I can't
7202         think of a way to avoid it.
7203
7204         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7205
7206 2005-08-16  Andy Wingo  <wingo@pobox.com>
7207
7208         * gst/base/gstadapter.h:
7209         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7210         peek() but you own the data. Not terribly efficient atm.
7211
7212 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7213
7214         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7215         (gst_element_found_tags):
7216         * gst/gstutils.h:
7217           Add two utility functions for tag handling.
7218
7219 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7220
7221         * docs/manual/advanced-dataaccess.xml:
7222         * docs/manual/basics-helloworld.xml:
7223           Fix docs to use _bin_add() before _link(), which fixes the examples
7224           with recent core versions (reported by Madhan Raj M
7225           <raj_madan@rediffmail.com>, #313199).
7226
7227 2005-08-16  Wim Taymans  <wim@fluendo.com>
7228
7229         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7230         Added subtract checks.
7231
7232         * docs/design/part-events.txt:
7233         Some more docs about newsegment
7234
7235         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7236         Fix FIXME
7237
7238         * gst/gstcaps.c: (gst_caps_to_string):
7239         Add comments, cleanups.
7240         
7241         * gst/gstelement.c: (gst_element_save_thyself):
7242         cleanups
7243         
7244         * gst/gstvalue.c: (gst_value_collect_int_range),
7245         (gst_string_unwrap), (gst_value_union_int_int_range),
7246         (gst_value_union_int_range_int_range),
7247         (gst_value_intersect_int_int_range),
7248         (gst_value_intersect_int_range_int_range),
7249         (gst_value_intersect_double_double_range),
7250         (gst_value_intersect_double_range_double_range),
7251         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7252         (gst_value_subtract_int_range_int),
7253         (gst_value_subtract_double_range_double),
7254         (gst_value_subtract_double_range_double_range),
7255         (gst_value_subtract_from_list), (gst_value_subtract_list),
7256         (gst_value_can_compare), (gst_value_compare_fraction):
7257         Cleanups, add comments, remove unneeded asserts.
7258
7259 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7260
7261         * tools/gst-launch.c: (event_loop):
7262           don't convert NULL structures to strings
7263
7264 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7265
7266         * docs/gst/gstreamer-sections.txt:
7267           made some defines private
7268         * docs/gst/tmpl/gstconfig.sgml:
7269         * docs/gst/tmpl/gstqueue.sgml:
7270         * docs/gst/tmpl/gsttaglist.sgml:
7271         * docs/gst/tmpl/gsttypes.sgml:
7272         * docs/gst/tmpl/gstutils.sgml:
7273         * docs/pwg/appendix-porting.xml:
7274         * gst/base/gstbasesink.h:
7275         * gst/base/gstbasesrc.c:
7276         * gst/base/gstbasesrc.h:
7277         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7278         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7279         * gst/gstelement.c: (gst_element_class_init):
7280         * gst/gstpad.c: (gst_pad_class_init):
7281         * gst/gstqueue.c: (gst_queue_class_init):
7282         * gst/gstxml.c: (gst_xml_class_init):
7283           documented all undocumented signal inline
7284         * libs/gst/controller/gst-controller.h:
7285           added padding
7286
7287 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7288
7289         * docs/pwg/appendix-porting.xml:
7290           Document _set_link_function -> _set_setcaps_function.
7291
7292 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7293
7294         * check/Makefile.am:
7295           add a .check target for running the check
7296         * check/gst-libs/controller.c: (GST_START_TEST):
7297           cosmetic fixups
7298         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7299           complete checks for gstbuffer; would be nice if I could get the
7300           gcov stuff to work so I can see if I actually completed gstbuffer.c
7301         * check/gstcheck.h:
7302           add ASSERT_BUFFER_REFCOUNT
7303
7304 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7305
7306         * docs/gst/gstreamer-sections.txt:
7307         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7308         * gst/gsttag.h:
7309           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7310           spew out a warning if a tag that is already registered
7311           is re-registered, unless it is re-registered with a 
7312           different type (#308438).
7313
7314 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7315
7316         * docs/pwg/appendix-porting.xml:
7317         * docs/pwg/building-state.xml:
7318           Add some paragraphs about state changes in 0.9 to the PWG
7319           and the porting guide, in particular about the new meaning
7320           of GST_STATE_PAUSED and how to write state change functions
7321           with concurrent access by multiple threads in mind.
7322
7323 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7324
7325         * docs/gst/gstreamer-docs.sgml:
7326         * docs/libs/gstreamer-libs-docs.sgml:
7327           added deprecation and since indexes
7328         * libs/gst/controller/gst-controller.c:
7329         * libs/gst/controller/gst-helper.c:
7330           added since tags
7331
7332
7333 2005-08-11  Wim Taymans  <wim@fluendo.com>
7334
7335         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7336         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7337         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7338         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7339         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7340         (gst_ghost_pad_set_target):
7341         Actually implement (re)setting the target on a ghostpad
7342         as described in the docs.
7343
7344 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7345
7346         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7347           Check whether GST_DEBUG_NO_COLOR environment variable is
7348           set and disable coloured debug output if that is the case.
7349
7350 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7351
7352         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7353         (gst_type_find_helper):
7354           The memory returned by gst_type_find_peek() needs to
7355           stay valid until the end of a typefind function, and
7356           typefind functions may keep results from different 
7357           offsets around, so we can't just unref the buffer from
7358           the previous _peek(), but have to save all buffers 
7359           returned by _peek() until typefinding is done and only
7360           free them then.
7361
7362 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7363
7364         * docs/gst/gstreamer-sections.txt:
7365         * gst/gstutils.h:
7366           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7367
7368 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7369
7370         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7371           Fix a pretty good memleak.
7372
7373 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7374
7375         * gst/gstiterator.h:
7376           Fix wrong include and 'make distcheck'.
7377
7378 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7379
7380         * gst/gstbin.c: (bin_bus_handler):
7381           Use gst_element_post_message() instead.
7382
7383 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7384
7385         * gst/base/gstadapter.h:
7386         * gst/base/gstbasesink.h:
7387         * gst/base/gstbasesrc.h:
7388         * gst/base/gstbasetransform.h:
7389         * gst/base/gstcollectpads.h:
7390         * gst/base/gstpushsrc.h:
7391         * gst/gstiterator.h:
7392           Add padding to our base elements' class and instance structs and
7393           to GstIterator (you will need to rebuild all plugins and apps!)
7394
7395 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7396
7397         * gst/gstbin.c: (bin_bus_handler):
7398           Make default message forwarding from child->bus to bin->bus
7399           threadsafe and make it not emit warnings if the parent has no bus.
7400
7401 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7402
7403         * gst/gstelement.c: (activate_pads):
7404           On paused->ready, set pad->caps to NULL, as is the documented
7405           behaviour in this state change. Fixes playback of series of
7406           media files when visualization is enabled in Totem.
7407
7408 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7409
7410         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7411           Allow NULL as filter-caps (which means "any").
7412
7413 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7414
7415         * docs/libs/gstreamer-libs-sections.txt:
7416         * libs/gst/controller/gst-controller.c:
7417         * libs/gst/controller/gst-controller.h:
7418         * libs/gst/controller/gst-helper.c:
7419           adding more entries to the docs and fix small doc-bugs
7420
7421 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7422
7423         * docs/gst/gstreamer-docs.sgml:
7424         * docs/gst/gstreamer-sections.txt:
7425         * docs/gst/gstreamer.types:
7426         * docs/gst/tmpl/gstbasesink.sgml:
7427         * docs/gst/tmpl/gstbasesrc.sgml:
7428         * docs/gst/tmpl/gstbasetransform.sgml:
7429         * docs/gst/tmpl/gstfakesrc.sgml:
7430         * gst/base/gstcollectpads.c:
7431         * gst/base/gstcollectpads.h:
7432         * libs/gst/controller/gst-controller.c:
7433         * libs/gst/controller/gst-controller.h:
7434         * libs/gst/controller/gst-helper.c:
7435         * libs/gst/controller/gst-interpolation.c:
7436         * libs/gst/controller/lib.c:
7437           added long/short desc for controller docs
7438           added collectpads base class docs
7439           added correct includes to base-class docs
7440
7441 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7442
7443         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7444         (gst_test_mono_source_set_property),
7445         (gst_test_mono_source_class_init), (GST_START_TEST),
7446         (gst_controller_suite):
7447         * docs/gst/gstreamer-docs.sgml:
7448         * docs/gst/gstreamer-sections.txt:
7449         * docs/gst/gstreamer.types:
7450         * docs/libs/gstreamer-libs-docs.sgml:
7451         * docs/libs/gstreamer-libs-sections.txt:
7452         * gst/base/gstadapter.c:
7453         * libs/gst/controller/gst-controller.c:
7454         (gst_controlled_property_new), (gst_controlled_property_free),
7455         (gst_controller_new_valist),
7456         (gst_controller_remove_properties_valist),
7457         (gst_controller_sink_values), (_gst_controller_finalize):
7458         * libs/gst/controller/gst-controller.h:
7459         * libs/gst/controller/gst-helper.c:
7460         (gst_object_control_properties), (gst_object_uncontrol_properties),
7461         (gst_object_get_controller), (gst_object_set_controller),
7462         (gst_object_sink_values), (gst_object_get_value_arrays),
7463         (gst_object_get_value_array):
7464           more tests (and fixes) for the controller
7465           more docs for the controller
7466           integrated companies docs for the adapter 
7467
7468 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7469
7470         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7471         (GST_START_TEST), (fakesrc_suite):
7472           add tests for sizetype
7473
7474 2005-08-04  Andy Wingo  <wingo@pobox.com>
7475
7476         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7477         fixes buffer_alloc proxying among other things.
7478
7479         * gst/base/gstbasetransform.c:
7480         * gst/base/gstbasetransform.h:
7481         Revert patch to gstbasetransform from 7-28 removing
7482         delay_configure.
7483
7484         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7485         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7486         Semantics changed, should return not the size of the output buffer
7487         but the byte size of a buffer with a given caps.
7488
7489         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7490         debug object.
7491         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7492         out) are not the pad caps until setcaps finishes.
7493         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7494         not-in-place case as well. Deal with changing from in-place to
7495         not-in-place within calling pad_alloc_buffer. Still a bit
7496         concerned about the overhead here...
7497
7498 2005-08-03  Andy Wingo  <wingo@pobox.com>
7499
7500         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7501         fixating is an error.
7502
7503 2005-08-04  Edward Hervey  <edward@fluendo.com>
7504
7505         * gst/base/gstadapter.h: 
7506         Added gst_adapter_get_type() to the header
7507
7508 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7509
7510         * check/Makefile.am:
7511         * check/gst-libs/controller.c:
7512         * libs/gst/controller/gst-controller.c:
7513         (gst_controller_new_valist):
7514           added check test suite for the controller
7515         * gst/base/gstpushsrc.c:
7516           fixed a doc typo
7517
7518 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7519
7520         * docs/gst/Makefile.am:
7521         * docs/gst/gstreamer-docs.sgml:
7522         * docs/gst/gstreamer-sections.txt:
7523         * docs/gst/gstreamer.types:
7524         * docs/gst/tmpl/gstfakesrc.sgml:
7525         * gst/base/README:
7526         * gst/base/gstbasesink.c:
7527         * gst/base/gstbasesink.h:
7528         * gst/base/gstbasesrc.c:
7529         * gst/base/gstbasesrc.h:
7530         * gst/base/gstbasetransform.c:
7531         * gst/base/gstpushsrc.c:
7532         * gst/base/gstpushsrc.h:
7533           add short/long description docs to base classes
7534           add pushsrc to the docs
7535           remove consolidated doc fragments
7536
7537 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7538
7539         * configure.ac:
7540         * docs/libs/Makefile.am:
7541         * docs/libs/gstreamer-libs-docs.sgml:
7542         * docs/libs/gstreamer-libs-sections.txt:
7543         * docs/libs/gstreamer-libs.types:
7544         * examples/Makefile.am:
7545         * examples/controller/.cvsignore:
7546         * examples/controller/Makefile.am:
7547         * examples/controller/audio-example.c: (main):
7548         * libs/gst/Makefile.am:
7549         * libs/gst/controller/.cvsignore:
7550         * libs/gst/controller/Makefile.am:
7551         * libs/gst/controller/gst-controller.c:
7552         (on_object_controlled_property_changed), (gst_timed_value_compare),
7553         (gst_timed_value_find),
7554         (gst_controlled_property_set_interpolation_mode),
7555         (gst_controlled_property_new), (gst_controlled_property_free),
7556         (gst_controller_find_controlled_property),
7557         (gst_controller_new_valist), (gst_controller_new),
7558         (gst_controller_remove_properties_valist),
7559         (gst_controller_remove_properties), (gst_controller_set),
7560         (gst_controller_set_from_list), (gst_controller_unset),
7561         (gst_controller_get), (gst_controller_get_all),
7562         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7563         (gst_controller_get_value_array),
7564         (gst_controller_set_interpolation_mode),
7565         (_gst_controller_finalize), (_gst_controller_init),
7566         (_gst_controller_class_init), (gst_controller_get_type):
7567         * libs/gst/controller/gst-controller.h:
7568         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7569         (g_object_uncontrol_properties), (g_object_get_controller),
7570         (g_object_set_controller), (g_object_sink_values),
7571         (g_object_get_value_arrays), (g_object_get_value_array):
7572         * libs/gst/controller/gst-interpolation.c:
7573         (gst_controlled_property_find_timed_value_node),
7574         (interpolate_none_get), (interpolate_trigger_get),
7575         (interpolate_trigger_get_value_array):
7576         * libs/gst/controller/lib.c: (gst_controller_init):
7577         * pkgconfig/Makefile.am:
7578         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7579         * pkgconfig/gstreamer-control.pc.in:
7580         * testsuite/Makefile.am:
7581         * testsuite/controller/.cvsignore:
7582         * testsuite/controller/Makefile.am:
7583         * testsuite/controller/interpolator.c: (main):
7584           added controller code
7585           removed dparam pc files
7586
7587 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7588         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7589         (gst_collectpads_stop):
7590           Broadcast the condition when shutting down, to make sure we wake all
7591           threads up. Shut down pads on finalize, for safety.
7592
7593 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7594         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7595         (gst_base_transform_handle_buffer),
7596         (gst_base_transform_change_state):
7597           Handle PAUSED->READY->PAUSED transition after negotiation
7598           occurred already.
7599         * gst/gstmessage.c: (gst_message_init):
7600           Extra piece of debug for new messages.
7601
7602 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7603
7604         * configure.ac:
7605         * docs/gst/tmpl/gstbasesrc.sgml:
7606         * docs/gst/tmpl/gstelement.sgml:
7607         * docs/gst/tmpl/gstevent.sgml:
7608         * docs/gst/tmpl/gstfakesrc.sgml:
7609         * docs/gst/tmpl/gstformat.sgml:
7610         * docs/gst/tmpl/gstghostpad.sgml:
7611         * docs/gst/tmpl/gstpad.sgml:
7612         * docs/gst/tmpl/gstquery.sgml:
7613         * docs/gst/tmpl/gststructure.sgml:
7614         * docs/gst/tmpl/gsttaglist.sgml:
7615         * docs/gst/tmpl/gstvalue.sgml:
7616         * docs/libs/gstreamer-libs-docs.sgml:
7617         * docs/libs/gstreamer-libs-sections.txt:
7618         * docs/libs/gstreamer-libs.types:
7619         * libs/gst/Makefile.am:
7620         * libs/gst/control/.cvsignore:
7621         * libs/gst/control/Makefile.am:
7622         * libs/gst/control/control.c:
7623         * libs/gst/control/control.h:
7624         * libs/gst/control/dparam.c:
7625         * libs/gst/control/dparam.h:
7626         * libs/gst/control/dparam_smooth.c:
7627         * libs/gst/control/dparam_smooth.h:
7628         * libs/gst/control/dparamcommon.h:
7629         * libs/gst/control/dparammanager.c:
7630         * libs/gst/control/dparammanager.h:
7631         * libs/gst/control/dplinearinterp.c:
7632         * libs/gst/control/dplinearinterp.h:
7633         * libs/gst/control/unitconvert.c:
7634         * libs/gst/control/unitconvert.h:
7635         * testsuite/Makefile.am:
7636         * testsuite/dynparams/.cvsignore:
7637         * testsuite/dynparams/Makefile.am:
7638         * testsuite/dynparams/dparamstest.c:
7639         * tools/Makefile.am:
7640         * tools/gst-inspect.c: (print_element_info), (main):
7641         * tools/gst-xmlinspect.c: (print_element_info), (main):
7642           deactivate and remove dparams (libgstcontrol)
7643
7644 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7645
7646         * gst/elements/gsttypefindelement.c:
7647         (gst_type_find_element_have_type), (gst_type_find_element_init),
7648         (stop_typefinding), (gst_type_find_element_handle_event),
7649         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7650         * gst/elements/gsttypefindelement.h:
7651           Set caps on all outgoing buffers, not just the first one.
7652
7653 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7654
7655         * gst/elements/gsttypefindelement.c:
7656         (gst_type_find_element_have_type),
7657         (gst_type_find_element_check_set_buffer_caps),
7658         (gst_type_find_element_init), (stop_typefinding),
7659         (gst_type_find_element_handle_event),
7660         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7661         * gst/elements/gsttypefindelement.h:
7662           Set caps on first outgoing buffer when we've found the type.
7663
7664 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7665
7666         * docs/gst/gstreamer-docs.sgml:
7667         * docs/gst/gstreamer-sections.txt:
7668         * docs/gst/tmpl/gstscheduler.sgml:
7669         * docs/gst/tmpl/gstschedulerfactory.sgml:
7670           Remove some old cruft from docs.
7671
7672 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7673
7674         * gst/gstpad.h:
7675           Fix inline docs for GstPadLinkReturn.
7676           
7677         * gst/gststructure.c: (gst_structure_has_name):
7678         * gst/gststructure.h:
7679         * docs/gst/gstreamer-sections.txt:
7680           New API: gst_structure_has_name().
7681
7682 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7683
7684         * configure.ac:
7685           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7686           and _LARGEFILE_SOURCE in config.h as required. Do not 
7687           export those flags in our .pc files any longer (#142209).
7688
7689           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7690
7691         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7692         (gst_file_sink_do_seek), (gst_file_sink_event),
7693         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7694           Redo seek/tell calls with large file support in mind; add some
7695           debugging messages; add log message that tells us when large
7696           file support is unavailable or not enabled for some reason.
7697
7698         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7699           Add log message that tells us when large file support 
7700           is unavailable or not enabled for some reason.
7701
7702 2005-07-29  Wim Taymans  <wim@fluendo.com>
7703
7704         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7705         Added test for removing an element with ghostpad from a bin.
7706         Fixed test as current implementation does the right thing.
7707
7708         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7709         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7710         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7711         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7712         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7713         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7714         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7715         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7716         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7717         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7718         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7719         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7720         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7721         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7722         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7723         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7724         * gst/gstghostpad.h:
7725         Clean up ghostpads, remove properties for internal stuff.
7726         Make threadsafe.
7727         Fix refcounting.
7728         Prepare for switching targets, not all use cases work yet.
7729
7730 2005-07-29  Wim Taymans  <wim@fluendo.com>
7731
7732         * docs/design/part-gstghostpad.txt:
7733         Small update.
7734
7735         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7736         (gst_bin_remove_func):
7737         Unlinking pads while holding the bin LOCK is not a good
7738         idea.
7739
7740         * gst/gstpad.c: (gst_pad_class_init),
7741         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7742         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7743         No prob setting template after creating the pad.
7744
7745 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7746
7747         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7748         (gst_bus_peek), (gst_bus_source_dispatch),
7749         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7750         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7751           gst_bus_poll may be called from other threads. Handle
7752           this nicely by not making poll_data disappear off the
7753           stack once gst_bus_poll returns.
7754           gst_bus_peek now increments the refcount on the returned
7755           message.
7756
7757 2005-07-29  Wim Taymans  <wim@fluendo.com>
7758
7759         * docs/design/part-gstghostpad.txt:
7760         Overview of current GhostPad datastructures and use
7761         cases for changing the target.
7762
7763 2005-07-28  Wim Taymans  <wim@fluendo.com>
7764
7765         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7766         Added checks for hierarchy consistency whan adding linked
7767         elements to bins.
7768
7769         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7770         Added check to test element scheduling without bin/pipeline.
7771
7772         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7773         First add elements to bin, then link.
7774         
7775         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7776         (gst_bin_remove_func):
7777         Unlink pads from elements added/removed from bin to maintain
7778         hierarchy consistency.
7779
7780 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7781
7782         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7783         (gst_base_transform_handle_buffer):
7784         * gst/base/gstbasetransform.h:
7785           Remove broken delay_configure (fixes renegotiation of software
7786           scaling pipelines); remove some leftover printf()s.
7787
7788 2005-07-28  Wim Taymans  <wim@fluendo.com>
7789
7790         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7791         Added some more tests for wrong hierarchy
7792
7793         * docs/design/part-overview.txt:
7794         Some updates.
7795
7796         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7797         Cleanups.
7798
7799         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7800         (gst_element_dispose):
7801         Some more cleanups.
7802
7803         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7804         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7805         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7806         (gst_pad_set_caps), (gst_pad_send_event):
7807         Check for correct hierarchy when linking pads. Moving to
7808         strict requirement for ghostpads when linking elements in
7809         different bins.
7810
7811         * gst/gstpad.h:
7812         Clean ups. Added WRONG_HIERARCHY return value.
7813
7814 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7815
7816         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7817           Better debug if no transform is possible.
7818
7819 2005-07-27  Wim Taymans  <wim@fluendo.com>
7820
7821         * docs/random/wtay/network-transp:
7822         Some old doc I had.
7823
7824 2005-07-27  Wim Taymans  <wim@fluendo.com>
7825
7826         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7827         (gst_dp_event_from_packet):
7828         Fix serialization of seek events.
7829
7830 2005-07-27  Wim Taymans  <wim@fluendo.com>
7831
7832         * check/gst-libs/gdp.c: (GST_START_TEST):
7833         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7834         Fix compilation and fix event serialization.
7835
7836 2005-07-27  Wim Taymans  <wim@fluendo.com>
7837
7838         * CHANGES-0.9:
7839         * docs/design/part-TODO.txt:
7840         * docs/design/part-events.txt:
7841         Some docs updates
7842
7843         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7844         (gst_base_sink_event), (gst_base_sink_do_sync),
7845         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7846         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7847         (gst_base_src_do_seek), (gst_base_src_event_handler),
7848         (gst_base_src_loop):
7849         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7850         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7851         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7852         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7853         (gst_base_transform_set_passthrough),
7854         (gst_base_transform_is_passthrough):
7855         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7856         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7857         Event updates.
7858
7859         * gst/gstbuffer.h:
7860         Use faster casts.
7861
7862         * gst/gstelement.c: (gst_element_seek):
7863         * gst/gstelement.h:
7864         Update gst_element_seek.
7865
7866         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7867         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7868         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7869         (gst_event_new_eos), (gst_event_new_newsegment),
7870         (gst_event_parse_newsegment), (gst_event_new_tag),
7871         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7872         (gst_event_parse_qos), (gst_event_new_seek),
7873         (gst_event_parse_seek), (gst_event_new_navigation):
7874         * gst/gstevent.h:
7875         Make GstEvent use GstStructure. Add parsing code, make sure the
7876         API is sufficiently generic.
7877         Mark possible directions of events and serialization.
7878
7879         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7880         (_gst_message_copy), (gst_message_new_segment_start),
7881         (gst_message_new_segment_done), (gst_message_new_custom),
7882         (gst_message_parse_segment_start),
7883         (gst_message_parse_segment_done):
7884         Small cleanups.
7885
7886         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7887         (gst_pad_set_caps), (gst_pad_send_event):
7888         Update for new events. 
7889         Catch events sent in wrong directions.
7890
7891         * gst/gstqueue.c: (gst_queue_link_src),
7892         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7893         (gst_queue_handle_src_query):
7894         Event updates.
7895
7896         * gst/gsttag.c:
7897         * gst/gsttag.h:
7898         Remove event code from this file.
7899
7900         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7901         (gst_dp_event_from_packet):
7902         Event updates.
7903
7904 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7905
7906         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7907         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7908         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7909           Make debugging actually useful.
7910
7911 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7912
7913         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7914         (gst_pad_fixate_caps):
7915           Implement default fixation once again, so that gst_pad_fixate()
7916           actually does anything at all. This probably needs to be some
7917           sort of a last resort, and use profile-based fixation first, but
7918           since that doesn't exist yet, this is the best we have. Fixes
7919           visualization in Totem.
7920
7921 2005-07-22  Wim Taymans  <wim@fluendo.com>
7922
7923         * docs/design/part-events.txt:
7924         Small update.
7925
7926         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7927         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7928         (gst_base_sink_activate_pull):
7929         Some more comments.
7930
7931         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7932         (gst_fake_src_create):
7933         Fix handoff marshall.
7934
7935         * gst/elements/gstidentity.c: (gst_identity_class_init),
7936         (gst_identity_transform_ip):
7937         We're a real inplace element.
7938
7939         * gst/gstbus.c: (gst_bus_post):
7940         Added some comments.
7941
7942         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7943         * tests/muxing/case1.c: (main):
7944         * tests/sched/dynamic-pipeline.c: (main):
7945         * tests/sched/interrupt1.c: (main):
7946         * tests/sched/interrupt2.c: (main):
7947         * tests/sched/interrupt3.c: (main):
7948         * tests/sched/runxml.c: (main):
7949         * tests/sched/sched-stress.c: (main):
7950         * tests/seeking/seeking1.c: (event_received), (main):
7951         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7952         (main):
7953         * tests/threadstate/threadstate3.c: (main):
7954         * tests/threadstate/threadstate4.c: (main):
7955         * tests/threadstate/threadstate5.c: (main):
7956         Fix the tests.
7957
7958 2005-07-21  Wim Taymans  <wim@fluendo.com>
7959
7960         * docs/design/part-seeking.txt:
7961         Some small additions.
7962
7963         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7964         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7965         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7966         * gst/base/gstbasesink.h:
7967         discont values are gint64, handle the math correctly.
7968
7969         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7970         Make the basesrc report error if the source pad is not linked.
7971
7972         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7973         (gst_queue_loop), (gst_queue_handle_src_query),
7974         (gst_queue_src_activate_push):
7975         Make queue collect data even if the srcpad is not linked.
7976         Start pushing out data as soon as it is linked.
7977
7978         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7979         * gst/gstutils.h:
7980         Added gst_flow_get_name() to ease error reporting.
7981
7982 2005-07-20  Wim Taymans  <wim@fluendo.com>
7983
7984         * gst/gstmessage.c: (gst_message_new_segment_start),
7985         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7986         (gst_message_parse_segment_done):
7987         * gst/gstmessage.h:
7988         Added a bunch of messages for advanced seeking.
7989
7990         * gst/parse/grammar.y:
7991         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7992         (gst_dpman_state_changed):
7993         Fix some new-pad -> pad-added signals
7994
7995 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7996
7997         * docs/manual/appendix-porting.xml:
7998         * docs/pwg/appendix-porting.xml:
7999           Document new-pad/state-change signal renames and the FixedList
8000           type rename.
8001
8002 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8003
8004         * docs/manual/advanced-autoplugging.xml:
8005         * docs/manual/basics-helloworld.xml:
8006         * docs/manual/basics-pads.xml:
8007         * docs/random/ds/0.9-suggested-changes:
8008         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8009         * gst/gstelement.h:
8010         * gst/gstevent.h:
8011         * gst/gstformat.h:
8012         * gst/gstquery.h:
8013         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8014         (gst_structure_parse_array), (gst_structure_parse_value):
8015         * gst/gstvalue.c: (gst_type_is_fixed),
8016         (gst_value_list_prepend_value), (gst_value_list_append_value),
8017         (gst_value_list_get_size), (gst_value_list_get_value),
8018         (gst_value_transform_array_string), (gst_value_serialize_array),
8019         (gst_value_deserialize_array), (gst_value_intersect_array),
8020         (gst_value_is_fixed), (_gst_value_initialize):
8021         * gst/gstvalue.h:
8022           GstElement::new-pad -> pad-added, GstElement::state-change ->
8023           state-changed, GstValueFixedList -> GstValueArray, add format and
8024           flags as their own arguments in gst_element_seek() (should improve
8025           "bindeability"), remove function generators since they don't work
8026           under a whole bunch of compilers (they were deprecated already
8027           anyway).
8028
8029 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8030
8031         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8032         (_gst_debug_register_funcptr):
8033         * gst/gstinfo.h:
8034           Fix illegal cast on some platforms (#309253).
8035
8036 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8037
8038         * gst/gstmessage.c: (gst_message_new_custom):
8039         * gst/gstmessage.h:
8040           Add _new_custom, make _new_application a macro to _new_custom.
8041
8042 2005-07-20  Wim Taymans  <wim@fluendo.com>
8043
8044         * gst/base/gstbasesrc.c: (gst_base_src_init),
8045         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8046         * gst/base/gstbasesrc.h:
8047         Add a gboolean to decide when to push out a discont.
8048
8049         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8050         (gst_queue_loop), (gst_queue_handle_src_query),
8051         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8052         (gst_queue_set_property), (gst_queue_get_property):
8053         Some cleanups.
8054
8055         * tests/threadstate/threadstate1.c: (main):
8056         Make a thread test compile and run... very silly..
8057
8058
8059 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8060
8061         * docs/manual/appendix-porting.xml:
8062           Mention removal of libgstgconf-0.9.la and existence of gconf
8063           elements.
8064
8065 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8066
8067         * docs/pwg/advanced-clock.xml:
8068         * docs/pwg/appendix-porting.xml:
8069         * docs/pwg/intro-preface.xml:
8070         * docs/pwg/other-base.xml:
8071         * docs/pwg/other-manager.xml:
8072         * docs/pwg/other-nton.xml:
8073         * docs/pwg/other-ntoone.xml:
8074         * docs/pwg/other-oneton.xml:
8075         * docs/pwg/pwg.xml:
8076           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8077           demuxer), remove n-to-n (was never written), fix some code examples
8078           and links and update the porting section to include all this.
8079
8080 2005-07-19  Wim Taymans  <wim@fluendo.com>
8081
8082         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8083         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8084         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8085         (gst_queue_src_activate_push), (gst_queue_change_state),
8086         (gst_queue_get_property):
8087         * gst/gstqueue.h:
8088         Propagate GstFlowReturn more intelligently upstream and output
8089         an ERROR/EOS when streaming stopped due to fatal error.
8090
8091 2005-07-19  Wim Taymans  <wim@fluendo.com>
8092
8093         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8094         Don't block forever for the state change to complete, the
8095         pipeline already did with a sensible timeout.
8096
8097 2005-07-19  Wim Taymans  <wim@fluendo.com>
8098
8099         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8100         Make sure we never call the create function is we
8101         got deactivated.
8102
8103 2005-07-19  Andy Wingo  <wingo@pobox.com>
8104
8105         * gst/parse/parse.l: Attempt to solve bug #172815.
8106
8107 2005-07-19  Wim Taymans  <wim@fluendo.com>
8108
8109         * docs/design/part-clocks.txt:
8110         * docs/design/part-events.txt:
8111         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8112         Small docs updates.
8113         Only update the seeking values when we are not
8114         busy streaming.
8115
8116 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8117
8118         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8119           Oops, ignore the result of gst_pad_push_event here.
8120
8121 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8122
8123         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8124         (gst_base_src_activate_push):
8125           Send discont event from the loop function, as pads
8126           aren't activated yet in the activate_push handler.
8127
8128         * gst/gstbin.c: (bin_bus_handler):
8129           Don't leak element name.
8130
8131 2005-07-18  Andy Wingo  <wingo@pobox.com>
8132
8133         * configure.ac: Use AS_LIBTOOL_TAGS.
8134
8135 2005-07-18  Wim Taymans  <wim@fluendo.com>
8136
8137         * docs/gst/gstreamer.types:
8138         Remove deleted types.
8139
8140 2005-07-18  Wim Taymans  <wim@fluendo.com>
8141
8142         * check/elements/gstfakesrc.c: (GST_START_TEST):
8143         * configure.ac:
8144         * gst/Makefile.am:
8145         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8146         (init_popt_callback):
8147         * gst/gst.h:
8148         * gst/gst_private.h:
8149         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8150         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8151         * gst/gstbin.h:
8152         * gst/gstbus.h:
8153         * gst/gstconfig.h.in:
8154         * gst/gstelement.c: (gst_element_class_init),
8155         (gst_element_set_base_time), (gst_element_get_base_time),
8156         (iterator_fold_with_resync), (gst_element_change_state),
8157         (gst_element_dispose), (gst_element_get_bus):
8158         * gst/gstelement.h:
8159         * gst/gstelementfactory.h:
8160         * gst/gsterror.c: (_gst_core_errors_init):
8161         * gst/gsterror.h:
8162         * gst/gstevent.h:
8163         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8164         * gst/gstindex.c:
8165         * gst/gstinfo.c: (_gst_debug_init):
8166         * gst/gstmessage.c: (_gst_message_copy):
8167         * gst/gstmessage.h:
8168         * gst/gstminiobject.h:
8169         * gst/gstobject.c:
8170         * gst/gstobject.h:
8171         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8172         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8173         * gst/gstpad.h:
8174         * gst/gstparse.h:
8175         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8176         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8177         (gst_pipeline_get_last_stream_time):
8178         * gst/gstpipeline.h:
8179         * gst/gstpluginfeature.h:
8180         * gst/gstquery.h:
8181         * gst/gstscheduler.c:
8182         * gst/gstscheduler.h:
8183         * gst/gststructure.h:
8184         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8185         (gst_task_finalize), (gst_task_func), (gst_task_create),
8186         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8187         (gst_task_stop), (gst_task_pause):
8188         * gst/gsttask.h:
8189         * gst/gsttypefind.h:
8190         * gst/gsttypes.h:
8191         * gst/registries/gstlibxmlregistry.c: (load_feature),
8192         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8193         * gst/registries/gstxmlregistry.c:
8194         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8195         * gst/schedulers/threadscheduler.c:
8196         * libs/gst/control/dparammanager.h:
8197         * tools/gst-inspect.c: (print_element_list),
8198         (print_plugin_features), (print_element_features):
8199         * tools/gst-xmlinspect.c: (print_element_list),
8200         (print_plugin_info), (main):
8201         Removed plugable schedulers.
8202         Removed Scheduler/Manager from elements.
8203         Removed gsttypes.h, rearranged includes.
8204         Removed dependency pad<->element, element<>pipeline, and
8205         various others,  fix includes.
8206         implement gst_pad_get_parent() with gst_object_get_parent()
8207         Make GstTask sefcontained.
8208         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8209         timeout.
8210         Fix endless loop in iterator_fold_with_resync.
8211
8212
8213 2005-07-18  Wim Taymans  <wim@fluendo.com>
8214
8215         * gst/Makefile.am:
8216         * gst/gstarch.h:
8217         Remove old file.
8218
8219 2005-07-18  Wim Taymans  <wim@fluendo.com>
8220
8221         * gst/Makefile.am:
8222         No more cothreads.h
8223
8224 2005-07-18  Wim Taymans  <wim@fluendo.com>
8225
8226         * gst/cothreads.c:
8227         * gst/cothreads.h:
8228         Let's remove these.
8229
8230 2005-07-18  Wim Taymans  <wim@fluendo.com>
8231
8232         * docs/design/part-dynamic.txt:
8233         * docs/design/part-events.txt:
8234         * docs/design/part-seeking.txt:
8235         Some more docs in the works.
8236
8237         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8238         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8239         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8240         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8241         (gst_base_transform_handle_buffer),
8242         (gst_base_transform_sink_activate_push),
8243         (gst_base_transform_src_activate_pull),
8244         (gst_base_transform_set_passthrough),
8245         (gst_base_transform_is_passthrough):
8246         Refcounting fixes.
8247
8248         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8249         Cleanups.
8250
8251         * gst/gstevent.c: (gst_event_finalize):
8252         Set SRC to NULL.
8253
8254         * gst/gstutils.c: (gst_element_unlink),
8255         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8256         (gst_pad_proxy_setcaps):
8257         * gst/gstutils.h:
8258         Add _get_parent_element() to get a pads parent as an element.
8259
8260 2005-07-18  Wim Taymans  <wim@fluendo.com>
8261
8262         * check/gst/gstbin.c: (GST_START_TEST):
8263         Remove bogus test.
8264
8265 2005-07-18  Wim Taymans  <wim@fluendo.com>
8266
8267         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8268         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8269         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8270         (gst_base_sink_event), (gst_base_sink_do_sync),
8271         (gst_base_sink_chain), (gst_base_sink_loop),
8272         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8273         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8274         Refcounting fixes.
8275         Fix logic for returning ASYNC when not prerolled.
8276
8277 2005-07-18  Wim Taymans  <wim@fluendo.com>
8278
8279         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8280         Fix nasty refcount bug.
8281
8282 2005-07-16 Philippe Khalaf <burger@speedy.org>
8283
8284         * gst/elements/gstfdsrc.c:
8285         * gst/elements/gstfdsrc.h:
8286         * gst/elements/gstelements.c:
8287         * gst/elements/Makefile.am:
8288         Ported fdsrc to 0.9.
8289
8290 2005-07-16  Wim Taymans  <wim@fluendo.com>
8291
8292         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8293         (gst_base_sink_do_sync):
8294         Fix compile error.
8295
8296 2005-07-16  Wim Taymans  <wim@fluendo.com>
8297
8298         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8299         (gst_base_sink_event), (gst_base_sink_get_times),
8300         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8301         * gst/base/gstbasesink.h:
8302         Store and use discont values when syncing buffers as described
8303         in design docs.
8304         
8305         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8306         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8307         (gst_base_src_activate_push):
8308         Push discont event when starting.
8309
8310         * gst/elements/gstidentity.c: (gst_identity_transform):
8311         Small cleanups.
8312
8313         * gst/gstbin.c: (gst_bin_change_state):
8314         Small cleanups in base_time  distribution.
8315
8316         * gst/gstelement.c: (gst_element_set_base_time),
8317         (gst_element_get_base_time), (gst_element_change_state):
8318         * gst/gstelement.h:
8319         Added methods for the base_time of the element.
8320         Some MT fixes.
8321
8322         * gst/gstpipeline.c: (gst_pipeline_send_event),
8323         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8324         (gst_pipeline_get_last_stream_time):
8325         * gst/gstpipeline.h:
8326         MT fixes.
8327         Handle seeking as described in design doc, remove stream_time
8328         hack.
8329         Cleanups clock and stream_time selection code. Added accessors
8330         for the stream_time.
8331         
8332
8333 2005-07-16  Andy Wingo  <wingo@pobox.com>
8334
8335         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8336         (#305291).
8337
8338 2005-07-16  Wim Taymans  <wim@fluendo.com>
8339
8340         * check/gst/gstbin.c: (GST_START_TEST):
8341         Make elements silent as the deep_notify refs the
8342         parent, which might make the test fail.
8343
8344         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8345         Don't hold the lock for too long.
8346
8347 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8348
8349         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8350           Don't unref the caps we passed to gst_caps_make_writable() after
8351           passing them. gst_caps_make_writable() will do that for us.
8352
8353 2005-07-15  Andy Wingo  <wingo@pobox.com>
8354
8355         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8356         (#157311).
8357
8358         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8359         own marshalling function for the handoff signal. Properly type the
8360         buffer as a buffer. Fixes some warnings. Should do a more general
8361         solution.
8362         (gst_identity_class_init): Plug into the right marshaller.
8363
8364 2005-07-15  Wim Taymans  <wim@fluendo.com>
8365
8366         * docs/design/part-TODO.txt:
8367         * docs/design/part-clocks.txt:
8368         * docs/design/part-element-sink.txt:
8369         * docs/design/part-events.txt:
8370         * docs/design/part-gstpipeline.txt:
8371         Updated docs, mostly DISCONT related.
8372
8373 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8374
8375         * docs/pwg/building-pads.xml:
8376           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8377
8378 2005-07-15  Andy Wingo  <wingo@pobox.com>
8379
8380         * tools/gst-typefind.c: Update, add copyright block.
8381
8382         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8383         Normalize and truncate caps before fixation.
8384
8385         * gst/gstcaps.h:
8386         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8387         discards all but the first structure from its argument.
8388
8389 2005-07-15  Wim Taymans  <wim@fluendo.com>
8390
8391         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8392         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8393         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8394         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8395         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8396         (gst_base_transform_chain), (gst_base_transform_change_state),
8397         (gst_base_transform_set_passthrough),
8398         (gst_base_transform_is_passthrough):
8399         * gst/base/gstbasetransform.h:
8400         Make passthrough work using the bufferpools.
8401         Changed API a bit, subclasses have to write into a buffer
8402         provided by the base class.
8403         More debug info in nego functions.
8404         
8405         * gst/elements/gstidentity.c: (gst_identity_init),
8406         (gst_identity_transform):
8407         Port to new base class.
8408
8409 2005-07-15  Wim Taymans  <wim@fluendo.com>
8410
8411         * gst/gstmessage.c: (gst_message_new_state_changed):
8412         * tools/gst-launch.c: (event_loop), (main):
8413         Totally dump messages in -launch with the -m option.
8414         Fix message name for State messages,
8415
8416 2005-07-14  Wim Taymans  <wim@fluendo.com>
8417
8418         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8419         Post error messages on errors.
8420
8421 2005-07-14  Wim Taymans  <wim@fluendo.com>
8422
8423         * gst/gstcaps.c: (gst_caps_do_simplify):
8424         Remove debug info.
8425
8426         * gst/gsterror.h:
8427         Define error for stream stopped.
8428
8429         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8430         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8431         Do proper return values.
8432
8433         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8434         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8435         (gst_pad_get_range):
8436         Better return values.
8437
8438         * gst/gstpad.h:
8439         Reorganise return values, add macro to check for fatal errors.
8440
8441         * gst/gstqueue.c: (gst_queue_chain):
8442         Return proper GstFlowReturn values,
8443
8444 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8445
8446         * docs/gst/gstreamer-sections.txt:
8447         * docs/gst/gstreamer.types:
8448         * docs/gst/tmpl/gst.sgml:
8449         * docs/gst/tmpl/gstbasesink.sgml:
8450         * docs/gst/tmpl/gstbasesrc.sgml:
8451         * docs/gst/tmpl/gstbasetransform.sgml:
8452         * docs/gst/tmpl/gstbin.sgml:
8453         * docs/gst/tmpl/gstbuffer.sgml:
8454         * docs/gst/tmpl/gstcaps.sgml:
8455         * docs/gst/tmpl/gstclock.sgml:
8456         * docs/gst/tmpl/gstcompat.sgml:
8457         * docs/gst/tmpl/gstconfig.sgml:
8458         * docs/gst/tmpl/gstelement.sgml:
8459         * docs/gst/tmpl/gstelementdetails.sgml:
8460         * docs/gst/tmpl/gstelementfactory.sgml:
8461         * docs/gst/tmpl/gstenumtypes.sgml:
8462         * docs/gst/tmpl/gsterror.sgml:
8463         * docs/gst/tmpl/gstevent.sgml:
8464         * docs/gst/tmpl/gstfakesink.sgml:
8465         * docs/gst/tmpl/gstfakesrc.sgml:
8466         * docs/gst/tmpl/gstfilesink.sgml:
8467         * docs/gst/tmpl/gstfilesrc.sgml:
8468         * docs/gst/tmpl/gstfilter.sgml:
8469         * docs/gst/tmpl/gstformat.sgml:
8470         * docs/gst/tmpl/gstghostpad.sgml:
8471         * docs/gst/tmpl/gstimplementsinterface.sgml:
8472         * docs/gst/tmpl/gstindex.sgml:
8473         * docs/gst/tmpl/gstindexfactory.sgml:
8474         * docs/gst/tmpl/gstinfo.sgml:
8475         * docs/gst/tmpl/gstiterator.sgml:
8476         * docs/gst/tmpl/gstmacros.sgml:
8477         * docs/gst/tmpl/gstmemchunk.sgml:
8478         * docs/gst/tmpl/gstminiobject.sgml:
8479         * docs/gst/tmpl/gstobject.sgml:
8480         * docs/gst/tmpl/gstpad.sgml:
8481         * docs/gst/tmpl/gstpadtemplate.sgml:
8482         * docs/gst/tmpl/gstparse.sgml:
8483         * docs/gst/tmpl/gstpipeline.sgml:
8484         * docs/gst/tmpl/gstplugin.sgml:
8485         * docs/gst/tmpl/gstpluginfeature.sgml:
8486         * docs/gst/tmpl/gstquery.sgml:
8487         * docs/gst/tmpl/gstqueue.sgml:
8488         * docs/gst/tmpl/gstregistry.sgml:
8489         * docs/gst/tmpl/gstregistrypool.sgml:
8490         * docs/gst/tmpl/gstscheduler.sgml:
8491         * docs/gst/tmpl/gstschedulerfactory.sgml:
8492         * docs/gst/tmpl/gststructure.sgml:
8493         * docs/gst/tmpl/gstsystemclock.sgml:
8494         * docs/gst/tmpl/gsttaglist.sgml:
8495         * docs/gst/tmpl/gsttagsetter.sgml:
8496         * docs/gst/tmpl/gsttrace.sgml:
8497         * docs/gst/tmpl/gsttrashstack.sgml:
8498         * docs/gst/tmpl/gsttypefind.sgml:
8499         * docs/gst/tmpl/gsttypefindfactory.sgml:
8500         * docs/gst/tmpl/gsttypes.sgml:
8501         * docs/gst/tmpl/gsturihandler.sgml:
8502         * docs/gst/tmpl/gsturitype.sgml:
8503         * docs/gst/tmpl/gstutils.sgml:
8504         * docs/gst/tmpl/gstvalue.sgml:
8505         * docs/gst/tmpl/gstversion.sgml:
8506         * docs/gst/tmpl/gstxml.sgml:
8507         * docs/libs/tmpl/gstcontrol.sgml:
8508         * docs/libs/tmpl/gstdataprotocol.sgml:
8509         * docs/libs/tmpl/gstdparam.sgml:
8510         * docs/libs/tmpl/gstdplinint.sgml:
8511         * docs/libs/tmpl/gstdpman.sgml:
8512         * docs/libs/tmpl/gstdpsmooth.sgml:
8513         * docs/libs/tmpl/gstgetbits.sgml:
8514         * docs/libs/tmpl/gstunitconvert.sgml:
8515         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8516         (gst_push_src_base_init), (gst_push_src_class_init),
8517         (gst_push_src_init), (gst_push_src_create):
8518         * gst/base/gstpushsrc.h:
8519         * gst/elements/gstelements.c:
8520         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8521         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8522         (gst_fake_sink_init), (gst_fake_sink_set_property),
8523         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8524         (gst_fake_sink_event), (gst_fake_sink_preroll),
8525         (gst_fake_sink_render), (gst_fake_sink_change_state):
8526         * gst/elements/gstfakesink.h:
8527         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8528         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8529         (gst_fake_src_base_init), (gst_fake_src_class_init),
8530         (gst_fake_src_init), (gst_fake_src_event_handler),
8531         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8532         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8533         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8534         (gst_fake_src_create_buffer), (gst_fake_src_create),
8535         (gst_fake_src_start), (gst_fake_src_stop):
8536         * gst/elements/gstfakesrc.h:
8537         * gst/elements/gstfilesink.c: (_do_init),
8538         (gst_file_sink_base_init), (gst_file_sink_class_init),
8539         (gst_file_sink_init), (gst_file_sink_dispose),
8540         (gst_file_sink_set_location), (gst_file_sink_set_property),
8541         (gst_file_sink_get_property), (gst_file_sink_open_file),
8542         (gst_file_sink_close_file), (gst_file_sink_query),
8543         (gst_file_sink_event), (gst_file_sink_render),
8544         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8545         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8546         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8547         * gst/elements/gstfilesink.h:
8548         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8549         (gst_file_src_class_init), (gst_file_src_init),
8550         (gst_file_src_finalize), (gst_file_src_set_location),
8551         (gst_file_src_set_property), (gst_file_src_get_property),
8552         (gst_file_src_map_region), (gst_file_src_map_small_region),
8553         (gst_file_src_create_mmap), (gst_file_src_create_read),
8554         (gst_file_src_create), (gst_file_src_is_seekable),
8555         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8556         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8557         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8558         (gst_file_src_uri_handler_init):
8559         * gst/elements/gstfilesrc.h:
8560           more autistic cleanliness in functions/names/defines
8561
8562 2005-07-13  Andy Wingo  <wingo@pobox.com>
8563
8564         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8565         source couldn't negotiate.
8566
8567         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8568         connections again.
8569
8570         * gst/gstutils.h:
8571         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8572         function. I am channeling Hades. Put your boots on suckers!!!
8573
8574 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8575
8576         * testsuite/caps/Makefile.am:
8577         * testsuite/caps/value_compare.c:
8578         * testsuite/caps/value_intersect.c:
8579         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8580           move two testsuite apps over to the check dir
8581
8582 2005-07-12  Wim Taymans  <wim@fluendo.com>
8583
8584         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8585         Added more debug info in the negotiate process.
8586
8587         * gst/gstmessage.h:
8588         Prepare for segment playback.
8589
8590         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8591         Better debugging.
8592
8593         * gst/gstutils.c:
8594         Some more docs.
8595
8596         * tools/gst-launch.c: (main):
8597         NULL pipeline on errors.
8598
8599 2005-07-12  Andy Wingo  <wingo@pobox.com>
8600
8601         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8602         not it comes from a malloc region. Make sure our copy gets freed.
8603
8604 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8605
8606         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8607         * check/gst/gstmessage.c: (GST_START_TEST):
8608         * check/gst/gststructure.c: (GST_START_TEST),
8609         (gst_structure_suite), (main):
8610           more testing
8611         * gst/gstelement.c: (gst_element_message_full):
8612           clean up GError and debug string now that they get copied
8613         * gst/gstmessage.c: (gst_message_new_error),
8614         (gst_message_new_warning), (gst_message_parse_error),
8615         (gst_message_parse_warning):
8616           use GST_TYPE_G_ERROR for structure_new, and take copies of
8617           arguments, so that we don't mess up refcounting
8618
8619 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8620
8621         * check/Makefile.am:
8622           add per-test valgrind targets
8623         * check/gst-libs/gdp.c: (GST_START_TEST),
8624         (gst_data_protocol_suite), (main):
8625           clean up
8626
8627 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8628
8629         * check/Makefile.am:
8630           instate more valgrindable tests
8631         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8632         (GST_START_TEST), (fakesrc_suite):
8633         * check/gst/gstpad.c: (GST_START_TEST):
8634         * check/gst/gststructure.c: (GST_START_TEST):
8635           fix test leaks
8636         * docs/gst/tmpl/gstminiobject.sgml:
8637         * gst/gstpad.c: (gst_pad_finalize):
8638           fix the static mutex leak
8639
8640 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8641
8642         * check/Makefile.am:
8643           add two more tests for valgrinding
8644         * check/gst/gstvalue.c: (GST_START_TEST):
8645           test refcount of deserialized buffer, found a leak
8646         * docs/gst/gstreamer-docs.sgml:
8647         * docs/gst/gstreamer-sections.txt:
8648         * docs/gst/gstreamer.types:
8649         * docs/gst/tmpl/gstminiobject.sgml:
8650           add miniobject to docs
8651         * gst/gstminiobject.c:
8652           add some docs
8653         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8654         (gst_string_unwrap):
8655           fix a hard-to-find invalid write for one of the tests
8656           fix a leak for deserialized buffers
8657
8658 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8659
8660         * docs/pwg/advanced-events.xml:
8661         * docs/pwg/advanced-request.xml:
8662         * docs/pwg/advanced-scheduling.xml:
8663         * docs/pwg/appendix-porting.xml:
8664         * docs/pwg/building-boiler.xml:
8665         * docs/pwg/intro-preface.xml:
8666         * docs/pwg/other-ntoone.xml:
8667           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8668           of example code and explanation for pad activation, loop() and
8669           getrange() functions and a bit more. Remove old comments pointing
8670           to loop-functions.
8671         * examples/pwg/Makefile.am:
8672           Add loop/getrange examples.
8673
8674 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8675
8676         * configure.ac:
8677           check for valgrind binary + some fixes
8678         * check/gst.supp:
8679           valgrind suppressions for the tests
8680         * check/Makefile.am:
8681           add a valgrind: target that valgrinds the unit tests
8682         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8683         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8684         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8685         * check/gst/gstghostpad.c:
8686           added some cleanup
8687         * check/gst/gstdata.c:
8688           removed
8689         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8690         (thread_unref), (gst_mini_object_suite), (main):
8691           added
8692         * gst/gst.c: (gst_deinit):
8693         * gst/gst.h:
8694           add a method to clean up.
8695         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8696         (gst_system_clock_obtain):
8697           allow for disposing the system clock.
8698         * tools/gst-launch.c: (main):
8699           deinit
8700
8701 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8702
8703         * docs/gst/tmpl/gstbasesrc.sgml:
8704         * docs/gst/tmpl/gstfakesrc.sgml:
8705         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8706         (gst_base_src_init), (gst_base_src_set_property),
8707         (gst_base_src_get_property), (gst_base_src_get_range),
8708         (gst_base_src_start):
8709         * gst/base/gstbasesrc.h:
8710           add num-buffers property
8711         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8712         (gst_fakesrc_init), (gst_fakesrc_set_property),
8713         (gst_fakesrc_get_property), (gst_fakesrc_create),
8714         (gst_fakesrc_start):
8715           remove num-buffers property
8716
8717 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8718
8719         * docs/gst/gstreamer-sections.txt:
8720         * docs/gst/tmpl/gstbasesink.sgml:
8721         * docs/gst/tmpl/gstbasesrc.sgml:
8722         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8723         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8724         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8725         (gst_base_sink_set_property), (gst_base_sink_get_property),
8726         (gst_base_sink_handle_object), (gst_base_sink_event),
8727         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8728         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8729         (gst_base_sink_loop), (gst_base_sink_deactivate),
8730         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8731         (gst_base_sink_change_state):
8732         * gst/base/gstbasesink.h:
8733         * gst/base/gstbasesrc.h:
8734         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8735         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8736         (gst_filesink_init):
8737           more macro splitting
8738
8739 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8740
8741         * gst/gstelement.c: (gst_element_get_bus):
8742           add debug
8743         * tools/gst-launch.c: (check_intr), (event_loop):
8744           fix bus leaks
8745
8746 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8747
8748         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8749           fix a caps leak
8750
8751 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8752
8753         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8754         (gst_base_src_finalize):
8755           add finalize method and clean up properly
8756         * gst/gstpipeline.c: (gst_pipeline_dispose):
8757           add debug
8758
8759 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8760
8761         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8762         (gst_bin_suite):
8763           add more things to check
8764         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8765         * gst/gstelement.c:
8766           more debug
8767
8768 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8769
8770         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8771         (GST_START_TEST), (fakesrc_suite):
8772         * check/gst-libs/gdp.c: (GST_START_TEST):
8773         * check/gst/gst.c: (GST_START_TEST):
8774         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8775         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8776         * check/gst/gstbus.c: (GST_START_TEST):
8777         * check/gst/gstcaps.c: (GST_START_TEST):
8778         * check/gst/gstdata.c: (GST_START_TEST):
8779         * check/gst/gstelement.c: (GST_START_TEST):
8780         * check/gst/gstghostpad.c: (GST_START_TEST):
8781         * check/gst/gstiterator.c: (GST_START_TEST):
8782         * check/gst/gstmessage.c: (GST_START_TEST):
8783         * check/gst/gstobject.c: (GST_START_TEST):
8784         * check/gst/gstpad.c: (GST_START_TEST):
8785         * check/gst/gststructure.c: (GST_START_TEST):
8786         * check/gst/gstsystemclock.c: (GST_START_TEST),
8787         (gst_systemclock_suite):
8788         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8789         * check/gst/gstvalue.c: (GST_START_TEST):
8790         * check/pipelines/cleanup.c: (GST_START_TEST):
8791         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8792         * check/states/sinks.c: (GST_START_TEST):
8793         * check/gstcheck.c: (gst_check_init):
8794         * check/gstcheck.h:
8795           add debugging category
8796           use GST_START_TEST now, so we add a debug line
8797
8798 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8799
8800         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8801           add test for state change message on a bin
8802         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8803           add another test
8804         * gst/gstbin.c: (gst_bin_init):
8805         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8806         * gst/gstelement.c: (gst_element_post_message),
8807         (gst_element_set_state):
8808         * gst/gstelementfactory.c: (gst_element_factory_create):
8809         * gst/gstmessage.c: (gst_message_new):
8810         * gst/gstscheduler.c:
8811           various debugging additions and cleanups
8812
8813 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8814
8815         * check/Makefile.am:
8816         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8817         (main):
8818           adding tests for elements
8819         * gst/gstelement.c: (gst_element_dispose):
8820
8821 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8822
8823         * gst/registries/gstlibxmlregistry.c: (load_feature):
8824           plug more leaks.  A simple gst_init() now is leakfree, yay.
8825
8826 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8827
8828         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8829         (gst_xml_registry_load):
8830           plug another memleak
8831
8832 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8833
8834         * configure.ac:
8835           use GST_SET_ERROR_CFLAGS
8836         * docs/faq/cvs.xml:
8837           change to ERROR_CFLAGS
8838
8839 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8840
8841         * configure.ac:
8842           make GST_ERROR_CFLAGS overridable and re-enable Werror
8843         * docs/faq/cvs.xml:
8844           add a note about error CFLAGS
8845         * docs/gst/tmpl/gstfakesrc.sgml:
8846         * gst/elements/gstfakesrc.c:
8847           comment out some unused code
8848         * gst/gst.c: (split_and_iterate):
8849         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8850         (load_feature):
8851           plug some memleaks
8852
8853 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8854
8855         * common/Makefile.am:
8856         * common/gtk-doc.mak:
8857         * docs/gst/Makefile.am:
8858           factor out gtk-doc.mak
8859
8860 2005-07-07  Wim Taymans  <wim@fluendo.com>
8861
8862         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8863         (gst_thread_scheduler_dispose):
8864         Unlock the STREAM_LOCK completely.
8865
8866 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8867
8868         * check/Makefile.am:
8869         * check/elements/.cvsignore:
8870         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8871         (START_TEST), (fakesrc_suite), (main):
8872         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8873         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8874         (gst_fakesrc_create), (gst_fakesrc_start):
8875         * gst/elements/gstfakesrc.h:
8876           adding a first element test
8877
8878 2005-07-07  Andy Wingo  <wingo@pobox.com>
8879
8880         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8881         debug message.
8882
8883 2005-07-07  Wim Taymans  <wim@fluendo.com>
8884
8885         * gst/gstquery.c:
8886         * gst/gstquery.h:
8887         Remove old types
8888
8889 2005-07-07  Wim Taymans  <wim@fluendo.com>
8890
8891         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8892         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8893         Allow subclasses to implement their own negotiation.
8894
8895 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8896
8897         * docs/design/part-gstbin.txt:
8898         * docs/design/part-gstpipeline.txt:
8899           Update design notes to reflect the movement of
8900           responsibility for bus handling from GstPipeline to
8901           GstBin
8902
8903 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8904
8905         * configure.ac:
8906           Remove unnecessary queue2/3/4 examples.
8907
8908 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8909
8910         * examples/Makefile.am:
8911         * examples/helloworld/helloworld.c: (event_loop), (main):
8912         * examples/queue/queue.c: (event_loop), (main):
8913         * examples/queue2/queue2.c: (main):
8914           Update a couple of the examples to work again.
8915
8916         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8917         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8918          Spelling corrections and extra debug.
8919         
8920         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8921         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8922         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8923         * gst/gstbin.h:
8924         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8925         (gst_pipeline_change_state):
8926         * gst/gstpipeline.h:
8927           Move the bus handler for children to the GstBin, and create a
8928           separate bus for receiving messages from children to the one the
8929           bus sends 'upwards' on.
8930
8931 2005-07-06  Wim Taymans  <wim@fluendo.com>
8932
8933         * gst/base/README:
8934         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8935         (gst_base_sink_handle_object), (gst_base_sink_loop),
8936         (gst_base_sink_change_state):
8937         * gst/base/gstbasesink.h:
8938         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8939         (gst_base_src_init), (gst_base_src_setcaps),
8940         (gst_base_src_getcaps), (gst_base_src_loop),
8941         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8942         (gst_base_src_start), (gst_base_src_change_state):
8943         * gst/base/gstbasesrc.h:
8944         Make basesrc negotiate.
8945         Handle the case where preroll fails in basesink.
8946         Update README.
8947
8948 2005-07-06  Wim Taymans  <wim@fluendo.com>
8949
8950         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8951         Implement the fixate function.
8952         Clean up acceptcaps.
8953
8954 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8955
8956         * docs/pwg/building-filterfactory.xml:
8957         * docs/pwg/pwg.xml:
8958           Remove never-written filter-factory chapter; I'll add the various
8959           base classes to part 4 ("other element types") later on.
8960
8961 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8962
8963         * docs/pwg/advanced-negotiation.xml:
8964         * docs/pwg/building-boiler.xml:
8965         * docs/pwg/building-pads.xml:
8966         * docs/pwg/pwg.xml:
8967         * examples/pwg/Makefile.am:
8968           Add a chapter on caps negotiation, simplify the original code
8969           samples a bit w.r.t. caps negotiation, add link to the advanced
8970           section. Add a bunch of examples showing different use cases of
8971           different types of caps negotiation. Upstream renegotiation isn't
8972           fully documented yet since nobody knows how that works.
8973
8974 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8975
8976         * check/gst/gstpad.c:
8977         * check/gstcheck.c:
8978         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8979           if pad has no parent, return NULL as list of internal links
8980
8981 2005-07-05  Andy Wingo  <wingo@pobox.com>
8982
8983         * gst/elements/gstfilesrc.c:
8984         * gst/elements/gstfakesrc.c: 
8985         * gst/base/gstpushsrc.c:
8986         * gst/base/gstbasesrc.h: 
8987         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8988         
8989 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8990
8991         * Makefile.am:
8992           better report generation target (lcov needs a patch)
8993
8994 2005-07-05  Andy Wingo  <wingo@pobox.com>
8995
8996         * gst/elements, testsuite: Null if we got it...
8997
8998 2005-07-05  Wim Taymans  <wim@fluendo.com>
8999
9000         * configure.ac:
9001         * libs/gst/dataprotocol/Makefile.am:
9002         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9003         * libs/gst/dataprotocol/dataprotocol.h:
9004         * pkgconfig/Makefile.am:
9005         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9006         * pkgconfig/gstreamer-dataprotocol.pc.in:
9007         Ported dataprotol to 0.9. 
9008         Added pkgconfig files.
9009
9010 2005-07-05  Andy Wingo  <wingo@pobox.com>
9011
9012         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9013         Default to returning TRUE for the case when tranform_caps returns
9014         a fixed caps, like for identity or volume.
9015
9016         * check/gst/gstbus.c (pound_bus_with_messages): 
9017         * check/gst/gstmessage.c (START_TEST): 
9018         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9019         message API change.
9020
9021         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9022         logic weaks here: always run transform_caps, trying passthrough
9023         operation only if the original caps intersects with the transform.
9024
9025         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9026         source and sink caps.
9027
9028         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9029         Intersect the peer caps with the pad template before going into
9030         transform_caps.
9031         (gst_base_transform_transform_caps): More debugging.
9032
9033         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9034         src argument.
9035
9036 2005-07-04  Edward Hervey  <edward@fluendo.com>
9037
9038         * gst/gstutils.c:
9039         * gst/gstutils.h:
9040         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9041         in bindings.
9042
9043 2005-07-04  Andy Wingo  <wingo@pobox.com>
9044
9045         * check/gst/gstpad.c: Only set explicit caps on pads.
9046
9047 2005-07-01  Andy Wingo  <wingo@pobox.com>
9048
9049         * tests/network-clock.scm: Commentary update.
9050
9051         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9052         Didn't really make sense, not implementable with basetransform,
9053         etc.
9054         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9055         attempt at implementing the sync property, needs an unlock method.
9056
9057         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9058         New func, by default returns the same caps (the identity
9059         transformation).
9060         (gst_base_transform_getcaps): Uses transform_caps to return
9061         something sensible.
9062         (gst_base_transform_setcaps): Complicated logic to get caps on
9063         both pads, even if they are different, and to call set_caps once
9064         for every time both pads get their caps set.
9065         (gst_base_transform_handle_buffer): Give the ref to the transform
9066         function. Allows in-place modification of the buffer.
9067
9068         * gst/base/gstbasetransform.h (transform_caps): New class method.
9069         Given caps on one side, what can I do on the other.
9070         (set_caps): Take two caps, one for each side of the element.
9071
9072         * gst/gstpad.h:
9073         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9074         caps in place. This is safe because we can check the mutability of
9075         the caps, and a good idea because fixate functions are just called
9076         as a matter of last resort. (Not actually implemented.)
9077         (gst_pad_set_caps): If the caps we're setting is actually the same
9078         as the existing pad caps, just update the pointer without calling
9079         setcaps. Assert that caps is either NULL or fixed, as per the
9080         docs.
9081
9082         * gst/gstghostpad.c: Update for fixate changes.
9083
9084 2005-07-02  Andy Wingo  <wingo@pobox.com>
9085
9086         * gst/gstcaps.c:
9087         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9088         two refcounts makes it immutable, which is enough. Doc more.
9089
9090 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9091
9092         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9093           Put the mini_object into GValue as a mini_object,
9094           not a gpointer, since that's how we declared
9095           the signal.
9096
9097 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9098
9099         * examples/pwg/Makefile.am:
9100           Fix buildbot again.
9101
9102 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9103
9104         * docs/pwg/building-testapp.xml:
9105           Add extra check.
9106         * examples/pwg/Makefile.am:
9107           Fix buildbot.
9108
9109 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9110
9111         * configure.ac:
9112         * examples/Makefile.am:
9113         * examples/pwg/Makefile.am:
9114         * examples/pwg/extract.pl:
9115           Enable building the PWG examples.
9116         * docs/pwg/advanced-interfaces.xml:
9117           Add URI interface stub.
9118         * docs/pwg/advanced-types.xml:
9119         * docs/pwg/other-autoplugger.xml:
9120         * docs/pwg/appendix-porting.xml:
9121         * docs/pwg/pwg.xml:
9122           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9123         * docs/pwg/building-boiler.xml:
9124         * docs/pwg/building-chainfn.xml:
9125         * docs/pwg/building-pads.xml:
9126         * docs/pwg/building-props.xml:
9127         * docs/pwg/building-state.xml:
9128         * docs/pwg/building-testapp.xml:
9129           Update the building-*.xml parts for 0.9 changes. All examples
9130           code blocks compile in examples/pwg/*.
9131
9132 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9133
9134         * docs/manual/advanced-autoplugging.xml:
9135         * docs/manual/appendix-checklist.xml:
9136         * docs/manual/appendix-integration.xml:
9137         * docs/manual/highlevel-components.xml:
9138           Fix playbin/decodebin examples, update docs a bit, mention bus
9139           instead of signals in various places, mention kmplayer and
9140           kaffeine since they have a working GStreamer backend in the KDE
9141           section.
9142
9143 2005-06-30  Wim Taymans  <wim@fluendo.com>
9144
9145         * CHANGES-0.9:
9146         * docs/design/draft-ghostpads.txt:
9147         * docs/design/draft-push-pull.txt:
9148         * docs/design/draft-query.txt:
9149         * docs/design/part-TODO.txt:
9150         * docs/design/part-query.txt:
9151         Added CHANGES-0.9 doc, updated status of other docs.
9152         
9153         * gst/gstquery.h:
9154         Remove "hmm" macro
9155
9156 2005-06-30  Wim Taymans  <wim@fluendo.com>
9157
9158         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9159         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9160         (gst_base_sink_change_state):
9161         * gst/base/gstbasesink.h:
9162         Some tweaks, only EOS and a buffer complete a preroll.
9163
9164 2005-06-30  Andy Wingo  <wingo@pobox.com>
9165
9166         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9167         activate_push down to the internal pad as well.
9168
9169 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9170
9171         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9172
9173         * gst/gsttaginterface.c:
9174           Some documentation fixes (#307394 and #307397).
9175
9176 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9177
9178         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9179
9180         * gst/gstvalue.c: (gst_value_intersect_list):
9181           Fix memleak (#309125).
9182
9183 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9184
9185         * docs/manual/advanced-dataaccess.xml:
9186           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9187         * docs/manual/basics-pads.xml:
9188           Add reference for filtered caps to above chapter.
9189
9190 2005-06-30  Wim Taymans  <wim@fluendo.com>
9191
9192         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9193         (gst_bin_change_state):
9194         Probes are gone.
9195         Lame attempt at making the state change function a bit
9196         more readable.
9197
9198 2005-06-30  Wim Taymans  <wim@fluendo.com>
9199
9200         * docs/design/part-clocks.txt:
9201         * docs/design/part-element-sink.txt:
9202         * docs/design/part-events.txt:
9203         * docs/design/part-preroll.txt:
9204         * docs/design/part-states.txt:
9205         Some more tweeks and additions to the docs.
9206
9207 2005-06-30  Wim Taymans  <wim@fluendo.com>
9208
9209         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9210         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9211         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9212         (gst_pad_check_pull_range), (gst_pad_get_range),
9213         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9214         * gst/gstpad.h:
9215         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9216         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9217         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9218         (gst_pad_remove_buffer_probe):
9219         Removed atomic operations, use existing LOCK.
9220         Move exception handling out of main code path.
9221
9222 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9223
9224         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9225         (silly_return_true_function), (gst_pad_class_init),
9226         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9227         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9228         (gst_pad_send_event):
9229           Fix accumulator, add default value by using _emitv() instead
9230           of _emit() for signal emission.
9231
9232 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9233
9234         * docs/manual/advanced-dataaccess.xml:
9235         * examples/manual/Makefile.am:
9236           Add probe example.
9237         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9238           Make work (??).
9239
9240 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9241
9242         * gst/elements/gstfilesink.c: (gst_filesink_render):
9243           Simplify code so that we don't have to handle short
9244           writes and return GST_FLOW_ERROR if an error occured.
9245
9246 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9247
9248         * docs/gst/gstreamer-docs.sgml:
9249           Remove probes more.
9250
9251 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9252
9253         * docs/gst/gstreamer-sections.txt:
9254         * docs/gst/tmpl/gstpad.sgml:
9255         * docs/gst/tmpl/gstprobe.sgml:
9256         * gst/Makefile.am:
9257         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9258         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9259         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9260         (gst_pad_push_event), (gst_pad_send_event):
9261         * gst/gstpad.h:
9262         * gst/gstutils.c: (gst_pad_add_data_probe),
9263         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9264         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9265         (gst_pad_remove_buffer_probe):
9266         * gst/gstutils.h:
9267           Remove old probes, add new g-signal-based probes and some utility
9268           functions.
9269
9270 2005-06-29  Edward Hervey  <edward@fluendo.com>
9271
9272         * gst/gstelementfactory.c:
9273         * gst/gstutils.h:
9274         * gst/gstutils.c:
9275         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9276         the definition to the header file.
9277
9278 2005-06-29  Andy Wingo  <wingo@pobox.com>
9279
9280         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9281         plugins from the source directory.
9282
9283 2005-06-29  Wim Taymans  <wim@fluendo.com>
9284
9285         * docs/gst/tmpl/gstbuffer.sgml:
9286         * docs/gst/tmpl/gstclock.sgml:
9287         Some fixings for blantently wrong text.
9288
9289 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9290
9291         * check/Makefile.am:
9292         * gst/gst.c: (add_path_func), (init_pre):
9293         * gst/gstregistry.c: (gst_registry_add_path):
9294           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9295           only scan the GST_PLUGIN_PATH locations, and not add
9296           system locations
9297
9298 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9299
9300         * docs/gst/gstreamer-sections.txt:
9301         * docs/gst/tmpl/gstbasesrc.sgml:
9302         * gst/gstelement.c:
9303         * gst/gstelement.h:
9304         * gst/gstevent.c:
9305         * gst/gstutils.c:
9306           doc fixes
9307
9308 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9309
9310         * docs/manual/advanced-autoplugging.xml:
9311           Fix autoplugging example.
9312
9313 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9314
9315         * docs/manual/advanced-autoplugging.xml:
9316         * docs/manual/mime-world.fig:
9317           Try to get autoplugging working, fix type detection. Fix text
9318           in hello-world image.
9319
9320 2005-06-29  Wim Taymans  <wim@fluendo.com>
9321
9322         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9323         (gst_base_sink_change_state):
9324         Small debug line.
9325
9326         * gst/gstclock.h:
9327         map SIGNAL and BROADCAST to the right function.
9328
9329         * gst/gstobject.h:
9330         Remove redundant braces.
9331
9332         * gst/gstpad.c: (gst_pad_set_caps):
9333         Don't call setcaps function when reseting caps to NULL.
9334
9335         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9336         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9337         (gst_system_clock_id_unschedule):
9338         Use BROADCAST as this is what we do.
9339
9340 2005-06-29  Wim Taymans  <wim@fluendo.com>
9341
9342         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9343         We are actually prerolling before commiting the state
9344         change. 
9345
9346 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9347
9348         * docs/manual/advanced-clocks.xml:
9349         * docs/manual/advanced-interfaces.xml:
9350         * docs/manual/advanced-metadata.xml:
9351         * docs/manual/advanced-position.xml:
9352         * docs/manual/advanced-schedulers.xml:
9353         * docs/manual/advanced-threads.xml:
9354         * docs/manual/appendix-porting.xml:
9355         * docs/manual/basics-bins.xml:
9356         * docs/manual/basics-bus.xml:
9357         * docs/manual/basics-elements.xml:
9358         * docs/manual/basics-helloworld.xml:
9359         * docs/manual/basics-pads.xml:
9360         * docs/manual/highlevel-components.xml:
9361         * docs/manual/manual.xml:
9362         * docs/manual/thread.fig:
9363           Update (until threads/scheduling) Application Development Manual;
9364           remove GstThread, add GstBus, add simple porting checklist, add
9365           documentation for tag writing, clocks, make all examples until this
9366           part compile and run.
9367         * examples/manual/Makefile.am:
9368           Update from changes to Application Development Manual; add bus
9369           example, remove thread example.
9370
9371 2005-06-28  Wim Taymans  <wim@fluendo.com>
9372
9373         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9374         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9375         (gst_bus_source_dispatch):
9376         Add debugging messages.
9377         Make internal methods static.
9378         Handle the case where the bus is flushed in the handler.
9379         
9380         * gst/gstelement.c: (gst_element_get_bus):
9381         Fix refcount in _get_bus();
9382
9383         * gst/gstpipeline.c: (gst_pipeline_change_state),
9384         (gst_pipeline_get_clock_func):
9385         Clock refcounting fixes.
9386         Handle the case where preroll timed out more gracefully.
9387         
9388         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9389         Clean up the internal thread in dispose. This is needed
9390         for subclasses that actually get disposed.
9391         
9392         * gst/schedulers/threadscheduler.c:
9393         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9394         (gst_thread_scheduler_dispose):
9395         Free thread pool in dispose.
9396
9397 2005-06-28  Andy Wingo  <wingo@pobox.com>
9398
9399         * tests/network-clock-utils.scm (debug, print-event): New utils.
9400
9401         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9402         (*packet-loss*): Unified loss probability.
9403         (network-time): Report out-of-band events.
9404
9405         * tests/plot-data: Add support for out-of-band events. Hack it
9406         into this script instead of passing it down the pipe; should fix
9407         this later.
9408
9409 2005-06-28  Wim Taymans  <wim@fluendo.com>
9410
9411         * docs/gst/gstreamer.types:
9412         * docs/gst/tmpl/gstbasesrc.sgml:
9413         * docs/gst/tmpl/gstpad.sgml:
9414         Docs fixes.
9415
9416 2005-06-28  Wim Taymans  <wim@fluendo.com>
9417
9418         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9419         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9420         (gst_proxy_pad_do_fixatecaps):
9421         Correctly proxy the check_pull_range function.
9422
9423 2005-06-28  Andy Wingo  <wingo@pobox.com>
9424
9425         * tests/network-clock.scm: Removed need for slib.
9426         
9427 2005-06-28  Wim Taymans  <wim@fluendo.com>
9428
9429         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9430         (gst_basesink_preroll_queue_flush):
9431         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9432         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9433         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9434         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9435         (gst_proxy_pad_set_property):
9436         * gst/gstpad.c:
9437         * gst/gstpad.h:
9438         * gst/gstqueue.c: (gst_queue_init):
9439         The deprecated pad loop function is removed now.
9440
9441 2005-06-28  Andy Wingo  <wingo@pobox.com>
9442
9443         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9444         New parameters, simulate network packet loss.
9445
9446         * tests/network-clock-utils.scm: Initialize the RNG.
9447
9448 2005-06-28  Wim Taymans  <wim@fluendo.com>
9449
9450         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9451         (gst_basesink_event), (gst_basesink_deactivate):
9452         Flushing the preroll queue always needs to unlock the waiters.
9453
9454 2005-06-28  Edward Hervey  <edward@fluendo.com>
9455
9456         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9457         Wheen a seek was successful on a pipeline, set the stream_time to the
9458         seek offset in order to have a synchronized stream_time.
9459
9460 2005-06-28  Wim Taymans  <wim@fluendo.com>
9461
9462         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9463         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9464         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9465         (gst_proxy_pad_do_fixatecaps):
9466         Call wrapper function instead of just calling the function
9467         pointers. This takes care of any locking and whatmore.
9468
9469 2005-06-28  Wim Taymans  <wim@fluendo.com>
9470
9471         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9472         (gst_pad_pull_range):
9473         * gst/gstpad.h:
9474         CONNECTED -> LINKED.
9475
9476 2005-06-28  Andy Wingo  <wingo@pobox.com>
9477
9478         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9479         source-munging commit!!!
9480
9481         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9482         (gst_object_sink): Take gpointer arguments, not GstObject --
9483         avoids casts. Like GLib.
9484
9485         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9486         activate.
9487
9488 2005-06-27  Andy Wingo  <wingo@pobox.com>
9489
9490         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9491         remaining buffer.
9492
9493         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9494         returns a sorted copy of the trace list.
9495         (gst_alloc_trace_print_live): New API, only prints traces with
9496         live objects. Sort the list.
9497         (gst_alloc_trace_print_all): Sort the list.
9498         (gst_alloc_trace_print): Align columns.
9499
9500         * gst/elements/gstttypefindelement.c:
9501         * gst/elements/gsttee.c:
9502         * gst/base/gstbasesrc.c:
9503         * gst/base/gstbasesink.c:
9504         * gst/base/gstbasetransform.c:
9505         * gst/gstqueue.c: Adapt for pad activation changes.
9506
9507         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9508         sched.
9509         (gst_pipeline_dispose): Drop ref on sched.
9510
9511         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9512         (gst_pad_activate_default): Push mode by default.
9513         (pre_activate_switch, post_activate_switch): New stubs, things to
9514         do before and after switching activation modes on pads.
9515         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9516         the pad's activate function to choose which mode to activate.
9517         Shortcut on deactivation and call the right function directly.
9518         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9519         mode.
9520         (gst_pad_activate_push): New API, same for push mode.
9521         (gst_pad_set_activate_function) 
9522         (gst_pad_set_activatepull_function) 
9523         (gst_pad_set_activatepush_function): Setters for new API.
9524
9525         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9526         Trace all miniobjects.
9527         (gst_mini_object_make_writable): Unref the arg if we copy, like
9528         gst_caps_make_writable.
9529
9530         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9531
9532         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9533         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9534         Adapt for new pad API.
9535
9536         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9537
9538         * gst/gstelement.h:
9539         * gst/gstelement.c (gst_element_iterate_src_pads) 
9540         (gst_element_iterate_sink_pads): New API functions.
9541         
9542         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9543         should fold into gstiterator.c in some form.
9544         (gst_element_pads_activate): Simplified via use of fold and
9545         delegation of decisions to gstpad->activate.
9546
9547         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9548         help in debugging.
9549
9550         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9551         class once in init, like gstmessage. Didn't run into this issue
9552         but it seems correct. Don't initialize a trace, gstminiobject does
9553         that.
9554
9555         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9556         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9557         to the bus.
9558         (assert_live_count): New util function, uses alloc traces to check
9559         cleanup.
9560
9561         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9562         To be modified when unlink drops the internal pad.
9563
9564 2005-06-27  Wim Taymans  <wim@fluendo.com>
9565
9566         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9567         (gst_bin_change_state):
9568         Cleanup the get_state() function a little, make sure it
9569         iterates the same set of elements.
9570         Added stub iterate_state_order().
9571
9572 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9573
9574         * docs/gst/gstreamer-docs.sgml:
9575         * docs/gst/gstreamer-sections.txt:
9576         * docs/gst/gstreamer.types:
9577         * docs/gst/tmpl/gstbasesink.sgml:
9578         * docs/gst/tmpl/gstbasesrc.sgml:
9579         * docs/gst/tmpl/gstbasetransform.sgml:
9580         * docs/gst/tmpl/gstelement.sgml:
9581         * docs/gst/tmpl/gstiterator.sgml:
9582         * gst/base/gstbasesrc.c:
9583         * gst/base/gstbasesrc.h:
9584         * gst/base/gstbasetransform.h:
9585         * gst/gstelement.c:
9586         * gst/gstiterator.h:
9587           adding basetransform and iterator docs
9588
9589 2005-06-27  Andy Wingo  <wingo@pobox.com>
9590
9591         * docs/design/part-activation.txt: Notes on how activation should
9592         work -- not quite implemented yet.
9593
9594 2005-06-25  Wim Taymans  <wim@fluendo.com>
9595
9596         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9597         At least get the chain function correct, needs more
9598         fixing.
9599
9600 2005-06-25  Wim Taymans  <wim@fluendo.com>
9601
9602         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9603         (gst_basesink_handle_object), (gst_basesink_event),
9604         (gst_basesink_do_sync), (gst_basesink_handle_event),
9605         (gst_basesink_change_state):
9606         * gst/gsttask.h:
9607         Right, two problems here: ghostpads don't take locks and
9608         glib _rec_mutex_lock_full() with depth==0 still locks.
9609         Catch illegal locking and g_warn them.
9610
9611 2005-06-25  Wim Taymans  <wim@fluendo.com>
9612
9613         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9614         Have to check for completion now...
9615
9616 2005-06-25  Wim Taymans  <wim@fluendo.com>
9617
9618         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9619         (gst_basesink_handle_object), (gst_basesink_event),
9620         (gst_basesink_do_sync), (gst_basesink_handle_event),
9621         (gst_basesink_change_state):
9622         * gst/gstpad.h:
9623         Unlock STREAM_LOCK whatever the recursion was.
9624
9625 2005-06-25  Wim Taymans  <wim@fluendo.com>
9626
9627         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9628         (gst_basesink_preroll_queue_empty),
9629         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9630         (gst_basesink_event), (gst_basesink_do_sync),
9631         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9632         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9633         (gst_basesink_change_state):
9634         Reworked the base sink, handle event and buffer serialisation
9635         correctly and removed possible deadlock.
9636         Handle EOS correctly.
9637
9638 2005-06-25  Wim Taymans  <wim@fluendo.com>
9639
9640         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9641         (gst_pipeline_change_state):
9642         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9643         Allow elements to post EOS in the state change function.
9644         Fix up -launch, make it exit the poll loop when the
9645         pipeline actually changed state.
9646         Fix up warning parsing in -launch.
9647
9648 2005-06-25  Wim Taymans  <wim@fluendo.com>
9649
9650         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9651         (gst_tee_sink_activate):
9652         Core takes STREAM_LOCK for us now.
9653
9654 2005-06-25  Wim Taymans  <wim@fluendo.com>
9655
9656         * gst/gstelement.c: (gst_element_get_state_func),
9657         (gst_element_set_state):
9658         * gst/gstelement.h:
9659         * gst/gstmessage.c: (gst_message_parse_error),
9660         (gst_message_parse_warning):
9661         Keep track of current target state while performing a state
9662         change so that subclasses can do something interesting.
9663         Fix parsing of warning/error messages when GError is NULL.
9664
9665 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9666
9667         * docs/gst/Makefile.am:
9668         * docs/gst/gstreamer-docs.sgml:
9669         * docs/gst/gstreamer-sections.txt:
9670         * docs/gst/gstreamer.types:
9671         * docs/gst/tmpl/gstbasesink.sgml:
9672         * docs/gst/tmpl/gstbasesrc.sgml:
9673         * docs/gst/tmpl/gstbin.sgml:
9674         * docs/gst/tmpl/gstcompat.sgml:
9675         * docs/gst/tmpl/gstfakesink.sgml:
9676         * docs/gst/tmpl/gstfakesrc.sgml:
9677         * docs/gst/tmpl/gstfilesink.sgml:
9678         * docs/gst/tmpl/gstfilesrc.sgml:
9679         * docs/gst/tmpl/gstindex.sgml:
9680         * docs/manual/appendix-quotes.xml:
9681         * gst/base/gstbasesrc.h:
9682         * gst/elements/gstfakesrc.h:
9683         * gst/gstmessage.h:
9684           start pulling in base classes and elements in our docs
9685
9686 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9687
9688         * docs/gst/Makefile.am:
9689         * docs/libs/Makefile.am:
9690           fixed make distcheck with gtk-doc 1.3
9691
9692 2005-06-23  Wim Taymans  <wim@fluendo.com>
9693
9694         * gst/gstelement.c: (gst_element_get_state_func),
9695         (gst_element_set_state), (gst_element_change_state):
9696         When the state did not change, also report NO_PREROLL
9697         when it matters.
9698
9699 2005-06-23  Wim Taymans  <wim@fluendo.com>
9700
9701         * gst/gstpad.c: (gst_pad_event_default):
9702         * gst/gstqueue.c: (gst_queue_loop):
9703         No unsafe task pausing please.
9704
9705 2005-06-23  Wim Taymans  <wim@fluendo.com>
9706
9707         * gst/schedulers/threadscheduler.c:
9708         (gst_thread_scheduler_task_start),
9709         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9710         Ref the task before pushing it on the threadpool. This
9711         makes sure that we have a ref when the threadfunction is
9712         actually called.
9713
9714 2005-06-23  Andy Wingo  <wingo@pobox.com>
9715
9716         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9717         offset is greater than the file's size.
9718
9719         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9720         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9721         * gst/gstobject.c (gst_object_class_init): Make the class lock
9722         recursive. Wim won't let me drop deep_notify. Decodebin works
9723         again, whoopdy doo.
9724
9725         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9726         internal pad, and hacks accordingly. Doesn't do it on the target
9727         pad because we change its caps. Probably catches all cases of
9728         interest tho.
9729         (gst_ghost_pad_set_property): Connect to notify::caps as
9730         appropritate.
9731
9732         * tests/network-clock.scm (plot-simulation): Pipe data to the
9733         elite python skript.
9734
9735         * tests/network-clock-utils.scm (define-parameter): New macro,
9736         defines a parameter that can be set via the command line.
9737         (set-parameter!, parse-parameter-arguments): Command line args
9738         parser.
9739
9740         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9741         stdin.
9742
9743 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9744
9745         * gst/elements/gsttypefindelement.c:
9746         (gst_type_find_element_handle_event):
9747           Don't restart typefinding on a discont.
9748         * gst/gstelement.c: (gst_element_set_state):
9749           Debug spelling fix.
9750         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9751           Allow changing mode of an active pad.
9752           Debug output fixes.
9753         * gst/registries/gstlibxmlregistry.c: (load_feature):
9754           Don't cast a static pad template to a normal pad template.
9755
9756 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9757
9758         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9759         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9760           remove gst_strtoll completely, since it didn't actually do
9761           anything more than what g_ascii_strtoull already does.
9762           check for range errors when deserializing
9763           do a cast for the unsigned cases; but further fixing needs
9764           a decision on what the interpretation of "(int)" and
9765           deserialization should be for values that fall outside the
9766           type's boundaries (ie, refuse, or interpret as casting)
9767
9768 2005-06-23  Wim Taymans  <wim@fluendo.com>
9769
9770         * check/Makefile.am:
9771         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9772         * docs/design/part-live-source.txt:
9773         * docs/design/part-states.txt:
9774         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9775         (gst_basesrc_set_live), (gst_basesrc_is_live),
9776         (gst_basesrc_get_range), (gst_basesrc_activate),
9777         (gst_basesrc_change_state):
9778         * gst/base/gstbasesrc.h:
9779         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9780         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9781         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9782         * gst/gstelement.c: (gst_element_get_state_func),
9783         (gst_element_set_state):
9784         * gst/gstelement.h:
9785         * gst/gsttypes.h:
9786         * tools/gst-launch.c: (event_loop), (main):
9787         Added support for live sources and other elements that
9788         cannot do preroll.
9789         Updated design docs, added live-source design doc.
9790         Implemented live source functionality in basesrc
9791         Fix error condition in _bin_get_state()
9792         Implement live source handling in -launch.
9793         Added check for live sources.
9794         Fixed case in GstBin where elements were changed state
9795         multiple times.
9796
9797
9798 2005-06-23  Andy Wingo  <wingo@pobox.com>
9799
9800         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9801         borken refcounting.
9802
9803         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9804         gst_caps_replace takes care of this for us.
9805
9806         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9807         gst_pad_set_caps on the target, not just its setcaps() function.
9808
9809         * tests/network-clock.scm: 
9810         * tests/network-clock-utils.scm: A network clock simulator.
9811         Something of an algorithmic testbed before doing something in C.
9812
9813 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9814
9815         * check/Makefile.am:
9816         * check/gst/capslist.h:
9817           copy over from 0.8, and add two with bitmasks specified with
9818           (int) 0xFF...
9819         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9820           add test to parse everything from capslist.h
9821         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9822         (main):
9823           add test for structure deserialization
9824         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9825           add tests for deserialization of strings to int types
9826         * gst/gststructure.c: (gst_structure_nth_field_name):
9827         * gst/gststructure.h:
9828           add a way to get the name of a field referenced by index
9829         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9830           instead of checking if the resulting long long lies between
9831           min and max, we check if the long long would fit into
9832           a number of bytes for the final type.
9833           This fixes cases where a string represents 2^32 - 1, which
9834           when cast to int would be the (valid) -1, but is bigger than
9835           G_MAXINT
9836
9837 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9838
9839         * gst/parse/grammar.y:
9840           add a log line for type deserialization
9841
9842 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9843
9844         * check/gst/gstvalue.c: (START_TEST):
9845         * gst/gstvalue.c: (gst_value_deserialize):
9846           return long long, not int, so gint64 deserialization actually
9847           works.  Is there any flag that makes the compiler check this ?
9848           Fixes #308559
9849
9850 2005-06-22  Wim Taymans  <wim@fluendo.com>
9851
9852         * gst/gstbuffer.h:
9853         Added convenience macros for setting buffers in GValue.
9854
9855 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9856
9857         * check/gst/.cvsignore:
9858         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9859           add a test deserializing int64, and comment part out because
9860           it fails, yay !
9861
9862 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9863
9864         * check/Makefile.am:
9865         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9866         * testsuite/Makefile.am:
9867         * testsuite/caps/Makefile.am:
9868         * testsuite/caps/value_serialize.c:
9869         * testsuite/test_gst_init.c:
9870           move a value_serialize test over
9871
9872 2005-06-20  Wim Taymans  <wim@fluendo.com>
9873
9874         * gst/gstpad.c:
9875         Small doc updates.
9876         
9877         * gst/gstvalue.c: (gst_value_compare_buffer),
9878         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9879         (gst_value_compare_flags), (gst_value_serialize_flags),
9880         (gst_value_deserialize_flags), (_gst_value_initialize):
9881         Fix serialisation of buffers, they are not boxed types anymore
9882
9883 2005-06-20  Wim Taymans  <wim@fluendo.com>
9884
9885         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9886         Testcase to show error in buffer-on-caps serialisation.
9887
9888 2005-06-20  Andy Wingo  <wingo@pobox.com>
9889
9890         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9891         will be adding to later.
9892
9893         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9894         if its socks fill with rocks.
9895         (gst_system_clock_obtain): Set the name on object construction.
9896         Avoid double-checked locking.
9897
9898 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9899
9900         * gst/gsturi.c: (gst_element_make_from_uri):
9901           Fix potential endless loop.
9902
9903 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9904
9905         * check/Makefile.am:
9906           add gsttag
9907         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9908         (main):
9909           move over from testsuite dir and clean up
9910         * configure.ac:
9911         * gst/gsttag.c:
9912         * testsuite/Makefile.am:
9913         * testsuite/tags/.cvsignore:
9914         * testsuite/tags/Makefile.am:
9915         * testsuite/tags/merge.c:
9916           remove testsuite/tags
9917
9918 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9919
9920         * docs/gst/gstreamer-sections.txt:
9921         * docs/gst/tmpl/gstenumtypes.sgml:
9922         * win32/gstenumtypes.c:
9923           clean up documentation build a little
9924
9925 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9926
9927         * check/gstcheck.h:
9928           add macros for checking refcounts on objects and caps
9929         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9930           add some more unit tests
9931         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9932         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9933           fix leaked refcounts (I hope :)) so unittest works
9934         * gst/gstpad.h:
9935           whitespace removal
9936
9937 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9938
9939         * configure.ac: back to HEAD
9940
9941 === release 0.9.1 ===
9942
9943 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9944
9945         * NEWS:
9946         * RELEASE:
9947           updated
9948
9949 2005-06-17  Andy Wingo  <wingo@pobox.com>
9950
9951         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9952         assert; it's always possible that the pad gets deactivated in
9953         between the checks in gstpad.c and the implementation. Rely on
9954         finish_preroll() to return a FLUSHING or similar instead of on the
9955         assert.
9956         
9957         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9958         clock and post an EOS message if we come out of finish_preroll in
9959         the playing state.
9960
9961 2005-06-16  David Schleef  <ds@schleef.org>
9962
9963         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9964         (gst_capsfilter_set_property): Allow NULL as possible value
9965         for filter_caps property, indicating GST_CAPS_ANY.
9966
9967 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9968
9969         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9970           fix debug output
9971         * gst/schedulers/Makefile.am:
9972           use libgst prefix
9973         * gstreamer.spec.in:
9974           fix spec for it
9975
9976 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9977
9978         * gstreamer.spec.in:
9979           clean up
9980
9981 2005-06-08  Andy Wingo  <wingo@pobox.com>
9982
9983         * gst/gstutils.c: RPAD fixes all around.
9984         (gst_element_link_pads): Refcounting fixes.
9985
9986         * tools/gst-inspect.c:
9987         * tools/gst-xmlinspect.c:
9988         * parse/grammar.y:
9989         * gst/base/gsttypefindhelper.c:
9990         * gst/base/gstbasesink.c:
9991         * gst/gstqueue.c: RPAD fixes.
9992
9993         * gst/gstghostpad.h:
9994         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9995         pads. The tricky thing is they provide both source and sink
9996         interfaces, since they proxy the internal pad for the external
9997         pad, and vice versa. Implement with lower-level ProxyPad objects,
9998         with the interior proxy pad as a child of the exterior ghost pad.
9999         Should write a doc on this.
10000         
10001         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10002         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10003         gst_object API.
10004         
10005         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10006         pads are real pads. No ghost pads in this file. Not documenting
10007         the myriad s/RPAD/PAD/ and REALIZE fixes.
10008         (gst_pad_class_init): Add properties for "direction" and
10009         "template". Both are construct-only, so they can't change during
10010         the life of the pad. Fixes properly deriving from GstPad.
10011         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10012         derived objects, just set properties when creating the objects via
10013         g_object_new.
10014         (gst_pad_get_parent): Implement as a function, return NULL if the
10015         parent is not an element.
10016         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10017         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10018         
10019         * gst/gstobject.c (gst_object_class_init): Make name a construct
10020         property. Don't set it in the object init.
10021
10022         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10023         with UNKNOWN direction.
10024         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10025         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10026         (gst_element_remove_pad): Remove ghost-pad special cases.
10027         (gst_element_pads_activate): Remove rpad cruft.
10028
10029         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10030         catch the pad's-parent-not-an-element case.
10031
10032         * gst/gst.h: Include gstghostpad.h.
10033
10034         * gst/gst.c (init_post): No more real, ghost pads.
10035
10036         * gst/Makefile.am: Add gstghostpad.[ch].
10037
10038         * check/Makefile.am:
10039         * check/gst/gstbin.c:
10040         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10041         into a bin creates ghost pads, and that the refcounts are right.
10042         Partly moved from gstbin.c.
10043
10044 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10045
10046         * check/gst-libs/.cvsignore:
10047         * check/gst/.cvsignore:
10048         * check/pipelines/.cvsignore:
10049           ignore more
10050         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10051         (START_TEST), (cleanup_suite), (main):
10052           add some tests related to cleanup after running pipelines
10053
10054 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10055
10056         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10057           add a testsuite for GstBuffer
10058
10059 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10060
10061         * gst/gstminiobject.h:
10062           add defines for accessing the refcount
10063
10064 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10065
10066         * Makefile.am: added support for html unit test coverage reports
10067
10068 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10069
10070         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10071           Free existing caps if the capsfilter changes. Add a FIXME about
10072           setting those caps on the pads.
10073
10074         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10075           Before adding a ghost pad to a parent bin, check that there isn't
10076           already one for the element on the bin. Prevents infinite recursion
10077           when using decodebin in parse pipelines. Andy says he'll rewrite the
10078           way this works anyway, so ignore the hack.
10079
10080 2005-06-02  Andy Wingo  <wingo@pobox.com>
10081
10082         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10083         file size, pass it on to the type find helper.
10084
10085         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10086         segment_start and segment_end properly according to the seek
10087         method. Segment_end is still a bit flaky because offset can be
10088         negative for CUR and END cases, but it takes -1 as an "unset"
10089         value.
10090
10091 2005-06-02  Wim Taymans  <wim@fluendo.com>
10092
10093         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10094         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10095         (gst_basesink_activate):
10096         * gst/base/gstbasesink.h:
10097         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10098         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10099         (gst_pad_query), (gst_pad_start_task):
10100         * gst/gstpad.h:
10101         * gst/gstqueue.c: (gst_queue_bufferalloc),
10102         (gst_queue_handle_sink_event), (gst_queue_chain):
10103         Bufferalloc: return GstFlowReturn to more accuratly report
10104         why allocation failed.
10105
10106 2005-06-02  Wim Taymans  <wim@fluendo.com>
10107
10108         * gst/gstpipeline.c: (gst_pipeline_send_event):
10109         Take snapshot of state without blocking.
10110
10111 2005-06-02  Wim Taymans  <wim@fluendo.com>
10112
10113         * docs/design/part-TODO.txt:
10114         * docs/design/part-caps.txt:
10115         * docs/design/part-clocks.txt:
10116         * docs/design/part-negotiation.txt:
10117         * docs/design/part-preroll.txt:
10118         Small doc updates 
10119
10120 2005-05-30  Wim Taymans  <wim@fluendo.com>
10121
10122         * gst/elements/gstidentity.c: (gst_identity_event),
10123         (gst_identity_transform), (gst_identity_get_property):
10124         Protect last_message property as it is accessed from
10125         multiple threads.
10126
10127 2005-05-30  Wim Taymans  <wim@fluendo.com>
10128
10129         * gst/gstelement.c: (gst_element_init),
10130         (gst_element_pads_activate), (gst_element_change_state):
10131         Slicker pad activation code.
10132
10133 2005-05-30  Wim Taymans  <wim@fluendo.com>
10134
10135         * gst/Makefile.am:
10136         * gst/gstelement.h:
10137         * gst/gstelementfactory.h:
10138         * gst/gsttypes.h:
10139         Move elementfactory methods to separate .h file.
10140
10141 2005-05-30  Wim Taymans  <wim@fluendo.com>
10142
10143         * docs/design/part-overview.txt:
10144         * gst/gstsystemclock.h:
10145         Small typo fixes, doc updates.
10146
10147 2005-05-30  Wim Taymans  <wim@fluendo.com>
10148
10149         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10150         (init_popt_callback):
10151         Remove cpu-opt flag.
10152
10153 2005-05-30  Wim Taymans  <wim@fluendo.com>
10154
10155         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10156         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10157         * gst/gstbuffer.h:
10158         Avoid typechecking in places where not needed.
10159         Added accessor for malloc_data.
10160
10161 2005-05-30  Wim Taymans  <wim@fluendo.com>
10162
10163         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10164         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10165         (gst_pad_configure_sink), (gst_pad_configure_src),
10166         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10167         (gst_pad_start_task):
10168         Propagate errors from _set_caps() in configure_src/sink
10169         functions instead of returning TRUE.
10170         FLUSH events can travel up and downstream
10171
10172
10173 2005-05-30  Wim Taymans  <wim@fluendo.com>
10174
10175         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10176         (gst_basesink_activate):
10177         Handle EOS in preroll.
10178
10179 2005-05-30  Wim Taymans  <wim@fluendo.com>
10180
10181         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10182         (gst_queue_loop), (gst_queue_handle_src_event):
10183         Remove old pieces of code
10184         Flushing the queue in an upstream event is a very bad idea.
10185
10186 2005-05-26  Andy Wingo  <wingo@pobox.com>
10187
10188         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10189         gst_value_set_mini_object so as to add a ref on the object (which
10190         will be removed when the value is unset).
10191
10192         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10193         arg type in ::handoff.
10194
10195         * gst/gstelement.c (gst_element_change_state): Also deactivate
10196         pads in READY->NULL, just in case the element didn't make it to
10197         PAUSED. Wingo tested, Wim approved.
10198
10199 2005-05-26  Wim Taymans  <wim@fluendo.com>
10200
10201         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10202         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10203         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10204         A flushing pad cannot be used to alloc_buffer from.
10205
10206 2005-05-26  Wim Taymans  <wim@fluendo.com>
10207
10208         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10209         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10210         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10211         (gst_bus_create_watch), (gst_bus_add_watch_full):
10212         * gst/gstbus.h:
10213         Implement a real GSource and use g_main_context_wakeup() to
10214         signal new messages instead of the socketpair.
10215
10216 2005-05-25  Wim Taymans  <wim@fluendo.com>
10217
10218         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10219         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10220         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10221         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10222         (gst_pad_send_event), (gst_pad_start_task):
10223         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10224         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10225         (gst_queue_sink_activate), (gst_queue_src_activate),
10226         (gst_queue_change_state):
10227         * gst/gstqueue.h:
10228         Fix state changes for non sinks. We now change sinks, then elements
10229         with unconnected srcpads, then the rest.
10230         More efficient queue unlocking in flush and state changes.
10231         Set the pad activate mode even if it does not have an activate
10232         function.
10233
10234 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10235
10236         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10237           Don't go in pull mode for non-seekable sources.
10238         * gst/elements/gsttypefindelement.h:
10239         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10240         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10241         (free_entry), (stop_typefinding),
10242         (gst_type_find_element_handle_event), (find_peek),
10243         (gst_type_find_element_chain), (do_pull_typefind),
10244         (gst_type_find_element_change_state):
10245           Allow typefinding (w/o seeking) in push-mode, simplified version
10246           of what was in 0.8.
10247         * gst/gstutils.c: (gst_buffer_join):
10248         * gst/gstutils.h:
10249           gst_buffer_join() from 0.8.
10250
10251 2005-05-25  Wim Taymans  <wim@fluendo.com>
10252
10253         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10254         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10255         (gst_pad_send_event), (gst_pad_start_task):
10256         Disable attempt at mode switching until it is figured out.
10257
10258 2005-05-25  Wim Taymans  <wim@fluendo.com>
10259
10260         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10261         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10262         (gst_basesink_finish_preroll), (gst_basesink_chain),
10263         (gst_basesink_loop), (gst_basesink_activate),
10264         (gst_basesink_change_state):
10265         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10266         (gst_basesrc_get_range), (gst_basesrc_loop),
10267         (gst_basesrc_activate):
10268         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10269         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10270         (gst_real_pad_init), (gst_real_pad_set_property),
10271         (gst_real_pad_get_property), (gst_pad_set_active),
10272         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10273         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10274         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10275         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10276         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10277         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10278         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10279         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10280         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10281         (gst_pad_stop_task):
10282         * gst/gstpad.h:
10283         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10284         (gst_queue_loop), (gst_queue_src_activate):
10285         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10286         (gst_task_get_state):
10287         * gst/gsttask.h:
10288         * gst/schedulers/threadscheduler.c:
10289         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10290         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10291         in task function.
10292         Remove ACTIVE pad flag, use FLUSHING everywhere
10293         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10294         functions.
10295         Add locks around IS_FLUSHING when reading.
10296         Take STREAM lock in chain(), get_range() functions so plugins
10297         don't need to take it anymore.
10298         
10299
10300
10301 2005-05-25  Wim Taymans  <wim@fluendo.com>
10302
10303         * tools/gst-launch.c: (event_loop):
10304         Unref message after using its contents instead of
10305         before.
10306
10307 2005-05-24  Wim Taymans  <wim@fluendo.com>
10308
10309         * docs/design/draft-ghostpads.txt:
10310         * docs/design/draft-push-pull.txt:
10311         * docs/design/draft-query.txt:
10312         * docs/design/part-overview.txt:
10313         Docs updates, added general overview doc.
10314
10315 2005-05-21  David Schleef  <ds@schleef.org>
10316
10317         * docs/gst/tmpl/old/GstBin.sgml:
10318         * docs/gst/tmpl/old/GstBuffer.sgml:
10319         * docs/gst/tmpl/old/GstCaps.sgml:
10320         * docs/gst/tmpl/old/GstClock.sgml:
10321         * docs/gst/tmpl/old/GstCompat.sgml:
10322         * docs/gst/tmpl/old/GstData.sgml:
10323         * docs/gst/tmpl/old/GstElement.sgml:
10324         * docs/gst/tmpl/old/GstEvent.sgml:
10325         * docs/gst/tmpl/old/GstIndex.sgml:
10326         * docs/gst/tmpl/old/GstStructure.sgml:
10327         * docs/gst/tmpl/old/GstTag.sgml:
10328         * docs/gst/tmpl/old/cothreads.sgml:
10329         * docs/gst/tmpl/old/cothreads_compat.sgml:
10330         * docs/gst/tmpl/old/gettext.sgml:
10331         * docs/gst/tmpl/old/gobject2gtk.sgml:
10332         * docs/gst/tmpl/old/grammar.tab.sgml:
10333         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10334         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10335         * docs/gst/tmpl/old/gst_private.sgml:
10336         * docs/gst/tmpl/old/gstaggregator.sgml:
10337         * docs/gst/tmpl/old/gstarch.sgml:
10338         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10339         * docs/gst/tmpl/old/gstbufferstore.sgml:
10340         * docs/gst/tmpl/old/gstdata_private.sgml:
10341         * docs/gst/tmpl/old/gstdisksink.sgml:
10342         * docs/gst/tmpl/old/gstdisksrc.sgml:
10343         * docs/gst/tmpl/old/gstelementfactory.sgml:
10344         * docs/gst/tmpl/old/gstextratypes.sgml:
10345         * docs/gst/tmpl/old/gstfakesink.sgml:
10346         * docs/gst/tmpl/old/gstfakesrc.sgml:
10347         * docs/gst/tmpl/old/gstfdsink.sgml:
10348         * docs/gst/tmpl/old/gstfdsrc.sgml:
10349         * docs/gst/tmpl/old/gstfilesink.sgml:
10350         * docs/gst/tmpl/old/gstfilesrc.sgml:
10351         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10352         * docs/gst/tmpl/old/gstidentity.sgml:
10353         * docs/gst/tmpl/old/gstindexfactory.sgml:
10354         * docs/gst/tmpl/old/gstmarshal.sgml:
10355         * docs/gst/tmpl/old/gstmd5sink.sgml:
10356         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10357         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10358         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10359         * docs/gst/tmpl/old/gstpipefilter.sgml:
10360         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10361         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10362         * docs/gst/tmpl/old/gstshaper.sgml:
10363         * docs/gst/tmpl/old/gstspider.sgml:
10364         * docs/gst/tmpl/old/gstspideridentity.sgml:
10365         * docs/gst/tmpl/old/gststatistics.sgml:
10366         * docs/gst/tmpl/old/gsttee.sgml:
10367         * docs/gst/tmpl/old/gsttimecache.sgml:
10368         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10369         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10370         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10371         * docs/gst/tmpl/old/types.sgml:
10372           I didn't intend to add these or check them in.
10373
10374 2005-05-19  David Schleef  <ds@schleef.org>
10375
10376         * configure.ac: Use -no-common everywhere.  In a sane world, it
10377           would be the default in libtool, because without it, you can't
10378           build DLLs on Windows.
10379         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10380         * docs/gst/gstreamer-sections.txt:
10381         * docs/gst/tmpl/gstcpu.sgml:
10382         * docs/gst/tmpl/gstdata.sgml:
10383         * docs/gst/tmpl/gstthread.sgml:
10384
10385 2005-05-19  David Schleef  <ds@schleef.org>
10386
10387         * gst/gstminiobject.c: (gst_value_set_mini_object),
10388         (gst_value_take_mini_object), (gst_value_get_mini_object):
10389         * gst/gstminiobject.h: Add GValue set/get functions.
10390
10391 2005-05-19  Wim Taymans  <wim@fluendo.com>
10392
10393         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10394         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10395         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10396         * gst/gstbuffer.h:
10397         * gst/gstbus.c: (gst_bus_post):
10398         * gst/gstelement.c: (gst_element_get_random_pad):
10399         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10400         Make subbufer unref the parent in finalize.
10401         some more debugging info.
10402
10403
10404 2005-05-19  Wim Taymans  <wim@fluendo.com>
10405
10406         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10407         (gst_basesink_init), (gst_basesink_finalize),
10408         (gst_basesink_activate), (gst_basesink_change_state):
10409         Don't free preroll queue too early.
10410
10411 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10412
10413         * gst/Makefile.am:
10414         * gst/ROADMAP:
10415           Hi, I'm outdated. Please shoot me.
10416
10417 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10418
10419         * gst/gstpipeline.c: (gst_pipeline_send_event):
10420           Do not access variables after they have been deleted.
10421
10422 2005-05-19  Wim Taymans  <wim@fluendo.com>
10423
10424         * tools/gst-inspect.c: (print_plugin_features):
10425         A plugin feature does unfortunatly not use the
10426         object name yet...
10427
10428 2005-05-18  Wim Taymans  <wim@fluendo.com>
10429
10430         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10431         Port _span() functions to new subbuffers.
10432
10433 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10434
10435         * gst/gstbin.c: (gst_bin_add_func):
10436           Fix clock settery in bins when adding kids after the clock has
10437           been selected.
10438
10439 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10440
10441         * gst/elements/gstidentity.c: (gst_identity_class_init):
10442           Workaround until signals support GstMiniObject.
10443
10444 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10445
10446         * gst/gstbuffer.c:
10447         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10448
10449 2005-05-18  Wim Taymans  <wim@fluendo.com>
10450
10451         * gst/base/Makefile.am:
10452         * gst/base/gstadapter.c: (gst_adapter_base_init),
10453         (gst_adapter_class_init), (gst_adapter_init),
10454         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10455         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10456         (gst_adapter_flush), (gst_adapter_available),
10457         (gst_adapter_available_fast):
10458         * gst/base/gstadapter.h:
10459         Ported and added adapter to the base classes.
10460
10461 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10462
10463         * gst/gst.c:
10464         * gst/gstmessage.c:
10465           Make sure the class is reffed/unreffed once before threads can be
10466           used.  Fixes #304551.
10467
10468 2005-05-17  Wim Taymans  <wim@fluendo.com>
10469
10470         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10471         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10472         * gst/gstminiobject.c: (gst_mini_object_get_type),
10473         (gst_mini_object_free):
10474         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10475         (gst_pad_push), (gst_pad_push_event):
10476         * gst/gstqueue.c: (gst_queue_change_state):
10477         Don't queue buffers in basesink when we are flushing.
10478         Unref buffer when flushing in basesink.
10479         Flush queue when going to READY
10480         Unref buffer when _push() returns an error.
10481         Don't free MiniObject instance when refcount is incremented
10482         in _finalize() so that we can recover objects.
10483
10484 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10485
10486         * docs/manual/advanced-schedulers.xml:
10487         * docs/manual/appendix-checklist.xml:
10488         * docs/pwg/advanced-clock.xml:
10489         * docs/pwg/advanced-interfaces.xml:
10490         * docs/pwg/advanced-request.xml:
10491         * docs/pwg/advanced-types.xml:
10492         * docs/pwg/intro-preface.xml:
10493         * examples/plugins/example.c: (gst_example_get_type),
10494         (gst_example_class_init), (gst_example_chain),
10495         (gst_example_set_property), (gst_example_get_property),
10496         (gst_example_change_state), (plugin_init):
10497         * examples/plugins/example.h:
10498           small doc fixes
10499
10500 2005-05-17  Wim Taymans  <wim@fluendo.com>
10501
10502         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10503         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10504         * gst/gstqueue.c: (gst_queue_change_state):
10505         Clear queue when going to READY.
10506         Remove IN_SETCAPS flag too.
10507
10508 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10509
10510         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10511           Remove implicit cast from gboolean to GstElementStateReturn;
10512           make sure we still return failure in paused => ready case if
10513           the parent class fails to change state and our own stop 
10514           vfunc succeeds.
10515
10516 2005-05-17  Wim Taymans  <wim@fluendo.com>
10517
10518         * tools/gst-launch.c: (event_loop):
10519         Message was unreffed too soon.
10520
10521 2005-05-16  Andy Wingo  <wingo@pobox.com>
10522
10523         * gst/gstbin.c (sink_iterator_filter): Err... um...
10524
10525         * check/gst/gstbin.c (test_ghost_pads): New test for the
10526         ghosting-if-elements-not-in-same-bin behavior.
10527
10528 2005-05-16  David Schleef  <ds@schleef.org>
10529
10530         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10531         accessing refcount directly.
10532
10533 2005-05-15  David Schleef  <ds@schleef.org>
10534
10535         * check/Makefile.am: remove GstData checks
10536         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10537         * gst/Makefile.am: add miniobject, remove data
10538         * gst/gst.h: add miniobject, remove data
10539         * gst/gstdata.c: remove
10540         * gst/gstdata.h: remove
10541         * gst/gstdata_private.h: remove
10542         * gst/gsttypes.h: remove GstEvent and GstMessage
10543         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10544         * gst/gstmarshal.list: change BOXED -> OBJECT
10545
10546         Implement GstMiniObject.
10547         * gst/gstminiobject.c:
10548         * gst/gstminiobject.h:
10549
10550         Modify to be subclasses of GstMiniObject.
10551         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10552         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10553         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10554         (gst_subbuffer_get_type), (gst_subbuffer_init),
10555         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10556         (gst_buffer_span):
10557         * gst/gstbuffer.h:
10558         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10559         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10560         (_gst_event_copy), (gst_event_new):
10561         * gst/gstevent.h:
10562         * gst/gstmessage.c: (_gst_message_initialize),
10563         (gst_message_get_type), (gst_message_class_init),
10564         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10565         (gst_message_new), (gst_message_new_error),
10566         (gst_message_new_warning), (gst_message_new_tag),
10567         (gst_message_new_state_changed), (gst_message_new_application):
10568         * gst/gstmessage.h:
10569         * gst/gstprobe.c: (gst_probe_perform),
10570         (gst_probe_dispatcher_dispatch):
10571         * gst/gstprobe.h:
10572         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10573         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10574         (_gst_query_copy), (gst_query_new):
10575
10576         Update elements for GstData -> GstMiniObject changes
10577         * gst/gstquery.h:
10578         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10579         (gst_queue_chain), (gst_queue_loop):
10580         * gst/elements/gstbufferstore.c:
10581         (gst_buffer_store_add_buffer_func),
10582         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10583         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10584         (gst_fakesink_render):
10585         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10586         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10587         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10588         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10589         (gst_filesrc_create_read):
10590         * gst/elements/gstidentity.c: (gst_identity_class_init):
10591         * gst/elements/gsttypefindelement.c:
10592         (gst_type_find_element_src_event), (free_entry_buffers),
10593         (gst_type_find_element_handle_event):
10594         * libs/gst/dataprotocol/dataprotocol.c:
10595         (gst_dp_header_from_buffer):
10596         * libs/gst/dataprotocol/dataprotocol.h:
10597         * libs/gst/dataprotocol/dp-private.h:
10598
10599 2005-05-15  David Schleef  <ds@schleef.org>
10600
10601         * gst/elements/gstelements.c: Don't include headers that were
10602         just removed.
10603
10604 2005-05-15  David Schleef  <ds@schleef.org>
10605
10606         * gst/elements/Makefile.am: Remove some elements that don't
10607         need to be in the core (or even exist at all).
10608         * gst/elements/gstaggregator.c:
10609         * gst/elements/gstaggregator.h:
10610         * gst/elements/gstmd5sink.c:
10611         * gst/elements/gstmd5sink.h:
10612         * gst/elements/gstmultifilesrc.c:
10613         * gst/elements/gstmultifilesrc.h:
10614         * gst/elements/gstpipefilter.c:
10615         * gst/elements/gstpipefilter.h:
10616         * gst/elements/gstshaper.c:
10617         * gst/elements/gstshaper.h:
10618         * gst/elements/gststatistics.c:
10619         * gst/elements/gststatistics.h:
10620         * po/POTFILES.in: Remove above files.
10621
10622 2005-05-14  Andy Wingo  <wingo@pobox.com>
10623
10624         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10625         so as to get the refs right.
10626         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10627         unreffing objects that don't pass the filter.
10628
10629         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10630         gst_element_set_bus.
10631         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10632         normal cases, this will destroy the bus.
10633
10634         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10635         object.
10636
10637         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10638         has no sinks.
10639
10640 2005-05-13  Andy Wingo  <wingo@pobox.com>
10641
10642         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10643         gst_pad_link, call pad_link_maybe_ghosting,
10644         (pad_link_maybe_ghosting): Links pads, making sure that the
10645         elements being linked are in the same bin.
10646         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10647         Helpers for pad_link_maybe_ghosting.
10648
10649 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10650
10651         * configure.ac:
10652           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10653
10654 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10655
10656         * docs/design/part-element-source.txt:
10657           Mention GstPushSrc
10658
10659 2005-05-12  Wim Taymans  <wim@fluendo.com>
10660
10661         * gst/base/gstbasesink.c: (gst_basesink_init),
10662         (gst_basesink_activate):
10663         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10664         (gst_basesrc_is_seekable):
10665         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10666         (bin_element_is_sink), (gst_bin_change_state):
10667         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10668         * gst/gstelement.h:
10669         Identify sinks by their flag to avoid overly complicated
10670         checks (fow now).
10671         Do state changes even for elements not reachable from the
10672         sinks.
10673         BaseSink is a sink now :)
10674         Some more debugging info in the basesrc.
10675
10676
10677 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10678
10679         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10680           Implement _query on a bin, similar to _send_event.
10681
10682 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10683
10684         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10685           Discont event offset format should be GST_FORMAT_BYTES,
10686           not GST_FORMAT_TIME.
10687
10688 2005-05-12  Wim Taymans  <wim@fluendo.com>
10689
10690         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10691         Same fix as Ronald's but without the signal. 
10692
10693 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10694
10695         * gst/gstutils.c: (gst_element_query_position):
10696           No, an element is not a pad.
10697
10698 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10699
10700         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10701         (gst_bin_get_state):
10702           If a child is removed from a bin while we remove the child from
10703           the bin and while we're retrieving its state, signal this to the
10704           get_state function so we abort the wait (instead of waiting for
10705           a timeout) and can immediately re-iterate over all other elements.
10706
10707 2005-05-12  Wim Taymans  <wim@fluendo.com>
10708
10709         * gst/base/Makefile.am:
10710         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10711         (gst_basesrc_start):
10712         * gst/base/gstbasesrc.h:
10713         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10714         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10715         (gst_pushsrc_init), (gst_pushsrc_create):
10716         * gst/base/gstpushsrc.h:
10717         Added is_seekable to BaseSrc
10718         Added simple PushSrc.
10719
10720 2005-05-11  Wim Taymans  <wim@fluendo.com>
10721
10722         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10723         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10724         (gst_element_link_pads), (gst_element_query_position),
10725         (gst_element_query_convert), (intersect_caps_func),
10726         (gst_pad_query_position), (gst_pad_query_convert):
10727         Fix refcounting in utils function.
10728         No point in trying to activate a pad when it's added, it could
10729         be added from the state change function and then we deadlock, the
10730         element has to decide what to do.
10731
10732 2005-05-10  Andy Wingo  <wingo@pobox.com>
10733
10734         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10735         *all* the arguments.
10736
10737         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10738         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10739         lock (according to the docs -- if this is wrong change the docs).
10740
10741         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10742         flush messages in the NULL state.
10743
10744         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10745         message immediately and return.
10746         (gst_bus_set_flushing): New function. If a bus is flushing, it
10747         flushes out any queued messages and immediately unrefs new
10748         messages. This is so when an element goes to NULL, all of the
10749         unhandled messages coming from it can be freed, and their
10750         references to the element dropped. In other words: message source
10751         ref considered harmful :P
10752
10753         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10754         we're finished with it.
10755
10756         * gst/gstmessage.c (gst_message_new_state_changed): 
10757
10758 2005-05-10  Wim Taymans  <wim@fluendo.com>
10759
10760         * gst/gstvalue.c: (gst_value_compare_flags),
10761         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10762         (_gst_value_initialize):
10763         Added flags serialize/deserialize/compare code.
10764
10765 2005-05-09  Andy Wingo  <wingo@pobox.com>
10766
10767         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10768         Intersect the peer's caps with our caps.
10769
10770 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10771
10772         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10773         * gst/elements/gsttypefindelement.c: (find_peek):
10774           Handle negative offsets better. Fixes decodebin.
10775
10776 2005-05-09  Wim Taymans  <wim@fluendo.com>
10777
10778         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10779         (gst_base_transform_event):
10780         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10781         Implement accept_caps.
10782         Fix silly lock/unlock mismatch in base class.
10783
10784 2005-05-09  Wim Taymans  <wim@fluendo.com>
10785
10786         * docs/design/draft-push-pull.txt:
10787         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10788         * gst/elements/gstfilesink.c: (gst_filesink_init),
10789         (gst_filesink_query):
10790         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10791         (gst_type_find_handle_src_query), (find_element_get_length):
10792         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10793         * gst/gstelement.h:
10794         * gst/gstmessage.c:
10795         * gst/gstmessage.h:
10796         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10797         (gst_real_pad_get_caps_unlocked),
10798         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10799         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10800         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10801         (gst_real_pad_dispose), (gst_real_pad_finalize),
10802         (gst_pad_load_and_link), (gst_pad_save_thyself),
10803         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10804         (gst_pad_check_pull_range), (gst_pad_pull_range),
10805         (gst_pad_template_get_type), (gst_pad_template_class_init),
10806         (gst_pad_template_init), (gst_pad_template_dispose),
10807         (name_is_valid), (gst_static_pad_template_get),
10808         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10809         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10810         (gst_pad_get_element_private), (gst_pad_start_task),
10811         (gst_pad_pause_task), (gst_pad_stop_task),
10812         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10813         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10814         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10815         (gst_ghost_pad_new):
10816         * gst/gstpad.h:
10817         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10818         (gst_query_new_position), (gst_query_set_position),
10819         (gst_query_parse_position), (gst_query_new_convert),
10820         (gst_query_set_convert), (gst_query_parse_convert):
10821         * gst/gstquery.h:
10822         * gst/gstqueryutils.c:
10823         * gst/gstqueryutils.h:
10824         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10825         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10826         (gst_queue_handle_src_query):
10827         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10828         (gst_element_query_position), (gst_element_query_convert),
10829         (intersect_caps_func), (gst_pad_query_position),
10830         (gst_pad_query_convert):
10831         * gst/gstutils.h:
10832         * tools/gst-inspect.c: (print_pad_info):
10833         * tools/gst-xmlinspect.c: (print_element_info):
10834         Remove old query functions. Ported old code.
10835         Added position/convert helper functions to gstutils.
10836         Reordered gstpad.c code, grouping relevant things.
10837         Remove gst_message_new(), always need to speficy a specific
10838         message.
10839
10840
10841 2005-05-09  Andy Wingo  <wingo@pobox.com>
10842
10843         * gst/gstiterator.h: Add some includes.
10844
10845         * gst/gstqueryutils.h: Include more headers.
10846
10847         * gst/gstpad.h:
10848         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10849         some uses of gst_pad_query.
10850
10851         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10852         NULL out parameters.
10853         (gst_query_new_position): New proc, allocates a new position
10854         query.
10855
10856         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10857         gstqueryutils.c to the build.
10858
10859         * gst/gststructure.c (gst_structure_set_valist): Implement with
10860         the generic G_VALUE_COLLECT.
10861         
10862 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10863
10864         * gst/Makefile.am: (gst_headers):
10865         Added gstqueryutils.h to the list of headers to install, that was
10866         a 'nachty' move wingo :)
10867
10868 2005-05-06  Andy Wingo  <wingo@pobox.com>
10869
10870         * gst/gstquery.h
10871         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10872         GstData, init a memchunk.
10873         (standard_definitions): Add a few query types, deprecate a few.
10874         (gst_query_get_type): New proc.
10875         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10876         implementation.
10877         (gst_query_new_application, gst_query_get_structure): New public
10878         procs.
10879
10880         * docs/design/draft-query.txt: Removed LINKS from the query types,
10881         because all the rest can be dispatched to other pads -- seemed
10882         ugly to have a query that couldn't be dispatched. internal_links
10883         is fine as a pad method.
10884
10885         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10886         in gstpad.c, but maintain binary compatibility for the moment.
10887         Will fix before 0.9 is out.
10888
10889         * gst/gstqueryutils.c: 
10890         * gst/gstqueryutils.h: New files, implement 3 methods for each
10891         query type: parse_query, parse_response, and set. Probably need an
10892         allocator as well.
10893
10894         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10895
10896         * gst/elements/gstfilesink.c (gst_filesink_query2):
10897         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10898         query_types, and formats methods.
10899
10900         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10901         (gst_pad_set_query2_function): New functions.
10902         (gst_real_pad_init): Set query2_default as the default query2
10903         function. Basically just dispatches to internally linked pads.
10904
10905         Needs review!
10906         
10907         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10908         without using the atomic operations. Only one thread can possibly
10909         be accessing the data at this point. Changed so as to avoid
10910         gst_atomic operations.
10911
10912 2005-05-06  Wim Taymans  <wim@fluendo.com>
10913
10914         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10915         Also set caps if we use the fallback buffer alloc.
10916
10917 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10918
10919         * docs/gst/Makefile.am:
10920         * docs/gst/gstreamer-docs.sgml:
10921         * docs/gst/gstreamer-sections.txt:
10922         * docs/gst/tmpl/gstatomic.sgml:
10923         * docs/gst/tmpl/gstmemchunk.sgml:
10924         * testsuite/elements/struct_i386.h:
10925         * win32/GStreamer.vcproj:
10926         * win32/Makefile:
10927           Purge GstAtomic stuff from docs and win32 makefiles as well
10928
10929 2005-05-06  Wim Taymans  <wim@fluendo.com>
10930
10931         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10932         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10933         * gst/gstpad.c: (gst_pad_peer_get_caps):
10934         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10935         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10936         (gst_queue_src_activate), (gst_queue_change_state):
10937         * gst/gstqueue.h:
10938         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10939         (intersect_caps_func):
10940         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10941         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10942         Some fixes for the peer_get_caps() change.
10943
10944 2005-05-06  Wim Taymans  <wim@fluendo.com>
10945
10946         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10947         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10948         (gst_basesink_activate):
10949         Actually do something with error codes returned from the push
10950         functions.
10951
10952 2005-05-06  Wim Taymans  <wim@fluendo.com>
10953
10954         * docs/design/part-element-sink.txt:
10955         * docs/design/part-element-source.txt:
10956         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10957         (gst_basesink_event), (gst_basesink_activate):
10958         * gst/base/gstbasesink.h:
10959         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10960         (gst_basesrc_activate):
10961         * gst/base/gstbasesrc.h:
10962         * gst/gstelement.c: (gst_element_pads_activate):
10963         Some more documentation.
10964         Fixed scheduling decision in _pads_activate().
10965
10966 2005-05-05  Andy Wingo  <wingo@pobox.com>
10967
10968         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10969         the test suite.
10970
10971 2005-05-05  Wim Taymans  <wim@fluendo.com>
10972
10973         * gst/base/Makefile.am:
10974         * gst/base/gstbasesink.h:
10975         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10976         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10977         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10978         (gst_collectpads_class_init), (gst_collectpads_init),
10979         (gst_collectpads_finalize), (gst_collectpads_new),
10980         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10981         (find_pad), (gst_collectpads_remove_pad),
10982         (gst_collectpads_is_active), (gst_collectpads_collect),
10983         (gst_collectpads_collect_range), (gst_collectpads_start),
10984         (gst_collectpads_stop), (gst_collectpads_peek),
10985         (gst_collectpads_pop), (gst_collectpads_available),
10986         (gst_collectpads_read), (gst_collectpads_flush),
10987         (gst_collectpads_chain):
10988         * gst/base/gstcollectpads.h:
10989         * gst/elements/Makefile.am:
10990         * gst/elements/gstelements.c:
10991         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10992         (gst_fakesink_get_times), (gst_fakesink_event),
10993         (gst_fakesink_preroll), (gst_fakesink_render):
10994         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10995         (gst_filesink_init), (gst_filesink_set_location),
10996         (gst_filesink_open_file), (gst_filesink_close_file),
10997         (gst_filesink_pad_query), (gst_filesink_event),
10998         (gst_filesink_render), (gst_filesink_change_state):
10999         * gst/elements/gstfilesink.h:
11000         Added object to help in making collect pad based elements.
11001         Ported filesink.
11002         Make event function in sink baseclass return gboolean.
11003
11004 2005-05-05  Wim Taymans  <wim@fluendo.com>
11005
11006         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11007         (gst_bin_get_by_name):
11008         * gst/gstbuffer.h:
11009         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11010         (gst_clock_finalize):
11011         * gst/gstdata.c: (gst_data_replace):
11012         * gst/gstdata.h:
11013         * gst/gstelement.c: (gst_element_request_pad),
11014         (gst_element_pads_activate):
11015         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11016         (gst_object_unref):
11017         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11018         (gst_pad_set_checkgetrange_function),
11019         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11020         (gst_pad_check_pull_range), (gst_pad_pull_range),
11021         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11022         (gst_pad_pause_task), (gst_pad_stop_task):
11023         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11024         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11025         Fix name lookup in GstBin.
11026         Added _data_replace() function and _buffer_replace()
11027         Use finalize method to clean up clock.
11028         Fix refcounting on request pads.
11029         Fix pad schedule mode error.
11030         Some more object refcounting debug info,
11031
11032
11033 2005-05-04  Andy Wingo <wingo@pobox.com>
11034
11035         * check/Makefile.am:
11036         * docs/gst/tmpl/gstatomic.sgml:
11037         * docs/gst/tmpl/gstplugin.sgml:
11038         * gst/base/gstbasesink.c: (gst_basesink_activate):
11039         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11040         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11041         (gst_basesrc_query), (gst_basesrc_set_property),
11042         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11043         (gst_basesrc_activate):
11044         * gst/base/gstbasesrc.h:
11045         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11046         (gst_base_transform_src_activate):
11047         * gst/elements/gstelements.c:
11048         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11049         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11050         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11051         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11052         (gst_type_find_element_checkgetrange),
11053         (gst_type_find_element_activate):
11054         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11055         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11056         (gst_caps_load_thyself):
11057         * gst/gstelement.c: (gst_element_pads_activate),
11058         (gst_element_save_thyself), (gst_element_restore_thyself):
11059         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11060         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11061         * gst/gstpad.h:
11062         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11063         (gst_xml_parse_file), (gst_xml_parse_memory),
11064         (gst_xml_get_element), (gst_xml_make_element):
11065         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11066         (_file_index_id_save_xml), (gst_file_index_commit):
11067         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11068         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11069         (load_paths):
11070         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11071         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11072         * tools/gst-complete.c: (main):
11073         * tools/gst-compprep.c: (main):
11074         * tools/gst-inspect.c: (print_element_properties_info):
11075         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11076         * tools/gst-xmlinspect.c: (print_element_properties):
11077         GCC 4 fixen.
11078         
11079 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11080
11081         * gst/gstplugin.c: (gst_plugin_check_module),
11082         (gst_plugin_check_file), (gst_plugin_load_file):
11083             apply patch from #172526 to make register work on MacOSX
11084
11085 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11086
11087         * docs/gst/tmpl/gstconfig.sgml:
11088         * gst/gstconfig.h.in:
11089           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11090         * testsuite/debug/printf_extension.c: (main):
11091           Do not use GST_PTR_FORMAT on pointers to types with
11092           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11093         * testsuite/elements/property.h:
11094           use correct printf format
11095
11096 2005-05-02  Wim Taymans  <wim@fluendo.com>
11097
11098         * docs/design/draft-push-pull.txt:
11099         * docs/design/draft-query.txt:
11100         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11101         (gst_basesrc_start):
11102         Added draft for new query API.
11103         Added draft for better selecting scheduling methods.
11104         Make basesrc ignore length if the subclass does not support
11105         it.
11106
11107 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11108
11109         * gst/Makefile.am:
11110           possible fixes for automake-1.5 - _LIBADD is reserved
11111
11112 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11113
11114         * docs/faq/Makefile.am:
11115         * docs/manual/Makefile.am:
11116         * docs/manuals.mak:
11117         * docs/pwg/Makefile.am:
11118         * gst/Makefile.am:
11119           possible fixes for automake-1.5
11120
11121 2005-04-28  Wim Taymans  <wim@fluendo.com>
11122
11123         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11124         (gst_basesink_pad_getcaps), (gst_basesink_init),
11125         (gst_basesink_do_sync):
11126         * gst/gstclock.c: (gst_clock_entry_new):
11127         * gst/gstevent.c: (gst_event_discont_get_value):
11128         * gst/gstpipeline.c: (pipeline_bus_handler),
11129         (gst_pipeline_change_state):
11130         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11131         Better debugging of clocking info.
11132         Allow NULL values when getting discont values.
11133
11134 2005-04-27  Wim Taymans  <wim@fluendo.com>
11135
11136         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11137         * check/gst/gstpad.c: (gst_pad_suite):
11138         Increase timeout for checks.
11139
11140 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11141
11142         * check/Makefile.am:
11143           fix the broken rule for cleanup.  Apparently this rule is
11144           only needed on FC2, so maybe this warrants further autotool
11145           inspection.
11146
11147 2005-04-26  Wim Taymans  <wim@fluendo.com>
11148
11149         * gst/gsttrashstack.h:
11150         Ooohh. a nasty one! After having a failed pop() from the stack,
11151         it's possible that the stack is empty. In that case, don't
11152         follow the NULL pointer.
11153
11154 2005-04-25  Wim Taymans  <wim@fluendo.com>
11155
11156         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11157         (gst_pad_set_checkgetrange_function),
11158         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11159         (gst_pad_check_pull_range), (gst_pad_pull_range),
11160         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11161         (gst_pad_pause_task), (gst_pad_stop_task):
11162         * gst/gstplugin.c: (gst_plugin_load):
11163         * gst/gstplugin.h:
11164         Remove gst_library_load as it does more harm than good with
11165         the new g_module flags.
11166         Revert bogus caps template check in pad linking, pad caps
11167         are important when linking not the template, which is more
11168         general than the current caps.
11169
11170 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11171
11172         * gst/autoplug/.cvsignore:
11173         * gst/autoplug/Makefile.am:
11174         * gst/autoplug/gstsearchfuncs.c:
11175         * gst/autoplug/gstsearchfuncs.h:
11176         * gst/autoplug/gstspider.c:
11177         * gst/autoplug/gstspider.h:
11178         * gst/autoplug/gstspideridentity.c:
11179         * gst/autoplug/gstspideridentity.h:
11180         * gst/autoplug/spidertest.c:
11181           Die, spider, die.
11182
11183 2005-04-25  Wim Taymans  <wim@fluendo.com>
11184
11185         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11186         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11187         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11188         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11189         * gst/gstpad.h:
11190         Added stubs for unimplemented functions. 
11191
11192 2005-04-24  David Schleef  <ds@schleef.org>
11193
11194         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11195         please fix.
11196
11197 2005-04-24  David Schleef  <ds@schleef.org>
11198
11199         Convert everything from GstAtomicInt to g_atomic_int_*, and
11200         remove gstatomic.
11201         * gst/Makefile.am:
11202         * gst/gstatomic.c:
11203         * gst/gstatomic.h:
11204         * gst/gstatomic_impl.h:
11205         * gst/gstbuffer.c:
11206         * gst/gstcaps.c:
11207         * gst/gstcaps.h:
11208         * gst/gstclock.c:
11209         * gst/gstclock.h:
11210         * gst/gstdata.c:
11211         * gst/gstdata.h:
11212         * gst/gstdata_private.h:
11213         * gst/gstevent.c:
11214         * gst/gstinfo.c:
11215         * gst/gstinfo.h:
11216         * gst/gstmessage.c:
11217         * gst/gstobject.c:
11218         * gst/gstobject.h:
11219         * gst/gststructure.c:
11220         * gst/gststructure.h:
11221         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11222         * gst/gstutils.h:
11223
11224 2005-04-24  David Schleef  <ds@schleef.org>
11225
11226         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11227         make the regressions tests work.  Remove some code that is no
11228         longer true.
11229         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11230         Disable warning for pads without templates.
11231
11232 2005-04-24  David Schleef  <ds@schleef.org>
11233
11234         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11235         functions that handle filtered links.
11236         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11237         removed functions.
11238         * gst/gstutils.c: Fix/remove utility functions that handle
11239         filtered caps.
11240         * gst/gstutils.h:
11241         * gst/gstvalue.c: Add serialization/deserialization of caps
11242         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11243         requires fixing so that the filter caps notation creates
11244         a capsfilter element and sets the filter_caps property.  I
11245         think everyone probably wants to keep the shorthand notation.
11246         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11247         * docs/gst/tmpl/gstpad.sgml:
11248
11249         * gst/elements/gstelements.c: Register capsfilter element.
11250         * gst/Makefile.am: fix spacing
11251         * docs/random/ds/0.9-suggested-changes: random
11252
11253 2005-04-23  David Schleef  <ds@schleef.org>
11254
11255         * gst/elements/Makefile.am:
11256         * gst/elements/gstcapsfilter.c: New element that acts like an
11257         identity, but filters caps.  Will eventually replace filtered
11258         caps in pad linking.
11259         * gst/gstutils.c: (gst_element_create_all_pads): New function
11260         to create all the ALWAYS pads that are registered with an
11261         element class.  This functionality should eventually be
11262         merged in with GstElement initialization.
11263         * gst/gstutils.h:
11264         * testsuite/trigger/README: part of trigger test code that should
11265         have been checked in a long time ago.
11266
11267 2005-04-23  David Schleef  <ds@schleef.org>
11268
11269         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11270         needed with new versions of libtool (nobody will confirm this),
11271         and hard to carry around.
11272         * gst/autoplug/Makefile.am:
11273         * gst/base/Makefile.am:
11274         * gst/elements/Makefile.am:
11275         * gst/indexers/Makefile.am:
11276         * gst/schedulers/Makefile.am:
11277         * libs/gst/bytestream/Makefile.am:
11278         * libs/gst/control/Makefile.am:
11279         * libs/gst/dataprotocol/Makefile.am:
11280         * libs/gst/getbits/Makefile.am:
11281
11282 2005-04-21  Wim Taymans  <wim@fluendo.com>
11283
11284         * docs/design/draft-push-pull.txt:
11285         * docs/design/part-MT-refcounting.txt:
11286         * docs/design/part-TODO.txt:
11287         * docs/design/part-caps.txt:
11288         * docs/design/part-events.txt:
11289         * docs/design/part-gstbus.txt:
11290         * docs/design/part-gstpipeline.txt:
11291         * docs/design/part-messages.txt:
11292         * docs/design/part-push-pull.txt:
11293         * docs/design/part-query.txt:
11294         Some more docs.
11295
11296 2005-04-21  Wim Taymans  <wim@fluendo.com>
11297
11298         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11299         (gst_message_new), (gst_message_new_error),
11300         (gst_message_new_warning), (gst_message_new_tag),
11301         (gst_message_new_state_changed), (gst_message_new_application),
11302         (gst_message_get_structure):
11303         * gst/gstmessage.h:
11304         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11305         (gst_structure_copy_conditional):
11306         Use parent refcount in GstMessage to ensure GstStructure
11307         consistency.
11308         Cleaned up headers a bit.
11309         
11310
11311 2005-04-20  Wim Taymans  <wim@fluendo.com>
11312
11313         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11314         (gst_basesink_pad_getcaps), (gst_basesink_init),
11315         (gst_basesink_chain_unlocked):
11316         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11317         (gst_type_find_helper):
11318         * gst/elements/gsttypefindelement.c:
11319         (gst_type_find_element_have_type), (gst_type_find_element_init),
11320         (stop_typefinding), (gst_type_find_element_handle_event),
11321         (find_suggest), (gst_type_find_element_chain),
11322         (gst_type_find_element_checkgetrange),
11323         (gst_type_find_element_getrange), (do_typefind),
11324         (gst_type_find_element_activate):
11325         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11326         (gst_buffer_default_free), (gst_buffer_default_copy),
11327         (gst_buffer_set_caps):
11328         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11329         (gst_caps_replace):
11330         * gst/gstmessage.c: (gst_message_new),
11331         (gst_message_new_state_changed):
11332         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11333         (gst_pad_set_checkgetrange_function),
11334         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11335         (gst_pad_set_caps), (gst_pad_check_pull_range),
11336         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11337         * gst/gstpad.h:
11338         * gst/gsttypefind.c: (gst_type_find_register):
11339         Make gst_caps_replace() work like other _replace() functions.
11340         Use _caps_replace() where possible.
11341         Make sure _message_new() initialises its field.
11342         Add gst_static_pad_template_get_caps()
11343
11344
11345 2005-04-18  Andy Wingo  <wingo@pobox.com>
11346
11347         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11348         on the peer, not the pad. I think that was a typo. Pass an extra
11349         arg to see if random access is possible. Activate the pads as
11350         PULL_RANGE if possible.
11351
11352         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11353
11354         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11355         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11356         to PROP_....
11357
11358 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11359
11360         * docs/faq/using.xml:
11361           Add note on gstreamer-properties (#154996).
11362
11363 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11364
11365         * docs/random/bbb/optional-properties:
11366           Some analysis on optional properties.
11367
11368 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11369
11370         * docs/gst/tmpl/gstelementfactory.sgml:
11371         * gst/gstelement.h:
11372         * gst/gstelementfactory.c: (gst_element_factory_init),
11373         (gst_element_factory_cleanup), (gst_element_register),
11374         (__gst_element_factory_add_static_pad_template),
11375         (gst_element_factory_get_static_pad_templates),
11376         (gst_element_factory_can_src_caps),
11377         (gst_element_factory_can_sink_caps):
11378         * gst/registries/Makefile.am:
11379         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11380         (gst_xml_registry_class_init), (gst_xml_registry_init),
11381         (gst_xml_registry_new), (gst_xml_registry_set_property),
11382         (gst_xml_registry_get_property), (get_time), (make_dir),
11383         (gst_xml_registry_get_perms_func),
11384         (plugin_times_older_than_recurse), (plugin_times_older_than),
11385         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11386         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11387         (add_to_char_array), (read_string), (read_uint), (read_enum),
11388         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11389         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11390         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11391         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11392         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11393         (gst_xml_registry_rebuild):
11394         * gst/registries/gstlibxmlregistry.h:
11395         * tools/gst-compprep.c: (main):
11396         * tools/gst-inspect.c: (print_pad_templates_info):
11397         * tools/gst-xmlinspect.c: (print_element_info):
11398           Use libxml2 for registry parsing, use staticpadtemplates in
11399           elementfactories. Makes gst_init() +/- 10x faster.
11400
11401 2005-04-12  Wim Taymans  <wim@fluendo.com>
11402
11403         * gst/base/Makefile.am:
11404         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11405         (gst_basesink_pad_getcaps), (gst_basesink_init),
11406         (gst_basesink_event), (gst_basesink_change_state):
11407         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11408         (gst_basesrc_init), (gst_basesrc_query),
11409         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11410         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11411         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11412         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11413         (gst_basesrc_stop), (gst_basesrc_activate),
11414         (gst_basesrc_change_state):
11415         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11416         (helper_find_suggest), (gst_type_find_helper):
11417         * gst/base/gsttypefindhelper.h:
11418         * gst/elements/Makefile.am:
11419         * gst/elements/gstelements.c:
11420         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11421         (gst_fakesink_get_times), (gst_fakesink_event),
11422         (gst_fakesink_preroll), (gst_fakesink_render):
11423         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11424         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11425         (gst_fakesrc_get_property), (gst_fakesrc_create),
11426         (gst_fakesrc_start), (gst_fakesrc_stop):
11427         * gst/elements/gstfakesrc.h:
11428         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11429         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11430         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11431         (gst_filesrc_create_read), (gst_filesrc_create),
11432         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11433         (gst_filesrc_start):
11434         * gst/elements/gsttypefindelement.c:
11435         (gst_type_find_element_have_type), (gst_type_find_element_init),
11436         (start_typefinding), (stop_typefinding), (push_buffer_store),
11437         (gst_type_find_element_handle_event),
11438         (gst_type_find_element_chain),
11439         (gst_type_find_element_checkgetrange),
11440         (gst_type_find_element_getrange), (do_typefind),
11441         (gst_type_find_element_activate),
11442         (gst_type_find_element_change_state):
11443         * gst/elements/gsttypefindelement.h:
11444         * gst/gstpipeline.c: (pipeline_bus_handler):
11445         Added typefind helper.
11446         Small preroll fix in the base sink.
11447         Disable typefind code in basesrc.
11448         Crude port of typefindelement.
11449         Fakesrc cleanups.
11450
11451
11452 2005-04-11  Wim Taymans  <wim@fluendo.com>
11453
11454         * check/gst/gstbus.c: (gstbus_suite):
11455         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11456         * check/gstcheck.h:
11457           Fix up the timeout so that the test does not fail.
11458
11459 2005-04-06  Wim Taymans  <wim@fluendo.com>
11460
11461         * gst/base/README:
11462         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11463         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11464         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11465         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11466         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11467         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11468         (gst_basesrc_stop), (gst_basesrc_activate),
11469         (gst_basesrc_change_state), (basesrc_find_peek),
11470         (basesrc_find_suggest), (gst_basesrc_type_find):
11471         * gst/base/gstbasesrc.h:
11472         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11473         (gst_filesrc_class_init), (gst_filesrc_init),
11474         (gst_filesrc_finalize), (gst_filesrc_set_location),
11475         (gst_filesrc_set_property), (gst_filesrc_get_property),
11476         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11477         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11478         (gst_filesrc_create_read), (gst_filesrc_create),
11479         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11480         * gst/elements/gstfilesrc.h:
11481         * gst/gstelement.c: (gst_element_get_state_func),
11482         (gst_element_lost_state), (gst_element_pads_activate):
11483         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11484         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11485         (gst_pad_pull_range):
11486         * gst/gstpad.h:
11487         More work on the generic source base class, implement seeking,
11488         query.
11489         Make filesrc extend the base source class.
11490         Added gst_pad_set_checkgetrange_function to GstPad.
11491
11492 2005-04-06  Andy Wingo  <wingo@pobox.com>
11493
11494         * pkgconfig/gstreamer-base.pc.in:
11495         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11496
11497         * pkgconfig/Makefile.am:
11498         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11499
11500 2005-04-04  Wim Taymans  <wim@fluendo.com>
11501
11502         * gst/base/Makefile.am:
11503         * gst/base/README:
11504         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11505         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11506         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11507         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11508         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11509         (gst_basesrc_base_init), (gst_basesrc_class_init),
11510         (gst_basesrc_init), (gst_basesrc_get_formats),
11511         (gst_basesrc_get_query_types), (gst_basesrc_query),
11512         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11513         (gst_basesrc_set_property), (gst_basesrc_get_property),
11514         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11515         (gst_basesrc_loop), (gst_basesrc_activate),
11516         (gst_basesrc_change_state):
11517         * gst/base/gstbasesrc.h:
11518         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11519         (gst_fakesrc_class_init), (gst_fakesrc_init),
11520         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11521         (gst_fakesrc_get_property), (gst_fakesrc_create):
11522         * gst/elements/gstfakesrc.h:
11523         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11524         (gst_filesrc_open_file), (gst_filesrc_loop),
11525         (gst_filesrc_activate), (filesrc_find_peek),
11526         (gst_filesrc_type_find):
11527         Made base source class, make fakesrc extend it.
11528         Add comments to basesink class.
11529         Some filesrc cleanup.
11530
11531 2005-03-31  David Schleef  <ds@schleef.org>
11532
11533         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11534         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11535         expected to link against libgstreamer.
11536         * gst/base/Makefile.am: link against libgstreamer
11537         * gst/elements/Makefile.am: same
11538
11539 2005-03-31  Andy Wingo  <wingo@pobox.com>
11540
11541         * tests/instantiate/Makefile.am:
11542         * tests/instantiate/caps.c: Add test to test speed of caps copy
11543         and free.
11544
11545         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11546         GMemChunk to be fair.
11547
11548         * gst/gsttrashstack.h: Remove warning about using the fallback
11549         trash stack implementation, it's still faster than malloc.
11550
11551 2005-03-30  Andy Wingo  <wingo@pobox.com>
11552
11553         * tests/complexity.c: Add a copyright.
11554
11555 2005-03-31  Wim Taymans  <wim@fluendo.com>
11556
11557         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11558         (gst_base_transform_class_init), (gst_base_transform_init),
11559         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11560         (gst_base_transform_get_property),
11561         (gst_base_transform_sink_activate),
11562         (gst_base_transform_src_activate),
11563         (gst_base_transform_change_state):
11564         * gst/base/gstbasetransform.h:
11565         * gst/elements/gstidentity.c: (gst_identity_class_init),
11566         (gst_identity_event), (gst_identity_check_perfect),
11567         (gst_identity_transform), (gst_identity_start),
11568         (gst_identity_stop):
11569         Added start/stop methods to transform base class so subclasses 
11570         don't need to deal with state changes even.
11571
11572 2005-03-31  Wim Taymans  <wim@fluendo.com>
11573
11574         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11575         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11576         * gst/gstevent.h:
11577         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11578         (gst_pad_pull_range):
11579         Added rate to the discont event to prepare for variable speed
11580         and reverse playback.
11581
11582 2005-03-29  David Schleef  <ds@schleef.org>
11583
11584         * configure.ac:
11585         * testsuite/trigger/Makefile.am:
11586         * testsuite/trigger/trigger.c: A little example program to show
11587         how trigger-based elements can work.
11588
11589 2005-03-29  Wim Taymans  <wim@fluendo.com>
11590
11591         * gst/base/Makefile.am:
11592         * gst/base/README:
11593         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11594         (gst_basesink_base_init), (gst_basesink_class_init),
11595         (gst_basesink_pad_getcaps), (gst_basesink_init),
11596         (gst_basesink_activate), (gst_basesink_change_state):
11597         * gst/base/gstbasesink.h:
11598         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11599         (gst_base_transform_base_init), (gst_base_transform_finalize),
11600         (gst_base_transform_class_init), (gst_base_transform_init),
11601         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11602         (gst_base_transform_event), (gst_base_transform_getrange),
11603         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11604         (gst_base_transform_set_property),
11605         (gst_base_transform_get_property),
11606         (gst_base_transform_sink_activate),
11607         (gst_base_transform_src_activate),
11608         (gst_base_transform_change_state):
11609         * gst/base/gstbasetransform.h:
11610         * gst/elements/gstidentity.c: (gst_identity_finalize),
11611         (gst_identity_class_init), (gst_identity_init),
11612         (gst_identity_event), (gst_identity_check_perfect),
11613         (gst_identity_transform), (gst_identity_set_property),
11614         (gst_identity_get_property), (gst_identity_change_state):
11615         * gst/elements/gstidentity.h:
11616         * gst/gstelement.c: (gst_element_get_state_func),
11617         (gst_element_lost_state), (gst_element_pads_activate):
11618         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11619         (gst_pad_check_pull_range), (gst_pad_pull_range):
11620         * gst/gstpad.h:
11621         Simplify pad activation.
11622         Added function to check if pull_range can be performed.
11623         Error out when pulling inactive or flushing pads.
11624         Removed const from refcounted types as it does not make sense.
11625         Simplify pad templates in basesink
11626         Added base class for simple 1-to-1 transforms.
11627         Make identity subclass the base transform.
11628
11629 2005-03-29  Andy Wingo  <wingo@pobox.com>
11630
11631         * docs/libs/gstreamer-libs-overrides.txt: 
11632         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11633         really don't understand what's going on, but like whatever. I want
11634         green buildbot!
11635
11636         * docs/gst/Makefile.am:
11637         * docs/libs/Makefile.am: Dist the overrides files.
11638
11639         * check/Makefile.am (clean-local): Remove .libs directories.
11640
11641         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11642         elements to EXTRA_DIST, so po/ files are happy.
11643
11644         * po/POTFILES.in: Er, remove it here.
11645
11646         * po/POTFILES: Remove gstspider.c.
11647
11648         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11649
11650         * docs/libs/gstreamer-libs-docs.sgml: 
11651         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11652         bytestream.
11653
11654         * tests/complexity.c (main): Set the length of the preroll queue
11655         on the sinks to prevent a lockup.
11656
11657         * libs/gst/dataprotocol/Makefile.am: 
11658         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11659         the same as the one in check/gst-libs/gdp.c.
11660
11661         * po/, docs/gst/: Commit automatic changes to docs and po files.
11662
11663         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11664         the versioned libgstbase.
11665
11666         * check/Makefile.am: Depend on an unversioned gst-register, seems
11667         to make autoconf happier.
11668
11669         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11670
11671 2005-03-28  Wim Taymans  <wim@fluendo.com>
11672
11673         * configure.ac:
11674         * docs/design/part-gstelement.txt:
11675         * docs/design/part-negotiation.txt:
11676         * docs/design/part-preroll.txt:
11677         * docs/design/part-scheduling.txt:
11678         * docs/design/part-states.txt:
11679         * gst/Makefile.am:
11680         * gst/base/Makefile.am:
11681         * gst/base/README:
11682         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11683         (gst_basesink_base_init), (gst_basesink_class_init),
11684         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11685         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11686         (gst_basesink_set_pad_functions),
11687         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11688         (gst_basesink_set_property), (gst_basesink_get_property),
11689         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11690         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11691         (gst_basesink_preroll_queue_push),
11692         (gst_basesink_preroll_queue_empty),
11693         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11694         (gst_basesink_event), (gst_basesink_get_times),
11695         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11696         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11697         (gst_basesink_loop), (gst_basesink_activate),
11698         (gst_basesink_change_state):
11699         * gst/base/gstbasesink.h:
11700         * gst/elements/Makefile.am:
11701         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11702         (gst_fakesink_class_init), (gst_fakesink_init),
11703         (gst_fakesink_set_property), (gst_fakesink_get_property),
11704         (gst_fakesink_get_times), (gst_fakesink_event),
11705         (gst_fakesink_preroll), (gst_fakesink_render),
11706         (gst_fakesink_change_state):
11707         * gst/elements/gstfakesink.h:
11708         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11709         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11710         * gst/gstelement.c: (gst_element_add_pad),
11711         (gst_element_get_state_func), (gst_element_abort_state),
11712         (gst_element_commit_state), (gst_element_lost_state),
11713         (gst_element_set_state), (gst_element_pads_activate):
11714         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11715         * gst/gstpipeline.c: (gst_pipeline_send_event),
11716         (gst_pipeline_change_state):
11717         Added state change code.
11718         Added/updated docs.
11719         Added sink base class, make fakesink extend the base class.
11720         Small cleanups in GstPipeline.
11721
11722 2005-03-26  David Schleef  <ds@schleef.org>
11723
11724         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11725         is broken and should be implemented in a different library.
11726         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11727         * gst/gst.h: remove gstcpu.h
11728         * gst/gstcpu.c: remove
11729         * gst/gstcpu.h: remove
11730         * gst/Makefile.am.future: Remove this file.  It's ancient.
11731
11732 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11733
11734         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11735         (gst_bin_send_event):
11736           Add default event/set_manager handlers. The set_manager handler
11737           takes care that the manager is distributed over kids that were
11738           already in the bin before the manager was set. The event handler
11739           is a utility virtual function that sends the event over all sinks,
11740           so that gst_element_send_event (bin, event); has the expected
11741           behaviour.
11742         * gst/gstpad.c: (gst_pad_event_default):
11743           Re-install default event handling for discontinuities, so that
11744           seeking works without requiring hacks in applications or extra
11745           code in sinks.
11746         * gst/gstpipeline.c: (gst_pipeline_class_init),
11747         (gst_pipeline_send_event):
11748           Half hack, half utility: set a pipeline to PAUSED for seek events,
11749           since that is the only way we can guarantee a/v sync. Means that
11750           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11751           and it "just works".
11752
11753 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11754
11755         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11756           Lock/unlock mismatch.
11757
11758 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11759
11760         * docs/faq/gst-uninstalled:
11761           add gst-plugins-base
11762         * docs/gst/Makefile.am:
11763           don't error out until docs are fixed
11764         * docs/gst/gstreamer.types:
11765           remove thread
11766
11767 2005-03-22  Wim Taymans  <wim@fluendo.com>
11768
11769         * check/Makefile.am:
11770         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11771         * gst/gststructure.c: (gst_structure_set_valist),
11772         (gst_structure_copy_conditional):
11773         Activated more tests.
11774         Added message test.
11775         Added G_TYPE_POINTER to GstStructure.
11776         
11777
11778 2005-03-22  Wim Taymans  <wim@fluendo.com>
11779
11780         * docs/design/part-TODO.txt:
11781         * docs/design/part-events.txt:
11782         * docs/design/part-gstbin.txt:
11783         * docs/design/part-gstbus.txt:
11784         * docs/design/part-gstpipeline.txt:
11785         * docs/design/part-messages.txt:
11786         * gst/gstbus.c:
11787         * gst/gstmessage.c:
11788         Docs updates
11789
11790 2005-03-21  Wim Taymans  <wim@fluendo.com>
11791
11792         * gst/gstbus.c: (gst_bus_post):
11793         Fix copy-and-paste error.
11794
11795 2005-03-21  Wim Taymans  <wim@fluendo.com>
11796
11797         * check/Makefile.am:
11798         * gst/Makefile.am:
11799         * gst/elements/Makefile.am:
11800         * gst/elements/gstelements.c:
11801         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11802         (gst_fakesink_event), (gst_fakesink_chain):
11803         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11804         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11805         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11806         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11807         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11808         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11809         (gst_fakesrc_loop), (gst_fakesrc_activate),
11810         (gst_fakesrc_change_state):
11811         * gst/elements/gstfakesrc.h:
11812         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11813         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11814         (gst_filesrc_open_file), (gst_filesrc_loop),
11815         (gst_filesrc_activate), (gst_filesrc_change_state),
11816         (filesrc_find_peek), (filesrc_find_suggest),
11817         (gst_filesrc_type_find):
11818         * gst/elements/gstidentity.c: (gst_identity_finalize),
11819         (gst_identity_class_init), (gst_identity_init),
11820         (gst_identity_proxy_getcaps), (identity_queue_push),
11821         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11822         (gst_identity_getrange), (gst_identity_chain),
11823         (gst_identity_sink_loop), (gst_identity_src_loop),
11824         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11825         (gst_identity_set_property), (gst_identity_get_property),
11826         (gst_identity_change_state):
11827         * gst/elements/gstidentity.h:
11828         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11829         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11830         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11831         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11832         (gst_tee_sink_activate):
11833         * gst/elements/gsttee.h:
11834         * gst/gst.c: (gst_register_core_elements), (init_post):
11835         * gst/gst.h:
11836         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11837         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11838         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11839         (gst_bin_change_state):
11840         * gst/gstbin.h:
11841         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11842         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11843         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11844         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11845         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11846         (bus_watch_callback), (bus_watch_destroy),
11847         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11848         (poll_timeout), (gst_bus_poll):
11849         * gst/gstbus.h:
11850         * gst/gstcaps.h:
11851         * gst/gstdata.h:
11852         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11853         (gst_element_post_message), (gst_element_message_full),
11854         (gst_element_get_state_func), (gst_element_get_state),
11855         (gst_element_abort_state), (gst_element_commit_state),
11856         (gst_element_lost_state), (gst_element_set_state),
11857         (gst_element_pads_activate), (gst_element_change_state),
11858         (gst_element_dispose), (gst_element_set_manager_func),
11859         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11860         (gst_element_set_manager), (gst_element_get_manager),
11861         (gst_element_set_bus), (gst_element_get_bus),
11862         (gst_element_set_scheduler), (gst_element_get_scheduler):
11863         * gst/gstelement.h:
11864         * gst/gstevent.c: (gst_event_new_segment_seek),
11865         (gst_event_new_flush):
11866         * gst/gstevent.h:
11867         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11868         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11869         (gst_message_new_eos), (gst_message_new_error),
11870         (gst_message_new_warning), (gst_message_new_tag),
11871         (gst_message_new_state_changed), (gst_message_new_application),
11872         (gst_message_get_structure), (gst_message_parse_tag),
11873         (gst_message_parse_state_changed), (gst_message_parse_error),
11874         (gst_message_parse_warning):
11875         * gst/gstmessage.h:
11876         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11877         (gst_real_pad_set_property), (gst_pad_set_active),
11878         (gst_pad_is_active), (gst_pad_set_blocked_async),
11879         (gst_pad_set_blocked), (gst_pad_is_blocked),
11880         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11881         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11882         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11883         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11884         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11885         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11886         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11887         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11888         (gst_pad_set_caps), (gst_pad_configure_sink),
11889         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11890         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11891         (gst_real_pad_dispose), (gst_real_pad_finalize),
11892         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11893         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11894         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11895         * gst/gstpad.h:
11896         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11897         (pipeline_bus_handler), (gst_pipeline_change_state),
11898         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11899         * gst/gstpipeline.h:
11900         * gst/gstprobe.h:
11901         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11902         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11903         (gst_queue_link_src), (gst_queue_bufferalloc),
11904         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11905         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11906         (gst_queue_loop), (gst_queue_handle_src_event),
11907         (gst_queue_handle_src_query), (gst_queue_src_activate),
11908         (gst_queue_change_state):
11909         * gst/gstqueue.h:
11910         * gst/gstscheduler.c: (gst_scheduler_init),
11911         (gst_scheduler_dispose), (gst_scheduler_create_task),
11912         (gst_scheduler_factory_create):
11913         * gst/gstscheduler.h:
11914         * gst/gststructure.c: (gst_structure_get_type),
11915         (gst_structure_copy_conditional):
11916         * gst/gststructure.h:
11917         * gst/gsttaginterface.h:
11918         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11919         (gst_task_init), (gst_task_dispose), (gst_task_create),
11920         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11921         (gst_task_pause):
11922         * gst/gsttask.h:
11923         * gst/gstthread.c:
11924         * gst/gstthread.h:
11925         * gst/gsttypes.h:
11926         * gst/schedulers/Makefile.am:
11927         * gst/schedulers/cothreads_compat.h:
11928         * gst/schedulers/entryscheduler.c:
11929         * gst/schedulers/faircothreads.c:
11930         * gst/schedulers/faircothreads.h:
11931         * gst/schedulers/fairscheduler.c:
11932         * gst/schedulers/gstbasicscheduler.c:
11933         * gst/schedulers/gstoptimalscheduler.c:
11934         * gst/schedulers/gthread-cothreads.h:
11935         * gst/schedulers/threadscheduler.c:
11936         (gst_thread_scheduler_task_get_type),
11937         (gst_thread_scheduler_task_class_init),
11938         (gst_thread_scheduler_task_init),
11939         (gst_thread_scheduler_task_start),
11940         (gst_thread_scheduler_task_stop),
11941         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11942         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11943         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11944         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11945         (plugin_init):
11946         * libs/gst/Makefile.am:
11947         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11948         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11949         (gst_file_pad_parent_set):
11950         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11951         (gst_dp_event_from_packet):
11952         * tests/complexity.c: (main):
11953         * tests/mass_elements.c: (main):
11954         * testsuite/states/locked.c: (message_received), (main):
11955         * testsuite/states/parent.c: (main):
11956         * tools/gst-inspect.c: (print_element_flag_info),
11957         (print_implementation_info), (print_pad_info):
11958         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11959         (main):
11960         * tools/gst-md5sum.c: (event_loop), (main):
11961         * tools/gst-typefind.c: (main):
11962         * tools/gst-xmlinspect.c: (print_element_info):
11963         Next big merge.
11964         Added GstBus for mainloop integration.
11965         Added GstMessage for sending notifications on the bus.
11966         Added GstTask as an abstraction for pipeline entry points.
11967         Removed GstThread.
11968         Removed Schedulers.
11969         Simplified GstQueue for multithreaded core.
11970         Made _link threadsafe, removed old capsnego.
11971         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11972         Added pad blocking functions.
11973         Reworked scheduling functions in GstPad to prepare for
11974         scheduling updates soon.
11975         Moved events out of data stream.
11976         Simplified GstEvent types.
11977         Added return values to push/pull.
11978         Removed clocking from GstElement.
11979         Added prototypes for state change function for next merge.
11980         Removed iterate from bins and state change management.
11981         Fixed some elements, disabled others for now.
11982         Fixed -inspect and -launch.
11983         Added check for GstBus.
11984
11985 2005-03-10  Wim Taymans  <wim@fluendo.com>
11986
11987         * docs/design/part-MT-refcounting.txt:
11988         * docs/design/part-clocks.txt:
11989         * docs/design/part-gstelement.txt:
11990         * docs/design/part-gstobject.txt:
11991         * docs/design/part-standards.txt:
11992         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11993         (gst_bin_remove_func), (gst_bin_remove):
11994         * gst/gstbin.h:
11995         * gst/gstbuffer.c:
11996         * gst/gstcaps.h:
11997         * testsuite/clock/clock1.c: (main):
11998         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11999         (main):
12000         * testsuite/dlopen/loadgst.c: (do_test):
12001         * testsuite/refcounting/bin.c: (add_remove_test1),
12002         (add_remove_test2), (main):
12003         * testsuite/refcounting/element.c: (main):
12004         * testsuite/refcounting/element_pad.c: (main):
12005         * testsuite/refcounting/pad.c: (main):
12006         * tools/gst-launch.c: (sigint_handler_sighandler):
12007         * tools/gst-typefind.c: (main):
12008         Doc updates.
12009         Added doc about clock.
12010         removed gst_bin_iterate_recurse_up(), marked methods
12011         for removal.
12012         Fix more testsuites.
12013
12014 2005-03-09  Wim Taymans  <wim@fluendo.com>
12015
12016         * gst/gstpad.c: (gst_pad_get_direction),
12017         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12018         (gst_pad_collect_valist):
12019         * testsuite/bins/interface.c: (main):
12020         * testsuite/caps/audioscale.c: (test_caps):
12021         * testsuite/caps/caps.c: (test1), (test2), (test3):
12022         * testsuite/caps/deserialize.c: (main):
12023         * testsuite/caps/enumcaps.c: (main):
12024         * testsuite/caps/filtercaps.c: (main):
12025         * testsuite/caps/intersect2.c: (main):
12026         * testsuite/caps/random.c: (main):
12027         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12028         * testsuite/caps/sets.c: (check_caps):
12029         * testsuite/caps/simplify.c: (check_caps), (main):
12030         * testsuite/caps/subtract.c: (check_caps):
12031         Fix _pad_get_direction wrt ghostpads.
12032         Fix caps testsuite.
12033
12034 2005-03-09  Wim Taymans  <wim@fluendo.com>
12035
12036         * check/Makefile.am:
12037         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12038         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12039         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12040         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12041         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12042         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12043         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12044         (bin_element_is_sink), (gst_bin_iterate_sinks),
12045         (gst_bin_iterate_all_by_interface):
12046         * gst/gstbin.h:
12047         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12048         (gst_element_change_state), (gst_element_dispose),
12049         (gst_element_finalize), (gst_element_set_loop_function):
12050         * gst/gstelement.h:
12051         * gst/gstiterator.c: (find_custom_fold_func):
12052         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12053         (gst_pad_collectv), (gst_pad_collect_valist),
12054         (gst_pad_template_new):
12055         * gst/gstpipeline.c: (gst_pipeline_class_init),
12056         (gst_pipeline_dispose), (gst_pipeline_set_property),
12057         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12058         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12059         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12060         * gst/gstutils.h:
12061         * gst/schedulers/entryscheduler.c:
12062         * gst/schedulers/gstbasicscheduler.c:
12063         (gst_basic_scheduler_cothreaded_chain),
12064         (gst_basic_scheduler_chain_add_element):
12065         * testsuite/bins/interface.c: (main):
12066         Added GstBin test.
12067         Added GstSystemClock test.
12068         Implemented clock distribution code in GstBin.
12069         Implemented iterate sinks method for future use.
12070         Rearranged gstelement.h
12071         Fix GstIterator comparison bug.
12072         Moved some code to GstPipeline, mostly clocking related.
12073
12074 2005-03-09  Wim Taymans  <wim@fluendo.com>
12075
12076         * configure.ac:
12077         * gst/gst_private.h:
12078         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12079         (gst_bin_remove_func), (gst_bin_remove),
12080         (gst_bin_get_by_name_recurse_up):
12081         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12082         (gst_clock_id_compare_func), (gst_clock_id_wait),
12083         (gst_clock_id_wait_async), (gst_clock_init),
12084         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12085         * gst/gstelement.h:
12086         * gst/gstinfo.c: (_gst_debug_init):
12087         * gst/gstobject.h:
12088         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12089         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12090         * gst/gstpad.h:
12091         Bump version number, we're now 0.9.0
12092         Add future debugging category.
12093         Fix NULL _unref() in _get_by_name_recurse_up
12094         Rearrange gstpad.h.
12095         Update some docs.
12096
12097 2005-03-08  Wim Taymans  <wim@fluendo.com>
12098
12099         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12100         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12101         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12102         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12103         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12104         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12105         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12106         * gst/elements/gstidentity.c: (gst_identity_class_init):
12107         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12108         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12109         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12110         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12111         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12112         (gst_tee_link):
12113         * gst/gstelement.c: (gst_element_class_init),
12114         (gst_element_base_class_init), (gst_element_init),
12115         (gst_element_get_random_pad), (gst_element_wait_state_change),
12116         (gst_element_change_state), (gst_element_dispose),
12117         (gst_element_finalize), (gst_element_set_loop_function):
12118         * gst/gstelement.h:
12119         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12120         * gst/gstthread.c: (gst_thread_class_init),
12121         (gst_thread_release_children_locks), (gst_thread_change_state):
12122         * gst/schedulers/gstbasicscheduler.c:
12123         (gst_basic_scheduler_loopfunc_wrapper),
12124         (gst_basic_scheduler_chain_wrapper),
12125         (gst_basic_scheduler_src_wrapper),
12126         (gst_basic_scheduler_remove_element):
12127         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12128         Remove threadsafe properties. Fix elements because GObject
12129         complains when installing a property before declaring a
12130         set/get_property handler.
12131         Rearrange gstelement.h file, use STATE macros for state locks.
12132         Free mutexes in the finalize method instead of dispose.
12133
12134 2005-03-08  Wim Taymans  <wim@fluendo.com>
12135
12136         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12137         * gst/gstthread.c: (gst_thread_release_children_locks):
12138         Added parentage check.
12139         Fix build og GstThread again.
12140
12141 2005-03-08  Wim Taymans  <wim@fluendo.com>
12142
12143         * docs/design/part-MT-refcounting.txt:
12144         * docs/design/part-conventions.txt:
12145         * docs/design/part-gstobject.txt:
12146         * docs/design/part-relations.txt:
12147         * docs/design/part-standards.txt:
12148         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12149         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12150         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12151         (gst_bin_iterate_all_by_interface):
12152         * gst/gstbuffer.h:
12153         * gst/gstclock.h:
12154         * gst/gstelement.c: (gst_element_class_init),
12155         (gst_element_change_state), (gst_element_set_loop_function):
12156         * gst/gstelement.h:
12157         * gst/gstiterator.c:
12158         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12159         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12160         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12161         (gst_object_set_parent), (gst_object_unparent),
12162         (gst_object_check_uniqueness):
12163         * gst/gstobject.h:
12164         Docs updates, clean up some headers.
12165
12166 2005-03-07  Wim Taymans  <wim@fluendo.com>
12167
12168         * check/.cvsignore:
12169         * check/Makefile.am:
12170         * check/gst-libs/.cvsignore:
12171         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12172         * check/gst/.cvsignore:
12173         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12174         (START_TEST), (gstbus_suite), (main):
12175         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12176         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12177         (gst_data_suite), (main):
12178         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12179         (add_fold_func), (gstiterator_suite), (main):
12180         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12181         (thread_name_object), (thread_name_object_default),
12182         (gst_object_name_compare), (gst_object_suite), (main):
12183         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12184         (gst_pad_suite), (main):
12185         * check/gstcheck.c: (gst_check_log_message_func),
12186         (gst_check_log_critical_func), (gst_check_init):
12187         * check/gstcheck.h:
12188         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12189         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12190         Added checks.
12191
12192 2005-03-07  Wim Taymans  <wim@fluendo.com>
12193
12194         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12195         (gst_list_iterator_next), (gst_list_iterator_resync),
12196         (gst_list_iterator_free), (gst_iterator_new_list),
12197         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12198         (gst_iterator_free), (gst_iterator_push), (filter_next),
12199         (filter_resync), (filter_uninit), (filter_free),
12200         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12201         (gst_iterator_foreach), (find_custom_fold_func),
12202         (gst_iterator_find_custom):
12203         * gst/gstiterator.h:
12204         Added missing files.
12205
12206 2005-03-07  Wim Taymans  <wim@fluendo.com>
12207
12208         * Makefile.am:
12209         * configure.ac:
12210         * docs/design/part-MT-refcounting.txt:
12211         * docs/design/part-conventions.txt:
12212         * docs/design/part-gstobject.txt:
12213         * docs/design/part-relations.txt:
12214         * examples/mixer/mixer.c: (main):
12215         * examples/thread/thread.c: (eos), (main):
12216         * gst/Makefile.am:
12217         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12218         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12219         (gst_spider_plug_from_srcpad):
12220         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12221         (gst_spider_identity_change_state),
12222         (gst_spider_identity_sink_loop_type_finding):
12223         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12224         * gst/elements/gstidentity.c: (gst_identity_init):
12225         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12226         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12227         * gst/elements/gsttypefindelement.c: (free_entry):
12228         * gst/gst.c:
12229         * gst/gst.h:
12230         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12231         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12232         (gst_bin_set_index), (gst_bin_set_element_sched),
12233         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12234         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12235         (gst_bin_iterate_elements), (iterate_child_recurse),
12236         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12237         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12238         (compare_interface), (gst_bin_get_by_interface),
12239         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12240         * gst/gstbin.h:
12241         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12242         (gst_buffer_default_free), (gst_buffer_default_copy),
12243         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12244         (gst_buffer_create_sub):
12245         * gst/gstbuffer.h:
12246         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12247         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12248         (gst_caps_unref), (gst_static_caps_get),
12249         (gst_caps_remove_and_get_structure), (gst_caps_append),
12250         (gst_caps_append_structure), (gst_caps_remove_structure),
12251         (gst_caps_copy_nth), (gst_caps_set_simple),
12252         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12253         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12254         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12255         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12256         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12257         (gst_caps_structure_figure_out_union),
12258         (gst_caps_switch_structures), (gst_caps_do_simplify),
12259         (gst_caps_replace), (gst_caps_from_string),
12260         (gst_caps_copy_conditional):
12261         * gst/gstcaps.h:
12262         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12263         (_gst_clock_id_free), (gst_clock_id_unref),
12264         (gst_clock_id_compare_func), (gst_clock_id_wait),
12265         (gst_clock_id_wait_async), (gst_clock_class_init),
12266         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12267         (gst_clock_get_time), (gst_clock_set_time_adjust),
12268         (gst_clock_set_property), (gst_clock_get_property):
12269         * gst/gstclock.h:
12270         * gst/gstcompat.h:
12271         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12272         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12273         * gst/gstdata.h:
12274         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12275         (gst_element_requires_clock), (gst_element_provides_clock),
12276         (gst_element_set_clock), (gst_element_clock_wait),
12277         (gst_element_wait), (gst_element_set_time_delay),
12278         (gst_element_is_indexable), (gst_element_add_pad),
12279         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12280         (pad_compare_name), (gst_element_get_static_pad),
12281         (gst_element_request_pad), (gst_element_get_request_pad),
12282         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12283         (gst_element_class_get_pad_template_list),
12284         (gst_element_class_get_pad_template), (gst_element_error_func),
12285         (gst_element_get_random_pad), (gst_element_get_event_masks),
12286         (gst_element_send_event), (gst_element_seek),
12287         (gst_element_get_query_types), (gst_element_query),
12288         (gst_element_get_formats), (gst_element_convert),
12289         (gst_element_is_locked_state), (gst_element_set_locked_state),
12290         (gst_element_sync_state_with_parent), (gst_element_change_state),
12291         (gst_element_finalize), (gst_element_yield),
12292         (gst_element_interrupt), (gst_element_set_scheduler),
12293         (gst_element_get_scheduler), (gst_element_set_loop_function):
12294         * gst/gstelement.h:
12295         * gst/gstevent.h:
12296         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12297         (gst_format_get_by_nick), (gst_format_get_details),
12298         (gst_format_iterate_definitions):
12299         * gst/gstformat.h:
12300         * gst/gstindex.c: (gst_index_gtype_resolver):
12301         * gst/gstinfo.c:
12302         * gst/gstinfo.h:
12303         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12304         (gst_mem_chunk_free):
12305         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12306         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12307         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12308         (gst_object_dispatch_properties_changed),
12309         (gst_object_set_name_default), (gst_object_set_name),
12310         (gst_object_get_name), (gst_object_set_name_prefix),
12311         (gst_object_get_name_prefix), (gst_object_set_parent),
12312         (gst_object_get_parent), (gst_object_unparent),
12313         (gst_object_check_uniqueness), (gst_object_save_thyself),
12314         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12315         (gst_object_set_property), (gst_object_get_property),
12316         (gst_object_get_path_string):
12317         * gst/gstobject.h:
12318         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12319         (gst_real_pad_init), (gst_real_pad_get_property),
12320         (gst_pad_custom_new), (gst_pad_get_direction),
12321         (gst_pad_set_active), (gst_pad_is_active),
12322         (gst_pad_set_event_function), (gst_pad_is_linked),
12323         (gst_pad_link_free), (gst_pad_link_intersect),
12324         (gst_pad_link_fixate), (gst_pad_set_caps),
12325         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12326         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12327         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12328         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12329         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12330         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12331         (gst_pad_realize), (gst_pad_get_allowed_caps),
12332         (gst_real_pad_dispose), (gst_real_pad_finalize),
12333         (gst_pad_collectv), (gst_pad_collect_valist),
12334         (gst_pad_template_dispose), (gst_pad_template_new),
12335         (gst_pad_get_internal_links):
12336         * gst/gstpad.h:
12337         * gst/gstpipeline.c: (gst_pipeline_dispose),
12338         (gst_pipeline_change_state):
12339         * gst/gstpipeline.h:
12340         * gst/gstplugin.c:
12341         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12342         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12343         * gst/gstpluginfeature.h:
12344         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12345         * gst/gstquery.c: (_gst_query_type_initialize),
12346         (gst_query_type_register), (gst_query_type_get_by_nick),
12347         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12348         * gst/gstquery.h:
12349         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12350         * gst/gstscheduler.c: (gst_scheduler_add_element),
12351         (gst_scheduler_factory_create):
12352         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12353         (gst_structure_free), (gst_structure_set_name),
12354         (gst_structure_id_set_value), (gst_structure_set_value),
12355         (gst_structure_set_valist), (gst_structure_remove_field),
12356         (gst_structure_remove_fields),
12357         (gst_structure_remove_fields_valist),
12358         (gst_structure_remove_all_fields), (gst_structure_foreach),
12359         (gst_structure_map_in_place),
12360         (gst_caps_structure_fixate_field_nearest_int),
12361         (gst_caps_structure_fixate_field_nearest_double):
12362         * gst/gststructure.h:
12363         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12364         (gst_system_clock_init), (gst_system_clock_dispose),
12365         (gst_system_clock_async_thread),
12366         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12367         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12368         * gst/gstsystemclock.h:
12369         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12370         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12371         * gst/gsttaginterface.c:
12372         * gst/gstthread.c: (gst_thread_dispose),
12373         (gst_thread_release_children_locks), (gst_thread_change_state),
12374         (gst_thread_main_loop):
12375         * gst/gsttrashstack.h:
12376         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12377         * gst/gsttypes.h:
12378         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12379         (gst_element_request_pad), (gst_element_get_pad_from_template),
12380         (gst_element_request_compatible_pad),
12381         (gst_element_get_compatible_pad_filtered),
12382         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12383         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12384         (gst_element_link_many), (gst_element_link),
12385         (gst_element_link_pads), (gst_element_unlink_pads),
12386         (gst_element_unlink_many), (gst_element_unlink),
12387         (gst_pad_can_link_filtered), (gst_pad_can_link),
12388         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12389         (gst_object_default_error), (gst_bin_add_many),
12390         (gst_bin_remove_many), (gst_element_populate_std_props),
12391         (gst_element_class_install_std_props), (gst_buffer_merge),
12392         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12393         (link_fold_func), (gst_pad_proxy_setcaps):
12394         * gst/gstutils.h:
12395         * gst/gstvalue.c: (gst_value_deserialize_string):
12396         * gst/parse/grammar.y:
12397         * gst/schedulers/gstbasicscheduler.c:
12398         (gst_basic_scheduler_cothreaded_chain),
12399         (gst_basic_scheduler_chain_recursive_add),
12400         (gst_basic_scheduler_pad_link):
12401         * gst/schedulers/gstoptimalscheduler.c:
12402         (get_group_schedule_function),
12403         (gst_opt_scheduler_state_transition),
12404         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12405         * libs/gst/bytestream/bytestream.c:
12406         * libs/gst/dataprotocol/dataprotocol.c:
12407         (gst_dp_header_from_buffer):
12408         * po/nb.po:
12409         * po/ru.po:
12410         * tests/threadstate/threadstate2.c: (eos):
12411         * tools/gst-compprep.c: (main):
12412         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12413         (print_pad_info), (print_children_info):
12414         * tools/gst-launch.c: (idle_func), (main):
12415         * tools/gst-md5sum.c: (idle_func), (main):
12416         * tools/gst-xmlinspect.c: (print_element_info):
12417         First THREADED backport attempt, focusing on adding locks and
12418         making sure the API is threadsafe. Needs more work. More docs
12419         follow this week.
12420
12421 2005-02-24  Andy Wingo  <wingo@pobox.com>
12422
12423         * tests/bench-complexity.scm:
12424         * tests/complexity.gnuplot: New files, good for running complexity
12425         benchmarks.
12426
12427         * tests/Makefile.am:
12428         * tests/complexity.c: New test, sets up N elements, at each level
12429         teeing into M streams per element. Eeeenteresting.
12430
12431         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12432         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12433         running bench-mass_elements.scm.
12434
12435         * tests/bench-mass_elements.scm: New script, runs mass_elements
12436         for various numbers of identities, outputting the results to a
12437         file. Requires guile 1.6. Just for testing.
12438
12439 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12440
12441         * gst/schedulers/fairscheduler.c:
12442           compile with debug disabled
12443
12444 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12445
12446         * configure.ac:
12447           hunting season on 0.9 is now OPEN