docs/: moving documentation from core to lib
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2
3         * docs/gst/gstreamer-docs.sgml:
4         * docs/gst/gstreamer-sections.txt:
5         * docs/libs/gstreamer-libs-docs.sgml:
6         * docs/libs/gstreamer-libs-sections.txt:
7           moving documentation from core to lib
8
9 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10
11         * check/Makefile.am:
12         * configure.ac:
13         * docs/gst/Makefile.am:
14         * gst/Makefile.am:
15         * gst/base/.cvsignore:
16         * gst/base/Makefile.am:
17         * gst/base/README:
18         * gst/base/gstadapter.c:
19         * gst/base/gstadapter.h:
20         * gst/base/gstbasesink.c:
21         * gst/base/gstbasesink.h:
22         * gst/base/gstbasesrc.c:
23         * gst/base/gstbasesrc.h:
24         * gst/base/gstbasetransform.c:
25         * gst/base/gstbasetransform.h:
26         * gst/base/gstcollectpads.c:
27         * gst/base/gstcollectpads.h:
28         * gst/base/gstpushsrc.c:
29         * gst/base/gstpushsrc.h:
30         * gst/base/gsttypefindhelper.c:
31         * gst/base/gsttypefindhelper.h:
32         * gst/check/Makefile.am:
33         * gst/check/gstcheck.c:
34         * gst/check/gstcheck.h:
35         * gst/net/Makefile.am:
36         * gst/net/gstnet.h:
37         * gst/net/gstnetclientclock.c:
38         * gst/net/gstnetclientclock.h:
39         * gst/net/gstnettimepacket.c:
40         * gst/net/gstnettimepacket.h:
41         * gst/net/gstnettimeprovider.c:
42         * gst/net/gstnettimeprovider.h:
43         * libs/gst/Makefile.am:
44         * libs/gst/base/Makefile.am:
45         * libs/gst/base/gstbasetransform.c:
46         * libs/gst/check/Makefile.am:
47         * plugins/elements/Makefile.am:
48         * po/POTFILES.in:
49           CVS surgery + support to move base, check, and net out of gst
50           and into libs/gst
51
52 2005-11-29  Andy Wingo  <wingo@pobox.com>
53
54         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
55
56         * gst/gststructure.h (struct _GstStructure): Only one pointer of
57         padding.
58
59         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
60
61         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
62
63         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
64
65         * gst/gstobject.h: (struct _GstObject): Only one pointer of
66         padding; reduces object size by about 30%. We don't expect
67         anything else to go into gstobject.
68
69         * gst/gstminiobject.h (struct _GstMiniObject)
70         (struct _GstMiniObjectClass): Only one pointer of padding; the
71         payload is only a pointer and two ints anyway. For the class there
72         are only two methods as well.
73         
74         * gst/gstelement.h (struct _GstElementClass): Removed
75         the state_changed signal callback, it is not used.
76
77 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
78
79         * docs/gst/gstreamer.types:
80           fix includes, though they are a little dinky
81
82 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
83
84         * check/Makefile.am:
85           look in the right place for elements, a lot more chance of
86           success
87         * gst/Makefile.am:
88           remove indexers and elements subdirs
89         * plugins/Makefile.am:
90           make indexers conditional
91
92 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
93
94         * Makefile.am:
95         * configure.ac:
96         * plugins/elements/Makefile.am:
97         * plugins/elements/gstcapsfilter.c:
98         * plugins/elements/gstfilesink.c:
99         * plugins/elements/gstfilesrc.c:
100         * plugins/elements/gstidentity.c:
101         * plugins/indexers/Makefile.am:
102           do CVS surgery and related build fixery to move elements
103           and indexers in a new gstreamer/plugins directory, out of the
104           gst/ directory
105
106 2005-11-29  Andy Wingo  <wingo@pobox.com>
107
108         * check/Makefile.am:
109         * pkgconfig/gstreamer-net-uninstalled.pc.in:
110         * pkgconfig/gstreamer-net.pc.in:
111         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
112         #322257.
113
114 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
115
116         * tools/Makefile.am:
117         * tools/gst-complete.1.in:
118         * tools/gst-complete.c:
119         * tools/gst-compprep.1.in:
120         * tools/gst-compprep.c:
121           removing -compprep and -complete
122
123 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
124
125         * gst/gstevent.c: (gst_event_new_new_segment),
126         (gst_event_parse_new_segment):
127         * gst/gstevent.h:
128           fix #320529 - clean up new_segment API and structure.
129           Let's hope everyone was using the methods, and not the structure.
130
131 2005-11-29  Edward Hervey  <edward@fluendo.com>
132
133         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
134         (gst_base_sink_event), (gst_base_sink_do_sync),
135         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
136         Properly handle non GST_FORMAT_TIME segment
137         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
138         Properly handle non GST_FORMAT_TIME segment
139         * gst/gstsegment.c:
140         This function is valid if the accumulator is 0 and the format
141         is different from the requested format.
142         
143 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
144
145         * docs/gst/gstreamer-sections.txt:
146         Add gst_query_new_seeking and gst_query_parse_seeking to the
147         docs.
148
149 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
150
151         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
152           Treat a pad alloc with new caps the same as if we were not
153           negotiated, in order to allow a changing upstream output
154           to produce a new format of data.
155
156 2005-11-29  Edward Hervey  <edward@fluendo.com>
157
158         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
159         (gst_base_transform_event), (gst_base_transform_eventfunc):
160         The event virtual method is now properly implemented, with a default
161         handler
162         Sub classes should call the parent_class event method. They should
163         return FALSE if they had a problem handling the given event, or don't
164         want GstBaseTransform to send that even downstream
165         * gst/elements/gstidentity.c: (gst_identity_class_init),
166         (gst_identity_init), (gst_identity_event),
167         (gst_identity_transform_ip), (gst_identity_set_property),
168         (gst_identity_get_property):
169         * gst/elements/gstidentity.h:
170         Added the single-segment boolean property.
171         If set to TRUE, it will output a single segment of data, starting from
172         0, will eat up all incoming newsegment, and modify the timestamp of the
173         buffers accordingly
174
175 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
176
177         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
178           Don't ref NULL target pad (#322751). Improve docs.
179
180 2005-11-29  Michael Smith  <msmith@fluendo.com>
181
182         * gst/gstregistryxml.c: (load_plugin):
183           Don't crash if we failed to load a feature from a plugin. 
184
185 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
186
187         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
188         (GST_START_TEST):
189           use more check API and less GLib API
190
191 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
192
193         * Makefile.am:
194           don't run checks if we don't have check
195         * common/check.mak:
196           remove the registry when running make torture
197         * docs/gst/gstreamer-sections.txt:
198           remove second multiply
199         * gst/gstqueue.c: (gst_queue_loop):
200           fix a compile warning when disabling debug
201
202 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
203
204         * gst/gstinfo.h:
205         Hey! Let's print the pad name if the pointer != NULL instead
206         of when it == NULL :-)
207
208 2005-11-28  Wim Taymans  <wim@fluendo.com>
209
210         * check/gst/gstutils.c: (GST_START_TEST):
211         Updated check, add some scaling accuracy checking code.
212
213         * gst/gstutils.c: (gst_util_div128_64),
214         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
215         (gst_util_uint64_scale_int):
216         Fix 6 times faster division code. Optimize for common 
217         1/1 and less common X/1 cases.
218
219 2005-11-28  Wim Taymans  <wim@fluendo.com>
220
221         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
222         More checks.
223
224         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
225         (do_linear_regression), (gst_clock_add_observation):
226         Cleanups.
227         Release lock when the clock cannot be slaved.
228         Catch the case where the regression returned an invalid denominator.
229
230         * gst/gstutils.c: (gst_util_div128_64_iterate),
231         (gst_util_div128_64), (gst_util_uint64_scale_int64),
232         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
233         Add protentially more performant non-iterative 128/64 divide function
234         that unfortunatly does not work yet.
235         Shortcut the trivial 0/X = 0 case.
236         Remove the warnings on overflow.
237
238 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
239
240         * gst/gstplugin.c: (gst_plugin_register_func):
241           everything causing a plugin not to load should be at least a WARNING
242
243 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
244
245         * docs/random/ensonic/dparams.txt:
246           some TODOs for the next dev cycle
247         * libs/gst/controller/gstcontroller.c:
248         (gst_controlled_property_set_interpolation_mode),
249         (gst_controlled_property_new):
250         * libs/gst/controller/gstcontroller.h:
251           use base type to assign acccessor functions
252
253 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
254
255         * check/Makefile.am:
256         Oops, that should have been top_srcdir
257
258 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
259
260         * check/Makefile.am:
261         * check/elements/fdsrc.c: (GST_START_TEST):
262         Use a cmdline define to specify the location of a file to use for
263         testing, to avoid breaking distcheck.
264
265 2005-11-28  Andy Wingo  <wingo@pobox.com>
266
267         * gst/gstpad.c (fixate_value): Use array functions for arrays.
268
269 2005-11-28  Edward Hervey  <edward@fluendo.com>
270
271         * tools/gst-launch.c: (main):
272         Clarify the output strings, makes it easier to translate.
273         Fixes #322626
274
275 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
276
277         * gst/Makefile.am:
278           don't try and build net if we don't even have <sys/socket.h>
279
280 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
281
282         * check/Makefile.am:
283         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
284         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
285           Add tests for fdsrc seekability
286
287         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
288         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
289         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
290         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
291         * gst/elements/gstfdsrc.h:
292           fdsrc should not be a 'live' source.
293           Implement seeking on seekable fd's.
294
295         * gst/gstquery.c: (gst_query_new_seeking),
296         (gst_query_parse_seeking):
297         * gst/gstquery.h:
298           Implement SEEKING query functions: 
299             *_new_seeking and *_parse_seeking
300
301 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
302
303         * gst/gstelement.c: (gst_element_dispose):
304           don't loop forever
305
306         * gst/gstiterator.c:
307         * gst/gststructure.c:
308           doc fixes
309
310         * libs/gst/controller/gstcontroller.c:
311         (gst_controlled_property_set_interpolation_mode):
312         * libs/gst/controller/gstcontroller.h:
313         * libs/gst/controller/gstinterpolation.c:
314         (interpolate_none_get_enum_value_array):
315           support controlling enums
316
317 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
318
319         * gst/gstvalue.c:
320           Improve documentation for gst_value_union().
321
322         * gst/gstvalue.h:
323           Change return value for union, intersect and subtract functions
324           from gint to gboolean.
325
326 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
327
328         * gst/gstvalue.c: (gst_value_serialize_any_list),
329         (gst_value_transform_any_list_string),
330         (gst_value_deserialize_list), (gst_value_deserialize_array),
331         (gst_value_set_int_range), (gst_value_deserialize_int_range),
332         (gst_value_set_double_range), (gst_value_deserialize_double_range),
333         (gst_value_set_fraction_range_full),
334         (gst_value_deserialize_fraction_range),
335         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
336         (gst_value_deserialize_boolean),
337         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
338         (gst_value_serialize_float), (gst_value_deserialize_float),
339         (gst_string_wrap), (gst_value_deserialize_string),
340         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
341         (gst_value_union_int_range_int_range),
342         (gst_value_intersect_int_range_int_range),
343         (gst_value_intersect_double_range_double_range),
344         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
345         (gst_value_subtract_int_range_int_range),
346         (gst_value_subtract_double_double_range),
347         (gst_value_subtract_double_range_double_range),
348         (gst_value_deserialize_fraction):
349         * gst/gstvalue.h:
350           Use gint, gdouble and gchar in our API instead of int, double and
351           char (and make usage in gstvalue.c more consistent).
352
353 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
354
355         * check/Makefile.am:
356         * libs/gst/controller/Makefile.am:
357         * libs/gst/dataprotocol/Makefile.am:
358           fix up Makefile.am and remove GST_ENABLE_NEW
359
360 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
361
362         * configure.ac:
363         * gst/Makefile.am:
364         * gst/base/Makefile.am:
365         * gst/check/Makefile.am:
366         * gst/elements/Makefile.am:
367         * gst/net/Makefile.am:
368           update LDFLAGS use some more
369
370 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
371
372         * common/m4/gst-doc.m4:
373           Fixes #312589
374
375 2005-11-26  Edward Hervey  <edward@fluendo.com>
376
377         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
378         This shouldn't issue a g_warning since it returns NULL if it
379         couldn't find the plugin, and all functions using this behave
380         properly on a NULL return. Switching to a GST_WARNING.
381
382 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
383
384         * gst/gstbin.c: (gst_bin_handle_message_func):
385         Don't leak clock messages.
386
387 2005-11-25  Wim Taymans  <wim@fluendo.com>
388
389         * gst/gstutils.c: (gst_util_uint64_scale_int64),
390         (gst_util_uint64_scale_int):
391         Optimisations, remove unneeded vars.
392
393 2005-11-25  Wim Taymans  <wim@fluendo.com>
394
395         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
396         Added more checks for the high precision uint64 cases.
397
398         * gst/gstutils.c: (gst_util_uint64_scale_int64),
399         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
400         Implement high precission (guint64 * guint64) / guint64.
401
402 2005-11-24  Wim Taymans  <wim@fluendo.com>
403
404         * gst/base/gstbasesrc.c: (gst_base_src_query):
405         Fix wrong percentage query.
406
407         * gst/gstutils.c: (gst_util_uint64_scale),
408         (gst_util_uint64_scale_int):
409         Add some more common cases that can be handled 
410         efficiently to _scale.
411
412 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
413
414         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
415         (gst_mini_object_suite):
416           don't use check calls from threads; check probably isn't
417           threadsafe and using a lock to make it threadsafe would
418           defeat the purpose of this check
419         * gst/check/gstcheck.c:
420         * gst/check/gstcheck.h:
421           use GST_DEBUG some more
422
423 2005-11-24  Wim Taymans  <wim@fluendo.com>
424
425         * gst/gstutils.c: (gst_util_uint64_scale),
426         (gst_util_uint64_scale_int):
427         Chain trivial case to _scale_int.
428
429 2005-11-24  Wim Taymans  <wim@fluendo.com>
430
431         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
432         Added test for scaling.
433
434         * gst/gstclock.h:
435         Small doc fix.
436
437         * gst/gstutils.c: (gst_util_uint64_scale_int):
438         Implemented high precision scaling code.
439
440 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
441
442         * gst/gstinfo.h:
443           do not crash on pad==NULL
444
445 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
446
447         Patch by: Stefan Kost
448
449         * common/gtk-doc.mak:
450         * docs/gst/Makefile.am:
451         * docs/libs/Makefile.am:
452           Fix distcheck issues for the libraries docs build
453           Closes #319599.
454
455 2005-11-24  Michael Smith <msmith@fluendo.com>
456
457         * docs/manual/basics-helloworld.xml:
458           Fix bug #315027: memory leak in example code in docs.
459
460 2005-11-24  Michael Smith <msmith@fluendo.com>
461
462         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
463           Unlock the PREROLL_LOCK in a failure case.
464
465 2005-11-24  Wim Taymans  <wim@fluendo.com>
466
467         * docs/gst/gstreamer-sections.txt:
468         * gst/base/gstadapter.h:
469         * gst/base/gstbasesink.h:
470         * gst/base/gstbasesrc.h:
471         * gst/base/gstbasetransform.h:
472         * gst/base/gstpushsrc.h:
473         * gst/elements/gstfakesink.h:
474         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
475         * gst/elements/gstfakesrc.h:
476         * gst/elements/gstfilesink.h:
477         * gst/elements/gstfilesrc.h:
478         * gst/gst.c:
479         * gst/gstbin.c:
480         * gst/gstbuffer.c: (_gst_buffer_copy):
481         * gst/gstbus.h:
482         * gst/gstcaps.c:
483         * gst/gstchildproxy.c:
484         * gst/gstclock.c:
485         * gst/gstelement.c:
486         * gst/gstelementfactory.c:
487         * gst/gstelementfactory.h:
488         * gst/gstevent.c:
489         * gst/gstghostpad.h:
490         * gst/gstindex.h:
491         * gst/gstinterface.h:
492         * gst/gstminiobject.c:
493         * gst/gstminiobject.h:
494         * gst/gstpad.c:
495         * gst/gstpad.h:
496         * gst/gstpadtemplate.h:
497         * gst/gstpipeline.h:
498         * gst/gstpluginfeature.h:
499         * gst/gstquery.h:
500         * gst/gstqueue.h:
501         * gst/gsttaglist.c:
502         * gst/gsttaglist.h:
503         * gst/gsttagsetter.c:
504         * gst/gsttagsetter.h:
505         * gst/gsttrace.c:
506         * gst/gsttrace.h:
507         * gst/gsttypefind.h:
508         * gst/gsturi.h:
509         * gst/gstvalue.c:
510         * gst/net/gstnetclientclock.c:
511         * gst/net/gstnetclientclock.h:
512         * gst/net/gstnettimepacket.c:
513         * gst/net/gstnettimeprovider.c:
514         * gst/net/gstnettimeprovider.h:
515         Doc fixes.
516
517 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
518
519         * configure.ac: back to HEAD
520
521 === release 0.9.6 ===
522
523 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
524
525         * configure.ac:
526           releasing 0.9.6, "Always On Time"
527
528 2005-11-23  Wim Taymans  <wim@fluendo.com>
529
530         * docs/gst/gstreamer-sections.txt:
531         * gst/glib-compat.c:
532         * gst/gsttagsetter.c:
533         * gst/gstvalue.c:
534         * gst/net/gstnetclientclock.c:
535         * gst/net/gstnettimepacket.h:
536         Doc updates.
537
538 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
539
540         * docs/faq/using.xml:
541         * docs/libs/tmpl/gstcontrol.sgml:
542         * docs/manual/advanced-dparams.xml:
543         * docs/manual/appendix-checklist.xml:
544         * docs/manual/basics-elements.xml:
545         * docs/pwg/other-source.xml:
546         * docs/random/moving-plugins:
547         * gst/gstpad.c:
548         * tools/gst-launch.1.in:
549           remove mentions of sinesrc
550
551 2005-11-23  Michael Smith <msmith@fluendo.com>
552
553         * docs/gst/gstreamer-sections.txt:
554           Update for new API and API changes.
555         * gst/gstobject.h:
556           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
557         * gst/gstvalue.c:
558           Documentation typo fix.
559         * gst/net/gstnettimepacket.c:
560           Documentation fixes for arguments.
561
562 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
563
564         * gst/gststructure.c: (gst_structure_get_fraction),
565         (gst_structure_parse_value),
566         (gst_structure_fixate_field_nearest_fraction):
567         * gst/gststructure.h:
568         * gst/gstutils.c: (gst_util_uint64_scale_int):
569         * gst/gstutils.h:
570         * scripts/update-funcnames:
571         API Changes. 
572         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
573         Make gst_structure_fixate_field_nearest_fraction take a numerator
574         and denominator argument instead of a GValue
575         add gst_structure_get_fraction helper function.
576
577 2005-11-23  Wim Taymans  <wim@fluendo.com>
578
579         * docs/design/part-TODO.txt:
580         Update TODO.
581
582         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
583         * gst/net/gstnetclientclock.h:
584         Use parent fields for timeout and window_size.
585
586 2005-11-23  Andy Wingo  <wingo@pobox.com>
587
588         * check/net/gstnetclientclock.c (test_functioning): Adjust to
589         rate_num/rate_denom change.
590
591         * gst/net/gstnetclientclock.c
592         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
593         OBJECT_LOCK. Don't call add_observation with the lock.
594
595         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
596         fraction.
597         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
598         rate fraction.
599         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
600         deal with rate as a fraction whose numerator and denominator are
601         GstClockTime values.
602         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
603         master; the other fields are protected by the SLAVE_LOCK.
604         (do_linear_regression): Note that this must be called with the
605         SLAVE_LOCK.
606         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
607         OBJECT_LOCK. Call set_calibration instead of touching the
608         variables directly.
609         (gst_clock_set_property, gst_clock_get_property): Protect
610         master/slave parameters with the SLAVE_LOCK.
611
612         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
613         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
614         note that all of the instance variables that add_observation and
615         the set_master functions use are protected by that lock and not
616         the OBJECT_LOCK.
617         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
618
619         * gst/gstclock.c (gst_clock_add_observation): No longer requires
620         the caller to take the object lock.
621
622 2005-11-23  Wim Taymans  <wim@fluendo.com>
623
624         * gst/gsterror.c: (_gst_core_errors_init):
625         * gst/gsterror.h:
626         Add error for clock stuff.
627
628         * gst/gstpipeline.c: (gst_pipeline_change_state),
629         (gst_pipeline_set_clock):
630         Post clock error when clock cannot be used in a pipeline.
631
632 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
633
634         * docs/gst/gstreamer-sections.txt:
635           make two symbols from gstinfo private for the docs
636         * gst/base/gstcollectpads.h:
637         * gst/gstutils.c:
638           fix doc typos, update docs
639
640 2005-11-22  Wim Taymans  <wim@fluendo.com>
641
642         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
643         (gst_base_sink_wait), (gst_base_sink_do_sync),
644         (gst_base_sink_handle_event):
645         * gst/base/gstbasesink.h:
646         No need to store the clock, the parent element class already
647         has it.
648
649         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
650         Updates for clock_set returning a gboolean
651
652         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
653         (gst_clock_id_wait_async), (gst_clock_class_init),
654         (gst_clock_init), (gst_clock_finalize),
655         (gst_clock_get_internal_time), (gst_clock_get_time),
656         (gst_clock_slave_callback), (gst_clock_set_master),
657         (gst_clock_get_master), (do_linear_regression),
658         (gst_clock_add_observation), (gst_clock_set_property),
659         (gst_clock_get_property):
660         * gst/gstclock.h:
661         Implement master/slave. When setting a clock as a slave, a
662         periodic timeout is scheduled to sample master and slave times.
663         Then the slave clock is recalibrated to match offset and rate
664         of the master clock.
665         Update logging a bit.
666         Add flag so that a clock can state that is cannot be slaved to
667         another clock.
668
669         * gst/gstelement.c: (gst_element_set_clock):
670         * gst/gstelement.h:
671         The set clock returns a gboolean for when an element cannot
672         deal with the selected clock in the pipeline. 
673
674         * gst/gstpipeline.c: (gst_pipeline_change_state),
675         (gst_pipeline_set_clock):
676         * gst/gstpipeline.h:
677         Handle the case where the selected clock cannot be set on
678         the pipeline.
679
680         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
681         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
682         (gst_net_client_clock_set_property),
683         (gst_net_client_clock_get_property),
684         (gst_net_client_clock_observe_times):
685         * gst/net/gstnetclientclock.h:
686         Use regression code in GstClock parent, remove duplicated
687         functionality.
688
689 2005-11-22  Michael Smith <msmith@fluendo.com>
690
691         * gst/gstutils.c: (gst_util_clock_time_scale):
692         * gst/gstutils.h:
693         * docs/gst/gstreamer-sections.txt:
694           Rename method to have extra underscore.
695
696 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
697
698         * gst/elements/Makefile.am:
699         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
700         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
701         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
702         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
703         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
704         * gst/elements/gstfakesrc.h:
705         * gst/gstqueue.c: (queue_leaky_get_type):
706           correctly fix GEnumValues so that nick is the short lowercase
707           dashed tag
708         * tools/gst-inspect.c: (print_element_properties_info):
709           also show the nick, since it's useful to use from parse_launch
710           syntax
711           Fixes #322139
712
713 2005-11-22  Michael Smith <msmith@fluendo.com>
714
715         * gst/gstutils.c: (gst_util_clocktime_scale):
716         * gst/gstutils.h:
717         * docs/gst/gstreamer-sections.txt:
718           Add util method for scaling a clocktime by a fraction. Useful 
719           implementation is left as an exercise for the reader.
720
721 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
722
723         * gst/gstvalue.c: (gst_value_collect_fraction_range):
724         If needed, allocate storage in the destination value during
725         collection.
726
727 2005-11-22  Edward Hervey  <edward@fluendo.com>
728
729         * docs/gst/gstreamer-sections.txt:
730         * gst/Makefile.am:
731         * gst/gst.h:
732         * gst/gsturitype.c:
733         * gst/gsturitype.h:
734         * gst/gstutils.c: (gst_util_set_object_arg):
735         * tools/gst-compprep.c: (main):
736         * tools/gst-inspect.c: (print_element_properties_info):
737         Removed GstURI, closes bug #321061
738
739 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
740
741         * check/gst/gststructure.c: (GST_START_TEST):
742         * gst/gststructure.c: (gst_structure_parse_value):
743           Oops, broke automatic string type parsing.
744           Add a test to catch it in future.
745
746 2005-11-22  Andy Wingo  <wingo@pobox.com>
747
748         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
749         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
750         Actually rename the function implementations. Grr.
751
752 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
753
754         * check/gst/capslist.h:
755           Comment test cases
756         * check/gst/gststructure.c: (GST_START_TEST),
757         (gst_structure_suite):
758           Test automatic value type detection in gst_structure_from_string.
759         * gst/gststructure.c: (gst_structure_parse_value):
760           Add fraction as a type we try and guess automatically in
761           caps/structure strings.
762
763 2005-11-22  Andy Wingo  <wingo@pobox.com>
764
765         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
766
767         * gst/gsttagsetter.h:
768         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
769         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
770         (gst_tag_setter_add_tag_valist)
771         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
772         _add_values, _add_valist, and _add_valist_values. Since this is an
773         interface the function suffixes should be more explicit so
774         language binding don't end up with element.add_valist ->
775         gst_tag_setter_add_valist, for example. Fixes #322069.
776
777 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
778
779         * check/gst/gstcaps.c: (GST_START_TEST):
780           Extend caps string tests to check that a caps to string
781           conversion is reversible and produces the same caps.
782
783         * gst/gststructure.c: (gst_structure_value_get_generic_type):
784           Output "fraction" as the generic type fraction range, so caps
785           serialisation and deserialisation works.
786         * check/gst/capslist.h:
787         * gst/gstvalue.c: (gst_value_deserialize_fraction):
788           Support 'MIN' and 'MAX' for deserialising fractions.
789
790 2005-11-22  Andy Wingo  <wingo@pobox.com>
791
792         * gst/gstevent.h (gst_event_new_new_segment)
793         (gst_event_parse_new_segment, gst_event_new_buffer_size)
794         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
795         Renamed from *_newsegment, *_buffersize, *_notarget.
796
797         * scripts/update-funcnames: New script, performs the changes
798         listed above.
799
800 2005-11-22  Wim Taymans  <wim@fluendo.com>
801
802         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
803         Make sure the GstFlowReturn is returned.
804
805         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
806         (gst_bus_add_signal_watch):
807         * gst/gstbus.h:
808         add gst_bus_add_signal_watch_full.
809
810         * gst/gstplugin.c: (gst_plugin_load_file):
811         Small style cleanup.
812
813 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
814
815         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
816           Block the fakesrc srcpad when we send an event, to avoid
817           contention on the stream_lock causing random test failures.
818
819 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
820
821         * check/gst/gstvalue.c: (GST_START_TEST):
822         * gst/gstvalue.c: (gst_value_fraction_subtract):
823           Fix subtraction.
824
825 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
826
827         * gst/gst.h:
828           include "gstchildproxy.h"
829         * gst/gstchildproxy.h:
830         * libs/gst/controller/gstcontroller.h:
831           use G_GNUC_NULL_TERMINATED
832
833 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
834
835         * check/gst/capslist.h:
836         * check/gst/gstcaps.c: (GST_START_TEST):
837         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
838         * gst/gststructure.c: (gst_structure_parse_range),
839         (gst_structure_fixate_field_nearest_fraction):
840         * gst/gststructure.h:
841         * gst/gstvalue.c: (gst_value_init_fraction_range),
842         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
843         (gst_value_collect_fraction_range),
844         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
845         (gst_value_set_fraction_range_full),
846         (gst_value_get_fraction_range_min),
847         (gst_value_get_fraction_range_max),
848         (gst_value_serialize_fraction_range),
849         (gst_value_transform_fraction_range_string),
850         (gst_value_compare_fraction_range),
851         (gst_value_deserialize_fraction_range),
852         (gst_value_intersect_fraction_fraction_range),
853         (gst_value_intersect_fraction_range_fraction_range),
854         (gst_value_subtract_fraction_fraction_range),
855         (gst_value_subtract_fraction_range_fraction),
856         (gst_value_subtract_fraction_range_fraction_range),
857         (gst_value_collect_fraction), (gst_value_fraction_multiply),
858         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
859         (gst_value_transform_string_fraction), (_gst_value_initialize):
860         * gst/gstvalue.h:
861           Implement fraction ranges and extend GstFraction to support
862           arithmetic subtraction, as well as deserialization from integer
863           strings such as "100"
864           Add a testsuite as for int and double range set operations
865
866 2005-11-21  Andy Wingo  <wingo@pobox.com>
867
868         * gst/gsttaglist.h: 
869         * gst/gstcaps.h: 
870         * gst/gststructure.h: Add glib-compat.h.
871
872 2005-11-21  Wim Taymans  <wim@fluendo.com>
873
874         * gst/gstbin.c: (gst_bin_change_state_func):
875         Fix for #321595
876
877 2005-11-21  Wim Taymans  <wim@fluendo.com>
878
879         * gst/gstsegment.h:
880         And add a nice define too.
881
882 2005-11-21  Wim Taymans  <wim@fluendo.com>
883
884         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
885         (gst_segment_new), (gst_segment_free), (gst_segment_init),
886         (gst_segment_set_duration), (gst_segment_set_last_stop),
887         (gst_segment_set_seek), (gst_segment_set_newsegment),
888         (gst_segment_to_stream_time), (gst_segment_to_running_time),
889         (gst_segment_clip):
890         * gst/gstsegment.h:
891         Make binding friendly.
892
893 2005-11-21  Andy Wingo  <wingo@pobox.com>
894
895         * gst/gsttagsetter.h: 
896         * gst/gsttaglist.h: 
897         * gst/gststructure.h: 
898         * gst/gstcaps.h: 
899         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
900         #319940.
901
902         * gst/gsterror.c (_gst_core_errors_init):
903         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
904         category.
905
906         * gst/Makefile.am (gst_headers): Add glib-compat.h.
907         (noinst_HEADERS): noinst the -private.
908
909 2005-11-21  Michael Smith <msmith@fluendo.com>
910
911         * gst/gstplugin.h:
912         * gst/gstregistry.h:
913           Remove unimplemented declarations for which we can see no sensible
914           use.
915
916 2005-11-21  Andy Wingo  <wingo@pobox.com>
917
918         * gst/gst.h: Include glib-compat.h.
919
920         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
921
922         * gst/glib-compat.c: Include the public and the private header.
923
924         * gst/glib-compat-private.h: Copied here from glib-compat.h.
925
926         * gst/gstvalue.c: 
927         * gst/gstpad.c: 
928         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
929
930         * check/gst/gstevent.c (create_custom_events): Check that
931         FLUSH_STOP is serialized.
932
933         * check/elements/identity.c (event_func): 
934         * check/elements/fakesrc.c (event_func): No stream lock, the core
935         takes it.
936
937         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
938         stream lock taking, yay.
939
940         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
941         ensure that core takes the stream lock.
942
943         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
944         lock name change.
945
946         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
947         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
948         it already. For the flush start we do take it though so we get the
949         right preroll state change messages.
950
951         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
952         the stream lock here, the core does it for us.
953
954         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
955         GST_STREAM_GET_LOCK.
956         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
957         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
958         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
959         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
960         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
961         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
962
963         * gst/gstpad.c: Update for stream lock name change.
964
965         * gst/base/gstbasesink.c: Update for preroll lock name change.
966
967 2005-11-21  Wim Taymans  <wim@fluendo.com>
968
969         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
970         (gst_clock_get_master):
971         * gst/gstclock.h:
972         * gst/gstsystemclock.c: (gst_system_clock_init):
973         Convert Clock flags to object flags.
974         Added methods to manage master/slave clocks.
975
976 2005-11-21  Wim Taymans  <wim@fluendo.com>
977
978         * check/gst/gstsegment.c: (GST_START_TEST):
979         * docs/design/part-TODO.txt:
980         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
981         (gst_base_sink_event), (gst_base_sink_do_sync),
982         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
983         (gst_base_sink_query), (gst_base_sink_change_state):
984         * gst/base/gstbasesink.h:
985         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
986         (gst_base_src_default_newsegment),
987         (gst_base_src_configure_segment), (gst_base_src_do_seek),
988         (gst_base_src_get_range), (gst_base_src_loop),
989         (gst_base_src_change_state):
990         * gst/base/gstbasesrc.h:
991         * gst/base/gstbasetransform.c:
992         (gst_base_transform_prepare_output_buf),
993         (gst_base_transform_event), (gst_base_transform_change_state):
994         * gst/base/gstbasetransform.h:
995         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
996         (gst_collect_pads_event):
997         * gst/base/gstcollectpads.h:
998         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
999         (gst_fake_src_create):
1000         * gst/elements/gstfakesrc.h:
1001         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1002         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1003         (gst_segment_set_last_stop), (gst_segment_set_seek),
1004         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1005         (gst_segment_to_running_time), (gst_segment_clip):
1006         * gst/gstsegment.h:
1007         More segment updates, replace code in plugins with segment
1008         helper functions.
1009
1010 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1011
1012         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1013         Don't ignore sscanf results
1014
1015 2005-11-21  Andy Wingo  <wingo@pobox.com>
1016
1017         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1018
1019         * *.h:
1020         * *.c: Ran scripts/update-macros. Oh yes.
1021
1022         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1023         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1024         GST_GET_LOCK, etc.
1025
1026         * scripts/update-macros: New script. Run it on your files to
1027         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1028         well.
1029
1030 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1031
1032         * docs/gst/Makefile.am:
1033         * docs/gst/gstreamer-docs.sgml:
1034         * docs/gst/gstreamer-sections.txt:
1035         * docs/gst/gstreamer.types:
1036         * gst/gstinfo.h:
1037           more docs fixes, add new api to the docs
1038
1039 2005-11-21  Andy Wingo  <wingo@pobox.com>
1040
1041         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1042         state_broadcast call.
1043
1044         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1045
1046 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1047
1048         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1049         function calls for arrays.
1050
1051 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1052
1053         * docs/random/ensonic/media-device-daemon.txt:
1054           wild idea, can this be done?
1055         * docs/gst/gstreamer-sections.txt:
1056         * gst/gsterror.h:
1057         * gst/gstfilter.c:
1058         * gst/gstfilter.h:
1059         * gst/gstplugin.h:
1060         * gst/gstpluginfeature.c:
1061         * gst/gsttrace.c:
1062         * gst/gstvalue.c:
1063         * gst/gstvalue.h:
1064           doc fixes and additions
1065
1066 2005-11-21  Andy Wingo  <wingo@pobox.com>
1067
1068         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1069         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1070         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1071         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1072         private to the basesrc implementation.
1073
1074         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1075         behalf of event function if necessary. It should no longer be
1076         necessary to take the stream lock in pad's event functions. Fixes
1077         #320299.
1078
1079 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1080         * docs/gst/gstreamer-sections.txt:
1081         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1082         (gst_structure_fixate_field_nearest_double),
1083         (gst_structure_fixate_field_boolean):
1084         * gst/gststructure.h:
1085         * win32/common/libgstreamer.def:
1086         * win32/gstreamer.def:
1087
1088         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1089         (#322027)
1090
1091 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1092
1093         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1094         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1095         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1096         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1097         (gst_fdsrc_uri_handler_init):
1098         * gst/elements/gstfdsrc.h:
1099           Port fd:// URI handler from 0.8 to fdsrc
1100
1101 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1102
1103         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1104         (gst_value_serialize_fourcc):
1105         * gst/gstvalue.h:
1106           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1107           consistent with our other format defines (#320324).
1108
1109 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1110
1111         * gst/gstvalue.c: (gst_value_is_fixed):
1112           Revert previous commit. Value lists are by definition
1113           not fixed, as they are a list of possible values.
1114
1115 2005-11-21  Andy Wingo  <wingo@pobox.com>
1116
1117         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1118         during the stable series if we need it. Fixes #319178.
1119
1120         * gst/gstevent.c (gst_event_new_filler): Removed.
1121
1122         * check/gst/gstevent.c: Update comment about filler events.
1123
1124 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1125
1126         * gst/gstvalue.c: (gst_value_is_fixed):
1127           Should handle both value arrays and value lists.
1128
1129 2005-11-21  Andy Wingo  <wingo@pobox.com>
1130
1131         patch by: Alessandro Dessina <alessandro nnva org>
1132
1133         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1134         functions to access arrays. Fixes #321962.
1135
1136 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1137
1138         * docs/gst/gstreamer.types:
1139           gst_collectpads_get_type => gst_collect_pads_get_type.
1140           
1141         * gst/base/gstbasetransform.c:
1142           Remove unused SIGNAL_HANDOFF enum.
1143
1144 2005-11-21  Andy Wingo  <wingo@pobox.com>
1145
1146         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1147         the event type (upstream, downstream, serialized). Renamed
1148         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1149         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1150         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1151
1152         * gst/gstevent.c: Update for new CUSTOM event names.
1153
1154         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1155
1156         * gst/gstevent.h:
1157         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1158         bug #319392.
1159
1160 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1161
1162         * docs/gst/gstreamer-sections.txt:
1163         * win32/common/libgstbase.def:
1164         * win32/libgstbase.def:
1165         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1166         (gst_collect_pads_class_init), (gst_collect_pads_init),
1167         (gst_collect_pads_finalize), (gst_collect_pads_new),
1168         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1169         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1170         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1171         (gst_collect_pads_start), (gst_collect_pads_stop),
1172         (gst_collect_pads_peek), (gst_collect_pads_pop),
1173         (gst_collect_pads_available), (gst_collect_pads_read),
1174         (gst_collect_pads_flush), (gst_collect_pads_event),
1175         (gst_collect_pads_chain):
1176         * gst/base/gstcollectpads.h:
1177           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1178           unimplemented functions as unimplemented. Add padding to
1179           GstCollectData. (#320766, #320423)
1180
1181 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1182
1183         * gst/gstmessage.c:
1184           Improve docs for DURATION message (usage of duration parameter)
1185           (#320113)
1186
1187 2005-11-20  Wim Taymans  <wim@fluendo.com>
1188
1189         * check/Makefile.am:
1190         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1191         (main):
1192         * gst/Makefile.am:
1193         * gst/gst.h:
1194         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1195         (gst_segment_set_seek), (gst_segment_set_newsegment),
1196         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1197         (gst_segment_clip):
1198         * gst/gstsegment.h:
1199         Added segment helper structure and methods. Not fully implemented
1200         yet.
1201         Added segment check.
1202
1203 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1204
1205         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1206           Add a deserialisation test for fractions
1207         * examples/metadata/read-metadata.c: (message_loop),
1208         (make_pipeline), (main):
1209           Fix up metadata reading sample.
1210         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1211           Debug format fix
1212         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1213           Don't try and fixate empty caps
1214         * gst/gst_private.h:
1215           Wrap in G_BEGIN_DECLS/G_END_DECLS
1216         * gst/gstvalue.c: (gst_value_collect_fraction),
1217         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1218         (gst_value_transform_string_fraction),
1219         (gst_value_compare_fraction):
1220           Add some extra guards to ensure that we don't end up 
1221           with an invalid denominator of 0 in a gstfraction and
1222           that fractions always get reduced.
1223
1224 2005-11-20  Wim Taymans  <wim@fluendo.com>
1225
1226         * docs/gst/gstreamer-sections.txt:
1227         * gst/gstbuffer.h:
1228         * gst/gstelement.c:
1229         * gst/gstformat.c:
1230         * gst/gstformat.h:
1231         * gst/gstindex.h:
1232         * gst/gstquery.c:
1233         * gst/gstquery.h:
1234         * gst/gstvalue.c:
1235         Doc fixes.
1236
1237 2005-11-20  Wim Taymans  <wim@fluendo.com>
1238
1239         * docs/design/part-TODO.txt:
1240         * gst/gstcaps.h:
1241         Make a proper enum of the flag.
1242
1243 2005-11-19  Wim Taymans  <wim@fluendo.com>
1244
1245         * docs/design/part-TODO.txt:
1246         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1247         (gst_format_to_quark), (gst_format_register):
1248         * gst/gstformat.h:
1249         * gst/gstquery.c: (_gst_query_initialize),
1250         (gst_query_type_get_name), (gst_query_type_to_quark),
1251         (gst_query_type_register):
1252         * gst/gstquery.h:
1253         Add type to quark and type to string conversions.
1254
1255 2005-11-19  Andy Wingo  <wingo@pobox.com>
1256
1257         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1258         #320097.
1259
1260 2005-11-19  Wim Taymans  <wim@fluendo.com>
1261
1262         * docs/design/part-TODO.txt:
1263         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1264         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1265         (gst_bin_handle_message_func):
1266         * gst/gstbin.h:
1267         Make message handling overridable.
1268
1269 2005-11-19  Andy Wingo  <wingo@pobox.com>
1270
1271         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1272
1273         * gst/gstclock.h:
1274         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1275         be a GstClockTime.
1276         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1277         is a GstClockTime. Fixes #321710.
1278
1279         * gst/gstclock.h (GstClock): Remove offset property. Add
1280         internal_calibration and external_calibration. Fix padding. Pad
1281         also by GstClockTime so we don't run into problems.
1282
1283         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1284         (gst_clock_get_rate_offset): Remove.
1285         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1286
1287         * gst/gstutils.h:
1288         * gst/gstutils.c (g_static_rec_cond_wait)
1289         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1290
1291         * gst/gstbin.c: Remove terrible continue_state prototype.
1292
1293         * gst/gstelement.h (gst_element_continue_state): Make public.
1294
1295         * gst/gstelement.h:
1296         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1297         by continue_state. Fixes #319389.
1298
1299         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1300         Really fixes #168438. However I don't see anywhere where the
1301         filter function is called... stupid GStreamer...
1302         
1303         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1304         don't have a dispose function, so it won't get called when the
1305         object is unreffed, but oh well!
1306
1307         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1308         allows a destroy function to be set so user_data can be freed.
1309         Fixes #168438.
1310         (gst_index_set_filter): Call gst_index_set_filter_full.
1311
1312         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1313
1314         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1315         string should produce an error, given the lack of a way to
1316         represent NULL strings. Fixes #165650.
1317         
1318         * gst/gstvalue.h: 
1319         * gst/gstvalue.c (gst_value_array_append_value) 
1320         (gst_value_array_prepend_value, gst_value_array_get_size) 
1321         (gst_value_array_get_value): New API, copied from
1322         gst_value_list_*, only operates on arrays.
1323         (gst_value_list_append_value, gst_value_list_prepend_value) 
1324         (gst_value_list_concat, gst_value_list_get_size) 
1325         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1326
1327         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1328         init_list, because it works on both.
1329         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1330         (gst_value_copy_list_or_array): Renamed from copy_list.
1331         (gst_value_free_list_or_array): Renamed from free_list.
1332         (gst_value_collect_list_or_array): Renamed from collect_list.
1333         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1334         (gst_value_list_or_array_peek_pointer): Renamed from
1335         list_peek_pointer.
1336         (_gst_value_array_value_table, _gst_value_list_value_table):
1337         Update value table functions.
1338         (gst_value_compare_list_or_array): Renamed from compare_list.
1339
1340         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1341         some constness.
1342
1343         * gst/gsttaglist.c:
1344         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1345         GstTagList*. Fixes #143472.
1346
1347         * gst/gststructure.h: Clarify what the foreach/map functions can
1348         or can't do to their arguments.
1349
1350 2005-11-18  Wim Taymans  <wim@fluendo.com>
1351
1352         * gst/gstclock.c: (gst_clock_set_calibration),
1353         (gst_clock_get_calibration):
1354         Doc and API fixes.
1355         Calibration can be set with internal time equal to current
1356         internal time too.
1357
1358 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1359
1360         * gst/gsterror.c:
1361         * gst/gsterror.h:
1362           document
1363
1364 2005-11-18  Andy Wingo  <wingo@pobox.com>
1365
1366         * configure.ac: 
1367         * pkgconfig/gstreamer-net.pc.in:
1368         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1369         * pkgconfig/Makefile.am: Add net pkgconfig files.
1370
1371 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1372
1373         * gst/gstcaps.c:
1374         * gst/gstghostpad.c:
1375         * gst/gsttrace.c:
1376         * gst/gstvalue.c:
1377         * gst/gstvalue.h:
1378           docs fixes
1379
1380 2005-11-18  Andy Wingo  <wingo@pobox.com>
1381
1382         * gst/net/gstnetclientclock.c: Turn off debugging.
1383
1384         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1385         times connverge somewhat. Can't make a real test.
1386
1387         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1388         integer arithmetic. Return the minimum of the domain, which can be
1389         set as "internal" for gst_clock_set_calibration.
1390         (gst_net_client_clock_observe_times): Call _set_calibration.
1391         (gst_net_client_clock_new): Call _set_calibration instead of
1392         rate_offset.
1393
1394         * check/net/gstnetclientclock.c (test_functioning): Use the right
1395         adjustment api.
1396
1397         * gst/gstclock.h:
1398         * gst/gstclock.c (gst_clock_get_calibration) 
1399         (gst_clock_set_calibration): New functions, obsolete the ones I
1400         added yesterday. Doh. Precision issues mean we have to extrapolate
1401         from a point in the more recent past than 1970.
1402         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1403         obsolete.
1404         (gst_clock_adjust_unlocked): Use the right calibration data.
1405
1406 2005-11-18  Edward Hervey  <edward@fluendo.com>
1407
1408         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1409         Also reset the ->current_* values in READY->PAUSED
1410
1411 2005-11-18  Andy Wingo  <wingo@pobox.com>
1412
1413         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1414         Whoops, check the right fd. Also add some debugging.
1415         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1416         (do_linear_regression): Add a crapload of debugging. Subtract off
1417         the minimum values from the input series to discard unneeded bits.
1418         Use only int arithmetic. There is still double arithmetic when
1419         calculating the intercept that needs fixing. Return boolean to
1420         indicate success; FALSE would mean the domain or range is too
1421         great. Still needs fixes.
1422
1423 2005-11-18  Wim Taymans  <wim@fluendo.com>
1424
1425         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1426         For the current position in stream time, we need to subtract
1427         accumulated time.
1428         
1429         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1430         Release lock before calling the callback function of async
1431         entries.
1432
1433 2005-11-18  Andy Wingo  <wingo@pobox.com>
1434
1435         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1436         Port goes all the way to MAXUINT16.
1437
1438         * gst/net/gstnettimeprovider.c: Make the port range the same as
1439         for the kernel: 0 assigns, otherwise ports are less than
1440         MAXUINT16.
1441
1442         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1443         port change.
1444
1445         * check/net/gstnetclientclock.c (test_functioning): Add the start
1446         of another test. 
1447
1448 2005-11-18  Wim Taymans  <wim@fluendo.com>
1449
1450         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1451         (gst_bin_remove_func), (bin_bus_handler):
1452         * gst/gstbin.h:
1453         Removing a clock provider from a bin, triggers a clock lost message
1454         so that a new clock will be selected.
1455         Adding a clock to a bin triggers a clock provider message.
1456         Make sure we reselect a clock when we received a clock lost message.
1457         Keep a reference to the element that provided the clock.
1458
1459 2005-11-18  Andy Wingo  <wingo@pobox.com>
1460
1461         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1462         the clock initially so it produces values around the base time.
1463         (gst_net_client_clock_class_init): Typo fix.
1464         (gst_net_client_clock_thread): Add note on when the socket gets
1465         closed.
1466
1467 2005-11-17  Wim Taymans  <wim@fluendo.com>
1468
1469         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1470         Free remote and local time arrays.
1471
1472 2005-11-17  Wim Taymans  <wim@fluendo.com>
1473
1474         * gst/net/gstnetclientclock.c: (do_linear_regression),
1475         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1476         Fix compilation, uninitialized vars and a forgotten continue.
1477
1478 2005-11-17  Andy Wingo  <wingo@pobox.com>
1479
1480         * check/Makefile.am (check_PROGRAMS): 
1481         * check/net/gstnetclientclock.c: Add a most minimal test for the
1482         net client clock. More to come later.
1483
1484         * gst/net/gstnet.h: 
1485         * gst/net/Makefile.am: Add netclientclock.
1486
1487         * gst/net/gstnetclientclock.h:
1488         * gst/net/gstnetclientclock.c: New files, implement an untested
1489         GstClock that takes its time from a network time provider.
1490         Implements the algorithm in network-clock.scm.
1491
1492         * tests/network-clock.scm (*window-size*): Rename from
1493         *queue-length*.
1494         * tests/network-clock.scm (network-time): 
1495         * tests/network-clock-utils.scm (q-push): Update callers.
1496
1497 2005-11-17  Wim Taymans  <wim@fluendo.com>
1498
1499         * gst/gstbin.c: (gst_bin_provide_clock_func),
1500         (gst_bin_sort_iterator_new):
1501         And unref the child too..
1502
1503 2005-11-17  Wim Taymans  <wim@fluendo.com>
1504
1505         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1506         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1507         Refactor the sort iterator so it can be used while holding the
1508         LOCK too.
1509         Make clock selection select a clock closest to the source.
1510
1511 2005-11-17  Michael Smith <msmith@fluendo.com>
1512
1513         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1514         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1515         * gst/gstclock.h:
1516           Anonymous structs are a gcc (and some other compilers) extension, so
1517           don't use them. Since this is only for ABI-compatibility, and our
1518           API/ABI freeze is over in a few days, this whole thing will only
1519           last a few days, so don't bother trying to think up a meaningful
1520           name for the struct.
1521
1522 2005-11-17  Andy Wingo  <wingo@pobox.com>
1523
1524         * gst/gstclock.h (GstClock): Add rate and offset properties,
1525         preserving ABI stability. Add rate/offset accessors. Will file bug
1526         for the freeze break.
1527
1528         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1529         and offset, trying to keep precision and avoiding
1530         underflow/overflow.
1531         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1532         functions. Make gst_clock_set_time_adjust obsolete.
1533         (gst_clock_set_time_adjust): Note that this function is obsolete.
1534         Will file bug soon.
1535
1536         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1537         greppable by using GST_PADDING-1+1.
1538
1539 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1540
1541         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1542
1543         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1544           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1545
1546         * gst/gstpadtemplate.h:
1547         * gst/gstpluginfeature.h:
1548           Don't use c++ style comments in headers (#321638).
1549
1550 2005-11-16  Andy Wingo  <wingo@pobox.com>
1551
1552         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1553         buffer.
1554
1555         * check/net/gstnettimeprovider.c: Check to see that the time
1556         provider actually provides times. Works, yo!
1557
1558 2005-11-16  Wim Taymans  <wim@fluendo.com>
1559
1560         * check/Makefile.am:
1561         Enable more tests.
1562
1563         * check/elements/fakesrc.c: (GST_START_TEST):
1564         Set element to NULL before disposing it.
1565
1566 2005-11-16  Andy Wingo  <wingo@pobox.com>
1567
1568         * gst/net/Makefile.am:
1569         * gst/net/gstnet.h:
1570         * gst/net/gstnettimeprovider.c: 
1571         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1572         provider, include it from gstnet.h, and add it to the build.
1573
1574         * gst/net/gstnettimepacket.h: 
1575         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1576         sending and receiving.
1577
1578 2005-11-16  Wim Taymans  <wim@fluendo.com>
1579
1580         * check/Makefile.am:
1581         Enable valgrind check.
1582
1583         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1584         (gst_fake_src_alloc_buffer):
1585         Fix memleak.
1586
1587 2005-11-16  Wim Taymans  <wim@fluendo.com>
1588
1589         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1590         Call parent finalize too.
1591
1592 2005-11-16  Wim Taymans  <wim@fluendo.com>
1593
1594         * check/Makefile.am:
1595         Enable valgrind check that should work fine now.
1596
1597         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1598         * gst/gstqueue.c: (gst_queue_init):
1599         Fix memleaks in pad allocation.
1600
1601 2005-11-16  Andy Wingo  <wingo@pobox.com>
1602
1603         * gst/net/Makefile.am:
1604         * gst/net/gstnet.h: New part of core to hold network elements and
1605         objects. Put in core because it exposes API that applications want
1606         to use. The library is named libgstnet-tempname right now because
1607         of the existing libgstnet in gst-plugins-base. Solution is
1608         probably to rename the one in plugins-base; will file a bug for
1609         the freeze break.
1610
1611         * gst/net/gstnettimeprovider.c: 
1612         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1613         get_time call over the network.
1614
1615         * configure.ac: 
1616         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1617
1618         * check/Makefile.am:
1619         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1620         get additions shortly.
1621
1622 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1623
1624         * gst/gstpad.c: (gst_pad_new_from_static_template):
1625         * gst/gstpad.h:
1626           add gst_pad_new_from_static_template functions
1627         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1628         (gst_check_setup_sink_pad):
1629         * gst/elements/gsttee.c: (gst_tee_init):
1630           and use them
1631
1632 2005-11-16  Wim Taymans  <wim@fluendo.com>
1633
1634         * gst/gstpad.c: (gst_pad_pause_task):
1635         Removed warning, it's not really an error either.
1636
1637 2005-11-16  Wim Taymans  <wim@fluendo.com>
1638
1639         * gst/base/gstbasetransform.c:
1640         (gst_base_transform_prepare_output_buf),
1641         (gst_base_transform_event):
1642         Check if the caps are NULL, this can happen if the element
1643         is shutting down and the pad caps are set to NULL.
1644
1645 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1646
1647         * gst/elements/gsttee.c: (gst_tee_init):
1648           fix pad template leak in tee
1649
1650 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1651
1652         * gst/glib-compat.c: (g_value_dup_gst_object):
1653         * gst/glib-compat.h:
1654         * gst/gstpad.c: (gst_pad_set_property):
1655           use gst_object_ref when setting the pad template; this will
1656           trigger the pad template leaks on GLib 2.6 and the slaves
1657
1658 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1659
1660         * gst/glib-compat.c: (gst_flags_get_first_value):
1661         * gst/glib-compat.h:
1662         * gst/gstregistryxml.c:
1663           remove functions copied from GLib 2.6
1664
1665 2005-11-16  Michael Smith <msmith@fluendo.com>
1666
1667         * gst/Makefile.am:
1668           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1669           do, but only breaks with newer valgrind versions. We're not a
1670           valgrind tool, we have no link-time dependencies on libcoregrind.
1671
1672 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1673
1674         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1675           some debug changes
1676         * gst/gstmessage.h:
1677           typo fixes
1678
1679 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1680
1681         * gst/base/gstbasesrc.c: (gst_base_src_init):
1682         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1683         * gst/gstqueue.c: (gst_queue_init):
1684         * gst/gstregistryxml.c: (load_feature):
1685           Revert all these unrefs, they don't even pass make check !
1686
1687 2005-11-15  Johan Dahlin  <johan@gnome.org>
1688
1689         * gst/base/gstbasesrc.c: (gst_base_src_init):
1690         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1691         * gst/gstqueue.c: (gst_queue_init): 
1692         Free pad templates, fixes a couple of leaks.
1693
1694 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1695
1696         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1697
1698         * gst/gstpad.c: (gst_pad_get_property):
1699           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1700           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1701           (#321452)
1702
1703 2005-11-15  Wim Taymans  <wim@fluendo.com>
1704
1705         * gst/gstevent.c:
1706         Small doc update.
1707
1708 2005-11-15  Andy Wingo  <wingo@pobox.com>
1709
1710         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1711
1712         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1713         using GST_CLOCK_TIME_NONE to disable base time management.
1714         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1715         time if it was NONE before.
1716         (gst_pipeline_change_state): Only munge the base time if
1717         stream_time != GST_CLOCK_TIME_NONE.
1718
1719         * check/gst/gstpipeline.c (test_base_time): Punt around the
1720         problem of the probe not being called, because that's not the
1721         issue I'm looking at. Add a check that setting stream_time to NONE
1722         disables base time management.
1723         
1724 2005-11-15  Wim Taymans  <wim@fluendo.com>
1725
1726         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1727         segment_stop == -1 at startup.
1728
1729         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1730         (gst_base_transform_change_state):
1731         Init segment values at start.
1732
1733 2005-11-15  Wim Taymans  <wim@fluendo.com>
1734
1735         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1736         0 segment values are 0 in any format.
1737
1738         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1739         * gst/base/gstbasetransform.h:
1740         Parse newsegment correctly in basetransform
1741
1742         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1743         Sync to clock using updated segment values.
1744
1745 2005-11-15  Andy Wingo  <wingo@pobox.com>
1746
1747         * check/gst/gstpipeline.c (test_base_time): Add check that the
1748         base time and stream time are reset correctly.
1749
1750 2005-11-15  Wim Taymans  <wim@fluendo.com>
1751
1752         * docs/design/part-TODO.txt:
1753         Some more TODO items.
1754
1755 2005-11-15  Andy Wingo  <wingo@pobox.com>
1756
1757         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1758         error if the user selected "no clock" as the clocking method.
1759
1760         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1761         timestamps with live capture.
1762
1763         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1764         is 0 but we are a live source, timestamp the buffers using the
1765         element's clock.
1766
1767 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1768
1769         * docs/gst/gstreamer-sections.txt:
1770         * gst/gsterror.c:
1771         * gst/gstghostpad.c:
1772         * gst/gstobject.h:
1773         * gst/gstxml.c:
1774           more section docs
1775
1776 2005-11-14  Wim Taymans  <wim@fluendo.com>
1777
1778         * common/gst.supp:
1779           add suppressions from Wim's Debian machine
1780
1781 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1782
1783         * common/gst.supp:
1784           add suppressions from Andy's AMD64 Ubuntu machine
1785
1786 2005-11-14  Andy Wingo  <wingo@pobox.com>
1787
1788         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1789         STATE_LOCK not necessary. Fixes #311489.
1790
1791         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1792         #305291.
1793
1794         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1795         this function is not implemented.
1796
1797 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1798
1799         * gst/base/gstbasetransform.c:
1800         (gst_base_transform_prepare_output_buf):
1801         Ref the source pad caps while we need them.
1802         Fixes (#321386)
1803
1804 2005-11-11  Wim Taymans  <wim@fluendo.com>
1805
1806         * docs/gst/gstreamer-sections.txt:
1807         Added some docs for GstCollectData.
1808
1809         * gst/base/gstadapter.c:
1810         Some small code example fix.
1811
1812         * gst/base/gstcollectpads.c:
1813         * gst/base/gstcollectpads.h:
1814         Document some more.
1815
1816 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1817
1818         * configure.ac: back to HEAD
1819
1820 === release 0.9.5 ===
1821
1822 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1823
1824         * configure.ac:
1825           releasing 0.9.5, "Bike Lunch Day"
1826
1827 2005-11-11  Wim Taymans  <wim@fluendo.com>
1828
1829         * gst/gstbuffer.c: (_gst_buffer_copy):
1830         Copy more flags.
1831
1832         * gst/gstcaps.c: (gst_caps_is_equal):
1833         Fix some docs.
1834         Make _is_equal fast in the trivial cases.
1835
1836         * gst/gstminiobject.c:
1837         * gst/gstminiobject.h:
1838         More docs. Spifify .h file.
1839
1840         * gst/gstutils.c:
1841         Small doc update.
1842
1843 2005-11-11  Wim Taymans  <wim@fluendo.com>
1844
1845         * gst/base/gstbasetransform.c:
1846         (gst_base_transform_prepare_output_buf),
1847         (gst_base_transform_handle_buffer):
1848         Small cleanups.
1849         If we're processing a buffer and need to allocate an output
1850         buffer, we cannot accept a format change. If we did get a 
1851         format change, we have to alloc a buffer ourselves of the 
1852         right size.
1853
1854 2005-11-11  Wim Taymans  <wim@fluendo.com>
1855
1856         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1857         While checking the flag for reentrancy in the gstcaps function
1858         is nice to detect recursive invocations, it also makes it 
1859         impossible to call getcaps from multiple threads, which must be
1860         possible. So, checking for recursive calls has to go.
1861
1862 2005-11-11  Michael Smith <msmith@fluendo.com>
1863
1864         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1865           Don't sync on buffers that fall partially outside our current
1866           segment. Prevents an assertion failure/abort playing some files.
1867
1868 2005-11-10  Andy Wingo  <wingo@pobox.com>
1869
1870         * check/gst/gstbin.c (test_message_state_changed_children): Style
1871         fix..
1872
1873         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1874         gst_bus_poll with the signal watch. Ensures that poll and a signal
1875         watch see the same messages.
1876
1877         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1878         a poll and a watch at the same time get the same messages.
1879
1880 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1881
1882         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1883         * gst/gstcaps.c: (gst_caps_intersect):
1884           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1885           and it's not needed.
1886
1887 2005-11-10  Wim Taymans  <wim@fluendo.com>
1888
1889         * docs/design/part-TODO.txt:
1890         Updated todo.
1891
1892 2005-11-10  Wim Taymans  <wim@fluendo.com>
1893
1894         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1895         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1896         (gst_base_src_do_sync), (gst_base_src_get_range):
1897         Implement clock sync in base class.
1898
1899 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1900
1901         patch by: Tim-Philipp Müller <tim at centricular dot net>
1902
1903         * gst/gststructure.c: (gst_structure_parse_field),
1904         (gst_structure_from_string):
1905           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1906           so that gst_parse_launch() can deal with spaces in filtered link
1907           caps (fixes #164479)
1908         * check/gst/capslist.h:
1909         * check/gst/gststructure.c: (GST_START_TEST):
1910           add unit tests for this change
1911
1912 2005-11-10  Wim Taymans  <wim@fluendo.com>
1913
1914         * docs/gst/gstreamer-sections.txt:
1915         * gst/gstelement.c:
1916         * gst/gstelement.h:
1917         Fix docs, move some STATE macros to private.
1918
1919 2005-11-10  Wim Taymans  <wim@fluendo.com>
1920
1921         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1922         Added check for bug #317341
1923
1924         * gst/gstbuffer.c:
1925         * gst/gstbuffer.h:
1926         Some more spiffifying.
1927
1928         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1929         Call peer linkfunction if we are a source pad. Totally fixes
1930         #317341
1931
1932         * gst/gstpad.c:
1933         Update docs, source pads should call the peer linkfunction
1934         so they can atomically perform the pad link.
1935
1936 2005-11-09  Wim Taymans  <wim@fluendo.com>
1937
1938         * gst/gstbuffer.c:
1939         * gst/gstbuffer.h:
1940         Uber-spiffy-spiffify some more.
1941
1942 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1943
1944         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1945         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1946         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1947         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1948         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1949         * gst/gstpad.c: (gst_pad_init):
1950           Use GST_DEBUG_FUNCPTR() more extensively.
1951
1952 2005-11-09  Wim Taymans  <wim@fluendo.com>
1953
1954         * gst/gstobject.c: (gst_object_class_init):
1955         * gst/gstobject.h:
1956         Documentation fixes.
1957
1958 2005-11-09  Edward Hervey  <edward@fluendo.com>
1959
1960         * gst/gsttypefindfactory.c:
1961         Fix docs.
1962         
1963 2005-11-09  Edward Hervey  <edward@fluendo.com>
1964
1965         * gst/base/gsttypefindhelper.c:
1966         * gst/gsttypefind.c:
1967         * gst/gsttypefind.h:
1968         Fix docs.
1969
1970 2005-11-09  Wim Taymans  <wim@fluendo.com>
1971
1972         * gst/gstiterator.c:
1973         Fix revision data.
1974
1975         * gst/gsttask.c:
1976         * gst/gsttask.h:
1977         Fix docs.
1978
1979 2005-11-09  Wim Taymans  <wim@fluendo.com>
1980
1981         * gst/gstevent.h:
1982         * gst/gsturi.h:
1983         Fix docs.
1984
1985 2005-11-09  Wim Taymans  <wim@fluendo.com>
1986
1987         * docs/gst/gstreamer-sections.txt:
1988         Moved the message async delivery private lock and cond
1989         to the private section.
1990
1991         * gst/gstmessage.c:
1992         * gst/gstmessage.h:
1993         Fixed docs.
1994
1995 2005-11-09  Edward Hervey  <edward@fluendo.com>
1996
1997         * docs/gst/gstreamer-sections.txt:
1998         * gst/gsturi.c:
1999         * gst/gsturi.h:
2000         Document GstURIHandler
2001
2002 2005-11-09  Wim Taymans  <wim@fluendo.com>
2003
2004         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2005         (gst_iterator_find_custom):
2006         * gst/gstiterator.h:
2007         Fix iterator docs.
2008
2009 2005-11-09  Wim Taymans  <wim@fluendo.com>
2010
2011         * gst/gstbin.h:
2012         Document another field.
2013
2014         * gst/gststructure.c:
2015         * gst/gststructure.h:
2016         Document.
2017
2018 2005-11-09  Wim Taymans  <wim@fluendo.com>
2019
2020         * gst/gstbin.h:
2021         Documented structs.
2022
2023 2005-11-09  Wim Taymans  <wim@fluendo.com>
2024
2025         * docs/gst/gstreamer-sections.txt:
2026         Added some new macros.
2027
2028         * gst/gstclock.c:
2029         * gst/gstclock.h:
2030         * gst/gstobject.h:
2031         Docs updates.
2032
2033 2005-11-09  Wim Taymans  <wim@fluendo.com>
2034
2035         * docs/design/part-TODO.txt:
2036         Some more items for the TODO
2037
2038         * gst/gstcaps.c:
2039         * gst/gstcaps.h:
2040         Document GstCaps.
2041
2042 2005-11-09  Andy Wingo  <wingo@pobox.com>
2043
2044         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2045         to work on something else now tho...
2046
2047         * gst/base/gstadapter.c: More adapter docs.
2048
2049         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2050         (gst_file_sink_stop): New functions, replace the state change
2051         handler.
2052         (gst_file_sink_class_init): Hook up the start and stop functions.
2053         (gst_file_sink_base_init): Don't set the state change handler any
2054         more. It was a bit ugly too, being set from here...
2055         (gst_file_sink_get_property, gst_file_sink_set_property):
2056         Cleanups...
2057         (gst_file_sink_set_location): More robust check that doesn't call
2058         GST_STATE. Ugggggg.
2059
2060 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2061
2062         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2063           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2064
2065 2005-11-08  Wim Taymans  <wim@fluendo.com>
2066
2067         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2068         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2069         (gst_base_sink_chain), (gst_base_sink_change_state):
2070         * gst/base/gstbasesink.h:
2071         * gst/base/gstbasesrc.h:
2072         * gst/gstelement.h:
2073         * gst/gstevent.h:
2074         Avoid excessive typechecking in macros.
2075
2076         * gst/gstminiobject.c: (gst_mini_object_get_type),
2077         (gst_mini_object_init), (gst_mini_object_new),
2078         (gst_mini_object_free):
2079         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2080         (gst_object_finalize):
2081         Remove cruft code, optimize alloc_trace.
2082
2083 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2084
2085         * docs/faq/gst-uninstalled:
2086           fix up PS1 for systems that try to reset it
2087
2088 2005-11-07  Wim Taymans  <wim@fluendo.com>
2089
2090         * gst/base/gstbasesrc.c: (gst_base_src_init),
2091         (gst_base_src_get_range):
2092         Set the segment_end to -1 initially. Fixed typefind.
2093
2094 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2095
2096         * gst/base/gstadapter.c:
2097           Debug category should be 'adapter', not 'GstAdapter'.
2098           
2099         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2100         (gst_collectpads_class_init), (gst_collectpads_init),
2101         (gst_collectpads_peek), (gst_collectpads_pop),
2102         (gst_collectpads_event), (gst_collectpads_chain):
2103           Add debug category and some debugging output. Use boilerplate
2104           macros. Remove some extraneous words from docs.
2105
2106 2005-11-05  Andy Wingo  <wingo@pobox.com>
2107
2108         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2109         macro.
2110
2111 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2112
2113         * docs/gst/gstreamer-sections.txt:
2114         * gst/gstcaps.h:
2115         * gst/gstinfo.c:
2116         * gst/gstminiobject.h:
2117         * gst/gstobject.h:
2118         * gst/gstutils.h:
2119           more docs added
2120
2121 2005-11-04  Wim Taymans  <wim@fluendo.com>
2122
2123         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2124         Small update to stop at the configured segment_end
2125         position.
2126
2127 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2128
2129         * gst/gstregistry.c:
2130         * gst/gstregistry.h:
2131           added missing docs
2132
2133 2005-11-04  Edward Hervey  <edward@fluendo.com>
2134
2135         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2136         Check if we are doing a segment seek and have arrived at the
2137         end of that segment.
2138
2139 2005-11-04  Wim Taymans  <wim@fluendo.com>
2140
2141         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2142         Don't leak a mutex unlock in case of an error.
2143
2144         * gst/gstbus.h:
2145         Doc fixes.
2146
2147 2005-11-04  Wim Taymans  <wim@fluendo.com>
2148
2149         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2150         (gst_bus_post):
2151         Get the context to wake up only once.
2152
2153 2005-11-03  Wim Taymans  <wim@fluendo.com>
2154
2155         * check/states/sinks.c: (GST_START_TEST):
2156         Uncomment fixed check.
2157
2158         * docs/design/part-TODO.txt:
2159         Updated TODO.
2160
2161         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2162         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2163         (gst_base_sink_get_position):
2164         If we are going to PLAYING, post the right pending state
2165         when we post the intermediate paused message.
2166
2167         * gst/gstelement.c: (gst_element_continue_state),
2168         (gst_element_set_state_func), (gst_element_change_state):
2169         Don't post state changes that were between the same state
2170         and were not ASYNC.
2171
2172 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2173
2174         * docs/gst/gstreamer-sections.txt:
2175         * gst/gstcaps.h:
2176         * gst/gstinfo.c:
2177         * gst/gstminiobject.h:
2178         * gst/gstobject.h:
2179         * gst/gstutils.h:
2180           more docs and doc style fixes
2181
2182 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2183
2184         * docs/gst/gstreamer-sections.txt:
2185         * gst/gstelement.c:
2186         * gst/gstminiobject.c:
2187         doc fixes
2188
2189 2005-11-03  Andy Wingo  <wingo@pobox.com>
2190
2191         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2192         state-changed messages actually have the right order and the right
2193         values.
2194
2195 2005-11-03  Wim Taymans  <wim@fluendo.com>
2196
2197         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2198         Added some more checks. Specifically the case where NO_PREROLL
2199         elements are in the pipeline.
2200
2201         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2202         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2203         (gst_base_sink_get_position):
2204         Post READY->PAUSED state change messages too.
2205         Fix bug where VOID was posted as pending state...
2206
2207         * gst/gstbin.c: (gst_bin_recalc_state):
2208         use _element_continue_state() to continue the state change.
2209
2210         * gst/gstelement.c: (gst_element_continue_state),
2211         (gst_element_commit_state), (gst_element_set_state_func),
2212         (gst_element_change_state), (gst_element_change_state_func):
2213         Lots of state change cleanups, assign the STATE_RETURN in
2214         a new continue_state() function that also propagates the
2215         last return value from a state change to the app.
2216         Update some debug statements with proper category.
2217
2218 2005-11-03  Wim Taymans  <wim@fluendo.com>
2219
2220         * docs/design/part-events.txt:
2221         * docs/design/part-gstpipeline.txt:
2222         * docs/design/part-messages.txt:
2223         * docs/design/part-overview.txt:
2224         * docs/design/part-seeking.txt:
2225         * docs/design/part-states.txt:
2226         * docs/design/part-trickmodes.txt:
2227         * docs/manual/advanced-position.xml:
2228         Small docs updates.
2229
2230         * gst/gstobject.h:
2231         People think !! is ugly, this looks better.
2232
2233         * gst/gstpad.c: (gst_pad_set_blocked_async):
2234         Remove !! since it's fixed elsewhere now.
2235
2236 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2237
2238         * gst/gstminiobject.h:
2239         * gst/gstobject.h:
2240           Add !! to _FLAG_IS_SET macros to make the result boolean.
2241
2242 2005-11-03  Edward Hervey  <edward@fluendo.com>
2243
2244         * gst/gstpad.c: (gst_pad_set_blocked_async):
2245         comparing a flag and a gboolean rarely returns coherent results...
2246         Added two characters (!!) to make that work correctly.
2247         
2248 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2249
2250         * gst/gstbus.c: (gst_bus_class_init):
2251           Fix some typos.
2252           
2253         * gst/gstqueue.c: (gst_queue_loop):
2254           Don't assume a miniobject that isn't a buffer is an
2255           event (it could be that there is a refcounting
2256           problem somewhere and the pointer is stale and
2257           refers to an already destroyed miniobject).
2258
2259 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2260
2261         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2262
2263 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2264
2265         * docs/manual/advanced-position.xml:
2266           Update seek example and explanations to current 0.9 API.
2267
2268         * gst/elements/gsttypefindelement.c:
2269         (gst_type_find_element_activate):
2270           Remove FIXME comment now that the found caps
2271           are unreffed.
2272
2273 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2274
2275         * gst/gstregistryxml.c: (load_feature):
2276           Add another GST_STR_NULL instance
2277
2278 2005-11-02  Edward Hervey  <edward@fluendo.com>
2279
2280         * gst/gstpad.c: (handle_pad_block):
2281         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2282         
2283 2005-11-02  Wim Taymans  <wim@fluendo.com>
2284
2285         * gst/gstbin.c:
2286         Fix typo in docs.
2287
2288         * gst/gstelement.c: (gst_element_commit_state):
2289         Remove unused value.
2290
2291         * gst/gstiterator.c:
2292         Mention that the returned element is reffed in the docs.
2293
2294 2005-11-02  Wim Taymans  <wim@fluendo.com>
2295
2296         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2297         (gst_pad_push), (gst_pad_push_event):
2298         Unlock blocked pads when they are flushed.
2299
2300 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2301
2302         * docs/README:
2303         * docs/gst/gstreamer-sections.txt:
2304         * gst/gstbin.c:
2305           doc updates
2306         * gst/gstregistry.c: (gst_registry_scan_path_level):
2307           fix for a nasty little missed situation where an installed plug-in
2308           which was in the cache did not get overridden by an uninstalled one
2309           which was earlier in the plugin path because the newly created plugin
2310           for the uninstalled one (not in the registry) didn't get its
2311           ->registered set to TRUE
2312
2313 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2314
2315         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2316         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2317         (gst_collectpads_is_active), (gst_collectpads_collect),
2318         (gst_collectpads_collect_range), (gst_collectpads_start),
2319         (gst_collectpads_stop), (gst_collectpads_peek),
2320         (gst_collectpads_pop), (gst_collectpads_available),
2321         (gst_collectpads_read), (gst_collectpads_flush):
2322           Guard public API with assertions.
2323         
2324         * gst/gstpad.c:
2325           Fix docs for gst_pad_set_link_function().
2326
2327 2005-11-02  Johan Dahlin  <johan@gnome.org>
2328
2329         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2330         Unref found_caps after we used it.
2331
2332 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2333
2334         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2335           Don't try to ref NULL.
2336
2337 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2338
2339         * win32/common/config.h.in:
2340           provide a GST_FUNCTION that just gives a string for now
2341
2342 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2343
2344         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2345         (gst_object_flags_get_type), (register_gst_bin_flags),
2346         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2347         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2348         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2349         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2350         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2351         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2352         (gst_clock_flags_get_type), (register_gst_state),
2353         (gst_state_get_type), (register_gst_state_change_return),
2354         (gst_state_change_return_get_type), (register_gst_state_change),
2355         (gst_state_change_get_type), (register_gst_element_flags),
2356         (gst_element_flags_get_type), (register_gst_core_error),
2357         (gst_core_error_get_type), (register_gst_library_error),
2358         (gst_library_error_get_type), (register_gst_resource_error),
2359         (gst_resource_error_get_type), (register_gst_stream_error),
2360         (gst_stream_error_get_type), (register_gst_event_type),
2361         (gst_event_type_get_type), (register_gst_seek_type),
2362         (gst_seek_type_get_type), (register_gst_seek_flags),
2363         (gst_seek_flags_get_type), (register_gst_format),
2364         (gst_format_get_type), (register_gst_index_certainty),
2365         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2366         (gst_index_entry_type_get_type),
2367         (register_gst_index_lookup_method),
2368         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2369         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2370         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2371         (gst_index_flags_get_type), (register_gst_debug_level),
2372         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2373         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2374         (gst_iterator_result_get_type), (register_gst_iterator_item),
2375         (gst_iterator_item_get_type), (register_gst_message_type),
2376         (gst_message_type_get_type), (register_gst_mini_object_flags),
2377         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2378         (gst_pad_link_return_get_type), (register_gst_flow_return),
2379         (gst_flow_return_get_type), (register_gst_activate_mode),
2380         (gst_activate_mode_get_type), (register_gst_pad_direction),
2381         (gst_pad_direction_get_type), (register_gst_pad_flags),
2382         (gst_pad_flags_get_type), (register_gst_pad_presence),
2383         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2384         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2385         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2386         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2387         (gst_plugin_flags_get_type), (register_gst_rank),
2388         (gst_rank_get_type), (register_gst_query_type),
2389         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2390         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2391         (gst_tag_flag_get_type), (register_gst_task_state),
2392         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2393         (gst_alloc_trace_flags_get_type),
2394         (register_gst_type_find_probability),
2395         (gst_type_find_probability_get_type), (register_gst_uri_type),
2396         (gst_uri_type_get_type), (register_gst_parse_error),
2397         (gst_parse_error_get_type):
2398         * win32/common/gstversion.h:
2399           update win32 copies
2400
2401 2005-11-01  Luca Ognibene  <luogni@tin.it>
2402
2403         * gst/gst.c:
2404           fix docs. popt is dead, long live GOption.
2405
2406 2005-10-31  Wim Taymans  <wim@fluendo.com>
2407
2408         * gst/gstbuffer.h:
2409         Small doc fix.
2410
2411 2005-10-31  Andy Wingo  <wingo@pobox.com>
2412
2413         * Boo!
2414
2415         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2416
2417         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2418         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2419         the possibility of deadlocks here if code calling notify() or
2420         set() has a lock that can be taken in another notify handler (ABBA
2421         with class lock and e.g. python GIL state lock).
2422
2423 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2424
2425         * gst/gstbus.c: Doc updates.
2426
2427 2005-10-28  Wim Taymans  <wim@fluendo.com>
2428
2429         * docs/design/part-TODO.txt:
2430         * gst/gstiterator.c:
2431         * gst/gstsystemclock.c:
2432         * gst/gstsystemclock.h:
2433         Doc updates.
2434
2435 2005-10-28  Edward Hervey  <edward@fluendo.com>
2436
2437         * docs/gst/gstreamer-docs.sgml:
2438         * docs/gst/gstreamer-sections.txt:
2439         the GstURIType documentation page is private, it only defines GstURIType
2440         which should be defined in the GstURIHandler page
2441         
2442 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2443
2444         * gst/gstbin.c: (gst_bin_class_init):
2445         * gst/gstbin.h:
2446         * gst/gstutils.c:
2447         Documentation updates.
2448
2449 2005-10-28  Wim Taymans  <wim@fluendo.com>
2450
2451         * docs/gst/gstreamer-sections.txt:
2452         * gst/gstclock.c:
2453         * gst/gstclock.h:
2454         Documented the clocks.
2455
2456 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2457
2458         * docs/gst/gstreamer-sections.txt:
2459           move some macros to private sections
2460         * gst/gstminiobject.c:
2461         * gst/gstminiobject.h:
2462           add descriptions provided by ds and some more
2463         * gst/gstpad.h:
2464           mark macro as to be removed
2465
2466 2005-10-28  Wim Taymans  <wim@fluendo.com>
2467
2468         * docs/design/part-TODO.txt:
2469         Add an item to TODO.
2470
2471         * gst/gstiterator.c: (gst_iterator_fold),
2472         (gst_iterator_find_custom):
2473         * gst/gstiterator.h:
2474         Add iterator docs.
2475
2476 2005-10-28  Wim Taymans  <wim@fluendo.com>
2477
2478         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2479         (gst_base_transform_init):
2480         Don't leak class.
2481
2482         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2483         An EOS event marks the queue as completely filled.
2484
2485 2005-10-27  Wim Taymans  <wim@fluendo.com>
2486
2487         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2488         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2489         Some more debugging.
2490
2491         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2492         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2493         (gst_base_transform_event), (gst_base_transform_getrange),
2494         (gst_base_transform_chain):
2495         * gst/base/gstbasetransform.h:
2496         Fix debugging,
2497         Protect transform and concurrent buffer alloc with a new lock.
2498         Try not to break ABI/API.
2499
2500 2005-10-27  Wim Taymans  <wim@fluendo.com>
2501
2502         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2503         (gst_base_src_init), (gst_base_src_query),
2504         (gst_base_src_default_newsegment),
2505         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2506         (gst_base_src_send_event), (gst_base_src_event_handler),
2507         (gst_base_src_pad_get_range), (gst_base_src_loop),
2508         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2509         (gst_base_src_start), (gst_base_src_deactivate),
2510         (gst_base_src_activate_push), (gst_base_src_change_state):
2511         Move some stuff around and cleanup things.
2512
2513 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2514
2515         * gst/base/gstbasesrc.c: (gst_base_src_query):
2516           Add missing break statements.
2517
2518 2005-10-27  Wim Taymans  <wim@fluendo.com>
2519
2520         * check/gst/gstbin.c: (GST_START_TEST):
2521         An extra refcount is taken in basesrc.
2522
2523         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2524         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2525         (gst_base_src_loop):
2526         Small cleanups, check for flushing after being unlocked from the 
2527         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2528         Don't send out EOS when going to READY.
2529
2530 2005-10-27  Wim Taymans  <wim@fluendo.com>
2531
2532         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2533         (gst_base_sink_get_position):
2534         Some more debug.
2535
2536         * gst/gstbin.c: (message_check), (bin_replace_message),
2537         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2538         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2539         (bin_query_duration_init), (bin_query_duration_fold),
2540         (bin_query_duration_done), (bin_query_generic_fold),
2541         (gst_bin_query):
2542         * tools/gst-launch.c: (main):
2543         Remove old option.
2544
2545 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2546
2547         * examples/controller/audio-example.c: (main):
2548         * examples/queue/queue.c: (event_loop):
2549         * gst/base/gstbasetransform.h:
2550         * gst/gstelement.c: (gst_element_send_event):
2551         * gst/gstevent.h:
2552         * gst/gstpad.c: (gst_pad_send_event):
2553           fixing examples
2554           fixing docs typos
2555           changing log priority in error situations
2556
2557 2005-10-25  Wim Taymans  <wim@fluendo.com>
2558
2559         * gst/gstbin.c: (message_check), (bin_replace_message),
2560         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2561         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2562         (bin_query_duration_init), (bin_query_duration_fold),
2563         (bin_query_duration_done), (bin_query_generic_fold),
2564         (gst_bin_query):
2565         Some doc and debug updates.
2566         Cache previously requested query DURATION for speed. invalidate
2567         cached duration if element posts a DURATION message.
2568
2569 2005-10-25  Wim Taymans  <wim@fluendo.com>
2570
2571         * docs/design/part-TODO.txt:
2572         Update TODO.
2573
2574         * gst/gstbin.c: (message_check), (bin_replace_message),
2575         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2576         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2577         (bin_query_duration_init), (bin_query_duration_fold),
2578         (bin_query_duration_done), (bin_query_generic_fold),
2579         (gst_bin_query):
2580         Handle SEGMENT_START/DONE messages correctly.
2581         More evolved query algorithm that handles duration queries
2582         correctly.
2583
2584         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2585         (gst_element_get_state_func), (gst_element_abort_state),
2586         (gst_element_commit_state), (gst_element_lost_state):
2587         Some more debugging.
2588
2589         * gst/gstmessage.h:
2590         Added doc.
2591
2592 2005-10-25  Wim Taymans  <wim@fluendo.com>
2593
2594         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2595         Don't use invalid stream_time.
2596
2597         * gst/gstevent.c: (gst_event_new_newsegment):
2598         stream_time in newsegment cannot be undefined.
2599
2600 2005-10-24  Wim Taymans  <wim@fluendo.com>
2601
2602         * gst/gstbus.c:
2603         Doc fix.
2604
2605         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2606         (gst_queue_loop):
2607         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2608
2609 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2610
2611         * docs/libs/tmpl/gstdparam.sgml:
2612         * docs/libs/tmpl/gstdplinint.sgml:
2613         * docs/libs/tmpl/gstdpman.sgml:
2614         * docs/libs/tmpl/gstdpsmooth.sgml:
2615         * docs/libs/tmpl/gstunitconvert.sgml:
2616           these are obsolete
2617
2618 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2619
2620         * configure.ac:
2621           back to HEAD
2622
2623 === release 0.9.4 ===
2624
2625 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2626
2627         * configure.ac:
2628           releasing 0.9.4, "Tyrannosaurus Rex"
2629
2630 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2631
2632         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2633         (gst_file_sink_get_current_offset):
2634           Use fseeko() and ftello() if available. When falling back on
2635           lseek() to get the current offset, fflush() first to make sure
2636           everything is up-to-date and we get the right offset.
2637
2638 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2639
2640         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2641         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2642         * gst/gsterror.c: (_gst_stream_errors_init):
2643         * gst/gsterror.h:
2644         * gst/gstqueue.c: (gst_queue_loop):
2645         * po/POTFILES.in:
2646           remove prematurely added error category and clean up the instances
2647
2648 2005-10-21  Wim Taymans  <wim@fluendo.com>
2649
2650         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2651         (gst_base_sink_get_position), (gst_base_sink_query),
2652         (gst_base_sink_change_state):
2653         Simply set the right flag when going to playing, that's all
2654         we need to do instead of calling a function inside the object
2655         lock (that could take the lock as well and deadlock)
2656
2657 2005-10-21  Wim Taymans  <wim@fluendo.com>
2658
2659         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2660         (gst_base_src_loop):
2661         Don't warn, the peer element knows what to do best when
2662         the seek failed, it might try something else.
2663
2664 2005-10-21  Wim Taymans  <wim@fluendo.com>
2665
2666         * gst/base/gstbasesrc.c: (gst_base_src_init),
2667         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2668         Fix seeking.
2669
2670 2005-10-21  Wim Taymans  <wim@fluendo.com>
2671
2672         * docs/design/part-segments.txt:
2673         More docs.
2674
2675         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2676         Correctly set caps, even on the subbufer.
2677
2678 2005-10-21  Wim Taymans  <wim@fluendo.com>
2679
2680         * docs/gst/gstreamer-docs.sgml:
2681         * docs/gst/gstreamer-sections.txt:
2682         * gst/gstelement.h:
2683         * gst/gstevent.c:
2684         * gst/gstevent.h:
2685         * gst/gstmessage.h:
2686         * gst/gstpad.h:
2687         * gst/gstparse.h:
2688         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2689         * gst/gsttask.h:
2690         * gst/gstutils.c:
2691         * gst/gstutils.h:
2692         And 2% more doc coverage.
2693
2694 2005-10-21  Andy Wingo  <wingo@pobox.com>
2695
2696         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2697         position reporting.
2698
2699 2005-10-20  Wim Taymans  <wim@fluendo.com>
2700
2701         * gst/gsterror.c: (gst_error_get_message):
2702         * gst/gstparse.h:
2703         * gst/gstquery.h:
2704         * gst/gststructure.c:
2705         * gst/gsttrace.c:
2706         * gst/gstutils.c:
2707         More docs.
2708
2709 2005-10-20  Wim Taymans  <wim@fluendo.com>
2710
2711         * gst/gstbuffer.h:
2712         * gst/gstpad.c:
2713         * gst/gstparse.c:
2714         Another 1% more coverage.
2715
2716 2005-10-20  Wim Taymans  <wim@fluendo.com>
2717
2718         * docs/gst/gstreamer-sections.txt:
2719         * gst/gstelement.c: (gst_element_get_state_func),
2720         (gst_element_abort_state), (gst_element_commit_state),
2721         (gst_element_lost_state):
2722         * gst/gstevent.h:
2723         * gst/gstquery.c: (gst_query_set_position),
2724         (gst_query_parse_position), (gst_query_set_duration),
2725         (gst_query_parse_duration), (gst_query_new_convert):
2726         * gst/gstutils.c:
2727         Yay! 1% more docs coverage.
2728
2729 2005-10-20  Wim Taymans  <wim@fluendo.com>
2730
2731         * gst/gstpad.h:
2732         * gst/gstquery.c: (gst_query_set_position),
2733         (gst_query_parse_position), (gst_query_set_duration),
2734         (gst_query_parse_duration), (gst_query_new_convert):
2735         * gst/gstquery.h:
2736         * gst/gstutils.c: (gst_element_query_convert):
2737         * gst/gstutils.h:
2738         Docs and consistency fixes.
2739
2740 2005-10-20  Wim Taymans  <wim@fluendo.com>
2741
2742         * gst/gsttask.c:
2743         * gst/gsttask.h:
2744         More docs.
2745
2746 2005-10-20  Wim Taymans  <wim@fluendo.com>
2747
2748         * gst/gstbin.c: (message_check), (bin_replace_message),
2749         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2750         (update_degree), (gst_bin_sort_iterator_next),
2751         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2752         Reworked the message handling a bit, cache the messages instead of
2753         only the senders. alows us to do more in the future.
2754
2755 2005-10-20  Wim Taymans  <wim@fluendo.com>
2756
2757         * docs/design/part-TODO.txt:
2758         Update TODO
2759
2760         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2761         (gst_base_sink_query):
2762         Don't use clock time to report position when in EOS.
2763
2764 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2765
2766         * tools/gst-inspect.c: (print_interfaces),
2767         (print_element_properties_info), (print_element_info):
2768           Fix interface output with gst-inspect -a; don't print
2769           newlines after double/float properties.
2770
2771 2005-10-20  Wim Taymans  <wim@fluendo.com>
2772
2773         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2774         (gst_base_sink_query):
2775         Speed up current position calculation.
2776
2777         * gst/base/gstbasesrc.c: (gst_base_src_query),
2778         (gst_base_src_default_newsegment):
2779         Correctly set stream position in newsegment.
2780
2781         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2782         (update_degree), (gst_bin_sort_iterator_next),
2783         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2784         * gst/gstmessage.c: (gst_message_new_custom):
2785         Clean up debugging info
2786
2787         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2788         (gst_queue_loop), (gst_queue_handle_src_query):
2789         Pause task faster.
2790
2791 2005-10-19  Wim Taymans  <wim@fluendo.com>
2792
2793         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2794         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2795         Fix query handling again.
2796
2797 2005-10-19  Wim Taymans  <wim@fluendo.com>
2798
2799         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2800         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2801         * gst/base/gstbasesrc.c: (gst_base_src_query):
2802         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2803         * gst/elements/gsttypefindelement.c:
2804         (gst_type_find_handle_src_query), (find_element_get_length),
2805         (gst_type_find_element_activate):
2806         API change fix.
2807
2808         * gst/gstquery.c: (gst_query_new_position),
2809         (gst_query_set_position), (gst_query_parse_position),
2810         (gst_query_new_duration), (gst_query_set_duration),
2811         (gst_query_parse_duration), (gst_query_set_segment),
2812         (gst_query_parse_segment):
2813         * gst/gstquery.h:
2814         Bundling query position/duration is not a good idea since duration
2815         does not change much and we don't want to recalculate it for every
2816         position query, so they are separated again..
2817         Base value in segment query is not needed.
2818
2819         * gst/gstqueue.c: (gst_queue_handle_src_query):
2820         * gst/gstutils.c: (gst_element_query_position),
2821         (gst_element_query_duration), (gst_pad_query_position),
2822         (gst_pad_query_duration):
2823         * gst/gstutils.h:
2824         Updates for query API change.
2825         Added some docs here and there.
2826
2827 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2828
2829         * check/gst/gstbin.c: (GST_START_TEST):
2830         * check/gst/gstghostpad.c: (GST_START_TEST):
2831         * check/pipelines/cleanup.c: (GST_START_TEST):
2832           wait on thread to die so we can check refcount correctly
2833
2834 2005-10-18  Wim Taymans  <wim@fluendo.com>
2835
2836         * check/pipelines/stress.c: (GST_START_TEST):
2837         Make check a little more time consuming.
2838
2839 2005-10-18  Wim Taymans  <wim@fluendo.com>
2840
2841         * check/Makefile.am:
2842         * check/pipelines/stress.c: (GST_START_TEST),
2843         (simple_launch_lines_suite), (main):
2844         Small state change torture test.
2845
2846         * docs/design/part-states.txt:
2847         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2848         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2849         (gst_base_sink_change_state):
2850         Never take state lock from streaming thread, clean up ugly
2851         hacks. Unfortunatly core does not yet support nice ways to
2852         async commit state.
2853         
2854         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2855         (bin_bus_handler):
2856         Start state recalc if a STATE_DIRTY message is posted, but only
2857         on the toplevel bin.
2858
2859         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2860         (gst_element_get_state_func), (gst_element_abort_state),
2861         (gst_element_commit_state), (gst_element_lost_state),
2862         (gst_element_set_state_func), (gst_element_change_state):
2863         * gst/gstelement.h:
2864         State variables are now protected with the LOCK, the state
2865         lock is only used to serialize _set_state().
2866
2867 2005-10-18  Wim Taymans  <wim@fluendo.com>
2868
2869         * check/gst/gstbin.c: (GST_START_TEST):
2870         * check/gst/gstmessage.c: (GST_START_TEST):
2871         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2872         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2873         (bin_bus_handler):
2874         * gst/gstelement.c: (gst_element_abort_state),
2875         (gst_element_commit_state), (gst_element_lost_state):
2876         * gst/gstmessage.c: (gst_message_new_state_changed),
2877         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2878         (gst_message_new_segment_done), (gst_message_new_duration),
2879         (gst_message_parse_state_changed),
2880         (gst_message_parse_segment_start),
2881         (gst_message_parse_segment_done), (gst_message_parse_duration):
2882         * gst/gstmessage.h:
2883         * tools/gst-launch.c: (event_loop):
2884         Seriously, this is better than a previous commit as we only need
2885         to notify the fact that an element changed state in a streaming
2886         thread, marking the state of the parents dirty, hence the 
2887         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2888         message.
2889
2890 2005-10-18  Wim Taymans  <wim@fluendo.com>
2891
2892         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2893         (gst_bin_recalc_func):
2894         * gst/gstelement.c: (gst_element_set_clock),
2895         (gst_element_abort_state), (gst_element_lost_state):
2896         Cleanups, prepare for state change fixes.
2897
2898 2005-10-18  Wim Taymans  <wim@fluendo.com>
2899
2900         * gst/gstbin.h:
2901         * gst/gstelement.c: (gst_element_class_init),
2902         (gst_element_set_state), (gst_element_set_state_func):
2903         * gst/gstelement.h:
2904         Pending ABI changes.
2905         GThreadPool in GstBinClass to monitor async state changes.
2906         state_cookie in GstElement to detect concurrent gst/set state.
2907         set_state is now virtual too in case a very complicated element
2908         has to be constructed.
2909
2910 2005-10-18  Wim Taymans  <wim@fluendo.com>
2911
2912         * check/gst/gstbin.c: (GST_START_TEST):
2913         * check/gst/gstmessage.c: (GST_START_TEST):
2914         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2915         * gst/gstbin.c: (bin_bus_handler):
2916         * gst/gstelement.c: (gst_element_commit_state),
2917         (gst_element_lost_state):
2918         * gst/gstmessage.c: (gst_message_new_state_changed),
2919         (gst_message_new_segment_start), (gst_message_new_segment_done),
2920         (gst_message_new_duration), (gst_message_parse_state_changed),
2921         (gst_message_parse_segment_start),
2922         (gst_message_parse_segment_done), (gst_message_parse_duration):
2923         * gst/gstmessage.h:
2924         * tools/gst-launch.c: (event_loop):
2925         Make messages future proof.
2926         state-change gets a flag if it was a message comming from the
2927         streaming thread.
2928         segment-start/stop can also be specified in other formats.
2929         A message to notify an app that a pipeline changed playback 
2930         duration.
2931         Also fix a GstMessage leak in -launch
2932
2933 2005-10-18  Andy Wingo  <wingo@pobox.com>
2934
2935         * gst/gstelement.c (gst_element_dispose): More helpful message.
2936
2937 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2938
2939         reviewed by: <delete if not using a buddy>
2940
2941         * common/gtk-doc.mak:
2942
2943 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2944
2945         * gst/gstregistry.c: (gst_registry_scan_path_level):
2946           unref a plug-in we get that was already initialized
2947
2948 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2949
2950         * docs/gst/gstreamer-sections.txt:
2951         * docs/libs/gstreamer-libs-sections.txt:
2952         * gst/gstelement.h:
2953           add new api entries
2954           hide internal macro
2955
2956 2005-10-17  Andy Wingo  <wingo@pobox.com>
2957
2958         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2959         cleanup.
2960
2961         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2962
2963         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2964
2965         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2966         (gst_element_get_state_func): Better debug message.
2967         (gst_element_commit_state): s/INFO/DEBUG/.
2968         (gst_element_lost_state, gst_element_change_state): 
2969
2970         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2971         (gst_message_new_custom): s/INFO/LOG/.
2972
2973 2005-10-17  Michael Smith <msmith@fluendo.com>
2974
2975         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2976           Check if end time is valid using end time, not start time.
2977
2978 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2979
2980         * check/gst-libs/controller.c: (GST_START_TEST),
2981         (gst_controller_suite):
2982         * libs/gst/controller/gstcontroller.c:
2983         (gst_controlled_property_set_interpolation_mode):
2984         * libs/gst/controller/gstcontroller.h:
2985         * libs/gst/controller/gstinterpolation.c:
2986         * testsuite/controller/.cvsignore:
2987         * testsuite/controller/Makefile.am:
2988         * testsuite/controller/interpolator.c:
2989           merge controller testsuites
2990           fix broken tests
2991           remove mem-chunk from docs
2992
2993 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2994
2995         * gst/gstmemchunk.c:
2996         * gst/gstmemchunk.h:
2997         * gst/gsttrashstack.c:
2998         * gst/gsttrashstack.h:
2999           out.  get out.  you're fired.  to the Attic !
3000
3001 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3002
3003         * gst/gstcaps.c: (gst_caps_intersect):
3004           fix signedness issues in a (hopefully) correct way
3005         * gst/gstelement.c: (gst_element_pads_activate):
3006           some debugging
3007         * gst/gstobject.c: (gst_object_set_parent):
3008           some debugging
3009
3010 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3011
3012         * gst/gstvalue.h: Fix prototypes.
3013
3014 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3015
3016         * docs/gst/gstreamer-sections.txt:
3017         * gst/gst.c: (gst_version_string):
3018         * gst/gst.h:
3019         * gst/gstversion.h.in:
3020         * win32/common/libgstreamer.def:
3021           add gst_version_string ()
3022
3023 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3024
3025         * configure.ac:
3026           clean up further
3027         * gst/gst.c: (init_post):
3028         * win32/common/config.h.in:
3029           it's PLUGINDIR now
3030         * gst/gstcaps.c: (gst_caps_intersect):
3031           use gint64, the range could be bigger than a guint
3032
3033 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3034
3035         * gst/gstclock.h:
3036           document potential problem in 2038
3037
3038 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3039
3040         * gst/gstcaps.c: (gst_caps_intersect):
3041           Fix guint j diving under 0
3042
3043 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3044
3045         * configure.ac:
3046         * win32/common/config.h:
3047         * win32/common/config.h.in:
3048           check for process.h, declares getpid() on Windows
3049         * gst/gstinfo.c:
3050           include process.h if we have it
3051         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3052         * gst/gstmemchunk.h:
3053           fix signedness issues
3054         * win32/common/libgstreamer.def:
3055           fix get_type's
3056
3057 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3058
3059         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3060         fix. Because of unsigned ints, caps intersection was going nuts and
3061         trying to access structures with G_MAXUINT index. That fixes
3062         videotestsrc ! ffmpegcolorspace ! fakesink
3063         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3064         consistency.
3065
3066 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3067
3068         * configure.ac:
3069           use the gettext macro
3070         * gst/elements/gstelements.c:
3071         * gst/gst.c:
3072         * gst/indexers/gstindexers.c:
3073           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3074         * win32/common/config.h:
3075           updated config.h
3076         * win32/common/config.h.in:
3077           add the template to generate config.h
3078         * win32/common/gstenumtypes.c:
3079         * win32/common/gstversion.h:
3080           updated copies
3081
3082 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3083
3084         * gst/gst.c: (gst_version):
3085         * gst/gstversion.h.in:
3086           add the nano
3087
3088 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3089
3090         * gst/gstevent.h:
3091           Oops, add missing closing bracket.
3092
3093 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3094
3095         * configure.ac:
3096           use common m4's for argument checking
3097
3098 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3099
3100         * docs/gst/gstreamer-sections.txt:
3101         * gst/gstevent.h:
3102           Add GST_EVENT_TYPE_NAME() macro.
3103
3104 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3105
3106         * gst/gstinfo.c:
3107         * gst/gstpluginfeature.c:
3108         * gst/gsttask.c:
3109           privatize more symbols
3110
3111 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3112
3113         * configure.ac:
3114           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3115           everything that uses GStreamer API should have the includes
3116
3117 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3118
3119         * docs/gst/gstreamer-sections.txt:
3120         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3121         * gst/gstvalue.h:
3122           give each value a _get_type, removes the DATA exports
3123
3124 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3125
3126         * gst/gst.c:
3127         * gst/gst.h:
3128           remove _gst_registry_auto_load, not used anymore
3129         * gst/gstbin.c: (gst_bin_get_type):
3130         * gst/gstbin.h:
3131         * gst/gstelement.c: (gst_element_get_type):
3132         * gst/gstelement.h:
3133         * gst/gstobject.c: (gst_object_get_type):
3134         * gst/gstobject.h:
3135         * gst/gstpad.c: (gst_pad_get_type):
3136         * gst/gstpad.h:
3137           make _get_type functions similar, fixes data export from library
3138
3139 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3140
3141         * configure.ac:
3142           correctly make conditionals
3143         * gst/elements/Makefile.am:
3144         * gst/elements/gstelements.c:
3145           fix typo causing fdsrc not to build
3146
3147 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3148
3149         * testsuite/Makefile.am:
3150         * testsuite/bytestream/.cvsignore:
3151         * testsuite/bytestream/Makefile.am:
3152         * testsuite/bytestream/filepadsink.c:
3153         * testsuite/bytestream/gstbstest.c:
3154         * testsuite/bytestream/test1.c:
3155         * testsuite/bytestream/testfile1:
3156         * testsuite/caps/normalisation.c:
3157         * testsuite/caps/random.c: (main):
3158         * testsuite/cleanup/.cvsignore:
3159         * testsuite/cleanup/Makefile.am:
3160         * testsuite/cleanup/cleanup1.c:
3161         * testsuite/cleanup/cleanup2.c:
3162         * testsuite/cleanup/cleanup3.c:
3163         * testsuite/cleanup/cleanup4.c:
3164         * testsuite/cleanup/cleanup5.c:
3165         * testsuite/controller/interpolator.c:
3166         * testsuite/debug/printf_extension.c: (main):
3167         * testsuite/elements/tee.c:
3168         * testsuite/negotiation/.cvsignore:
3169         * testsuite/negotiation/Makefile.am:
3170         * testsuite/negotiation/pad_link.c:
3171         * testsuite/pad/Makefile.am:
3172         * testsuite/pad/chainnopull.c:
3173         * testsuite/pad/getnopush.c:
3174         * testsuite/pad/link.c:
3175         * testsuite/refcounting/sched.c: (create_pipeline):
3176         * testsuite/registry/Makefile.am:
3177         * testsuite/registry/gst-print-formats.c:
3178         * testsuite/schedulers/.cvsignore:
3179         * testsuite/schedulers/142183-2.c:
3180         * testsuite/schedulers/142183.c:
3181         * testsuite/schedulers/143777-2.c:
3182         * testsuite/schedulers/143777.c:
3183         * testsuite/schedulers/147713.c:
3184         * testsuite/schedulers/147819.c:
3185         * testsuite/schedulers/147894-2.c:
3186         * testsuite/schedulers/147894.c:
3187         * testsuite/schedulers/Makefile.am:
3188         * testsuite/schedulers/group_link.c:
3189         * testsuite/schedulers/queue_link.c:
3190         * testsuite/schedulers/relink.c:
3191         * testsuite/schedulers/unlink.c:
3192         * testsuite/schedulers/unref.c:
3193         * testsuite/schedulers/useless_iteration.c:
3194         * testsuite/states/bin.c:
3195           clean out/remove some stuff from the testsuite directories
3196
3197 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3198
3199         * configure.ac:
3200           check for some headers
3201         * gst/elements/Makefile.am:
3202         * gst/elements/gstelements.c:
3203           don't compile fdsrc without sys/socket.h
3204         * gst/indexers/Makefile.am:
3205         * gst/indexers/gstindexers.c: (plugin_init):
3206           don't compile fileindex without mmap
3207
3208 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3209
3210         * configure.ac:
3211           reorganize
3212           clean up
3213           document more
3214           remove cruft
3215         * check/Makefile.am:
3216         * docs/gst/Makefile.am:
3217         * examples/helloworld/Makefile.am:
3218         * gst/Makefile.am:
3219         * gst/base/Makefile.am:
3220         * gst/check/Makefile.am:
3221         * gst/elements/Makefile.am:
3222         * gst/indexers/Makefile.am:
3223         * gst/parse/Makefile.am:
3224         * libs/gst/controller/Makefile.am:
3225         * libs/gst/dataprotocol/Makefile.am:
3226         * examples/helloworld/helloworld.c: (event_loop):
3227           compile fixes, though it's not being compiled currently
3228
3229 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3230
3231         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3232           Add some simple tests for the new taglist date API.
3233
3234 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3235
3236         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3237         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3238           Beautify 'last-message' output: print 'none' for buffer timestamps
3239           and durations if none is set; improve alignment with next messages.
3240
3241 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3242
3243         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3244         * gst/gstpluginfeature.h:
3245         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3246         * gst/gstregistry.h:
3247         * docs/gst/gstreamer-sections.txt:
3248           Add new API to check plugin feature version requirements.
3249
3250         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3251           Some basic tests for the above.         
3252
3253 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3254
3255         * gst/gststructure.c: (gst_structure_to_string):
3256           guard against NULL printf - happens when for example
3257           a message structure with GstClock gets serialized
3258
3259 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3260
3261         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3262           Fix presumable copy'n'pasto.
3263
3264 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3265
3266         * gst/elements/gstfakesrc.h:
3267         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3268         * gst/elements/gsttypefindelement.c:
3269           fix some signedness
3270         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3271           I wonder if this could actually write +2GB files before
3272
3273 2005-10-13  Andy Wingo  <wingo@pobox.com>
3274
3275         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3276         Fix Timmeke Waymans bug.
3277         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3278         string of the proper length to gst_caps_from_string. There's a
3279         potential for, before this fix, that this could cause someone
3280         connecting over the network to cause a segfault if the payload is
3281         not NUL-terminated.
3282
3283 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3284
3285         * docs/design/draft-push-pull.txt:
3286         * docs/design/part-overview.txt:
3287         * docs/random/TODO-pre-0.9:
3288         * docs/random/old/ChangeLog.gstreamer:
3289         * gst/base/gstpushsrc.c:
3290         * gst/gstclock.c:
3291           fixed typos
3292
3293 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3294
3295         * gst/glib-compat.c: (gst_flags_get_first_value):
3296         * gst/glib-compat.h:
3297         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3298         (gst_value_compare_double), (gst_value_serialize_flags):
3299           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3300           infinite loop
3301
3302 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3303
3304         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3305         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3306           fix up debugging
3307         * tools/gst-launch.c: (event_loop):
3308           print out clock nicely
3309
3310 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3311
3312         * docs/gst/gstreamer-sections.txt:
3313         * gst/gsttaglist.h:
3314         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3315         (gst_tag_list_get_date_index):
3316           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3317           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3318
3319 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3320
3321         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3322         (gst_collectpads_chain):
3323         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3324         in CollectData.
3325
3326 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3327
3328         * docs/gst/gstreamer-sections.txt:
3329         * gst/gst.c:
3330         * gst/gsterror.h:
3331         * tools/gst-inspect.c: (main):
3332         * tools/gst-launch.c: (main):
3333         * tools/gst-run.c: (main):
3334         * tools/gst-xmlinspect.c: (main):
3335           fix GOption context leaks
3336           doc fixes
3337
3338 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3339
3340         * gst/gstbus.c:
3341           use HAVE_UNISTD_H
3342         * win32/common/config.h:
3343           update config
3344         * win32/vs6/grammar.dsp:
3345         * win32/vs6/libgstelements.dsp:
3346         * win32/vs6/libgstreamer.dsp:
3347           update vs6 files
3348
3349 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3350
3351         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3352         * gst/base/gstbasesrc.c: (gst_base_src_query):
3353           fix more guint64<->gdouble conversions
3354
3355 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3356
3357         * Makefile.am:
3358           add win32-update target
3359         * win32/common/gstconfig.h:
3360         * win32/common/gstenumtypes.c:
3361         * win32/common/gstenumtypes.h:
3362         * win32/common/gstversion.h:
3363           add files that visual studio can't generate
3364
3365 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3366
3367         * Makefile.am:
3368           add a win32-update target
3369         * configure.ac:
3370
3371 2005-10-12  Wim Taymans  <wim@fluendo.com>
3372
3373         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3374         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3375         * gst/gstelement.c: (gst_element_commit_state),
3376         (gst_element_set_state):
3377         Protect flags with proper lock.
3378         unref provided cached clock in dispose.
3379
3380 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3381
3382         * gst/gst.c:
3383         * gst/gstminiobject.h:
3384         * gst/gstpad.h:
3385         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3386           removed unused flags from miniobject
3387           doc fixes
3388
3389 2005-10-12  Wim Taymans  <wim@fluendo.com>
3390
3391         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3392         (gst_file_sink_event), (gst_file_sink_render):
3393         Flush before seeking.
3394
3395 2005-10-12  Andy Wingo  <wingo@pobox.com>
3396
3397         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3398         always been the case.
3399
3400 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3401
3402         * check/gst/gstbin.c: (GST_START_TEST):
3403         * docs/gst/gstreamer-sections.txt:
3404         * gst/base/gstbasesink.c: (gst_base_sink_init):
3405         * gst/base/gstbasesrc.c: (gst_base_src_init),
3406         (gst_base_src_get_range), (gst_base_src_check_get_range),
3407         (gst_base_src_start), (gst_base_src_stop):
3408         * gst/base/gstbasesrc.h:
3409         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3410         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3411         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3412         (bin_bus_handler):
3413         * gst/gstbin.h:
3414         * gst/gstbuffer.h:
3415         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3416         * gst/gstbus.h:
3417         * gst/gstelement.c: (gst_element_is_locked_state),
3418         (gst_element_set_locked_state), (gst_element_commit_state),
3419         (gst_element_set_state):
3420         * gst/gstelement.h:
3421         * gst/gstindex.c: (gst_index_init):
3422         * gst/gstindex.h:
3423         * gst/gstminiobject.h:
3424         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3425         (gst_object_set_parent):
3426         * gst/gstobject.h:
3427         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3428         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3429         * gst/gstpad.h:
3430         * gst/gstpadtemplate.h:
3431         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3432         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3433         * gst/gstpipeline.h:
3434         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3435         (gst_file_index_commit):
3436         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3437         * testsuite/pad/link.c: (gst_test_src_init),
3438         (gst_test_filter_init), (gst_test_sink_init):
3439         * testsuite/states/locked.c: (main):
3440           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3441           moved bitshift from macro to enum definition
3442
3443 2005-10-12  Wim Taymans  <wim@fluendo.com>
3444
3445         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3446         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3447         (gst_file_sink_render):
3448         Some more debugging info.
3449
3450 2005-10-12  Wim Taymans  <wim@fluendo.com>
3451
3452         * docs/design/part-states.txt:
3453         * tools/gst-launch.c: (main):
3454         Some doc updates.
3455         Revert non-intentional change.
3456
3457 2005-10-12  Wim Taymans  <wim@fluendo.com>
3458
3459         * check/gst/gstbin.c: (GST_START_TEST):
3460         * check/gst/gstelement.c: (GST_START_TEST):
3461         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3462         * check/gst/gstghostpad.c: (GST_START_TEST):
3463         * check/gst/gstpipeline.c: (GST_START_TEST):
3464         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3465         * check/states/sinks.c: (GST_START_TEST):
3466         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3467         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3468         (gst_bin_remove_func), (gst_bin_get_state_func),
3469         (gst_bin_recalc_state), (gst_bin_change_state_func),
3470         (bin_bus_handler):
3471         * gst/gstelement.c: (gst_element_get_state_func),
3472         (gst_element_get_state), (gst_element_abort_state),
3473         (gst_element_commit_state), (gst_element_set_state),
3474         (gst_element_change_state), (gst_element_change_state_func):
3475         * gst/gstelement.h:
3476         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3477         (gst_pipeline_provide_clock_func):
3478         * gst/gstutils.c: (gst_element_link_pads_filtered):
3479         * tools/gst-launch.c: (main):
3480         * tools/gst-typefind.c: (main):
3481         Use GstClockTime in _get_state() instead of GTimeVal.
3482         Remove old code in gstutils.c
3483
3484 2005-10-12  Andy Wingo  <wingo@pobox.com>
3485
3486         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3487         removed.
3488
3489         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3490         there is no task. Shouldn't affect any code, as nothing in our
3491         plugins checks this return value.
3492         (gst_pad_stop_task): Also take the stream lock if the pad has no
3493         task. Docs updated.
3494
3495 2005-10-12  Wim Taymans  <wim@fluendo.com>
3496
3497         * gst/gstpad.c: (pre_activate), (post_activate),
3498         (gst_pad_activate_pull), (gst_pad_activate_push):
3499         Cleanup activation code. Reset old state if
3500         activation failed.
3501
3502 2005-10-12  Wim Taymans  <wim@fluendo.com>
3503
3504         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3505         (gst_base_sink_change_state):
3506         No need to prerol after receiving EOS.
3507
3508         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3509         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3510         * gst/elements/gstidentity.c: (gst_identity_event):
3511         Print events more verbosely.
3512
3513 2005-10-12  Wim Taymans  <wim@fluendo.com>
3514
3515         * check/Makefile.am:
3516         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3517         * check/states/sinks2.c:
3518         Moved sinks2 testcode in sinks check.
3519
3520         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3521         (gst_bin_remove_func), (gst_bin_recalc_state),
3522         (gst_bin_change_state_func), (bin_bus_handler):
3523         Fix potential race condition when _get_state() iterated over an
3524         ASYNC element right before it posted a state completion.
3525
3526         * gst/gstclock.h:
3527         Do proper cast here.
3528
3529         * gst/gstevent.c: (gst_event_new_newsegment),
3530         (gst_event_parse_newsegment):
3531         A playback rate of 0.0 is not allowed.
3532
3533 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3534
3535         * win32/common/config.h:
3536         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3537         (_trewinddir), (_ttelldir), (_tseekdir):
3538         * win32/common/dirent.h:
3539         * win32/common/gtchar.h:
3540         * win32/common/libgstbase.def:
3541         * win32/common/libgstreamer.def:
3542         * win32/vs6/grammar.dsp:
3543         * win32/vs6/gst_inspect.dsp:
3544         * win32/vs6/gst_launch.dsp:
3545         * win32/vs6/gstreamer.dsw:
3546         * win32/vs6/libgstbase.dsp:
3547         * win32/vs6/libgstelements.dsp:
3548         * win32/vs6/libgstreamer.dsp:
3549           Visual Studio 6 project files, and a new common directory.
3550           Phear.
3551
3552 2005-10-11  Wim Taymans  <wim@fluendo.com>
3553
3554         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3555         (gst_base_sink_do_sync), (gst_base_sink_query),
3556         (gst_base_sink_change_state):
3557         * gst/base/gstbasesink.h:
3558         Correctly parse newsegment info.
3559
3560 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3561
3562         * gst/gst.c: (init_post):
3563           split plugin paths correctly
3564
3565 2005-10-11  Wim Taymans  <wim@fluendo.com>
3566
3567         * check/gst/gstevent.c: (GST_START_TEST):
3568         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3569         (gst_base_sink_change_state):
3570         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3571         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3572         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3573         * gst/gstevent.c: (gst_event_new_newsegment),
3574         (gst_event_parse_newsegment):
3575         * gst/gstevent.h:
3576         Added extra flag to newsegment for future API freeze.
3577         Updated check and base elements.
3578
3579 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3580
3581         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3582         (gst_collectpads_add_pad), (gst_collectpads_pop),
3583         (gst_collectpads_event), (gst_collectpads_chain):
3584         * gst/base/gstcollectpads.h: Handle EOS correctly.
3585
3586 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3587
3588         * tools/gst-launch.c: (main):
3589           more null protecting
3590
3591 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3592
3593         * gst/gst-i18n-lib.h:
3594           check for ENABLE_NLS, not GETTEXT_PACKAGE
3595         * gst/gstregistry.c: (gst_registry_add_plugin),
3596         (gst_registry_scan_path_level),
3597         (_gst_registry_remove_cache_plugins):
3598           protect possibly NULL strings
3599         * gst/parse/types.h:
3600           config.h already included before
3601         * tools/gst-inspect.c: (main):
3602           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3603           check for ENABLE_NLS, not GETTEXT_PACKAGE
3604         * tools/gst-launch.c: (main):
3605           check for ENABLE_NLS, not GETTEXT_PACKAGE
3606
3607 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3608
3609         * configure.ac:
3610           if we don't have glib, fail before testing 2.8
3611         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3612           fix a leak, should fix plugins-base testsuite
3613
3614 2005-10-11  Andy Wingo  <wingo@pobox.com>
3615
3616         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3617         take the mode we're going to as an arg. Go head and set the mode
3618         and flushing flags now, so that if the activate function starts a
3619         thread all the flags will be in the right state.
3620         (post_activate): Renamed also. Just handle making sure streaming
3621         finishes for the deactivation case, and setting the deactivated
3622         mode.
3623         (gst_pad_set_active): Complain loudly if deactivation fails.
3624         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3625         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3626         remove the terrible hack.
3627
3628 2005-10-11  Wim Taymans  <wim@fluendo.com>
3629
3630         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3631         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3632         (gst_bin_recalc_state), (gst_bin_change_state_func),
3633         (gst_bin_dispose), (bin_bus_handler):
3634         * gst/gstbin.h:
3635         Prepare to make current EOS message queue more generic.
3636         Fix some typos.
3637
3638         * gst/gstevent.c: (gst_event_new_newsegment),
3639         (gst_event_parse_newsegment):
3640         * gst/gstevent.h:
3641         Rename base to stream_time.
3642
3643         * gst/gstmessage.h:
3644         Fix typo in docs.
3645
3646 2005-10-11  Wim Taymans  <wim@fluendo.com>
3647
3648         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3649         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3650         (gst_bin_change_state_func), (bin_bus_handler):
3651         * gst/gstbin.h:
3652         Work on proper clock selection.
3653
3654 2005-10-11  Edward Hervey  <edward@fluendo.com>
3655
3656         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3657         * libs/gst/controller/gstcontroller.h:
3658         Added GList* version of _remove_properties() in order to be able to wrap
3659         it in bindings.
3660
3661 2005-10-11  Wim Taymans  <wim@fluendo.com>
3662
3663         * docs/design/part-states.txt:
3664         Some more docs.
3665
3666         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3667         (gst_bin_change_state_func), (bin_bus_handler):
3668         Doc updates. Don't distribute the same clock over and over again.
3669
3670         * gst/gstclock.c:
3671         * gst/gstclock.h:
3672         Doc updates.
3673
3674         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3675         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3676         (gst_pad_send_event):
3677         * gst/gstpad.h:
3678         Make probe emission threadsafe again.
3679         Register quarks and move _get_name() from utils.
3680         Doc updates.
3681
3682         * gst/gstpipeline.c: (gst_pipeline_class_init),
3683         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3684         Only redistribute the clock of it changed.
3685
3686         * gst/gstsystemclock.h:
3687         Doc updates. 
3688
3689         * gst/gstutils.c:
3690         * gst/gstutils.h:
3691         Moved the _flow_get_name() to GstPad.
3692
3693 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3694
3695         * check/gst-libs/gdp.c: (GST_START_TEST):
3696         * check/gst/gstcaps.c: (GST_START_TEST):
3697         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3698         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3699         (gst_dp_packet_from_caps):
3700           fix more valgrind warnings before turning up the heat
3701
3702 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3703
3704         * gst/parse/grammar.y:
3705           some cleanup before the hacking
3706
3707 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3708
3709         * gst/base/gstbasesrc.c: (gst_base_src_query):
3710           use conversions
3711         * gst/gstutils.c: (gst_guint64_to_gdouble),
3712         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3713         * gst/gstutils.h:
3714           externalize, basesrc uses it
3715           obviously the implementation needs testing
3716
3717 2005-10-10  Wim Taymans  <wim@fluendo.com>
3718
3719         * tests/sched/Makefile.am:
3720         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3721         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3722
3723 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3724
3725         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3726           apparently converting from guint64 to double is not implemented
3727           on MSVC
3728
3729 2005-10-10  Wim Taymans  <wim@fluendo.com>
3730
3731         * check/Makefile.am:
3732         * check/generic/states.c: (GST_START_TEST):
3733         * check/gst/gstbin.c: (GST_START_TEST):
3734         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3735         * check/states/sinks.c: (GST_START_TEST):
3736         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3737         (main):
3738         Check fixes, use API as stated in design docs, remove hacks.
3739
3740         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3741         (gst_base_sink_change_state):
3742         Catch stopping our task while we're shutting down.
3743
3744         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3745         (gst_bin_remove_func), (gst_bin_get_state_func),
3746         (gst_bin_recalc_state), (gst_bin_change_state_func),
3747         (bin_bus_handler):
3748         * gst/gstbin.h:
3749         * gst/gstelement.c: (gst_element_init),
3750         (gst_element_get_state_func), (gst_element_abort_state),
3751         (gst_element_commit_state), (gst_element_lost_state),
3752         (gst_element_set_state), (gst_element_change_state),
3753         (gst_element_change_state_func):
3754         * gst/gstelement.h:
3755         New state change algorithm (see #318116)
3756
3757         * gst/gstpipeline.c: (gst_pipeline_class_init),
3758         (gst_pipeline_init), (gst_pipeline_set_property),
3759         (gst_pipeline_get_property), (do_pipeline_seek),
3760         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3761         * gst/gstpipeline.h:
3762         Remove crude state change hacks.
3763
3764         * gst/gstutils.h:
3765         Remove crude hacks.
3766
3767         * tools/gst-launch.c: (main):
3768         Fixes for state change. Needs some more work to fully use the
3769         new stuff.
3770
3771 2005-10-10  Andy Wingo  <wingo@pobox.com>
3772
3773         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3774
3775         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3776         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3777         issue.
3778
3779 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3780
3781         * gst/gstiterator.c: (gst_iterator_new):
3782           Fix my previous commit: GTypes passed to gst_iterator_new()
3783           can be fundamental types.
3784
3785 2005-10-10  Wim Taymans  <wim@fluendo.com>
3786
3787         * gst/gstelement.c: (gst_element_iterate_pad_list),
3788         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3789         (gst_element_iterate_sink_pads):
3790         Use src/sink pads lists for the respective iterators instead
3791         of filtering.
3792
3793 2005-10-10  Andy Wingo  <wingo@pobox.com>
3794
3795         Merged in popt removal + GOption addition patch from Ronald, bug
3796         #169772.
3797
3798         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3799         GstElement macros around, remove popt-related symbols, add goption
3800         stuff.
3801
3802         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3803         
3804         * docs/gst/Makefile.am:
3805         * docs/libs/Makefile.am: No POPT_CFLAGS.
3806         
3807         * examples/manual/Makefile.am:
3808         * docs/manual/basics-init.xml: Doc updates with an example.
3809         
3810         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3811         (gst_init), (parse_one_option), (parse_goption_arg):
3812         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3813         bit of hand merging and debugging to get the GOption stuff working
3814         tho.
3815         
3816         * tests/Makefile.am:
3817         * tools/Makefile.am:
3818         * tools/gst-inspect.c: (main):
3819         * tools/gst-launch.c: (main):
3820         * tools/gst-run.c: (main):
3821         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3822
3823 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3824
3825         * gst/gstiterator.c: (gst_iterator_new):
3826           Add assertions to make sure passed GType is likely to really
3827           be a GType (as the compiler won't catch it if the size and
3828           GType arguments get mixed up, see #318447).
3829
3830 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3831
3832         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3833
3834         * gst/gstbin.c: (gst_bin_iterate_sorted):
3835           Pass GType and size arguments to gst_iterator_new() in the right
3836           order (maybe we should make _new() take the GType as first argument
3837           just like _new_list()?) (#318447).
3838           
3839
3840 2005-10-10  Wim Taymans  <wim@fluendo.com>
3841
3842         * gst/gstelement.c: (gst_element_finalize):
3843         And free the GStaticRecMutex too
3844
3845 2005-10-10  Andy Wingo  <wingo@pobox.com>
3846
3847         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3848         Allocate and free the mutex properly.
3849
3850         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3851         New macros.
3852         (GstElement): The state_lock is now recursive. Rebuild your
3853         plugins, suckers. Old macros adapted.
3854
3855         * docs/gst/gstreamer-sections.txt: Doc updates.
3856
3857         * gst/gstutils.h:
3858         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3859         (g_static_rec_cond_wait): Ported from state changes patch, while
3860         we wait on bug #317802 to be solved in a well-distributed GLib.
3861
3862         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3863         gst_element_change_state, variable name changes.
3864         (gst_element_change_state): Split out of gst_element_set_state in
3865         preparation for the state change merge. Doesn't pay attention to
3866         the 'transition' argument.
3867         (gst_element_set_state): Updates, hopefully purely cosmetic.
3868         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3869         state change patch.
3870         (gst_element_get_state_func): Renamed from get_state, cosmetic
3871         changes.
3872
3873 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3874
3875         * gst/elements/gstelements.c:
3876         * win32/GStreamer.vcproj:
3877         * win32/config.h:
3878         * win32/dirent.c: (_tseekdir):
3879         * win32/gst-inspect.vcproj:
3880         * win32/gst-launch.vcproj:
3881         * win32/gstconfig.h:
3882         * win32/gstelements.vcproj:
3883         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3884         * win32/gstreamer.def:
3885         * win32/msvc71.sln:
3886           updates for the win32 build (patch from Sebastien Moutte)
3887
3888 2005-10-10  Andy Wingo  <wingo@pobox.com>
3889
3890         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3891         gst_bin_get_state, cleaned up (but no logic changes).
3892         (bin_element_is_sink): Comment updates.
3893         (sink_iterator_filter): Remove needless cast.
3894         (gst_bin_iterate_sinks): Doc update.
3895         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3896         cleaned up (but no logic changes).
3897
3898         * check/states/sinks.c (test_src_sink): Cleanups from the state
3899         change patch.
3900         (test_livesrc_sink): Sync on the state.
3901
3902         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3903         the state change patch.
3904
3905         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3906         change patch.
3907
3908         * check/gst/gstbin.c: Merge in some style fixes and additional
3909         checks from Wim's state change patch.
3910
3911 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3912
3913         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3914         (gst_type_find_helper):
3915           Check whether we have the requested data already in our list of
3916           cached buffers before pulling a new buffer; also make the buffer
3917           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3918
3919 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3920
3921         * gst/gstcaps.c:
3922         * gst/gstevent.c:
3923           doc updates
3924         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3925           don't use long long, it's not portable.  Replacing with
3926           gint64 seems to work; let's hope no skeletons fall out of the closet.
3927
3928 2005-10-10  Andy Wingo  <wingo@pobox.com>
3929
3930         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3931
3932 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3933
3934         * docs/gst/gstreamer-sections.txt:
3935         * gst/gstevent.c:
3936         * gst/gstevent.h:
3937         * gst/gstinfo.c:
3938         * gst/gstinfo.h:
3939         * gst/gstmessage.c: (gst_message_parse_state_changed):
3940         * gst/gstpad.c:
3941         * gst/gstpad.h:
3942           more docs, fix compilation
3943
3944 2005-10-09  Philippe Khalaf <burger@speedy.org>
3945         * gst/gstmessage.c:
3946           Fixed a few forgotten variables on previous commit
3947
3948 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3949
3950         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3951           Fix evil typefind crasher: getrange() might return a short
3952           buffer at the end of a file, but gst_type_find_peek() must
3953           either return the full data as requested or NULL, but
3954           never a short buffer.
3955
3956 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3957
3958         * gst/gstmessage.c: (gst_message_new_state_changed),
3959         (gst_message_parse_state_changed):
3960         * gst/gstmessage.h:
3961           don't use "new", it's a C++ keyword
3962
3963 2005-10-08  Wim Taymans  <wim@fluendo.com>
3964
3965         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3966         * gst/gstelement.c: (gst_element_post_message):
3967         * gst/gstpipeline.c: (gst_pipeline_change_state):
3968         Small docs and debug updates.
3969
3970 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3971
3972         * docs/gst/gstreamer-sections.txt:
3973         * gst/gstelementfactory.c:
3974         * gst/gstevent.c:
3975         * gst/gsttaglist.c:
3976           more docs
3977
3978 2005-10-08  Wim Taymans  <wim@fluendo.com>
3979
3980         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3981         (gst_bin_dispose), (bin_bus_handler):
3982         Fix typos, add comments.
3983         Clear EOS list when going to PAUSED from any direction and do it
3984         in a threadsafe way.
3985         Get base time in a threadsafe way too.
3986         Fix confusing debug in the change_state function.
3987         Various other small cleanups.
3988         
3989         * gst/gstelement.c: (gst_element_post_message):
3990         Fix very verbose bus posting code.
3991
3992         * gst/gstpipeline.c: (gst_pipeline_class_init),
3993         (gst_pipeline_set_property), (gst_pipeline_get_property),
3994         (gst_pipeline_change_state):
3995         Small ARG_ -> PROP_ cleanup
3996
3997 2005-10-08  Wim Taymans  <wim@fluendo.com>
3998
3999         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4000         Do a less CPU demanding EOS check because we can.
4001
4002 2005-10-08  Wim Taymans  <wim@fluendo.com>
4003
4004         * libs/gst/dataprotocol/dataprotocol.c:
4005         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4006         (gst_dp_packet_from_event):
4007         * libs/gst/dataprotocol/dataprotocol.h:
4008         * libs/gst/dataprotocol/dp-private.h:
4009         It's about time we bump the version number.
4010         Since event types don't fit in the guint8 anymore describing
4011         the payload type, make payload type 16 bits wide.
4012
4013 2005-10-08  Wim Taymans  <wim@fluendo.com>
4014
4015         * docs/design/part-TODO.txt:
4016         * docs/design/part-clocks.txt:
4017         * docs/design/part-events.txt:
4018         * docs/design/part-gstbin.txt:
4019         * docs/design/part-gstelement.txt:
4020         * docs/design/part-gstpipeline.txt:
4021         * docs/design/part-live-source.txt:
4022         * docs/design/part-messages.txt:
4023         * docs/design/part-overview.txt:
4024         * docs/design/part-states.txt:
4025         Many doc updates.
4026
4027 2005-10-08  Wim Taymans  <wim@fluendo.com>
4028
4029         * gst/gstevent.c:
4030         * gst/gstevent.h:
4031         Fix event quark registration.
4032         Add some space between events so we can insert them in the
4033         right groups.
4034
4035 2005-10-08  Wim Taymans  <wim@fluendo.com>
4036
4037         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4038         (gst_base_sink_handle_buffer):
4039         Better log message.
4040
4041         * gst/gstbus.h:
4042         * gst/gstelement.h:
4043         More docs.
4044
4045         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4046         (gst_queue_set_property), (gst_queue_get_property):
4047         * gst/gstqueue.h:
4048         Remove old unused properties.
4049
4050 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4051         * docs/gst/gstreamer-sections.txt:
4052         * gst/gstmessage.c:
4053         * gst/gstmessage.h:
4054         * gst/gstminiobject.c:
4055         * gst/gstminiobject.h:
4056         * gst/gstobject.h:
4057         * gst/gstpad.h:
4058         * gst/gstutils.h:
4059           lots of new docs and doc fixes
4060
4061 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4062
4063         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4064         * gst/gstplugin.h:
4065         * gst/gstregistry.c: (gst_registry_lookup_locked),
4066         (gst_registry_scan_path_level):
4067         * gst/gstregistryxml.c: (load_plugin):
4068           Only ever load one plugin for a given plugin basename.
4069           This ensures correct overriding of GST_PLUGIN_PATH over
4070           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4071           system installed plugins.
4072
4073 2005-10-08  Wim Taymans  <wim@fluendo.com>
4074
4075         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4076         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4077         Prepare for doing QOS.
4078
4079 2005-10-08  Wim Taymans  <wim@fluendo.com>
4080
4081         * check/gst/gstbin.c: (GST_START_TEST):
4082         * check/pipelines/cleanup.c: (GST_START_TEST):
4083         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4084         Allow new clock message too.
4085
4086 2005-10-08  Wim Taymans  <wim@fluendo.com>
4087
4088         * gst/gstmessage.c: (gst_message_new_error),
4089         (gst_message_new_warning), (gst_message_new_tag),
4090         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4091         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4092         (gst_message_new_segment_start), (gst_message_new_segment_done),
4093         (gst_message_parse_state_changed),
4094         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4095         (gst_message_parse_new_clock):
4096         * gst/gstmessage.h:
4097         Also carry the clock in question.
4098
4099 2005-10-08  Wim Taymans  <wim@fluendo.com>
4100
4101         * gst/gstmessage.c: (gst_message_new_custom),
4102         (gst_message_new_eos), (gst_message_new_error),
4103         (gst_message_new_warning), (gst_message_new_tag),
4104         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4105         (gst_message_new_new_clock), (gst_message_new_segment_start),
4106         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4107         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4108         * gst/gstmessage.h:
4109         Clean up.
4110         Added clock related messages.
4111
4112         * gst/gstpipeline.c: (gst_pipeline_change_state):
4113         Post message when the clock changed.
4114
4115         * tools/gst-launch.c: (event_loop):
4116         Print new clock.
4117
4118 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4119
4120         * tools/gst-inspect.c: (print_element_properties_info):
4121           Can't pass NULL strings to g_print() on windows.
4122
4123 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4124
4125         * docs/Makefile.am:
4126         * docs/gst/Makefile.am:
4127         * docs/gst/gstreamer-docs.sgml:
4128         * docs/gst/running.xml:
4129         * docs/version.entities.in:
4130           add a chapter on running GStreamer.
4131           document GST_DEBUG and GST_PLUGIN* env vars
4132
4133 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4134
4135         * Makefile.am:
4136           remove include dir
4137         * configure.ac:
4138           remove PLUGINS_BUILDDIR stuff
4139         * gst/gst.c: (init_post):
4140           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4141         * idiottest.mak:
4142           remove, it was condescending and not needed
4143
4144 2005-10-08  Wim Taymans  <wim@fluendo.com>
4145
4146         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4147         (gst_base_sink_handle_object), (gst_base_sink_event),
4148         (gst_base_sink_wait), (gst_base_sink_handle_event),
4149         (gst_base_sink_change_state):
4150         * gst/base/gstbasesink.h:
4151         Repost EOS message while going to PLAYING if still EOS.
4152         Make sure that when receiving a FLUSH_START we don't attempt
4153         to sync on the clock anymore.
4154
4155 2005-10-08  Wim Taymans  <wim@fluendo.com>
4156
4157         * tools/gst-launch.c: (event_loop):
4158         Better message printout.
4159
4160 2005-10-08  Wim Taymans  <wim@fluendo.com>
4161
4162         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4163         (gst_bin_child_proxy_get_children_count):
4164         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4165         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4166         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4167         (gst_child_proxy_set_valist):
4168         * gst/parse/grammar.y:
4169         Make ChildProxy threadsafe and fix mem leaks.
4170
4171 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4172
4173         * gst/gst.c: (init_post):
4174           debug the GST_PLUGIN_ env vars
4175
4176 2005-10-08  Wim Taymans  <wim@fluendo.com>
4177
4178         * check/gst/gstbin.c: (GST_START_TEST):
4179         * check/gst/gstmessage.c: (GST_START_TEST):
4180         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4181         * gst/gstelement.c: (gst_element_commit_state),
4182         (gst_element_lost_state):
4183         * gst/gstmessage.c: (gst_message_new_state_changed),
4184         (gst_message_parse_state_changed):
4185         * gst/gstmessage.h:
4186         * tools/gst-launch.c: (event_loop):
4187         Added extra field to STATE_CHANGE message with the pending
4188         state, which will be different from the new state soon.
4189
4190 2005-10-08  Wim Taymans  <wim@fluendo.com>
4191
4192         * gst/gstbus.c: (gst_bus_pop):
4193         * gst/gstclock.c:
4194         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4195         Small cleanups and doc updates.
4196
4197 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4198
4199         * gst/gst.c: (init_pre):
4200         * gst/gstbin.c: (gst_bin_add_func):
4201           log distributing clocks and base time
4202         * gst/gstregistry.c: (gst_registry_add_plugin),
4203         (gst_registry_scan_path_level), (gst_registry_scan_path):
4204           clean up the debugging output a little
4205         * gst/gstutils.c: (gst_element_state_get_name):
4206           warn about a memleak (I've actually seen this be used, though
4207           it was probably a bug)
4208
4209 2005-10-07  Wim Taymans  <wim@fluendo.com>
4210
4211         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4212         (gst_base_src_init), (gst_base_src_default_newsegment),
4213         (gst_base_src_newsegment), (gst_base_src_do_seek),
4214         (gst_base_src_loop), (gst_base_src_start):
4215         * gst/base/gstbasesrc.h:
4216         Make the newsegment event customizable by subclasses.
4217
4218 2005-10-07  Wim Taymans  <wim@fluendo.com>
4219
4220         * gst/gstevent.c: (gst_event_new_buffersize),
4221         (gst_event_parse_buffersize):
4222         * gst/gstevent.h:
4223         New event for future idea.
4224
4225 2005-10-07  Andy Wingo  <wingo@pobox.com>
4226
4227         * gst/gstelement.c (gst_element_post_message): Doc update.
4228
4229         * docs/gst/gstreamer-sections.txt: Update.
4230
4231         * gst/gstmessage.c (gst_message_new_application): Made into a
4232         function like honest API calls.
4233         (gst_message_new_element): New message type.
4234
4235         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4236
4237         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4238         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4239         times.
4240
4241         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4242         NO_PREROLL from gst_element_change_state to fall through.
4243
4244 2005-10-07  Wim Taymans  <wim@fluendo.com>
4245
4246         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4247         (gst_ghost_pad_do_activate_push):
4248         Activating a ghostpad with no internal pad in push mode
4249         is ok.
4250
4251 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4252
4253         * gst/gstobject.h:
4254           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4255           Fixes compilation on Windows.
4256
4257 2005-10-07  Michael Smith <msmith@fluendo.com>
4258
4259         * tools/gst-inspect.c:
4260           Print out feature and plugin count at the end when printing out
4261           all features.
4262
4263 2005-10-04  Michael Smith <msmith@fluendo.com>
4264
4265         * gst/gsterror.c: (_gst_stream_errors_init):
4266           Add another error string used in a few existing plugins.
4267
4268         * gst/gstplugin.c:
4269         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4270         * tools/gst-inspect.c: (print_element_info):
4271           When a feature disappears from a plugin (and the feature exists in
4272           the cached registry file), things went horribly wrong. This isn't a
4273           complete fix, we should actually be removing the 'missing' features
4274           from the features list when we load the actual plugin. That's not
4275           yet implemented. 
4276
4277 2005-10-04  Johan Dahlin  <johan@gnome.org>
4278
4279         * check/gst/gstiterator.c: (GST_START_TEST):
4280         * gst/gstbin.c: (gst_bin_iterate_elements),
4281         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4282         * gst/gstelement.c: (gst_element_iterate_pads):
4283         * gst/gstformat.c: (gst_format_iterate_definitions):
4284         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4285         (gst_iterator_new_list), (gst_iterator_filter):
4286         * gst/gstiterator.h:
4287         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4288         Add a GType to GstIterator, update callsites and tests.
4289
4290 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4291
4292         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4293           give events a chance to be handled by event probes when the pad
4294           is not linked
4295
4296 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4297
4298         * gst/gstevent.c: (gst_event_type_get_name),
4299         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4300         * gst/gstevent.h:
4301           add string representations for event types
4302
4303 2005-10-06  Wim Taymans  <wim@fluendo.com>
4304
4305         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4306         Don't use NULL pointers.
4307
4308 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4309
4310         * gst/gst_private.h:
4311         * gst/gstbus.c:
4312         * gst/gstelement.c:
4313         * gst/gstinfo.c:
4314         * gst/gstpluginfeature.c:
4315           widen the debug category in output to fit the biggest one we have
4316           add a bus category and use it
4317           play with the colors
4318           fix up some categories
4319
4320 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4321
4322         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4323           add push activation of sink ghost pads.
4324           Andye, please verify
4325
4326 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4327
4328         * gst/gstutils.c: (gst_element_link_pads):
4329           fix a bug in the case where neither element has a pad
4330         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4331           add a test for that case
4332
4333 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4334
4335         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4336           emit have-data before checking for peers.  This allows
4337           for probe handlers to connect elements.  This helps autopluggers.
4338         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4339         (gst_pad_suite):
4340           add six checks, linked/unlinked with no/true/false probe
4341
4342 2005-10-04  Wim Taymans  <wim@fluendo.com>
4343
4344         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4345         (gst_fake_sink_event), (gst_fake_sink_preroll),
4346         (gst_fake_sink_render), (gst_fake_sink_change_state):
4347         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4348         (gst_fake_src_get_property), (gst_fake_src_create),
4349         (gst_fake_src_stop):
4350         * gst/elements/gstidentity.c: (gst_identity_stop):
4351         Protect last_message with lock.
4352
4353 2005-10-04  Edward Hervey  <edward@fluendo.com>
4354
4355         * gst/gstformat.h: 
4356         Added precision in the comments for GST_FORMAT_DEFAULT
4357
4358 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4359
4360         * tools/gst-launch.c: (main):
4361           Don't try to run erroneous pipelines.
4362
4363 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4364
4365         * gst/gstbus.c: We don't need this header.
4366
4367 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4368
4369         * configure.ac:
4370           back to development
4371
4372 === release 0.9.3 ===
4373
4374 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4375
4376         * README:
4377         * configure.ac:
4378           Releasing 0.9.3, "Unregistered"
4379
4380 2005-10-03  Andy Wingo  <wingo@pobox.com>
4381
4382         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4383         whereby calling a pad's activatepush() function can start a thread
4384         that starts to push or pull before the pad gets the FLUSHING flag
4385         unset. Hack around it by holding the stream lock until the flag is
4386         set. Need to replace this with a proper solution. Together with
4387         the ghost pad fixes, this fixes mp3 playing/tagreading.
4388
4389         * docs/design/part-gstghostpad.txt: Add a note about activation of
4390         proxy pads outside of ghost pads.
4391
4392         * gst/gstghostpad.c: Implement the ghost pad activation design.
4393
4394 2005-10-02  Andy Wingo  <wingo@pobox.com>
4395
4396         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4397         It is volatile, after all.
4398
4399         * docs/design/part-gstghostpad.txt: Flesh out activation with
4400         ghost pads.
4401
4402         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4403         GST_DEBUG_FUNCPTR.
4404
4405 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4406
4407         * configure.ac:
4408           Fix (unused) AM_CONDITIONAL tests.
4409
4410 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4411
4412         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4413
4414         * gst/gstutils.c: (gst_pad_query_convert):
4415           Add assertion that makes sure src_val is >=0, just like
4416           gst_query_new_convert() has. (#315895)
4417
4418 2005-09-30  Edward Hervey  <edward@fluendo.com>
4419
4420         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4421         Let's not iterate pads we're not interested in, it avoids getting 
4422         sky-high refcounts on sinkpad.
4423
4424 2005-09-30  Wim Taymans  <wim@fluendo.com>
4425
4426         * gst/gstelement.c: (gst_element_set_state),
4427         (gst_element_change_state):
4428         Small tweak, element in ASYNC remains ASYNC.
4429
4430 2005-09-30  Wim Taymans  <wim@fluendo.com>
4431
4432         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4433         Only error is an error.
4434
4435         * gst/gstbin.c: (gst_bin_change_state):
4436         Better debugging.
4437
4438         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4439         Also call pad_block in pad alloc.
4440
4441         * gst/gstutils.c: (gst_flow_get_name):
4442         Better debugging.
4443
4444 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4445
4446         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4447         (gst_base_src_get_range):
4448           Fix documentation typos. Add some more debug info.
4449
4450 2005-09-29  David Schleef  <ds@schleef.org>
4451
4452         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4453           more end-user friendly.
4454         * tools/gst-inspect.c: (main): Check if command-line argument is
4455           a file and attempt to load that file as a plugin.
4456
4457 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4458
4459         * check/gst/gstbin.c:
4460         * check/states/sinks.c:
4461           fix tests for the new warning
4462         * check/gst/gstpipeline.c:
4463           add a test for pipeline and bus interaction
4464         * gst/gstelement.c:
4465           elements should be NULL if they get disposed; add a warning if not
4466
4467 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4468
4469         * gst/gstobject.c:
4470           for 2.6 refcounting, make debug log more correct by printing
4471           the actual refcounts at the time of swap (Wim)
4472
4473 2005-09-29  Andy Wingo  <wingo@pobox.com>
4474
4475         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4476         removes signal watches previously added via
4477         gst_bus_add_signal_watch.
4478         (gst_bus_add_signal_watch): Don't return the source id, just store
4479         it on the bus if there wasn't an id already.
4480
4481         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4482         add_signal_watch and remove_signal_watch.
4483
4484 2005-09-29  Edward Hervey  <edward@fluendo.com>
4485
4486         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4487         Better if we actually iterate the list :)
4488
4489 2005-09-29  Wim Taymans  <wim@fluendo.com>
4490
4491         * check/gst/gstbin.c: (GST_START_TEST):
4492         Change for new bus API.
4493
4494         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4495         (send_messages), (GST_START_TEST), (gstbus_suite):
4496         Change for new bus signal API.
4497
4498         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4499         (gst_bus_source_prepare), (gst_bus_source_check),
4500         (gst_bus_create_watch), (gst_bus_add_watch_full),
4501         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4502         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4503         * gst/gstbus.h:
4504         Remove support for multiple GSources operating on different
4505         message types as it is too complex and unneeded when using
4506         signals.
4507         Added support for receiving signals from the bus.
4508
4509 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4510
4511         * docs/libs/tmpl/gstdataprotocol.sgml:
4512         * docs/manual/advanced-dataaccess.xml:
4513         * gst/elements/gstcapsfilter.c:
4514         * gst/gstutils.c:
4515           rename filter-caps to caps property
4516
4517 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4518
4519         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4520           More robust fraction string parsing.
4521
4522         * docs/pwg/appendix-porting.xml:
4523           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4524
4525 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4526
4527         * gst/gstcaps.c: (gst_caps_do_simplify):
4528           Thou shalt not free a structure and then continue using it
4529           in the next loop iteration.
4530
4531         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4532         (gst_caps_suite):
4533           Add test case for caps simplification.
4534
4535 2005-09-29  Wim Taymans  <wim@fluendo.com>
4536
4537         * check/gst/gstbin.c: (GST_START_TEST):
4538         Oops.
4539
4540 2005-09-29  Wim Taymans  <wim@fluendo.com>
4541
4542         * check/gst/gstbin.c: (GST_START_TEST):
4543         Add bus to bin.
4544
4545         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4546         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4547         (find_element), (gst_bin_sort_iterator_next),
4548         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4549         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4550         (gst_bin_change_state), (gst_bin_dispose):
4551         A bin does not have a bus, it gets the bus from the parent.
4552
4553         * gst/gstelement.c: (gst_element_requires_clock),
4554         (gst_element_provides_clock), (gst_element_is_indexable),
4555         (gst_element_is_locked_state), (gst_element_change_state),
4556         (gst_element_set_bus_func):
4557         Small cleanups.
4558
4559         * gst/gstpipeline.c: (gst_pipeline_class_init),
4560         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4561         The pipeline provides a bus.
4562
4563 2005-09-28  Johan Dahlin  <johan@gnome.org>
4564
4565         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4566         gst_structure_get_enum instead of gst_structure_get_int
4567
4568         * gst/gststructure.c (gst_structure_get_enum): Impl.
4569
4570         * gst/gststructure.h (gst_structure_get_enum): Add
4571
4572         * docs/gst/gstreamer-sections.txt: Ditto
4573
4574         * gst/gstmessage.c (gst_message_new_state_changed): Use
4575         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4576         which does introspection.
4577         Reviewed by Christian Schaller
4578
4579 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4580
4581         * gst/gstinfo.c: (gst_debug_log_default):
4582           don't do dummy g_strdup()s
4583         * libs/gst/controller/gstcontroller.c:
4584         (on_object_controlled_property_changed),
4585         (gst_controlled_property_new), (gst_controller_new_valist),
4586         (gst_controller_new_list),
4587         (gst_controller_remove_properties_valist), (gst_controller_set),
4588         (gst_controller_get), (gst_controller_sync_values),
4589         (gst_controller_get_value_array), (_gst_controller_class_init),
4590         (gst_controller_get_type):
4591         * libs/gst/controller/gstcontroller.h:
4592         * libs/gst/controller/gstinterpolation.c:
4593         (gst_controlled_property_find_timed_value_node):
4594           convert // to /**/ comments
4595
4596 2005-09-28  Wim Taymans  <wim@fluendo.com>
4597
4598         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4599         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4600         (gst_bus_sync_signal_handler):
4601         * gst/gstbus.h:
4602         Added async-message and sync-message signals to the bus.
4603         Added helper BusFunc to emit signals for all posted messages.
4604
4605         * gst/gstmessage.c: (gst_message_type_get_name),
4606         (gst_message_type_to_quark), (gst_message_get_type):
4607         * gst/gstmessage.h:
4608         Register quarks for message names.
4609
4610 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4611
4612         * docs/libs/gstreamer-libs-sections.txt:
4613         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4614         (gst_controller_new_list):
4615         * libs/gst/controller/gstcontroller.h:
4616           added another constructor for language bindings
4617
4618 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4619
4620         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4621           add another check
4622         * gst/gstbus.c:
4623           add some doc
4624         * gst/gstinfo.c: (_gst_debug_init):
4625           slightly more readable color for refcount debugging
4626
4627 2005-09-28  Wim Taymans  <wim@fluendo.com>
4628
4629         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4630         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4631         (find_element), (gst_bin_sort_iterator_next),
4632         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4633         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4634         (gst_bin_change_state), (gst_bin_dispose):
4635         Small doc fixes. get_clock -> provide_clock.
4636
4637         * gst/gstelement.c: (gst_element_class_init),
4638         (gst_element_provides_clock), (gst_element_provide_clock),
4639         (gst_element_get_clock), (gst_element_commit_state),
4640         (gst_element_lost_state):
4641         * gst/gstelement.h:
4642         Make get/set_clock() symetric. Add provide_clock vmethod since
4643         that is actually what this function does.
4644
4645         * gst/gstpipeline.c: (gst_pipeline_class_init),
4646         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4647         (gst_pipeline_get_clock):
4648         get_clock -> provide_clock.
4649
4650 2005-09-28  Andy Wingo  <wingo@pobox.com>
4651
4652         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4653         lieu of real docs...
4654
4655         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4656
4657 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4658
4659         * gst/elements/gstcapsfilter.c:
4660         * gst/elements/gstfakesink.c:
4661         * gst/elements/gstfakesrc.c:
4662         * gst/elements/gstfdsink.c:
4663         * gst/elements/gstfdsrc.c:
4664         * gst/elements/gstfilesink.c:
4665         * gst/elements/gstfilesrc.c:
4666         * gst/elements/gstidentity.c:
4667         * gst/elements/gsttee.c:
4668         * gst/elements/gsttypefindelement.c:
4669           Make element details static.
4670
4671 2005-09-28  Wim Taymans  <wim@fluendo.com>
4672
4673         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4674         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4675         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4676         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4677         (gst_bin_change_state), (gst_bin_dispose):
4678         Some documentation updates.
4679         Clean up dispose handlers.
4680
4681         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4682         * gst/gstpad.c: (gst_pad_dispose):
4683         Clean up dispose handler.
4684
4685         * gst/gstpipeline.c: (gst_pipeline_change_state):
4686         Removed spurious UNLOCK.
4687
4688 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4689
4690         * docs/gst/gstreamer-sections.txt:
4691         * gst/base/gstbasesrc.h:
4692         * gst/gstelement.h:
4693         * gst/gstevent.h:
4694         * gst/gstobject.h:
4695         * gst/gstpad.h:
4696         * gst/gstpipeline.c:
4697         * gst/gstpipeline.h:
4698         * gst/gstutils.h:
4699         * gst/gstxml.h:
4700           added two new functions to the docs
4701                 documents all undocumented GstXXXFlags
4702                 completed some incomplete docs 
4703
4704 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4705
4706         * gst/gstbin.c: (gst_bin_dispose):
4707         * gst/gstelement.c: (gst_element_dispose):
4708           remove now useless and leaky resurrection code in dispose
4709         * gst/base/gstbasesrc.c: (gst_base_src_init):
4710         * gst/gstelementfactory.c: (gst_element_factory_create):
4711         * gst/gstobject.c: (gst_object_set_parent):
4712           add some debugging
4713
4714 2005-09-27  Wim Taymans  <wim@fluendo.com>
4715
4716         * docs/design/part-TODO.txt:
4717         Update TODO.
4718
4719         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4720         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4721         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4722         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4723         (gst_bin_change_state):
4724         * gst/gstelement.h:
4725         Remove element variable, we keep element info in the iterator now.
4726
4727 2005-09-27  Andy Wingo  <wingo@pobox.com>
4728
4729         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4730         values.
4731
4732 2005-09-27  Wim Taymans  <wim@fluendo.com>
4733
4734         * check/gst/gstbin.c: (GST_START_TEST):
4735         Enable check that works now.
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/gstbin.h:
4743         Redid the state change algorithm using a topological sort algo.
4744         Handles all cases correctly.
4745         Exposed iterator for state change order.
4746
4747         * gst/gstelement.h:
4748         Temp storage for state changes. Need to get rid of this soon.
4749
4750 2005-09-27  Wim Taymans  <wim@fluendo.com>
4751
4752         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4753         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4754         (link_fold_func), (gst_pad_proxy_setcaps):
4755         Leak fixes, the fold functions need to unref the passed object and
4756         _get_parent_*() returns ref to parent.
4757
4758 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4759
4760         * check/gst/gstbuffer.c: (test_make_writable):
4761           Plug leak in test case and fix 'make check-valgrind'
4762
4763 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4764
4765         * gst/gstbuffer.c: (gst_subbuffer_init):
4766           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4767           works correctly in all circumstances (we could have just copied
4768           the parent buffer's readonly flag, but conceptually it seems
4769           cleaner to mark all subbuffers as read-only). (based on patch
4770           by Alessandro Decina, #314710).
4771         
4772         * check/gst/gstbuffer.c: (create_read_only_buffer),
4773         (test_make_writable), (test_subbuffer_make_writable),
4774         (gst_test_suite):
4775           Add some tests for gst_buffer_make_writable().
4776
4777 2005-09-27  Wim Taymans  <wim@fluendo.com>
4778
4779         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4780         use gst_object_has_ancestor().
4781
4782         * gst/gstobject.c: (gst_object_has_ancestor):
4783         * gst/gstobject.h:
4784         gst_object_has_ancestor() copied from gstbin.c as it is a
4785         usefull function.
4786
4787         * tests/instantiate/create.c: (create_all_elements):
4788         * tests/lat.c: (handoff_src), (handoff_sink):
4789         * tests/sched/runxml.c: (main):
4790         * tests/seeking/seeking1.c: (main):
4791         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4792         (main):
4793         Fix compilation of some tests.
4794
4795 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4796
4797         * gst/gsterror.h:
4798           Remove comment. GST_TYPE_G_ERROR is here to stay,
4799           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4800           (#316961, #300610).
4801
4802 2005-09-26  Wim Taymans  <wim@fluendo.com>
4803
4804         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4805         Added check that shows error in state change order.
4806
4807 2005-09-26  Wim Taymans  <wim@fluendo.com>
4808
4809         * gst/gstbin.c: (gst_bin_change_state):
4810         Make state change function use 3 queues again, we were
4811         adding elements in the wrong order.
4812
4813         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4814         Some debug info,
4815
4816         * gst/gstpad.c: (gst_pad_dispose):
4817         Added some debug info first.
4818
4819 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4820
4821         * docs/design/draft-push-pull.txt:
4822         * docs/design/part-events.txt:
4823         * docs/design/part-overview.txt:
4824         * docs/design/part-scheduling.txt:
4825           Replace all _pull_region() with _pull_range()
4826           
4827 2005-09-26  Andy Wingo  <wingo@pobox.com>
4828
4829         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4830
4831         * check/gst-libs/controller.c: Update for controller api change.
4832
4833         * configure.ac: 
4834         * tests/Makefile.am:
4835         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4836         over by GLib bug 118439.
4837         
4838         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4839         routines to a function.
4840
4841         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4842
4843         * libs/gst/controller/gsthelper.c:
4844         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4845         (gst_object_sync_values): Renamed from sink_values. Ugh.
4846
4847         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4848
4849         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4850         Renamed from controller_key, as it is exported.
4851
4852         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4853
4854 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4855
4856         * gst/Makefile.am:
4857         * gst/gst.h:
4858         * gst/gstpad.h:
4859         * gst/gstpadtemplate.h:
4860         * gst/gstquery.c:
4861         * gst/gstquery.h:
4862         * gst/gstqueryutils.c:
4863         * gst/gstqueryutils.h:
4864           remove queryutils headers after moving the two used functions
4865           to gstquery.  also fixes build problem for gstsiddec
4866
4867 2005-09-26  Michael Smith <msmith@fluendo.com>
4868
4869         * tools/gst-launch.1.in:
4870         Correct documentation in manpage of debug syntax
4871
4872 2005-09-26  Wim Taymans  <wim@fluendo.com>
4873
4874         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4875         (gst_base_src_is_seekable), (gst_base_src_change_state):
4876         Some more debugging info.
4877
4878 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4879
4880         * docs/gst/gstreamer-sections.txt:
4881         * gst/base/gstbasetransform.h:
4882         * gst/gstindex.h:
4883           added more docs
4884
4885 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4886
4887         * docs/gst/.cvsignore:
4888         * docs/gst/tmpl/.cvsignore:
4889         * docs/gst/tmpl/gstpipeline.sgml:
4890         * docs/gst/tmpl/gstplugin.sgml:
4891         * gst/gstpipeline.c:
4892         * gst/gstplugin.c:
4893         * gst/gstplugin.h:
4894           inlined the last two docs files
4895           removed the tmpl directory from cvs (no more conflicts here!)
4896
4897 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4898
4899         * docs/gst/gstreamer-sections.txt:
4900         * docs/gst/tmpl/.cvsignore:
4901         * docs/gst/tmpl/gstpad.sgml:
4902         * docs/gst/tmpl/gstpadtemplate.sgml:
4903         * gst/Makefile.am:
4904         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4905         (gst_pad_finalize), (gst_pad_set_pad_template):
4906         * gst/gstpad.h:
4907         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4908         (gst_pad_template_class_init), (gst_pad_template_init),
4909         (gst_pad_template_dispose), (name_is_valid),
4910         (gst_static_pad_template_get), (gst_pad_template_new),
4911         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4912         (gst_pad_template_pad_created):
4913         * gst/gstpadtemplate.h:
4914           inlined two more docs
4915           factored gstpadtemplate out of gstpad
4916
4917 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4918
4919         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4920         (test_children_state_change_order_semi_sink):
4921           Fix test case: we can't rely on a fixed state change order when
4922           going from READY => PAUSED because the sink might commit its 
4923           new state first when the first buffer created by the source 
4924           reaches the sink before the source has finished its change state.
4925           (Test case still fails at times, see #316856, comment 5 onwards)
4926
4927 2005-09-24  Wim Taymans  <wim@fluendo.com>
4928
4929         * docs/design/part-events.txt:
4930         * docs/design/part-gstbus.txt:
4931         * docs/design/part-gstpipeline.txt:
4932         * docs/design/part-messages.txt:
4933         * docs/design/part-overview.txt:
4934         * docs/design/part-segments.txt:
4935         * gst/gstbin.c:
4936         * gst/gstbuffer.c:
4937         * gst/gstclock.c:
4938         * gst/gstelement.c:
4939         * gst/gstevent.c:
4940         * gst/gstfilter.c:
4941         * gst/gstiterator.c:
4942         Various documentation updates.
4943
4944 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4945
4946         * gst/gstclock.h:
4947           Well, that's embarassing.  Luckily we weren't using
4948           GST_CLOCK_DIFF anywhere.
4949
4950 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4951
4952         * common/gtk-doc.mak:
4953           don't fail on building XML, FC4 slave shows a bunch of doc
4954           missing bits that I don't get
4955         * gst/gstpad.c:
4956         * gst/gstpipeline.c:
4957         * gst/gststructure.c:
4958           some doc updates
4959
4960 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4961
4962         * docs/design/part-gstbin.txt:
4963         * docs/design/part-gstbus.txt:
4964         * gst/gstbus.c:
4965           Add blurb about how the bus goes into flushing mode and
4966           drops all messages when its bin goes from READY into NULL 
4967           state.
4968
4969 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4970
4971         * docs/gst/gstreamer-sections.txt:
4972         * gst/gststructure.c: (gst_structure_get_clock_time):
4973         * gst/gststructure.h:
4974           add a method to get a GstClockTime out of a structure
4975
4976 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4977
4978         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4979         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4980           Added test to check state change order in bins (can still be made
4981           to fail here under heavy disk load; bails out with 'Push on pad
4982           fakesink:sink0, but it was not activated in push mode').
4983
4984         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4985           Fix state change order when there is only a semi sink (#316856)
4986
4987         * gst/gstbus.c: (gst_bus_class_init):
4988           Use _class_peek_parent(), not _class_ref(); fix docs to say
4989           'default main context' instead of 'mainloop' where that is
4990           what's meant.
4991
4992         * gst/gstelement.c: (gst_element_commit_state),
4993         (gst_element_set_state):
4994           Fix typos in debug messages
4995
4996 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4997
4998         * docs/README:
4999         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5000         * gst/gstpluginfeature.c:
5001         * gst/gstutils.c:
5002           various doc updates
5003         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5004           change an assert into an error until it gets fixed properly
5005
5006 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5007
5008         * docs/gst/gstreamer-sections.txt:
5009         * docs/gst/tmpl/.cvsignore:
5010         * docs/gst/tmpl/gstelement.sgml:
5011         * docs/gst/tmpl/gstinfo.sgml:
5012         * docs/gst/tmpl/gstobject.sgml:
5013         * gst/gstelement.c:
5014         * gst/gstelement.h:
5015         * gst/gstinfo.c:
5016         * gst/gstinfo.h:
5017         * gst/gstobject.c: (gst_object_class_init):
5018         * gst/gstobject.h:
5019           inlined 3 more biiiig doc files and added some missing docs on the fly
5020
5021 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5022
5023         * check/gst/.cvsignore:
5024         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5025         * gst/gstregistryxml.c: (load_plugin),
5026         (gst_registry_xml_save_plugin):
5027           put back source in registry.  add checks for find_plugin.
5028         * testsuite/states/bin.c: (assert_state), (empty_bin),
5029         (test_adding_one_element), (main):
5030         * testsuite/states/locked.c: (main):
5031           some compile/run fixes
5032
5033 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5034
5035         * check/gst/gstvalue.c: (GST_START_TEST):
5036           fix leaks in the test itself
5037
5038 2005-09-22  Wim Taymans  <wim@fluendo.com>
5039
5040         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5041         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5042         (gst_base_sink_query):
5043         Prepare for more accurate position reporting and query
5044         handling.
5045
5046         * gst/gstelement.c: (gst_element_send_event),
5047         (gst_element_set_state):
5048         Add some comment.
5049
5050 2005-09-22  Wim Taymans  <wim@fluendo.com>
5051
5052         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5053         (gst_query_parse_segment):
5054         * gst/gstquery.h:
5055         More documentation.
5056         Add segment query for future use.
5057
5058 2005-09-22  Wim Taymans  <wim@fluendo.com>
5059
5060         * gst/gstbin.c: (gst_bin_add_func):
5061         Some more debug info.
5062
5063         * gst/gstelement.c: (gst_element_send_event):
5064         Simplify send_event
5065
5066         * gst/gstelement.h:
5067         Don't know how flags got broken.
5068
5069         * gst/gstquery.h:
5070         Added new query.
5071
5072 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5073
5074         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5075           Add simplistic test suite for GST_TYPE_DATE serialisation and
5076           deserialisation.
5077
5078 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5079
5080         * docs/gst/gstreamer-sections.txt:
5081         * gst/gststructure.c: (gst_structure_set_valist),
5082         (gst_structure_get_date):
5083         * gst/gststructure.h:
5084         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5085         (gst_date_copy), (gst_value_compare_date),
5086         (gst_value_serialize_date), (gst_value_deserialize_date),
5087         (gst_value_transform_date_string),
5088         (gst_value_transform_string_date), (_gst_value_initialize):
5089         * gst/gstvalue.h:
5090           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5091           bunch of utility functions along with a hack that checks that
5092           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5093           is required. Part of the grand scheme in #170777.
5094
5095 2005-09-22  Andy Wingo  <wingo@pobox.com>
5096
5097         * gst/gstconfig.h.in: Psych out gtk-doc.
5098
5099         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5100
5101         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5102
5103         * tools/gst-inspect.c (print_element_list): Plug some
5104         inconsequential leaks.
5105
5106         * gst/gstregistry.c (gst_registry_get_default): Doc.
5107
5108         * check/gst/gstplugin.c: 
5109         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5110         * gst/gstelementfactory.c (gst_element_factory_create): 
5111         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5112         refcount changes.
5113
5114         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5115         (gst_plugin_feature_load): Doc, don't eat refs.
5116
5117         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5118         (gst_plugin_list_free): Doc.
5119         (gst_plugin_load_file): Doc updates.
5120
5121         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5122         accessors returning refcounted objects, return a ref.
5123
5124         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5125         accessor for caps. IDEMPOTENCE. Oh yes.
5126
5127 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5128
5129         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5130
5131         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5132         (_gst_debug_register_funcptr):
5133           Add mutex to serialise access to the hash table with
5134           the function pointer => function name string mapping;
5135           make that hash table static scope (#316809).
5136
5137         * gst/registries/.cvsignore:
5138           Remove left-over file.
5139
5140 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5141
5142         * docs/pwg/appendix-porting.xml:
5143           And something about newsegment events and caps-on-buffers to
5144           the porting guide (feel free to improve).
5145
5146 2005-09-21  Andy Wingo  <wingo@pobox.com>
5147
5148         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5149         data and event probes on the same pad.
5150         (test_buffer_probe_once): Test that removing probes from within
5151         the probe functions works.
5152
5153 2005-09-21  Andy Wingo  <wingo@pobox.com>
5154
5155         * check/gst/gstutils.c: New file.
5156         (test_buffer_probe_n_times): A simple buffer probe test. More to
5157         come, foolios.
5158
5159         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5160         have-data::buffer, not have-data.
5161         (gst_pad_add_event_probe): Likewise for have-data::event.
5162         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5163         peer' isn't quite right yet though.
5164         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5165         (gst_pad_remove_data_probe): Change to take the guint handler_id
5166         as their arg, not the function+data, which is more glib-like.
5167
5168         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5169         the signal emission to indicate if the data is a buffer or an
5170         event.
5171         (gst_pad_get_type): Initialize buffer and event quarks.
5172         (gst_pad_class_init): have-data is now a detailed signal, yes it
5173         is.
5174
5175 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5176
5177         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5178         * gst/gstutils.c: (gst_util_set_value_from_string),
5179         (gst_util_set_object_arg):
5180           Don't put functional code in g_return_if_fail() or
5181           g_return_val_if_fail() statements, otherwise things will 
5182           break when G_DISABLE_CHECKS is defined during compilation.
5183
5184 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5185
5186         * docs/gst/tmpl/.cvsignore:
5187         * docs/gst/tmpl/gstvalue.sgml:
5188         * gst/gstvalue.c:
5189         * gst/gstvalue.h:
5190           inlied another one and added  some obvious docs
5191
5192 2005-09-21  Wim Taymans  <wim@fluendo.com>
5193
5194         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5195         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5196         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5197         (gst_fdsrc_get_property), (gst_fdsrc_create):
5198         * gst/elements/gstfdsrc.h:
5199         Properly implement fdsrc. Removed signal and timeout,
5200         better implemented somewhere else.
5201
5202 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5203
5204         * docs/gst/tmpl/.cvsignore:
5205         * docs/gst/tmpl/gstimplementsinterface.sgml:
5206         * gst/gstinterface.c:
5207           inlined more docs
5208
5209 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5210
5211         * docs/gst/gstreamer-sections.txt:
5212         * docs/gst/tmpl/.cvsignore:
5213         * docs/gst/tmpl/gstenumtypes.sgml:
5214           remove obsolete doc file
5215
5216 2005-09-21  David Schleef  <ds@schleef.org>
5217
5218         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5219         little beer, fix a little leak.
5220
5221 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5222
5223         * docs/gst/gstreamer-docs.sgml:
5224         * docs/gst/gstreamer-sections.txt:
5225         * docs/gst/tmpl/.cvsignore:
5226         * gst/Makefile.am:
5227         * gst/gst.h:
5228         * gst/gstbin.c:
5229         * gst/gstelement.h:
5230         * gst/gstindex.c: (gst_index_class_init):
5231         * gst/gstindex.h:
5232         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5233         (gst_index_factory_class_init), (gst_index_factory_init),
5234         (gst_index_factory_finalize), (gst_index_factory_new),
5235         (gst_index_factory_destroy), (gst_index_factory_find),
5236         (gst_index_factory_create), (gst_index_factory_make):
5237         * gst/gstindexfactory.h:
5238         * gst/gstpluginfeature.c:
5239         * gst/gstpluginfeature.h:
5240         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5241           more docs inlined, splitted gstindex.{c,h}
5242
5243 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5244
5245         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5246           fix a leak
5247
5248 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5249
5250         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5251           Set sync to FALSE by default.
5252
5253 2005-09-20  Wim Taymans  <wim@fluendo.com>
5254
5255         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5256         (gst_base_sink_init):
5257         Make sync property settable from subclass.
5258
5259         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5260         (gst_fake_sink_change_state):
5261         Set sync to FALSE by default.
5262
5263 2005-09-20  Wim Taymans  <wim@fluendo.com>
5264
5265         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5266         * tools/gst-launch.c: (main):
5267         The timeout handler should have lower priority than the source
5268         so we don't timeout before popping a message with 0 timeout.
5269         Dump error messages after failed state change.
5270
5271 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5272
5273         * tools/gst-inspect.c: (print_element_properties_info):
5274           Fix two typos.
5275
5276 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5277
5278         * check/gst/gstevent.c:
5279         * gst/elements/gstfakesink.c:
5280         * gst/elements/gstfakesink.h:
5281           remove the sync property from fakesink.
5282           has the side effect of setting sync TRUE
5283           for fakesink, which is a change.  Anyone who knows how
5284           to fix this nicely in a GObject-y way, feel free.
5285
5286 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5287
5288         * docs/gst/gstreamer-docs.sgml:
5289           remove probe refsection
5290
5291 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5292
5293         * check/Makefile.am:
5294           disable valgrinding the controller test again
5295         * docs/gst/gstreamer-sections.txt:
5296           update for api-changes
5297
5298 2005-09-20  Wim Taymans  <wim@fluendo.com>
5299
5300         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5301         (gst_base_sink_set_property), (gst_base_sink_get_property),
5302         (gst_base_sink_do_sync):
5303         * gst/base/gstbasesink.h:
5304         Added sync property to basesink to disable clock sync.
5305
5306 2005-09-20  Andy Wingo  <wingo@pobox.com>
5307
5308         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5309         eating the caller's refcount.
5310
5311         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5312         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5313         refcount.
5314
5315         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5316         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5317         of GLib 2.8 public, so we can know which refcount to check in
5318         tests.
5319
5320         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5321         (gst_object_init): Only set the gst refcount if we're going ahead
5322         with the refcount hack.
5323
5324 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5325
5326         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5327         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5328           more leaks plumbed, added more debug-logging
5329         * gst/gstmacros.h:
5330           whitespace fix
5331
5332 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5333
5334         * gst/gstmessage.c:
5335           remove include of gstmemchunk.h
5336
5337 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5338
5339         * gst/gstclock.c: (_gst_clock_id_free):
5340           Commit from the Political Party For More Atomic CVS Commits,
5341           so that people don't waste too much of their day fishing
5342           out obvious leaks out of massive commits.
5343           Oh, and fix a pretty damn obvious leak in the memchunk
5344           removal code.
5345
5346 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5347
5348         * check/Makefile.am:
5349         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5350           plug mem-leak, re-add to valgrindable tests
5351
5352 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5353
5354         * gst/gstplugin.h:
5355           unbreak the build for those who have chronic arthritis
5356           and typing "make check" is just too taxing on the hands
5357
5358 2005-09-20  Andy Wingo  <wingo@pobox.com>
5359
5360         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5361         really want it out, you should fix plugins at the same time.
5362
5363 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5364
5365         * configure.ac:
5366         * docs/gst/gstreamer-sections.txt:
5367         * gst/gstobject.c:
5368           added missing symbols to api docs
5369           disable ref-count hack if we have glib >= 2.8
5370
5371 2005-09-19  David Schleef  <ds@schleef.org>
5372
5373         * docs/gst/Makefile.am: Ignore a few more internal headers
5374         * docs/gst/gstreamer-docs.sgml: Remove old sections
5375         * docs/gst/gstreamer-sections.txt: Remove old sections
5376         * docs/gst/tmpl/gstobject.sgml: update
5377         * docs/gst/tmpl/gstplugin.sgml: update
5378         * docs/gst/tmpl/gstpluginfeature.sgml: update
5379         * docs/random/ds/0.9-suggested-changes: update.
5380         * gst/Makefile.am: remove memchunk and trashstack, since they're
5381           not used.
5382         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5383         * gst/gst.h: don't include some headers
5384         * gst/gstchildproxy.c: add gstmarshal.h
5385         * gst/gstclock.c: Don't use memchunks
5386         * gst/gstminiobject.c: Add some docs
5387         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5388         * gst/gstobject.h: same
5389         * gst/gstplugin.c: include gstmacros.h
5390         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5391         * gst/gstquery.c: don't use memchunks
5392         * gst/gstregistry.c: rename gst_registry_deinit()
5393         * gst/gstregistry.h: same
5394
5395 2005-09-19  David Schleef  <ds@schleef.org>
5396
5397         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5398         * docs/libs/gstreamer-libs-sections.txt:
5399         * docs/libs/tmpl/gstgetbits.sgml:
5400         * docs/libs/tmpl/gstputbits.sgml:
5401
5402 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5403
5404         * win32/gstenumtypes.c:
5405         * win32/gstenumtypes.h:
5406           Update.
5407
5408 2005-09-19  Wim Taymans  <wim@fluendo.com>
5409
5410         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5411         Automatically PAUSE and RESUME a pipeline when a flushing seek
5412         is performed.
5413
5414 2005-09-19  Andy Wingo  <wingo@pobox.com>
5415
5416         * gst/gstregistry.h: Spacing fixen.
5417
5418 2005-09-19  Wim Taymans  <wim@fluendo.com>
5419
5420         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5421         Handle state change failure more correctly.
5422
5423 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5424
5425         * check/Makefile.am:
5426         * check/pipelines/cleanup.c: (run_pipeline):
5427         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5428         (GST_START_TEST):
5429           enable cleanup again after fixing the leak
5430         * docs/README:
5431           some more info on docs
5432
5433 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5434
5435         * check/Makefile.am:
5436           re-enable tests now that leaks are plugged
5437         * check/gst/gst.c:
5438         * check/gst/gstbin.c:
5439         * check/gst/gstpipeline.c:
5440           add some more tests while fixing leaks
5441         * common/check.mak:
5442           make sure binaries are uptodate when valgrinding/gdbing
5443         * gst/gst.c:
5444         * gst/gstelementfactory.c:
5445           remove a ref too many, and add a FIXME for when we get
5446           round to disposing of classes
5447         * gst/gstplugin.c:
5448           fix the refcounting when loading a plugin from a file and
5449           the code pretends that the pointer is the same even though
5450           of course it can change
5451         * gst/gstpluginfeature.c:
5452           unref plugins marked cached (a bit confusing as a name)
5453           as the docs state should be done
5454           various doc additions to explain refcounting
5455         * gst/gstregistry.c:
5456         * gst/gstregistryxml.c:
5457           debugging
5458
5459 2005-09-19  Wim Taymans  <wim@fluendo.com>
5460
5461         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5462         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5463         (send_messages), (GST_START_TEST), (gstbus_suite):
5464         * check/gst/gstpipeline.c: (GST_START_TEST):
5465         * check/pipelines/cleanup.c: (run_pipeline):
5466         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5467         (GST_START_TEST):
5468         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5469         (gst_bus_source_check), (gst_bus_source_dispatch),
5470         (gst_bus_create_watch), (gst_bus_add_watch_full),
5471         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5472         * gst/gstbus.h:
5473         * tools/gst-launch.c: (event_loop):
5474         * tools/gst-md5sum.c: (event_loop):
5475         GstBusHandler -> GstBusFunc, return value has the same meaning as
5476         any other GSource (FALSE == remove source).
5477         _add_watch() and _add_watch_full() now take a MessageType mask to
5478         only handle specific types of messages.
5479         _poll() returns the GstMessage instead of the message type to avoid
5480         race conditions.
5481         _have_pending() takes a MessageType mask now too.
5482         Added testsuite for multiple bus watches.
5483         Fix testsuites and applications for new bus API.
5484
5485 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5486
5487         * check/Makefile.am:
5488           mark a bunch of the tests as to fix until we fix them
5489
5490 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5491
5492         * common/check.mak:
5493           use GST_PLUGIN settings for valgrind tests as well, so we're
5494           valgrinding the correct thing
5495         * gst/gst.c: (init_post):
5496           plug another leak
5497
5498 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5499
5500         * gst/gst.c: (init_post), (gst_deinit):
5501         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5502         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5503         * gst/gstindex.c: (gst_index_factory_class_init),
5504         (gst_index_factory_finalize):
5505         * gst/gstobject.c: (gst_object_dispose):
5506         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5507         (gst_plugin_load_file), (gst_plugin_desc_free):
5508         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5509         (gst_plugin_feature_finalize):
5510         * gst/gstregistry.c: (gst_registry_class_init),
5511         (gst_registry_init), (gst_registry_finalize),
5512         (gst_registry_get_default), (gst_registry_deinit):
5513         * gst/gstregistry.h:
5514         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5515           various cleanups and memleak plugging.  make valgrind is happy now.
5516
5517 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5518
5519         * common/check.mak:
5520           add a check-valgrind target
5521
5522 2005-09-18  David Schleef  <ds@schleef.org>
5523
5524         * tools/gst-inspect.c: Revert the GOption code.
5525
5526 2005-09-17  David Schleef  <ds@schleef.org>
5527
5528         * check/Makefile.am: Fix environment variables.
5529         * check/gst/gstplugin.c: Fix for API changes.
5530         * tools/gst-inspect.c: Fix for API changes.
5531         * tools/gst-xmlinspect.c: Fix for API changes.
5532         * gst/gstelementfactory.c:
5533         * gst/gstplugin.c:
5534         * gst/gstplugin.h:
5535         * gst/gstpluginfeature.c:
5536         * gst/gstpluginfeature.h:
5537         * gst/gstregistry.c:
5538         * gst/gstregistry.h:
5539         * gst/gstregistryxml.c:
5540         * gst/gsttypefind.c:
5541         * gst/gsttypefindfactory.c:
5542         * gst/indexers/gstfileindex.c:
5543         * gst/indexers/gstmemindex.c:
5544         * gst/schedulers/Makefile.am:
5545           Change registry to keep track of both plugins and features,
5546           removing the feature tracking from plugins themselves.
5547
5548 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5549
5550         * check/Makefile.am:
5551         * tools/gst-register.1.in:
5552           remove gst-register
5553
5554 2005-09-15  David Schleef  <ds@schleef.org>
5555
5556         * check/gst/gstplugin.c:
5557         * gst/gstelementfactory.c:
5558         * gst/gstplugin.c:
5559         * gst/gstpluginfeature.c:
5560         * gst/gstregistry.c:
5561           Getting tired of debugging.  Disabled all the unreffing of
5562           plugins and features, which fixes the segfaults, but of
5563           course leaks like crazy.  At least playbin works.
5564
5565 2005-09-15  David Schleef  <ds@schleef.org>
5566
5567         * check/gst/gstplugin.c: (register_check_elements),
5568         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5569         More testing
5570         * gst/elements/gsttypefindelement.c: Fix refcounting.
5571         * gst/gsttypefind.c:
5572         * gst/gsttypefindfactory.c:
5573         * gst/gsttypefindfactory.h:
5574
5575 2005-09-15  David Schleef  <ds@schleef.org>
5576
5577         * gst/gstindex.c: get refcounting correct.
5578         * gst/gstregistry.c: Handle the case where a feature/plugin is
5579           not found.
5580
5581 2005-09-15  David Schleef  <ds@schleef.org>
5582
5583         * check/Makefile.am:
5584         * check/gst/gstplugin.c: Add test
5585         * gst/gstplugin.c: Fix problems noticed by testsuite
5586         * gst/gstplugin.h:
5587         * gst/gstregistry.c: 
5588         * gst/gstregistry.h:
5589
5590 2005-09-15  David Schleef  <ds@schleef.org>
5591
5592         * gst/gstplugin.c: Implement semi-decent recounting and locking
5593           in plugins and plugin features.
5594         * gst/gstplugin.h:
5595         * gst/gstpluginfeature.c:
5596         * gst/gstpluginfeature.h:
5597         * gst/gstregistry.c:
5598
5599 2005-09-15  Michael Smith <msmith@fluendo.com>
5600
5601         * gst/gstregistry.c: (gst_registry_get_feature_list):
5602           Implement this. Makes oggdemux work; decodebin still broken.
5603
5604 2005-09-14  David Schleef  <ds@schleef.org>
5605
5606         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5607           #316076)
5608         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5609         * gst/check/Makefile.am:
5610         * libs/gst/controller/Makefile.am:
5611         * libs/gst/dataprotocol/Makefile.am:
5612
5613 2005-09-14  David Schleef  <ds@schleef.org>
5614
5615         * configure.ac: Remove getbits library.  Nothing uses it, and
5616           it should be in something like liboil if someone did want
5617           to use it.
5618         * libs/gst/Makefile.am:
5619         * libs/gst/getbits/Makefile.am:
5620         * libs/gst/getbits/gbtest.c:
5621         * libs/gst/getbits/getbits.c:
5622         * libs/gst/getbits/getbits.h:
5623         * libs/gst/getbits/gstgetbits_generic.c:
5624         * libs/gst/getbits/gstgetbits_i386.s:
5625         * libs/gst/getbits/gstgetbits_inl.h:
5626
5627 2005-09-14  David Schleef  <ds@schleef.org>
5628
5629         * gst/Makefile.am: Dist glib-compat.h
5630
5631 2005-09-14  David Schleef  <ds@schleef.org>
5632
5633         * configure.ac: Remove gst/registries, since it's no longer used.
5634         * gst/registries/Makefile.am:
5635         * gst/registries/gstlibxmlregistry.c:
5636         * gst/registries/gstlibxmlregistry.h:
5637         * gst/registries/gstxmlregistry.c:
5638         * gst/registries/gstxmlregistry.h:
5639         * gst/registries/registrytest.c:
5640
5641 2005-09-14  David Schleef  <ds@schleef.org>
5642
5643         * gst/glib-compat.h:
5644         * gst/gstregistryxml.c:
5645           Convergence is near.  Seriously.
5646
5647 2005-09-14  David Schleef  <ds@schleef.org>
5648
5649         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5650         * gst/glib-compat.h:
5651           Attempt #4 to appease the buildbots.
5652
5653 2005-09-14  David Schleef  <ds@schleef.org>
5654
5655         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5656           Attempt #3.
5657
5658 2005-09-14  David Schleef  <ds@schleef.org>
5659
5660         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5661         Attempt #2.
5662
5663 2005-09-14  David Schleef  <ds@schleef.org>
5664
5665         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5666           the new functions.
5667
5668 2005-09-14  David Schleef  <ds@schleef.org>
5669
5670         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5671         * gst/glib-compat.h: Add some functions that are in newer versions
5672           of glib than we care to require.
5673         * gst/gstregistryxml.c: Use them.
5674
5675 2005-09-14  David Schleef  <ds@schleef.org>
5676
5677         * po/POTFILES.in: remove gst-register.c
5678
5679 2005-09-14  David Schleef  <ds@schleef.org>
5680
5681         * docs/gst/gstreamer-docs.sgml:
5682         * docs/gst/gstreamer-sections.txt:
5683         * docs/gst/gstreamer.types:
5684         * docs/gst/tmpl/gstelement.sgml:
5685         * docs/gst/tmpl/gstplugin.sgml:
5686         * docs/gst/tmpl/gstpluginfeature.sgml:
5687           Documentation updates for registry changes.
5688
5689 2005-09-14  David Schleef  <ds@schleef.org>
5690
5691         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5692           because we don't require glib-2.8.
5693
5694 2005-09-14  David Schleef  <ds@schleef.org>
5695
5696         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5697           registries directory.
5698
5699 2005-09-14  David Schleef  <ds@schleef.org>
5700
5701         * check/Makefile.am:
5702         * check/generic/states.c:
5703         * gst/Makefile.am:
5704         * gst/gst.c:
5705         * gst/gst.h:
5706         * gst/gst_private.h:
5707         * gst/gstelementfactory.c:
5708         * gst/gstindex.c:
5709         * gst/gstinfo.c:
5710         * gst/gstplugin.c:
5711         * gst/gstplugin.h:
5712         * gst/gstpluginfeature.c:
5713         * gst/gstpluginfeature.h:
5714         * gst/gstregistry.c:
5715         * gst/gstregistry.h:
5716         * gst/gstregistrypool.c: remove
5717         * gst/gstregistrypool.h: remove
5718         * gst/gsttypefind.c:
5719         * gst/gsttypefindfactory.c:
5720         * gst/gsturi.c:
5721         * tools/Makefile.am:
5722         * tools/gst-compprep.c:
5723         * tools/gst-inspect.c:
5724         * tools/gst-register.c: remove
5725         * tools/gst-xmlinspect.c:
5726           Registry rewrite.  Changes registry from being a file created
5727           by a tool into a simple cache file created automatically by 
5728           libgstreamer.  Removed gst-register (because it's no longer
5729           needed).  Remove registry pools, because we only have one
5730           registry implementation (XML).  Fix up other subsystems as
5731           necessary.
5732
5733 2005-09-13  Michael Smith <msmith@fluendo.com>
5734
5735         * gst/gstconfig.h.in:
5736           Don't Use windows linking attributes for MinGW. Fixes #316157
5737
5738 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5739
5740         * gst/gstutils.c: (set_state_async_thread_func),
5741         (gst_element_set_state_async):
5742           Apparently people think it's better if this function doesn't
5743           try to set the state to whatever state was asked for on the first
5744           call to this function for any object.  Seriously.
5745
5746 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5747
5748         * check/gst/gstpipeline.c: (GST_START_TEST):
5749         * docs/gst/gstreamer-sections.txt:
5750         * gst/gstutils.c: (set_state_async_thread_func),
5751         (gst_element_set_state_async):
5752         * gst/gstutils.h:
5753           add a "gst_element_set_state_async" method that
5754           sets the state and starts a thread to make sure the state
5755           change completes as best as it can
5756
5757 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5758
5759         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5760           codify design+behaviour in testsuite after discussion
5761
5762 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5763
5764         * docs/gst/tmpl/gstelement.sgml:
5765         * docs/manual/appendix-quotes.xml:
5766           add a quote
5767         * gst/gstelement.c: (gst_element_set_state):
5768           add some debug
5769
5770 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5771
5772         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5773         (gst_base_transform_prepare_output_buf),
5774         (gst_base_transform_handle_buffer):
5775         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5776         (gst_capsfilter_prepare_buf):
5777           Remove the requirement for sub-classes to call the parent
5778           implementation of prepare_output_buffer with a wrapper function.
5779           
5780         * gst/gsttaglist.h:
5781         * gst/gsttagsetter.h:
5782           Fix #define wrapper
5783
5784 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5785
5786         * docs/gst/gstreamer-sections.txt:
5787           more doc cleanups
5788
5789 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5790
5791         * docs/gst/gstreamer-sections.txt:
5792         * docs/gst/tmpl/gstelement.sgml:
5793         * docs/gst/tmpl/gstplugin.sgml:
5794         * gst/gstminiobject.c:
5795         * gst/gstvalue.h:
5796           docs now stop throwing warnings
5797
5798 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5799
5800         * docs/gst/gstreamer-sections.txt:
5801         * docs/gst/gstreamer.types:
5802         * docs/gst/tmpl/gstpad.sgml:
5803         * docs/gst/tmpl/gsttypes.sgml:
5804         * gst/base/gstadapter.h:
5805         * gst/base/gstbasesink.h:
5806         * gst/base/gstbasesrc.h:
5807         * gst/gstbin.h:
5808         * gst/gstbuffer.h:
5809         * gst/gstbus.h:
5810         * gst/gstcaps.h:
5811         * gst/gstclock.h:
5812         * gst/gstelement.h:
5813         * gst/gstevent.h:
5814         * gst/gstmessage.h:
5815         * gst/gstpad.h:
5816         * gst/gststructure.c:
5817         * gst/registries/gstlibxmlregistry.h:
5818           various documentation fixes
5819
5820 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5821
5822         * docs/gst/gstreamer-sections.txt:
5823         * docs/gst/tmpl/gstvalue.sgml:
5824           rearrange gstvalue section
5825         * gst/gstutils.c: (gst_element_state_get_name):
5826           NONE -> VOID
5827         * gst/gstvalue.c: (_gst_value_initialize):
5828         * gst/gstvalue.h:
5829           doc updates
5830
5831 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5832
5833         * check/gst-libs/controller.c:
5834           Header include fix.
5835         * gst/base/gstbasetransform.c:
5836         (gst_base_transform_default_prepare_buf),
5837         (gst_base_transform_handle_buffer):
5838         * gst/base/gstbasetransform.h:
5839           Some more basetransform changes and fixes to enable sub-classes
5840           that modify buffer metadata only.
5841         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5842         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5843         (gst_capsfilter_prepare_buf):
5844           If the output pad has fixed allowed caps and input buffers 
5845           don't have any, set the fixed caps on outgoing buffers.
5846
5847 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5848         * check/elements/identity.c: (GST_START_TEST):
5849           Make the error a little clearer when the test fails because
5850           identity made a copy of the buffer.
5851         * docs/gst/gstreamer-sections.txt:
5852           New symbols in gstbasetransform.h
5853         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5854         (gst_base_transform_init), (gst_base_transform_transform_size),
5855         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5856         (gst_base_transform_default_prepare_buf),
5857         (gst_base_transform_get_unit_size),
5858         (gst_base_transform_buffer_alloc),
5859         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5860         (gst_base_transform_change_state),
5861         (gst_base_transform_set_passthrough),
5862         (gst_base_transform_set_in_place),
5863         (gst_base_transform_is_in_place):
5864         * gst/base/gstbasetransform.h:
5865           Change BaseTransform to separate in_place operate from same_caps
5866           output. in_place implies that the element can perform the transform
5867           on incoming buffers in-place, even if the caps on the output are
5868           different.
5869           Sub-class elements can now implement special buffer allocation
5870           methods for outgoing buffers if they wish to.
5871           Big documentation addition.
5872         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5873         * gst/elements/gstelements.c:
5874           Changes for basetransform modifications.
5875         * gst/elements/Makefile.am:
5876         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5877           Compile fix. Extra debug output.
5878
5879 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5880
5881         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5882         (gst_pad_suite):
5883           add tests for valid pad naming
5884         * gst/check/gstcheck.c: (gst_check_log_message_func),
5885         (gst_check_log_critical_func):
5886           add ASSERT_WARNING
5887           remove printing of code, it is fragile when the code contains
5888           % and the line number is enough info
5889         * gst/check/gstcheck.h:
5890         * gst/gstpad.c: (gst_pad_template_new):
5891           fix memleaks
5892
5893 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5894
5895         * configure.ac:
5896           say what CHECK flags we use
5897         * docs/libs/gstreamer-libs.types:
5898         * libs/gst/controller/Makefile.am:
5899         * libs/gst/controller/gst-controller.c:
5900         * libs/gst/controller/gst-controller.h:
5901         * libs/gst/controller/gst-helper.c:
5902         * libs/gst/controller/gst-interpolation.c:
5903         * libs/gst/controller/gstcontroller.c:
5904         * libs/gst/controller/gsthelper.c:
5905         * libs/gst/controller/gstinterpolation.c:
5906         * tools/gst-inspect.c: (print_plugin_info):
5907           we don't use dashes in header names
5908
5909 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5910
5911         * check/Makefile.am:
5912         * check/gst/.cvsignore:
5913         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5914         (gst_pipeline_suite), (main):
5915           adding a test for pipelines and state changes
5916         * gst/gstutils.c: (get_state_func):
5917           add some debugging
5918         * gstreamer.spec.in:
5919           fix up spec file
5920
5921 2005-09-08  Michael Smith <msmith@fluendo.com>
5922
5923         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5924         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5925         (gst_file_src_is_seekable), (gst_file_src_get_size),
5926         (gst_file_src_start):
5927         * gst/elements/gstfilesrc.h:
5928           Various fixes for unseekable, unmmapable, and non-normal files, so
5929           that fallback to read() rather than mmap() works.
5930         * gst/gstevent.c: (gst_event_new_newsegment):
5931           Allow newsegment events with segment_start == segment_end, as will
5932           correctly happen if you use filesrc on a zero-size file, for
5933           example.
5934
5935 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5936
5937         * gst/gstplugin.c: (gst_plugin_load_file):
5938           Call g_module_close when we don't load the module
5939
5940         * gst/registries/gstlibxmlregistry.c:
5941         (gst_xml_registry_get_property):
5942           Port leak fix from 0.8
5943
5944 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5945
5946         * docs/gst/gstreamer-docs.sgml:
5947         * docs/gst/tmpl/.cvsignore:
5948         * docs/gst/tmpl/gsttrace.sgml:
5949         * docs/gst/tmpl/gsttrashstack.sgml:
5950         * gst/Makefile.am:
5951         * gst/gst.h:
5952         * gst/gstelement.h:
5953         * gst/gstevent.h:
5954         * gst/gstmessage.c:
5955         * gst/gstmessage.h:
5956         * gst/gsttag.c:
5957         * gst/gsttag.h:
5958         * gst/gsttaginterface.c:
5959         * gst/gsttaginterface.h:
5960         * gst/gsttaglist.c:
5961         * gst/gsttaglist.h:
5962         * gst/gsttagsetter.c:
5963         * gst/gsttagsetter.h:
5964         * gst/gsttrace.c:
5965         * gst/gsttrace.h:
5966         * gst/gsttrashstack.c:
5967           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5968           inlined docs for gsttrace, gsttrashstack
5969
5970 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5971
5972         * gst/Makefile.am:
5973         * gst/elements/gstbufferstore.h:
5974         * gst/elements/gsttypefindelement.c:
5975         * gst/elements/gsttypefindelement.h:
5976         * gst/gst.h:
5977         * gst/gsttypefind.c:
5978         * gst/gsttypefind.h:
5979         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5980         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5981         (gst_type_find_factory_dispose),
5982         (gst_type_find_factory_unload_thyself),
5983         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5984         (gst_type_find_factory_get_caps),
5985         (gst_type_find_factory_get_extensions),
5986         (gst_type_find_factory_call_function):
5987         * gst/gsttypefindfactory.h:
5988         * gst/registries/gstlibxmlregistry.c:
5989         * gst/registries/gstxmlregistry.c:
5990           splitted gsttypefind into gsttypefind, gsttypefindfactory
5991
5992 2005-09-07  Andy Wingo  <wingo@pobox.com>
5993
5994         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5995         condition whereby the pad's task function is entered before the
5996         pad_mode variable was set.
5997
5998 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5999
6000         * gst/gstpad.c: (gst_pad_alloc_buffer):
6001           Catch misbehaving pad_alloc functions that don't
6002           set up caps and do it for them.
6003
6004 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6005
6006         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6007           test for pipe!=NULL
6008         * docs/gst/tmpl/.cvsignore:
6009         * docs/gst/tmpl/gstmemchunk.sgml:
6010         * docs/gst/tmpl/gstparse.sgml:
6011         * docs/gst/tmpl/gsttaglist.sgml:
6012         * docs/gst/tmpl/gsttagsetter.sgml:
6013         * docs/gst/tmpl/gsttypefind.sgml:
6014         * docs/gst/tmpl/gsttypefindfactory.sgml:
6015         * gst/gstmemchunk.c:
6016         * gst/gstparse.c:
6017         * gst/gsttag.c:
6018         * gst/gsttaginterface.c:
6019         * gst/gsttypefind.c:
6020         * gst/gsttypefind.h:
6021           inlined more docs
6022
6023 === release 0.9.2 ===
6024
6025 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6026
6027         * NEWS:
6028         * RELEASE:
6029         * configure.ac:
6030           releasing 0.9.2, "South"
6031
6032 2005-09-05  Andy Wingo  <wingo@pobox.com>
6033
6034         * gst/registries/gstxmlregistry.h:
6035         * gst/registries/gstxmlregistry.c: Um... resurrect...
6036         
6037         * gst/registries/gstxmlregistry.h:
6038         * gst/registries/gstxmlregistry.c: and update to newer API.
6039         Incidentally they should be a bit faster now that they don't have
6040         to parse the caps.
6041         
6042 2005-09-05  Andy Wingo  <wingo@pobox.com>
6043
6044         * gst/registries/gstxmlregistry.h:
6045         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6046         replaced by the libxml registry a while back
6047
6048 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6049
6050         * docs/gst/tmpl/gstplugin.sgml:
6051         * gst/elements/gstelements.c:
6052         * gst/gst.c:
6053         * gst/gstplugin.c: (gst_plugin_register_func),
6054         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6055         (gst_plugin_get_source):
6056         * gst/gstplugin.h:
6057         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6058         (gst_xml_registry_save_plugin):
6059         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6060         (gst_xml_registry_save_plugin):
6061         * tools/gst-inspect.c: (print_plugin_info):
6062           add a "source" plugin description field, to represent the source
6063           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6064           will set it to PACKAGE, which is automake's idea of the name of
6065           the source project.
6066
6067 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6068
6069         * Makefile.am:
6070         * autogen.sh:
6071         * configure.ac:
6072         * docs/Makefile.am:
6073         * docs/faq/Makefile.am:
6074         * docs/gst/tmpl/gstelement.sgml:
6075         * docs/gst/tmpl/gsttypes.sgml:
6076         * docs/htmlinstall.mak:
6077         * docs/manual/Makefile.am:
6078         * docs/pwg/Makefile.am:
6079           reorganize doc build a little
6080           split out docbook and gtk-doc stuff
6081           have two separate --enable's and enable them through autogen
6082           but disable by default in configure (to be similar to other
6083           projects)
6084         * gstreamer.spec.in:
6085           clean up docs install
6086         * po/af.po:
6087         * po/az.po:
6088         * po/ca.po:
6089         * po/cs.po:
6090         * po/de.po:
6091         * po/en_GB.po:
6092         * po/fr.po:
6093         * po/it.po:
6094         * po/nb.po:
6095         * po/nl.po:
6096         * po/ru.po:
6097         * po/sq.po:
6098         * po/sr.po:
6099         * po/sv.po:
6100         * po/tr.po:
6101         * po/uk.po:
6102         * po/vi.po:
6103           translation updates
6104
6105 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6106
6107         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6108           Add comment.
6109           
6110         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6111         (gst_fake_sink_change_state):
6112           Make state change function thread-safe.
6113           
6114         * gst/gstpad.c: (gst_pad_alloc_buffer):
6115           Set offset on generic buffer allocated by fallback.
6116
6117 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6118
6119         * docs/gst/gstreamer-sections.txt:
6120         * docs/gst/tmpl/gstelement.sgml:
6121         * gst/gstpad.c:
6122         * libs/gst/controller/gst-controller.c:
6123         (gst_controlled_property_set_interpolation_mode),
6124         (gst_controlled_property_new),
6125         (gst_controller_find_controlled_property):
6126          run the wingo-magic script against the docs
6127
6128 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6129
6130         * docs/gst/gstreamer-docs.sgml:
6131         * docs/gst/gstreamer-sections.txt:
6132         * docs/gst/tmpl/.cvsignore:
6133         * docs/gst/tmpl/gstelementdetails.sgml:
6134         * docs/gst/tmpl/gstelementfactory.sgml:
6135         * gst/gst.c:
6136         * gst/gstbus.c:
6137         * gst/gstelementfactory.c:
6138         * gst/gstelementfactory.h:
6139           merged elementdetails docs into elementfactory docs
6140           inlined both
6141
6142 2005-09-02  Andy Wingo  <wingo@pobox.com>
6143
6144         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6145         consider this enum an enum and not a flags.
6146
6147 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6148
6149         * docs/gst/gstreamer-docs.sgml:
6150         * docs/gst/tmpl/.cvsignore:
6151         * docs/gst/tmpl/gstghostpad.sgml:
6152         * docs/gst/tmpl/gstiterator.sgml:
6153         * docs/gst/tmpl/gstmacros.sgml:
6154         * docs/gst/tmpl/gstrealpad.sgml:
6155         * docs/gst/tmpl/gstregistry.sgml:
6156         * docs/gst/tmpl/gstregistrypool.sgml:
6157         * docs/gst/tmpl/gststructure.sgml:
6158         * docs/gst/tmpl/gstsystemclock.sgml:
6159         * docs/gst/tmpl/gsttrace.sgml:
6160         * gst/gstghostpad.c:
6161         * gst/gstmacros.h:
6162         * gst/gstmemchunk.c:
6163         * gst/gstmemchunk.h:
6164         * gst/gstqueue.c:
6165         * gst/gstregistry.c:
6166         * gst/gstregistrypool.c:
6167         * gst/gststructure.c:
6168         * gst/gstsystemclock.c:
6169           more docs inlined
6170
6171 2005-09-02  Andy Wingo  <wingo@pobox.com>
6172
6173         * gst/gstelement.h (GstState): Renamed from GstElementState,
6174         changed to be a normal enum instead of flags.
6175         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6176         munged to be GST_STATE_CHANGE_*.
6177         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6178         work with the new state representation.
6179         (GstStateChange): New enumeration of possible state transitions.
6180         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6181         (GstElementClass::change_state): Pass the GstStateChange along as
6182         an argument. Helps language bindings, so they don't have to use
6183         tricky lock-needing macros like GST_STATE_CHANGE ().
6184
6185         * scripts/update-states (file): New script. Run it on a file to
6186         update it for state naming and API changes. Updates files in
6187         place.
6188
6189         * All files updated for the new API.
6190
6191 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6192
6193         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6194         * gst/gstutils.c: (gst_util_set_value_from_string),
6195         (gst_util_set_object_arg):
6196           fix a bunch of unchecked return values
6197         * tools/gst-complete.c: (main):
6198         * gstreamer.spec.in:
6199           clean up a little
6200
6201 2005-09-01  Wim Taymans  <wim@fluendo.com>
6202
6203         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6204         (gst_base_sink_event), (gst_base_sink_do_sync),
6205         (gst_base_sink_handle_event):
6206         * gst/base/gstbasesink.h:
6207         Handle newsegments more correctly.
6208
6209         * gst/gstbus.c:
6210         Fix docs.
6211
6212         * gst/gstevent.c: (gst_event_new_newsegment):
6213         A newsegment cannot have a start_time of -1
6214
6215 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6216
6217         * win32/gstenumtypes.c:
6218         * win32/gstenumtypes.h:
6219           Update
6220
6221 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6222
6223         * libs/gst/controller/gst-controller.c:
6224         (gst_controlled_property_set_interpolation_mode),
6225         (gst_controlled_property_new):
6226          fixed boolean again
6227
6228 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6229
6230         * docs/faq/gst-uninstalled:
6231           add -good
6232         * gst/gstevent.c:
6233         * gst/gstevent.h:
6234           remove wrong docs
6235         * gst/gstutils.c: (gst_element_link_filtered):
6236         * gst/gstutils.h:
6237           add gst_element_link_filtered
6238
6239 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6240
6241         * docs/gst/gstreamer-docs.sgml:
6242         * docs/gst/gstreamer-sections.txt:
6243         * docs/gst/tmpl/.cvsignore:
6244         * docs/gst/tmpl/gsterror.sgml:
6245         * docs/gst/tmpl/gstfilter.sgml:
6246         * docs/gst/tmpl/gsturihandler.sgml:
6247         * docs/gst/tmpl/gsturitype.sgml:
6248         * docs/gst/tmpl/gstutils.sgml:
6249         * docs/gst/tmpl/gstxml.sgml:
6250         * gst/gsterror.c:
6251         * gst/gsterror.h:
6252         * gst/gstfilter.c:
6253         * gst/gsturi.c:
6254         * gst/gsturitype.c:
6255         * gst/gstutils.c:
6256         * gst/gstxml.c:
6257           inlined more docs, fixed double id-ref
6258
6259 2005-08-31  Wim Taymans  <wim@fluendo.com>
6260
6261         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6262         (gst_base_transform_handle_buffer):
6263         Passthrough elements don't need the caps as they don't care.
6264
6265 2005-08-31  Wim Taymans  <wim@fluendo.com>
6266
6267         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6268         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6269         Don't leak refcounts on buffers.
6270
6271 2005-08-31  Wim Taymans  <wim@fluendo.com>
6272
6273         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6274         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6275         (gst_base_transform_chain), (gst_base_transform_change_state):
6276         * gst/base/gstbasetransform.h:
6277         Handle the case where we are not negotiated more gracefully.
6278
6279 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6280
6281         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6282         (gst_file_src_map_region):
6283           Set READONLY flag on mmap'ed buffers, otherwise
6284           gst_buffer_make_writable() won't work properly (#314708).
6285
6286 2005-08-31  Wim Taymans  <wim@fluendo.com>
6287
6288         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6289         passthrough elements can even do inplace on non writable
6290         buffers (as they don't touch them).
6291
6292 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6293
6294         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6295         (gst_test_mono_source_set_property),
6296         (gst_test_mono_source_class_init), (GST_START_TEST),
6297         (gst_controller_suite):
6298           more tests (hehe I have the most)
6299         * gst/gstbus.c:
6300           describe popping messages whenusing mulltiple sources
6301         * libs/gst/controller/gst-controller.c:
6302         (gst_controlled_property_set_interpolation_mode),
6303         (gst_controlled_property_new):
6304         * libs/gst/controller/gst-controller.h:
6305         * libs/gst/controller/gst-interpolation.c:
6306           implement boolean properties
6307
6308 2005-08-31  Wim Taymans  <wim@fluendo.com>
6309
6310         * gst/gstminiobject.c: (gst_mini_object_ref):
6311         Cannot assert that the refcount has to be positive
6312         since a disposed object can be resurrected.
6313
6314 2005-08-31  Wim Taymans  <wim@fluendo.com>
6315
6316         * gst/gstpad.c: (gst_pad_init):
6317         Revert change, need to first fix badly behaving 
6318         apps.
6319
6320 2005-08-30  Wim Taymans  <wim@fluendo.com>
6321
6322         * check/elements/fakesrc.c: (setup_fakesrc):
6323         * check/elements/identity.c: (setup_identity):
6324         Activate pads before using them.
6325
6326 2005-08-30  Wim Taymans  <wim@fluendo.com>
6327
6328         * gst/base/gstadapter.c: (gst_adapter_flush):
6329         Flushing out 0 bytes is ok for this function.
6330
6331         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6332         no newsegment gives a warning and sets the start/stop to 
6333         invalid.
6334
6335         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6336         (gst_base_transform_set_passthrough):
6337         Some debug info.
6338
6339         * gst/gstminiobject.c: (gst_mini_object_ref):
6340         Check refcount here too.
6341
6342         * gst/gstpad.c: (gst_pad_init):
6343         Pads are initially flushing and refusing data.
6344
6345         * gst/gstutils.c: (gst_element_link_pads_filtered):
6346         When adding a capsfilter element make sure it has the
6347         same state as the parent bin.
6348
6349 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6350
6351         * docs/gst/tmpl/.cvsignore:
6352         * docs/gst/tmpl/gstformat.sgml:
6353         * docs/gst/tmpl/gstversion.sgml:
6354         * gst/gstbus.h:
6355         * gst/gstformat.c:
6356         * gst/gstformat.h:
6357         * gst/gstversion.h.in:
6358           more docs and two more inlined
6359
6360 2005-08-30  Wim Taymans  <wim@fluendo.com>
6361
6362         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6363         Don't sync to clock.
6364
6365 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6366
6367         * docs/gst/gstreamer-sections.txt:
6368           ultral33t func10ns deserve to appear in the docs actually
6369         * docs/gst/tmpl/.cvsignore:
6370         * docs/gst/tmpl/gstcompat.sgml:
6371         * docs/gst/tmpl/gstconfig.sgml:
6372         * gst/check/gstcheck.c:
6373         * gst/gstcompat.h:
6374         * gst/gstconfig.h.in:
6375           inlined more docs
6376
6377 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6378
6379         * docs/gst/tmpl/.cvsignore:
6380         * docs/gst/tmpl/gstquery.sgml:
6381         * docs/gst/tmpl/gstutils.sgml:
6382         * gst/gstquery.c:
6383         * gst/gstquery.h:
6384           inlined and extended docs
6385
6386 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6387
6388         * check/gst-libs/controller.c: (GST_START_TEST),
6389         (gst_controller_suite):
6390           more tests
6391         * docs/gst/tmpl/gstutils.sgml:
6392         * docs/libs/gstreamer-libs-sections.txt:
6393         * docs/libs/tmpl/gstdataprotocol.sgml:
6394           include path fixes
6395         * examples/controller/audio-example.c: (main):
6396           controller example works now
6397         * gst/gstclock.h:
6398           doc fixes
6399         * tools/gst-inspect.c: (print_element_properties_info):
6400           show param spec flags
6401
6402 2005-08-29  Andy Wingo  <wingo@pobox.com>
6403
6404         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6405
6406 2005-08-28  Andy Wingo  <wingo@pobox.com>
6407
6408         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6409         as having two arguments instead of just one. Allows superclasses
6410         to access information on subclasses -- see the terrible for() loop
6411         in gtype.c:g_type_create_instance for the reason why. All callers
6412         changed.
6413
6414 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6415
6416         * docs/design/part-messages.txt:
6417           update info
6418         * docs/gst/tmpl/.cvsignore:
6419         * docs/gst/tmpl/gstcaps.sgml:
6420         * docs/gst/tmpl/gstclock.sgml:
6421         * gst/gstbus.c:
6422         * gst/gstcaps.c:
6423         * gst/gstcaps.h:
6424         * gst/gstclock.c:
6425         * gst/gstclock.h:
6426         * gst/gstmessage.c:
6427           added descriptions for bus and message
6428           inline caps and clock docs
6429
6430 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6431
6432         * gst/gstmessage.c:
6433         * gst/gstmessage.h:
6434           doc fixes
6435
6436 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6437
6438         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6439           fix div-by-zero
6440
6441 2005-08-26  Andy Wingo  <wingo@pobox.com>
6442
6443         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6444         element_set_state's return val.
6445         (test_2_elements): Add test that's been disabled for months.
6446
6447         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6448         can-activate-pull properties.
6449
6450         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6451         can-activate-pull properties. Implement is_seekable so fakesrc can
6452         operate in pull mode.
6453
6454         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6455         properties.
6456         (gst_base_sink_activate, gst_base_sink_activate_pull)
6457         (gst_base_sink_activate_push): Make activation mode choosing work.
6458         Cleanups.
6459         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6460         is right. Make pull mode work. Post an eos before pausing in pull
6461         mode.
6462         (gst_base_sink_change_state): Pay attention to the core's
6463         change_state() return val.
6464         
6465         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6466         has-getrange properties. Cleanups.
6467         
6468         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6469         has_getrange and replace with can_activate_pull and
6470         can_activate_push.
6471
6472         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6473         locking comments. Remove has_loop, has_chain and replace with
6474         can_activate_pull and can_activate_push.
6475
6476 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6477
6478         * configure.ac:
6479         * examples/Makefile.am:
6480         * examples/metadata/Makefile.am:
6481         * examples/metadata/read-metadata.c: (message_loop),
6482         (have_pad_handler), (make_pipeline), (print_tag), (main):
6483           Add metadata reading example that loops over a list of filenames,
6484           dumping any tags found.
6485
6486         * gst/gstbus.c: (gst_bus_dispose):
6487         * gst/gstelement.c: (gst_element_dispose):
6488           Release a few potentially-held references in dispose.
6489
6490 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6491
6492         * docs/gst/tmpl/gstminiobject.sgml:
6493           do *not* add tmpl/*.sgml files to CVS!
6494
6495 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6496
6497         * libs/gst/bytestream/.cvsignore:
6498         * libs/gst/bytestream/Makefile.am:
6499         * libs/gst/bytestream/adapter.c:
6500         * libs/gst/bytestream/adapter.h:
6501         * libs/gst/bytestream/bytestream.c:
6502         * libs/gst/bytestream/bytestream.h:
6503         * libs/gst/bytestream/filepad.c:
6504         * libs/gst/bytestream/filepad.h:
6505           removing obsolete files
6506
6507 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6508
6509         * docs/gst/gstreamer-docs.sgml:
6510         * docs/libs/gstreamer-libs-docs.sgml:
6511           disabed additional index entries again, as this makes docs-gen just
6512           slow and they aren't useful yet
6513         * docs/libs/gstreamer-libs-sections.txt:
6514           little -section.txt cleanup for libs
6515
6516 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6517
6518         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6519         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6520           fix up some debugging
6521         (gst_base_transform_get_unit_size),
6522         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6523         (gst_base_transform_handle_buffer):
6524         * gst/base/gstbasetransform.h:
6525           handle and store timed NEWSEGMENT events so that subclasses that
6526           calculate time by counting samples have a segment_start time they
6527           need to add to their timestamps - see audioresample
6528
6529 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6530
6531         * gst/gstbin.h:
6532           removed ';' from the end of macro defs
6533         * docs/gst/gstreamer-docs.sgml:
6534         * docs/gst/gstreamer-sections.txt:
6535         * docs/gst/tmpl/.cvsignore:
6536         * gst/gstbus.h:
6537         * gst/gstelement.c: (gst_element_class_init),
6538         (gst_element_set_state), (activate_pads),
6539         (gst_element_save_thyself):
6540         * gst/gstevent.c: (gst_event_new_newsegment):
6541         * gst/gstevent.h:
6542         * gst/gstiterator.c:
6543         * gst/gstiterator.h:
6544         * gst/gstpad.c:
6545         * gst/gstprobe.h:
6546         * gst/gstutils.c: (gst_pad_query_convert):
6547         * gst/gstutils.h:
6548           fixed parameter name mismatches between source, header and docs
6549           added some more docs, resolved the last batch of unused elements in
6550           docs (now someone needs to doc them)
6551
6552 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6553
6554         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6555         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6556           don't walk through the plugins backwards.  Where is all this
6557           reversed logic coming from ?
6558
6559 2005-08-25  Wim Taymans  <wim@fluendo.com>
6560
6561         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6562         (gst_base_transform_transform_size),
6563         (gst_base_transform_configure_caps),
6564         (gst_base_transform_get_unit_size),
6565         (gst_base_transform_buffer_alloc),
6566         (gst_base_transform_change_state):
6567         * gst/base/gstbasetransform.h:
6568         Cache caps unit_size.
6569         Make sure we cannot negotiate up and downstream at the
6570         same time.
6571
6572 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6573
6574         * gst/gst.c: (init_pre), (init_post):
6575           register the installed plugin path after the env var
6576         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6577         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6578           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6579           directories, so the tests can prefer uninstalled over installed
6580
6581 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6582
6583         * gst/base/gstbasetransform.h:
6584           comment
6585         * gst/gstpad.c:
6586           add to docs
6587
6588 2005-08-25  Wim Taymans  <wim@fluendo.com>
6589
6590         * gst/gstbin.c: (bin_bus_handler):
6591         Be a bit more conservative about the posted message.
6592         
6593         * gst/gstbus.c: (gst_bus_post):
6594         Some cleanups, warn wrong return values.
6595
6596 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6597
6598         * check/gst/gstbin.c: (GST_START_TEST):
6599         * gst/gstbin.c: (bin_bus_handler):
6600         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6601         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6602         (gst_message_new_warning), (gst_message_new_tag),
6603         (gst_message_new_state_changed), (gst_message_new_segment_start),
6604         (gst_message_new_segment_done), (gst_message_new_custom):
6605         * gst/gstmessage.h:
6606         * tools/gst-launch.c: (event_loop):
6607         * tools/gst-md5sum.c: (event_loop):
6608           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6609
6610 2005-08-25  Wim Taymans  <wim@fluendo.com>
6611
6612         * check/generic/states.c: (GST_START_TEST):
6613         Cleanup can be done at the end.
6614
6615         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6616         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6617         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6618         Oh boy.. Thanks for finding this, Thomas. 
6619
6620 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6621
6622         * docs/gst/gstreamer.types:
6623           added missing types
6624
6625 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6626
6627         * docs/gst/gstreamer-docs.sgml:
6628         * docs/gst/gstreamer-sections.txt:
6629         * docs/gst/tmpl/.cvsignore:
6630         * gst/gstbin.c:
6631         * gst/gstiterator.c:
6632         * gst/gstutils.c:
6633         * gst/registries/gstxmlregistry.h:
6634           added missing classes and symbols (123 more to go)
6635           removed removed symbols from section file
6636           fixed many doc-comments
6637
6638 2005-08-24  Wim Taymans  <wim@fluendo.com>
6639
6640         * check/generic/states.c: (GST_START_TEST):
6641         Make sure all tasks are stopped.
6642
6643         * check/gst/gstbin.c: (GST_START_TEST):
6644         Unref after usage for proper valgrinding.
6645
6646         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6647         Really wait for the task to stop before destroying the
6648         mutex.
6649
6650         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6651         (gst_queue_src_activate_push):
6652         Small cleanups. Don't stop the task when we did not start
6653         it.
6654
6655         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6656         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6657         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6658         (gst_task_join):
6659         * gst/gsttask.h:
6660         Protect the stream lock with the object lock.
6661         Disallow setting the stream lock when running.
6662         Add cleanup_all to wait for the threadpool to finish.
6663         Remove code to autoallocate a mutex if none was provided.
6664         Add _join() to wait for a task to stop.
6665         Protect the thread pool with a global lock.
6666
6667 2005-08-24  Wim Taymans  <wim@fluendo.com>
6668
6669         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6670         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6671         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6672         * gst/base/gstbasesink.h:
6673         Handle newsegment events correctly.
6674         Drop buffers out of the segment range.
6675
6676 2005-08-22  Andy Wingo  <wingo@pobox.com>
6677
6678         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6679         macro, implements an interface and gstimplementsinterface for a
6680         new type.
6681
6682 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6683
6684         * check/Makefile.am:
6685         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6686           add a test that does a bunch of state changes on elements
6687           needs some fixing for valgrind
6688         * check/states/sinks.c: (gst_object_suite):
6689           whitespace
6690         * gst/gstcaps.h:
6691           add prototype for gst_caps_is_equal_fixed
6692         * gst/gstplugin.c:
6693         * gst/gstregistrypool.c:
6694           doc fixes
6695
6696 2005-08-24  Andy Wingo  <wingo@pobox.com>
6697
6698         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6699         convert a negative value. Doesn't make much sense. Mostly this is
6700         here to force callers to ensure -1 maps to -1.
6701
6702 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6703
6704         * docs/pwg/advanced-types.xml:
6705           Well done to Michael for catching my deliberate introduction
6706           of this spelling mistake. 
6707         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6708         * gst/gstelement.h:
6709           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6710           unlink pads before removing the element from the bin.
6711
6712 2005-08-24  Andy Wingo  <wingo@pobox.com>
6713
6714         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6715         the same thing as GST_DEBUG=*:4.
6716         (parse_debug_level, parse_debug_category): New helper parsers.
6717
6718 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6719
6720         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6721         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6722         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6723         (gst_base_transform_buffer_alloc),
6724         (gst_base_transform_handle_buffer):
6725           use gboolean return values and pointers to size so we can use the
6726           full GST_BUFFER_SIZE range (guint) for buffer sizes
6727           use GstPadDirection for transform_caps
6728         * gst/base/gstbasetransform.h:
6729           rename get_size to get_unit_size since that's what it is
6730         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6731           use GstPadDirection for transform_caps
6732         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6733         * gst/gstutils.h:
6734           cleanup and debugging
6735
6736 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6737
6738         * gst/gstelement.c: (gst_element_class_init),
6739         (gst_element_set_state), (activate_pads),
6740         (gst_element_save_thyself):
6741         * tools/gst-compprep.c: (main):
6742         * tools/gst-inspect.c: (print_element_properties_info):
6743         * tools/gst-xmlinspect.c: (print_element_properties):
6744           Fixed long standing mem-leak
6745
6746 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6747
6748         * check/gst/gstbin.c: (GST_START_TEST):
6749         * gst/gstbin.c: (bin_bus_handler):
6750         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6751         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6752         (gst_message_new_warning), (gst_message_new_tag),
6753         (gst_message_new_state_changed), (gst_message_new_segment_start),
6754         (gst_message_new_segment_done), (gst_message_new_custom):
6755         * gst/gstmessage.h:
6756         * tools/gst-launch.c: (event_loop):
6757         * tools/gst-md5sum.c: (event_loop):
6758           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6759           that applications can sensibly post custom messages with references
6760           to their own objects.
6761
6762 2005-08-24  Andy Wingo  <wingo@pobox.com>
6763
6764         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6765         already.
6766
6767 2005-08-24  Wim Taymans  <wim@fluendo.com>
6768
6769         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6770         (gst_base_transform_transform_caps),
6771         (gst_base_transform_transform_size),
6772         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6773         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6774         (gst_base_transform_handle_buffer):
6775         * gst/base/gstbasetransform.h:
6776         Many fixes and new features added by Thomas. Can now also do
6777         transforms with variable sizes and a custom fixate_caps function.
6778
6779 2005-08-24  Wim Taymans  <wim@fluendo.com>
6780
6781         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6782         Some debugging.
6783
6784         * gst/gstclock.h:
6785         Cast to ClockTime before formatting to time.
6786
6787         * gst/gstutils.h:
6788         Cleanups.
6789
6790 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6791
6792         * check/gst-libs/controller.c: (GST_START_TEST),
6793         (gst_controller_suite):
6794         * docs/gst/tmpl/gstcaps.sgml:
6795         * docs/gst/tmpl/gstghostpad.sgml:
6796         * docs/gst/tmpl/gstquery.sgml:
6797         * docs/gst/tmpl/gstutils.sgml:
6798         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6799         (gst_object_sink_values), (gst_object_get_value_arrays),
6800         (gst_object_get_value_array):
6801           gracefully handle helper method calls to objects that are not beeing
6802           controlled, added test case for that          
6803
6804 2005-08-23  Wim Taymans  <wim@fluendo.com>
6805
6806         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6807         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6808         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6809         (gst_event_parse_qos), (gst_event_new_seek),
6810         (gst_event_parse_seek):
6811         * gst/gstevent.h:
6812         Some more debugging output and doc cleanups.
6813
6814         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6815         Fix possible deadlock.
6816
6817 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6818
6819         * docs/gst/gstreamer-docs.sgml:
6820         * docs/gst/gstreamer-sections.txt:
6821         * docs/gst/gstreamer.types:
6822         * docs/gst/tmpl/.cvsignore:
6823         * gst/gstbin.h:
6824         * gst/gstbus.c:
6825         * gst/gstelement.c:
6826         * gst/gstevent.h:
6827           added 100 symbols from gstreamer-unused.txt to the right sections
6828           fixed more broken comments
6829           added GstBus to docs
6830
6831 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6832
6833         * docs/gst/gstreamer-sections.txt:
6834         * docs/gst/tmpl/.cvsignore:
6835         * docs/gst/tmpl/gstbin.sgml:
6836         * docs/gst/tmpl/gstbuffer.sgml:
6837         * gst/base/gstbasesrc.c:
6838         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6839         * gst/gstbuffer.c:
6840         * gst/gstbuffer.h:
6841         * tools/gst-launch.1.in:
6842           inlined more doc comments, added missing comments and fixed comments
6843           fixed typos
6844
6845 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6846
6847         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6848           some debugging
6849         * gst/gstcaps.h:
6850           whitespace fixes
6851         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6852           more debugging
6853         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6854         * gst/gststructure.h:
6855           add a fixate function for booleans; add a FIXME that these func
6856           names should probably be gst_structure_fixate_*
6857
6858 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6859
6860         * docs/gst/gstreamer-docs.sgml:
6861         * docs/gst/gstreamer-sections.txt:
6862         * gst/Makefile.am:
6863         * gst/gstbin.c: (gst_bin_get_type),
6864         (gst_bin_child_proxy_get_child_by_index),
6865         (gst_bin_child_proxy_get_children_count),
6866         (gst_bin_child_proxy_init):
6867         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6868         (gst_child_proxy_get_child_by_index),
6869         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6870         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6871         (gst_child_proxy_get), (gst_child_proxy_set_property),
6872         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6873         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6874         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6875         * gst/gstchildproxy.h:
6876         * gst/parse/grammar.y:
6877         * tools/gst-inspect.c: (print_interfaces),
6878         (print_element_properties_info), (print_element_info):
6879           ported gstchildproxy over from 0.8
6880           ported gst-inspect fixes and enhancements over from 0.8
6881
6882 2005-08-22  Wim Taymans  <wim@fluendo.com>
6883
6884         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6885         (gst_base_transform_handle_buffer):
6886         Also call the transform function if we have ANY caps.
6887
6888         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6889         Fix debug info.
6890
6891 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6892
6893         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6894           Don't pretend to handle seek events if the source is not seekable
6895
6896 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6897
6898         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6899           Remove extra parameter to debug output
6900
6901         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6902         (gst_base_src_do_seek), (gst_base_src_activate_push):
6903           Fix seek event handling.
6904
6905         * gst/gstpipeline.c: (gst_pipeline_change_state):
6906         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6907         (gst_queue_src_activate_push):
6908           Don't start the src pad task on FLUSH_STOP if the pad
6909           isn't linked.
6910           Debug changes.
6911
6912 2005-08-22  Wim Taymans  <wim@fluendo.com>
6913
6914         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6915         Added check for gst_static_caps_get() refcounting.
6916
6917 2005-08-22  Wim Taymans  <wim@fluendo.com>
6918
6919         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6920         Make _static_caps_get() refcounting sane.
6921         
6922         * gst/gstelement.c: (gst_element_set_state):
6923         Add g_return_val_if_fail() to protect against segfaults.
6924
6925 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6926
6927         * docs/gst/tmpl/gstevent.sgml:
6928         * gst/gstevent.c:
6929         * gst/gstevent.h:
6930           inlined remaining docs, added missing doc comments
6931
6932 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6933
6934         * check/gst/gstbin.c: (GST_START_TEST):
6935           since we don't know when preroll is done, use refcount range
6936           check for the sink
6937         * gst/check/gstcheck.h:
6938           add macro for checking refcount range
6939
6940 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6941
6942         * check/Makefile.am:
6943           clean up environment for when registry gets built versus
6944           when actual tests are run; valgrind seems to not report
6945           leaks if GST_PLUGIN_PATH is set to some specific values
6946         * check/gst/gstbin.c: (GST_START_TEST):
6947           add more refcounting checks; maybe this exposes a
6948           preroll lock bug ?
6949         * common/check.mak:
6950         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6951         * gst/check/gstcheck.h:
6952         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6953         (gst_bin_change_state):
6954         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6955           add/fix debugging/whitespace
6956
6957 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6958
6959         * check/gst/gstevent.c: (event_probe), (test_event),
6960         (GST_START_TEST):
6961          Er, don't call gst_bin_watch_for_state_change you idiot.
6962
6963 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6964
6965         * check/Makefile.am:
6966           Use CHECK_CFLAGS and CHECK_LIBS
6967         * check/gst/gstevent.c: (event_probe), (test_event),
6968         (GST_START_TEST):
6969           Don't leak events.
6970         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6971         (gst_base_src_start), (gst_base_src_stop),
6972         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6973         (gst_base_src_change_state):
6974           Sprinkle gst_base_src_stop liberally around error paths to fix
6975           problems reusing a source after failed state changes.
6976         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6977         (helper_find_suggest), (gst_type_find_helper):
6978           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6979         * gst/gstevent.h:
6980         * docs/gst/tmpl/gstevent.sgml:
6981           Migrate part of the docs from the SGML file. Wait for ensonic to
6982           tell me how I did it wrong ;)
6983         * tools/gst-typefind.c: (main):
6984           Extra robustness to state changes between files.
6985
6986 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6987
6988         * check/Makefile.am:
6989           don't valgrind the controller test - it's leaking - Stefan, HELP
6990         * gst/check/gstcheck.c: (gst_check_message_error),
6991         (gst_check_chain_func), (gst_check_setup_element),
6992         (gst_check_teardown_element), (gst_check_setup_src_pad),
6993         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6994         (gst_check_teardown_sink_pad):
6995         * gst/check/gstcheck.h:
6996           add a bunch of methods to set up elements, and src and sink pads
6997         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6998         * check/elements/identity.c: (setup_identity), (cleanup_identity),
6999         (GST_START_TEST):
7000           use them
7001         * gst/gstmessage.c:
7002         * gst/gsttag.h:
7003           whitespace/doc fixes
7004
7005 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7006
7007         * gst/gstelement.h:
7008           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7009           be handled by the application and not always printed as well
7010
7011 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7012
7013         * check/Makefile.am:
7014           set GST_TOOLS_DIR
7015         * gst/check/gstcheck.c: (gst_check_message_error):
7016         * gst/check/gstcheck.h:
7017           add a fail_unless_equals_int
7018           add fail_unless for error messages
7019
7020 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7021
7022         * check/Makefile.am:
7023         * check/gst.supp:
7024         * common/Makefile.am:
7025         * common/check.mak:
7026         * common/gst.supp:
7027           factor out some of the common stuff so we can use it
7028
7029 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7030
7031         * check/Makefile.am:
7032         * check/gst/gstiterator.c: (GST_START_TEST):
7033         * check/gst/gstsystemclock.c: (GST_START_TEST),
7034         (gst_systemclock_suite):
7035         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7036         * gst/gstclock.c:
7037           valgrind more tests
7038
7039 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7040
7041         * check/elements/.cvsignore:
7042         * check/elements/gstfakesrc.c:
7043           rename to name of element
7044         * check/elements/identity.c: (chain_func), (event_func),
7045         (setup_identity), (cleanup_identity), (GST_START_TEST),
7046         (identity_suite), (main):
7047           add a test for identity
7048         * check/Makefile.am:
7049         * pkgconfig/Makefile.am:
7050         * pkgconfig/gstreamer-check.pc.in:
7051         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7052         * gst/check:
7053         * gst/Makefile.am:
7054         * configure.ac:
7055           move the check stuff to a library that gets installed
7056         * check/gst-libs/controller.c: (GST_START_TEST):
7057         * check/gst-libs/gdp.c:
7058         * check/gst/gst.c: (GST_START_TEST):
7059         * check/gst/gstbin.c:
7060         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7061         * check/gst/gstbus.c:
7062         * check/gst/gstcaps.c: (GST_START_TEST):
7063         * check/gst/gstelement.c:
7064         * check/gst/gstghostpad.c:
7065         * check/gst/gstiterator.c:
7066         * check/gst/gstmessage.c:
7067         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7068         * check/gst/gstobject.c:
7069         * check/gst/gstpad.c: (GST_START_TEST):
7070         * check/gst/gststructure.c: (GST_START_TEST):
7071         * check/gst/gstsystemclock.c: (GST_START_TEST),
7072         (gst_systemclock_suite):
7073         * check/gst/gsttag.c: (gst_tag_suite):
7074         * check/gst/gstvalue.c:
7075         * check/pipelines/cleanup.c:
7076         * check/pipelines/simple_launch_lines.c:
7077         * check/states/sinks.c:
7078           change include statement
7079
7080         * docs/gst/gstreamer-sections.txt:
7081         * docs/gst/tmpl/gstpad.sgml:
7082           document more pad stuff
7083         * gst/gstminiobject.c: (gst_mini_object_ref),
7084         (gst_mini_object_unref):
7085           debug refcounting
7086
7087 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7088
7089         * docs/gst/tmpl/gst.sgml:
7090         * gst/gst.c:
7091           eliminate another tmpl file, fix spelling in the long-description
7092
7093 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7094
7095         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7096         (test_event), (timediff), (gstevents_suite):
7097           Should fix build on 64-bit arch's
7098
7099 2005-08-18  Andy Wingo  <wingo@pobox.com>
7100
7101         Make sure that when a pipeline goes to PLAYING, that data has
7102         actually hit the sink.
7103
7104         * check/states/sinks.c (test_sink): A sink that doesn't get any
7105         data shouldn't return SUCCESS for going to either PLAYING or
7106         PAUSED. Test also the return values on the way back down.
7107
7108         * gst/gstelement.c (gst_element_set_state): When changing the
7109         state of an element currently changing state asynchronously, go to
7110         lost-state after commiting the pending state. Makes future calls
7111         to get_state continue to return ASYNC.
7112
7113         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7114         ASYNC when going to PLAYING if we still don't have preroll, as can
7115         happen with live sources.
7116
7117 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7118
7119         * docs/pwg/advanced-types.xml:
7120           Hack long paragraph into 2 chunks as a workaround for buggy
7121           jadetex version in sid and breezy that loops infinitely and
7122           eats all RAM.
7123
7124 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7125
7126         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7127         (test_event), (timediff), (gstevents_suite):
7128           Provide more error margin in clock measurements to allow for 
7129           g_get_current_time inaccuracies.
7130
7131 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7132
7133         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7134         (test_event), (timediff), (gstevents_suite):
7135            Fix error message output so I might be able to tell why the
7136            test works here but fails on the build farm.
7137
7138 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7139
7140         * check/Makefile.am:
7141         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7142         (test_event), (timediff), (gstevents_suite), (main):
7143           I wrote a test!
7144
7145         * docs/design/part-seeking.txt:
7146           Spelling correction
7147
7148         * docs/gst/tmpl/gstevent.sgml:
7149         * docs/gst/tmpl/gstfakesrc.sgml:
7150           Docs updates.
7151
7152         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7153           Treat a buffer-without-newsegment the same as a receiving 
7154           a newsegment not in time format, and disable syncing to the clock
7155           with a warning.
7156
7157         * gst/gstbus.c: (gst_bus_set_sync_handler):
7158           Assert if anyone tries to replace the existing sync_handler for bus, 
7159           as only the owner should be setting it.
7160
7161         * gst/gstevent.h:
7162           Have a fixed set of custom event enums with events identified by
7163           their structure name (as in 0.8), rather than a free-for-all
7164           allowing collisions between enum values from different plugins.
7165
7166         * gst/gstpad.c: (gst_pad_class_init):
7167           Docs change.
7168           
7169         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7170           Handle out-of-band downstream events from the sending thread.
7171
7172 2005-08-17  Andy Wingo  <wingo@pobox.com>
7173
7174         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7175         play-timeout==0 to mean no timeout at all. In that case, don't
7176         bother with a get_state or a warning, just return directly, even
7177         if it's ASYNC.
7178
7179         * gst/base/gstbasetransform.c: Debug changes.
7180
7181         * gst/gstutils.h:
7182         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7183         ensure bins post state change messages. A bit of a hack but I can't
7184         think of a way to avoid it.
7185
7186         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7187
7188 2005-08-16  Andy Wingo  <wingo@pobox.com>
7189
7190         * gst/base/gstadapter.h:
7191         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7192         peek() but you own the data. Not terribly efficient atm.
7193
7194 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7195
7196         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7197         (gst_element_found_tags):
7198         * gst/gstutils.h:
7199           Add two utility functions for tag handling.
7200
7201 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7202
7203         * docs/manual/advanced-dataaccess.xml:
7204         * docs/manual/basics-helloworld.xml:
7205           Fix docs to use _bin_add() before _link(), which fixes the examples
7206           with recent core versions (reported by Madhan Raj M
7207           <raj_madan@rediffmail.com>, #313199).
7208
7209 2005-08-16  Wim Taymans  <wim@fluendo.com>
7210
7211         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7212         Added subtract checks.
7213
7214         * docs/design/part-events.txt:
7215         Some more docs about newsegment
7216
7217         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7218         Fix FIXME
7219
7220         * gst/gstcaps.c: (gst_caps_to_string):
7221         Add comments, cleanups.
7222         
7223         * gst/gstelement.c: (gst_element_save_thyself):
7224         cleanups
7225         
7226         * gst/gstvalue.c: (gst_value_collect_int_range),
7227         (gst_string_unwrap), (gst_value_union_int_int_range),
7228         (gst_value_union_int_range_int_range),
7229         (gst_value_intersect_int_int_range),
7230         (gst_value_intersect_int_range_int_range),
7231         (gst_value_intersect_double_double_range),
7232         (gst_value_intersect_double_range_double_range),
7233         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7234         (gst_value_subtract_int_range_int),
7235         (gst_value_subtract_double_range_double),
7236         (gst_value_subtract_double_range_double_range),
7237         (gst_value_subtract_from_list), (gst_value_subtract_list),
7238         (gst_value_can_compare), (gst_value_compare_fraction):
7239         Cleanups, add comments, remove unneeded asserts.
7240
7241 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7242
7243         * tools/gst-launch.c: (event_loop):
7244           don't convert NULL structures to strings
7245
7246 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7247
7248         * docs/gst/gstreamer-sections.txt:
7249           made some defines private
7250         * docs/gst/tmpl/gstconfig.sgml:
7251         * docs/gst/tmpl/gstqueue.sgml:
7252         * docs/gst/tmpl/gsttaglist.sgml:
7253         * docs/gst/tmpl/gsttypes.sgml:
7254         * docs/gst/tmpl/gstutils.sgml:
7255         * docs/pwg/appendix-porting.xml:
7256         * gst/base/gstbasesink.h:
7257         * gst/base/gstbasesrc.c:
7258         * gst/base/gstbasesrc.h:
7259         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7260         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7261         * gst/gstelement.c: (gst_element_class_init):
7262         * gst/gstpad.c: (gst_pad_class_init):
7263         * gst/gstqueue.c: (gst_queue_class_init):
7264         * gst/gstxml.c: (gst_xml_class_init):
7265           documented all undocumented signal inline
7266         * libs/gst/controller/gst-controller.h:
7267           added padding
7268
7269 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7270
7271         * docs/pwg/appendix-porting.xml:
7272           Document _set_link_function -> _set_setcaps_function.
7273
7274 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7275
7276         * check/Makefile.am:
7277           add a .check target for running the check
7278         * check/gst-libs/controller.c: (GST_START_TEST):
7279           cosmetic fixups
7280         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7281           complete checks for gstbuffer; would be nice if I could get the
7282           gcov stuff to work so I can see if I actually completed gstbuffer.c
7283         * check/gstcheck.h:
7284           add ASSERT_BUFFER_REFCOUNT
7285
7286 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7287
7288         * docs/gst/gstreamer-sections.txt:
7289         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7290         * gst/gsttag.h:
7291           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7292           spew out a warning if a tag that is already registered
7293           is re-registered, unless it is re-registered with a 
7294           different type (#308438).
7295
7296 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7297
7298         * docs/pwg/appendix-porting.xml:
7299         * docs/pwg/building-state.xml:
7300           Add some paragraphs about state changes in 0.9 to the PWG
7301           and the porting guide, in particular about the new meaning
7302           of GST_STATE_PAUSED and how to write state change functions
7303           with concurrent access by multiple threads in mind.
7304
7305 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7306
7307         * docs/gst/gstreamer-docs.sgml:
7308         * docs/libs/gstreamer-libs-docs.sgml:
7309           added deprecation and since indexes
7310         * libs/gst/controller/gst-controller.c:
7311         * libs/gst/controller/gst-helper.c:
7312           added since tags
7313
7314
7315 2005-08-11  Wim Taymans  <wim@fluendo.com>
7316
7317         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7318         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7319         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7320         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7321         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7322         (gst_ghost_pad_set_target):
7323         Actually implement (re)setting the target on a ghostpad
7324         as described in the docs.
7325
7326 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7327
7328         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7329           Check whether GST_DEBUG_NO_COLOR environment variable is
7330           set and disable coloured debug output if that is the case.
7331
7332 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7333
7334         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7335         (gst_type_find_helper):
7336           The memory returned by gst_type_find_peek() needs to
7337           stay valid until the end of a typefind function, and
7338           typefind functions may keep results from different 
7339           offsets around, so we can't just unref the buffer from
7340           the previous _peek(), but have to save all buffers 
7341           returned by _peek() until typefinding is done and only
7342           free them then.
7343
7344 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7345
7346         * docs/gst/gstreamer-sections.txt:
7347         * gst/gstutils.h:
7348           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7349
7350 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7351
7352         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7353           Fix a pretty good memleak.
7354
7355 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7356
7357         * gst/gstiterator.h:
7358           Fix wrong include and 'make distcheck'.
7359
7360 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7361
7362         * gst/gstbin.c: (bin_bus_handler):
7363           Use gst_element_post_message() instead.
7364
7365 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7366
7367         * gst/base/gstadapter.h:
7368         * gst/base/gstbasesink.h:
7369         * gst/base/gstbasesrc.h:
7370         * gst/base/gstbasetransform.h:
7371         * gst/base/gstcollectpads.h:
7372         * gst/base/gstpushsrc.h:
7373         * gst/gstiterator.h:
7374           Add padding to our base elements' class and instance structs and
7375           to GstIterator (you will need to rebuild all plugins and apps!)
7376
7377 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7378
7379         * gst/gstbin.c: (bin_bus_handler):
7380           Make default message forwarding from child->bus to bin->bus
7381           threadsafe and make it not emit warnings if the parent has no bus.
7382
7383 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7384
7385         * gst/gstelement.c: (activate_pads):
7386           On paused->ready, set pad->caps to NULL, as is the documented
7387           behaviour in this state change. Fixes playback of series of
7388           media files when visualization is enabled in Totem.
7389
7390 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7391
7392         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7393           Allow NULL as filter-caps (which means "any").
7394
7395 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7396
7397         * docs/libs/gstreamer-libs-sections.txt:
7398         * libs/gst/controller/gst-controller.c:
7399         * libs/gst/controller/gst-controller.h:
7400         * libs/gst/controller/gst-helper.c:
7401           adding more entries to the docs and fix small doc-bugs
7402
7403 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7404
7405         * docs/gst/gstreamer-docs.sgml:
7406         * docs/gst/gstreamer-sections.txt:
7407         * docs/gst/gstreamer.types:
7408         * docs/gst/tmpl/gstbasesink.sgml:
7409         * docs/gst/tmpl/gstbasesrc.sgml:
7410         * docs/gst/tmpl/gstbasetransform.sgml:
7411         * docs/gst/tmpl/gstfakesrc.sgml:
7412         * gst/base/gstcollectpads.c:
7413         * gst/base/gstcollectpads.h:
7414         * libs/gst/controller/gst-controller.c:
7415         * libs/gst/controller/gst-controller.h:
7416         * libs/gst/controller/gst-helper.c:
7417         * libs/gst/controller/gst-interpolation.c:
7418         * libs/gst/controller/lib.c:
7419           added long/short desc for controller docs
7420           added collectpads base class docs
7421           added correct includes to base-class docs
7422
7423 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7424
7425         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7426         (gst_test_mono_source_set_property),
7427         (gst_test_mono_source_class_init), (GST_START_TEST),
7428         (gst_controller_suite):
7429         * docs/gst/gstreamer-docs.sgml:
7430         * docs/gst/gstreamer-sections.txt:
7431         * docs/gst/gstreamer.types:
7432         * docs/libs/gstreamer-libs-docs.sgml:
7433         * docs/libs/gstreamer-libs-sections.txt:
7434         * gst/base/gstadapter.c:
7435         * libs/gst/controller/gst-controller.c:
7436         (gst_controlled_property_new), (gst_controlled_property_free),
7437         (gst_controller_new_valist),
7438         (gst_controller_remove_properties_valist),
7439         (gst_controller_sink_values), (_gst_controller_finalize):
7440         * libs/gst/controller/gst-controller.h:
7441         * libs/gst/controller/gst-helper.c:
7442         (gst_object_control_properties), (gst_object_uncontrol_properties),
7443         (gst_object_get_controller), (gst_object_set_controller),
7444         (gst_object_sink_values), (gst_object_get_value_arrays),
7445         (gst_object_get_value_array):
7446           more tests (and fixes) for the controller
7447           more docs for the controller
7448           integrated companies docs for the adapter 
7449
7450 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7451
7452         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7453         (GST_START_TEST), (fakesrc_suite):
7454           add tests for sizetype
7455
7456 2005-08-04  Andy Wingo  <wingo@pobox.com>
7457
7458         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7459         fixes buffer_alloc proxying among other things.
7460
7461         * gst/base/gstbasetransform.c:
7462         * gst/base/gstbasetransform.h:
7463         Revert patch to gstbasetransform from 7-28 removing
7464         delay_configure.
7465
7466         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7467         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7468         Semantics changed, should return not the size of the output buffer
7469         but the byte size of a buffer with a given caps.
7470
7471         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7472         debug object.
7473         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7474         out) are not the pad caps until setcaps finishes.
7475         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7476         not-in-place case as well. Deal with changing from in-place to
7477         not-in-place within calling pad_alloc_buffer. Still a bit
7478         concerned about the overhead here...
7479
7480 2005-08-03  Andy Wingo  <wingo@pobox.com>
7481
7482         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7483         fixating is an error.
7484
7485 2005-08-04  Edward Hervey  <edward@fluendo.com>
7486
7487         * gst/base/gstadapter.h: 
7488         Added gst_adapter_get_type() to the header
7489
7490 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7491
7492         * check/Makefile.am:
7493         * check/gst-libs/controller.c:
7494         * libs/gst/controller/gst-controller.c:
7495         (gst_controller_new_valist):
7496           added check test suite for the controller
7497         * gst/base/gstpushsrc.c:
7498           fixed a doc typo
7499
7500 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7501
7502         * docs/gst/Makefile.am:
7503         * docs/gst/gstreamer-docs.sgml:
7504         * docs/gst/gstreamer-sections.txt:
7505         * docs/gst/gstreamer.types:
7506         * docs/gst/tmpl/gstfakesrc.sgml:
7507         * gst/base/README:
7508         * gst/base/gstbasesink.c:
7509         * gst/base/gstbasesink.h:
7510         * gst/base/gstbasesrc.c:
7511         * gst/base/gstbasesrc.h:
7512         * gst/base/gstbasetransform.c:
7513         * gst/base/gstpushsrc.c:
7514         * gst/base/gstpushsrc.h:
7515           add short/long description docs to base classes
7516           add pushsrc to the docs
7517           remove consolidated doc fragments
7518
7519 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7520
7521         * configure.ac:
7522         * docs/libs/Makefile.am:
7523         * docs/libs/gstreamer-libs-docs.sgml:
7524         * docs/libs/gstreamer-libs-sections.txt:
7525         * docs/libs/gstreamer-libs.types:
7526         * examples/Makefile.am:
7527         * examples/controller/.cvsignore:
7528         * examples/controller/Makefile.am:
7529         * examples/controller/audio-example.c: (main):
7530         * libs/gst/Makefile.am:
7531         * libs/gst/controller/.cvsignore:
7532         * libs/gst/controller/Makefile.am:
7533         * libs/gst/controller/gst-controller.c:
7534         (on_object_controlled_property_changed), (gst_timed_value_compare),
7535         (gst_timed_value_find),
7536         (gst_controlled_property_set_interpolation_mode),
7537         (gst_controlled_property_new), (gst_controlled_property_free),
7538         (gst_controller_find_controlled_property),
7539         (gst_controller_new_valist), (gst_controller_new),
7540         (gst_controller_remove_properties_valist),
7541         (gst_controller_remove_properties), (gst_controller_set),
7542         (gst_controller_set_from_list), (gst_controller_unset),
7543         (gst_controller_get), (gst_controller_get_all),
7544         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7545         (gst_controller_get_value_array),
7546         (gst_controller_set_interpolation_mode),
7547         (_gst_controller_finalize), (_gst_controller_init),
7548         (_gst_controller_class_init), (gst_controller_get_type):
7549         * libs/gst/controller/gst-controller.h:
7550         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7551         (g_object_uncontrol_properties), (g_object_get_controller),
7552         (g_object_set_controller), (g_object_sink_values),
7553         (g_object_get_value_arrays), (g_object_get_value_array):
7554         * libs/gst/controller/gst-interpolation.c:
7555         (gst_controlled_property_find_timed_value_node),
7556         (interpolate_none_get), (interpolate_trigger_get),
7557         (interpolate_trigger_get_value_array):
7558         * libs/gst/controller/lib.c: (gst_controller_init):
7559         * pkgconfig/Makefile.am:
7560         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7561         * pkgconfig/gstreamer-control.pc.in:
7562         * testsuite/Makefile.am:
7563         * testsuite/controller/.cvsignore:
7564         * testsuite/controller/Makefile.am:
7565         * testsuite/controller/interpolator.c: (main):
7566           added controller code
7567           removed dparam pc files
7568
7569 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7570         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7571         (gst_collectpads_stop):
7572           Broadcast the condition when shutting down, to make sure we wake all
7573           threads up. Shut down pads on finalize, for safety.
7574
7575 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7576         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7577         (gst_base_transform_handle_buffer),
7578         (gst_base_transform_change_state):
7579           Handle PAUSED->READY->PAUSED transition after negotiation
7580           occurred already.
7581         * gst/gstmessage.c: (gst_message_init):
7582           Extra piece of debug for new messages.
7583
7584 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7585
7586         * configure.ac:
7587         * docs/gst/tmpl/gstbasesrc.sgml:
7588         * docs/gst/tmpl/gstelement.sgml:
7589         * docs/gst/tmpl/gstevent.sgml:
7590         * docs/gst/tmpl/gstfakesrc.sgml:
7591         * docs/gst/tmpl/gstformat.sgml:
7592         * docs/gst/tmpl/gstghostpad.sgml:
7593         * docs/gst/tmpl/gstpad.sgml:
7594         * docs/gst/tmpl/gstquery.sgml:
7595         * docs/gst/tmpl/gststructure.sgml:
7596         * docs/gst/tmpl/gsttaglist.sgml:
7597         * docs/gst/tmpl/gstvalue.sgml:
7598         * docs/libs/gstreamer-libs-docs.sgml:
7599         * docs/libs/gstreamer-libs-sections.txt:
7600         * docs/libs/gstreamer-libs.types:
7601         * libs/gst/Makefile.am:
7602         * libs/gst/control/.cvsignore:
7603         * libs/gst/control/Makefile.am:
7604         * libs/gst/control/control.c:
7605         * libs/gst/control/control.h:
7606         * libs/gst/control/dparam.c:
7607         * libs/gst/control/dparam.h:
7608         * libs/gst/control/dparam_smooth.c:
7609         * libs/gst/control/dparam_smooth.h:
7610         * libs/gst/control/dparamcommon.h:
7611         * libs/gst/control/dparammanager.c:
7612         * libs/gst/control/dparammanager.h:
7613         * libs/gst/control/dplinearinterp.c:
7614         * libs/gst/control/dplinearinterp.h:
7615         * libs/gst/control/unitconvert.c:
7616         * libs/gst/control/unitconvert.h:
7617         * testsuite/Makefile.am:
7618         * testsuite/dynparams/.cvsignore:
7619         * testsuite/dynparams/Makefile.am:
7620         * testsuite/dynparams/dparamstest.c:
7621         * tools/Makefile.am:
7622         * tools/gst-inspect.c: (print_element_info), (main):
7623         * tools/gst-xmlinspect.c: (print_element_info), (main):
7624           deactivate and remove dparams (libgstcontrol)
7625
7626 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7627
7628         * gst/elements/gsttypefindelement.c:
7629         (gst_type_find_element_have_type), (gst_type_find_element_init),
7630         (stop_typefinding), (gst_type_find_element_handle_event),
7631         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7632         * gst/elements/gsttypefindelement.h:
7633           Set caps on all outgoing buffers, not just the first one.
7634
7635 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7636
7637         * gst/elements/gsttypefindelement.c:
7638         (gst_type_find_element_have_type),
7639         (gst_type_find_element_check_set_buffer_caps),
7640         (gst_type_find_element_init), (stop_typefinding),
7641         (gst_type_find_element_handle_event),
7642         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7643         * gst/elements/gsttypefindelement.h:
7644           Set caps on first outgoing buffer when we've found the type.
7645
7646 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7647
7648         * docs/gst/gstreamer-docs.sgml:
7649         * docs/gst/gstreamer-sections.txt:
7650         * docs/gst/tmpl/gstscheduler.sgml:
7651         * docs/gst/tmpl/gstschedulerfactory.sgml:
7652           Remove some old cruft from docs.
7653
7654 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7655
7656         * gst/gstpad.h:
7657           Fix inline docs for GstPadLinkReturn.
7658           
7659         * gst/gststructure.c: (gst_structure_has_name):
7660         * gst/gststructure.h:
7661         * docs/gst/gstreamer-sections.txt:
7662           New API: gst_structure_has_name().
7663
7664 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7665
7666         * configure.ac:
7667           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7668           and _LARGEFILE_SOURCE in config.h as required. Do not 
7669           export those flags in our .pc files any longer (#142209).
7670
7671           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7672
7673         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7674         (gst_file_sink_do_seek), (gst_file_sink_event),
7675         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7676           Redo seek/tell calls with large file support in mind; add some
7677           debugging messages; add log message that tells us when large
7678           file support is unavailable or not enabled for some reason.
7679
7680         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7681           Add log message that tells us when large file support 
7682           is unavailable or not enabled for some reason.
7683
7684 2005-07-29  Wim Taymans  <wim@fluendo.com>
7685
7686         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7687         Added test for removing an element with ghostpad from a bin.
7688         Fixed test as current implementation does the right thing.
7689
7690         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7691         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7692         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7693         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7694         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7695         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7696         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7697         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7698         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7699         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7700         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7701         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7702         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7703         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7704         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7705         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7706         * gst/gstghostpad.h:
7707         Clean up ghostpads, remove properties for internal stuff.
7708         Make threadsafe.
7709         Fix refcounting.
7710         Prepare for switching targets, not all use cases work yet.
7711
7712 2005-07-29  Wim Taymans  <wim@fluendo.com>
7713
7714         * docs/design/part-gstghostpad.txt:
7715         Small update.
7716
7717         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7718         (gst_bin_remove_func):
7719         Unlinking pads while holding the bin LOCK is not a good
7720         idea.
7721
7722         * gst/gstpad.c: (gst_pad_class_init),
7723         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7724         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7725         No prob setting template after creating the pad.
7726
7727 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7728
7729         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7730         (gst_bus_peek), (gst_bus_source_dispatch),
7731         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7732         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7733           gst_bus_poll may be called from other threads. Handle
7734           this nicely by not making poll_data disappear off the
7735           stack once gst_bus_poll returns.
7736           gst_bus_peek now increments the refcount on the returned
7737           message.
7738
7739 2005-07-29  Wim Taymans  <wim@fluendo.com>
7740
7741         * docs/design/part-gstghostpad.txt:
7742         Overview of current GhostPad datastructures and use
7743         cases for changing the target.
7744
7745 2005-07-28  Wim Taymans  <wim@fluendo.com>
7746
7747         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7748         Added checks for hierarchy consistency whan adding linked
7749         elements to bins.
7750
7751         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7752         Added check to test element scheduling without bin/pipeline.
7753
7754         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7755         First add elements to bin, then link.
7756         
7757         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7758         (gst_bin_remove_func):
7759         Unlink pads from elements added/removed from bin to maintain
7760         hierarchy consistency.
7761
7762 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7763
7764         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7765         (gst_base_transform_handle_buffer):
7766         * gst/base/gstbasetransform.h:
7767           Remove broken delay_configure (fixes renegotiation of software
7768           scaling pipelines); remove some leftover printf()s.
7769
7770 2005-07-28  Wim Taymans  <wim@fluendo.com>
7771
7772         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7773         Added some more tests for wrong hierarchy
7774
7775         * docs/design/part-overview.txt:
7776         Some updates.
7777
7778         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7779         Cleanups.
7780
7781         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7782         (gst_element_dispose):
7783         Some more cleanups.
7784
7785         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7786         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7787         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7788         (gst_pad_set_caps), (gst_pad_send_event):
7789         Check for correct hierarchy when linking pads. Moving to
7790         strict requirement for ghostpads when linking elements in
7791         different bins.
7792
7793         * gst/gstpad.h:
7794         Clean ups. Added WRONG_HIERARCHY return value.
7795
7796 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7797
7798         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7799           Better debug if no transform is possible.
7800
7801 2005-07-27  Wim Taymans  <wim@fluendo.com>
7802
7803         * docs/random/wtay/network-transp:
7804         Some old doc I had.
7805
7806 2005-07-27  Wim Taymans  <wim@fluendo.com>
7807
7808         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7809         (gst_dp_event_from_packet):
7810         Fix serialization of seek events.
7811
7812 2005-07-27  Wim Taymans  <wim@fluendo.com>
7813
7814         * check/gst-libs/gdp.c: (GST_START_TEST):
7815         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7816         Fix compilation and fix event serialization.
7817
7818 2005-07-27  Wim Taymans  <wim@fluendo.com>
7819
7820         * CHANGES-0.9:
7821         * docs/design/part-TODO.txt:
7822         * docs/design/part-events.txt:
7823         Some docs updates
7824
7825         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7826         (gst_base_sink_event), (gst_base_sink_do_sync),
7827         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7828         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7829         (gst_base_src_do_seek), (gst_base_src_event_handler),
7830         (gst_base_src_loop):
7831         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7832         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7833         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7834         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7835         (gst_base_transform_set_passthrough),
7836         (gst_base_transform_is_passthrough):
7837         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7838         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7839         Event updates.
7840
7841         * gst/gstbuffer.h:
7842         Use faster casts.
7843
7844         * gst/gstelement.c: (gst_element_seek):
7845         * gst/gstelement.h:
7846         Update gst_element_seek.
7847
7848         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7849         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7850         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7851         (gst_event_new_eos), (gst_event_new_newsegment),
7852         (gst_event_parse_newsegment), (gst_event_new_tag),
7853         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7854         (gst_event_parse_qos), (gst_event_new_seek),
7855         (gst_event_parse_seek), (gst_event_new_navigation):
7856         * gst/gstevent.h:
7857         Make GstEvent use GstStructure. Add parsing code, make sure the
7858         API is sufficiently generic.
7859         Mark possible directions of events and serialization.
7860
7861         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7862         (_gst_message_copy), (gst_message_new_segment_start),
7863         (gst_message_new_segment_done), (gst_message_new_custom),
7864         (gst_message_parse_segment_start),
7865         (gst_message_parse_segment_done):
7866         Small cleanups.
7867
7868         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7869         (gst_pad_set_caps), (gst_pad_send_event):
7870         Update for new events. 
7871         Catch events sent in wrong directions.
7872
7873         * gst/gstqueue.c: (gst_queue_link_src),
7874         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7875         (gst_queue_handle_src_query):
7876         Event updates.
7877
7878         * gst/gsttag.c:
7879         * gst/gsttag.h:
7880         Remove event code from this file.
7881
7882         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7883         (gst_dp_event_from_packet):
7884         Event updates.
7885
7886 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7887
7888         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7889         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7890         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7891           Make debugging actually useful.
7892
7893 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7894
7895         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7896         (gst_pad_fixate_caps):
7897           Implement default fixation once again, so that gst_pad_fixate()
7898           actually does anything at all. This probably needs to be some
7899           sort of a last resort, and use profile-based fixation first, but
7900           since that doesn't exist yet, this is the best we have. Fixes
7901           visualization in Totem.
7902
7903 2005-07-22  Wim Taymans  <wim@fluendo.com>
7904
7905         * docs/design/part-events.txt:
7906         Small update.
7907
7908         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7909         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7910         (gst_base_sink_activate_pull):
7911         Some more comments.
7912
7913         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7914         (gst_fake_src_create):
7915         Fix handoff marshall.
7916
7917         * gst/elements/gstidentity.c: (gst_identity_class_init),
7918         (gst_identity_transform_ip):
7919         We're a real inplace element.
7920
7921         * gst/gstbus.c: (gst_bus_post):
7922         Added some comments.
7923
7924         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7925         * tests/muxing/case1.c: (main):
7926         * tests/sched/dynamic-pipeline.c: (main):
7927         * tests/sched/interrupt1.c: (main):
7928         * tests/sched/interrupt2.c: (main):
7929         * tests/sched/interrupt3.c: (main):
7930         * tests/sched/runxml.c: (main):
7931         * tests/sched/sched-stress.c: (main):
7932         * tests/seeking/seeking1.c: (event_received), (main):
7933         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7934         (main):
7935         * tests/threadstate/threadstate3.c: (main):
7936         * tests/threadstate/threadstate4.c: (main):
7937         * tests/threadstate/threadstate5.c: (main):
7938         Fix the tests.
7939
7940 2005-07-21  Wim Taymans  <wim@fluendo.com>
7941
7942         * docs/design/part-seeking.txt:
7943         Some small additions.
7944
7945         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7946         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7947         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7948         * gst/base/gstbasesink.h:
7949         discont values are gint64, handle the math correctly.
7950
7951         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7952         Make the basesrc report error if the source pad is not linked.
7953
7954         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7955         (gst_queue_loop), (gst_queue_handle_src_query),
7956         (gst_queue_src_activate_push):
7957         Make queue collect data even if the srcpad is not linked.
7958         Start pushing out data as soon as it is linked.
7959
7960         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7961         * gst/gstutils.h:
7962         Added gst_flow_get_name() to ease error reporting.
7963
7964 2005-07-20  Wim Taymans  <wim@fluendo.com>
7965
7966         * gst/gstmessage.c: (gst_message_new_segment_start),
7967         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7968         (gst_message_parse_segment_done):
7969         * gst/gstmessage.h:
7970         Added a bunch of messages for advanced seeking.
7971
7972         * gst/parse/grammar.y:
7973         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7974         (gst_dpman_state_changed):
7975         Fix some new-pad -> pad-added signals
7976
7977 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7978
7979         * docs/manual/appendix-porting.xml:
7980         * docs/pwg/appendix-porting.xml:
7981           Document new-pad/state-change signal renames and the FixedList
7982           type rename.
7983
7984 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7985
7986         * docs/manual/advanced-autoplugging.xml:
7987         * docs/manual/basics-helloworld.xml:
7988         * docs/manual/basics-pads.xml:
7989         * docs/random/ds/0.9-suggested-changes:
7990         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7991         * gst/gstelement.h:
7992         * gst/gstevent.h:
7993         * gst/gstformat.h:
7994         * gst/gstquery.h:
7995         * gst/gststructure.c: (gst_structure_value_get_generic_type),
7996         (gst_structure_parse_array), (gst_structure_parse_value):
7997         * gst/gstvalue.c: (gst_type_is_fixed),
7998         (gst_value_list_prepend_value), (gst_value_list_append_value),
7999         (gst_value_list_get_size), (gst_value_list_get_value),
8000         (gst_value_transform_array_string), (gst_value_serialize_array),
8001         (gst_value_deserialize_array), (gst_value_intersect_array),
8002         (gst_value_is_fixed), (_gst_value_initialize):
8003         * gst/gstvalue.h:
8004           GstElement::new-pad -> pad-added, GstElement::state-change ->
8005           state-changed, GstValueFixedList -> GstValueArray, add format and
8006           flags as their own arguments in gst_element_seek() (should improve
8007           "bindeability"), remove function generators since they don't work
8008           under a whole bunch of compilers (they were deprecated already
8009           anyway).
8010
8011 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8012
8013         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8014         (_gst_debug_register_funcptr):
8015         * gst/gstinfo.h:
8016           Fix illegal cast on some platforms (#309253).
8017
8018 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8019
8020         * gst/gstmessage.c: (gst_message_new_custom):
8021         * gst/gstmessage.h:
8022           Add _new_custom, make _new_application a macro to _new_custom.
8023
8024 2005-07-20  Wim Taymans  <wim@fluendo.com>
8025
8026         * gst/base/gstbasesrc.c: (gst_base_src_init),
8027         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8028         * gst/base/gstbasesrc.h:
8029         Add a gboolean to decide when to push out a discont.
8030
8031         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8032         (gst_queue_loop), (gst_queue_handle_src_query),
8033         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8034         (gst_queue_set_property), (gst_queue_get_property):
8035         Some cleanups.
8036
8037         * tests/threadstate/threadstate1.c: (main):
8038         Make a thread test compile and run... very silly..
8039
8040
8041 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8042
8043         * docs/manual/appendix-porting.xml:
8044           Mention removal of libgstgconf-0.9.la and existence of gconf
8045           elements.
8046
8047 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8048
8049         * docs/pwg/advanced-clock.xml:
8050         * docs/pwg/appendix-porting.xml:
8051         * docs/pwg/intro-preface.xml:
8052         * docs/pwg/other-base.xml:
8053         * docs/pwg/other-manager.xml:
8054         * docs/pwg/other-nton.xml:
8055         * docs/pwg/other-ntoone.xml:
8056         * docs/pwg/other-oneton.xml:
8057         * docs/pwg/pwg.xml:
8058           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8059           demuxer), remove n-to-n (was never written), fix some code examples
8060           and links and update the porting section to include all this.
8061
8062 2005-07-19  Wim Taymans  <wim@fluendo.com>
8063
8064         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8065         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8066         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8067         (gst_queue_src_activate_push), (gst_queue_change_state),
8068         (gst_queue_get_property):
8069         * gst/gstqueue.h:
8070         Propagate GstFlowReturn more intelligently upstream and output
8071         an ERROR/EOS when streaming stopped due to fatal error.
8072
8073 2005-07-19  Wim Taymans  <wim@fluendo.com>
8074
8075         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8076         Don't block forever for the state change to complete, the
8077         pipeline already did with a sensible timeout.
8078
8079 2005-07-19  Wim Taymans  <wim@fluendo.com>
8080
8081         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8082         Make sure we never call the create function is we
8083         got deactivated.
8084
8085 2005-07-19  Andy Wingo  <wingo@pobox.com>
8086
8087         * gst/parse/parse.l: Attempt to solve bug #172815.
8088
8089 2005-07-19  Wim Taymans  <wim@fluendo.com>
8090
8091         * docs/design/part-clocks.txt:
8092         * docs/design/part-events.txt:
8093         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8094         Small docs updates.
8095         Only update the seeking values when we are not
8096         busy streaming.
8097
8098 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8099
8100         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8101           Oops, ignore the result of gst_pad_push_event here.
8102
8103 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8104
8105         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8106         (gst_base_src_activate_push):
8107           Send discont event from the loop function, as pads
8108           aren't activated yet in the activate_push handler.
8109
8110         * gst/gstbin.c: (bin_bus_handler):
8111           Don't leak element name.
8112
8113 2005-07-18  Andy Wingo  <wingo@pobox.com>
8114
8115         * configure.ac: Use AS_LIBTOOL_TAGS.
8116
8117 2005-07-18  Wim Taymans  <wim@fluendo.com>
8118
8119         * docs/gst/gstreamer.types:
8120         Remove deleted types.
8121
8122 2005-07-18  Wim Taymans  <wim@fluendo.com>
8123
8124         * check/elements/gstfakesrc.c: (GST_START_TEST):
8125         * configure.ac:
8126         * gst/Makefile.am:
8127         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8128         (init_popt_callback):
8129         * gst/gst.h:
8130         * gst/gst_private.h:
8131         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8132         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8133         * gst/gstbin.h:
8134         * gst/gstbus.h:
8135         * gst/gstconfig.h.in:
8136         * gst/gstelement.c: (gst_element_class_init),
8137         (gst_element_set_base_time), (gst_element_get_base_time),
8138         (iterator_fold_with_resync), (gst_element_change_state),
8139         (gst_element_dispose), (gst_element_get_bus):
8140         * gst/gstelement.h:
8141         * gst/gstelementfactory.h:
8142         * gst/gsterror.c: (_gst_core_errors_init):
8143         * gst/gsterror.h:
8144         * gst/gstevent.h:
8145         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8146         * gst/gstindex.c:
8147         * gst/gstinfo.c: (_gst_debug_init):
8148         * gst/gstmessage.c: (_gst_message_copy):
8149         * gst/gstmessage.h:
8150         * gst/gstminiobject.h:
8151         * gst/gstobject.c:
8152         * gst/gstobject.h:
8153         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8154         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8155         * gst/gstpad.h:
8156         * gst/gstparse.h:
8157         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8158         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8159         (gst_pipeline_get_last_stream_time):
8160         * gst/gstpipeline.h:
8161         * gst/gstpluginfeature.h:
8162         * gst/gstquery.h:
8163         * gst/gstscheduler.c:
8164         * gst/gstscheduler.h:
8165         * gst/gststructure.h:
8166         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8167         (gst_task_finalize), (gst_task_func), (gst_task_create),
8168         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8169         (gst_task_stop), (gst_task_pause):
8170         * gst/gsttask.h:
8171         * gst/gsttypefind.h:
8172         * gst/gsttypes.h:
8173         * gst/registries/gstlibxmlregistry.c: (load_feature),
8174         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8175         * gst/registries/gstxmlregistry.c:
8176         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8177         * gst/schedulers/threadscheduler.c:
8178         * libs/gst/control/dparammanager.h:
8179         * tools/gst-inspect.c: (print_element_list),
8180         (print_plugin_features), (print_element_features):
8181         * tools/gst-xmlinspect.c: (print_element_list),
8182         (print_plugin_info), (main):
8183         Removed plugable schedulers.
8184         Removed Scheduler/Manager from elements.
8185         Removed gsttypes.h, rearranged includes.
8186         Removed dependency pad<->element, element<>pipeline, and
8187         various others,  fix includes.
8188         implement gst_pad_get_parent() with gst_object_get_parent()
8189         Make GstTask sefcontained.
8190         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8191         timeout.
8192         Fix endless loop in iterator_fold_with_resync.
8193
8194
8195 2005-07-18  Wim Taymans  <wim@fluendo.com>
8196
8197         * gst/Makefile.am:
8198         * gst/gstarch.h:
8199         Remove old file.
8200
8201 2005-07-18  Wim Taymans  <wim@fluendo.com>
8202
8203         * gst/Makefile.am:
8204         No more cothreads.h
8205
8206 2005-07-18  Wim Taymans  <wim@fluendo.com>
8207
8208         * gst/cothreads.c:
8209         * gst/cothreads.h:
8210         Let's remove these.
8211
8212 2005-07-18  Wim Taymans  <wim@fluendo.com>
8213
8214         * docs/design/part-dynamic.txt:
8215         * docs/design/part-events.txt:
8216         * docs/design/part-seeking.txt:
8217         Some more docs in the works.
8218
8219         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8220         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8221         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8222         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8223         (gst_base_transform_handle_buffer),
8224         (gst_base_transform_sink_activate_push),
8225         (gst_base_transform_src_activate_pull),
8226         (gst_base_transform_set_passthrough),
8227         (gst_base_transform_is_passthrough):
8228         Refcounting fixes.
8229
8230         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8231         Cleanups.
8232
8233         * gst/gstevent.c: (gst_event_finalize):
8234         Set SRC to NULL.
8235
8236         * gst/gstutils.c: (gst_element_unlink),
8237         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8238         (gst_pad_proxy_setcaps):
8239         * gst/gstutils.h:
8240         Add _get_parent_element() to get a pads parent as an element.
8241
8242 2005-07-18  Wim Taymans  <wim@fluendo.com>
8243
8244         * check/gst/gstbin.c: (GST_START_TEST):
8245         Remove bogus test.
8246
8247 2005-07-18  Wim Taymans  <wim@fluendo.com>
8248
8249         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8250         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8251         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8252         (gst_base_sink_event), (gst_base_sink_do_sync),
8253         (gst_base_sink_chain), (gst_base_sink_loop),
8254         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8255         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8256         Refcounting fixes.
8257         Fix logic for returning ASYNC when not prerolled.
8258
8259 2005-07-18  Wim Taymans  <wim@fluendo.com>
8260
8261         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8262         Fix nasty refcount bug.
8263
8264 2005-07-16 Philippe Khalaf <burger@speedy.org>
8265
8266         * gst/elements/gstfdsrc.c:
8267         * gst/elements/gstfdsrc.h:
8268         * gst/elements/gstelements.c:
8269         * gst/elements/Makefile.am:
8270         Ported fdsrc to 0.9.
8271
8272 2005-07-16  Wim Taymans  <wim@fluendo.com>
8273
8274         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8275         (gst_base_sink_do_sync):
8276         Fix compile error.
8277
8278 2005-07-16  Wim Taymans  <wim@fluendo.com>
8279
8280         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8281         (gst_base_sink_event), (gst_base_sink_get_times),
8282         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8283         * gst/base/gstbasesink.h:
8284         Store and use discont values when syncing buffers as described
8285         in design docs.
8286         
8287         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8288         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8289         (gst_base_src_activate_push):
8290         Push discont event when starting.
8291
8292         * gst/elements/gstidentity.c: (gst_identity_transform):
8293         Small cleanups.
8294
8295         * gst/gstbin.c: (gst_bin_change_state):
8296         Small cleanups in base_time  distribution.
8297
8298         * gst/gstelement.c: (gst_element_set_base_time),
8299         (gst_element_get_base_time), (gst_element_change_state):
8300         * gst/gstelement.h:
8301         Added methods for the base_time of the element.
8302         Some MT fixes.
8303
8304         * gst/gstpipeline.c: (gst_pipeline_send_event),
8305         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8306         (gst_pipeline_get_last_stream_time):
8307         * gst/gstpipeline.h:
8308         MT fixes.
8309         Handle seeking as described in design doc, remove stream_time
8310         hack.
8311         Cleanups clock and stream_time selection code. Added accessors
8312         for the stream_time.
8313         
8314
8315 2005-07-16  Andy Wingo  <wingo@pobox.com>
8316
8317         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8318         (#305291).
8319
8320 2005-07-16  Wim Taymans  <wim@fluendo.com>
8321
8322         * check/gst/gstbin.c: (GST_START_TEST):
8323         Make elements silent as the deep_notify refs the
8324         parent, which might make the test fail.
8325
8326         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8327         Don't hold the lock for too long.
8328
8329 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8330
8331         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8332           Don't unref the caps we passed to gst_caps_make_writable() after
8333           passing them. gst_caps_make_writable() will do that for us.
8334
8335 2005-07-15  Andy Wingo  <wingo@pobox.com>
8336
8337         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8338         (#157311).
8339
8340         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8341         own marshalling function for the handoff signal. Properly type the
8342         buffer as a buffer. Fixes some warnings. Should do a more general
8343         solution.
8344         (gst_identity_class_init): Plug into the right marshaller.
8345
8346 2005-07-15  Wim Taymans  <wim@fluendo.com>
8347
8348         * docs/design/part-TODO.txt:
8349         * docs/design/part-clocks.txt:
8350         * docs/design/part-element-sink.txt:
8351         * docs/design/part-events.txt:
8352         * docs/design/part-gstpipeline.txt:
8353         Updated docs, mostly DISCONT related.
8354
8355 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8356
8357         * docs/pwg/building-pads.xml:
8358           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8359
8360 2005-07-15  Andy Wingo  <wingo@pobox.com>
8361
8362         * tools/gst-typefind.c: Update, add copyright block.
8363
8364         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8365         Normalize and truncate caps before fixation.
8366
8367         * gst/gstcaps.h:
8368         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8369         discards all but the first structure from its argument.
8370
8371 2005-07-15  Wim Taymans  <wim@fluendo.com>
8372
8373         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8374         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8375         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8376         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8377         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8378         (gst_base_transform_chain), (gst_base_transform_change_state),
8379         (gst_base_transform_set_passthrough),
8380         (gst_base_transform_is_passthrough):
8381         * gst/base/gstbasetransform.h:
8382         Make passthrough work using the bufferpools.
8383         Changed API a bit, subclasses have to write into a buffer
8384         provided by the base class.
8385         More debug info in nego functions.
8386         
8387         * gst/elements/gstidentity.c: (gst_identity_init),
8388         (gst_identity_transform):
8389         Port to new base class.
8390
8391 2005-07-15  Wim Taymans  <wim@fluendo.com>
8392
8393         * gst/gstmessage.c: (gst_message_new_state_changed):
8394         * tools/gst-launch.c: (event_loop), (main):
8395         Totally dump messages in -launch with the -m option.
8396         Fix message name for State messages,
8397
8398 2005-07-14  Wim Taymans  <wim@fluendo.com>
8399
8400         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8401         Post error messages on errors.
8402
8403 2005-07-14  Wim Taymans  <wim@fluendo.com>
8404
8405         * gst/gstcaps.c: (gst_caps_do_simplify):
8406         Remove debug info.
8407
8408         * gst/gsterror.h:
8409         Define error for stream stopped.
8410
8411         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8412         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8413         Do proper return values.
8414
8415         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8416         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8417         (gst_pad_get_range):
8418         Better return values.
8419
8420         * gst/gstpad.h:
8421         Reorganise return values, add macro to check for fatal errors.
8422
8423         * gst/gstqueue.c: (gst_queue_chain):
8424         Return proper GstFlowReturn values,
8425
8426 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8427
8428         * docs/gst/gstreamer-sections.txt:
8429         * docs/gst/gstreamer.types:
8430         * docs/gst/tmpl/gst.sgml:
8431         * docs/gst/tmpl/gstbasesink.sgml:
8432         * docs/gst/tmpl/gstbasesrc.sgml:
8433         * docs/gst/tmpl/gstbasetransform.sgml:
8434         * docs/gst/tmpl/gstbin.sgml:
8435         * docs/gst/tmpl/gstbuffer.sgml:
8436         * docs/gst/tmpl/gstcaps.sgml:
8437         * docs/gst/tmpl/gstclock.sgml:
8438         * docs/gst/tmpl/gstcompat.sgml:
8439         * docs/gst/tmpl/gstconfig.sgml:
8440         * docs/gst/tmpl/gstelement.sgml:
8441         * docs/gst/tmpl/gstelementdetails.sgml:
8442         * docs/gst/tmpl/gstelementfactory.sgml:
8443         * docs/gst/tmpl/gstenumtypes.sgml:
8444         * docs/gst/tmpl/gsterror.sgml:
8445         * docs/gst/tmpl/gstevent.sgml:
8446         * docs/gst/tmpl/gstfakesink.sgml:
8447         * docs/gst/tmpl/gstfakesrc.sgml:
8448         * docs/gst/tmpl/gstfilesink.sgml:
8449         * docs/gst/tmpl/gstfilesrc.sgml:
8450         * docs/gst/tmpl/gstfilter.sgml:
8451         * docs/gst/tmpl/gstformat.sgml:
8452         * docs/gst/tmpl/gstghostpad.sgml:
8453         * docs/gst/tmpl/gstimplementsinterface.sgml:
8454         * docs/gst/tmpl/gstindex.sgml:
8455         * docs/gst/tmpl/gstindexfactory.sgml:
8456         * docs/gst/tmpl/gstinfo.sgml:
8457         * docs/gst/tmpl/gstiterator.sgml:
8458         * docs/gst/tmpl/gstmacros.sgml:
8459         * docs/gst/tmpl/gstmemchunk.sgml:
8460         * docs/gst/tmpl/gstminiobject.sgml:
8461         * docs/gst/tmpl/gstobject.sgml:
8462         * docs/gst/tmpl/gstpad.sgml:
8463         * docs/gst/tmpl/gstpadtemplate.sgml:
8464         * docs/gst/tmpl/gstparse.sgml:
8465         * docs/gst/tmpl/gstpipeline.sgml:
8466         * docs/gst/tmpl/gstplugin.sgml:
8467         * docs/gst/tmpl/gstpluginfeature.sgml:
8468         * docs/gst/tmpl/gstquery.sgml:
8469         * docs/gst/tmpl/gstqueue.sgml:
8470         * docs/gst/tmpl/gstregistry.sgml:
8471         * docs/gst/tmpl/gstregistrypool.sgml:
8472         * docs/gst/tmpl/gstscheduler.sgml:
8473         * docs/gst/tmpl/gstschedulerfactory.sgml:
8474         * docs/gst/tmpl/gststructure.sgml:
8475         * docs/gst/tmpl/gstsystemclock.sgml:
8476         * docs/gst/tmpl/gsttaglist.sgml:
8477         * docs/gst/tmpl/gsttagsetter.sgml:
8478         * docs/gst/tmpl/gsttrace.sgml:
8479         * docs/gst/tmpl/gsttrashstack.sgml:
8480         * docs/gst/tmpl/gsttypefind.sgml:
8481         * docs/gst/tmpl/gsttypefindfactory.sgml:
8482         * docs/gst/tmpl/gsttypes.sgml:
8483         * docs/gst/tmpl/gsturihandler.sgml:
8484         * docs/gst/tmpl/gsturitype.sgml:
8485         * docs/gst/tmpl/gstutils.sgml:
8486         * docs/gst/tmpl/gstvalue.sgml:
8487         * docs/gst/tmpl/gstversion.sgml:
8488         * docs/gst/tmpl/gstxml.sgml:
8489         * docs/libs/tmpl/gstcontrol.sgml:
8490         * docs/libs/tmpl/gstdataprotocol.sgml:
8491         * docs/libs/tmpl/gstdparam.sgml:
8492         * docs/libs/tmpl/gstdplinint.sgml:
8493         * docs/libs/tmpl/gstdpman.sgml:
8494         * docs/libs/tmpl/gstdpsmooth.sgml:
8495         * docs/libs/tmpl/gstgetbits.sgml:
8496         * docs/libs/tmpl/gstunitconvert.sgml:
8497         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8498         (gst_push_src_base_init), (gst_push_src_class_init),
8499         (gst_push_src_init), (gst_push_src_create):
8500         * gst/base/gstpushsrc.h:
8501         * gst/elements/gstelements.c:
8502         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8503         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8504         (gst_fake_sink_init), (gst_fake_sink_set_property),
8505         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8506         (gst_fake_sink_event), (gst_fake_sink_preroll),
8507         (gst_fake_sink_render), (gst_fake_sink_change_state):
8508         * gst/elements/gstfakesink.h:
8509         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8510         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8511         (gst_fake_src_base_init), (gst_fake_src_class_init),
8512         (gst_fake_src_init), (gst_fake_src_event_handler),
8513         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8514         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8515         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8516         (gst_fake_src_create_buffer), (gst_fake_src_create),
8517         (gst_fake_src_start), (gst_fake_src_stop):
8518         * gst/elements/gstfakesrc.h:
8519         * gst/elements/gstfilesink.c: (_do_init),
8520         (gst_file_sink_base_init), (gst_file_sink_class_init),
8521         (gst_file_sink_init), (gst_file_sink_dispose),
8522         (gst_file_sink_set_location), (gst_file_sink_set_property),
8523         (gst_file_sink_get_property), (gst_file_sink_open_file),
8524         (gst_file_sink_close_file), (gst_file_sink_query),
8525         (gst_file_sink_event), (gst_file_sink_render),
8526         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8527         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8528         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8529         * gst/elements/gstfilesink.h:
8530         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8531         (gst_file_src_class_init), (gst_file_src_init),
8532         (gst_file_src_finalize), (gst_file_src_set_location),
8533         (gst_file_src_set_property), (gst_file_src_get_property),
8534         (gst_file_src_map_region), (gst_file_src_map_small_region),
8535         (gst_file_src_create_mmap), (gst_file_src_create_read),
8536         (gst_file_src_create), (gst_file_src_is_seekable),
8537         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8538         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8539         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8540         (gst_file_src_uri_handler_init):
8541         * gst/elements/gstfilesrc.h:
8542           more autistic cleanliness in functions/names/defines
8543
8544 2005-07-13  Andy Wingo  <wingo@pobox.com>
8545
8546         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8547         source couldn't negotiate.
8548
8549         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8550         connections again.
8551
8552         * gst/gstutils.h:
8553         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8554         function. I am channeling Hades. Put your boots on suckers!!!
8555
8556 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8557
8558         * testsuite/caps/Makefile.am:
8559         * testsuite/caps/value_compare.c:
8560         * testsuite/caps/value_intersect.c:
8561         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8562           move two testsuite apps over to the check dir
8563
8564 2005-07-12  Wim Taymans  <wim@fluendo.com>
8565
8566         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8567         Added more debug info in the negotiate process.
8568
8569         * gst/gstmessage.h:
8570         Prepare for segment playback.
8571
8572         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8573         Better debugging.
8574
8575         * gst/gstutils.c:
8576         Some more docs.
8577
8578         * tools/gst-launch.c: (main):
8579         NULL pipeline on errors.
8580
8581 2005-07-12  Andy Wingo  <wingo@pobox.com>
8582
8583         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8584         not it comes from a malloc region. Make sure our copy gets freed.
8585
8586 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8587
8588         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8589         * check/gst/gstmessage.c: (GST_START_TEST):
8590         * check/gst/gststructure.c: (GST_START_TEST),
8591         (gst_structure_suite), (main):
8592           more testing
8593         * gst/gstelement.c: (gst_element_message_full):
8594           clean up GError and debug string now that they get copied
8595         * gst/gstmessage.c: (gst_message_new_error),
8596         (gst_message_new_warning), (gst_message_parse_error),
8597         (gst_message_parse_warning):
8598           use GST_TYPE_G_ERROR for structure_new, and take copies of
8599           arguments, so that we don't mess up refcounting
8600
8601 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8602
8603         * check/Makefile.am:
8604           add per-test valgrind targets
8605         * check/gst-libs/gdp.c: (GST_START_TEST),
8606         (gst_data_protocol_suite), (main):
8607           clean up
8608
8609 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8610
8611         * check/Makefile.am:
8612           instate more valgrindable tests
8613         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8614         (GST_START_TEST), (fakesrc_suite):
8615         * check/gst/gstpad.c: (GST_START_TEST):
8616         * check/gst/gststructure.c: (GST_START_TEST):
8617           fix test leaks
8618         * docs/gst/tmpl/gstminiobject.sgml:
8619         * gst/gstpad.c: (gst_pad_finalize):
8620           fix the static mutex leak
8621
8622 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8623
8624         * check/Makefile.am:
8625           add two more tests for valgrinding
8626         * check/gst/gstvalue.c: (GST_START_TEST):
8627           test refcount of deserialized buffer, found a leak
8628         * docs/gst/gstreamer-docs.sgml:
8629         * docs/gst/gstreamer-sections.txt:
8630         * docs/gst/gstreamer.types:
8631         * docs/gst/tmpl/gstminiobject.sgml:
8632           add miniobject to docs
8633         * gst/gstminiobject.c:
8634           add some docs
8635         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8636         (gst_string_unwrap):
8637           fix a hard-to-find invalid write for one of the tests
8638           fix a leak for deserialized buffers
8639
8640 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8641
8642         * docs/pwg/advanced-events.xml:
8643         * docs/pwg/advanced-request.xml:
8644         * docs/pwg/advanced-scheduling.xml:
8645         * docs/pwg/appendix-porting.xml:
8646         * docs/pwg/building-boiler.xml:
8647         * docs/pwg/intro-preface.xml:
8648         * docs/pwg/other-ntoone.xml:
8649           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8650           of example code and explanation for pad activation, loop() and
8651           getrange() functions and a bit more. Remove old comments pointing
8652           to loop-functions.
8653         * examples/pwg/Makefile.am:
8654           Add loop/getrange examples.
8655
8656 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8657
8658         * configure.ac:
8659           check for valgrind binary + some fixes
8660         * check/gst.supp:
8661           valgrind suppressions for the tests
8662         * check/Makefile.am:
8663           add a valgrind: target that valgrinds the unit tests
8664         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8665         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8666         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8667         * check/gst/gstghostpad.c:
8668           added some cleanup
8669         * check/gst/gstdata.c:
8670           removed
8671         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8672         (thread_unref), (gst_mini_object_suite), (main):
8673           added
8674         * gst/gst.c: (gst_deinit):
8675         * gst/gst.h:
8676           add a method to clean up.
8677         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8678         (gst_system_clock_obtain):
8679           allow for disposing the system clock.
8680         * tools/gst-launch.c: (main):
8681           deinit
8682
8683 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8684
8685         * docs/gst/tmpl/gstbasesrc.sgml:
8686         * docs/gst/tmpl/gstfakesrc.sgml:
8687         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8688         (gst_base_src_init), (gst_base_src_set_property),
8689         (gst_base_src_get_property), (gst_base_src_get_range),
8690         (gst_base_src_start):
8691         * gst/base/gstbasesrc.h:
8692           add num-buffers property
8693         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8694         (gst_fakesrc_init), (gst_fakesrc_set_property),
8695         (gst_fakesrc_get_property), (gst_fakesrc_create),
8696         (gst_fakesrc_start):
8697           remove num-buffers property
8698
8699 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8700
8701         * docs/gst/gstreamer-sections.txt:
8702         * docs/gst/tmpl/gstbasesink.sgml:
8703         * docs/gst/tmpl/gstbasesrc.sgml:
8704         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8705         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8706         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8707         (gst_base_sink_set_property), (gst_base_sink_get_property),
8708         (gst_base_sink_handle_object), (gst_base_sink_event),
8709         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8710         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8711         (gst_base_sink_loop), (gst_base_sink_deactivate),
8712         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8713         (gst_base_sink_change_state):
8714         * gst/base/gstbasesink.h:
8715         * gst/base/gstbasesrc.h:
8716         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8717         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8718         (gst_filesink_init):
8719           more macro splitting
8720
8721 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8722
8723         * gst/gstelement.c: (gst_element_get_bus):
8724           add debug
8725         * tools/gst-launch.c: (check_intr), (event_loop):
8726           fix bus leaks
8727
8728 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8729
8730         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8731           fix a caps leak
8732
8733 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8734
8735         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8736         (gst_base_src_finalize):
8737           add finalize method and clean up properly
8738         * gst/gstpipeline.c: (gst_pipeline_dispose):
8739           add debug
8740
8741 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8742
8743         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8744         (gst_bin_suite):
8745           add more things to check
8746         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8747         * gst/gstelement.c:
8748           more debug
8749
8750 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8751
8752         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8753         (GST_START_TEST), (fakesrc_suite):
8754         * check/gst-libs/gdp.c: (GST_START_TEST):
8755         * check/gst/gst.c: (GST_START_TEST):
8756         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8757         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8758         * check/gst/gstbus.c: (GST_START_TEST):
8759         * check/gst/gstcaps.c: (GST_START_TEST):
8760         * check/gst/gstdata.c: (GST_START_TEST):
8761         * check/gst/gstelement.c: (GST_START_TEST):
8762         * check/gst/gstghostpad.c: (GST_START_TEST):
8763         * check/gst/gstiterator.c: (GST_START_TEST):
8764         * check/gst/gstmessage.c: (GST_START_TEST):
8765         * check/gst/gstobject.c: (GST_START_TEST):
8766         * check/gst/gstpad.c: (GST_START_TEST):
8767         * check/gst/gststructure.c: (GST_START_TEST):
8768         * check/gst/gstsystemclock.c: (GST_START_TEST),
8769         (gst_systemclock_suite):
8770         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8771         * check/gst/gstvalue.c: (GST_START_TEST):
8772         * check/pipelines/cleanup.c: (GST_START_TEST):
8773         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8774         * check/states/sinks.c: (GST_START_TEST):
8775         * check/gstcheck.c: (gst_check_init):
8776         * check/gstcheck.h:
8777           add debugging category
8778           use GST_START_TEST now, so we add a debug line
8779
8780 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8781
8782         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8783           add test for state change message on a bin
8784         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8785           add another test
8786         * gst/gstbin.c: (gst_bin_init):
8787         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8788         * gst/gstelement.c: (gst_element_post_message),
8789         (gst_element_set_state):
8790         * gst/gstelementfactory.c: (gst_element_factory_create):
8791         * gst/gstmessage.c: (gst_message_new):
8792         * gst/gstscheduler.c:
8793           various debugging additions and cleanups
8794
8795 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8796
8797         * check/Makefile.am:
8798         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8799         (main):
8800           adding tests for elements
8801         * gst/gstelement.c: (gst_element_dispose):
8802
8803 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8804
8805         * gst/registries/gstlibxmlregistry.c: (load_feature):
8806           plug more leaks.  A simple gst_init() now is leakfree, yay.
8807
8808 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8809
8810         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8811         (gst_xml_registry_load):
8812           plug another memleak
8813
8814 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8815
8816         * configure.ac:
8817           use GST_SET_ERROR_CFLAGS
8818         * docs/faq/cvs.xml:
8819           change to ERROR_CFLAGS
8820
8821 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8822
8823         * configure.ac:
8824           make GST_ERROR_CFLAGS overridable and re-enable Werror
8825         * docs/faq/cvs.xml:
8826           add a note about error CFLAGS
8827         * docs/gst/tmpl/gstfakesrc.sgml:
8828         * gst/elements/gstfakesrc.c:
8829           comment out some unused code
8830         * gst/gst.c: (split_and_iterate):
8831         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8832         (load_feature):
8833           plug some memleaks
8834
8835 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8836
8837         * common/Makefile.am:
8838         * common/gtk-doc.mak:
8839         * docs/gst/Makefile.am:
8840           factor out gtk-doc.mak
8841
8842 2005-07-07  Wim Taymans  <wim@fluendo.com>
8843
8844         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8845         (gst_thread_scheduler_dispose):
8846         Unlock the STREAM_LOCK completely.
8847
8848 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8849
8850         * check/Makefile.am:
8851         * check/elements/.cvsignore:
8852         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8853         (START_TEST), (fakesrc_suite), (main):
8854         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8855         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8856         (gst_fakesrc_create), (gst_fakesrc_start):
8857         * gst/elements/gstfakesrc.h:
8858           adding a first element test
8859
8860 2005-07-07  Andy Wingo  <wingo@pobox.com>
8861
8862         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8863         debug message.
8864
8865 2005-07-07  Wim Taymans  <wim@fluendo.com>
8866
8867         * gst/gstquery.c:
8868         * gst/gstquery.h:
8869         Remove old types
8870
8871 2005-07-07  Wim Taymans  <wim@fluendo.com>
8872
8873         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8874         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8875         Allow subclasses to implement their own negotiation.
8876
8877 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8878
8879         * docs/design/part-gstbin.txt:
8880         * docs/design/part-gstpipeline.txt:
8881           Update design notes to reflect the movement of
8882           responsibility for bus handling from GstPipeline to
8883           GstBin
8884
8885 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8886
8887         * configure.ac:
8888           Remove unnecessary queue2/3/4 examples.
8889
8890 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8891
8892         * examples/Makefile.am:
8893         * examples/helloworld/helloworld.c: (event_loop), (main):
8894         * examples/queue/queue.c: (event_loop), (main):
8895         * examples/queue2/queue2.c: (main):
8896           Update a couple of the examples to work again.
8897
8898         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8899         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8900          Spelling corrections and extra debug.
8901         
8902         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8903         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8904         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8905         * gst/gstbin.h:
8906         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8907         (gst_pipeline_change_state):
8908         * gst/gstpipeline.h:
8909           Move the bus handler for children to the GstBin, and create a
8910           separate bus for receiving messages from children to the one the
8911           bus sends 'upwards' on.
8912
8913 2005-07-06  Wim Taymans  <wim@fluendo.com>
8914
8915         * gst/base/README:
8916         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8917         (gst_base_sink_handle_object), (gst_base_sink_loop),
8918         (gst_base_sink_change_state):
8919         * gst/base/gstbasesink.h:
8920         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8921         (gst_base_src_init), (gst_base_src_setcaps),
8922         (gst_base_src_getcaps), (gst_base_src_loop),
8923         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8924         (gst_base_src_start), (gst_base_src_change_state):
8925         * gst/base/gstbasesrc.h:
8926         Make basesrc negotiate.
8927         Handle the case where preroll fails in basesink.
8928         Update README.
8929
8930 2005-07-06  Wim Taymans  <wim@fluendo.com>
8931
8932         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8933         Implement the fixate function.
8934         Clean up acceptcaps.
8935
8936 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8937
8938         * docs/pwg/building-filterfactory.xml:
8939         * docs/pwg/pwg.xml:
8940           Remove never-written filter-factory chapter; I'll add the various
8941           base classes to part 4 ("other element types") later on.
8942
8943 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8944
8945         * docs/pwg/advanced-negotiation.xml:
8946         * docs/pwg/building-boiler.xml:
8947         * docs/pwg/building-pads.xml:
8948         * docs/pwg/pwg.xml:
8949         * examples/pwg/Makefile.am:
8950           Add a chapter on caps negotiation, simplify the original code
8951           samples a bit w.r.t. caps negotiation, add link to the advanced
8952           section. Add a bunch of examples showing different use cases of
8953           different types of caps negotiation. Upstream renegotiation isn't
8954           fully documented yet since nobody knows how that works.
8955
8956 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8957
8958         * check/gst/gstpad.c:
8959         * check/gstcheck.c:
8960         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8961           if pad has no parent, return NULL as list of internal links
8962
8963 2005-07-05  Andy Wingo  <wingo@pobox.com>
8964
8965         * gst/elements/gstfilesrc.c:
8966         * gst/elements/gstfakesrc.c: 
8967         * gst/base/gstpushsrc.c:
8968         * gst/base/gstbasesrc.h: 
8969         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8970         
8971 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8972
8973         * Makefile.am:
8974           better report generation target (lcov needs a patch)
8975
8976 2005-07-05  Andy Wingo  <wingo@pobox.com>
8977
8978         * gst/elements, testsuite: Null if we got it...
8979
8980 2005-07-05  Wim Taymans  <wim@fluendo.com>
8981
8982         * configure.ac:
8983         * libs/gst/dataprotocol/Makefile.am:
8984         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8985         * libs/gst/dataprotocol/dataprotocol.h:
8986         * pkgconfig/Makefile.am:
8987         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8988         * pkgconfig/gstreamer-dataprotocol.pc.in:
8989         Ported dataprotol to 0.9. 
8990         Added pkgconfig files.
8991
8992 2005-07-05  Andy Wingo  <wingo@pobox.com>
8993
8994         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8995         Default to returning TRUE for the case when tranform_caps returns
8996         a fixed caps, like for identity or volume.
8997
8998         * check/gst/gstbus.c (pound_bus_with_messages): 
8999         * check/gst/gstmessage.c (START_TEST): 
9000         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9001         message API change.
9002
9003         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9004         logic weaks here: always run transform_caps, trying passthrough
9005         operation only if the original caps intersects with the transform.
9006
9007         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9008         source and sink caps.
9009
9010         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9011         Intersect the peer caps with the pad template before going into
9012         transform_caps.
9013         (gst_base_transform_transform_caps): More debugging.
9014
9015         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9016         src argument.
9017
9018 2005-07-04  Edward Hervey  <edward@fluendo.com>
9019
9020         * gst/gstutils.c:
9021         * gst/gstutils.h:
9022         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9023         in bindings.
9024
9025 2005-07-04  Andy Wingo  <wingo@pobox.com>
9026
9027         * check/gst/gstpad.c: Only set explicit caps on pads.
9028
9029 2005-07-01  Andy Wingo  <wingo@pobox.com>
9030
9031         * tests/network-clock.scm: Commentary update.
9032
9033         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9034         Didn't really make sense, not implementable with basetransform,
9035         etc.
9036         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9037         attempt at implementing the sync property, needs an unlock method.
9038
9039         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9040         New func, by default returns the same caps (the identity
9041         transformation).
9042         (gst_base_transform_getcaps): Uses transform_caps to return
9043         something sensible.
9044         (gst_base_transform_setcaps): Complicated logic to get caps on
9045         both pads, even if they are different, and to call set_caps once
9046         for every time both pads get their caps set.
9047         (gst_base_transform_handle_buffer): Give the ref to the transform
9048         function. Allows in-place modification of the buffer.
9049
9050         * gst/base/gstbasetransform.h (transform_caps): New class method.
9051         Given caps on one side, what can I do on the other.
9052         (set_caps): Take two caps, one for each side of the element.
9053
9054         * gst/gstpad.h:
9055         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9056         caps in place. This is safe because we can check the mutability of
9057         the caps, and a good idea because fixate functions are just called
9058         as a matter of last resort. (Not actually implemented.)
9059         (gst_pad_set_caps): If the caps we're setting is actually the same
9060         as the existing pad caps, just update the pointer without calling
9061         setcaps. Assert that caps is either NULL or fixed, as per the
9062         docs.
9063
9064         * gst/gstghostpad.c: Update for fixate changes.
9065
9066 2005-07-02  Andy Wingo  <wingo@pobox.com>
9067
9068         * gst/gstcaps.c:
9069         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9070         two refcounts makes it immutable, which is enough. Doc more.
9071
9072 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9073
9074         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9075           Put the mini_object into GValue as a mini_object,
9076           not a gpointer, since that's how we declared
9077           the signal.
9078
9079 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9080
9081         * examples/pwg/Makefile.am:
9082           Fix buildbot again.
9083
9084 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9085
9086         * docs/pwg/building-testapp.xml:
9087           Add extra check.
9088         * examples/pwg/Makefile.am:
9089           Fix buildbot.
9090
9091 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9092
9093         * configure.ac:
9094         * examples/Makefile.am:
9095         * examples/pwg/Makefile.am:
9096         * examples/pwg/extract.pl:
9097           Enable building the PWG examples.
9098         * docs/pwg/advanced-interfaces.xml:
9099           Add URI interface stub.
9100         * docs/pwg/advanced-types.xml:
9101         * docs/pwg/other-autoplugger.xml:
9102         * docs/pwg/appendix-porting.xml:
9103         * docs/pwg/pwg.xml:
9104           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9105         * docs/pwg/building-boiler.xml:
9106         * docs/pwg/building-chainfn.xml:
9107         * docs/pwg/building-pads.xml:
9108         * docs/pwg/building-props.xml:
9109         * docs/pwg/building-state.xml:
9110         * docs/pwg/building-testapp.xml:
9111           Update the building-*.xml parts for 0.9 changes. All examples
9112           code blocks compile in examples/pwg/*.
9113
9114 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9115
9116         * docs/manual/advanced-autoplugging.xml:
9117         * docs/manual/appendix-checklist.xml:
9118         * docs/manual/appendix-integration.xml:
9119         * docs/manual/highlevel-components.xml:
9120           Fix playbin/decodebin examples, update docs a bit, mention bus
9121           instead of signals in various places, mention kmplayer and
9122           kaffeine since they have a working GStreamer backend in the KDE
9123           section.
9124
9125 2005-06-30  Wim Taymans  <wim@fluendo.com>
9126
9127         * CHANGES-0.9:
9128         * docs/design/draft-ghostpads.txt:
9129         * docs/design/draft-push-pull.txt:
9130         * docs/design/draft-query.txt:
9131         * docs/design/part-TODO.txt:
9132         * docs/design/part-query.txt:
9133         Added CHANGES-0.9 doc, updated status of other docs.
9134         
9135         * gst/gstquery.h:
9136         Remove "hmm" macro
9137
9138 2005-06-30  Wim Taymans  <wim@fluendo.com>
9139
9140         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9141         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9142         (gst_base_sink_change_state):
9143         * gst/base/gstbasesink.h:
9144         Some tweaks, only EOS and a buffer complete a preroll.
9145
9146 2005-06-30  Andy Wingo  <wingo@pobox.com>
9147
9148         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9149         activate_push down to the internal pad as well.
9150
9151 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9152
9153         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9154
9155         * gst/gsttaginterface.c:
9156           Some documentation fixes (#307394 and #307397).
9157
9158 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9159
9160         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9161
9162         * gst/gstvalue.c: (gst_value_intersect_list):
9163           Fix memleak (#309125).
9164
9165 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9166
9167         * docs/manual/advanced-dataaccess.xml:
9168           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9169         * docs/manual/basics-pads.xml:
9170           Add reference for filtered caps to above chapter.
9171
9172 2005-06-30  Wim Taymans  <wim@fluendo.com>
9173
9174         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9175         (gst_bin_change_state):
9176         Probes are gone.
9177         Lame attempt at making the state change function a bit
9178         more readable.
9179
9180 2005-06-30  Wim Taymans  <wim@fluendo.com>
9181
9182         * docs/design/part-clocks.txt:
9183         * docs/design/part-element-sink.txt:
9184         * docs/design/part-events.txt:
9185         * docs/design/part-preroll.txt:
9186         * docs/design/part-states.txt:
9187         Some more tweeks and additions to the docs.
9188
9189 2005-06-30  Wim Taymans  <wim@fluendo.com>
9190
9191         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9192         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9193         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9194         (gst_pad_check_pull_range), (gst_pad_get_range),
9195         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9196         * gst/gstpad.h:
9197         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9198         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9199         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9200         (gst_pad_remove_buffer_probe):
9201         Removed atomic operations, use existing LOCK.
9202         Move exception handling out of main code path.
9203
9204 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9205
9206         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9207         (silly_return_true_function), (gst_pad_class_init),
9208         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9209         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9210         (gst_pad_send_event):
9211           Fix accumulator, add default value by using _emitv() instead
9212           of _emit() for signal emission.
9213
9214 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9215
9216         * docs/manual/advanced-dataaccess.xml:
9217         * examples/manual/Makefile.am:
9218           Add probe example.
9219         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9220           Make work (??).
9221
9222 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9223
9224         * gst/elements/gstfilesink.c: (gst_filesink_render):
9225           Simplify code so that we don't have to handle short
9226           writes and return GST_FLOW_ERROR if an error occured.
9227
9228 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9229
9230         * docs/gst/gstreamer-docs.sgml:
9231           Remove probes more.
9232
9233 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9234
9235         * docs/gst/gstreamer-sections.txt:
9236         * docs/gst/tmpl/gstpad.sgml:
9237         * docs/gst/tmpl/gstprobe.sgml:
9238         * gst/Makefile.am:
9239         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9240         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9241         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9242         (gst_pad_push_event), (gst_pad_send_event):
9243         * gst/gstpad.h:
9244         * gst/gstutils.c: (gst_pad_add_data_probe),
9245         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9246         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9247         (gst_pad_remove_buffer_probe):
9248         * gst/gstutils.h:
9249           Remove old probes, add new g-signal-based probes and some utility
9250           functions.
9251
9252 2005-06-29  Edward Hervey  <edward@fluendo.com>
9253
9254         * gst/gstelementfactory.c:
9255         * gst/gstutils.h:
9256         * gst/gstutils.c:
9257         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9258         the definition to the header file.
9259
9260 2005-06-29  Andy Wingo  <wingo@pobox.com>
9261
9262         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9263         plugins from the source directory.
9264
9265 2005-06-29  Wim Taymans  <wim@fluendo.com>
9266
9267         * docs/gst/tmpl/gstbuffer.sgml:
9268         * docs/gst/tmpl/gstclock.sgml:
9269         Some fixings for blantently wrong text.
9270
9271 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9272
9273         * check/Makefile.am:
9274         * gst/gst.c: (add_path_func), (init_pre):
9275         * gst/gstregistry.c: (gst_registry_add_path):
9276           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9277           only scan the GST_PLUGIN_PATH locations, and not add
9278           system locations
9279
9280 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9281
9282         * docs/gst/gstreamer-sections.txt:
9283         * docs/gst/tmpl/gstbasesrc.sgml:
9284         * gst/gstelement.c:
9285         * gst/gstelement.h:
9286         * gst/gstevent.c:
9287         * gst/gstutils.c:
9288           doc fixes
9289
9290 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9291
9292         * docs/manual/advanced-autoplugging.xml:
9293           Fix autoplugging example.
9294
9295 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9296
9297         * docs/manual/advanced-autoplugging.xml:
9298         * docs/manual/mime-world.fig:
9299           Try to get autoplugging working, fix type detection. Fix text
9300           in hello-world image.
9301
9302 2005-06-29  Wim Taymans  <wim@fluendo.com>
9303
9304         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9305         (gst_base_sink_change_state):
9306         Small debug line.
9307
9308         * gst/gstclock.h:
9309         map SIGNAL and BROADCAST to the right function.
9310
9311         * gst/gstobject.h:
9312         Remove redundant braces.
9313
9314         * gst/gstpad.c: (gst_pad_set_caps):
9315         Don't call setcaps function when reseting caps to NULL.
9316
9317         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9318         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9319         (gst_system_clock_id_unschedule):
9320         Use BROADCAST as this is what we do.
9321
9322 2005-06-29  Wim Taymans  <wim@fluendo.com>
9323
9324         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9325         We are actually prerolling before commiting the state
9326         change. 
9327
9328 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9329
9330         * docs/manual/advanced-clocks.xml:
9331         * docs/manual/advanced-interfaces.xml:
9332         * docs/manual/advanced-metadata.xml:
9333         * docs/manual/advanced-position.xml:
9334         * docs/manual/advanced-schedulers.xml:
9335         * docs/manual/advanced-threads.xml:
9336         * docs/manual/appendix-porting.xml:
9337         * docs/manual/basics-bins.xml:
9338         * docs/manual/basics-bus.xml:
9339         * docs/manual/basics-elements.xml:
9340         * docs/manual/basics-helloworld.xml:
9341         * docs/manual/basics-pads.xml:
9342         * docs/manual/highlevel-components.xml:
9343         * docs/manual/manual.xml:
9344         * docs/manual/thread.fig:
9345           Update (until threads/scheduling) Application Development Manual;
9346           remove GstThread, add GstBus, add simple porting checklist, add
9347           documentation for tag writing, clocks, make all examples until this
9348           part compile and run.
9349         * examples/manual/Makefile.am:
9350           Update from changes to Application Development Manual; add bus
9351           example, remove thread example.
9352
9353 2005-06-28  Wim Taymans  <wim@fluendo.com>
9354
9355         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9356         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9357         (gst_bus_source_dispatch):
9358         Add debugging messages.
9359         Make internal methods static.
9360         Handle the case where the bus is flushed in the handler.
9361         
9362         * gst/gstelement.c: (gst_element_get_bus):
9363         Fix refcount in _get_bus();
9364
9365         * gst/gstpipeline.c: (gst_pipeline_change_state),
9366         (gst_pipeline_get_clock_func):
9367         Clock refcounting fixes.
9368         Handle the case where preroll timed out more gracefully.
9369         
9370         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9371         Clean up the internal thread in dispose. This is needed
9372         for subclasses that actually get disposed.
9373         
9374         * gst/schedulers/threadscheduler.c:
9375         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9376         (gst_thread_scheduler_dispose):
9377         Free thread pool in dispose.
9378
9379 2005-06-28  Andy Wingo  <wingo@pobox.com>
9380
9381         * tests/network-clock-utils.scm (debug, print-event): New utils.
9382
9383         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9384         (*packet-loss*): Unified loss probability.
9385         (network-time): Report out-of-band events.
9386
9387         * tests/plot-data: Add support for out-of-band events. Hack it
9388         into this script instead of passing it down the pipe; should fix
9389         this later.
9390
9391 2005-06-28  Wim Taymans  <wim@fluendo.com>
9392
9393         * docs/gst/gstreamer.types:
9394         * docs/gst/tmpl/gstbasesrc.sgml:
9395         * docs/gst/tmpl/gstpad.sgml:
9396         Docs fixes.
9397
9398 2005-06-28  Wim Taymans  <wim@fluendo.com>
9399
9400         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9401         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9402         (gst_proxy_pad_do_fixatecaps):
9403         Correctly proxy the check_pull_range function.
9404
9405 2005-06-28  Andy Wingo  <wingo@pobox.com>
9406
9407         * tests/network-clock.scm: Removed need for slib.
9408         
9409 2005-06-28  Wim Taymans  <wim@fluendo.com>
9410
9411         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9412         (gst_basesink_preroll_queue_flush):
9413         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9414         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9415         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9416         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9417         (gst_proxy_pad_set_property):
9418         * gst/gstpad.c:
9419         * gst/gstpad.h:
9420         * gst/gstqueue.c: (gst_queue_init):
9421         The deprecated pad loop function is removed now.
9422
9423 2005-06-28  Andy Wingo  <wingo@pobox.com>
9424
9425         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9426         New parameters, simulate network packet loss.
9427
9428         * tests/network-clock-utils.scm: Initialize the RNG.
9429
9430 2005-06-28  Wim Taymans  <wim@fluendo.com>
9431
9432         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9433         (gst_basesink_event), (gst_basesink_deactivate):
9434         Flushing the preroll queue always needs to unlock the waiters.
9435
9436 2005-06-28  Edward Hervey  <edward@fluendo.com>
9437
9438         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9439         Wheen a seek was successful on a pipeline, set the stream_time to the
9440         seek offset in order to have a synchronized stream_time.
9441
9442 2005-06-28  Wim Taymans  <wim@fluendo.com>
9443
9444         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9445         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9446         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9447         (gst_proxy_pad_do_fixatecaps):
9448         Call wrapper function instead of just calling the function
9449         pointers. This takes care of any locking and whatmore.
9450
9451 2005-06-28  Wim Taymans  <wim@fluendo.com>
9452
9453         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9454         (gst_pad_pull_range):
9455         * gst/gstpad.h:
9456         CONNECTED -> LINKED.
9457
9458 2005-06-28  Andy Wingo  <wingo@pobox.com>
9459
9460         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9461         source-munging commit!!!
9462
9463         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9464         (gst_object_sink): Take gpointer arguments, not GstObject --
9465         avoids casts. Like GLib.
9466
9467         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9468         activate.
9469
9470 2005-06-27  Andy Wingo  <wingo@pobox.com>
9471
9472         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9473         remaining buffer.
9474
9475         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9476         returns a sorted copy of the trace list.
9477         (gst_alloc_trace_print_live): New API, only prints traces with
9478         live objects. Sort the list.
9479         (gst_alloc_trace_print_all): Sort the list.
9480         (gst_alloc_trace_print): Align columns.
9481
9482         * gst/elements/gstttypefindelement.c:
9483         * gst/elements/gsttee.c:
9484         * gst/base/gstbasesrc.c:
9485         * gst/base/gstbasesink.c:
9486         * gst/base/gstbasetransform.c:
9487         * gst/gstqueue.c: Adapt for pad activation changes.
9488
9489         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9490         sched.
9491         (gst_pipeline_dispose): Drop ref on sched.
9492
9493         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9494         (gst_pad_activate_default): Push mode by default.
9495         (pre_activate_switch, post_activate_switch): New stubs, things to
9496         do before and after switching activation modes on pads.
9497         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9498         the pad's activate function to choose which mode to activate.
9499         Shortcut on deactivation and call the right function directly.
9500         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9501         mode.
9502         (gst_pad_activate_push): New API, same for push mode.
9503         (gst_pad_set_activate_function) 
9504         (gst_pad_set_activatepull_function) 
9505         (gst_pad_set_activatepush_function): Setters for new API.
9506
9507         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9508         Trace all miniobjects.
9509         (gst_mini_object_make_writable): Unref the arg if we copy, like
9510         gst_caps_make_writable.
9511
9512         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9513
9514         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9515         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9516         Adapt for new pad API.
9517
9518         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9519
9520         * gst/gstelement.h:
9521         * gst/gstelement.c (gst_element_iterate_src_pads) 
9522         (gst_element_iterate_sink_pads): New API functions.
9523         
9524         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9525         should fold into gstiterator.c in some form.
9526         (gst_element_pads_activate): Simplified via use of fold and
9527         delegation of decisions to gstpad->activate.
9528
9529         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9530         help in debugging.
9531
9532         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9533         class once in init, like gstmessage. Didn't run into this issue
9534         but it seems correct. Don't initialize a trace, gstminiobject does
9535         that.
9536
9537         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9538         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9539         to the bus.
9540         (assert_live_count): New util function, uses alloc traces to check
9541         cleanup.
9542
9543         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9544         To be modified when unlink drops the internal pad.
9545
9546 2005-06-27  Wim Taymans  <wim@fluendo.com>
9547
9548         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9549         (gst_bin_change_state):
9550         Cleanup the get_state() function a little, make sure it
9551         iterates the same set of elements.
9552         Added stub iterate_state_order().
9553
9554 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9555
9556         * docs/gst/gstreamer-docs.sgml:
9557         * docs/gst/gstreamer-sections.txt:
9558         * docs/gst/gstreamer.types:
9559         * docs/gst/tmpl/gstbasesink.sgml:
9560         * docs/gst/tmpl/gstbasesrc.sgml:
9561         * docs/gst/tmpl/gstbasetransform.sgml:
9562         * docs/gst/tmpl/gstelement.sgml:
9563         * docs/gst/tmpl/gstiterator.sgml:
9564         * gst/base/gstbasesrc.c:
9565         * gst/base/gstbasesrc.h:
9566         * gst/base/gstbasetransform.h:
9567         * gst/gstelement.c:
9568         * gst/gstiterator.h:
9569           adding basetransform and iterator docs
9570
9571 2005-06-27  Andy Wingo  <wingo@pobox.com>
9572
9573         * docs/design/part-activation.txt: Notes on how activation should
9574         work -- not quite implemented yet.
9575
9576 2005-06-25  Wim Taymans  <wim@fluendo.com>
9577
9578         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9579         At least get the chain function correct, needs more
9580         fixing.
9581
9582 2005-06-25  Wim Taymans  <wim@fluendo.com>
9583
9584         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9585         (gst_basesink_handle_object), (gst_basesink_event),
9586         (gst_basesink_do_sync), (gst_basesink_handle_event),
9587         (gst_basesink_change_state):
9588         * gst/gsttask.h:
9589         Right, two problems here: ghostpads don't take locks and
9590         glib _rec_mutex_lock_full() with depth==0 still locks.
9591         Catch illegal locking and g_warn them.
9592
9593 2005-06-25  Wim Taymans  <wim@fluendo.com>
9594
9595         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9596         Have to check for completion now...
9597
9598 2005-06-25  Wim Taymans  <wim@fluendo.com>
9599
9600         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9601         (gst_basesink_handle_object), (gst_basesink_event),
9602         (gst_basesink_do_sync), (gst_basesink_handle_event),
9603         (gst_basesink_change_state):
9604         * gst/gstpad.h:
9605         Unlock STREAM_LOCK whatever the recursion was.
9606
9607 2005-06-25  Wim Taymans  <wim@fluendo.com>
9608
9609         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9610         (gst_basesink_preroll_queue_empty),
9611         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9612         (gst_basesink_event), (gst_basesink_do_sync),
9613         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9614         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9615         (gst_basesink_change_state):
9616         Reworked the base sink, handle event and buffer serialisation
9617         correctly and removed possible deadlock.
9618         Handle EOS correctly.
9619
9620 2005-06-25  Wim Taymans  <wim@fluendo.com>
9621
9622         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9623         (gst_pipeline_change_state):
9624         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9625         Allow elements to post EOS in the state change function.
9626         Fix up -launch, make it exit the poll loop when the
9627         pipeline actually changed state.
9628         Fix up warning parsing in -launch.
9629
9630 2005-06-25  Wim Taymans  <wim@fluendo.com>
9631
9632         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9633         (gst_tee_sink_activate):
9634         Core takes STREAM_LOCK for us now.
9635
9636 2005-06-25  Wim Taymans  <wim@fluendo.com>
9637
9638         * gst/gstelement.c: (gst_element_get_state_func),
9639         (gst_element_set_state):
9640         * gst/gstelement.h:
9641         * gst/gstmessage.c: (gst_message_parse_error),
9642         (gst_message_parse_warning):
9643         Keep track of current target state while performing a state
9644         change so that subclasses can do something interesting.
9645         Fix parsing of warning/error messages when GError is NULL.
9646
9647 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9648
9649         * docs/gst/Makefile.am:
9650         * docs/gst/gstreamer-docs.sgml:
9651         * docs/gst/gstreamer-sections.txt:
9652         * docs/gst/gstreamer.types:
9653         * docs/gst/tmpl/gstbasesink.sgml:
9654         * docs/gst/tmpl/gstbasesrc.sgml:
9655         * docs/gst/tmpl/gstbin.sgml:
9656         * docs/gst/tmpl/gstcompat.sgml:
9657         * docs/gst/tmpl/gstfakesink.sgml:
9658         * docs/gst/tmpl/gstfakesrc.sgml:
9659         * docs/gst/tmpl/gstfilesink.sgml:
9660         * docs/gst/tmpl/gstfilesrc.sgml:
9661         * docs/gst/tmpl/gstindex.sgml:
9662         * docs/manual/appendix-quotes.xml:
9663         * gst/base/gstbasesrc.h:
9664         * gst/elements/gstfakesrc.h:
9665         * gst/gstmessage.h:
9666           start pulling in base classes and elements in our docs
9667
9668 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9669
9670         * docs/gst/Makefile.am:
9671         * docs/libs/Makefile.am:
9672           fixed make distcheck with gtk-doc 1.3
9673
9674 2005-06-23  Wim Taymans  <wim@fluendo.com>
9675
9676         * gst/gstelement.c: (gst_element_get_state_func),
9677         (gst_element_set_state), (gst_element_change_state):
9678         When the state did not change, also report NO_PREROLL
9679         when it matters.
9680
9681 2005-06-23  Wim Taymans  <wim@fluendo.com>
9682
9683         * gst/gstpad.c: (gst_pad_event_default):
9684         * gst/gstqueue.c: (gst_queue_loop):
9685         No unsafe task pausing please.
9686
9687 2005-06-23  Wim Taymans  <wim@fluendo.com>
9688
9689         * gst/schedulers/threadscheduler.c:
9690         (gst_thread_scheduler_task_start),
9691         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9692         Ref the task before pushing it on the threadpool. This
9693         makes sure that we have a ref when the threadfunction is
9694         actually called.
9695
9696 2005-06-23  Andy Wingo  <wingo@pobox.com>
9697
9698         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9699         offset is greater than the file's size.
9700
9701         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9702         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9703         * gst/gstobject.c (gst_object_class_init): Make the class lock
9704         recursive. Wim won't let me drop deep_notify. Decodebin works
9705         again, whoopdy doo.
9706
9707         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9708         internal pad, and hacks accordingly. Doesn't do it on the target
9709         pad because we change its caps. Probably catches all cases of
9710         interest tho.
9711         (gst_ghost_pad_set_property): Connect to notify::caps as
9712         appropritate.
9713
9714         * tests/network-clock.scm (plot-simulation): Pipe data to the
9715         elite python skript.
9716
9717         * tests/network-clock-utils.scm (define-parameter): New macro,
9718         defines a parameter that can be set via the command line.
9719         (set-parameter!, parse-parameter-arguments): Command line args
9720         parser.
9721
9722         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9723         stdin.
9724
9725 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9726
9727         * gst/elements/gsttypefindelement.c:
9728         (gst_type_find_element_handle_event):
9729           Don't restart typefinding on a discont.
9730         * gst/gstelement.c: (gst_element_set_state):
9731           Debug spelling fix.
9732         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9733           Allow changing mode of an active pad.
9734           Debug output fixes.
9735         * gst/registries/gstlibxmlregistry.c: (load_feature):
9736           Don't cast a static pad template to a normal pad template.
9737
9738 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9739
9740         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9741         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9742           remove gst_strtoll completely, since it didn't actually do
9743           anything more than what g_ascii_strtoull already does.
9744           check for range errors when deserializing
9745           do a cast for the unsigned cases; but further fixing needs
9746           a decision on what the interpretation of "(int)" and
9747           deserialization should be for values that fall outside the
9748           type's boundaries (ie, refuse, or interpret as casting)
9749
9750 2005-06-23  Wim Taymans  <wim@fluendo.com>
9751
9752         * check/Makefile.am:
9753         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9754         * docs/design/part-live-source.txt:
9755         * docs/design/part-states.txt:
9756         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9757         (gst_basesrc_set_live), (gst_basesrc_is_live),
9758         (gst_basesrc_get_range), (gst_basesrc_activate),
9759         (gst_basesrc_change_state):
9760         * gst/base/gstbasesrc.h:
9761         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9762         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9763         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9764         * gst/gstelement.c: (gst_element_get_state_func),
9765         (gst_element_set_state):
9766         * gst/gstelement.h:
9767         * gst/gsttypes.h:
9768         * tools/gst-launch.c: (event_loop), (main):
9769         Added support for live sources and other elements that
9770         cannot do preroll.
9771         Updated design docs, added live-source design doc.
9772         Implemented live source functionality in basesrc
9773         Fix error condition in _bin_get_state()
9774         Implement live source handling in -launch.
9775         Added check for live sources.
9776         Fixed case in GstBin where elements were changed state
9777         multiple times.
9778
9779
9780 2005-06-23  Andy Wingo  <wingo@pobox.com>
9781
9782         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9783         borken refcounting.
9784
9785         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9786         gst_caps_replace takes care of this for us.
9787
9788         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9789         gst_pad_set_caps on the target, not just its setcaps() function.
9790
9791         * tests/network-clock.scm: 
9792         * tests/network-clock-utils.scm: A network clock simulator.
9793         Something of an algorithmic testbed before doing something in C.
9794
9795 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9796
9797         * check/Makefile.am:
9798         * check/gst/capslist.h:
9799           copy over from 0.8, and add two with bitmasks specified with
9800           (int) 0xFF...
9801         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9802           add test to parse everything from capslist.h
9803         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9804         (main):
9805           add test for structure deserialization
9806         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9807           add tests for deserialization of strings to int types
9808         * gst/gststructure.c: (gst_structure_nth_field_name):
9809         * gst/gststructure.h:
9810           add a way to get the name of a field referenced by index
9811         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9812           instead of checking if the resulting long long lies between
9813           min and max, we check if the long long would fit into
9814           a number of bytes for the final type.
9815           This fixes cases where a string represents 2^32 - 1, which
9816           when cast to int would be the (valid) -1, but is bigger than
9817           G_MAXINT
9818
9819 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9820
9821         * gst/parse/grammar.y:
9822           add a log line for type deserialization
9823
9824 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9825
9826         * check/gst/gstvalue.c: (START_TEST):
9827         * gst/gstvalue.c: (gst_value_deserialize):
9828           return long long, not int, so gint64 deserialization actually
9829           works.  Is there any flag that makes the compiler check this ?
9830           Fixes #308559
9831
9832 2005-06-22  Wim Taymans  <wim@fluendo.com>
9833
9834         * gst/gstbuffer.h:
9835         Added convenience macros for setting buffers in GValue.
9836
9837 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9838
9839         * check/gst/.cvsignore:
9840         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9841           add a test deserializing int64, and comment part out because
9842           it fails, yay !
9843
9844 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9845
9846         * check/Makefile.am:
9847         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9848         * testsuite/Makefile.am:
9849         * testsuite/caps/Makefile.am:
9850         * testsuite/caps/value_serialize.c:
9851         * testsuite/test_gst_init.c:
9852           move a value_serialize test over
9853
9854 2005-06-20  Wim Taymans  <wim@fluendo.com>
9855
9856         * gst/gstpad.c:
9857         Small doc updates.
9858         
9859         * gst/gstvalue.c: (gst_value_compare_buffer),
9860         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9861         (gst_value_compare_flags), (gst_value_serialize_flags),
9862         (gst_value_deserialize_flags), (_gst_value_initialize):
9863         Fix serialisation of buffers, they are not boxed types anymore
9864
9865 2005-06-20  Wim Taymans  <wim@fluendo.com>
9866
9867         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9868         Testcase to show error in buffer-on-caps serialisation.
9869
9870 2005-06-20  Andy Wingo  <wingo@pobox.com>
9871
9872         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9873         will be adding to later.
9874
9875         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9876         if its socks fill with rocks.
9877         (gst_system_clock_obtain): Set the name on object construction.
9878         Avoid double-checked locking.
9879
9880 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9881
9882         * gst/gsturi.c: (gst_element_make_from_uri):
9883           Fix potential endless loop.
9884
9885 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9886
9887         * check/Makefile.am:
9888           add gsttag
9889         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9890         (main):
9891           move over from testsuite dir and clean up
9892         * configure.ac:
9893         * gst/gsttag.c:
9894         * testsuite/Makefile.am:
9895         * testsuite/tags/.cvsignore:
9896         * testsuite/tags/Makefile.am:
9897         * testsuite/tags/merge.c:
9898           remove testsuite/tags
9899
9900 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9901
9902         * docs/gst/gstreamer-sections.txt:
9903         * docs/gst/tmpl/gstenumtypes.sgml:
9904         * win32/gstenumtypes.c:
9905           clean up documentation build a little
9906
9907 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9908
9909         * check/gstcheck.h:
9910           add macros for checking refcounts on objects and caps
9911         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9912           add some more unit tests
9913         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9914         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9915           fix leaked refcounts (I hope :)) so unittest works
9916         * gst/gstpad.h:
9917           whitespace removal
9918
9919 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9920
9921         * configure.ac: back to HEAD
9922
9923 === release 0.9.1 ===
9924
9925 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9926
9927         * NEWS:
9928         * RELEASE:
9929           updated
9930
9931 2005-06-17  Andy Wingo  <wingo@pobox.com>
9932
9933         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9934         assert; it's always possible that the pad gets deactivated in
9935         between the checks in gstpad.c and the implementation. Rely on
9936         finish_preroll() to return a FLUSHING or similar instead of on the
9937         assert.
9938         
9939         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9940         clock and post an EOS message if we come out of finish_preroll in
9941         the playing state.
9942
9943 2005-06-16  David Schleef  <ds@schleef.org>
9944
9945         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9946         (gst_capsfilter_set_property): Allow NULL as possible value
9947         for filter_caps property, indicating GST_CAPS_ANY.
9948
9949 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9950
9951         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9952           fix debug output
9953         * gst/schedulers/Makefile.am:
9954           use libgst prefix
9955         * gstreamer.spec.in:
9956           fix spec for it
9957
9958 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9959
9960         * gstreamer.spec.in:
9961           clean up
9962
9963 2005-06-08  Andy Wingo  <wingo@pobox.com>
9964
9965         * gst/gstutils.c: RPAD fixes all around.
9966         (gst_element_link_pads): Refcounting fixes.
9967
9968         * tools/gst-inspect.c:
9969         * tools/gst-xmlinspect.c:
9970         * parse/grammar.y:
9971         * gst/base/gsttypefindhelper.c:
9972         * gst/base/gstbasesink.c:
9973         * gst/gstqueue.c: RPAD fixes.
9974
9975         * gst/gstghostpad.h:
9976         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9977         pads. The tricky thing is they provide both source and sink
9978         interfaces, since they proxy the internal pad for the external
9979         pad, and vice versa. Implement with lower-level ProxyPad objects,
9980         with the interior proxy pad as a child of the exterior ghost pad.
9981         Should write a doc on this.
9982         
9983         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9984         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9985         gst_object API.
9986         
9987         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9988         pads are real pads. No ghost pads in this file. Not documenting
9989         the myriad s/RPAD/PAD/ and REALIZE fixes.
9990         (gst_pad_class_init): Add properties for "direction" and
9991         "template". Both are construct-only, so they can't change during
9992         the life of the pad. Fixes properly deriving from GstPad.
9993         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9994         derived objects, just set properties when creating the objects via
9995         g_object_new.
9996         (gst_pad_get_parent): Implement as a function, return NULL if the
9997         parent is not an element.
9998         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9999         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10000         
10001         * gst/gstobject.c (gst_object_class_init): Make name a construct
10002         property. Don't set it in the object init.
10003
10004         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10005         with UNKNOWN direction.
10006         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10007         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10008         (gst_element_remove_pad): Remove ghost-pad special cases.
10009         (gst_element_pads_activate): Remove rpad cruft.
10010
10011         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10012         catch the pad's-parent-not-an-element case.
10013
10014         * gst/gst.h: Include gstghostpad.h.
10015
10016         * gst/gst.c (init_post): No more real, ghost pads.
10017
10018         * gst/Makefile.am: Add gstghostpad.[ch].
10019
10020         * check/Makefile.am:
10021         * check/gst/gstbin.c:
10022         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10023         into a bin creates ghost pads, and that the refcounts are right.
10024         Partly moved from gstbin.c.
10025
10026 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10027
10028         * check/gst-libs/.cvsignore:
10029         * check/gst/.cvsignore:
10030         * check/pipelines/.cvsignore:
10031           ignore more
10032         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10033         (START_TEST), (cleanup_suite), (main):
10034           add some tests related to cleanup after running pipelines
10035
10036 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10037
10038         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10039           add a testsuite for GstBuffer
10040
10041 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10042
10043         * gst/gstminiobject.h:
10044           add defines for accessing the refcount
10045
10046 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10047
10048         * Makefile.am: added support for html unit test coverage reports
10049
10050 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10051
10052         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10053           Free existing caps if the capsfilter changes. Add a FIXME about
10054           setting those caps on the pads.
10055
10056         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10057           Before adding a ghost pad to a parent bin, check that there isn't
10058           already one for the element on the bin. Prevents infinite recursion
10059           when using decodebin in parse pipelines. Andy says he'll rewrite the
10060           way this works anyway, so ignore the hack.
10061
10062 2005-06-02  Andy Wingo  <wingo@pobox.com>
10063
10064         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10065         file size, pass it on to the type find helper.
10066
10067         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10068         segment_start and segment_end properly according to the seek
10069         method. Segment_end is still a bit flaky because offset can be
10070         negative for CUR and END cases, but it takes -1 as an "unset"
10071         value.
10072
10073 2005-06-02  Wim Taymans  <wim@fluendo.com>
10074
10075         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10076         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10077         (gst_basesink_activate):
10078         * gst/base/gstbasesink.h:
10079         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10080         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10081         (gst_pad_query), (gst_pad_start_task):
10082         * gst/gstpad.h:
10083         * gst/gstqueue.c: (gst_queue_bufferalloc),
10084         (gst_queue_handle_sink_event), (gst_queue_chain):
10085         Bufferalloc: return GstFlowReturn to more accuratly report
10086         why allocation failed.
10087
10088 2005-06-02  Wim Taymans  <wim@fluendo.com>
10089
10090         * gst/gstpipeline.c: (gst_pipeline_send_event):
10091         Take snapshot of state without blocking.
10092
10093 2005-06-02  Wim Taymans  <wim@fluendo.com>
10094
10095         * docs/design/part-TODO.txt:
10096         * docs/design/part-caps.txt:
10097         * docs/design/part-clocks.txt:
10098         * docs/design/part-negotiation.txt:
10099         * docs/design/part-preroll.txt:
10100         Small doc updates 
10101
10102 2005-05-30  Wim Taymans  <wim@fluendo.com>
10103
10104         * gst/elements/gstidentity.c: (gst_identity_event),
10105         (gst_identity_transform), (gst_identity_get_property):
10106         Protect last_message property as it is accessed from
10107         multiple threads.
10108
10109 2005-05-30  Wim Taymans  <wim@fluendo.com>
10110
10111         * gst/gstelement.c: (gst_element_init),
10112         (gst_element_pads_activate), (gst_element_change_state):
10113         Slicker pad activation code.
10114
10115 2005-05-30  Wim Taymans  <wim@fluendo.com>
10116
10117         * gst/Makefile.am:
10118         * gst/gstelement.h:
10119         * gst/gstelementfactory.h:
10120         * gst/gsttypes.h:
10121         Move elementfactory methods to separate .h file.
10122
10123 2005-05-30  Wim Taymans  <wim@fluendo.com>
10124
10125         * docs/design/part-overview.txt:
10126         * gst/gstsystemclock.h:
10127         Small typo fixes, doc updates.
10128
10129 2005-05-30  Wim Taymans  <wim@fluendo.com>
10130
10131         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10132         (init_popt_callback):
10133         Remove cpu-opt flag.
10134
10135 2005-05-30  Wim Taymans  <wim@fluendo.com>
10136
10137         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10138         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10139         * gst/gstbuffer.h:
10140         Avoid typechecking in places where not needed.
10141         Added accessor for malloc_data.
10142
10143 2005-05-30  Wim Taymans  <wim@fluendo.com>
10144
10145         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10146         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10147         (gst_pad_configure_sink), (gst_pad_configure_src),
10148         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10149         (gst_pad_start_task):
10150         Propagate errors from _set_caps() in configure_src/sink
10151         functions instead of returning TRUE.
10152         FLUSH events can travel up and downstream
10153
10154
10155 2005-05-30  Wim Taymans  <wim@fluendo.com>
10156
10157         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10158         (gst_basesink_activate):
10159         Handle EOS in preroll.
10160
10161 2005-05-30  Wim Taymans  <wim@fluendo.com>
10162
10163         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10164         (gst_queue_loop), (gst_queue_handle_src_event):
10165         Remove old pieces of code
10166         Flushing the queue in an upstream event is a very bad idea.
10167
10168 2005-05-26  Andy Wingo  <wingo@pobox.com>
10169
10170         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10171         gst_value_set_mini_object so as to add a ref on the object (which
10172         will be removed when the value is unset).
10173
10174         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10175         arg type in ::handoff.
10176
10177         * gst/gstelement.c (gst_element_change_state): Also deactivate
10178         pads in READY->NULL, just in case the element didn't make it to
10179         PAUSED. Wingo tested, Wim approved.
10180
10181 2005-05-26  Wim Taymans  <wim@fluendo.com>
10182
10183         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10184         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10185         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10186         A flushing pad cannot be used to alloc_buffer from.
10187
10188 2005-05-26  Wim Taymans  <wim@fluendo.com>
10189
10190         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10191         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10192         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10193         (gst_bus_create_watch), (gst_bus_add_watch_full):
10194         * gst/gstbus.h:
10195         Implement a real GSource and use g_main_context_wakeup() to
10196         signal new messages instead of the socketpair.
10197
10198 2005-05-25  Wim Taymans  <wim@fluendo.com>
10199
10200         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10201         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10202         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10203         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10204         (gst_pad_send_event), (gst_pad_start_task):
10205         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10206         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10207         (gst_queue_sink_activate), (gst_queue_src_activate),
10208         (gst_queue_change_state):
10209         * gst/gstqueue.h:
10210         Fix state changes for non sinks. We now change sinks, then elements
10211         with unconnected srcpads, then the rest.
10212         More efficient queue unlocking in flush and state changes.
10213         Set the pad activate mode even if it does not have an activate
10214         function.
10215
10216 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10217
10218         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10219           Don't go in pull mode for non-seekable sources.
10220         * gst/elements/gsttypefindelement.h:
10221         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10222         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10223         (free_entry), (stop_typefinding),
10224         (gst_type_find_element_handle_event), (find_peek),
10225         (gst_type_find_element_chain), (do_pull_typefind),
10226         (gst_type_find_element_change_state):
10227           Allow typefinding (w/o seeking) in push-mode, simplified version
10228           of what was in 0.8.
10229         * gst/gstutils.c: (gst_buffer_join):
10230         * gst/gstutils.h:
10231           gst_buffer_join() from 0.8.
10232
10233 2005-05-25  Wim Taymans  <wim@fluendo.com>
10234
10235         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10236         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10237         (gst_pad_send_event), (gst_pad_start_task):
10238         Disable attempt at mode switching until it is figured out.
10239
10240 2005-05-25  Wim Taymans  <wim@fluendo.com>
10241
10242         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10243         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10244         (gst_basesink_finish_preroll), (gst_basesink_chain),
10245         (gst_basesink_loop), (gst_basesink_activate),
10246         (gst_basesink_change_state):
10247         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10248         (gst_basesrc_get_range), (gst_basesrc_loop),
10249         (gst_basesrc_activate):
10250         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10251         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10252         (gst_real_pad_init), (gst_real_pad_set_property),
10253         (gst_real_pad_get_property), (gst_pad_set_active),
10254         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10255         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10256         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10257         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10258         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10259         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10260         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10261         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10262         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10263         (gst_pad_stop_task):
10264         * gst/gstpad.h:
10265         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10266         (gst_queue_loop), (gst_queue_src_activate):
10267         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10268         (gst_task_get_state):
10269         * gst/gsttask.h:
10270         * gst/schedulers/threadscheduler.c:
10271         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10272         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10273         in task function.
10274         Remove ACTIVE pad flag, use FLUSHING everywhere
10275         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10276         functions.
10277         Add locks around IS_FLUSHING when reading.
10278         Take STREAM lock in chain(), get_range() functions so plugins
10279         don't need to take it anymore.
10280         
10281
10282
10283 2005-05-25  Wim Taymans  <wim@fluendo.com>
10284
10285         * tools/gst-launch.c: (event_loop):
10286         Unref message after using its contents instead of
10287         before.
10288
10289 2005-05-24  Wim Taymans  <wim@fluendo.com>
10290
10291         * docs/design/draft-ghostpads.txt:
10292         * docs/design/draft-push-pull.txt:
10293         * docs/design/draft-query.txt:
10294         * docs/design/part-overview.txt:
10295         Docs updates, added general overview doc.
10296
10297 2005-05-21  David Schleef  <ds@schleef.org>
10298
10299         * docs/gst/tmpl/old/GstBin.sgml:
10300         * docs/gst/tmpl/old/GstBuffer.sgml:
10301         * docs/gst/tmpl/old/GstCaps.sgml:
10302         * docs/gst/tmpl/old/GstClock.sgml:
10303         * docs/gst/tmpl/old/GstCompat.sgml:
10304         * docs/gst/tmpl/old/GstData.sgml:
10305         * docs/gst/tmpl/old/GstElement.sgml:
10306         * docs/gst/tmpl/old/GstEvent.sgml:
10307         * docs/gst/tmpl/old/GstIndex.sgml:
10308         * docs/gst/tmpl/old/GstStructure.sgml:
10309         * docs/gst/tmpl/old/GstTag.sgml:
10310         * docs/gst/tmpl/old/cothreads.sgml:
10311         * docs/gst/tmpl/old/cothreads_compat.sgml:
10312         * docs/gst/tmpl/old/gettext.sgml:
10313         * docs/gst/tmpl/old/gobject2gtk.sgml:
10314         * docs/gst/tmpl/old/grammar.tab.sgml:
10315         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10316         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10317         * docs/gst/tmpl/old/gst_private.sgml:
10318         * docs/gst/tmpl/old/gstaggregator.sgml:
10319         * docs/gst/tmpl/old/gstarch.sgml:
10320         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10321         * docs/gst/tmpl/old/gstbufferstore.sgml:
10322         * docs/gst/tmpl/old/gstdata_private.sgml:
10323         * docs/gst/tmpl/old/gstdisksink.sgml:
10324         * docs/gst/tmpl/old/gstdisksrc.sgml:
10325         * docs/gst/tmpl/old/gstelementfactory.sgml:
10326         * docs/gst/tmpl/old/gstextratypes.sgml:
10327         * docs/gst/tmpl/old/gstfakesink.sgml:
10328         * docs/gst/tmpl/old/gstfakesrc.sgml:
10329         * docs/gst/tmpl/old/gstfdsink.sgml:
10330         * docs/gst/tmpl/old/gstfdsrc.sgml:
10331         * docs/gst/tmpl/old/gstfilesink.sgml:
10332         * docs/gst/tmpl/old/gstfilesrc.sgml:
10333         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10334         * docs/gst/tmpl/old/gstidentity.sgml:
10335         * docs/gst/tmpl/old/gstindexfactory.sgml:
10336         * docs/gst/tmpl/old/gstmarshal.sgml:
10337         * docs/gst/tmpl/old/gstmd5sink.sgml:
10338         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10339         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10340         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10341         * docs/gst/tmpl/old/gstpipefilter.sgml:
10342         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10343         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10344         * docs/gst/tmpl/old/gstshaper.sgml:
10345         * docs/gst/tmpl/old/gstspider.sgml:
10346         * docs/gst/tmpl/old/gstspideridentity.sgml:
10347         * docs/gst/tmpl/old/gststatistics.sgml:
10348         * docs/gst/tmpl/old/gsttee.sgml:
10349         * docs/gst/tmpl/old/gsttimecache.sgml:
10350         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10351         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10352         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10353         * docs/gst/tmpl/old/types.sgml:
10354           I didn't intend to add these or check them in.
10355
10356 2005-05-19  David Schleef  <ds@schleef.org>
10357
10358         * configure.ac: Use -no-common everywhere.  In a sane world, it
10359           would be the default in libtool, because without it, you can't
10360           build DLLs on Windows.
10361         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10362         * docs/gst/gstreamer-sections.txt:
10363         * docs/gst/tmpl/gstcpu.sgml:
10364         * docs/gst/tmpl/gstdata.sgml:
10365         * docs/gst/tmpl/gstthread.sgml:
10366
10367 2005-05-19  David Schleef  <ds@schleef.org>
10368
10369         * gst/gstminiobject.c: (gst_value_set_mini_object),
10370         (gst_value_take_mini_object), (gst_value_get_mini_object):
10371         * gst/gstminiobject.h: Add GValue set/get functions.
10372
10373 2005-05-19  Wim Taymans  <wim@fluendo.com>
10374
10375         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10376         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10377         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10378         * gst/gstbuffer.h:
10379         * gst/gstbus.c: (gst_bus_post):
10380         * gst/gstelement.c: (gst_element_get_random_pad):
10381         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10382         Make subbufer unref the parent in finalize.
10383         some more debugging info.
10384
10385
10386 2005-05-19  Wim Taymans  <wim@fluendo.com>
10387
10388         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10389         (gst_basesink_init), (gst_basesink_finalize),
10390         (gst_basesink_activate), (gst_basesink_change_state):
10391         Don't free preroll queue too early.
10392
10393 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10394
10395         * gst/Makefile.am:
10396         * gst/ROADMAP:
10397           Hi, I'm outdated. Please shoot me.
10398
10399 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10400
10401         * gst/gstpipeline.c: (gst_pipeline_send_event):
10402           Do not access variables after they have been deleted.
10403
10404 2005-05-19  Wim Taymans  <wim@fluendo.com>
10405
10406         * tools/gst-inspect.c: (print_plugin_features):
10407         A plugin feature does unfortunatly not use the
10408         object name yet...
10409
10410 2005-05-18  Wim Taymans  <wim@fluendo.com>
10411
10412         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10413         Port _span() functions to new subbuffers.
10414
10415 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10416
10417         * gst/gstbin.c: (gst_bin_add_func):
10418           Fix clock settery in bins when adding kids after the clock has
10419           been selected.
10420
10421 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10422
10423         * gst/elements/gstidentity.c: (gst_identity_class_init):
10424           Workaround until signals support GstMiniObject.
10425
10426 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10427
10428         * gst/gstbuffer.c:
10429         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10430
10431 2005-05-18  Wim Taymans  <wim@fluendo.com>
10432
10433         * gst/base/Makefile.am:
10434         * gst/base/gstadapter.c: (gst_adapter_base_init),
10435         (gst_adapter_class_init), (gst_adapter_init),
10436         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10437         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10438         (gst_adapter_flush), (gst_adapter_available),
10439         (gst_adapter_available_fast):
10440         * gst/base/gstadapter.h:
10441         Ported and added adapter to the base classes.
10442
10443 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10444
10445         * gst/gst.c:
10446         * gst/gstmessage.c:
10447           Make sure the class is reffed/unreffed once before threads can be
10448           used.  Fixes #304551.
10449
10450 2005-05-17  Wim Taymans  <wim@fluendo.com>
10451
10452         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10453         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10454         * gst/gstminiobject.c: (gst_mini_object_get_type),
10455         (gst_mini_object_free):
10456         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10457         (gst_pad_push), (gst_pad_push_event):
10458         * gst/gstqueue.c: (gst_queue_change_state):
10459         Don't queue buffers in basesink when we are flushing.
10460         Unref buffer when flushing in basesink.
10461         Flush queue when going to READY
10462         Unref buffer when _push() returns an error.
10463         Don't free MiniObject instance when refcount is incremented
10464         in _finalize() so that we can recover objects.
10465
10466 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10467
10468         * docs/manual/advanced-schedulers.xml:
10469         * docs/manual/appendix-checklist.xml:
10470         * docs/pwg/advanced-clock.xml:
10471         * docs/pwg/advanced-interfaces.xml:
10472         * docs/pwg/advanced-request.xml:
10473         * docs/pwg/advanced-types.xml:
10474         * docs/pwg/intro-preface.xml:
10475         * examples/plugins/example.c: (gst_example_get_type),
10476         (gst_example_class_init), (gst_example_chain),
10477         (gst_example_set_property), (gst_example_get_property),
10478         (gst_example_change_state), (plugin_init):
10479         * examples/plugins/example.h:
10480           small doc fixes
10481
10482 2005-05-17  Wim Taymans  <wim@fluendo.com>
10483
10484         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10485         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10486         * gst/gstqueue.c: (gst_queue_change_state):
10487         Clear queue when going to READY.
10488         Remove IN_SETCAPS flag too.
10489
10490 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10491
10492         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10493           Remove implicit cast from gboolean to GstElementStateReturn;
10494           make sure we still return failure in paused => ready case if
10495           the parent class fails to change state and our own stop 
10496           vfunc succeeds.
10497
10498 2005-05-17  Wim Taymans  <wim@fluendo.com>
10499
10500         * tools/gst-launch.c: (event_loop):
10501         Message was unreffed too soon.
10502
10503 2005-05-16  Andy Wingo  <wingo@pobox.com>
10504
10505         * gst/gstbin.c (sink_iterator_filter): Err... um...
10506
10507         * check/gst/gstbin.c (test_ghost_pads): New test for the
10508         ghosting-if-elements-not-in-same-bin behavior.
10509
10510 2005-05-16  David Schleef  <ds@schleef.org>
10511
10512         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10513         accessing refcount directly.
10514
10515 2005-05-15  David Schleef  <ds@schleef.org>
10516
10517         * check/Makefile.am: remove GstData checks
10518         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10519         * gst/Makefile.am: add miniobject, remove data
10520         * gst/gst.h: add miniobject, remove data
10521         * gst/gstdata.c: remove
10522         * gst/gstdata.h: remove
10523         * gst/gstdata_private.h: remove
10524         * gst/gsttypes.h: remove GstEvent and GstMessage
10525         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10526         * gst/gstmarshal.list: change BOXED -> OBJECT
10527
10528         Implement GstMiniObject.
10529         * gst/gstminiobject.c:
10530         * gst/gstminiobject.h:
10531
10532         Modify to be subclasses of GstMiniObject.
10533         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10534         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10535         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10536         (gst_subbuffer_get_type), (gst_subbuffer_init),
10537         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10538         (gst_buffer_span):
10539         * gst/gstbuffer.h:
10540         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10541         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10542         (_gst_event_copy), (gst_event_new):
10543         * gst/gstevent.h:
10544         * gst/gstmessage.c: (_gst_message_initialize),
10545         (gst_message_get_type), (gst_message_class_init),
10546         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10547         (gst_message_new), (gst_message_new_error),
10548         (gst_message_new_warning), (gst_message_new_tag),
10549         (gst_message_new_state_changed), (gst_message_new_application):
10550         * gst/gstmessage.h:
10551         * gst/gstprobe.c: (gst_probe_perform),
10552         (gst_probe_dispatcher_dispatch):
10553         * gst/gstprobe.h:
10554         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10555         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10556         (_gst_query_copy), (gst_query_new):
10557
10558         Update elements for GstData -> GstMiniObject changes
10559         * gst/gstquery.h:
10560         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10561         (gst_queue_chain), (gst_queue_loop):
10562         * gst/elements/gstbufferstore.c:
10563         (gst_buffer_store_add_buffer_func),
10564         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10565         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10566         (gst_fakesink_render):
10567         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10568         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10569         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10570         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10571         (gst_filesrc_create_read):
10572         * gst/elements/gstidentity.c: (gst_identity_class_init):
10573         * gst/elements/gsttypefindelement.c:
10574         (gst_type_find_element_src_event), (free_entry_buffers),
10575         (gst_type_find_element_handle_event):
10576         * libs/gst/dataprotocol/dataprotocol.c:
10577         (gst_dp_header_from_buffer):
10578         * libs/gst/dataprotocol/dataprotocol.h:
10579         * libs/gst/dataprotocol/dp-private.h:
10580
10581 2005-05-15  David Schleef  <ds@schleef.org>
10582
10583         * gst/elements/gstelements.c: Don't include headers that were
10584         just removed.
10585
10586 2005-05-15  David Schleef  <ds@schleef.org>
10587
10588         * gst/elements/Makefile.am: Remove some elements that don't
10589         need to be in the core (or even exist at all).
10590         * gst/elements/gstaggregator.c:
10591         * gst/elements/gstaggregator.h:
10592         * gst/elements/gstmd5sink.c:
10593         * gst/elements/gstmd5sink.h:
10594         * gst/elements/gstmultifilesrc.c:
10595         * gst/elements/gstmultifilesrc.h:
10596         * gst/elements/gstpipefilter.c:
10597         * gst/elements/gstpipefilter.h:
10598         * gst/elements/gstshaper.c:
10599         * gst/elements/gstshaper.h:
10600         * gst/elements/gststatistics.c:
10601         * gst/elements/gststatistics.h:
10602         * po/POTFILES.in: Remove above files.
10603
10604 2005-05-14  Andy Wingo  <wingo@pobox.com>
10605
10606         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10607         so as to get the refs right.
10608         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10609         unreffing objects that don't pass the filter.
10610
10611         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10612         gst_element_set_bus.
10613         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10614         normal cases, this will destroy the bus.
10615
10616         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10617         object.
10618
10619         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10620         has no sinks.
10621
10622 2005-05-13  Andy Wingo  <wingo@pobox.com>
10623
10624         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10625         gst_pad_link, call pad_link_maybe_ghosting,
10626         (pad_link_maybe_ghosting): Links pads, making sure that the
10627         elements being linked are in the same bin.
10628         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10629         Helpers for pad_link_maybe_ghosting.
10630
10631 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10632
10633         * configure.ac:
10634           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10635
10636 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10637
10638         * docs/design/part-element-source.txt:
10639           Mention GstPushSrc
10640
10641 2005-05-12  Wim Taymans  <wim@fluendo.com>
10642
10643         * gst/base/gstbasesink.c: (gst_basesink_init),
10644         (gst_basesink_activate):
10645         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10646         (gst_basesrc_is_seekable):
10647         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10648         (bin_element_is_sink), (gst_bin_change_state):
10649         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10650         * gst/gstelement.h:
10651         Identify sinks by their flag to avoid overly complicated
10652         checks (fow now).
10653         Do state changes even for elements not reachable from the
10654         sinks.
10655         BaseSink is a sink now :)
10656         Some more debugging info in the basesrc.
10657
10658
10659 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10660
10661         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10662           Implement _query on a bin, similar to _send_event.
10663
10664 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10665
10666         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10667           Discont event offset format should be GST_FORMAT_BYTES,
10668           not GST_FORMAT_TIME.
10669
10670 2005-05-12  Wim Taymans  <wim@fluendo.com>
10671
10672         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10673         Same fix as Ronald's but without the signal. 
10674
10675 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10676
10677         * gst/gstutils.c: (gst_element_query_position):
10678           No, an element is not a pad.
10679
10680 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10681
10682         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10683         (gst_bin_get_state):
10684           If a child is removed from a bin while we remove the child from
10685           the bin and while we're retrieving its state, signal this to the
10686           get_state function so we abort the wait (instead of waiting for
10687           a timeout) and can immediately re-iterate over all other elements.
10688
10689 2005-05-12  Wim Taymans  <wim@fluendo.com>
10690
10691         * gst/base/Makefile.am:
10692         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10693         (gst_basesrc_start):
10694         * gst/base/gstbasesrc.h:
10695         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10696         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10697         (gst_pushsrc_init), (gst_pushsrc_create):
10698         * gst/base/gstpushsrc.h:
10699         Added is_seekable to BaseSrc
10700         Added simple PushSrc.
10701
10702 2005-05-11  Wim Taymans  <wim@fluendo.com>
10703
10704         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10705         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10706         (gst_element_link_pads), (gst_element_query_position),
10707         (gst_element_query_convert), (intersect_caps_func),
10708         (gst_pad_query_position), (gst_pad_query_convert):
10709         Fix refcounting in utils function.
10710         No point in trying to activate a pad when it's added, it could
10711         be added from the state change function and then we deadlock, the
10712         element has to decide what to do.
10713
10714 2005-05-10  Andy Wingo  <wingo@pobox.com>
10715
10716         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10717         *all* the arguments.
10718
10719         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10720         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10721         lock (according to the docs -- if this is wrong change the docs).
10722
10723         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10724         flush messages in the NULL state.
10725
10726         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10727         message immediately and return.
10728         (gst_bus_set_flushing): New function. If a bus is flushing, it
10729         flushes out any queued messages and immediately unrefs new
10730         messages. This is so when an element goes to NULL, all of the
10731         unhandled messages coming from it can be freed, and their
10732         references to the element dropped. In other words: message source
10733         ref considered harmful :P
10734
10735         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10736         we're finished with it.
10737
10738         * gst/gstmessage.c (gst_message_new_state_changed): 
10739
10740 2005-05-10  Wim Taymans  <wim@fluendo.com>
10741
10742         * gst/gstvalue.c: (gst_value_compare_flags),
10743         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10744         (_gst_value_initialize):
10745         Added flags serialize/deserialize/compare code.
10746
10747 2005-05-09  Andy Wingo  <wingo@pobox.com>
10748
10749         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10750         Intersect the peer's caps with our caps.
10751
10752 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10753
10754         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10755         * gst/elements/gsttypefindelement.c: (find_peek):
10756           Handle negative offsets better. Fixes decodebin.
10757
10758 2005-05-09  Wim Taymans  <wim@fluendo.com>
10759
10760         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10761         (gst_base_transform_event):
10762         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10763         Implement accept_caps.
10764         Fix silly lock/unlock mismatch in base class.
10765
10766 2005-05-09  Wim Taymans  <wim@fluendo.com>
10767
10768         * docs/design/draft-push-pull.txt:
10769         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10770         * gst/elements/gstfilesink.c: (gst_filesink_init),
10771         (gst_filesink_query):
10772         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10773         (gst_type_find_handle_src_query), (find_element_get_length):
10774         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10775         * gst/gstelement.h:
10776         * gst/gstmessage.c:
10777         * gst/gstmessage.h:
10778         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10779         (gst_real_pad_get_caps_unlocked),
10780         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10781         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10782         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10783         (gst_real_pad_dispose), (gst_real_pad_finalize),
10784         (gst_pad_load_and_link), (gst_pad_save_thyself),
10785         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10786         (gst_pad_check_pull_range), (gst_pad_pull_range),
10787         (gst_pad_template_get_type), (gst_pad_template_class_init),
10788         (gst_pad_template_init), (gst_pad_template_dispose),
10789         (name_is_valid), (gst_static_pad_template_get),
10790         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10791         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10792         (gst_pad_get_element_private), (gst_pad_start_task),
10793         (gst_pad_pause_task), (gst_pad_stop_task),
10794         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10795         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10796         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10797         (gst_ghost_pad_new):
10798         * gst/gstpad.h:
10799         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10800         (gst_query_new_position), (gst_query_set_position),
10801         (gst_query_parse_position), (gst_query_new_convert),
10802         (gst_query_set_convert), (gst_query_parse_convert):
10803         * gst/gstquery.h:
10804         * gst/gstqueryutils.c:
10805         * gst/gstqueryutils.h:
10806         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10807         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10808         (gst_queue_handle_src_query):
10809         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10810         (gst_element_query_position), (gst_element_query_convert),
10811         (intersect_caps_func), (gst_pad_query_position),
10812         (gst_pad_query_convert):
10813         * gst/gstutils.h:
10814         * tools/gst-inspect.c: (print_pad_info):
10815         * tools/gst-xmlinspect.c: (print_element_info):
10816         Remove old query functions. Ported old code.
10817         Added position/convert helper functions to gstutils.
10818         Reordered gstpad.c code, grouping relevant things.
10819         Remove gst_message_new(), always need to speficy a specific
10820         message.
10821
10822
10823 2005-05-09  Andy Wingo  <wingo@pobox.com>
10824
10825         * gst/gstiterator.h: Add some includes.
10826
10827         * gst/gstqueryutils.h: Include more headers.
10828
10829         * gst/gstpad.h:
10830         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10831         some uses of gst_pad_query.
10832
10833         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10834         NULL out parameters.
10835         (gst_query_new_position): New proc, allocates a new position
10836         query.
10837
10838         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10839         gstqueryutils.c to the build.
10840
10841         * gst/gststructure.c (gst_structure_set_valist): Implement with
10842         the generic G_VALUE_COLLECT.
10843         
10844 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10845
10846         * gst/Makefile.am: (gst_headers):
10847         Added gstqueryutils.h to the list of headers to install, that was
10848         a 'nachty' move wingo :)
10849
10850 2005-05-06  Andy Wingo  <wingo@pobox.com>
10851
10852         * gst/gstquery.h
10853         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10854         GstData, init a memchunk.
10855         (standard_definitions): Add a few query types, deprecate a few.
10856         (gst_query_get_type): New proc.
10857         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10858         implementation.
10859         (gst_query_new_application, gst_query_get_structure): New public
10860         procs.
10861
10862         * docs/design/draft-query.txt: Removed LINKS from the query types,
10863         because all the rest can be dispatched to other pads -- seemed
10864         ugly to have a query that couldn't be dispatched. internal_links
10865         is fine as a pad method.
10866
10867         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10868         in gstpad.c, but maintain binary compatibility for the moment.
10869         Will fix before 0.9 is out.
10870
10871         * gst/gstqueryutils.c: 
10872         * gst/gstqueryutils.h: New files, implement 3 methods for each
10873         query type: parse_query, parse_response, and set. Probably need an
10874         allocator as well.
10875
10876         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10877
10878         * gst/elements/gstfilesink.c (gst_filesink_query2):
10879         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10880         query_types, and formats methods.
10881
10882         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10883         (gst_pad_set_query2_function): New functions.
10884         (gst_real_pad_init): Set query2_default as the default query2
10885         function. Basically just dispatches to internally linked pads.
10886
10887         Needs review!
10888         
10889         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10890         without using the atomic operations. Only one thread can possibly
10891         be accessing the data at this point. Changed so as to avoid
10892         gst_atomic operations.
10893
10894 2005-05-06  Wim Taymans  <wim@fluendo.com>
10895
10896         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10897         Also set caps if we use the fallback buffer alloc.
10898
10899 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10900
10901         * docs/gst/Makefile.am:
10902         * docs/gst/gstreamer-docs.sgml:
10903         * docs/gst/gstreamer-sections.txt:
10904         * docs/gst/tmpl/gstatomic.sgml:
10905         * docs/gst/tmpl/gstmemchunk.sgml:
10906         * testsuite/elements/struct_i386.h:
10907         * win32/GStreamer.vcproj:
10908         * win32/Makefile:
10909           Purge GstAtomic stuff from docs and win32 makefiles as well
10910
10911 2005-05-06  Wim Taymans  <wim@fluendo.com>
10912
10913         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10914         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10915         * gst/gstpad.c: (gst_pad_peer_get_caps):
10916         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10917         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10918         (gst_queue_src_activate), (gst_queue_change_state):
10919         * gst/gstqueue.h:
10920         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10921         (intersect_caps_func):
10922         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10923         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10924         Some fixes for the peer_get_caps() change.
10925
10926 2005-05-06  Wim Taymans  <wim@fluendo.com>
10927
10928         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10929         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10930         (gst_basesink_activate):
10931         Actually do something with error codes returned from the push
10932         functions.
10933
10934 2005-05-06  Wim Taymans  <wim@fluendo.com>
10935
10936         * docs/design/part-element-sink.txt:
10937         * docs/design/part-element-source.txt:
10938         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10939         (gst_basesink_event), (gst_basesink_activate):
10940         * gst/base/gstbasesink.h:
10941         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10942         (gst_basesrc_activate):
10943         * gst/base/gstbasesrc.h:
10944         * gst/gstelement.c: (gst_element_pads_activate):
10945         Some more documentation.
10946         Fixed scheduling decision in _pads_activate().
10947
10948 2005-05-05  Andy Wingo  <wingo@pobox.com>
10949
10950         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10951         the test suite.
10952
10953 2005-05-05  Wim Taymans  <wim@fluendo.com>
10954
10955         * gst/base/Makefile.am:
10956         * gst/base/gstbasesink.h:
10957         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10958         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10959         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10960         (gst_collectpads_class_init), (gst_collectpads_init),
10961         (gst_collectpads_finalize), (gst_collectpads_new),
10962         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10963         (find_pad), (gst_collectpads_remove_pad),
10964         (gst_collectpads_is_active), (gst_collectpads_collect),
10965         (gst_collectpads_collect_range), (gst_collectpads_start),
10966         (gst_collectpads_stop), (gst_collectpads_peek),
10967         (gst_collectpads_pop), (gst_collectpads_available),
10968         (gst_collectpads_read), (gst_collectpads_flush),
10969         (gst_collectpads_chain):
10970         * gst/base/gstcollectpads.h:
10971         * gst/elements/Makefile.am:
10972         * gst/elements/gstelements.c:
10973         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10974         (gst_fakesink_get_times), (gst_fakesink_event),
10975         (gst_fakesink_preroll), (gst_fakesink_render):
10976         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10977         (gst_filesink_init), (gst_filesink_set_location),
10978         (gst_filesink_open_file), (gst_filesink_close_file),
10979         (gst_filesink_pad_query), (gst_filesink_event),
10980         (gst_filesink_render), (gst_filesink_change_state):
10981         * gst/elements/gstfilesink.h:
10982         Added object to help in making collect pad based elements.
10983         Ported filesink.
10984         Make event function in sink baseclass return gboolean.
10985
10986 2005-05-05  Wim Taymans  <wim@fluendo.com>
10987
10988         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10989         (gst_bin_get_by_name):
10990         * gst/gstbuffer.h:
10991         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10992         (gst_clock_finalize):
10993         * gst/gstdata.c: (gst_data_replace):
10994         * gst/gstdata.h:
10995         * gst/gstelement.c: (gst_element_request_pad),
10996         (gst_element_pads_activate):
10997         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10998         (gst_object_unref):
10999         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11000         (gst_pad_set_checkgetrange_function),
11001         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11002         (gst_pad_check_pull_range), (gst_pad_pull_range),
11003         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11004         (gst_pad_pause_task), (gst_pad_stop_task):
11005         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11006         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11007         Fix name lookup in GstBin.
11008         Added _data_replace() function and _buffer_replace()
11009         Use finalize method to clean up clock.
11010         Fix refcounting on request pads.
11011         Fix pad schedule mode error.
11012         Some more object refcounting debug info,
11013
11014
11015 2005-05-04  Andy Wingo <wingo@pobox.com>
11016
11017         * check/Makefile.am:
11018         * docs/gst/tmpl/gstatomic.sgml:
11019         * docs/gst/tmpl/gstplugin.sgml:
11020         * gst/base/gstbasesink.c: (gst_basesink_activate):
11021         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11022         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11023         (gst_basesrc_query), (gst_basesrc_set_property),
11024         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11025         (gst_basesrc_activate):
11026         * gst/base/gstbasesrc.h:
11027         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11028         (gst_base_transform_src_activate):
11029         * gst/elements/gstelements.c:
11030         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11031         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11032         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11033         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11034         (gst_type_find_element_checkgetrange),
11035         (gst_type_find_element_activate):
11036         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11037         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11038         (gst_caps_load_thyself):
11039         * gst/gstelement.c: (gst_element_pads_activate),
11040         (gst_element_save_thyself), (gst_element_restore_thyself):
11041         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11042         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11043         * gst/gstpad.h:
11044         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11045         (gst_xml_parse_file), (gst_xml_parse_memory),
11046         (gst_xml_get_element), (gst_xml_make_element):
11047         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11048         (_file_index_id_save_xml), (gst_file_index_commit):
11049         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11050         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11051         (load_paths):
11052         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11053         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11054         * tools/gst-complete.c: (main):
11055         * tools/gst-compprep.c: (main):
11056         * tools/gst-inspect.c: (print_element_properties_info):
11057         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11058         * tools/gst-xmlinspect.c: (print_element_properties):
11059         GCC 4 fixen.
11060         
11061 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11062
11063         * gst/gstplugin.c: (gst_plugin_check_module),
11064         (gst_plugin_check_file), (gst_plugin_load_file):
11065             apply patch from #172526 to make register work on MacOSX
11066
11067 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11068
11069         * docs/gst/tmpl/gstconfig.sgml:
11070         * gst/gstconfig.h.in:
11071           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11072         * testsuite/debug/printf_extension.c: (main):
11073           Do not use GST_PTR_FORMAT on pointers to types with
11074           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11075         * testsuite/elements/property.h:
11076           use correct printf format
11077
11078 2005-05-02  Wim Taymans  <wim@fluendo.com>
11079
11080         * docs/design/draft-push-pull.txt:
11081         * docs/design/draft-query.txt:
11082         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11083         (gst_basesrc_start):
11084         Added draft for new query API.
11085         Added draft for better selecting scheduling methods.
11086         Make basesrc ignore length if the subclass does not support
11087         it.
11088
11089 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11090
11091         * gst/Makefile.am:
11092           possible fixes for automake-1.5 - _LIBADD is reserved
11093
11094 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11095
11096         * docs/faq/Makefile.am:
11097         * docs/manual/Makefile.am:
11098         * docs/manuals.mak:
11099         * docs/pwg/Makefile.am:
11100         * gst/Makefile.am:
11101           possible fixes for automake-1.5
11102
11103 2005-04-28  Wim Taymans  <wim@fluendo.com>
11104
11105         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11106         (gst_basesink_pad_getcaps), (gst_basesink_init),
11107         (gst_basesink_do_sync):
11108         * gst/gstclock.c: (gst_clock_entry_new):
11109         * gst/gstevent.c: (gst_event_discont_get_value):
11110         * gst/gstpipeline.c: (pipeline_bus_handler),
11111         (gst_pipeline_change_state):
11112         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11113         Better debugging of clocking info.
11114         Allow NULL values when getting discont values.
11115
11116 2005-04-27  Wim Taymans  <wim@fluendo.com>
11117
11118         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11119         * check/gst/gstpad.c: (gst_pad_suite):
11120         Increase timeout for checks.
11121
11122 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11123
11124         * check/Makefile.am:
11125           fix the broken rule for cleanup.  Apparently this rule is
11126           only needed on FC2, so maybe this warrants further autotool
11127           inspection.
11128
11129 2005-04-26  Wim Taymans  <wim@fluendo.com>
11130
11131         * gst/gsttrashstack.h:
11132         Ooohh. a nasty one! After having a failed pop() from the stack,
11133         it's possible that the stack is empty. In that case, don't
11134         follow the NULL pointer.
11135
11136 2005-04-25  Wim Taymans  <wim@fluendo.com>
11137
11138         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11139         (gst_pad_set_checkgetrange_function),
11140         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11141         (gst_pad_check_pull_range), (gst_pad_pull_range),
11142         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11143         (gst_pad_pause_task), (gst_pad_stop_task):
11144         * gst/gstplugin.c: (gst_plugin_load):
11145         * gst/gstplugin.h:
11146         Remove gst_library_load as it does more harm than good with
11147         the new g_module flags.
11148         Revert bogus caps template check in pad linking, pad caps
11149         are important when linking not the template, which is more
11150         general than the current caps.
11151
11152 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11153
11154         * gst/autoplug/.cvsignore:
11155         * gst/autoplug/Makefile.am:
11156         * gst/autoplug/gstsearchfuncs.c:
11157         * gst/autoplug/gstsearchfuncs.h:
11158         * gst/autoplug/gstspider.c:
11159         * gst/autoplug/gstspider.h:
11160         * gst/autoplug/gstspideridentity.c:
11161         * gst/autoplug/gstspideridentity.h:
11162         * gst/autoplug/spidertest.c:
11163           Die, spider, die.
11164
11165 2005-04-25  Wim Taymans  <wim@fluendo.com>
11166
11167         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11168         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11169         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11170         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11171         * gst/gstpad.h:
11172         Added stubs for unimplemented functions. 
11173
11174 2005-04-24  David Schleef  <ds@schleef.org>
11175
11176         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11177         please fix.
11178
11179 2005-04-24  David Schleef  <ds@schleef.org>
11180
11181         Convert everything from GstAtomicInt to g_atomic_int_*, and
11182         remove gstatomic.
11183         * gst/Makefile.am:
11184         * gst/gstatomic.c:
11185         * gst/gstatomic.h:
11186         * gst/gstatomic_impl.h:
11187         * gst/gstbuffer.c:
11188         * gst/gstcaps.c:
11189         * gst/gstcaps.h:
11190         * gst/gstclock.c:
11191         * gst/gstclock.h:
11192         * gst/gstdata.c:
11193         * gst/gstdata.h:
11194         * gst/gstdata_private.h:
11195         * gst/gstevent.c:
11196         * gst/gstinfo.c:
11197         * gst/gstinfo.h:
11198         * gst/gstmessage.c:
11199         * gst/gstobject.c:
11200         * gst/gstobject.h:
11201         * gst/gststructure.c:
11202         * gst/gststructure.h:
11203         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11204         * gst/gstutils.h:
11205
11206 2005-04-24  David Schleef  <ds@schleef.org>
11207
11208         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11209         make the regressions tests work.  Remove some code that is no
11210         longer true.
11211         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11212         Disable warning for pads without templates.
11213
11214 2005-04-24  David Schleef  <ds@schleef.org>
11215
11216         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11217         functions that handle filtered links.
11218         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11219         removed functions.
11220         * gst/gstutils.c: Fix/remove utility functions that handle
11221         filtered caps.
11222         * gst/gstutils.h:
11223         * gst/gstvalue.c: Add serialization/deserialization of caps
11224         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11225         requires fixing so that the filter caps notation creates
11226         a capsfilter element and sets the filter_caps property.  I
11227         think everyone probably wants to keep the shorthand notation.
11228         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11229         * docs/gst/tmpl/gstpad.sgml:
11230
11231         * gst/elements/gstelements.c: Register capsfilter element.
11232         * gst/Makefile.am: fix spacing
11233         * docs/random/ds/0.9-suggested-changes: random
11234
11235 2005-04-23  David Schleef  <ds@schleef.org>
11236
11237         * gst/elements/Makefile.am:
11238         * gst/elements/gstcapsfilter.c: New element that acts like an
11239         identity, but filters caps.  Will eventually replace filtered
11240         caps in pad linking.
11241         * gst/gstutils.c: (gst_element_create_all_pads): New function
11242         to create all the ALWAYS pads that are registered with an
11243         element class.  This functionality should eventually be
11244         merged in with GstElement initialization.
11245         * gst/gstutils.h:
11246         * testsuite/trigger/README: part of trigger test code that should
11247         have been checked in a long time ago.
11248
11249 2005-04-23  David Schleef  <ds@schleef.org>
11250
11251         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11252         needed with new versions of libtool (nobody will confirm this),
11253         and hard to carry around.
11254         * gst/autoplug/Makefile.am:
11255         * gst/base/Makefile.am:
11256         * gst/elements/Makefile.am:
11257         * gst/indexers/Makefile.am:
11258         * gst/schedulers/Makefile.am:
11259         * libs/gst/bytestream/Makefile.am:
11260         * libs/gst/control/Makefile.am:
11261         * libs/gst/dataprotocol/Makefile.am:
11262         * libs/gst/getbits/Makefile.am:
11263
11264 2005-04-21  Wim Taymans  <wim@fluendo.com>
11265
11266         * docs/design/draft-push-pull.txt:
11267         * docs/design/part-MT-refcounting.txt:
11268         * docs/design/part-TODO.txt:
11269         * docs/design/part-caps.txt:
11270         * docs/design/part-events.txt:
11271         * docs/design/part-gstbus.txt:
11272         * docs/design/part-gstpipeline.txt:
11273         * docs/design/part-messages.txt:
11274         * docs/design/part-push-pull.txt:
11275         * docs/design/part-query.txt:
11276         Some more docs.
11277
11278 2005-04-21  Wim Taymans  <wim@fluendo.com>
11279
11280         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11281         (gst_message_new), (gst_message_new_error),
11282         (gst_message_new_warning), (gst_message_new_tag),
11283         (gst_message_new_state_changed), (gst_message_new_application),
11284         (gst_message_get_structure):
11285         * gst/gstmessage.h:
11286         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11287         (gst_structure_copy_conditional):
11288         Use parent refcount in GstMessage to ensure GstStructure
11289         consistency.
11290         Cleaned up headers a bit.
11291         
11292
11293 2005-04-20  Wim Taymans  <wim@fluendo.com>
11294
11295         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11296         (gst_basesink_pad_getcaps), (gst_basesink_init),
11297         (gst_basesink_chain_unlocked):
11298         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11299         (gst_type_find_helper):
11300         * gst/elements/gsttypefindelement.c:
11301         (gst_type_find_element_have_type), (gst_type_find_element_init),
11302         (stop_typefinding), (gst_type_find_element_handle_event),
11303         (find_suggest), (gst_type_find_element_chain),
11304         (gst_type_find_element_checkgetrange),
11305         (gst_type_find_element_getrange), (do_typefind),
11306         (gst_type_find_element_activate):
11307         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11308         (gst_buffer_default_free), (gst_buffer_default_copy),
11309         (gst_buffer_set_caps):
11310         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11311         (gst_caps_replace):
11312         * gst/gstmessage.c: (gst_message_new),
11313         (gst_message_new_state_changed):
11314         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11315         (gst_pad_set_checkgetrange_function),
11316         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11317         (gst_pad_set_caps), (gst_pad_check_pull_range),
11318         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11319         * gst/gstpad.h:
11320         * gst/gsttypefind.c: (gst_type_find_register):
11321         Make gst_caps_replace() work like other _replace() functions.
11322         Use _caps_replace() where possible.
11323         Make sure _message_new() initialises its field.
11324         Add gst_static_pad_template_get_caps()
11325
11326
11327 2005-04-18  Andy Wingo  <wingo@pobox.com>
11328
11329         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11330         on the peer, not the pad. I think that was a typo. Pass an extra
11331         arg to see if random access is possible. Activate the pads as
11332         PULL_RANGE if possible.
11333
11334         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11335
11336         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11337         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11338         to PROP_....
11339
11340 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11341
11342         * docs/faq/using.xml:
11343           Add note on gstreamer-properties (#154996).
11344
11345 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11346
11347         * docs/random/bbb/optional-properties:
11348           Some analysis on optional properties.
11349
11350 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11351
11352         * docs/gst/tmpl/gstelementfactory.sgml:
11353         * gst/gstelement.h:
11354         * gst/gstelementfactory.c: (gst_element_factory_init),
11355         (gst_element_factory_cleanup), (gst_element_register),
11356         (__gst_element_factory_add_static_pad_template),
11357         (gst_element_factory_get_static_pad_templates),
11358         (gst_element_factory_can_src_caps),
11359         (gst_element_factory_can_sink_caps):
11360         * gst/registries/Makefile.am:
11361         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11362         (gst_xml_registry_class_init), (gst_xml_registry_init),
11363         (gst_xml_registry_new), (gst_xml_registry_set_property),
11364         (gst_xml_registry_get_property), (get_time), (make_dir),
11365         (gst_xml_registry_get_perms_func),
11366         (plugin_times_older_than_recurse), (plugin_times_older_than),
11367         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11368         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11369         (add_to_char_array), (read_string), (read_uint), (read_enum),
11370         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11371         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11372         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11373         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11374         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11375         (gst_xml_registry_rebuild):
11376         * gst/registries/gstlibxmlregistry.h:
11377         * tools/gst-compprep.c: (main):
11378         * tools/gst-inspect.c: (print_pad_templates_info):
11379         * tools/gst-xmlinspect.c: (print_element_info):
11380           Use libxml2 for registry parsing, use staticpadtemplates in
11381           elementfactories. Makes gst_init() +/- 10x faster.
11382
11383 2005-04-12  Wim Taymans  <wim@fluendo.com>
11384
11385         * gst/base/Makefile.am:
11386         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11387         (gst_basesink_pad_getcaps), (gst_basesink_init),
11388         (gst_basesink_event), (gst_basesink_change_state):
11389         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11390         (gst_basesrc_init), (gst_basesrc_query),
11391         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11392         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11393         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11394         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11395         (gst_basesrc_stop), (gst_basesrc_activate),
11396         (gst_basesrc_change_state):
11397         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11398         (helper_find_suggest), (gst_type_find_helper):
11399         * gst/base/gsttypefindhelper.h:
11400         * gst/elements/Makefile.am:
11401         * gst/elements/gstelements.c:
11402         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11403         (gst_fakesink_get_times), (gst_fakesink_event),
11404         (gst_fakesink_preroll), (gst_fakesink_render):
11405         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11406         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11407         (gst_fakesrc_get_property), (gst_fakesrc_create),
11408         (gst_fakesrc_start), (gst_fakesrc_stop):
11409         * gst/elements/gstfakesrc.h:
11410         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11411         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11412         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11413         (gst_filesrc_create_read), (gst_filesrc_create),
11414         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11415         (gst_filesrc_start):
11416         * gst/elements/gsttypefindelement.c:
11417         (gst_type_find_element_have_type), (gst_type_find_element_init),
11418         (start_typefinding), (stop_typefinding), (push_buffer_store),
11419         (gst_type_find_element_handle_event),
11420         (gst_type_find_element_chain),
11421         (gst_type_find_element_checkgetrange),
11422         (gst_type_find_element_getrange), (do_typefind),
11423         (gst_type_find_element_activate),
11424         (gst_type_find_element_change_state):
11425         * gst/elements/gsttypefindelement.h:
11426         * gst/gstpipeline.c: (pipeline_bus_handler):
11427         Added typefind helper.
11428         Small preroll fix in the base sink.
11429         Disable typefind code in basesrc.
11430         Crude port of typefindelement.
11431         Fakesrc cleanups.
11432
11433
11434 2005-04-11  Wim Taymans  <wim@fluendo.com>
11435
11436         * check/gst/gstbus.c: (gstbus_suite):
11437         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11438         * check/gstcheck.h:
11439           Fix up the timeout so that the test does not fail.
11440
11441 2005-04-06  Wim Taymans  <wim@fluendo.com>
11442
11443         * gst/base/README:
11444         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11445         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11446         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11447         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11448         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11449         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11450         (gst_basesrc_stop), (gst_basesrc_activate),
11451         (gst_basesrc_change_state), (basesrc_find_peek),
11452         (basesrc_find_suggest), (gst_basesrc_type_find):
11453         * gst/base/gstbasesrc.h:
11454         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11455         (gst_filesrc_class_init), (gst_filesrc_init),
11456         (gst_filesrc_finalize), (gst_filesrc_set_location),
11457         (gst_filesrc_set_property), (gst_filesrc_get_property),
11458         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11459         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11460         (gst_filesrc_create_read), (gst_filesrc_create),
11461         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11462         * gst/elements/gstfilesrc.h:
11463         * gst/gstelement.c: (gst_element_get_state_func),
11464         (gst_element_lost_state), (gst_element_pads_activate):
11465         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11466         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11467         (gst_pad_pull_range):
11468         * gst/gstpad.h:
11469         More work on the generic source base class, implement seeking,
11470         query.
11471         Make filesrc extend the base source class.
11472         Added gst_pad_set_checkgetrange_function to GstPad.
11473
11474 2005-04-06  Andy Wingo  <wingo@pobox.com>
11475
11476         * pkgconfig/gstreamer-base.pc.in:
11477         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11478
11479         * pkgconfig/Makefile.am:
11480         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11481
11482 2005-04-04  Wim Taymans  <wim@fluendo.com>
11483
11484         * gst/base/Makefile.am:
11485         * gst/base/README:
11486         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11487         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11488         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11489         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11490         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11491         (gst_basesrc_base_init), (gst_basesrc_class_init),
11492         (gst_basesrc_init), (gst_basesrc_get_formats),
11493         (gst_basesrc_get_query_types), (gst_basesrc_query),
11494         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11495         (gst_basesrc_set_property), (gst_basesrc_get_property),
11496         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11497         (gst_basesrc_loop), (gst_basesrc_activate),
11498         (gst_basesrc_change_state):
11499         * gst/base/gstbasesrc.h:
11500         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11501         (gst_fakesrc_class_init), (gst_fakesrc_init),
11502         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11503         (gst_fakesrc_get_property), (gst_fakesrc_create):
11504         * gst/elements/gstfakesrc.h:
11505         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11506         (gst_filesrc_open_file), (gst_filesrc_loop),
11507         (gst_filesrc_activate), (filesrc_find_peek),
11508         (gst_filesrc_type_find):
11509         Made base source class, make fakesrc extend it.
11510         Add comments to basesink class.
11511         Some filesrc cleanup.
11512
11513 2005-03-31  David Schleef  <ds@schleef.org>
11514
11515         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11516         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11517         expected to link against libgstreamer.
11518         * gst/base/Makefile.am: link against libgstreamer
11519         * gst/elements/Makefile.am: same
11520
11521 2005-03-31  Andy Wingo  <wingo@pobox.com>
11522
11523         * tests/instantiate/Makefile.am:
11524         * tests/instantiate/caps.c: Add test to test speed of caps copy
11525         and free.
11526
11527         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11528         GMemChunk to be fair.
11529
11530         * gst/gsttrashstack.h: Remove warning about using the fallback
11531         trash stack implementation, it's still faster than malloc.
11532
11533 2005-03-30  Andy Wingo  <wingo@pobox.com>
11534
11535         * tests/complexity.c: Add a copyright.
11536
11537 2005-03-31  Wim Taymans  <wim@fluendo.com>
11538
11539         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11540         (gst_base_transform_class_init), (gst_base_transform_init),
11541         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11542         (gst_base_transform_get_property),
11543         (gst_base_transform_sink_activate),
11544         (gst_base_transform_src_activate),
11545         (gst_base_transform_change_state):
11546         * gst/base/gstbasetransform.h:
11547         * gst/elements/gstidentity.c: (gst_identity_class_init),
11548         (gst_identity_event), (gst_identity_check_perfect),
11549         (gst_identity_transform), (gst_identity_start),
11550         (gst_identity_stop):
11551         Added start/stop methods to transform base class so subclasses 
11552         don't need to deal with state changes even.
11553
11554 2005-03-31  Wim Taymans  <wim@fluendo.com>
11555
11556         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11557         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11558         * gst/gstevent.h:
11559         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11560         (gst_pad_pull_range):
11561         Added rate to the discont event to prepare for variable speed
11562         and reverse playback.
11563
11564 2005-03-29  David Schleef  <ds@schleef.org>
11565
11566         * configure.ac:
11567         * testsuite/trigger/Makefile.am:
11568         * testsuite/trigger/trigger.c: A little example program to show
11569         how trigger-based elements can work.
11570
11571 2005-03-29  Wim Taymans  <wim@fluendo.com>
11572
11573         * gst/base/Makefile.am:
11574         * gst/base/README:
11575         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11576         (gst_basesink_base_init), (gst_basesink_class_init),
11577         (gst_basesink_pad_getcaps), (gst_basesink_init),
11578         (gst_basesink_activate), (gst_basesink_change_state):
11579         * gst/base/gstbasesink.h:
11580         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11581         (gst_base_transform_base_init), (gst_base_transform_finalize),
11582         (gst_base_transform_class_init), (gst_base_transform_init),
11583         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11584         (gst_base_transform_event), (gst_base_transform_getrange),
11585         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11586         (gst_base_transform_set_property),
11587         (gst_base_transform_get_property),
11588         (gst_base_transform_sink_activate),
11589         (gst_base_transform_src_activate),
11590         (gst_base_transform_change_state):
11591         * gst/base/gstbasetransform.h:
11592         * gst/elements/gstidentity.c: (gst_identity_finalize),
11593         (gst_identity_class_init), (gst_identity_init),
11594         (gst_identity_event), (gst_identity_check_perfect),
11595         (gst_identity_transform), (gst_identity_set_property),
11596         (gst_identity_get_property), (gst_identity_change_state):
11597         * gst/elements/gstidentity.h:
11598         * gst/gstelement.c: (gst_element_get_state_func),
11599         (gst_element_lost_state), (gst_element_pads_activate):
11600         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11601         (gst_pad_check_pull_range), (gst_pad_pull_range):
11602         * gst/gstpad.h:
11603         Simplify pad activation.
11604         Added function to check if pull_range can be performed.
11605         Error out when pulling inactive or flushing pads.
11606         Removed const from refcounted types as it does not make sense.
11607         Simplify pad templates in basesink
11608         Added base class for simple 1-to-1 transforms.
11609         Make identity subclass the base transform.
11610
11611 2005-03-29  Andy Wingo  <wingo@pobox.com>
11612
11613         * docs/libs/gstreamer-libs-overrides.txt: 
11614         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11615         really don't understand what's going on, but like whatever. I want
11616         green buildbot!
11617
11618         * docs/gst/Makefile.am:
11619         * docs/libs/Makefile.am: Dist the overrides files.
11620
11621         * check/Makefile.am (clean-local): Remove .libs directories.
11622
11623         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11624         elements to EXTRA_DIST, so po/ files are happy.
11625
11626         * po/POTFILES.in: Er, remove it here.
11627
11628         * po/POTFILES: Remove gstspider.c.
11629
11630         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11631
11632         * docs/libs/gstreamer-libs-docs.sgml: 
11633         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11634         bytestream.
11635
11636         * tests/complexity.c (main): Set the length of the preroll queue
11637         on the sinks to prevent a lockup.
11638
11639         * libs/gst/dataprotocol/Makefile.am: 
11640         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11641         the same as the one in check/gst-libs/gdp.c.
11642
11643         * po/, docs/gst/: Commit automatic changes to docs and po files.
11644
11645         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11646         the versioned libgstbase.
11647
11648         * check/Makefile.am: Depend on an unversioned gst-register, seems
11649         to make autoconf happier.
11650
11651         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11652
11653 2005-03-28  Wim Taymans  <wim@fluendo.com>
11654
11655         * configure.ac:
11656         * docs/design/part-gstelement.txt:
11657         * docs/design/part-negotiation.txt:
11658         * docs/design/part-preroll.txt:
11659         * docs/design/part-scheduling.txt:
11660         * docs/design/part-states.txt:
11661         * gst/Makefile.am:
11662         * gst/base/Makefile.am:
11663         * gst/base/README:
11664         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11665         (gst_basesink_base_init), (gst_basesink_class_init),
11666         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11667         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11668         (gst_basesink_set_pad_functions),
11669         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11670         (gst_basesink_set_property), (gst_basesink_get_property),
11671         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11672         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11673         (gst_basesink_preroll_queue_push),
11674         (gst_basesink_preroll_queue_empty),
11675         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11676         (gst_basesink_event), (gst_basesink_get_times),
11677         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11678         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11679         (gst_basesink_loop), (gst_basesink_activate),
11680         (gst_basesink_change_state):
11681         * gst/base/gstbasesink.h:
11682         * gst/elements/Makefile.am:
11683         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11684         (gst_fakesink_class_init), (gst_fakesink_init),
11685         (gst_fakesink_set_property), (gst_fakesink_get_property),
11686         (gst_fakesink_get_times), (gst_fakesink_event),
11687         (gst_fakesink_preroll), (gst_fakesink_render),
11688         (gst_fakesink_change_state):
11689         * gst/elements/gstfakesink.h:
11690         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11691         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11692         * gst/gstelement.c: (gst_element_add_pad),
11693         (gst_element_get_state_func), (gst_element_abort_state),
11694         (gst_element_commit_state), (gst_element_lost_state),
11695         (gst_element_set_state), (gst_element_pads_activate):
11696         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11697         * gst/gstpipeline.c: (gst_pipeline_send_event),
11698         (gst_pipeline_change_state):
11699         Added state change code.
11700         Added/updated docs.
11701         Added sink base class, make fakesink extend the base class.
11702         Small cleanups in GstPipeline.
11703
11704 2005-03-26  David Schleef  <ds@schleef.org>
11705
11706         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11707         is broken and should be implemented in a different library.
11708         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11709         * gst/gst.h: remove gstcpu.h
11710         * gst/gstcpu.c: remove
11711         * gst/gstcpu.h: remove
11712         * gst/Makefile.am.future: Remove this file.  It's ancient.
11713
11714 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11715
11716         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11717         (gst_bin_send_event):
11718           Add default event/set_manager handlers. The set_manager handler
11719           takes care that the manager is distributed over kids that were
11720           already in the bin before the manager was set. The event handler
11721           is a utility virtual function that sends the event over all sinks,
11722           so that gst_element_send_event (bin, event); has the expected
11723           behaviour.
11724         * gst/gstpad.c: (gst_pad_event_default):
11725           Re-install default event handling for discontinuities, so that
11726           seeking works without requiring hacks in applications or extra
11727           code in sinks.
11728         * gst/gstpipeline.c: (gst_pipeline_class_init),
11729         (gst_pipeline_send_event):
11730           Half hack, half utility: set a pipeline to PAUSED for seek events,
11731           since that is the only way we can guarantee a/v sync. Means that
11732           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11733           and it "just works".
11734
11735 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11736
11737         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11738           Lock/unlock mismatch.
11739
11740 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11741
11742         * docs/faq/gst-uninstalled:
11743           add gst-plugins-base
11744         * docs/gst/Makefile.am:
11745           don't error out until docs are fixed
11746         * docs/gst/gstreamer.types:
11747           remove thread
11748
11749 2005-03-22  Wim Taymans  <wim@fluendo.com>
11750
11751         * check/Makefile.am:
11752         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11753         * gst/gststructure.c: (gst_structure_set_valist),
11754         (gst_structure_copy_conditional):
11755         Activated more tests.
11756         Added message test.
11757         Added G_TYPE_POINTER to GstStructure.
11758         
11759
11760 2005-03-22  Wim Taymans  <wim@fluendo.com>
11761
11762         * docs/design/part-TODO.txt:
11763         * docs/design/part-events.txt:
11764         * docs/design/part-gstbin.txt:
11765         * docs/design/part-gstbus.txt:
11766         * docs/design/part-gstpipeline.txt:
11767         * docs/design/part-messages.txt:
11768         * gst/gstbus.c:
11769         * gst/gstmessage.c:
11770         Docs updates
11771
11772 2005-03-21  Wim Taymans  <wim@fluendo.com>
11773
11774         * gst/gstbus.c: (gst_bus_post):
11775         Fix copy-and-paste error.
11776
11777 2005-03-21  Wim Taymans  <wim@fluendo.com>
11778
11779         * check/Makefile.am:
11780         * gst/Makefile.am:
11781         * gst/elements/Makefile.am:
11782         * gst/elements/gstelements.c:
11783         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11784         (gst_fakesink_event), (gst_fakesink_chain):
11785         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11786         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11787         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11788         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11789         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11790         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11791         (gst_fakesrc_loop), (gst_fakesrc_activate),
11792         (gst_fakesrc_change_state):
11793         * gst/elements/gstfakesrc.h:
11794         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11795         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11796         (gst_filesrc_open_file), (gst_filesrc_loop),
11797         (gst_filesrc_activate), (gst_filesrc_change_state),
11798         (filesrc_find_peek), (filesrc_find_suggest),
11799         (gst_filesrc_type_find):
11800         * gst/elements/gstidentity.c: (gst_identity_finalize),
11801         (gst_identity_class_init), (gst_identity_init),
11802         (gst_identity_proxy_getcaps), (identity_queue_push),
11803         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11804         (gst_identity_getrange), (gst_identity_chain),
11805         (gst_identity_sink_loop), (gst_identity_src_loop),
11806         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11807         (gst_identity_set_property), (gst_identity_get_property),
11808         (gst_identity_change_state):
11809         * gst/elements/gstidentity.h:
11810         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11811         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11812         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11813         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11814         (gst_tee_sink_activate):
11815         * gst/elements/gsttee.h:
11816         * gst/gst.c: (gst_register_core_elements), (init_post):
11817         * gst/gst.h:
11818         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11819         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11820         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11821         (gst_bin_change_state):
11822         * gst/gstbin.h:
11823         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11824         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11825         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11826         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11827         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11828         (bus_watch_callback), (bus_watch_destroy),
11829         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11830         (poll_timeout), (gst_bus_poll):
11831         * gst/gstbus.h:
11832         * gst/gstcaps.h:
11833         * gst/gstdata.h:
11834         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11835         (gst_element_post_message), (gst_element_message_full),
11836         (gst_element_get_state_func), (gst_element_get_state),
11837         (gst_element_abort_state), (gst_element_commit_state),
11838         (gst_element_lost_state), (gst_element_set_state),
11839         (gst_element_pads_activate), (gst_element_change_state),
11840         (gst_element_dispose), (gst_element_set_manager_func),
11841         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11842         (gst_element_set_manager), (gst_element_get_manager),
11843         (gst_element_set_bus), (gst_element_get_bus),
11844         (gst_element_set_scheduler), (gst_element_get_scheduler):
11845         * gst/gstelement.h:
11846         * gst/gstevent.c: (gst_event_new_segment_seek),
11847         (gst_event_new_flush):
11848         * gst/gstevent.h:
11849         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11850         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11851         (gst_message_new_eos), (gst_message_new_error),
11852         (gst_message_new_warning), (gst_message_new_tag),
11853         (gst_message_new_state_changed), (gst_message_new_application),
11854         (gst_message_get_structure), (gst_message_parse_tag),
11855         (gst_message_parse_state_changed), (gst_message_parse_error),
11856         (gst_message_parse_warning):
11857         * gst/gstmessage.h:
11858         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11859         (gst_real_pad_set_property), (gst_pad_set_active),
11860         (gst_pad_is_active), (gst_pad_set_blocked_async),
11861         (gst_pad_set_blocked), (gst_pad_is_blocked),
11862         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11863         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11864         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11865         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11866         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11867         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11868         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11869         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11870         (gst_pad_set_caps), (gst_pad_configure_sink),
11871         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11872         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11873         (gst_real_pad_dispose), (gst_real_pad_finalize),
11874         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11875         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11876         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11877         * gst/gstpad.h:
11878         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11879         (pipeline_bus_handler), (gst_pipeline_change_state),
11880         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11881         * gst/gstpipeline.h:
11882         * gst/gstprobe.h:
11883         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11884         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11885         (gst_queue_link_src), (gst_queue_bufferalloc),
11886         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11887         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11888         (gst_queue_loop), (gst_queue_handle_src_event),
11889         (gst_queue_handle_src_query), (gst_queue_src_activate),
11890         (gst_queue_change_state):
11891         * gst/gstqueue.h:
11892         * gst/gstscheduler.c: (gst_scheduler_init),
11893         (gst_scheduler_dispose), (gst_scheduler_create_task),
11894         (gst_scheduler_factory_create):
11895         * gst/gstscheduler.h:
11896         * gst/gststructure.c: (gst_structure_get_type),
11897         (gst_structure_copy_conditional):
11898         * gst/gststructure.h:
11899         * gst/gsttaginterface.h:
11900         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11901         (gst_task_init), (gst_task_dispose), (gst_task_create),
11902         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11903         (gst_task_pause):
11904         * gst/gsttask.h:
11905         * gst/gstthread.c:
11906         * gst/gstthread.h:
11907         * gst/gsttypes.h:
11908         * gst/schedulers/Makefile.am:
11909         * gst/schedulers/cothreads_compat.h:
11910         * gst/schedulers/entryscheduler.c:
11911         * gst/schedulers/faircothreads.c:
11912         * gst/schedulers/faircothreads.h:
11913         * gst/schedulers/fairscheduler.c:
11914         * gst/schedulers/gstbasicscheduler.c:
11915         * gst/schedulers/gstoptimalscheduler.c:
11916         * gst/schedulers/gthread-cothreads.h:
11917         * gst/schedulers/threadscheduler.c:
11918         (gst_thread_scheduler_task_get_type),
11919         (gst_thread_scheduler_task_class_init),
11920         (gst_thread_scheduler_task_init),
11921         (gst_thread_scheduler_task_start),
11922         (gst_thread_scheduler_task_stop),
11923         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11924         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11925         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11926         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11927         (plugin_init):
11928         * libs/gst/Makefile.am:
11929         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11930         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11931         (gst_file_pad_parent_set):
11932         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11933         (gst_dp_event_from_packet):
11934         * tests/complexity.c: (main):
11935         * tests/mass_elements.c: (main):
11936         * testsuite/states/locked.c: (message_received), (main):
11937         * testsuite/states/parent.c: (main):
11938         * tools/gst-inspect.c: (print_element_flag_info),
11939         (print_implementation_info), (print_pad_info):
11940         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11941         (main):
11942         * tools/gst-md5sum.c: (event_loop), (main):
11943         * tools/gst-typefind.c: (main):
11944         * tools/gst-xmlinspect.c: (print_element_info):
11945         Next big merge.
11946         Added GstBus for mainloop integration.
11947         Added GstMessage for sending notifications on the bus.
11948         Added GstTask as an abstraction for pipeline entry points.
11949         Removed GstThread.
11950         Removed Schedulers.
11951         Simplified GstQueue for multithreaded core.
11952         Made _link threadsafe, removed old capsnego.
11953         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11954         Added pad blocking functions.
11955         Reworked scheduling functions in GstPad to prepare for
11956         scheduling updates soon.
11957         Moved events out of data stream.
11958         Simplified GstEvent types.
11959         Added return values to push/pull.
11960         Removed clocking from GstElement.
11961         Added prototypes for state change function for next merge.
11962         Removed iterate from bins and state change management.
11963         Fixed some elements, disabled others for now.
11964         Fixed -inspect and -launch.
11965         Added check for GstBus.
11966
11967 2005-03-10  Wim Taymans  <wim@fluendo.com>
11968
11969         * docs/design/part-MT-refcounting.txt:
11970         * docs/design/part-clocks.txt:
11971         * docs/design/part-gstelement.txt:
11972         * docs/design/part-gstobject.txt:
11973         * docs/design/part-standards.txt:
11974         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11975         (gst_bin_remove_func), (gst_bin_remove):
11976         * gst/gstbin.h:
11977         * gst/gstbuffer.c:
11978         * gst/gstcaps.h:
11979         * testsuite/clock/clock1.c: (main):
11980         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11981         (main):
11982         * testsuite/dlopen/loadgst.c: (do_test):
11983         * testsuite/refcounting/bin.c: (add_remove_test1),
11984         (add_remove_test2), (main):
11985         * testsuite/refcounting/element.c: (main):
11986         * testsuite/refcounting/element_pad.c: (main):
11987         * testsuite/refcounting/pad.c: (main):
11988         * tools/gst-launch.c: (sigint_handler_sighandler):
11989         * tools/gst-typefind.c: (main):
11990         Doc updates.
11991         Added doc about clock.
11992         removed gst_bin_iterate_recurse_up(), marked methods
11993         for removal.
11994         Fix more testsuites.
11995
11996 2005-03-09  Wim Taymans  <wim@fluendo.com>
11997
11998         * gst/gstpad.c: (gst_pad_get_direction),
11999         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12000         (gst_pad_collect_valist):
12001         * testsuite/bins/interface.c: (main):
12002         * testsuite/caps/audioscale.c: (test_caps):
12003         * testsuite/caps/caps.c: (test1), (test2), (test3):
12004         * testsuite/caps/deserialize.c: (main):
12005         * testsuite/caps/enumcaps.c: (main):
12006         * testsuite/caps/filtercaps.c: (main):
12007         * testsuite/caps/intersect2.c: (main):
12008         * testsuite/caps/random.c: (main):
12009         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12010         * testsuite/caps/sets.c: (check_caps):
12011         * testsuite/caps/simplify.c: (check_caps), (main):
12012         * testsuite/caps/subtract.c: (check_caps):
12013         Fix _pad_get_direction wrt ghostpads.
12014         Fix caps testsuite.
12015
12016 2005-03-09  Wim Taymans  <wim@fluendo.com>
12017
12018         * check/Makefile.am:
12019         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12020         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12021         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12022         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12023         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12024         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12025         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12026         (bin_element_is_sink), (gst_bin_iterate_sinks),
12027         (gst_bin_iterate_all_by_interface):
12028         * gst/gstbin.h:
12029         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12030         (gst_element_change_state), (gst_element_dispose),
12031         (gst_element_finalize), (gst_element_set_loop_function):
12032         * gst/gstelement.h:
12033         * gst/gstiterator.c: (find_custom_fold_func):
12034         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12035         (gst_pad_collectv), (gst_pad_collect_valist),
12036         (gst_pad_template_new):
12037         * gst/gstpipeline.c: (gst_pipeline_class_init),
12038         (gst_pipeline_dispose), (gst_pipeline_set_property),
12039         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12040         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12041         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12042         * gst/gstutils.h:
12043         * gst/schedulers/entryscheduler.c:
12044         * gst/schedulers/gstbasicscheduler.c:
12045         (gst_basic_scheduler_cothreaded_chain),
12046         (gst_basic_scheduler_chain_add_element):
12047         * testsuite/bins/interface.c: (main):
12048         Added GstBin test.
12049         Added GstSystemClock test.
12050         Implemented clock distribution code in GstBin.
12051         Implemented iterate sinks method for future use.
12052         Rearranged gstelement.h
12053         Fix GstIterator comparison bug.
12054         Moved some code to GstPipeline, mostly clocking related.
12055
12056 2005-03-09  Wim Taymans  <wim@fluendo.com>
12057
12058         * configure.ac:
12059         * gst/gst_private.h:
12060         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12061         (gst_bin_remove_func), (gst_bin_remove),
12062         (gst_bin_get_by_name_recurse_up):
12063         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12064         (gst_clock_id_compare_func), (gst_clock_id_wait),
12065         (gst_clock_id_wait_async), (gst_clock_init),
12066         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12067         * gst/gstelement.h:
12068         * gst/gstinfo.c: (_gst_debug_init):
12069         * gst/gstobject.h:
12070         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12071         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12072         * gst/gstpad.h:
12073         Bump version number, we're now 0.9.0
12074         Add future debugging category.
12075         Fix NULL _unref() in _get_by_name_recurse_up
12076         Rearrange gstpad.h.
12077         Update some docs.
12078
12079 2005-03-08  Wim Taymans  <wim@fluendo.com>
12080
12081         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12082         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12083         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12084         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12085         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12086         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12087         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12088         * gst/elements/gstidentity.c: (gst_identity_class_init):
12089         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12090         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12091         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12092         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12093         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12094         (gst_tee_link):
12095         * gst/gstelement.c: (gst_element_class_init),
12096         (gst_element_base_class_init), (gst_element_init),
12097         (gst_element_get_random_pad), (gst_element_wait_state_change),
12098         (gst_element_change_state), (gst_element_dispose),
12099         (gst_element_finalize), (gst_element_set_loop_function):
12100         * gst/gstelement.h:
12101         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12102         * gst/gstthread.c: (gst_thread_class_init),
12103         (gst_thread_release_children_locks), (gst_thread_change_state):
12104         * gst/schedulers/gstbasicscheduler.c:
12105         (gst_basic_scheduler_loopfunc_wrapper),
12106         (gst_basic_scheduler_chain_wrapper),
12107         (gst_basic_scheduler_src_wrapper),
12108         (gst_basic_scheduler_remove_element):
12109         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12110         Remove threadsafe properties. Fix elements because GObject
12111         complains when installing a property before declaring a
12112         set/get_property handler.
12113         Rearrange gstelement.h file, use STATE macros for state locks.
12114         Free mutexes in the finalize method instead of dispose.
12115
12116 2005-03-08  Wim Taymans  <wim@fluendo.com>
12117
12118         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12119         * gst/gstthread.c: (gst_thread_release_children_locks):
12120         Added parentage check.
12121         Fix build og GstThread again.
12122
12123 2005-03-08  Wim Taymans  <wim@fluendo.com>
12124
12125         * docs/design/part-MT-refcounting.txt:
12126         * docs/design/part-conventions.txt:
12127         * docs/design/part-gstobject.txt:
12128         * docs/design/part-relations.txt:
12129         * docs/design/part-standards.txt:
12130         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12131         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12132         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12133         (gst_bin_iterate_all_by_interface):
12134         * gst/gstbuffer.h:
12135         * gst/gstclock.h:
12136         * gst/gstelement.c: (gst_element_class_init),
12137         (gst_element_change_state), (gst_element_set_loop_function):
12138         * gst/gstelement.h:
12139         * gst/gstiterator.c:
12140         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12141         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12142         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12143         (gst_object_set_parent), (gst_object_unparent),
12144         (gst_object_check_uniqueness):
12145         * gst/gstobject.h:
12146         Docs updates, clean up some headers.
12147
12148 2005-03-07  Wim Taymans  <wim@fluendo.com>
12149
12150         * check/.cvsignore:
12151         * check/Makefile.am:
12152         * check/gst-libs/.cvsignore:
12153         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12154         * check/gst/.cvsignore:
12155         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12156         (START_TEST), (gstbus_suite), (main):
12157         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12158         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12159         (gst_data_suite), (main):
12160         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12161         (add_fold_func), (gstiterator_suite), (main):
12162         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12163         (thread_name_object), (thread_name_object_default),
12164         (gst_object_name_compare), (gst_object_suite), (main):
12165         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12166         (gst_pad_suite), (main):
12167         * check/gstcheck.c: (gst_check_log_message_func),
12168         (gst_check_log_critical_func), (gst_check_init):
12169         * check/gstcheck.h:
12170         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12171         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12172         Added checks.
12173
12174 2005-03-07  Wim Taymans  <wim@fluendo.com>
12175
12176         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12177         (gst_list_iterator_next), (gst_list_iterator_resync),
12178         (gst_list_iterator_free), (gst_iterator_new_list),
12179         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12180         (gst_iterator_free), (gst_iterator_push), (filter_next),
12181         (filter_resync), (filter_uninit), (filter_free),
12182         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12183         (gst_iterator_foreach), (find_custom_fold_func),
12184         (gst_iterator_find_custom):
12185         * gst/gstiterator.h:
12186         Added missing files.
12187
12188 2005-03-07  Wim Taymans  <wim@fluendo.com>
12189
12190         * Makefile.am:
12191         * configure.ac:
12192         * docs/design/part-MT-refcounting.txt:
12193         * docs/design/part-conventions.txt:
12194         * docs/design/part-gstobject.txt:
12195         * docs/design/part-relations.txt:
12196         * examples/mixer/mixer.c: (main):
12197         * examples/thread/thread.c: (eos), (main):
12198         * gst/Makefile.am:
12199         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12200         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12201         (gst_spider_plug_from_srcpad):
12202         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12203         (gst_spider_identity_change_state),
12204         (gst_spider_identity_sink_loop_type_finding):
12205         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12206         * gst/elements/gstidentity.c: (gst_identity_init):
12207         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12208         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12209         * gst/elements/gsttypefindelement.c: (free_entry):
12210         * gst/gst.c:
12211         * gst/gst.h:
12212         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12213         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12214         (gst_bin_set_index), (gst_bin_set_element_sched),
12215         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12216         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12217         (gst_bin_iterate_elements), (iterate_child_recurse),
12218         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12219         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12220         (compare_interface), (gst_bin_get_by_interface),
12221         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12222         * gst/gstbin.h:
12223         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12224         (gst_buffer_default_free), (gst_buffer_default_copy),
12225         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12226         (gst_buffer_create_sub):
12227         * gst/gstbuffer.h:
12228         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12229         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12230         (gst_caps_unref), (gst_static_caps_get),
12231         (gst_caps_remove_and_get_structure), (gst_caps_append),
12232         (gst_caps_append_structure), (gst_caps_remove_structure),
12233         (gst_caps_copy_nth), (gst_caps_set_simple),
12234         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12235         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12236         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12237         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12238         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12239         (gst_caps_structure_figure_out_union),
12240         (gst_caps_switch_structures), (gst_caps_do_simplify),
12241         (gst_caps_replace), (gst_caps_from_string),
12242         (gst_caps_copy_conditional):
12243         * gst/gstcaps.h:
12244         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12245         (_gst_clock_id_free), (gst_clock_id_unref),
12246         (gst_clock_id_compare_func), (gst_clock_id_wait),
12247         (gst_clock_id_wait_async), (gst_clock_class_init),
12248         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12249         (gst_clock_get_time), (gst_clock_set_time_adjust),
12250         (gst_clock_set_property), (gst_clock_get_property):
12251         * gst/gstclock.h:
12252         * gst/gstcompat.h:
12253         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12254         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12255         * gst/gstdata.h:
12256         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12257         (gst_element_requires_clock), (gst_element_provides_clock),
12258         (gst_element_set_clock), (gst_element_clock_wait),
12259         (gst_element_wait), (gst_element_set_time_delay),
12260         (gst_element_is_indexable), (gst_element_add_pad),
12261         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12262         (pad_compare_name), (gst_element_get_static_pad),
12263         (gst_element_request_pad), (gst_element_get_request_pad),
12264         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12265         (gst_element_class_get_pad_template_list),
12266         (gst_element_class_get_pad_template), (gst_element_error_func),
12267         (gst_element_get_random_pad), (gst_element_get_event_masks),
12268         (gst_element_send_event), (gst_element_seek),
12269         (gst_element_get_query_types), (gst_element_query),
12270         (gst_element_get_formats), (gst_element_convert),
12271         (gst_element_is_locked_state), (gst_element_set_locked_state),
12272         (gst_element_sync_state_with_parent), (gst_element_change_state),
12273         (gst_element_finalize), (gst_element_yield),
12274         (gst_element_interrupt), (gst_element_set_scheduler),
12275         (gst_element_get_scheduler), (gst_element_set_loop_function):
12276         * gst/gstelement.h:
12277         * gst/gstevent.h:
12278         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12279         (gst_format_get_by_nick), (gst_format_get_details),
12280         (gst_format_iterate_definitions):
12281         * gst/gstformat.h:
12282         * gst/gstindex.c: (gst_index_gtype_resolver):
12283         * gst/gstinfo.c:
12284         * gst/gstinfo.h:
12285         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12286         (gst_mem_chunk_free):
12287         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12288         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12289         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12290         (gst_object_dispatch_properties_changed),
12291         (gst_object_set_name_default), (gst_object_set_name),
12292         (gst_object_get_name), (gst_object_set_name_prefix),
12293         (gst_object_get_name_prefix), (gst_object_set_parent),
12294         (gst_object_get_parent), (gst_object_unparent),
12295         (gst_object_check_uniqueness), (gst_object_save_thyself),
12296         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12297         (gst_object_set_property), (gst_object_get_property),
12298         (gst_object_get_path_string):
12299         * gst/gstobject.h:
12300         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12301         (gst_real_pad_init), (gst_real_pad_get_property),
12302         (gst_pad_custom_new), (gst_pad_get_direction),
12303         (gst_pad_set_active), (gst_pad_is_active),
12304         (gst_pad_set_event_function), (gst_pad_is_linked),
12305         (gst_pad_link_free), (gst_pad_link_intersect),
12306         (gst_pad_link_fixate), (gst_pad_set_caps),
12307         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12308         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12309         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12310         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12311         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12312         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12313         (gst_pad_realize), (gst_pad_get_allowed_caps),
12314         (gst_real_pad_dispose), (gst_real_pad_finalize),
12315         (gst_pad_collectv), (gst_pad_collect_valist),
12316         (gst_pad_template_dispose), (gst_pad_template_new),
12317         (gst_pad_get_internal_links):
12318         * gst/gstpad.h:
12319         * gst/gstpipeline.c: (gst_pipeline_dispose),
12320         (gst_pipeline_change_state):
12321         * gst/gstpipeline.h:
12322         * gst/gstplugin.c:
12323         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12324         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12325         * gst/gstpluginfeature.h:
12326         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12327         * gst/gstquery.c: (_gst_query_type_initialize),
12328         (gst_query_type_register), (gst_query_type_get_by_nick),
12329         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12330         * gst/gstquery.h:
12331         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12332         * gst/gstscheduler.c: (gst_scheduler_add_element),
12333         (gst_scheduler_factory_create):
12334         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12335         (gst_structure_free), (gst_structure_set_name),
12336         (gst_structure_id_set_value), (gst_structure_set_value),
12337         (gst_structure_set_valist), (gst_structure_remove_field),
12338         (gst_structure_remove_fields),
12339         (gst_structure_remove_fields_valist),
12340         (gst_structure_remove_all_fields), (gst_structure_foreach),
12341         (gst_structure_map_in_place),
12342         (gst_caps_structure_fixate_field_nearest_int),
12343         (gst_caps_structure_fixate_field_nearest_double):
12344         * gst/gststructure.h:
12345         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12346         (gst_system_clock_init), (gst_system_clock_dispose),
12347         (gst_system_clock_async_thread),
12348         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12349         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12350         * gst/gstsystemclock.h:
12351         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12352         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12353         * gst/gsttaginterface.c:
12354         * gst/gstthread.c: (gst_thread_dispose),
12355         (gst_thread_release_children_locks), (gst_thread_change_state),
12356         (gst_thread_main_loop):
12357         * gst/gsttrashstack.h:
12358         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12359         * gst/gsttypes.h:
12360         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12361         (gst_element_request_pad), (gst_element_get_pad_from_template),
12362         (gst_element_request_compatible_pad),
12363         (gst_element_get_compatible_pad_filtered),
12364         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12365         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12366         (gst_element_link_many), (gst_element_link),
12367         (gst_element_link_pads), (gst_element_unlink_pads),
12368         (gst_element_unlink_many), (gst_element_unlink),
12369         (gst_pad_can_link_filtered), (gst_pad_can_link),
12370         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12371         (gst_object_default_error), (gst_bin_add_many),
12372         (gst_bin_remove_many), (gst_element_populate_std_props),
12373         (gst_element_class_install_std_props), (gst_buffer_merge),
12374         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12375         (link_fold_func), (gst_pad_proxy_setcaps):
12376         * gst/gstutils.h:
12377         * gst/gstvalue.c: (gst_value_deserialize_string):
12378         * gst/parse/grammar.y:
12379         * gst/schedulers/gstbasicscheduler.c:
12380         (gst_basic_scheduler_cothreaded_chain),
12381         (gst_basic_scheduler_chain_recursive_add),
12382         (gst_basic_scheduler_pad_link):
12383         * gst/schedulers/gstoptimalscheduler.c:
12384         (get_group_schedule_function),
12385         (gst_opt_scheduler_state_transition),
12386         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12387         * libs/gst/bytestream/bytestream.c:
12388         * libs/gst/dataprotocol/dataprotocol.c:
12389         (gst_dp_header_from_buffer):
12390         * po/nb.po:
12391         * po/ru.po:
12392         * tests/threadstate/threadstate2.c: (eos):
12393         * tools/gst-compprep.c: (main):
12394         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12395         (print_pad_info), (print_children_info):
12396         * tools/gst-launch.c: (idle_func), (main):
12397         * tools/gst-md5sum.c: (idle_func), (main):
12398         * tools/gst-xmlinspect.c: (print_element_info):
12399         First THREADED backport attempt, focusing on adding locks and
12400         making sure the API is threadsafe. Needs more work. More docs
12401         follow this week.
12402
12403 2005-02-24  Andy Wingo  <wingo@pobox.com>
12404
12405         * tests/bench-complexity.scm:
12406         * tests/complexity.gnuplot: New files, good for running complexity
12407         benchmarks.
12408
12409         * tests/Makefile.am:
12410         * tests/complexity.c: New test, sets up N elements, at each level
12411         teeing into M streams per element. Eeeenteresting.
12412
12413         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12414         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12415         running bench-mass_elements.scm.
12416
12417         * tests/bench-mass_elements.scm: New script, runs mass_elements
12418         for various numbers of identities, outputting the results to a
12419         file. Requires guile 1.6. Just for testing.
12420
12421 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12422
12423         * gst/schedulers/fairscheduler.c:
12424           compile with debug disabled
12425
12426 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12427
12428         * configure.ac:
12429           hunting season on 0.9 is now OPEN