move all of these under tests
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * Makefile.am:
4         * check/.cvsignore:
5         * check/Makefile.am:
6         * check/elements/.cvsignore:
7         * check/elements/fakesrc.c:
8         * check/elements/fdsrc.c:
9         * check/elements/identity.c:
10         * check/generic/.cvsignore:
11         * check/generic/states.c:
12         * check/gst-libs/.cvsignore:
13         * check/gst-libs/controller.c:
14         * check/gst-libs/gdp.c:
15         * check/gst/.cvsignore:
16         * check/gst/capslist.h:
17         * check/gst/gst.c:
18         * check/gst/gstbin.c:
19         * check/gst/gstbuffer.c:
20         * check/gst/gstbus.c:
21         * check/gst/gstcaps.c:
22         * check/gst/gstelement.c:
23         * check/gst/gstevent.c:
24         * check/gst/gstghostpad.c:
25         * check/gst/gstiterator.c:
26         * check/gst/gstmessage.c:
27         * check/gst/gstminiobject.c:
28         * check/gst/gstobject.c:
29         * check/gst/gstpad.c:
30         * check/gst/gstpipeline.c:
31         * check/gst/gstplugin.c:
32         * check/gst/gstsegment.c:
33         * check/gst/gststructure.c:
34         * check/gst/gstsystemclock.c:
35         * check/gst/gsttag.c:
36         * check/gst/gstutils.c:
37         * check/gst/gstvalue.c:
38         * check/net/.cvsignore:
39         * check/net/gstnetclientclock.c:
40         * check/net/gstnettimeprovider.c:
41         * check/pipelines/.cvsignore:
42         * check/pipelines/cleanup.c:
43         * check/pipelines/simple_launch_lines.c:
44         * check/pipelines/stress.c:
45         * check/states/.cvsignore:
46         * check/states/sinks.c:
47         * configure.ac:
48         * examples/Makefile.am:
49         * examples/appreader/.cvsignore:
50         * examples/appreader/Makefile.am:
51         * examples/appreader/appreader.c:
52         * examples/controller/.cvsignore:
53         * examples/controller/Makefile.am:
54         * examples/controller/audio-example.c:
55         * examples/cutter/.cvsignore:
56         * examples/cutter/Makefile.am:
57         * examples/cutter/cutter.c:
58         * examples/cutter/cutter.h:
59         * examples/events/Makefile.am:
60         * examples/events/seek.c:
61         * examples/helloworld/.cvsignore:
62         * examples/helloworld/Makefile.am:
63         * examples/helloworld/helloworld.c:
64         * examples/helloworld2/.cvsignore:
65         * examples/helloworld2/Makefile.am:
66         * examples/helloworld2/helloworld2.c:
67         * examples/launch/.cvsignore:
68         * examples/launch/Makefile.am:
69         * examples/launch/mp3parselaunch.c:
70         * examples/launch/mp3play:
71         * examples/manual/.cvsignore:
72         * examples/manual/Makefile.am:
73         * examples/manual/extract.pl:
74         * examples/metadata/Makefile.am:
75         * examples/metadata/read-metadata.c:
76         * examples/mixer/.cvsignore:
77         * examples/mixer/Makefile.am:
78         * examples/mixer/mixer.c:
79         * examples/mixer/mixer.h:
80         * examples/pingpong/.cvsignore:
81         * examples/pingpong/Makefile.am:
82         * examples/pingpong/pingpong.c:
83         * examples/plugins/.cvsignore:
84         * examples/plugins/Makefile.am:
85         * examples/plugins/example.c:
86         * examples/plugins/example.h:
87         * examples/pwg/.cvsignore:
88         * examples/pwg/Makefile.am:
89         * examples/pwg/extract.pl:
90         * examples/queue/.cvsignore:
91         * examples/queue/Makefile.am:
92         * examples/queue/queue.c:
93         * examples/queue2/.cvsignore:
94         * examples/queue2/Makefile.am:
95         * examples/queue2/queue2.c:
96         * examples/queue3/.cvsignore:
97         * examples/queue3/Makefile.am:
98         * examples/queue3/queue3.c:
99         * examples/queue4/.cvsignore:
100         * examples/queue4/Makefile.am:
101         * examples/queue4/queue4.c:
102         * examples/retag/.cvsignore:
103         * examples/retag/Makefile.am:
104         * examples/retag/retag.c:
105         * examples/retag/transcode.c:
106         * examples/thread/.cvsignore:
107         * examples/thread/Makefile.am:
108         * examples/thread/thread.c:
109         * examples/typefind/.cvsignore:
110         * examples/typefind/Makefile.am:
111         * examples/typefind/typefind.c:
112         * examples/xml/.cvsignore:
113         * examples/xml/Makefile.am:
114         * examples/xml/createxml.c:
115         * examples/xml/runxml.c:
116         * tests/Makefile.am:
117         * tests/check/Makefile.am:
118         * testsuite/.cvsignore:
119         * testsuite/Makefile.am:
120         * testsuite/Rules:
121         * testsuite/caps/.cvsignore:
122         * testsuite/caps/Makefile.am:
123         * testsuite/caps/app_fixate.c:
124         * testsuite/caps/audioscale.c:
125         * testsuite/caps/caps.c:
126         * testsuite/caps/caps.h:
127         * testsuite/caps/caps_strings:
128         * testsuite/caps/compatibility.c:
129         * testsuite/caps/deserialize.c:
130         * testsuite/caps/enumcaps.c:
131         * testsuite/caps/eratosthenes.c:
132         * testsuite/caps/filtercaps.c:
133         * testsuite/caps/fixed.c:
134         * testsuite/caps/fraction-convert.c:
135         * testsuite/caps/fraction-multiply-and-zero.c:
136         * testsuite/caps/intersect2.c:
137         * testsuite/caps/intersection.c:
138         * testsuite/caps/normalisation.c:
139         * testsuite/caps/random.c:
140         * testsuite/caps/renegotiate.c:
141         * testsuite/caps/sets.c:
142         * testsuite/caps/simplify.c:
143         * testsuite/caps/string-conversions.c:
144         * testsuite/caps/structure.c:
145         * testsuite/caps/subtract.c:
146         * testsuite/caps/union.c:
147         * testsuite/debug/.cvsignore:
148         * testsuite/debug/Makefile.am:
149         * testsuite/debug/category.c:
150         * testsuite/debug/commandline.c:
151         * testsuite/debug/global.c:
152         * testsuite/debug/output.c:
153         * testsuite/debug/printf_extension.c:
154         * testsuite/dlopen/.cvsignore:
155         * testsuite/dlopen/Makefile.am:
156         * testsuite/dlopen/dlopen_gst.c:
157         * testsuite/dlopen/loadgst.c:
158         * testsuite/elements/.cvsignore:
159         * testsuite/elements/Makefile.am:
160         * testsuite/elements/gst-inspect-check.in:
161         * testsuite/elements/struct_i386.h:
162         * testsuite/elements/struct_size.c:
163         * testsuite/indexers/.cvsignore:
164         * testsuite/indexers/Makefile.am:
165         * testsuite/indexers/cache1.c:
166         * testsuite/indexers/indexdump.c:
167         * testsuite/parse/.cvsignore:
168         * testsuite/parse/Makefile.am:
169         * testsuite/parse/parse1.c:
170         * testsuite/parse/parse2.c:
171         * testsuite/plugin/.cvsignore:
172         * testsuite/plugin/Makefile.am:
173         * testsuite/plugin/README:
174         * testsuite/plugin/dynamic.c:
175         * testsuite/plugin/linked.c:
176         * testsuite/plugin/loading.c:
177         * testsuite/plugin/registry.c:
178         * testsuite/plugin/static.c:
179         * testsuite/plugin/static2.c:
180         * testsuite/plugin/testplugin.c:
181         * testsuite/plugin/testplugin2.c:
182         * testsuite/plugin/testplugin2_s.c:
183         * testsuite/plugin/testplugin_s.c:
184         * testsuite/refcounting/.cvsignore:
185         * testsuite/refcounting/Makefile.am:
186         * testsuite/refcounting/bin.c:
187         * testsuite/refcounting/element.c:
188         * testsuite/refcounting/element_pad.c:
189         * testsuite/refcounting/mainloop.c:
190         * testsuite/refcounting/mem.c:
191         * testsuite/refcounting/mem.h:
192         * testsuite/refcounting/object.c:
193         * testsuite/refcounting/pad.c:
194         * testsuite/refcounting/sched.c:
195         * testsuite/refcounting/thread.c:
196         * testsuite/states/.cvsignore:
197         * testsuite/states/Makefile.am:
198         * testsuite/states/bin.c:
199         * testsuite/states/locked.c:
200         * testsuite/states/parent.c:
201         * testsuite/threads/.cvsignore:
202         * testsuite/threads/159566.c:
203         * testsuite/threads/159852.c:
204         * testsuite/threads/Makefile.am:
205         * testsuite/threads/queue.c:
206         * testsuite/threads/signals.c:
207         * testsuite/threads/staticrec.c:
208         * testsuite/threads/thread.c:
209         * testsuite/threads/threadb.c:
210         * testsuite/threads/threadc.c:
211         * testsuite/threads/threadd.c:
212         * testsuite/threads/threade.c:
213         * testsuite/threads/threadf.c:
214         * testsuite/threads/threadg.c:
215         * testsuite/threads/threadh.c:
216         * testsuite/threads/threadi.c:
217           move all of these under tests
218
219 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
220
221         * configure.ac:
222         * tests/Makefile.am:
223           fix distcheck
224
225 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
226
227         * docs/gst/gstreamer-sections.txt:
228         * tests/sched/.cvsignore:
229         * tests/sched/Makefile.am:
230         * tests/sched/cases/(fs-fs).xml:
231         * tests/sched/cases/(fs-i-fs).xml:
232         * tests/sched/cases/(fs-i-i-fs).xml:
233         * tests/sched/cases/(fs-i-q[i-fs]).xml:
234         * tests/sched/dynamic-pipeline.c:
235         * tests/sched/interrupt1.c:
236         * tests/sched/interrupt2.c:
237         * tests/sched/interrupt3.c:
238         * tests/sched/runtestcases:
239         * tests/sched/runxml.c:
240         * tests/sched/sched-stress.c:
241         * tests/sched/sort.c:
242         * tests/sched/testcases:
243         * tests/sched/testcases1.tc:
244         * tests/seeking/.cvsignore:
245         * tests/seeking/Makefile.am:
246         * tests/seeking/seeking1.c:
247         * tests/threadstate/.cvsignore:
248         * tests/threadstate/Makefile.am:
249         * tests/threadstate/test1.c:
250         * tests/threadstate/test2.c:
251         * tests/threadstate/threadstate1.c:
252         * tests/threadstate/threadstate2.c:
253         * tests/threadstate/threadstate3.c:
254         * tests/threadstate/threadstate4.c:
255         * tests/threadstate/threadstate5.c:
256           remove obsolete tests
257         * configure.ac:
258         * tests/bench-complexity.scm:
259         * tests/bench-mass_elements.scm:
260         * tests/complexity.c:
261         * tests/complexity.gnuplot:
262         * tests/instantiate/.cvsignore:
263         * tests/instantiate/Makefile.am:
264         * tests/instantiate/caps.c:
265         * tests/mass_elements.c:
266         * tests/network-clock-utils.scm:
267         * tests/network-clock.scm:
268         * tests/plot-data:
269         First pass at cleaning up tests/ dir before moving the rest
270         Combined with CVS surgery
271
272 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
273
274         * po/POTFILES.in:
275           queue has moved, update
276
277 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
278
279         * docs/gst/gstreamer-sections.txt:
280           remove double entries from the docs
281         * gst/gst_private.h:
282         * gst/gstinfo.c: (_gst_debug_init):
283           remove the THREAD debug category
284         * gst/Makefile.am:
285         * gst/gstqueue.c:
286         * gst/gstqueue.h:
287         * docs/gst/gstreamer.types:
288         * plugins/elements/gstqueue.c: (gst_queue_get_type),
289         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
290           completely move queue and fix up debugging categories
291
292 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
293
294         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
295           make initialization portable, using LL is not
296
297 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
298
299         * win32/common/gstconfig.h:
300           add large padding
301
302 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
303
304         * win32/common/libgstreamer.def:
305           rename symbols; sort base section
306
307 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
308
309         * gst/gstclock.c: (do_linear_regression):
310           remove crack non-portable handrolled DEBUG macro
311
312 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
313
314         * docs/random/release:
315           update notes
316         * win32/common/gstenumtypes.c: (register_gst_object_flags),
317         (gst_object_flags_get_type), (register_gst_bin_flags),
318         (gst_bin_flags_get_type), (register_gst_buffer_flag),
319         (gst_buffer_flag_get_type), (register_gst_bus_flags),
320         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
321         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
322         (gst_caps_flags_get_type), (register_gst_clock_return),
323         (gst_clock_return_get_type), (register_gst_clock_entry_type),
324         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
325         (gst_clock_flags_get_type), (register_gst_state),
326         (gst_state_get_type), (register_gst_state_change_return),
327         (gst_state_change_return_get_type), (register_gst_state_change),
328         (gst_state_change_get_type), (register_gst_element_flags),
329         (gst_element_flags_get_type), (register_gst_core_error),
330         (gst_core_error_get_type), (register_gst_library_error),
331         (gst_library_error_get_type), (register_gst_resource_error),
332         (gst_resource_error_get_type), (register_gst_stream_error),
333         (gst_stream_error_get_type), (register_gst_event_type_flags),
334         (gst_event_type_flags_get_type), (register_gst_event_type),
335         (gst_event_type_get_type), (register_gst_seek_type),
336         (gst_seek_type_get_type), (register_gst_seek_flags),
337         (gst_seek_flags_get_type), (register_gst_format),
338         (gst_format_get_type), (register_gst_index_certainty),
339         (gst_index_certainty_get_type), (register_gst_index_entry_type),
340         (gst_index_entry_type_get_type),
341         (register_gst_index_lookup_method),
342         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
343         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
344         (gst_index_resolver_method_get_type), (register_gst_index_flags),
345         (gst_index_flags_get_type), (register_gst_debug_level),
346         (gst_debug_level_get_type), (register_gst_debug_color_flags),
347         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
348         (gst_iterator_result_get_type), (register_gst_iterator_item),
349         (gst_iterator_item_get_type), (register_gst_message_type),
350         (gst_message_type_get_type), (register_gst_mini_object_flags),
351         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
352         (gst_pad_link_return_get_type), (register_gst_flow_return),
353         (gst_flow_return_get_type), (register_gst_activate_mode),
354         (gst_activate_mode_get_type), (register_gst_pad_direction),
355         (gst_pad_direction_get_type), (register_gst_pad_flags),
356         (gst_pad_flags_get_type), (register_gst_pad_presence),
357         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
358         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
359         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
360         (gst_plugin_error_get_type), (register_gst_plugin_flags),
361         (gst_plugin_flags_get_type), (register_gst_rank),
362         (gst_rank_get_type), (register_gst_query_type),
363         (gst_query_type_get_type), (register_gst_tag_merge_mode),
364         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
365         (gst_tag_flag_get_type), (register_gst_task_state),
366         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
367         (gst_alloc_trace_flags_get_type),
368         (register_gst_type_find_probability),
369         (gst_type_find_probability_get_type), (register_gst_uri_type),
370         (gst_uri_type_get_type), (register_gst_parse_error),
371         (gst_parse_error_get_type):
372         * win32/common/gstenumtypes.h:
373         * win32/common/gstversion.h:
374           update visual studio generated files
375
376 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
377
378         * win32/vs6/libgstbase.dsp:
379         * win32/vs6/libgstelements.dsp:
380           update project files for new locations
381
382 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
383
384         * Makefile.am:
385           remove some files
386         * README:
387           reinstate and update
388         * DEVEL:
389         * REQUIREMENTS:
390           removed
391         * LICENSE:
392         * docs/random/LICENSE:
393           moved to random
394
395 2005-11-30  Edward Hervey  <edward@fluendo.com>
396
397         * gst/gsttypefind.c: (gst_type_find_register):
398         * gst/gsttypefind.h:
399         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
400         (gst_type_find_factory_dispose):
401         * gst/gsttypefindfactory.h:
402         Fix memory leak in GstTypeFindFactory.
403
404 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
405
406         * gst/gst.c:
407         * plugins/elements/Makefile.am:
408         * plugins/elements/gstelements.c:
409         * plugins/elements/gstqueue.c:
410           move queue from core to the elements plugin
411
412 2005-11-29  Andy Wingo  <wingo@pobox.com>
413
414         * libs/gst/base/gstbasetransform.h: 
415         * libs/gst/base/gstbasesrc.h: 
416         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
417
418         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
419         of pointers by which to pad very extensible base classes (like the
420         ones in libs/gst/base).
421
422 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
423
424         * docs/gst/gstreamer-docs.sgml:
425         * docs/gst/gstreamer-sections.txt:
426         * docs/libs/gstreamer-libs-docs.sgml:
427         * docs/libs/gstreamer-libs-sections.txt:
428           moving documentation from core to lib
429
430 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
431
432         * check/Makefile.am:
433         * configure.ac:
434         * docs/gst/Makefile.am:
435         * gst/Makefile.am:
436         * gst/base/.cvsignore:
437         * gst/base/Makefile.am:
438         * gst/base/README:
439         * gst/base/gstadapter.c:
440         * gst/base/gstadapter.h:
441         * gst/base/gstbasesink.c:
442         * gst/base/gstbasesink.h:
443         * gst/base/gstbasesrc.c:
444         * gst/base/gstbasesrc.h:
445         * gst/base/gstbasetransform.c:
446         * gst/base/gstbasetransform.h:
447         * gst/base/gstcollectpads.c:
448         * gst/base/gstcollectpads.h:
449         * gst/base/gstpushsrc.c:
450         * gst/base/gstpushsrc.h:
451         * gst/base/gsttypefindhelper.c:
452         * gst/base/gsttypefindhelper.h:
453         * gst/check/Makefile.am:
454         * gst/check/gstcheck.c:
455         * gst/check/gstcheck.h:
456         * gst/net/Makefile.am:
457         * gst/net/gstnet.h:
458         * gst/net/gstnetclientclock.c:
459         * gst/net/gstnetclientclock.h:
460         * gst/net/gstnettimepacket.c:
461         * gst/net/gstnettimepacket.h:
462         * gst/net/gstnettimeprovider.c:
463         * gst/net/gstnettimeprovider.h:
464         * libs/gst/Makefile.am:
465         * libs/gst/base/Makefile.am:
466         * libs/gst/base/gstbasetransform.c:
467         * libs/gst/check/Makefile.am:
468         * plugins/elements/Makefile.am:
469         * po/POTFILES.in:
470           CVS surgery + support to move base, check, and net out of gst
471           and into libs/gst
472
473 2005-11-29  Andy Wingo  <wingo@pobox.com>
474
475         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
476
477         * gst/gststructure.h (struct _GstStructure): Only one pointer of
478         padding.
479
480         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
481
482         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
483
484         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
485
486         * gst/gstobject.h: (struct _GstObject): Only one pointer of
487         padding; reduces object size by about 30%. We don't expect
488         anything else to go into gstobject.
489
490         * gst/gstminiobject.h (struct _GstMiniObject)
491         (struct _GstMiniObjectClass): Only one pointer of padding; the
492         payload is only a pointer and two ints anyway. For the class there
493         are only two methods as well.
494         
495         * gst/gstelement.h (struct _GstElementClass): Removed
496         the state_changed signal callback, it is not used.
497
498 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
499
500         * docs/gst/gstreamer.types:
501           fix includes, though they are a little dinky
502
503 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
504
505         * check/Makefile.am:
506           look in the right place for elements, a lot more chance of
507           success
508         * gst/Makefile.am:
509           remove indexers and elements subdirs
510         * plugins/Makefile.am:
511           make indexers conditional
512
513 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
514
515         * Makefile.am:
516         * configure.ac:
517         * plugins/elements/Makefile.am:
518         * plugins/elements/gstcapsfilter.c:
519         * plugins/elements/gstfilesink.c:
520         * plugins/elements/gstfilesrc.c:
521         * plugins/elements/gstidentity.c:
522         * plugins/indexers/Makefile.am:
523           do CVS surgery and related build fixery to move elements
524           and indexers in a new gstreamer/plugins directory, out of the
525           gst/ directory
526
527 2005-11-29  Andy Wingo  <wingo@pobox.com>
528
529         * check/Makefile.am:
530         * pkgconfig/gstreamer-net-uninstalled.pc.in:
531         * pkgconfig/gstreamer-net.pc.in:
532         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
533         #322257.
534
535 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
536
537         * tools/Makefile.am:
538         * tools/gst-complete.1.in:
539         * tools/gst-complete.c:
540         * tools/gst-compprep.1.in:
541         * tools/gst-compprep.c:
542           removing -compprep and -complete
543
544 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
545
546         * gst/gstevent.c: (gst_event_new_new_segment),
547         (gst_event_parse_new_segment):
548         * gst/gstevent.h:
549           fix #320529 - clean up new_segment API and structure.
550           Let's hope everyone was using the methods, and not the structure.
551
552 2005-11-29  Edward Hervey  <edward@fluendo.com>
553
554         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
555         (gst_base_sink_event), (gst_base_sink_do_sync),
556         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
557         Properly handle non GST_FORMAT_TIME segment
558         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
559         Properly handle non GST_FORMAT_TIME segment
560         * gst/gstsegment.c:
561         This function is valid if the accumulator is 0 and the format
562         is different from the requested format.
563         
564 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
565
566         * docs/gst/gstreamer-sections.txt:
567         Add gst_query_new_seeking and gst_query_parse_seeking to the
568         docs.
569
570 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
571
572         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
573           Treat a pad alloc with new caps the same as if we were not
574           negotiated, in order to allow a changing upstream output
575           to produce a new format of data.
576
577 2005-11-29  Edward Hervey  <edward@fluendo.com>
578
579         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
580         (gst_base_transform_event), (gst_base_transform_eventfunc):
581         The event virtual method is now properly implemented, with a default
582         handler
583         Sub classes should call the parent_class event method. They should
584         return FALSE if they had a problem handling the given event, or don't
585         want GstBaseTransform to send that even downstream
586         * gst/elements/gstidentity.c: (gst_identity_class_init),
587         (gst_identity_init), (gst_identity_event),
588         (gst_identity_transform_ip), (gst_identity_set_property),
589         (gst_identity_get_property):
590         * gst/elements/gstidentity.h:
591         Added the single-segment boolean property.
592         If set to TRUE, it will output a single segment of data, starting from
593         0, will eat up all incoming newsegment, and modify the timestamp of the
594         buffers accordingly
595
596 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
597
598         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
599           Don't ref NULL target pad (#322751). Improve docs.
600
601 2005-11-29  Michael Smith  <msmith@fluendo.com>
602
603         * gst/gstregistryxml.c: (load_plugin):
604           Don't crash if we failed to load a feature from a plugin. 
605
606 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
607
608         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
609         (GST_START_TEST):
610           use more check API and less GLib API
611
612 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
613
614         * Makefile.am:
615           don't run checks if we don't have check
616         * common/check.mak:
617           remove the registry when running make torture
618         * docs/gst/gstreamer-sections.txt:
619           remove second multiply
620         * gst/gstqueue.c: (gst_queue_loop):
621           fix a compile warning when disabling debug
622
623 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
624
625         * gst/gstinfo.h:
626         Hey! Let's print the pad name if the pointer != NULL instead
627         of when it == NULL :-)
628
629 2005-11-28  Wim Taymans  <wim@fluendo.com>
630
631         * check/gst/gstutils.c: (GST_START_TEST):
632         Updated check, add some scaling accuracy checking code.
633
634         * gst/gstutils.c: (gst_util_div128_64),
635         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
636         (gst_util_uint64_scale_int):
637         Fix 6 times faster division code. Optimize for common 
638         1/1 and less common X/1 cases.
639
640 2005-11-28  Wim Taymans  <wim@fluendo.com>
641
642         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
643         More checks.
644
645         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
646         (do_linear_regression), (gst_clock_add_observation):
647         Cleanups.
648         Release lock when the clock cannot be slaved.
649         Catch the case where the regression returned an invalid denominator.
650
651         * gst/gstutils.c: (gst_util_div128_64_iterate),
652         (gst_util_div128_64), (gst_util_uint64_scale_int64),
653         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
654         Add protentially more performant non-iterative 128/64 divide function
655         that unfortunatly does not work yet.
656         Shortcut the trivial 0/X = 0 case.
657         Remove the warnings on overflow.
658
659 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
660
661         * gst/gstplugin.c: (gst_plugin_register_func):
662           everything causing a plugin not to load should be at least a WARNING
663
664 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
665
666         * docs/random/ensonic/dparams.txt:
667           some TODOs for the next dev cycle
668         * libs/gst/controller/gstcontroller.c:
669         (gst_controlled_property_set_interpolation_mode),
670         (gst_controlled_property_new):
671         * libs/gst/controller/gstcontroller.h:
672           use base type to assign acccessor functions
673
674 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
675
676         * check/Makefile.am:
677         Oops, that should have been top_srcdir
678
679 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
680
681         * check/Makefile.am:
682         * check/elements/fdsrc.c: (GST_START_TEST):
683         Use a cmdline define to specify the location of a file to use for
684         testing, to avoid breaking distcheck.
685
686 2005-11-28  Andy Wingo  <wingo@pobox.com>
687
688         * gst/gstpad.c (fixate_value): Use array functions for arrays.
689
690 2005-11-28  Edward Hervey  <edward@fluendo.com>
691
692         * tools/gst-launch.c: (main):
693         Clarify the output strings, makes it easier to translate.
694         Fixes #322626
695
696 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
697
698         * gst/Makefile.am:
699           don't try and build net if we don't even have <sys/socket.h>
700
701 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
702
703         * check/Makefile.am:
704         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
705         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
706           Add tests for fdsrc seekability
707
708         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
709         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
710         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
711         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
712         * gst/elements/gstfdsrc.h:
713           fdsrc should not be a 'live' source.
714           Implement seeking on seekable fd's.
715
716         * gst/gstquery.c: (gst_query_new_seeking),
717         (gst_query_parse_seeking):
718         * gst/gstquery.h:
719           Implement SEEKING query functions: 
720             *_new_seeking and *_parse_seeking
721
722 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
723
724         * gst/gstelement.c: (gst_element_dispose):
725           don't loop forever
726
727         * gst/gstiterator.c:
728         * gst/gststructure.c:
729           doc fixes
730
731         * libs/gst/controller/gstcontroller.c:
732         (gst_controlled_property_set_interpolation_mode):
733         * libs/gst/controller/gstcontroller.h:
734         * libs/gst/controller/gstinterpolation.c:
735         (interpolate_none_get_enum_value_array):
736           support controlling enums
737
738 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
739
740         * gst/gstvalue.c:
741           Improve documentation for gst_value_union().
742
743         * gst/gstvalue.h:
744           Change return value for union, intersect and subtract functions
745           from gint to gboolean.
746
747 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
748
749         * gst/gstvalue.c: (gst_value_serialize_any_list),
750         (gst_value_transform_any_list_string),
751         (gst_value_deserialize_list), (gst_value_deserialize_array),
752         (gst_value_set_int_range), (gst_value_deserialize_int_range),
753         (gst_value_set_double_range), (gst_value_deserialize_double_range),
754         (gst_value_set_fraction_range_full),
755         (gst_value_deserialize_fraction_range),
756         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
757         (gst_value_deserialize_boolean),
758         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
759         (gst_value_serialize_float), (gst_value_deserialize_float),
760         (gst_string_wrap), (gst_value_deserialize_string),
761         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
762         (gst_value_union_int_range_int_range),
763         (gst_value_intersect_int_range_int_range),
764         (gst_value_intersect_double_range_double_range),
765         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
766         (gst_value_subtract_int_range_int_range),
767         (gst_value_subtract_double_double_range),
768         (gst_value_subtract_double_range_double_range),
769         (gst_value_deserialize_fraction):
770         * gst/gstvalue.h:
771           Use gint, gdouble and gchar in our API instead of int, double and
772           char (and make usage in gstvalue.c more consistent).
773
774 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
775
776         * check/Makefile.am:
777         * libs/gst/controller/Makefile.am:
778         * libs/gst/dataprotocol/Makefile.am:
779           fix up Makefile.am and remove GST_ENABLE_NEW
780
781 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
782
783         * configure.ac:
784         * gst/Makefile.am:
785         * gst/base/Makefile.am:
786         * gst/check/Makefile.am:
787         * gst/elements/Makefile.am:
788         * gst/net/Makefile.am:
789           update LDFLAGS use some more
790
791 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
792
793         * common/m4/gst-doc.m4:
794           Fixes #312589
795
796 2005-11-26  Edward Hervey  <edward@fluendo.com>
797
798         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
799         This shouldn't issue a g_warning since it returns NULL if it
800         couldn't find the plugin, and all functions using this behave
801         properly on a NULL return. Switching to a GST_WARNING.
802
803 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
804
805         * gst/gstbin.c: (gst_bin_handle_message_func):
806         Don't leak clock messages.
807
808 2005-11-25  Wim Taymans  <wim@fluendo.com>
809
810         * gst/gstutils.c: (gst_util_uint64_scale_int64),
811         (gst_util_uint64_scale_int):
812         Optimisations, remove unneeded vars.
813
814 2005-11-25  Wim Taymans  <wim@fluendo.com>
815
816         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
817         Added more checks for the high precision uint64 cases.
818
819         * gst/gstutils.c: (gst_util_uint64_scale_int64),
820         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
821         Implement high precission (guint64 * guint64) / guint64.
822
823 2005-11-24  Wim Taymans  <wim@fluendo.com>
824
825         * gst/base/gstbasesrc.c: (gst_base_src_query):
826         Fix wrong percentage query.
827
828         * gst/gstutils.c: (gst_util_uint64_scale),
829         (gst_util_uint64_scale_int):
830         Add some more common cases that can be handled 
831         efficiently to _scale.
832
833 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
834
835         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
836         (gst_mini_object_suite):
837           don't use check calls from threads; check probably isn't
838           threadsafe and using a lock to make it threadsafe would
839           defeat the purpose of this check
840         * gst/check/gstcheck.c:
841         * gst/check/gstcheck.h:
842           use GST_DEBUG some more
843
844 2005-11-24  Wim Taymans  <wim@fluendo.com>
845
846         * gst/gstutils.c: (gst_util_uint64_scale),
847         (gst_util_uint64_scale_int):
848         Chain trivial case to _scale_int.
849
850 2005-11-24  Wim Taymans  <wim@fluendo.com>
851
852         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
853         Added test for scaling.
854
855         * gst/gstclock.h:
856         Small doc fix.
857
858         * gst/gstutils.c: (gst_util_uint64_scale_int):
859         Implemented high precision scaling code.
860
861 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
862
863         * gst/gstinfo.h:
864           do not crash on pad==NULL
865
866 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
867
868         Patch by: Stefan Kost
869
870         * common/gtk-doc.mak:
871         * docs/gst/Makefile.am:
872         * docs/libs/Makefile.am:
873           Fix distcheck issues for the libraries docs build
874           Closes #319599.
875
876 2005-11-24  Michael Smith <msmith@fluendo.com>
877
878         * docs/manual/basics-helloworld.xml:
879           Fix bug #315027: memory leak in example code in docs.
880
881 2005-11-24  Michael Smith <msmith@fluendo.com>
882
883         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
884           Unlock the PREROLL_LOCK in a failure case.
885
886 2005-11-24  Wim Taymans  <wim@fluendo.com>
887
888         * docs/gst/gstreamer-sections.txt:
889         * gst/base/gstadapter.h:
890         * gst/base/gstbasesink.h:
891         * gst/base/gstbasesrc.h:
892         * gst/base/gstbasetransform.h:
893         * gst/base/gstpushsrc.h:
894         * gst/elements/gstfakesink.h:
895         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
896         * gst/elements/gstfakesrc.h:
897         * gst/elements/gstfilesink.h:
898         * gst/elements/gstfilesrc.h:
899         * gst/gst.c:
900         * gst/gstbin.c:
901         * gst/gstbuffer.c: (_gst_buffer_copy):
902         * gst/gstbus.h:
903         * gst/gstcaps.c:
904         * gst/gstchildproxy.c:
905         * gst/gstclock.c:
906         * gst/gstelement.c:
907         * gst/gstelementfactory.c:
908         * gst/gstelementfactory.h:
909         * gst/gstevent.c:
910         * gst/gstghostpad.h:
911         * gst/gstindex.h:
912         * gst/gstinterface.h:
913         * gst/gstminiobject.c:
914         * gst/gstminiobject.h:
915         * gst/gstpad.c:
916         * gst/gstpad.h:
917         * gst/gstpadtemplate.h:
918         * gst/gstpipeline.h:
919         * gst/gstpluginfeature.h:
920         * gst/gstquery.h:
921         * gst/gstqueue.h:
922         * gst/gsttaglist.c:
923         * gst/gsttaglist.h:
924         * gst/gsttagsetter.c:
925         * gst/gsttagsetter.h:
926         * gst/gsttrace.c:
927         * gst/gsttrace.h:
928         * gst/gsttypefind.h:
929         * gst/gsturi.h:
930         * gst/gstvalue.c:
931         * gst/net/gstnetclientclock.c:
932         * gst/net/gstnetclientclock.h:
933         * gst/net/gstnettimepacket.c:
934         * gst/net/gstnettimeprovider.c:
935         * gst/net/gstnettimeprovider.h:
936         Doc fixes.
937
938 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
939
940         * configure.ac: back to HEAD
941
942 === release 0.9.6 ===
943
944 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
945
946         * configure.ac:
947           releasing 0.9.6, "Always On Time"
948
949 2005-11-23  Wim Taymans  <wim@fluendo.com>
950
951         * docs/gst/gstreamer-sections.txt:
952         * gst/glib-compat.c:
953         * gst/gsttagsetter.c:
954         * gst/gstvalue.c:
955         * gst/net/gstnetclientclock.c:
956         * gst/net/gstnettimepacket.h:
957         Doc updates.
958
959 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
960
961         * docs/faq/using.xml:
962         * docs/libs/tmpl/gstcontrol.sgml:
963         * docs/manual/advanced-dparams.xml:
964         * docs/manual/appendix-checklist.xml:
965         * docs/manual/basics-elements.xml:
966         * docs/pwg/other-source.xml:
967         * docs/random/moving-plugins:
968         * gst/gstpad.c:
969         * tools/gst-launch.1.in:
970           remove mentions of sinesrc
971
972 2005-11-23  Michael Smith <msmith@fluendo.com>
973
974         * docs/gst/gstreamer-sections.txt:
975           Update for new API and API changes.
976         * gst/gstobject.h:
977           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
978         * gst/gstvalue.c:
979           Documentation typo fix.
980         * gst/net/gstnettimepacket.c:
981           Documentation fixes for arguments.
982
983 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
984
985         * gst/gststructure.c: (gst_structure_get_fraction),
986         (gst_structure_parse_value),
987         (gst_structure_fixate_field_nearest_fraction):
988         * gst/gststructure.h:
989         * gst/gstutils.c: (gst_util_uint64_scale_int):
990         * gst/gstutils.h:
991         * scripts/update-funcnames:
992         API Changes. 
993         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
994         Make gst_structure_fixate_field_nearest_fraction take a numerator
995         and denominator argument instead of a GValue
996         add gst_structure_get_fraction helper function.
997
998 2005-11-23  Wim Taymans  <wim@fluendo.com>
999
1000         * docs/design/part-TODO.txt:
1001         Update TODO.
1002
1003         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1004         * gst/net/gstnetclientclock.h:
1005         Use parent fields for timeout and window_size.
1006
1007 2005-11-23  Andy Wingo  <wingo@pobox.com>
1008
1009         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1010         rate_num/rate_denom change.
1011
1012         * gst/net/gstnetclientclock.c
1013         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1014         OBJECT_LOCK. Don't call add_observation with the lock.
1015
1016         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1017         fraction.
1018         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1019         rate fraction.
1020         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1021         deal with rate as a fraction whose numerator and denominator are
1022         GstClockTime values.
1023         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1024         master; the other fields are protected by the SLAVE_LOCK.
1025         (do_linear_regression): Note that this must be called with the
1026         SLAVE_LOCK.
1027         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1028         OBJECT_LOCK. Call set_calibration instead of touching the
1029         variables directly.
1030         (gst_clock_set_property, gst_clock_get_property): Protect
1031         master/slave parameters with the SLAVE_LOCK.
1032
1033         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1034         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1035         note that all of the instance variables that add_observation and
1036         the set_master functions use are protected by that lock and not
1037         the OBJECT_LOCK.
1038         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1039
1040         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1041         the caller to take the object lock.
1042
1043 2005-11-23  Wim Taymans  <wim@fluendo.com>
1044
1045         * gst/gsterror.c: (_gst_core_errors_init):
1046         * gst/gsterror.h:
1047         Add error for clock stuff.
1048
1049         * gst/gstpipeline.c: (gst_pipeline_change_state),
1050         (gst_pipeline_set_clock):
1051         Post clock error when clock cannot be used in a pipeline.
1052
1053 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1054
1055         * docs/gst/gstreamer-sections.txt:
1056           make two symbols from gstinfo private for the docs
1057         * gst/base/gstcollectpads.h:
1058         * gst/gstutils.c:
1059           fix doc typos, update docs
1060
1061 2005-11-22  Wim Taymans  <wim@fluendo.com>
1062
1063         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1064         (gst_base_sink_wait), (gst_base_sink_do_sync),
1065         (gst_base_sink_handle_event):
1066         * gst/base/gstbasesink.h:
1067         No need to store the clock, the parent element class already
1068         has it.
1069
1070         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1071         Updates for clock_set returning a gboolean
1072
1073         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1074         (gst_clock_id_wait_async), (gst_clock_class_init),
1075         (gst_clock_init), (gst_clock_finalize),
1076         (gst_clock_get_internal_time), (gst_clock_get_time),
1077         (gst_clock_slave_callback), (gst_clock_set_master),
1078         (gst_clock_get_master), (do_linear_regression),
1079         (gst_clock_add_observation), (gst_clock_set_property),
1080         (gst_clock_get_property):
1081         * gst/gstclock.h:
1082         Implement master/slave. When setting a clock as a slave, a
1083         periodic timeout is scheduled to sample master and slave times.
1084         Then the slave clock is recalibrated to match offset and rate
1085         of the master clock.
1086         Update logging a bit.
1087         Add flag so that a clock can state that is cannot be slaved to
1088         another clock.
1089
1090         * gst/gstelement.c: (gst_element_set_clock):
1091         * gst/gstelement.h:
1092         The set clock returns a gboolean for when an element cannot
1093         deal with the selected clock in the pipeline. 
1094
1095         * gst/gstpipeline.c: (gst_pipeline_change_state),
1096         (gst_pipeline_set_clock):
1097         * gst/gstpipeline.h:
1098         Handle the case where the selected clock cannot be set on
1099         the pipeline.
1100
1101         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1102         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1103         (gst_net_client_clock_set_property),
1104         (gst_net_client_clock_get_property),
1105         (gst_net_client_clock_observe_times):
1106         * gst/net/gstnetclientclock.h:
1107         Use regression code in GstClock parent, remove duplicated
1108         functionality.
1109
1110 2005-11-22  Michael Smith <msmith@fluendo.com>
1111
1112         * gst/gstutils.c: (gst_util_clock_time_scale):
1113         * gst/gstutils.h:
1114         * docs/gst/gstreamer-sections.txt:
1115           Rename method to have extra underscore.
1116
1117 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1118
1119         * gst/elements/Makefile.am:
1120         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1121         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1122         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1123         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1124         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1125         * gst/elements/gstfakesrc.h:
1126         * gst/gstqueue.c: (queue_leaky_get_type):
1127           correctly fix GEnumValues so that nick is the short lowercase
1128           dashed tag
1129         * tools/gst-inspect.c: (print_element_properties_info):
1130           also show the nick, since it's useful to use from parse_launch
1131           syntax
1132           Fixes #322139
1133
1134 2005-11-22  Michael Smith <msmith@fluendo.com>
1135
1136         * gst/gstutils.c: (gst_util_clocktime_scale):
1137         * gst/gstutils.h:
1138         * docs/gst/gstreamer-sections.txt:
1139           Add util method for scaling a clocktime by a fraction. Useful 
1140           implementation is left as an exercise for the reader.
1141
1142 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1143
1144         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1145         If needed, allocate storage in the destination value during
1146         collection.
1147
1148 2005-11-22  Edward Hervey  <edward@fluendo.com>
1149
1150         * docs/gst/gstreamer-sections.txt:
1151         * gst/Makefile.am:
1152         * gst/gst.h:
1153         * gst/gsturitype.c:
1154         * gst/gsturitype.h:
1155         * gst/gstutils.c: (gst_util_set_object_arg):
1156         * tools/gst-compprep.c: (main):
1157         * tools/gst-inspect.c: (print_element_properties_info):
1158         Removed GstURI, closes bug #321061
1159
1160 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1161
1162         * check/gst/gststructure.c: (GST_START_TEST):
1163         * gst/gststructure.c: (gst_structure_parse_value):
1164           Oops, broke automatic string type parsing.
1165           Add a test to catch it in future.
1166
1167 2005-11-22  Andy Wingo  <wingo@pobox.com>
1168
1169         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1170         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1171         Actually rename the function implementations. Grr.
1172
1173 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1174
1175         * check/gst/capslist.h:
1176           Comment test cases
1177         * check/gst/gststructure.c: (GST_START_TEST),
1178         (gst_structure_suite):
1179           Test automatic value type detection in gst_structure_from_string.
1180         * gst/gststructure.c: (gst_structure_parse_value):
1181           Add fraction as a type we try and guess automatically in
1182           caps/structure strings.
1183
1184 2005-11-22  Andy Wingo  <wingo@pobox.com>
1185
1186         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1187
1188         * gst/gsttagsetter.h:
1189         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1190         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1191         (gst_tag_setter_add_tag_valist)
1192         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1193         _add_values, _add_valist, and _add_valist_values. Since this is an
1194         interface the function suffixes should be more explicit so
1195         language binding don't end up with element.add_valist ->
1196         gst_tag_setter_add_valist, for example. Fixes #322069.
1197
1198 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1199
1200         * check/gst/gstcaps.c: (GST_START_TEST):
1201           Extend caps string tests to check that a caps to string
1202           conversion is reversible and produces the same caps.
1203
1204         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1205           Output "fraction" as the generic type fraction range, so caps
1206           serialisation and deserialisation works.
1207         * check/gst/capslist.h:
1208         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1209           Support 'MIN' and 'MAX' for deserialising fractions.
1210
1211 2005-11-22  Andy Wingo  <wingo@pobox.com>
1212
1213         * gst/gstevent.h (gst_event_new_new_segment)
1214         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1215         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1216         Renamed from *_newsegment, *_buffersize, *_notarget.
1217
1218         * scripts/update-funcnames: New script, performs the changes
1219         listed above.
1220
1221 2005-11-22  Wim Taymans  <wim@fluendo.com>
1222
1223         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1224         Make sure the GstFlowReturn is returned.
1225
1226         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1227         (gst_bus_add_signal_watch):
1228         * gst/gstbus.h:
1229         add gst_bus_add_signal_watch_full.
1230
1231         * gst/gstplugin.c: (gst_plugin_load_file):
1232         Small style cleanup.
1233
1234 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1235
1236         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1237           Block the fakesrc srcpad when we send an event, to avoid
1238           contention on the stream_lock causing random test failures.
1239
1240 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1241
1242         * check/gst/gstvalue.c: (GST_START_TEST):
1243         * gst/gstvalue.c: (gst_value_fraction_subtract):
1244           Fix subtraction.
1245
1246 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1247
1248         * gst/gst.h:
1249           include "gstchildproxy.h"
1250         * gst/gstchildproxy.h:
1251         * libs/gst/controller/gstcontroller.h:
1252           use G_GNUC_NULL_TERMINATED
1253
1254 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1255
1256         * check/gst/capslist.h:
1257         * check/gst/gstcaps.c: (GST_START_TEST):
1258         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1259         * gst/gststructure.c: (gst_structure_parse_range),
1260         (gst_structure_fixate_field_nearest_fraction):
1261         * gst/gststructure.h:
1262         * gst/gstvalue.c: (gst_value_init_fraction_range),
1263         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1264         (gst_value_collect_fraction_range),
1265         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1266         (gst_value_set_fraction_range_full),
1267         (gst_value_get_fraction_range_min),
1268         (gst_value_get_fraction_range_max),
1269         (gst_value_serialize_fraction_range),
1270         (gst_value_transform_fraction_range_string),
1271         (gst_value_compare_fraction_range),
1272         (gst_value_deserialize_fraction_range),
1273         (gst_value_intersect_fraction_fraction_range),
1274         (gst_value_intersect_fraction_range_fraction_range),
1275         (gst_value_subtract_fraction_fraction_range),
1276         (gst_value_subtract_fraction_range_fraction),
1277         (gst_value_subtract_fraction_range_fraction_range),
1278         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1279         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1280         (gst_value_transform_string_fraction), (_gst_value_initialize):
1281         * gst/gstvalue.h:
1282           Implement fraction ranges and extend GstFraction to support
1283           arithmetic subtraction, as well as deserialization from integer
1284           strings such as "100"
1285           Add a testsuite as for int and double range set operations
1286
1287 2005-11-21  Andy Wingo  <wingo@pobox.com>
1288
1289         * gst/gsttaglist.h: 
1290         * gst/gstcaps.h: 
1291         * gst/gststructure.h: Add glib-compat.h.
1292
1293 2005-11-21  Wim Taymans  <wim@fluendo.com>
1294
1295         * gst/gstbin.c: (gst_bin_change_state_func):
1296         Fix for #321595
1297
1298 2005-11-21  Wim Taymans  <wim@fluendo.com>
1299
1300         * gst/gstsegment.h:
1301         And add a nice define too.
1302
1303 2005-11-21  Wim Taymans  <wim@fluendo.com>
1304
1305         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1306         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1307         (gst_segment_set_duration), (gst_segment_set_last_stop),
1308         (gst_segment_set_seek), (gst_segment_set_newsegment),
1309         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1310         (gst_segment_clip):
1311         * gst/gstsegment.h:
1312         Make binding friendly.
1313
1314 2005-11-21  Andy Wingo  <wingo@pobox.com>
1315
1316         * gst/gsttagsetter.h: 
1317         * gst/gsttaglist.h: 
1318         * gst/gststructure.h: 
1319         * gst/gstcaps.h: 
1320         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1321         #319940.
1322
1323         * gst/gsterror.c (_gst_core_errors_init):
1324         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1325         category.
1326
1327         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1328         (noinst_HEADERS): noinst the -private.
1329
1330 2005-11-21  Michael Smith <msmith@fluendo.com>
1331
1332         * gst/gstplugin.h:
1333         * gst/gstregistry.h:
1334           Remove unimplemented declarations for which we can see no sensible
1335           use.
1336
1337 2005-11-21  Andy Wingo  <wingo@pobox.com>
1338
1339         * gst/gst.h: Include glib-compat.h.
1340
1341         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1342
1343         * gst/glib-compat.c: Include the public and the private header.
1344
1345         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1346
1347         * gst/gstvalue.c: 
1348         * gst/gstpad.c: 
1349         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1350
1351         * check/gst/gstevent.c (create_custom_events): Check that
1352         FLUSH_STOP is serialized.
1353
1354         * check/elements/identity.c (event_func): 
1355         * check/elements/fakesrc.c (event_func): No stream lock, the core
1356         takes it.
1357
1358         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1359         stream lock taking, yay.
1360
1361         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1362         ensure that core takes the stream lock.
1363
1364         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1365         lock name change.
1366
1367         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1368         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1369         it already. For the flush start we do take it though so we get the
1370         right preroll state change messages.
1371
1372         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1373         the stream lock here, the core does it for us.
1374
1375         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1376         GST_STREAM_GET_LOCK.
1377         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1378         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1379         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1380         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1381         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1382         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1383
1384         * gst/gstpad.c: Update for stream lock name change.
1385
1386         * gst/base/gstbasesink.c: Update for preroll lock name change.
1387
1388 2005-11-21  Wim Taymans  <wim@fluendo.com>
1389
1390         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1391         (gst_clock_get_master):
1392         * gst/gstclock.h:
1393         * gst/gstsystemclock.c: (gst_system_clock_init):
1394         Convert Clock flags to object flags.
1395         Added methods to manage master/slave clocks.
1396
1397 2005-11-21  Wim Taymans  <wim@fluendo.com>
1398
1399         * check/gst/gstsegment.c: (GST_START_TEST):
1400         * docs/design/part-TODO.txt:
1401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1402         (gst_base_sink_event), (gst_base_sink_do_sync),
1403         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1404         (gst_base_sink_query), (gst_base_sink_change_state):
1405         * gst/base/gstbasesink.h:
1406         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1407         (gst_base_src_default_newsegment),
1408         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1409         (gst_base_src_get_range), (gst_base_src_loop),
1410         (gst_base_src_change_state):
1411         * gst/base/gstbasesrc.h:
1412         * gst/base/gstbasetransform.c:
1413         (gst_base_transform_prepare_output_buf),
1414         (gst_base_transform_event), (gst_base_transform_change_state):
1415         * gst/base/gstbasetransform.h:
1416         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1417         (gst_collect_pads_event):
1418         * gst/base/gstcollectpads.h:
1419         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1420         (gst_fake_src_create):
1421         * gst/elements/gstfakesrc.h:
1422         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1423         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1424         (gst_segment_set_last_stop), (gst_segment_set_seek),
1425         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1426         (gst_segment_to_running_time), (gst_segment_clip):
1427         * gst/gstsegment.h:
1428         More segment updates, replace code in plugins with segment
1429         helper functions.
1430
1431 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1432
1433         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1434         Don't ignore sscanf results
1435
1436 2005-11-21  Andy Wingo  <wingo@pobox.com>
1437
1438         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1439
1440         * *.h:
1441         * *.c: Ran scripts/update-macros. Oh yes.
1442
1443         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1444         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1445         GST_GET_LOCK, etc.
1446
1447         * scripts/update-macros: New script. Run it on your files to
1448         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1449         well.
1450
1451 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1452
1453         * docs/gst/Makefile.am:
1454         * docs/gst/gstreamer-docs.sgml:
1455         * docs/gst/gstreamer-sections.txt:
1456         * docs/gst/gstreamer.types:
1457         * gst/gstinfo.h:
1458           more docs fixes, add new api to the docs
1459
1460 2005-11-21  Andy Wingo  <wingo@pobox.com>
1461
1462         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1463         state_broadcast call.
1464
1465         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1466
1467 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1468
1469         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1470         function calls for arrays.
1471
1472 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1473
1474         * docs/random/ensonic/media-device-daemon.txt:
1475           wild idea, can this be done?
1476         * docs/gst/gstreamer-sections.txt:
1477         * gst/gsterror.h:
1478         * gst/gstfilter.c:
1479         * gst/gstfilter.h:
1480         * gst/gstplugin.h:
1481         * gst/gstpluginfeature.c:
1482         * gst/gsttrace.c:
1483         * gst/gstvalue.c:
1484         * gst/gstvalue.h:
1485           doc fixes and additions
1486
1487 2005-11-21  Andy Wingo  <wingo@pobox.com>
1488
1489         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1490         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1491         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1492         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1493         private to the basesrc implementation.
1494
1495         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1496         behalf of event function if necessary. It should no longer be
1497         necessary to take the stream lock in pad's event functions. Fixes
1498         #320299.
1499
1500 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1501         * docs/gst/gstreamer-sections.txt:
1502         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1503         (gst_structure_fixate_field_nearest_double),
1504         (gst_structure_fixate_field_boolean):
1505         * gst/gststructure.h:
1506         * win32/common/libgstreamer.def:
1507         * win32/gstreamer.def:
1508
1509         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1510         (#322027)
1511
1512 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1513
1514         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1515         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1516         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1517         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1518         (gst_fdsrc_uri_handler_init):
1519         * gst/elements/gstfdsrc.h:
1520           Port fd:// URI handler from 0.8 to fdsrc
1521
1522 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1523
1524         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1525         (gst_value_serialize_fourcc):
1526         * gst/gstvalue.h:
1527           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1528           consistent with our other format defines (#320324).
1529
1530 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1531
1532         * gst/gstvalue.c: (gst_value_is_fixed):
1533           Revert previous commit. Value lists are by definition
1534           not fixed, as they are a list of possible values.
1535
1536 2005-11-21  Andy Wingo  <wingo@pobox.com>
1537
1538         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1539         during the stable series if we need it. Fixes #319178.
1540
1541         * gst/gstevent.c (gst_event_new_filler): Removed.
1542
1543         * check/gst/gstevent.c: Update comment about filler events.
1544
1545 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1546
1547         * gst/gstvalue.c: (gst_value_is_fixed):
1548           Should handle both value arrays and value lists.
1549
1550 2005-11-21  Andy Wingo  <wingo@pobox.com>
1551
1552         patch by: Alessandro Dessina <alessandro nnva org>
1553
1554         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1555         functions to access arrays. Fixes #321962.
1556
1557 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1558
1559         * docs/gst/gstreamer.types:
1560           gst_collectpads_get_type => gst_collect_pads_get_type.
1561           
1562         * gst/base/gstbasetransform.c:
1563           Remove unused SIGNAL_HANDOFF enum.
1564
1565 2005-11-21  Andy Wingo  <wingo@pobox.com>
1566
1567         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1568         the event type (upstream, downstream, serialized). Renamed
1569         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1570         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1571         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1572
1573         * gst/gstevent.c: Update for new CUSTOM event names.
1574
1575         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1576
1577         * gst/gstevent.h:
1578         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1579         bug #319392.
1580
1581 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1582
1583         * docs/gst/gstreamer-sections.txt:
1584         * win32/common/libgstbase.def:
1585         * win32/libgstbase.def:
1586         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1587         (gst_collect_pads_class_init), (gst_collect_pads_init),
1588         (gst_collect_pads_finalize), (gst_collect_pads_new),
1589         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1590         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1591         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1592         (gst_collect_pads_start), (gst_collect_pads_stop),
1593         (gst_collect_pads_peek), (gst_collect_pads_pop),
1594         (gst_collect_pads_available), (gst_collect_pads_read),
1595         (gst_collect_pads_flush), (gst_collect_pads_event),
1596         (gst_collect_pads_chain):
1597         * gst/base/gstcollectpads.h:
1598           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1599           unimplemented functions as unimplemented. Add padding to
1600           GstCollectData. (#320766, #320423)
1601
1602 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1603
1604         * gst/gstmessage.c:
1605           Improve docs for DURATION message (usage of duration parameter)
1606           (#320113)
1607
1608 2005-11-20  Wim Taymans  <wim@fluendo.com>
1609
1610         * check/Makefile.am:
1611         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1612         (main):
1613         * gst/Makefile.am:
1614         * gst/gst.h:
1615         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1616         (gst_segment_set_seek), (gst_segment_set_newsegment),
1617         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1618         (gst_segment_clip):
1619         * gst/gstsegment.h:
1620         Added segment helper structure and methods. Not fully implemented
1621         yet.
1622         Added segment check.
1623
1624 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1625
1626         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1627           Add a deserialisation test for fractions
1628         * examples/metadata/read-metadata.c: (message_loop),
1629         (make_pipeline), (main):
1630           Fix up metadata reading sample.
1631         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1632           Debug format fix
1633         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1634           Don't try and fixate empty caps
1635         * gst/gst_private.h:
1636           Wrap in G_BEGIN_DECLS/G_END_DECLS
1637         * gst/gstvalue.c: (gst_value_collect_fraction),
1638         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1639         (gst_value_transform_string_fraction),
1640         (gst_value_compare_fraction):
1641           Add some extra guards to ensure that we don't end up 
1642           with an invalid denominator of 0 in a gstfraction and
1643           that fractions always get reduced.
1644
1645 2005-11-20  Wim Taymans  <wim@fluendo.com>
1646
1647         * docs/gst/gstreamer-sections.txt:
1648         * gst/gstbuffer.h:
1649         * gst/gstelement.c:
1650         * gst/gstformat.c:
1651         * gst/gstformat.h:
1652         * gst/gstindex.h:
1653         * gst/gstquery.c:
1654         * gst/gstquery.h:
1655         * gst/gstvalue.c:
1656         Doc fixes.
1657
1658 2005-11-20  Wim Taymans  <wim@fluendo.com>
1659
1660         * docs/design/part-TODO.txt:
1661         * gst/gstcaps.h:
1662         Make a proper enum of the flag.
1663
1664 2005-11-19  Wim Taymans  <wim@fluendo.com>
1665
1666         * docs/design/part-TODO.txt:
1667         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1668         (gst_format_to_quark), (gst_format_register):
1669         * gst/gstformat.h:
1670         * gst/gstquery.c: (_gst_query_initialize),
1671         (gst_query_type_get_name), (gst_query_type_to_quark),
1672         (gst_query_type_register):
1673         * gst/gstquery.h:
1674         Add type to quark and type to string conversions.
1675
1676 2005-11-19  Andy Wingo  <wingo@pobox.com>
1677
1678         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1679         #320097.
1680
1681 2005-11-19  Wim Taymans  <wim@fluendo.com>
1682
1683         * docs/design/part-TODO.txt:
1684         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1685         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1686         (gst_bin_handle_message_func):
1687         * gst/gstbin.h:
1688         Make message handling overridable.
1689
1690 2005-11-19  Andy Wingo  <wingo@pobox.com>
1691
1692         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1693
1694         * gst/gstclock.h:
1695         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1696         be a GstClockTime.
1697         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1698         is a GstClockTime. Fixes #321710.
1699
1700         * gst/gstclock.h (GstClock): Remove offset property. Add
1701         internal_calibration and external_calibration. Fix padding. Pad
1702         also by GstClockTime so we don't run into problems.
1703
1704         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1705         (gst_clock_get_rate_offset): Remove.
1706         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1707
1708         * gst/gstutils.h:
1709         * gst/gstutils.c (g_static_rec_cond_wait)
1710         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1711
1712         * gst/gstbin.c: Remove terrible continue_state prototype.
1713
1714         * gst/gstelement.h (gst_element_continue_state): Make public.
1715
1716         * gst/gstelement.h:
1717         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1718         by continue_state. Fixes #319389.
1719
1720         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1721         Really fixes #168438. However I don't see anywhere where the
1722         filter function is called... stupid GStreamer...
1723         
1724         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1725         don't have a dispose function, so it won't get called when the
1726         object is unreffed, but oh well!
1727
1728         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1729         allows a destroy function to be set so user_data can be freed.
1730         Fixes #168438.
1731         (gst_index_set_filter): Call gst_index_set_filter_full.
1732
1733         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1734
1735         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1736         string should produce an error, given the lack of a way to
1737         represent NULL strings. Fixes #165650.
1738         
1739         * gst/gstvalue.h: 
1740         * gst/gstvalue.c (gst_value_array_append_value) 
1741         (gst_value_array_prepend_value, gst_value_array_get_size) 
1742         (gst_value_array_get_value): New API, copied from
1743         gst_value_list_*, only operates on arrays.
1744         (gst_value_list_append_value, gst_value_list_prepend_value) 
1745         (gst_value_list_concat, gst_value_list_get_size) 
1746         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1747
1748         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1749         init_list, because it works on both.
1750         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1751         (gst_value_copy_list_or_array): Renamed from copy_list.
1752         (gst_value_free_list_or_array): Renamed from free_list.
1753         (gst_value_collect_list_or_array): Renamed from collect_list.
1754         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1755         (gst_value_list_or_array_peek_pointer): Renamed from
1756         list_peek_pointer.
1757         (_gst_value_array_value_table, _gst_value_list_value_table):
1758         Update value table functions.
1759         (gst_value_compare_list_or_array): Renamed from compare_list.
1760
1761         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1762         some constness.
1763
1764         * gst/gsttaglist.c:
1765         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1766         GstTagList*. Fixes #143472.
1767
1768         * gst/gststructure.h: Clarify what the foreach/map functions can
1769         or can't do to their arguments.
1770
1771 2005-11-18  Wim Taymans  <wim@fluendo.com>
1772
1773         * gst/gstclock.c: (gst_clock_set_calibration),
1774         (gst_clock_get_calibration):
1775         Doc and API fixes.
1776         Calibration can be set with internal time equal to current
1777         internal time too.
1778
1779 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1780
1781         * gst/gsterror.c:
1782         * gst/gsterror.h:
1783           document
1784
1785 2005-11-18  Andy Wingo  <wingo@pobox.com>
1786
1787         * configure.ac: 
1788         * pkgconfig/gstreamer-net.pc.in:
1789         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1790         * pkgconfig/Makefile.am: Add net pkgconfig files.
1791
1792 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1793
1794         * gst/gstcaps.c:
1795         * gst/gstghostpad.c:
1796         * gst/gsttrace.c:
1797         * gst/gstvalue.c:
1798         * gst/gstvalue.h:
1799           docs fixes
1800
1801 2005-11-18  Andy Wingo  <wingo@pobox.com>
1802
1803         * gst/net/gstnetclientclock.c: Turn off debugging.
1804
1805         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1806         times connverge somewhat. Can't make a real test.
1807
1808         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1809         integer arithmetic. Return the minimum of the domain, which can be
1810         set as "internal" for gst_clock_set_calibration.
1811         (gst_net_client_clock_observe_times): Call _set_calibration.
1812         (gst_net_client_clock_new): Call _set_calibration instead of
1813         rate_offset.
1814
1815         * check/net/gstnetclientclock.c (test_functioning): Use the right
1816         adjustment api.
1817
1818         * gst/gstclock.h:
1819         * gst/gstclock.c (gst_clock_get_calibration) 
1820         (gst_clock_set_calibration): New functions, obsolete the ones I
1821         added yesterday. Doh. Precision issues mean we have to extrapolate
1822         from a point in the more recent past than 1970.
1823         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1824         obsolete.
1825         (gst_clock_adjust_unlocked): Use the right calibration data.
1826
1827 2005-11-18  Edward Hervey  <edward@fluendo.com>
1828
1829         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1830         Also reset the ->current_* values in READY->PAUSED
1831
1832 2005-11-18  Andy Wingo  <wingo@pobox.com>
1833
1834         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1835         Whoops, check the right fd. Also add some debugging.
1836         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1837         (do_linear_regression): Add a crapload of debugging. Subtract off
1838         the minimum values from the input series to discard unneeded bits.
1839         Use only int arithmetic. There is still double arithmetic when
1840         calculating the intercept that needs fixing. Return boolean to
1841         indicate success; FALSE would mean the domain or range is too
1842         great. Still needs fixes.
1843
1844 2005-11-18  Wim Taymans  <wim@fluendo.com>
1845
1846         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1847         For the current position in stream time, we need to subtract
1848         accumulated time.
1849         
1850         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1851         Release lock before calling the callback function of async
1852         entries.
1853
1854 2005-11-18  Andy Wingo  <wingo@pobox.com>
1855
1856         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1857         Port goes all the way to MAXUINT16.
1858
1859         * gst/net/gstnettimeprovider.c: Make the port range the same as
1860         for the kernel: 0 assigns, otherwise ports are less than
1861         MAXUINT16.
1862
1863         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1864         port change.
1865
1866         * check/net/gstnetclientclock.c (test_functioning): Add the start
1867         of another test. 
1868
1869 2005-11-18  Wim Taymans  <wim@fluendo.com>
1870
1871         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1872         (gst_bin_remove_func), (bin_bus_handler):
1873         * gst/gstbin.h:
1874         Removing a clock provider from a bin, triggers a clock lost message
1875         so that a new clock will be selected.
1876         Adding a clock to a bin triggers a clock provider message.
1877         Make sure we reselect a clock when we received a clock lost message.
1878         Keep a reference to the element that provided the clock.
1879
1880 2005-11-18  Andy Wingo  <wingo@pobox.com>
1881
1882         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1883         the clock initially so it produces values around the base time.
1884         (gst_net_client_clock_class_init): Typo fix.
1885         (gst_net_client_clock_thread): Add note on when the socket gets
1886         closed.
1887
1888 2005-11-17  Wim Taymans  <wim@fluendo.com>
1889
1890         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1891         Free remote and local time arrays.
1892
1893 2005-11-17  Wim Taymans  <wim@fluendo.com>
1894
1895         * gst/net/gstnetclientclock.c: (do_linear_regression),
1896         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1897         Fix compilation, uninitialized vars and a forgotten continue.
1898
1899 2005-11-17  Andy Wingo  <wingo@pobox.com>
1900
1901         * check/Makefile.am (check_PROGRAMS): 
1902         * check/net/gstnetclientclock.c: Add a most minimal test for the
1903         net client clock. More to come later.
1904
1905         * gst/net/gstnet.h: 
1906         * gst/net/Makefile.am: Add netclientclock.
1907
1908         * gst/net/gstnetclientclock.h:
1909         * gst/net/gstnetclientclock.c: New files, implement an untested
1910         GstClock that takes its time from a network time provider.
1911         Implements the algorithm in network-clock.scm.
1912
1913         * tests/network-clock.scm (*window-size*): Rename from
1914         *queue-length*.
1915         * tests/network-clock.scm (network-time): 
1916         * tests/network-clock-utils.scm (q-push): Update callers.
1917
1918 2005-11-17  Wim Taymans  <wim@fluendo.com>
1919
1920         * gst/gstbin.c: (gst_bin_provide_clock_func),
1921         (gst_bin_sort_iterator_new):
1922         And unref the child too..
1923
1924 2005-11-17  Wim Taymans  <wim@fluendo.com>
1925
1926         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1927         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1928         Refactor the sort iterator so it can be used while holding the
1929         LOCK too.
1930         Make clock selection select a clock closest to the source.
1931
1932 2005-11-17  Michael Smith <msmith@fluendo.com>
1933
1934         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1935         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1936         * gst/gstclock.h:
1937           Anonymous structs are a gcc (and some other compilers) extension, so
1938           don't use them. Since this is only for ABI-compatibility, and our
1939           API/ABI freeze is over in a few days, this whole thing will only
1940           last a few days, so don't bother trying to think up a meaningful
1941           name for the struct.
1942
1943 2005-11-17  Andy Wingo  <wingo@pobox.com>
1944
1945         * gst/gstclock.h (GstClock): Add rate and offset properties,
1946         preserving ABI stability. Add rate/offset accessors. Will file bug
1947         for the freeze break.
1948
1949         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1950         and offset, trying to keep precision and avoiding
1951         underflow/overflow.
1952         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1953         functions. Make gst_clock_set_time_adjust obsolete.
1954         (gst_clock_set_time_adjust): Note that this function is obsolete.
1955         Will file bug soon.
1956
1957         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1958         greppable by using GST_PADDING-1+1.
1959
1960 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1961
1962         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1963
1964         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1965           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1966
1967         * gst/gstpadtemplate.h:
1968         * gst/gstpluginfeature.h:
1969           Don't use c++ style comments in headers (#321638).
1970
1971 2005-11-16  Andy Wingo  <wingo@pobox.com>
1972
1973         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1974         buffer.
1975
1976         * check/net/gstnettimeprovider.c: Check to see that the time
1977         provider actually provides times. Works, yo!
1978
1979 2005-11-16  Wim Taymans  <wim@fluendo.com>
1980
1981         * check/Makefile.am:
1982         Enable more tests.
1983
1984         * check/elements/fakesrc.c: (GST_START_TEST):
1985         Set element to NULL before disposing it.
1986
1987 2005-11-16  Andy Wingo  <wingo@pobox.com>
1988
1989         * gst/net/Makefile.am:
1990         * gst/net/gstnet.h:
1991         * gst/net/gstnettimeprovider.c: 
1992         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1993         provider, include it from gstnet.h, and add it to the build.
1994
1995         * gst/net/gstnettimepacket.h: 
1996         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1997         sending and receiving.
1998
1999 2005-11-16  Wim Taymans  <wim@fluendo.com>
2000
2001         * check/Makefile.am:
2002         Enable valgrind check.
2003
2004         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2005         (gst_fake_src_alloc_buffer):
2006         Fix memleak.
2007
2008 2005-11-16  Wim Taymans  <wim@fluendo.com>
2009
2010         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2011         Call parent finalize too.
2012
2013 2005-11-16  Wim Taymans  <wim@fluendo.com>
2014
2015         * check/Makefile.am:
2016         Enable valgrind check that should work fine now.
2017
2018         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2019         * gst/gstqueue.c: (gst_queue_init):
2020         Fix memleaks in pad allocation.
2021
2022 2005-11-16  Andy Wingo  <wingo@pobox.com>
2023
2024         * gst/net/Makefile.am:
2025         * gst/net/gstnet.h: New part of core to hold network elements and
2026         objects. Put in core because it exposes API that applications want
2027         to use. The library is named libgstnet-tempname right now because
2028         of the existing libgstnet in gst-plugins-base. Solution is
2029         probably to rename the one in plugins-base; will file a bug for
2030         the freeze break.
2031
2032         * gst/net/gstnettimeprovider.c: 
2033         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2034         get_time call over the network.
2035
2036         * configure.ac: 
2037         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2038
2039         * check/Makefile.am:
2040         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2041         get additions shortly.
2042
2043 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2044
2045         * gst/gstpad.c: (gst_pad_new_from_static_template):
2046         * gst/gstpad.h:
2047           add gst_pad_new_from_static_template functions
2048         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2049         (gst_check_setup_sink_pad):
2050         * gst/elements/gsttee.c: (gst_tee_init):
2051           and use them
2052
2053 2005-11-16  Wim Taymans  <wim@fluendo.com>
2054
2055         * gst/gstpad.c: (gst_pad_pause_task):
2056         Removed warning, it's not really an error either.
2057
2058 2005-11-16  Wim Taymans  <wim@fluendo.com>
2059
2060         * gst/base/gstbasetransform.c:
2061         (gst_base_transform_prepare_output_buf),
2062         (gst_base_transform_event):
2063         Check if the caps are NULL, this can happen if the element
2064         is shutting down and the pad caps are set to NULL.
2065
2066 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2067
2068         * gst/elements/gsttee.c: (gst_tee_init):
2069           fix pad template leak in tee
2070
2071 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2072
2073         * gst/glib-compat.c: (g_value_dup_gst_object):
2074         * gst/glib-compat.h:
2075         * gst/gstpad.c: (gst_pad_set_property):
2076           use gst_object_ref when setting the pad template; this will
2077           trigger the pad template leaks on GLib 2.6 and the slaves
2078
2079 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2080
2081         * gst/glib-compat.c: (gst_flags_get_first_value):
2082         * gst/glib-compat.h:
2083         * gst/gstregistryxml.c:
2084           remove functions copied from GLib 2.6
2085
2086 2005-11-16  Michael Smith <msmith@fluendo.com>
2087
2088         * gst/Makefile.am:
2089           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2090           do, but only breaks with newer valgrind versions. We're not a
2091           valgrind tool, we have no link-time dependencies on libcoregrind.
2092
2093 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2094
2095         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2096           some debug changes
2097         * gst/gstmessage.h:
2098           typo fixes
2099
2100 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2101
2102         * gst/base/gstbasesrc.c: (gst_base_src_init):
2103         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2104         * gst/gstqueue.c: (gst_queue_init):
2105         * gst/gstregistryxml.c: (load_feature):
2106           Revert all these unrefs, they don't even pass make check !
2107
2108 2005-11-15  Johan Dahlin  <johan@gnome.org>
2109
2110         * gst/base/gstbasesrc.c: (gst_base_src_init):
2111         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2112         * gst/gstqueue.c: (gst_queue_init): 
2113         Free pad templates, fixes a couple of leaks.
2114
2115 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2116
2117         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2118
2119         * gst/gstpad.c: (gst_pad_get_property):
2120           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2121           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2122           (#321452)
2123
2124 2005-11-15  Wim Taymans  <wim@fluendo.com>
2125
2126         * gst/gstevent.c:
2127         Small doc update.
2128
2129 2005-11-15  Andy Wingo  <wingo@pobox.com>
2130
2131         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2132
2133         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2134         using GST_CLOCK_TIME_NONE to disable base time management.
2135         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2136         time if it was NONE before.
2137         (gst_pipeline_change_state): Only munge the base time if
2138         stream_time != GST_CLOCK_TIME_NONE.
2139
2140         * check/gst/gstpipeline.c (test_base_time): Punt around the
2141         problem of the probe not being called, because that's not the
2142         issue I'm looking at. Add a check that setting stream_time to NONE
2143         disables base time management.
2144         
2145 2005-11-15  Wim Taymans  <wim@fluendo.com>
2146
2147         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2148         segment_stop == -1 at startup.
2149
2150         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2151         (gst_base_transform_change_state):
2152         Init segment values at start.
2153
2154 2005-11-15  Wim Taymans  <wim@fluendo.com>
2155
2156         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2157         0 segment values are 0 in any format.
2158
2159         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2160         * gst/base/gstbasetransform.h:
2161         Parse newsegment correctly in basetransform
2162
2163         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2164         Sync to clock using updated segment values.
2165
2166 2005-11-15  Andy Wingo  <wingo@pobox.com>
2167
2168         * check/gst/gstpipeline.c (test_base_time): Add check that the
2169         base time and stream time are reset correctly.
2170
2171 2005-11-15  Wim Taymans  <wim@fluendo.com>
2172
2173         * docs/design/part-TODO.txt:
2174         Some more TODO items.
2175
2176 2005-11-15  Andy Wingo  <wingo@pobox.com>
2177
2178         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2179         error if the user selected "no clock" as the clocking method.
2180
2181         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2182         timestamps with live capture.
2183
2184         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2185         is 0 but we are a live source, timestamp the buffers using the
2186         element's clock.
2187
2188 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2189
2190         * docs/gst/gstreamer-sections.txt:
2191         * gst/gsterror.c:
2192         * gst/gstghostpad.c:
2193         * gst/gstobject.h:
2194         * gst/gstxml.c:
2195           more section docs
2196
2197 2005-11-14  Wim Taymans  <wim@fluendo.com>
2198
2199         * common/gst.supp:
2200           add suppressions from Wim's Debian machine
2201
2202 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2203
2204         * common/gst.supp:
2205           add suppressions from Andy's AMD64 Ubuntu machine
2206
2207 2005-11-14  Andy Wingo  <wingo@pobox.com>
2208
2209         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2210         STATE_LOCK not necessary. Fixes #311489.
2211
2212         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2213         #305291.
2214
2215         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2216         this function is not implemented.
2217
2218 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2219
2220         * gst/base/gstbasetransform.c:
2221         (gst_base_transform_prepare_output_buf):
2222         Ref the source pad caps while we need them.
2223         Fixes (#321386)
2224
2225 2005-11-11  Wim Taymans  <wim@fluendo.com>
2226
2227         * docs/gst/gstreamer-sections.txt:
2228         Added some docs for GstCollectData.
2229
2230         * gst/base/gstadapter.c:
2231         Some small code example fix.
2232
2233         * gst/base/gstcollectpads.c:
2234         * gst/base/gstcollectpads.h:
2235         Document some more.
2236
2237 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2238
2239         * configure.ac: back to HEAD
2240
2241 === release 0.9.5 ===
2242
2243 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2244
2245         * configure.ac:
2246           releasing 0.9.5, "Bike Lunch Day"
2247
2248 2005-11-11  Wim Taymans  <wim@fluendo.com>
2249
2250         * gst/gstbuffer.c: (_gst_buffer_copy):
2251         Copy more flags.
2252
2253         * gst/gstcaps.c: (gst_caps_is_equal):
2254         Fix some docs.
2255         Make _is_equal fast in the trivial cases.
2256
2257         * gst/gstminiobject.c:
2258         * gst/gstminiobject.h:
2259         More docs. Spifify .h file.
2260
2261         * gst/gstutils.c:
2262         Small doc update.
2263
2264 2005-11-11  Wim Taymans  <wim@fluendo.com>
2265
2266         * gst/base/gstbasetransform.c:
2267         (gst_base_transform_prepare_output_buf),
2268         (gst_base_transform_handle_buffer):
2269         Small cleanups.
2270         If we're processing a buffer and need to allocate an output
2271         buffer, we cannot accept a format change. If we did get a 
2272         format change, we have to alloc a buffer ourselves of the 
2273         right size.
2274
2275 2005-11-11  Wim Taymans  <wim@fluendo.com>
2276
2277         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2278         While checking the flag for reentrancy in the gstcaps function
2279         is nice to detect recursive invocations, it also makes it 
2280         impossible to call getcaps from multiple threads, which must be
2281         possible. So, checking for recursive calls has to go.
2282
2283 2005-11-11  Michael Smith <msmith@fluendo.com>
2284
2285         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2286           Don't sync on buffers that fall partially outside our current
2287           segment. Prevents an assertion failure/abort playing some files.
2288
2289 2005-11-10  Andy Wingo  <wingo@pobox.com>
2290
2291         * check/gst/gstbin.c (test_message_state_changed_children): Style
2292         fix..
2293
2294         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2295         gst_bus_poll with the signal watch. Ensures that poll and a signal
2296         watch see the same messages.
2297
2298         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2299         a poll and a watch at the same time get the same messages.
2300
2301 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2302
2303         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2304         * gst/gstcaps.c: (gst_caps_intersect):
2305           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2306           and it's not needed.
2307
2308 2005-11-10  Wim Taymans  <wim@fluendo.com>
2309
2310         * docs/design/part-TODO.txt:
2311         Updated todo.
2312
2313 2005-11-10  Wim Taymans  <wim@fluendo.com>
2314
2315         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2316         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2317         (gst_base_src_do_sync), (gst_base_src_get_range):
2318         Implement clock sync in base class.
2319
2320 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2321
2322         patch by: Tim-Philipp Müller <tim at centricular dot net>
2323
2324         * gst/gststructure.c: (gst_structure_parse_field),
2325         (gst_structure_from_string):
2326           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2327           so that gst_parse_launch() can deal with spaces in filtered link
2328           caps (fixes #164479)
2329         * check/gst/capslist.h:
2330         * check/gst/gststructure.c: (GST_START_TEST):
2331           add unit tests for this change
2332
2333 2005-11-10  Wim Taymans  <wim@fluendo.com>
2334
2335         * docs/gst/gstreamer-sections.txt:
2336         * gst/gstelement.c:
2337         * gst/gstelement.h:
2338         Fix docs, move some STATE macros to private.
2339
2340 2005-11-10  Wim Taymans  <wim@fluendo.com>
2341
2342         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2343         Added check for bug #317341
2344
2345         * gst/gstbuffer.c:
2346         * gst/gstbuffer.h:
2347         Some more spiffifying.
2348
2349         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2350         Call peer linkfunction if we are a source pad. Totally fixes
2351         #317341
2352
2353         * gst/gstpad.c:
2354         Update docs, source pads should call the peer linkfunction
2355         so they can atomically perform the pad link.
2356
2357 2005-11-09  Wim Taymans  <wim@fluendo.com>
2358
2359         * gst/gstbuffer.c:
2360         * gst/gstbuffer.h:
2361         Uber-spiffy-spiffify some more.
2362
2363 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2364
2365         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2366         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2367         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2368         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2369         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2370         * gst/gstpad.c: (gst_pad_init):
2371           Use GST_DEBUG_FUNCPTR() more extensively.
2372
2373 2005-11-09  Wim Taymans  <wim@fluendo.com>
2374
2375         * gst/gstobject.c: (gst_object_class_init):
2376         * gst/gstobject.h:
2377         Documentation fixes.
2378
2379 2005-11-09  Edward Hervey  <edward@fluendo.com>
2380
2381         * gst/gsttypefindfactory.c:
2382         Fix docs.
2383         
2384 2005-11-09  Edward Hervey  <edward@fluendo.com>
2385
2386         * gst/base/gsttypefindhelper.c:
2387         * gst/gsttypefind.c:
2388         * gst/gsttypefind.h:
2389         Fix docs.
2390
2391 2005-11-09  Wim Taymans  <wim@fluendo.com>
2392
2393         * gst/gstiterator.c:
2394         Fix revision data.
2395
2396         * gst/gsttask.c:
2397         * gst/gsttask.h:
2398         Fix docs.
2399
2400 2005-11-09  Wim Taymans  <wim@fluendo.com>
2401
2402         * gst/gstevent.h:
2403         * gst/gsturi.h:
2404         Fix docs.
2405
2406 2005-11-09  Wim Taymans  <wim@fluendo.com>
2407
2408         * docs/gst/gstreamer-sections.txt:
2409         Moved the message async delivery private lock and cond
2410         to the private section.
2411
2412         * gst/gstmessage.c:
2413         * gst/gstmessage.h:
2414         Fixed docs.
2415
2416 2005-11-09  Edward Hervey  <edward@fluendo.com>
2417
2418         * docs/gst/gstreamer-sections.txt:
2419         * gst/gsturi.c:
2420         * gst/gsturi.h:
2421         Document GstURIHandler
2422
2423 2005-11-09  Wim Taymans  <wim@fluendo.com>
2424
2425         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2426         (gst_iterator_find_custom):
2427         * gst/gstiterator.h:
2428         Fix iterator docs.
2429
2430 2005-11-09  Wim Taymans  <wim@fluendo.com>
2431
2432         * gst/gstbin.h:
2433         Document another field.
2434
2435         * gst/gststructure.c:
2436         * gst/gststructure.h:
2437         Document.
2438
2439 2005-11-09  Wim Taymans  <wim@fluendo.com>
2440
2441         * gst/gstbin.h:
2442         Documented structs.
2443
2444 2005-11-09  Wim Taymans  <wim@fluendo.com>
2445
2446         * docs/gst/gstreamer-sections.txt:
2447         Added some new macros.
2448
2449         * gst/gstclock.c:
2450         * gst/gstclock.h:
2451         * gst/gstobject.h:
2452         Docs updates.
2453
2454 2005-11-09  Wim Taymans  <wim@fluendo.com>
2455
2456         * docs/design/part-TODO.txt:
2457         Some more items for the TODO
2458
2459         * gst/gstcaps.c:
2460         * gst/gstcaps.h:
2461         Document GstCaps.
2462
2463 2005-11-09  Andy Wingo  <wingo@pobox.com>
2464
2465         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2466         to work on something else now tho...
2467
2468         * gst/base/gstadapter.c: More adapter docs.
2469
2470         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2471         (gst_file_sink_stop): New functions, replace the state change
2472         handler.
2473         (gst_file_sink_class_init): Hook up the start and stop functions.
2474         (gst_file_sink_base_init): Don't set the state change handler any
2475         more. It was a bit ugly too, being set from here...
2476         (gst_file_sink_get_property, gst_file_sink_set_property):
2477         Cleanups...
2478         (gst_file_sink_set_location): More robust check that doesn't call
2479         GST_STATE. Ugggggg.
2480
2481 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2482
2483         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2484           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2485
2486 2005-11-08  Wim Taymans  <wim@fluendo.com>
2487
2488         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2489         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2490         (gst_base_sink_chain), (gst_base_sink_change_state):
2491         * gst/base/gstbasesink.h:
2492         * gst/base/gstbasesrc.h:
2493         * gst/gstelement.h:
2494         * gst/gstevent.h:
2495         Avoid excessive typechecking in macros.
2496
2497         * gst/gstminiobject.c: (gst_mini_object_get_type),
2498         (gst_mini_object_init), (gst_mini_object_new),
2499         (gst_mini_object_free):
2500         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2501         (gst_object_finalize):
2502         Remove cruft code, optimize alloc_trace.
2503
2504 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2505
2506         * docs/faq/gst-uninstalled:
2507           fix up PS1 for systems that try to reset it
2508
2509 2005-11-07  Wim Taymans  <wim@fluendo.com>
2510
2511         * gst/base/gstbasesrc.c: (gst_base_src_init),
2512         (gst_base_src_get_range):
2513         Set the segment_end to -1 initially. Fixed typefind.
2514
2515 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2516
2517         * gst/base/gstadapter.c:
2518           Debug category should be 'adapter', not 'GstAdapter'.
2519           
2520         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2521         (gst_collectpads_class_init), (gst_collectpads_init),
2522         (gst_collectpads_peek), (gst_collectpads_pop),
2523         (gst_collectpads_event), (gst_collectpads_chain):
2524           Add debug category and some debugging output. Use boilerplate
2525           macros. Remove some extraneous words from docs.
2526
2527 2005-11-05  Andy Wingo  <wingo@pobox.com>
2528
2529         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2530         macro.
2531
2532 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2533
2534         * docs/gst/gstreamer-sections.txt:
2535         * gst/gstcaps.h:
2536         * gst/gstinfo.c:
2537         * gst/gstminiobject.h:
2538         * gst/gstobject.h:
2539         * gst/gstutils.h:
2540           more docs added
2541
2542 2005-11-04  Wim Taymans  <wim@fluendo.com>
2543
2544         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2545         Small update to stop at the configured segment_end
2546         position.
2547
2548 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2549
2550         * gst/gstregistry.c:
2551         * gst/gstregistry.h:
2552           added missing docs
2553
2554 2005-11-04  Edward Hervey  <edward@fluendo.com>
2555
2556         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2557         Check if we are doing a segment seek and have arrived at the
2558         end of that segment.
2559
2560 2005-11-04  Wim Taymans  <wim@fluendo.com>
2561
2562         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2563         Don't leak a mutex unlock in case of an error.
2564
2565         * gst/gstbus.h:
2566         Doc fixes.
2567
2568 2005-11-04  Wim Taymans  <wim@fluendo.com>
2569
2570         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2571         (gst_bus_post):
2572         Get the context to wake up only once.
2573
2574 2005-11-03  Wim Taymans  <wim@fluendo.com>
2575
2576         * check/states/sinks.c: (GST_START_TEST):
2577         Uncomment fixed check.
2578
2579         * docs/design/part-TODO.txt:
2580         Updated TODO.
2581
2582         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2583         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2584         (gst_base_sink_get_position):
2585         If we are going to PLAYING, post the right pending state
2586         when we post the intermediate paused message.
2587
2588         * gst/gstelement.c: (gst_element_continue_state),
2589         (gst_element_set_state_func), (gst_element_change_state):
2590         Don't post state changes that were between the same state
2591         and were not ASYNC.
2592
2593 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2594
2595         * docs/gst/gstreamer-sections.txt:
2596         * gst/gstcaps.h:
2597         * gst/gstinfo.c:
2598         * gst/gstminiobject.h:
2599         * gst/gstobject.h:
2600         * gst/gstutils.h:
2601           more docs and doc style fixes
2602
2603 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2604
2605         * docs/gst/gstreamer-sections.txt:
2606         * gst/gstelement.c:
2607         * gst/gstminiobject.c:
2608         doc fixes
2609
2610 2005-11-03  Andy Wingo  <wingo@pobox.com>
2611
2612         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2613         state-changed messages actually have the right order and the right
2614         values.
2615
2616 2005-11-03  Wim Taymans  <wim@fluendo.com>
2617
2618         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2619         Added some more checks. Specifically the case where NO_PREROLL
2620         elements are in the pipeline.
2621
2622         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2623         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2624         (gst_base_sink_get_position):
2625         Post READY->PAUSED state change messages too.
2626         Fix bug where VOID was posted as pending state...
2627
2628         * gst/gstbin.c: (gst_bin_recalc_state):
2629         use _element_continue_state() to continue the state change.
2630
2631         * gst/gstelement.c: (gst_element_continue_state),
2632         (gst_element_commit_state), (gst_element_set_state_func),
2633         (gst_element_change_state), (gst_element_change_state_func):
2634         Lots of state change cleanups, assign the STATE_RETURN in
2635         a new continue_state() function that also propagates the
2636         last return value from a state change to the app.
2637         Update some debug statements with proper category.
2638
2639 2005-11-03  Wim Taymans  <wim@fluendo.com>
2640
2641         * docs/design/part-events.txt:
2642         * docs/design/part-gstpipeline.txt:
2643         * docs/design/part-messages.txt:
2644         * docs/design/part-overview.txt:
2645         * docs/design/part-seeking.txt:
2646         * docs/design/part-states.txt:
2647         * docs/design/part-trickmodes.txt:
2648         * docs/manual/advanced-position.xml:
2649         Small docs updates.
2650
2651         * gst/gstobject.h:
2652         People think !! is ugly, this looks better.
2653
2654         * gst/gstpad.c: (gst_pad_set_blocked_async):
2655         Remove !! since it's fixed elsewhere now.
2656
2657 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2658
2659         * gst/gstminiobject.h:
2660         * gst/gstobject.h:
2661           Add !! to _FLAG_IS_SET macros to make the result boolean.
2662
2663 2005-11-03  Edward Hervey  <edward@fluendo.com>
2664
2665         * gst/gstpad.c: (gst_pad_set_blocked_async):
2666         comparing a flag and a gboolean rarely returns coherent results...
2667         Added two characters (!!) to make that work correctly.
2668         
2669 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2670
2671         * gst/gstbus.c: (gst_bus_class_init):
2672           Fix some typos.
2673           
2674         * gst/gstqueue.c: (gst_queue_loop):
2675           Don't assume a miniobject that isn't a buffer is an
2676           event (it could be that there is a refcounting
2677           problem somewhere and the pointer is stale and
2678           refers to an already destroyed miniobject).
2679
2680 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2681
2682         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2683
2684 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2685
2686         * docs/manual/advanced-position.xml:
2687           Update seek example and explanations to current 0.9 API.
2688
2689         * gst/elements/gsttypefindelement.c:
2690         (gst_type_find_element_activate):
2691           Remove FIXME comment now that the found caps
2692           are unreffed.
2693
2694 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2695
2696         * gst/gstregistryxml.c: (load_feature):
2697           Add another GST_STR_NULL instance
2698
2699 2005-11-02  Edward Hervey  <edward@fluendo.com>
2700
2701         * gst/gstpad.c: (handle_pad_block):
2702         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2703         
2704 2005-11-02  Wim Taymans  <wim@fluendo.com>
2705
2706         * gst/gstbin.c:
2707         Fix typo in docs.
2708
2709         * gst/gstelement.c: (gst_element_commit_state):
2710         Remove unused value.
2711
2712         * gst/gstiterator.c:
2713         Mention that the returned element is reffed in the docs.
2714
2715 2005-11-02  Wim Taymans  <wim@fluendo.com>
2716
2717         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2718         (gst_pad_push), (gst_pad_push_event):
2719         Unlock blocked pads when they are flushed.
2720
2721 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2722
2723         * docs/README:
2724         * docs/gst/gstreamer-sections.txt:
2725         * gst/gstbin.c:
2726           doc updates
2727         * gst/gstregistry.c: (gst_registry_scan_path_level):
2728           fix for a nasty little missed situation where an installed plug-in
2729           which was in the cache did not get overridden by an uninstalled one
2730           which was earlier in the plugin path because the newly created plugin
2731           for the uninstalled one (not in the registry) didn't get its
2732           ->registered set to TRUE
2733
2734 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2735
2736         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2737         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2738         (gst_collectpads_is_active), (gst_collectpads_collect),
2739         (gst_collectpads_collect_range), (gst_collectpads_start),
2740         (gst_collectpads_stop), (gst_collectpads_peek),
2741         (gst_collectpads_pop), (gst_collectpads_available),
2742         (gst_collectpads_read), (gst_collectpads_flush):
2743           Guard public API with assertions.
2744         
2745         * gst/gstpad.c:
2746           Fix docs for gst_pad_set_link_function().
2747
2748 2005-11-02  Johan Dahlin  <johan@gnome.org>
2749
2750         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2751         Unref found_caps after we used it.
2752
2753 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2754
2755         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2756           Don't try to ref NULL.
2757
2758 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2759
2760         * win32/common/config.h.in:
2761           provide a GST_FUNCTION that just gives a string for now
2762
2763 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2764
2765         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2766         (gst_object_flags_get_type), (register_gst_bin_flags),
2767         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2768         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2769         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2770         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2771         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2772         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2773         (gst_clock_flags_get_type), (register_gst_state),
2774         (gst_state_get_type), (register_gst_state_change_return),
2775         (gst_state_change_return_get_type), (register_gst_state_change),
2776         (gst_state_change_get_type), (register_gst_element_flags),
2777         (gst_element_flags_get_type), (register_gst_core_error),
2778         (gst_core_error_get_type), (register_gst_library_error),
2779         (gst_library_error_get_type), (register_gst_resource_error),
2780         (gst_resource_error_get_type), (register_gst_stream_error),
2781         (gst_stream_error_get_type), (register_gst_event_type),
2782         (gst_event_type_get_type), (register_gst_seek_type),
2783         (gst_seek_type_get_type), (register_gst_seek_flags),
2784         (gst_seek_flags_get_type), (register_gst_format),
2785         (gst_format_get_type), (register_gst_index_certainty),
2786         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2787         (gst_index_entry_type_get_type),
2788         (register_gst_index_lookup_method),
2789         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2790         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2791         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2792         (gst_index_flags_get_type), (register_gst_debug_level),
2793         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2794         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2795         (gst_iterator_result_get_type), (register_gst_iterator_item),
2796         (gst_iterator_item_get_type), (register_gst_message_type),
2797         (gst_message_type_get_type), (register_gst_mini_object_flags),
2798         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2799         (gst_pad_link_return_get_type), (register_gst_flow_return),
2800         (gst_flow_return_get_type), (register_gst_activate_mode),
2801         (gst_activate_mode_get_type), (register_gst_pad_direction),
2802         (gst_pad_direction_get_type), (register_gst_pad_flags),
2803         (gst_pad_flags_get_type), (register_gst_pad_presence),
2804         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2805         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2806         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2807         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2808         (gst_plugin_flags_get_type), (register_gst_rank),
2809         (gst_rank_get_type), (register_gst_query_type),
2810         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2811         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2812         (gst_tag_flag_get_type), (register_gst_task_state),
2813         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2814         (gst_alloc_trace_flags_get_type),
2815         (register_gst_type_find_probability),
2816         (gst_type_find_probability_get_type), (register_gst_uri_type),
2817         (gst_uri_type_get_type), (register_gst_parse_error),
2818         (gst_parse_error_get_type):
2819         * win32/common/gstversion.h:
2820           update win32 copies
2821
2822 2005-11-01  Luca Ognibene  <luogni@tin.it>
2823
2824         * gst/gst.c:
2825           fix docs. popt is dead, long live GOption.
2826
2827 2005-10-31  Wim Taymans  <wim@fluendo.com>
2828
2829         * gst/gstbuffer.h:
2830         Small doc fix.
2831
2832 2005-10-31  Andy Wingo  <wingo@pobox.com>
2833
2834         * Boo!
2835
2836         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2837
2838         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2839         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2840         the possibility of deadlocks here if code calling notify() or
2841         set() has a lock that can be taken in another notify handler (ABBA
2842         with class lock and e.g. python GIL state lock).
2843
2844 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2845
2846         * gst/gstbus.c: Doc updates.
2847
2848 2005-10-28  Wim Taymans  <wim@fluendo.com>
2849
2850         * docs/design/part-TODO.txt:
2851         * gst/gstiterator.c:
2852         * gst/gstsystemclock.c:
2853         * gst/gstsystemclock.h:
2854         Doc updates.
2855
2856 2005-10-28  Edward Hervey  <edward@fluendo.com>
2857
2858         * docs/gst/gstreamer-docs.sgml:
2859         * docs/gst/gstreamer-sections.txt:
2860         the GstURIType documentation page is private, it only defines GstURIType
2861         which should be defined in the GstURIHandler page
2862         
2863 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2864
2865         * gst/gstbin.c: (gst_bin_class_init):
2866         * gst/gstbin.h:
2867         * gst/gstutils.c:
2868         Documentation updates.
2869
2870 2005-10-28  Wim Taymans  <wim@fluendo.com>
2871
2872         * docs/gst/gstreamer-sections.txt:
2873         * gst/gstclock.c:
2874         * gst/gstclock.h:
2875         Documented the clocks.
2876
2877 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2878
2879         * docs/gst/gstreamer-sections.txt:
2880           move some macros to private sections
2881         * gst/gstminiobject.c:
2882         * gst/gstminiobject.h:
2883           add descriptions provided by ds and some more
2884         * gst/gstpad.h:
2885           mark macro as to be removed
2886
2887 2005-10-28  Wim Taymans  <wim@fluendo.com>
2888
2889         * docs/design/part-TODO.txt:
2890         Add an item to TODO.
2891
2892         * gst/gstiterator.c: (gst_iterator_fold),
2893         (gst_iterator_find_custom):
2894         * gst/gstiterator.h:
2895         Add iterator docs.
2896
2897 2005-10-28  Wim Taymans  <wim@fluendo.com>
2898
2899         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2900         (gst_base_transform_init):
2901         Don't leak class.
2902
2903         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2904         An EOS event marks the queue as completely filled.
2905
2906 2005-10-27  Wim Taymans  <wim@fluendo.com>
2907
2908         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2909         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2910         Some more debugging.
2911
2912         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2913         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2914         (gst_base_transform_event), (gst_base_transform_getrange),
2915         (gst_base_transform_chain):
2916         * gst/base/gstbasetransform.h:
2917         Fix debugging,
2918         Protect transform and concurrent buffer alloc with a new lock.
2919         Try not to break ABI/API.
2920
2921 2005-10-27  Wim Taymans  <wim@fluendo.com>
2922
2923         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2924         (gst_base_src_init), (gst_base_src_query),
2925         (gst_base_src_default_newsegment),
2926         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2927         (gst_base_src_send_event), (gst_base_src_event_handler),
2928         (gst_base_src_pad_get_range), (gst_base_src_loop),
2929         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2930         (gst_base_src_start), (gst_base_src_deactivate),
2931         (gst_base_src_activate_push), (gst_base_src_change_state):
2932         Move some stuff around and cleanup things.
2933
2934 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2935
2936         * gst/base/gstbasesrc.c: (gst_base_src_query):
2937           Add missing break statements.
2938
2939 2005-10-27  Wim Taymans  <wim@fluendo.com>
2940
2941         * check/gst/gstbin.c: (GST_START_TEST):
2942         An extra refcount is taken in basesrc.
2943
2944         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2945         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2946         (gst_base_src_loop):
2947         Small cleanups, check for flushing after being unlocked from the 
2948         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2949         Don't send out EOS when going to READY.
2950
2951 2005-10-27  Wim Taymans  <wim@fluendo.com>
2952
2953         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2954         (gst_base_sink_get_position):
2955         Some more debug.
2956
2957         * gst/gstbin.c: (message_check), (bin_replace_message),
2958         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2959         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2960         (bin_query_duration_init), (bin_query_duration_fold),
2961         (bin_query_duration_done), (bin_query_generic_fold),
2962         (gst_bin_query):
2963         * tools/gst-launch.c: (main):
2964         Remove old option.
2965
2966 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2967
2968         * examples/controller/audio-example.c: (main):
2969         * examples/queue/queue.c: (event_loop):
2970         * gst/base/gstbasetransform.h:
2971         * gst/gstelement.c: (gst_element_send_event):
2972         * gst/gstevent.h:
2973         * gst/gstpad.c: (gst_pad_send_event):
2974           fixing examples
2975           fixing docs typos
2976           changing log priority in error situations
2977
2978 2005-10-25  Wim Taymans  <wim@fluendo.com>
2979
2980         * gst/gstbin.c: (message_check), (bin_replace_message),
2981         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2982         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2983         (bin_query_duration_init), (bin_query_duration_fold),
2984         (bin_query_duration_done), (bin_query_generic_fold),
2985         (gst_bin_query):
2986         Some doc and debug updates.
2987         Cache previously requested query DURATION for speed. invalidate
2988         cached duration if element posts a DURATION message.
2989
2990 2005-10-25  Wim Taymans  <wim@fluendo.com>
2991
2992         * docs/design/part-TODO.txt:
2993         Update TODO.
2994
2995         * gst/gstbin.c: (message_check), (bin_replace_message),
2996         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2997         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2998         (bin_query_duration_init), (bin_query_duration_fold),
2999         (bin_query_duration_done), (bin_query_generic_fold),
3000         (gst_bin_query):
3001         Handle SEGMENT_START/DONE messages correctly.
3002         More evolved query algorithm that handles duration queries
3003         correctly.
3004
3005         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3006         (gst_element_get_state_func), (gst_element_abort_state),
3007         (gst_element_commit_state), (gst_element_lost_state):
3008         Some more debugging.
3009
3010         * gst/gstmessage.h:
3011         Added doc.
3012
3013 2005-10-25  Wim Taymans  <wim@fluendo.com>
3014
3015         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3016         Don't use invalid stream_time.
3017
3018         * gst/gstevent.c: (gst_event_new_newsegment):
3019         stream_time in newsegment cannot be undefined.
3020
3021 2005-10-24  Wim Taymans  <wim@fluendo.com>
3022
3023         * gst/gstbus.c:
3024         Doc fix.
3025
3026         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3027         (gst_queue_loop):
3028         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3029
3030 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3031
3032         * docs/libs/tmpl/gstdparam.sgml:
3033         * docs/libs/tmpl/gstdplinint.sgml:
3034         * docs/libs/tmpl/gstdpman.sgml:
3035         * docs/libs/tmpl/gstdpsmooth.sgml:
3036         * docs/libs/tmpl/gstunitconvert.sgml:
3037           these are obsolete
3038
3039 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3040
3041         * configure.ac:
3042           back to HEAD
3043
3044 === release 0.9.4 ===
3045
3046 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3047
3048         * configure.ac:
3049           releasing 0.9.4, "Tyrannosaurus Rex"
3050
3051 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3052
3053         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3054         (gst_file_sink_get_current_offset):
3055           Use fseeko() and ftello() if available. When falling back on
3056           lseek() to get the current offset, fflush() first to make sure
3057           everything is up-to-date and we get the right offset.
3058
3059 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3060
3061         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3062         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3063         * gst/gsterror.c: (_gst_stream_errors_init):
3064         * gst/gsterror.h:
3065         * gst/gstqueue.c: (gst_queue_loop):
3066         * po/POTFILES.in:
3067           remove prematurely added error category and clean up the instances
3068
3069 2005-10-21  Wim Taymans  <wim@fluendo.com>
3070
3071         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3072         (gst_base_sink_get_position), (gst_base_sink_query),
3073         (gst_base_sink_change_state):
3074         Simply set the right flag when going to playing, that's all
3075         we need to do instead of calling a function inside the object
3076         lock (that could take the lock as well and deadlock)
3077
3078 2005-10-21  Wim Taymans  <wim@fluendo.com>
3079
3080         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3081         (gst_base_src_loop):
3082         Don't warn, the peer element knows what to do best when
3083         the seek failed, it might try something else.
3084
3085 2005-10-21  Wim Taymans  <wim@fluendo.com>
3086
3087         * gst/base/gstbasesrc.c: (gst_base_src_init),
3088         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3089         Fix seeking.
3090
3091 2005-10-21  Wim Taymans  <wim@fluendo.com>
3092
3093         * docs/design/part-segments.txt:
3094         More docs.
3095
3096         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3097         Correctly set caps, even on the subbufer.
3098
3099 2005-10-21  Wim Taymans  <wim@fluendo.com>
3100
3101         * docs/gst/gstreamer-docs.sgml:
3102         * docs/gst/gstreamer-sections.txt:
3103         * gst/gstelement.h:
3104         * gst/gstevent.c:
3105         * gst/gstevent.h:
3106         * gst/gstmessage.h:
3107         * gst/gstpad.h:
3108         * gst/gstparse.h:
3109         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3110         * gst/gsttask.h:
3111         * gst/gstutils.c:
3112         * gst/gstutils.h:
3113         And 2% more doc coverage.
3114
3115 2005-10-21  Andy Wingo  <wingo@pobox.com>
3116
3117         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3118         position reporting.
3119
3120 2005-10-20  Wim Taymans  <wim@fluendo.com>
3121
3122         * gst/gsterror.c: (gst_error_get_message):
3123         * gst/gstparse.h:
3124         * gst/gstquery.h:
3125         * gst/gststructure.c:
3126         * gst/gsttrace.c:
3127         * gst/gstutils.c:
3128         More docs.
3129
3130 2005-10-20  Wim Taymans  <wim@fluendo.com>
3131
3132         * gst/gstbuffer.h:
3133         * gst/gstpad.c:
3134         * gst/gstparse.c:
3135         Another 1% more coverage.
3136
3137 2005-10-20  Wim Taymans  <wim@fluendo.com>
3138
3139         * docs/gst/gstreamer-sections.txt:
3140         * gst/gstelement.c: (gst_element_get_state_func),
3141         (gst_element_abort_state), (gst_element_commit_state),
3142         (gst_element_lost_state):
3143         * gst/gstevent.h:
3144         * gst/gstquery.c: (gst_query_set_position),
3145         (gst_query_parse_position), (gst_query_set_duration),
3146         (gst_query_parse_duration), (gst_query_new_convert):
3147         * gst/gstutils.c:
3148         Yay! 1% more docs coverage.
3149
3150 2005-10-20  Wim Taymans  <wim@fluendo.com>
3151
3152         * gst/gstpad.h:
3153         * gst/gstquery.c: (gst_query_set_position),
3154         (gst_query_parse_position), (gst_query_set_duration),
3155         (gst_query_parse_duration), (gst_query_new_convert):
3156         * gst/gstquery.h:
3157         * gst/gstutils.c: (gst_element_query_convert):
3158         * gst/gstutils.h:
3159         Docs and consistency fixes.
3160
3161 2005-10-20  Wim Taymans  <wim@fluendo.com>
3162
3163         * gst/gsttask.c:
3164         * gst/gsttask.h:
3165         More docs.
3166
3167 2005-10-20  Wim Taymans  <wim@fluendo.com>
3168
3169         * gst/gstbin.c: (message_check), (bin_replace_message),
3170         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3171         (update_degree), (gst_bin_sort_iterator_next),
3172         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3173         Reworked the message handling a bit, cache the messages instead of
3174         only the senders. alows us to do more in the future.
3175
3176 2005-10-20  Wim Taymans  <wim@fluendo.com>
3177
3178         * docs/design/part-TODO.txt:
3179         Update TODO
3180
3181         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3182         (gst_base_sink_query):
3183         Don't use clock time to report position when in EOS.
3184
3185 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3186
3187         * tools/gst-inspect.c: (print_interfaces),
3188         (print_element_properties_info), (print_element_info):
3189           Fix interface output with gst-inspect -a; don't print
3190           newlines after double/float properties.
3191
3192 2005-10-20  Wim Taymans  <wim@fluendo.com>
3193
3194         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3195         (gst_base_sink_query):
3196         Speed up current position calculation.
3197
3198         * gst/base/gstbasesrc.c: (gst_base_src_query),
3199         (gst_base_src_default_newsegment):
3200         Correctly set stream position in newsegment.
3201
3202         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3203         (update_degree), (gst_bin_sort_iterator_next),
3204         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3205         * gst/gstmessage.c: (gst_message_new_custom):
3206         Clean up debugging info
3207
3208         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3209         (gst_queue_loop), (gst_queue_handle_src_query):
3210         Pause task faster.
3211
3212 2005-10-19  Wim Taymans  <wim@fluendo.com>
3213
3214         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3215         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3216         Fix query handling again.
3217
3218 2005-10-19  Wim Taymans  <wim@fluendo.com>
3219
3220         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3221         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3222         * gst/base/gstbasesrc.c: (gst_base_src_query):
3223         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3224         * gst/elements/gsttypefindelement.c:
3225         (gst_type_find_handle_src_query), (find_element_get_length),
3226         (gst_type_find_element_activate):
3227         API change fix.
3228
3229         * gst/gstquery.c: (gst_query_new_position),
3230         (gst_query_set_position), (gst_query_parse_position),
3231         (gst_query_new_duration), (gst_query_set_duration),
3232         (gst_query_parse_duration), (gst_query_set_segment),
3233         (gst_query_parse_segment):
3234         * gst/gstquery.h:
3235         Bundling query position/duration is not a good idea since duration
3236         does not change much and we don't want to recalculate it for every
3237         position query, so they are separated again..
3238         Base value in segment query is not needed.
3239
3240         * gst/gstqueue.c: (gst_queue_handle_src_query):
3241         * gst/gstutils.c: (gst_element_query_position),
3242         (gst_element_query_duration), (gst_pad_query_position),
3243         (gst_pad_query_duration):
3244         * gst/gstutils.h:
3245         Updates for query API change.
3246         Added some docs here and there.
3247
3248 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3249
3250         * check/gst/gstbin.c: (GST_START_TEST):
3251         * check/gst/gstghostpad.c: (GST_START_TEST):
3252         * check/pipelines/cleanup.c: (GST_START_TEST):
3253           wait on thread to die so we can check refcount correctly
3254
3255 2005-10-18  Wim Taymans  <wim@fluendo.com>
3256
3257         * check/pipelines/stress.c: (GST_START_TEST):
3258         Make check a little more time consuming.
3259
3260 2005-10-18  Wim Taymans  <wim@fluendo.com>
3261
3262         * check/Makefile.am:
3263         * check/pipelines/stress.c: (GST_START_TEST),
3264         (simple_launch_lines_suite), (main):
3265         Small state change torture test.
3266
3267         * docs/design/part-states.txt:
3268         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3269         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3270         (gst_base_sink_change_state):
3271         Never take state lock from streaming thread, clean up ugly
3272         hacks. Unfortunatly core does not yet support nice ways to
3273         async commit state.
3274         
3275         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3276         (bin_bus_handler):
3277         Start state recalc if a STATE_DIRTY message is posted, but only
3278         on the toplevel bin.
3279
3280         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3281         (gst_element_get_state_func), (gst_element_abort_state),
3282         (gst_element_commit_state), (gst_element_lost_state),
3283         (gst_element_set_state_func), (gst_element_change_state):
3284         * gst/gstelement.h:
3285         State variables are now protected with the LOCK, the state
3286         lock is only used to serialize _set_state().
3287
3288 2005-10-18  Wim Taymans  <wim@fluendo.com>
3289
3290         * check/gst/gstbin.c: (GST_START_TEST):
3291         * check/gst/gstmessage.c: (GST_START_TEST):
3292         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3293         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3294         (bin_bus_handler):
3295         * gst/gstelement.c: (gst_element_abort_state),
3296         (gst_element_commit_state), (gst_element_lost_state):
3297         * gst/gstmessage.c: (gst_message_new_state_changed),
3298         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3299         (gst_message_new_segment_done), (gst_message_new_duration),
3300         (gst_message_parse_state_changed),
3301         (gst_message_parse_segment_start),
3302         (gst_message_parse_segment_done), (gst_message_parse_duration):
3303         * gst/gstmessage.h:
3304         * tools/gst-launch.c: (event_loop):
3305         Seriously, this is better than a previous commit as we only need
3306         to notify the fact that an element changed state in a streaming
3307         thread, marking the state of the parents dirty, hence the 
3308         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3309         message.
3310
3311 2005-10-18  Wim Taymans  <wim@fluendo.com>
3312
3313         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3314         (gst_bin_recalc_func):
3315         * gst/gstelement.c: (gst_element_set_clock),
3316         (gst_element_abort_state), (gst_element_lost_state):
3317         Cleanups, prepare for state change fixes.
3318
3319 2005-10-18  Wim Taymans  <wim@fluendo.com>
3320
3321         * gst/gstbin.h:
3322         * gst/gstelement.c: (gst_element_class_init),
3323         (gst_element_set_state), (gst_element_set_state_func):
3324         * gst/gstelement.h:
3325         Pending ABI changes.
3326         GThreadPool in GstBinClass to monitor async state changes.
3327         state_cookie in GstElement to detect concurrent gst/set state.
3328         set_state is now virtual too in case a very complicated element
3329         has to be constructed.
3330
3331 2005-10-18  Wim Taymans  <wim@fluendo.com>
3332
3333         * check/gst/gstbin.c: (GST_START_TEST):
3334         * check/gst/gstmessage.c: (GST_START_TEST):
3335         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3336         * gst/gstbin.c: (bin_bus_handler):
3337         * gst/gstelement.c: (gst_element_commit_state),
3338         (gst_element_lost_state):
3339         * gst/gstmessage.c: (gst_message_new_state_changed),
3340         (gst_message_new_segment_start), (gst_message_new_segment_done),
3341         (gst_message_new_duration), (gst_message_parse_state_changed),
3342         (gst_message_parse_segment_start),
3343         (gst_message_parse_segment_done), (gst_message_parse_duration):
3344         * gst/gstmessage.h:
3345         * tools/gst-launch.c: (event_loop):
3346         Make messages future proof.
3347         state-change gets a flag if it was a message comming from the
3348         streaming thread.
3349         segment-start/stop can also be specified in other formats.
3350         A message to notify an app that a pipeline changed playback 
3351         duration.
3352         Also fix a GstMessage leak in -launch
3353
3354 2005-10-18  Andy Wingo  <wingo@pobox.com>
3355
3356         * gst/gstelement.c (gst_element_dispose): More helpful message.
3357
3358 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3359
3360         reviewed by: <delete if not using a buddy>
3361
3362         * common/gtk-doc.mak:
3363
3364 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3365
3366         * gst/gstregistry.c: (gst_registry_scan_path_level):
3367           unref a plug-in we get that was already initialized
3368
3369 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3370
3371         * docs/gst/gstreamer-sections.txt:
3372         * docs/libs/gstreamer-libs-sections.txt:
3373         * gst/gstelement.h:
3374           add new api entries
3375           hide internal macro
3376
3377 2005-10-17  Andy Wingo  <wingo@pobox.com>
3378
3379         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3380         cleanup.
3381
3382         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3383
3384         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3385
3386         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3387         (gst_element_get_state_func): Better debug message.
3388         (gst_element_commit_state): s/INFO/DEBUG/.
3389         (gst_element_lost_state, gst_element_change_state): 
3390
3391         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3392         (gst_message_new_custom): s/INFO/LOG/.
3393
3394 2005-10-17  Michael Smith <msmith@fluendo.com>
3395
3396         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3397           Check if end time is valid using end time, not start time.
3398
3399 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3400
3401         * check/gst-libs/controller.c: (GST_START_TEST),
3402         (gst_controller_suite):
3403         * libs/gst/controller/gstcontroller.c:
3404         (gst_controlled_property_set_interpolation_mode):
3405         * libs/gst/controller/gstcontroller.h:
3406         * libs/gst/controller/gstinterpolation.c:
3407         * testsuite/controller/.cvsignore:
3408         * testsuite/controller/Makefile.am:
3409         * testsuite/controller/interpolator.c:
3410           merge controller testsuites
3411           fix broken tests
3412           remove mem-chunk from docs
3413
3414 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3415
3416         * gst/gstmemchunk.c:
3417         * gst/gstmemchunk.h:
3418         * gst/gsttrashstack.c:
3419         * gst/gsttrashstack.h:
3420           out.  get out.  you're fired.  to the Attic !
3421
3422 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3423
3424         * gst/gstcaps.c: (gst_caps_intersect):
3425           fix signedness issues in a (hopefully) correct way
3426         * gst/gstelement.c: (gst_element_pads_activate):
3427           some debugging
3428         * gst/gstobject.c: (gst_object_set_parent):
3429           some debugging
3430
3431 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3432
3433         * gst/gstvalue.h: Fix prototypes.
3434
3435 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3436
3437         * docs/gst/gstreamer-sections.txt:
3438         * gst/gst.c: (gst_version_string):
3439         * gst/gst.h:
3440         * gst/gstversion.h.in:
3441         * win32/common/libgstreamer.def:
3442           add gst_version_string ()
3443
3444 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3445
3446         * configure.ac:
3447           clean up further
3448         * gst/gst.c: (init_post):
3449         * win32/common/config.h.in:
3450           it's PLUGINDIR now
3451         * gst/gstcaps.c: (gst_caps_intersect):
3452           use gint64, the range could be bigger than a guint
3453
3454 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3455
3456         * gst/gstclock.h:
3457           document potential problem in 2038
3458
3459 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3460
3461         * gst/gstcaps.c: (gst_caps_intersect):
3462           Fix guint j diving under 0
3463
3464 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3465
3466         * configure.ac:
3467         * win32/common/config.h:
3468         * win32/common/config.h.in:
3469           check for process.h, declares getpid() on Windows
3470         * gst/gstinfo.c:
3471           include process.h if we have it
3472         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3473         * gst/gstmemchunk.h:
3474           fix signedness issues
3475         * win32/common/libgstreamer.def:
3476           fix get_type's
3477
3478 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3479
3480         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3481         fix. Because of unsigned ints, caps intersection was going nuts and
3482         trying to access structures with G_MAXUINT index. That fixes
3483         videotestsrc ! ffmpegcolorspace ! fakesink
3484         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3485         consistency.
3486
3487 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3488
3489         * configure.ac:
3490           use the gettext macro
3491         * gst/elements/gstelements.c:
3492         * gst/gst.c:
3493         * gst/indexers/gstindexers.c:
3494           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3495         * win32/common/config.h:
3496           updated config.h
3497         * win32/common/config.h.in:
3498           add the template to generate config.h
3499         * win32/common/gstenumtypes.c:
3500         * win32/common/gstversion.h:
3501           updated copies
3502
3503 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3504
3505         * gst/gst.c: (gst_version):
3506         * gst/gstversion.h.in:
3507           add the nano
3508
3509 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3510
3511         * gst/gstevent.h:
3512           Oops, add missing closing bracket.
3513
3514 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3515
3516         * configure.ac:
3517           use common m4's for argument checking
3518
3519 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3520
3521         * docs/gst/gstreamer-sections.txt:
3522         * gst/gstevent.h:
3523           Add GST_EVENT_TYPE_NAME() macro.
3524
3525 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3526
3527         * gst/gstinfo.c:
3528         * gst/gstpluginfeature.c:
3529         * gst/gsttask.c:
3530           privatize more symbols
3531
3532 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3533
3534         * configure.ac:
3535           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3536           everything that uses GStreamer API should have the includes
3537
3538 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3539
3540         * docs/gst/gstreamer-sections.txt:
3541         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3542         * gst/gstvalue.h:
3543           give each value a _get_type, removes the DATA exports
3544
3545 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3546
3547         * gst/gst.c:
3548         * gst/gst.h:
3549           remove _gst_registry_auto_load, not used anymore
3550         * gst/gstbin.c: (gst_bin_get_type):
3551         * gst/gstbin.h:
3552         * gst/gstelement.c: (gst_element_get_type):
3553         * gst/gstelement.h:
3554         * gst/gstobject.c: (gst_object_get_type):
3555         * gst/gstobject.h:
3556         * gst/gstpad.c: (gst_pad_get_type):
3557         * gst/gstpad.h:
3558           make _get_type functions similar, fixes data export from library
3559
3560 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3561
3562         * configure.ac:
3563           correctly make conditionals
3564         * gst/elements/Makefile.am:
3565         * gst/elements/gstelements.c:
3566           fix typo causing fdsrc not to build
3567
3568 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3569
3570         * testsuite/Makefile.am:
3571         * testsuite/bytestream/.cvsignore:
3572         * testsuite/bytestream/Makefile.am:
3573         * testsuite/bytestream/filepadsink.c:
3574         * testsuite/bytestream/gstbstest.c:
3575         * testsuite/bytestream/test1.c:
3576         * testsuite/bytestream/testfile1:
3577         * testsuite/caps/normalisation.c:
3578         * testsuite/caps/random.c: (main):
3579         * testsuite/cleanup/.cvsignore:
3580         * testsuite/cleanup/Makefile.am:
3581         * testsuite/cleanup/cleanup1.c:
3582         * testsuite/cleanup/cleanup2.c:
3583         * testsuite/cleanup/cleanup3.c:
3584         * testsuite/cleanup/cleanup4.c:
3585         * testsuite/cleanup/cleanup5.c:
3586         * testsuite/controller/interpolator.c:
3587         * testsuite/debug/printf_extension.c: (main):
3588         * testsuite/elements/tee.c:
3589         * testsuite/negotiation/.cvsignore:
3590         * testsuite/negotiation/Makefile.am:
3591         * testsuite/negotiation/pad_link.c:
3592         * testsuite/pad/Makefile.am:
3593         * testsuite/pad/chainnopull.c:
3594         * testsuite/pad/getnopush.c:
3595         * testsuite/pad/link.c:
3596         * testsuite/refcounting/sched.c: (create_pipeline):
3597         * testsuite/registry/Makefile.am:
3598         * testsuite/registry/gst-print-formats.c:
3599         * testsuite/schedulers/.cvsignore:
3600         * testsuite/schedulers/142183-2.c:
3601         * testsuite/schedulers/142183.c:
3602         * testsuite/schedulers/143777-2.c:
3603         * testsuite/schedulers/143777.c:
3604         * testsuite/schedulers/147713.c:
3605         * testsuite/schedulers/147819.c:
3606         * testsuite/schedulers/147894-2.c:
3607         * testsuite/schedulers/147894.c:
3608         * testsuite/schedulers/Makefile.am:
3609         * testsuite/schedulers/group_link.c:
3610         * testsuite/schedulers/queue_link.c:
3611         * testsuite/schedulers/relink.c:
3612         * testsuite/schedulers/unlink.c:
3613         * testsuite/schedulers/unref.c:
3614         * testsuite/schedulers/useless_iteration.c:
3615         * testsuite/states/bin.c:
3616           clean out/remove some stuff from the testsuite directories
3617
3618 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3619
3620         * configure.ac:
3621           check for some headers
3622         * gst/elements/Makefile.am:
3623         * gst/elements/gstelements.c:
3624           don't compile fdsrc without sys/socket.h
3625         * gst/indexers/Makefile.am:
3626         * gst/indexers/gstindexers.c: (plugin_init):
3627           don't compile fileindex without mmap
3628
3629 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3630
3631         * configure.ac:
3632           reorganize
3633           clean up
3634           document more
3635           remove cruft
3636         * check/Makefile.am:
3637         * docs/gst/Makefile.am:
3638         * examples/helloworld/Makefile.am:
3639         * gst/Makefile.am:
3640         * gst/base/Makefile.am:
3641         * gst/check/Makefile.am:
3642         * gst/elements/Makefile.am:
3643         * gst/indexers/Makefile.am:
3644         * gst/parse/Makefile.am:
3645         * libs/gst/controller/Makefile.am:
3646         * libs/gst/dataprotocol/Makefile.am:
3647         * examples/helloworld/helloworld.c: (event_loop):
3648           compile fixes, though it's not being compiled currently
3649
3650 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3651
3652         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3653           Add some simple tests for the new taglist date API.
3654
3655 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3656
3657         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3658         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3659           Beautify 'last-message' output: print 'none' for buffer timestamps
3660           and durations if none is set; improve alignment with next messages.
3661
3662 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3663
3664         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3665         * gst/gstpluginfeature.h:
3666         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3667         * gst/gstregistry.h:
3668         * docs/gst/gstreamer-sections.txt:
3669           Add new API to check plugin feature version requirements.
3670
3671         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3672           Some basic tests for the above.         
3673
3674 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3675
3676         * gst/gststructure.c: (gst_structure_to_string):
3677           guard against NULL printf - happens when for example
3678           a message structure with GstClock gets serialized
3679
3680 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3681
3682         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3683           Fix presumable copy'n'pasto.
3684
3685 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3686
3687         * gst/elements/gstfakesrc.h:
3688         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3689         * gst/elements/gsttypefindelement.c:
3690           fix some signedness
3691         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3692           I wonder if this could actually write +2GB files before
3693
3694 2005-10-13  Andy Wingo  <wingo@pobox.com>
3695
3696         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3697         Fix Timmeke Waymans bug.
3698         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3699         string of the proper length to gst_caps_from_string. There's a
3700         potential for, before this fix, that this could cause someone
3701         connecting over the network to cause a segfault if the payload is
3702         not NUL-terminated.
3703
3704 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3705
3706         * docs/design/draft-push-pull.txt:
3707         * docs/design/part-overview.txt:
3708         * docs/random/TODO-pre-0.9:
3709         * docs/random/old/ChangeLog.gstreamer:
3710         * gst/base/gstpushsrc.c:
3711         * gst/gstclock.c:
3712           fixed typos
3713
3714 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3715
3716         * gst/glib-compat.c: (gst_flags_get_first_value):
3717         * gst/glib-compat.h:
3718         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3719         (gst_value_compare_double), (gst_value_serialize_flags):
3720           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3721           infinite loop
3722
3723 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3724
3725         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3726         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3727           fix up debugging
3728         * tools/gst-launch.c: (event_loop):
3729           print out clock nicely
3730
3731 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3732
3733         * docs/gst/gstreamer-sections.txt:
3734         * gst/gsttaglist.h:
3735         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3736         (gst_tag_list_get_date_index):
3737           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3738           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3739
3740 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3741
3742         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3743         (gst_collectpads_chain):
3744         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3745         in CollectData.
3746
3747 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3748
3749         * docs/gst/gstreamer-sections.txt:
3750         * gst/gst.c:
3751         * gst/gsterror.h:
3752         * tools/gst-inspect.c: (main):
3753         * tools/gst-launch.c: (main):
3754         * tools/gst-run.c: (main):
3755         * tools/gst-xmlinspect.c: (main):
3756           fix GOption context leaks
3757           doc fixes
3758
3759 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3760
3761         * gst/gstbus.c:
3762           use HAVE_UNISTD_H
3763         * win32/common/config.h:
3764           update config
3765         * win32/vs6/grammar.dsp:
3766         * win32/vs6/libgstelements.dsp:
3767         * win32/vs6/libgstreamer.dsp:
3768           update vs6 files
3769
3770 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3771
3772         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3773         * gst/base/gstbasesrc.c: (gst_base_src_query):
3774           fix more guint64<->gdouble conversions
3775
3776 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3777
3778         * Makefile.am:
3779           add win32-update target
3780         * win32/common/gstconfig.h:
3781         * win32/common/gstenumtypes.c:
3782         * win32/common/gstenumtypes.h:
3783         * win32/common/gstversion.h:
3784           add files that visual studio can't generate
3785
3786 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3787
3788         * Makefile.am:
3789           add a win32-update target
3790         * configure.ac:
3791
3792 2005-10-12  Wim Taymans  <wim@fluendo.com>
3793
3794         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3795         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3796         * gst/gstelement.c: (gst_element_commit_state),
3797         (gst_element_set_state):
3798         Protect flags with proper lock.
3799         unref provided cached clock in dispose.
3800
3801 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3802
3803         * gst/gst.c:
3804         * gst/gstminiobject.h:
3805         * gst/gstpad.h:
3806         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3807           removed unused flags from miniobject
3808           doc fixes
3809
3810 2005-10-12  Wim Taymans  <wim@fluendo.com>
3811
3812         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3813         (gst_file_sink_event), (gst_file_sink_render):
3814         Flush before seeking.
3815
3816 2005-10-12  Andy Wingo  <wingo@pobox.com>
3817
3818         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3819         always been the case.
3820
3821 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3822
3823         * check/gst/gstbin.c: (GST_START_TEST):
3824         * docs/gst/gstreamer-sections.txt:
3825         * gst/base/gstbasesink.c: (gst_base_sink_init):
3826         * gst/base/gstbasesrc.c: (gst_base_src_init),
3827         (gst_base_src_get_range), (gst_base_src_check_get_range),
3828         (gst_base_src_start), (gst_base_src_stop):
3829         * gst/base/gstbasesrc.h:
3830         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3831         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3832         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3833         (bin_bus_handler):
3834         * gst/gstbin.h:
3835         * gst/gstbuffer.h:
3836         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3837         * gst/gstbus.h:
3838         * gst/gstelement.c: (gst_element_is_locked_state),
3839         (gst_element_set_locked_state), (gst_element_commit_state),
3840         (gst_element_set_state):
3841         * gst/gstelement.h:
3842         * gst/gstindex.c: (gst_index_init):
3843         * gst/gstindex.h:
3844         * gst/gstminiobject.h:
3845         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3846         (gst_object_set_parent):
3847         * gst/gstobject.h:
3848         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3849         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3850         * gst/gstpad.h:
3851         * gst/gstpadtemplate.h:
3852         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3853         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3854         * gst/gstpipeline.h:
3855         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3856         (gst_file_index_commit):
3857         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3858         * testsuite/pad/link.c: (gst_test_src_init),
3859         (gst_test_filter_init), (gst_test_sink_init):
3860         * testsuite/states/locked.c: (main):
3861           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3862           moved bitshift from macro to enum definition
3863
3864 2005-10-12  Wim Taymans  <wim@fluendo.com>
3865
3866         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3867         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3868         (gst_file_sink_render):
3869         Some more debugging info.
3870
3871 2005-10-12  Wim Taymans  <wim@fluendo.com>
3872
3873         * docs/design/part-states.txt:
3874         * tools/gst-launch.c: (main):
3875         Some doc updates.
3876         Revert non-intentional change.
3877
3878 2005-10-12  Wim Taymans  <wim@fluendo.com>
3879
3880         * check/gst/gstbin.c: (GST_START_TEST):
3881         * check/gst/gstelement.c: (GST_START_TEST):
3882         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3883         * check/gst/gstghostpad.c: (GST_START_TEST):
3884         * check/gst/gstpipeline.c: (GST_START_TEST):
3885         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3886         * check/states/sinks.c: (GST_START_TEST):
3887         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3888         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3889         (gst_bin_remove_func), (gst_bin_get_state_func),
3890         (gst_bin_recalc_state), (gst_bin_change_state_func),
3891         (bin_bus_handler):
3892         * gst/gstelement.c: (gst_element_get_state_func),
3893         (gst_element_get_state), (gst_element_abort_state),
3894         (gst_element_commit_state), (gst_element_set_state),
3895         (gst_element_change_state), (gst_element_change_state_func):
3896         * gst/gstelement.h:
3897         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3898         (gst_pipeline_provide_clock_func):
3899         * gst/gstutils.c: (gst_element_link_pads_filtered):
3900         * tools/gst-launch.c: (main):
3901         * tools/gst-typefind.c: (main):
3902         Use GstClockTime in _get_state() instead of GTimeVal.
3903         Remove old code in gstutils.c
3904
3905 2005-10-12  Andy Wingo  <wingo@pobox.com>
3906
3907         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3908         removed.
3909
3910         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3911         there is no task. Shouldn't affect any code, as nothing in our
3912         plugins checks this return value.
3913         (gst_pad_stop_task): Also take the stream lock if the pad has no
3914         task. Docs updated.
3915
3916 2005-10-12  Wim Taymans  <wim@fluendo.com>
3917
3918         * gst/gstpad.c: (pre_activate), (post_activate),
3919         (gst_pad_activate_pull), (gst_pad_activate_push):
3920         Cleanup activation code. Reset old state if
3921         activation failed.
3922
3923 2005-10-12  Wim Taymans  <wim@fluendo.com>
3924
3925         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3926         (gst_base_sink_change_state):
3927         No need to prerol after receiving EOS.
3928
3929         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3930         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3931         * gst/elements/gstidentity.c: (gst_identity_event):
3932         Print events more verbosely.
3933
3934 2005-10-12  Wim Taymans  <wim@fluendo.com>
3935
3936         * check/Makefile.am:
3937         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3938         * check/states/sinks2.c:
3939         Moved sinks2 testcode in sinks check.
3940
3941         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3942         (gst_bin_remove_func), (gst_bin_recalc_state),
3943         (gst_bin_change_state_func), (bin_bus_handler):
3944         Fix potential race condition when _get_state() iterated over an
3945         ASYNC element right before it posted a state completion.
3946
3947         * gst/gstclock.h:
3948         Do proper cast here.
3949
3950         * gst/gstevent.c: (gst_event_new_newsegment),
3951         (gst_event_parse_newsegment):
3952         A playback rate of 0.0 is not allowed.
3953
3954 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3955
3956         * win32/common/config.h:
3957         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3958         (_trewinddir), (_ttelldir), (_tseekdir):
3959         * win32/common/dirent.h:
3960         * win32/common/gtchar.h:
3961         * win32/common/libgstbase.def:
3962         * win32/common/libgstreamer.def:
3963         * win32/vs6/grammar.dsp:
3964         * win32/vs6/gst_inspect.dsp:
3965         * win32/vs6/gst_launch.dsp:
3966         * win32/vs6/gstreamer.dsw:
3967         * win32/vs6/libgstbase.dsp:
3968         * win32/vs6/libgstelements.dsp:
3969         * win32/vs6/libgstreamer.dsp:
3970           Visual Studio 6 project files, and a new common directory.
3971           Phear.
3972
3973 2005-10-11  Wim Taymans  <wim@fluendo.com>
3974
3975         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3976         (gst_base_sink_do_sync), (gst_base_sink_query),
3977         (gst_base_sink_change_state):
3978         * gst/base/gstbasesink.h:
3979         Correctly parse newsegment info.
3980
3981 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3982
3983         * gst/gst.c: (init_post):
3984           split plugin paths correctly
3985
3986 2005-10-11  Wim Taymans  <wim@fluendo.com>
3987
3988         * check/gst/gstevent.c: (GST_START_TEST):
3989         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3990         (gst_base_sink_change_state):
3991         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3992         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3993         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3994         * gst/gstevent.c: (gst_event_new_newsegment),
3995         (gst_event_parse_newsegment):
3996         * gst/gstevent.h:
3997         Added extra flag to newsegment for future API freeze.
3998         Updated check and base elements.
3999
4000 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4001
4002         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4003         (gst_collectpads_add_pad), (gst_collectpads_pop),
4004         (gst_collectpads_event), (gst_collectpads_chain):
4005         * gst/base/gstcollectpads.h: Handle EOS correctly.
4006
4007 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4008
4009         * tools/gst-launch.c: (main):
4010           more null protecting
4011
4012 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4013
4014         * gst/gst-i18n-lib.h:
4015           check for ENABLE_NLS, not GETTEXT_PACKAGE
4016         * gst/gstregistry.c: (gst_registry_add_plugin),
4017         (gst_registry_scan_path_level),
4018         (_gst_registry_remove_cache_plugins):
4019           protect possibly NULL strings
4020         * gst/parse/types.h:
4021           config.h already included before
4022         * tools/gst-inspect.c: (main):
4023           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4024           check for ENABLE_NLS, not GETTEXT_PACKAGE
4025         * tools/gst-launch.c: (main):
4026           check for ENABLE_NLS, not GETTEXT_PACKAGE
4027
4028 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4029
4030         * configure.ac:
4031           if we don't have glib, fail before testing 2.8
4032         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4033           fix a leak, should fix plugins-base testsuite
4034
4035 2005-10-11  Andy Wingo  <wingo@pobox.com>
4036
4037         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4038         take the mode we're going to as an arg. Go head and set the mode
4039         and flushing flags now, so that if the activate function starts a
4040         thread all the flags will be in the right state.
4041         (post_activate): Renamed also. Just handle making sure streaming
4042         finishes for the deactivation case, and setting the deactivated
4043         mode.
4044         (gst_pad_set_active): Complain loudly if deactivation fails.
4045         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4046         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4047         remove the terrible hack.
4048
4049 2005-10-11  Wim Taymans  <wim@fluendo.com>
4050
4051         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4052         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4053         (gst_bin_recalc_state), (gst_bin_change_state_func),
4054         (gst_bin_dispose), (bin_bus_handler):
4055         * gst/gstbin.h:
4056         Prepare to make current EOS message queue more generic.
4057         Fix some typos.
4058
4059         * gst/gstevent.c: (gst_event_new_newsegment),
4060         (gst_event_parse_newsegment):
4061         * gst/gstevent.h:
4062         Rename base to stream_time.
4063
4064         * gst/gstmessage.h:
4065         Fix typo in docs.
4066
4067 2005-10-11  Wim Taymans  <wim@fluendo.com>
4068
4069         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4070         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4071         (gst_bin_change_state_func), (bin_bus_handler):
4072         * gst/gstbin.h:
4073         Work on proper clock selection.
4074
4075 2005-10-11  Edward Hervey  <edward@fluendo.com>
4076
4077         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4078         * libs/gst/controller/gstcontroller.h:
4079         Added GList* version of _remove_properties() in order to be able to wrap
4080         it in bindings.
4081
4082 2005-10-11  Wim Taymans  <wim@fluendo.com>
4083
4084         * docs/design/part-states.txt:
4085         Some more docs.
4086
4087         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4088         (gst_bin_change_state_func), (bin_bus_handler):
4089         Doc updates. Don't distribute the same clock over and over again.
4090
4091         * gst/gstclock.c:
4092         * gst/gstclock.h:
4093         Doc updates.
4094
4095         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4096         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4097         (gst_pad_send_event):
4098         * gst/gstpad.h:
4099         Make probe emission threadsafe again.
4100         Register quarks and move _get_name() from utils.
4101         Doc updates.
4102
4103         * gst/gstpipeline.c: (gst_pipeline_class_init),
4104         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4105         Only redistribute the clock of it changed.
4106
4107         * gst/gstsystemclock.h:
4108         Doc updates. 
4109
4110         * gst/gstutils.c:
4111         * gst/gstutils.h:
4112         Moved the _flow_get_name() to GstPad.
4113
4114 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4115
4116         * check/gst-libs/gdp.c: (GST_START_TEST):
4117         * check/gst/gstcaps.c: (GST_START_TEST):
4118         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4119         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4120         (gst_dp_packet_from_caps):
4121           fix more valgrind warnings before turning up the heat
4122
4123 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4124
4125         * gst/parse/grammar.y:
4126           some cleanup before the hacking
4127
4128 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4129
4130         * gst/base/gstbasesrc.c: (gst_base_src_query):
4131           use conversions
4132         * gst/gstutils.c: (gst_guint64_to_gdouble),
4133         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4134         * gst/gstutils.h:
4135           externalize, basesrc uses it
4136           obviously the implementation needs testing
4137
4138 2005-10-10  Wim Taymans  <wim@fluendo.com>
4139
4140         * tests/sched/Makefile.am:
4141         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4142         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4143
4144 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4145
4146         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4147           apparently converting from guint64 to double is not implemented
4148           on MSVC
4149
4150 2005-10-10  Wim Taymans  <wim@fluendo.com>
4151
4152         * check/Makefile.am:
4153         * check/generic/states.c: (GST_START_TEST):
4154         * check/gst/gstbin.c: (GST_START_TEST):
4155         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4156         * check/states/sinks.c: (GST_START_TEST):
4157         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4158         (main):
4159         Check fixes, use API as stated in design docs, remove hacks.
4160
4161         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4162         (gst_base_sink_change_state):
4163         Catch stopping our task while we're shutting down.
4164
4165         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4166         (gst_bin_remove_func), (gst_bin_get_state_func),
4167         (gst_bin_recalc_state), (gst_bin_change_state_func),
4168         (bin_bus_handler):
4169         * gst/gstbin.h:
4170         * gst/gstelement.c: (gst_element_init),
4171         (gst_element_get_state_func), (gst_element_abort_state),
4172         (gst_element_commit_state), (gst_element_lost_state),
4173         (gst_element_set_state), (gst_element_change_state),
4174         (gst_element_change_state_func):
4175         * gst/gstelement.h:
4176         New state change algorithm (see #318116)
4177
4178         * gst/gstpipeline.c: (gst_pipeline_class_init),
4179         (gst_pipeline_init), (gst_pipeline_set_property),
4180         (gst_pipeline_get_property), (do_pipeline_seek),
4181         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4182         * gst/gstpipeline.h:
4183         Remove crude state change hacks.
4184
4185         * gst/gstutils.h:
4186         Remove crude hacks.
4187
4188         * tools/gst-launch.c: (main):
4189         Fixes for state change. Needs some more work to fully use the
4190         new stuff.
4191
4192 2005-10-10  Andy Wingo  <wingo@pobox.com>
4193
4194         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4195
4196         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4197         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4198         issue.
4199
4200 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4201
4202         * gst/gstiterator.c: (gst_iterator_new):
4203           Fix my previous commit: GTypes passed to gst_iterator_new()
4204           can be fundamental types.
4205
4206 2005-10-10  Wim Taymans  <wim@fluendo.com>
4207
4208         * gst/gstelement.c: (gst_element_iterate_pad_list),
4209         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4210         (gst_element_iterate_sink_pads):
4211         Use src/sink pads lists for the respective iterators instead
4212         of filtering.
4213
4214 2005-10-10  Andy Wingo  <wingo@pobox.com>
4215
4216         Merged in popt removal + GOption addition patch from Ronald, bug
4217         #169772.
4218
4219         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4220         GstElement macros around, remove popt-related symbols, add goption
4221         stuff.
4222
4223         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4224         
4225         * docs/gst/Makefile.am:
4226         * docs/libs/Makefile.am: No POPT_CFLAGS.
4227         
4228         * examples/manual/Makefile.am:
4229         * docs/manual/basics-init.xml: Doc updates with an example.
4230         
4231         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4232         (gst_init), (parse_one_option), (parse_goption_arg):
4233         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4234         bit of hand merging and debugging to get the GOption stuff working
4235         tho.
4236         
4237         * tests/Makefile.am:
4238         * tools/Makefile.am:
4239         * tools/gst-inspect.c: (main):
4240         * tools/gst-launch.c: (main):
4241         * tools/gst-run.c: (main):
4242         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4243
4244 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4245
4246         * gst/gstiterator.c: (gst_iterator_new):
4247           Add assertions to make sure passed GType is likely to really
4248           be a GType (as the compiler won't catch it if the size and
4249           GType arguments get mixed up, see #318447).
4250
4251 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4252
4253         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4254
4255         * gst/gstbin.c: (gst_bin_iterate_sorted):
4256           Pass GType and size arguments to gst_iterator_new() in the right
4257           order (maybe we should make _new() take the GType as first argument
4258           just like _new_list()?) (#318447).
4259           
4260
4261 2005-10-10  Wim Taymans  <wim@fluendo.com>
4262
4263         * gst/gstelement.c: (gst_element_finalize):
4264         And free the GStaticRecMutex too
4265
4266 2005-10-10  Andy Wingo  <wingo@pobox.com>
4267
4268         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4269         Allocate and free the mutex properly.
4270
4271         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4272         New macros.
4273         (GstElement): The state_lock is now recursive. Rebuild your
4274         plugins, suckers. Old macros adapted.
4275
4276         * docs/gst/gstreamer-sections.txt: Doc updates.
4277
4278         * gst/gstutils.h:
4279         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4280         (g_static_rec_cond_wait): Ported from state changes patch, while
4281         we wait on bug #317802 to be solved in a well-distributed GLib.
4282
4283         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4284         gst_element_change_state, variable name changes.
4285         (gst_element_change_state): Split out of gst_element_set_state in
4286         preparation for the state change merge. Doesn't pay attention to
4287         the 'transition' argument.
4288         (gst_element_set_state): Updates, hopefully purely cosmetic.
4289         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4290         state change patch.
4291         (gst_element_get_state_func): Renamed from get_state, cosmetic
4292         changes.
4293
4294 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4295
4296         * gst/elements/gstelements.c:
4297         * win32/GStreamer.vcproj:
4298         * win32/config.h:
4299         * win32/dirent.c: (_tseekdir):
4300         * win32/gst-inspect.vcproj:
4301         * win32/gst-launch.vcproj:
4302         * win32/gstconfig.h:
4303         * win32/gstelements.vcproj:
4304         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4305         * win32/gstreamer.def:
4306         * win32/msvc71.sln:
4307           updates for the win32 build (patch from Sebastien Moutte)
4308
4309 2005-10-10  Andy Wingo  <wingo@pobox.com>
4310
4311         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4312         gst_bin_get_state, cleaned up (but no logic changes).
4313         (bin_element_is_sink): Comment updates.
4314         (sink_iterator_filter): Remove needless cast.
4315         (gst_bin_iterate_sinks): Doc update.
4316         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4317         cleaned up (but no logic changes).
4318
4319         * check/states/sinks.c (test_src_sink): Cleanups from the state
4320         change patch.
4321         (test_livesrc_sink): Sync on the state.
4322
4323         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4324         the state change patch.
4325
4326         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4327         change patch.
4328
4329         * check/gst/gstbin.c: Merge in some style fixes and additional
4330         checks from Wim's state change patch.
4331
4332 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4333
4334         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4335         (gst_type_find_helper):
4336           Check whether we have the requested data already in our list of
4337           cached buffers before pulling a new buffer; also make the buffer
4338           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4339
4340 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4341
4342         * gst/gstcaps.c:
4343         * gst/gstevent.c:
4344           doc updates
4345         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4346           don't use long long, it's not portable.  Replacing with
4347           gint64 seems to work; let's hope no skeletons fall out of the closet.
4348
4349 2005-10-10  Andy Wingo  <wingo@pobox.com>
4350
4351         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4352
4353 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4354
4355         * docs/gst/gstreamer-sections.txt:
4356         * gst/gstevent.c:
4357         * gst/gstevent.h:
4358         * gst/gstinfo.c:
4359         * gst/gstinfo.h:
4360         * gst/gstmessage.c: (gst_message_parse_state_changed):
4361         * gst/gstpad.c:
4362         * gst/gstpad.h:
4363           more docs, fix compilation
4364
4365 2005-10-09  Philippe Khalaf <burger@speedy.org>
4366         * gst/gstmessage.c:
4367           Fixed a few forgotten variables on previous commit
4368
4369 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4370
4371         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4372           Fix evil typefind crasher: getrange() might return a short
4373           buffer at the end of a file, but gst_type_find_peek() must
4374           either return the full data as requested or NULL, but
4375           never a short buffer.
4376
4377 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4378
4379         * gst/gstmessage.c: (gst_message_new_state_changed),
4380         (gst_message_parse_state_changed):
4381         * gst/gstmessage.h:
4382           don't use "new", it's a C++ keyword
4383
4384 2005-10-08  Wim Taymans  <wim@fluendo.com>
4385
4386         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4387         * gst/gstelement.c: (gst_element_post_message):
4388         * gst/gstpipeline.c: (gst_pipeline_change_state):
4389         Small docs and debug updates.
4390
4391 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4392
4393         * docs/gst/gstreamer-sections.txt:
4394         * gst/gstelementfactory.c:
4395         * gst/gstevent.c:
4396         * gst/gsttaglist.c:
4397           more docs
4398
4399 2005-10-08  Wim Taymans  <wim@fluendo.com>
4400
4401         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4402         (gst_bin_dispose), (bin_bus_handler):
4403         Fix typos, add comments.
4404         Clear EOS list when going to PAUSED from any direction and do it
4405         in a threadsafe way.
4406         Get base time in a threadsafe way too.
4407         Fix confusing debug in the change_state function.
4408         Various other small cleanups.
4409         
4410         * gst/gstelement.c: (gst_element_post_message):
4411         Fix very verbose bus posting code.
4412
4413         * gst/gstpipeline.c: (gst_pipeline_class_init),
4414         (gst_pipeline_set_property), (gst_pipeline_get_property),
4415         (gst_pipeline_change_state):
4416         Small ARG_ -> PROP_ cleanup
4417
4418 2005-10-08  Wim Taymans  <wim@fluendo.com>
4419
4420         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4421         Do a less CPU demanding EOS check because we can.
4422
4423 2005-10-08  Wim Taymans  <wim@fluendo.com>
4424
4425         * libs/gst/dataprotocol/dataprotocol.c:
4426         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4427         (gst_dp_packet_from_event):
4428         * libs/gst/dataprotocol/dataprotocol.h:
4429         * libs/gst/dataprotocol/dp-private.h:
4430         It's about time we bump the version number.
4431         Since event types don't fit in the guint8 anymore describing
4432         the payload type, make payload type 16 bits wide.
4433
4434 2005-10-08  Wim Taymans  <wim@fluendo.com>
4435
4436         * docs/design/part-TODO.txt:
4437         * docs/design/part-clocks.txt:
4438         * docs/design/part-events.txt:
4439         * docs/design/part-gstbin.txt:
4440         * docs/design/part-gstelement.txt:
4441         * docs/design/part-gstpipeline.txt:
4442         * docs/design/part-live-source.txt:
4443         * docs/design/part-messages.txt:
4444         * docs/design/part-overview.txt:
4445         * docs/design/part-states.txt:
4446         Many doc updates.
4447
4448 2005-10-08  Wim Taymans  <wim@fluendo.com>
4449
4450         * gst/gstevent.c:
4451         * gst/gstevent.h:
4452         Fix event quark registration.
4453         Add some space between events so we can insert them in the
4454         right groups.
4455
4456 2005-10-08  Wim Taymans  <wim@fluendo.com>
4457
4458         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4459         (gst_base_sink_handle_buffer):
4460         Better log message.
4461
4462         * gst/gstbus.h:
4463         * gst/gstelement.h:
4464         More docs.
4465
4466         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4467         (gst_queue_set_property), (gst_queue_get_property):
4468         * gst/gstqueue.h:
4469         Remove old unused properties.
4470
4471 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4472         * docs/gst/gstreamer-sections.txt:
4473         * gst/gstmessage.c:
4474         * gst/gstmessage.h:
4475         * gst/gstminiobject.c:
4476         * gst/gstminiobject.h:
4477         * gst/gstobject.h:
4478         * gst/gstpad.h:
4479         * gst/gstutils.h:
4480           lots of new docs and doc fixes
4481
4482 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4483
4484         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4485         * gst/gstplugin.h:
4486         * gst/gstregistry.c: (gst_registry_lookup_locked),
4487         (gst_registry_scan_path_level):
4488         * gst/gstregistryxml.c: (load_plugin):
4489           Only ever load one plugin for a given plugin basename.
4490           This ensures correct overriding of GST_PLUGIN_PATH over
4491           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4492           system installed plugins.
4493
4494 2005-10-08  Wim Taymans  <wim@fluendo.com>
4495
4496         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4497         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4498         Prepare for doing QOS.
4499
4500 2005-10-08  Wim Taymans  <wim@fluendo.com>
4501
4502         * check/gst/gstbin.c: (GST_START_TEST):
4503         * check/pipelines/cleanup.c: (GST_START_TEST):
4504         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4505         Allow new clock message too.
4506
4507 2005-10-08  Wim Taymans  <wim@fluendo.com>
4508
4509         * gst/gstmessage.c: (gst_message_new_error),
4510         (gst_message_new_warning), (gst_message_new_tag),
4511         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4512         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4513         (gst_message_new_segment_start), (gst_message_new_segment_done),
4514         (gst_message_parse_state_changed),
4515         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4516         (gst_message_parse_new_clock):
4517         * gst/gstmessage.h:
4518         Also carry the clock in question.
4519
4520 2005-10-08  Wim Taymans  <wim@fluendo.com>
4521
4522         * gst/gstmessage.c: (gst_message_new_custom),
4523         (gst_message_new_eos), (gst_message_new_error),
4524         (gst_message_new_warning), (gst_message_new_tag),
4525         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4526         (gst_message_new_new_clock), (gst_message_new_segment_start),
4527         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4528         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4529         * gst/gstmessage.h:
4530         Clean up.
4531         Added clock related messages.
4532
4533         * gst/gstpipeline.c: (gst_pipeline_change_state):
4534         Post message when the clock changed.
4535
4536         * tools/gst-launch.c: (event_loop):
4537         Print new clock.
4538
4539 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4540
4541         * tools/gst-inspect.c: (print_element_properties_info):
4542           Can't pass NULL strings to g_print() on windows.
4543
4544 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4545
4546         * docs/Makefile.am:
4547         * docs/gst/Makefile.am:
4548         * docs/gst/gstreamer-docs.sgml:
4549         * docs/gst/running.xml:
4550         * docs/version.entities.in:
4551           add a chapter on running GStreamer.
4552           document GST_DEBUG and GST_PLUGIN* env vars
4553
4554 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4555
4556         * Makefile.am:
4557           remove include dir
4558         * configure.ac:
4559           remove PLUGINS_BUILDDIR stuff
4560         * gst/gst.c: (init_post):
4561           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4562         * idiottest.mak:
4563           remove, it was condescending and not needed
4564
4565 2005-10-08  Wim Taymans  <wim@fluendo.com>
4566
4567         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4568         (gst_base_sink_handle_object), (gst_base_sink_event),
4569         (gst_base_sink_wait), (gst_base_sink_handle_event),
4570         (gst_base_sink_change_state):
4571         * gst/base/gstbasesink.h:
4572         Repost EOS message while going to PLAYING if still EOS.
4573         Make sure that when receiving a FLUSH_START we don't attempt
4574         to sync on the clock anymore.
4575
4576 2005-10-08  Wim Taymans  <wim@fluendo.com>
4577
4578         * tools/gst-launch.c: (event_loop):
4579         Better message printout.
4580
4581 2005-10-08  Wim Taymans  <wim@fluendo.com>
4582
4583         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4584         (gst_bin_child_proxy_get_children_count):
4585         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4586         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4587         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4588         (gst_child_proxy_set_valist):
4589         * gst/parse/grammar.y:
4590         Make ChildProxy threadsafe and fix mem leaks.
4591
4592 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4593
4594         * gst/gst.c: (init_post):
4595           debug the GST_PLUGIN_ env vars
4596
4597 2005-10-08  Wim Taymans  <wim@fluendo.com>
4598
4599         * check/gst/gstbin.c: (GST_START_TEST):
4600         * check/gst/gstmessage.c: (GST_START_TEST):
4601         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4602         * gst/gstelement.c: (gst_element_commit_state),
4603         (gst_element_lost_state):
4604         * gst/gstmessage.c: (gst_message_new_state_changed),
4605         (gst_message_parse_state_changed):
4606         * gst/gstmessage.h:
4607         * tools/gst-launch.c: (event_loop):
4608         Added extra field to STATE_CHANGE message with the pending
4609         state, which will be different from the new state soon.
4610
4611 2005-10-08  Wim Taymans  <wim@fluendo.com>
4612
4613         * gst/gstbus.c: (gst_bus_pop):
4614         * gst/gstclock.c:
4615         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4616         Small cleanups and doc updates.
4617
4618 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4619
4620         * gst/gst.c: (init_pre):
4621         * gst/gstbin.c: (gst_bin_add_func):
4622           log distributing clocks and base time
4623         * gst/gstregistry.c: (gst_registry_add_plugin),
4624         (gst_registry_scan_path_level), (gst_registry_scan_path):
4625           clean up the debugging output a little
4626         * gst/gstutils.c: (gst_element_state_get_name):
4627           warn about a memleak (I've actually seen this be used, though
4628           it was probably a bug)
4629
4630 2005-10-07  Wim Taymans  <wim@fluendo.com>
4631
4632         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4633         (gst_base_src_init), (gst_base_src_default_newsegment),
4634         (gst_base_src_newsegment), (gst_base_src_do_seek),
4635         (gst_base_src_loop), (gst_base_src_start):
4636         * gst/base/gstbasesrc.h:
4637         Make the newsegment event customizable by subclasses.
4638
4639 2005-10-07  Wim Taymans  <wim@fluendo.com>
4640
4641         * gst/gstevent.c: (gst_event_new_buffersize),
4642         (gst_event_parse_buffersize):
4643         * gst/gstevent.h:
4644         New event for future idea.
4645
4646 2005-10-07  Andy Wingo  <wingo@pobox.com>
4647
4648         * gst/gstelement.c (gst_element_post_message): Doc update.
4649
4650         * docs/gst/gstreamer-sections.txt: Update.
4651
4652         * gst/gstmessage.c (gst_message_new_application): Made into a
4653         function like honest API calls.
4654         (gst_message_new_element): New message type.
4655
4656         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4657
4658         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4659         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4660         times.
4661
4662         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4663         NO_PREROLL from gst_element_change_state to fall through.
4664
4665 2005-10-07  Wim Taymans  <wim@fluendo.com>
4666
4667         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4668         (gst_ghost_pad_do_activate_push):
4669         Activating a ghostpad with no internal pad in push mode
4670         is ok.
4671
4672 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4673
4674         * gst/gstobject.h:
4675           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4676           Fixes compilation on Windows.
4677
4678 2005-10-07  Michael Smith <msmith@fluendo.com>
4679
4680         * tools/gst-inspect.c:
4681           Print out feature and plugin count at the end when printing out
4682           all features.
4683
4684 2005-10-04  Michael Smith <msmith@fluendo.com>
4685
4686         * gst/gsterror.c: (_gst_stream_errors_init):
4687           Add another error string used in a few existing plugins.
4688
4689         * gst/gstplugin.c:
4690         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4691         * tools/gst-inspect.c: (print_element_info):
4692           When a feature disappears from a plugin (and the feature exists in
4693           the cached registry file), things went horribly wrong. This isn't a
4694           complete fix, we should actually be removing the 'missing' features
4695           from the features list when we load the actual plugin. That's not
4696           yet implemented. 
4697
4698 2005-10-04  Johan Dahlin  <johan@gnome.org>
4699
4700         * check/gst/gstiterator.c: (GST_START_TEST):
4701         * gst/gstbin.c: (gst_bin_iterate_elements),
4702         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4703         * gst/gstelement.c: (gst_element_iterate_pads):
4704         * gst/gstformat.c: (gst_format_iterate_definitions):
4705         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4706         (gst_iterator_new_list), (gst_iterator_filter):
4707         * gst/gstiterator.h:
4708         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4709         Add a GType to GstIterator, update callsites and tests.
4710
4711 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4712
4713         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4714           give events a chance to be handled by event probes when the pad
4715           is not linked
4716
4717 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4718
4719         * gst/gstevent.c: (gst_event_type_get_name),
4720         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4721         * gst/gstevent.h:
4722           add string representations for event types
4723
4724 2005-10-06  Wim Taymans  <wim@fluendo.com>
4725
4726         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4727         Don't use NULL pointers.
4728
4729 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4730
4731         * gst/gst_private.h:
4732         * gst/gstbus.c:
4733         * gst/gstelement.c:
4734         * gst/gstinfo.c:
4735         * gst/gstpluginfeature.c:
4736           widen the debug category in output to fit the biggest one we have
4737           add a bus category and use it
4738           play with the colors
4739           fix up some categories
4740
4741 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4742
4743         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4744           add push activation of sink ghost pads.
4745           Andye, please verify
4746
4747 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4748
4749         * gst/gstutils.c: (gst_element_link_pads):
4750           fix a bug in the case where neither element has a pad
4751         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4752           add a test for that case
4753
4754 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4755
4756         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4757           emit have-data before checking for peers.  This allows
4758           for probe handlers to connect elements.  This helps autopluggers.
4759         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4760         (gst_pad_suite):
4761           add six checks, linked/unlinked with no/true/false probe
4762
4763 2005-10-04  Wim Taymans  <wim@fluendo.com>
4764
4765         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4766         (gst_fake_sink_event), (gst_fake_sink_preroll),
4767         (gst_fake_sink_render), (gst_fake_sink_change_state):
4768         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4769         (gst_fake_src_get_property), (gst_fake_src_create),
4770         (gst_fake_src_stop):
4771         * gst/elements/gstidentity.c: (gst_identity_stop):
4772         Protect last_message with lock.
4773
4774 2005-10-04  Edward Hervey  <edward@fluendo.com>
4775
4776         * gst/gstformat.h: 
4777         Added precision in the comments for GST_FORMAT_DEFAULT
4778
4779 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4780
4781         * tools/gst-launch.c: (main):
4782           Don't try to run erroneous pipelines.
4783
4784 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4785
4786         * gst/gstbus.c: We don't need this header.
4787
4788 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4789
4790         * configure.ac:
4791           back to development
4792
4793 === release 0.9.3 ===
4794
4795 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4796
4797         * README:
4798         * configure.ac:
4799           Releasing 0.9.3, "Unregistered"
4800
4801 2005-10-03  Andy Wingo  <wingo@pobox.com>
4802
4803         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4804         whereby calling a pad's activatepush() function can start a thread
4805         that starts to push or pull before the pad gets the FLUSHING flag
4806         unset. Hack around it by holding the stream lock until the flag is
4807         set. Need to replace this with a proper solution. Together with
4808         the ghost pad fixes, this fixes mp3 playing/tagreading.
4809
4810         * docs/design/part-gstghostpad.txt: Add a note about activation of
4811         proxy pads outside of ghost pads.
4812
4813         * gst/gstghostpad.c: Implement the ghost pad activation design.
4814
4815 2005-10-02  Andy Wingo  <wingo@pobox.com>
4816
4817         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4818         It is volatile, after all.
4819
4820         * docs/design/part-gstghostpad.txt: Flesh out activation with
4821         ghost pads.
4822
4823         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4824         GST_DEBUG_FUNCPTR.
4825
4826 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4827
4828         * configure.ac:
4829           Fix (unused) AM_CONDITIONAL tests.
4830
4831 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4832
4833         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4834
4835         * gst/gstutils.c: (gst_pad_query_convert):
4836           Add assertion that makes sure src_val is >=0, just like
4837           gst_query_new_convert() has. (#315895)
4838
4839 2005-09-30  Edward Hervey  <edward@fluendo.com>
4840
4841         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4842         Let's not iterate pads we're not interested in, it avoids getting 
4843         sky-high refcounts on sinkpad.
4844
4845 2005-09-30  Wim Taymans  <wim@fluendo.com>
4846
4847         * gst/gstelement.c: (gst_element_set_state),
4848         (gst_element_change_state):
4849         Small tweak, element in ASYNC remains ASYNC.
4850
4851 2005-09-30  Wim Taymans  <wim@fluendo.com>
4852
4853         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4854         Only error is an error.
4855
4856         * gst/gstbin.c: (gst_bin_change_state):
4857         Better debugging.
4858
4859         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4860         Also call pad_block in pad alloc.
4861
4862         * gst/gstutils.c: (gst_flow_get_name):
4863         Better debugging.
4864
4865 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4866
4867         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4868         (gst_base_src_get_range):
4869           Fix documentation typos. Add some more debug info.
4870
4871 2005-09-29  David Schleef  <ds@schleef.org>
4872
4873         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4874           more end-user friendly.
4875         * tools/gst-inspect.c: (main): Check if command-line argument is
4876           a file and attempt to load that file as a plugin.
4877
4878 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4879
4880         * check/gst/gstbin.c:
4881         * check/states/sinks.c:
4882           fix tests for the new warning
4883         * check/gst/gstpipeline.c:
4884           add a test for pipeline and bus interaction
4885         * gst/gstelement.c:
4886           elements should be NULL if they get disposed; add a warning if not
4887
4888 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4889
4890         * gst/gstobject.c:
4891           for 2.6 refcounting, make debug log more correct by printing
4892           the actual refcounts at the time of swap (Wim)
4893
4894 2005-09-29  Andy Wingo  <wingo@pobox.com>
4895
4896         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4897         removes signal watches previously added via
4898         gst_bus_add_signal_watch.
4899         (gst_bus_add_signal_watch): Don't return the source id, just store
4900         it on the bus if there wasn't an id already.
4901
4902         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4903         add_signal_watch and remove_signal_watch.
4904
4905 2005-09-29  Edward Hervey  <edward@fluendo.com>
4906
4907         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4908         Better if we actually iterate the list :)
4909
4910 2005-09-29  Wim Taymans  <wim@fluendo.com>
4911
4912         * check/gst/gstbin.c: (GST_START_TEST):
4913         Change for new bus API.
4914
4915         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4916         (send_messages), (GST_START_TEST), (gstbus_suite):
4917         Change for new bus signal API.
4918
4919         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4920         (gst_bus_source_prepare), (gst_bus_source_check),
4921         (gst_bus_create_watch), (gst_bus_add_watch_full),
4922         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4923         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4924         * gst/gstbus.h:
4925         Remove support for multiple GSources operating on different
4926         message types as it is too complex and unneeded when using
4927         signals.
4928         Added support for receiving signals from the bus.
4929
4930 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4931
4932         * docs/libs/tmpl/gstdataprotocol.sgml:
4933         * docs/manual/advanced-dataaccess.xml:
4934         * gst/elements/gstcapsfilter.c:
4935         * gst/gstutils.c:
4936           rename filter-caps to caps property
4937
4938 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4939
4940         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4941           More robust fraction string parsing.
4942
4943         * docs/pwg/appendix-porting.xml:
4944           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4945
4946 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4947
4948         * gst/gstcaps.c: (gst_caps_do_simplify):
4949           Thou shalt not free a structure and then continue using it
4950           in the next loop iteration.
4951
4952         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4953         (gst_caps_suite):
4954           Add test case for caps simplification.
4955
4956 2005-09-29  Wim Taymans  <wim@fluendo.com>
4957
4958         * check/gst/gstbin.c: (GST_START_TEST):
4959         Oops.
4960
4961 2005-09-29  Wim Taymans  <wim@fluendo.com>
4962
4963         * check/gst/gstbin.c: (GST_START_TEST):
4964         Add bus to bin.
4965
4966         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4967         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4968         (find_element), (gst_bin_sort_iterator_next),
4969         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4970         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4971         (gst_bin_change_state), (gst_bin_dispose):
4972         A bin does not have a bus, it gets the bus from the parent.
4973
4974         * gst/gstelement.c: (gst_element_requires_clock),
4975         (gst_element_provides_clock), (gst_element_is_indexable),
4976         (gst_element_is_locked_state), (gst_element_change_state),
4977         (gst_element_set_bus_func):
4978         Small cleanups.
4979
4980         * gst/gstpipeline.c: (gst_pipeline_class_init),
4981         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4982         The pipeline provides a bus.
4983
4984 2005-09-28  Johan Dahlin  <johan@gnome.org>
4985
4986         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4987         gst_structure_get_enum instead of gst_structure_get_int
4988
4989         * gst/gststructure.c (gst_structure_get_enum): Impl.
4990
4991         * gst/gststructure.h (gst_structure_get_enum): Add
4992
4993         * docs/gst/gstreamer-sections.txt: Ditto
4994
4995         * gst/gstmessage.c (gst_message_new_state_changed): Use
4996         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4997         which does introspection.
4998         Reviewed by Christian Schaller
4999
5000 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5001
5002         * gst/gstinfo.c: (gst_debug_log_default):
5003           don't do dummy g_strdup()s
5004         * libs/gst/controller/gstcontroller.c:
5005         (on_object_controlled_property_changed),
5006         (gst_controlled_property_new), (gst_controller_new_valist),
5007         (gst_controller_new_list),
5008         (gst_controller_remove_properties_valist), (gst_controller_set),
5009         (gst_controller_get), (gst_controller_sync_values),
5010         (gst_controller_get_value_array), (_gst_controller_class_init),
5011         (gst_controller_get_type):
5012         * libs/gst/controller/gstcontroller.h:
5013         * libs/gst/controller/gstinterpolation.c:
5014         (gst_controlled_property_find_timed_value_node):
5015           convert // to /**/ comments
5016
5017 2005-09-28  Wim Taymans  <wim@fluendo.com>
5018
5019         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5020         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5021         (gst_bus_sync_signal_handler):
5022         * gst/gstbus.h:
5023         Added async-message and sync-message signals to the bus.
5024         Added helper BusFunc to emit signals for all posted messages.
5025
5026         * gst/gstmessage.c: (gst_message_type_get_name),
5027         (gst_message_type_to_quark), (gst_message_get_type):
5028         * gst/gstmessage.h:
5029         Register quarks for message names.
5030
5031 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5032
5033         * docs/libs/gstreamer-libs-sections.txt:
5034         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5035         (gst_controller_new_list):
5036         * libs/gst/controller/gstcontroller.h:
5037           added another constructor for language bindings
5038
5039 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5040
5041         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5042           add another check
5043         * gst/gstbus.c:
5044           add some doc
5045         * gst/gstinfo.c: (_gst_debug_init):
5046           slightly more readable color for refcount debugging
5047
5048 2005-09-28  Wim Taymans  <wim@fluendo.com>
5049
5050         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5051         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5052         (find_element), (gst_bin_sort_iterator_next),
5053         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5054         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5055         (gst_bin_change_state), (gst_bin_dispose):
5056         Small doc fixes. get_clock -> provide_clock.
5057
5058         * gst/gstelement.c: (gst_element_class_init),
5059         (gst_element_provides_clock), (gst_element_provide_clock),
5060         (gst_element_get_clock), (gst_element_commit_state),
5061         (gst_element_lost_state):
5062         * gst/gstelement.h:
5063         Make get/set_clock() symetric. Add provide_clock vmethod since
5064         that is actually what this function does.
5065
5066         * gst/gstpipeline.c: (gst_pipeline_class_init),
5067         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5068         (gst_pipeline_get_clock):
5069         get_clock -> provide_clock.
5070
5071 2005-09-28  Andy Wingo  <wingo@pobox.com>
5072
5073         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5074         lieu of real docs...
5075
5076         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5077
5078 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5079
5080         * gst/elements/gstcapsfilter.c:
5081         * gst/elements/gstfakesink.c:
5082         * gst/elements/gstfakesrc.c:
5083         * gst/elements/gstfdsink.c:
5084         * gst/elements/gstfdsrc.c:
5085         * gst/elements/gstfilesink.c:
5086         * gst/elements/gstfilesrc.c:
5087         * gst/elements/gstidentity.c:
5088         * gst/elements/gsttee.c:
5089         * gst/elements/gsttypefindelement.c:
5090           Make element details static.
5091
5092 2005-09-28  Wim Taymans  <wim@fluendo.com>
5093
5094         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5095         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5096         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5097         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5098         (gst_bin_change_state), (gst_bin_dispose):
5099         Some documentation updates.
5100         Clean up dispose handlers.
5101
5102         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5103         * gst/gstpad.c: (gst_pad_dispose):
5104         Clean up dispose handler.
5105
5106         * gst/gstpipeline.c: (gst_pipeline_change_state):
5107         Removed spurious UNLOCK.
5108
5109 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5110
5111         * docs/gst/gstreamer-sections.txt:
5112         * gst/base/gstbasesrc.h:
5113         * gst/gstelement.h:
5114         * gst/gstevent.h:
5115         * gst/gstobject.h:
5116         * gst/gstpad.h:
5117         * gst/gstpipeline.c:
5118         * gst/gstpipeline.h:
5119         * gst/gstutils.h:
5120         * gst/gstxml.h:
5121           added two new functions to the docs
5122                 documents all undocumented GstXXXFlags
5123                 completed some incomplete docs 
5124
5125 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5126
5127         * gst/gstbin.c: (gst_bin_dispose):
5128         * gst/gstelement.c: (gst_element_dispose):
5129           remove now useless and leaky resurrection code in dispose
5130         * gst/base/gstbasesrc.c: (gst_base_src_init):
5131         * gst/gstelementfactory.c: (gst_element_factory_create):
5132         * gst/gstobject.c: (gst_object_set_parent):
5133           add some debugging
5134
5135 2005-09-27  Wim Taymans  <wim@fluendo.com>
5136
5137         * docs/design/part-TODO.txt:
5138         Update TODO.
5139
5140         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5141         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5142         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5143         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5144         (gst_bin_change_state):
5145         * gst/gstelement.h:
5146         Remove element variable, we keep element info in the iterator now.
5147
5148 2005-09-27  Andy Wingo  <wingo@pobox.com>
5149
5150         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5151         values.
5152
5153 2005-09-27  Wim Taymans  <wim@fluendo.com>
5154
5155         * check/gst/gstbin.c: (GST_START_TEST):
5156         Enable check that works now.
5157
5158         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5159         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5160         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5161         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5162         (gst_bin_change_state):
5163         * gst/gstbin.h:
5164         Redid the state change algorithm using a topological sort algo.
5165         Handles all cases correctly.
5166         Exposed iterator for state change order.
5167
5168         * gst/gstelement.h:
5169         Temp storage for state changes. Need to get rid of this soon.
5170
5171 2005-09-27  Wim Taymans  <wim@fluendo.com>
5172
5173         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5174         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5175         (link_fold_func), (gst_pad_proxy_setcaps):
5176         Leak fixes, the fold functions need to unref the passed object and
5177         _get_parent_*() returns ref to parent.
5178
5179 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5180
5181         * check/gst/gstbuffer.c: (test_make_writable):
5182           Plug leak in test case and fix 'make check-valgrind'
5183
5184 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5185
5186         * gst/gstbuffer.c: (gst_subbuffer_init):
5187           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5188           works correctly in all circumstances (we could have just copied
5189           the parent buffer's readonly flag, but conceptually it seems
5190           cleaner to mark all subbuffers as read-only). (based on patch
5191           by Alessandro Decina, #314710).
5192         
5193         * check/gst/gstbuffer.c: (create_read_only_buffer),
5194         (test_make_writable), (test_subbuffer_make_writable),
5195         (gst_test_suite):
5196           Add some tests for gst_buffer_make_writable().
5197
5198 2005-09-27  Wim Taymans  <wim@fluendo.com>
5199
5200         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5201         use gst_object_has_ancestor().
5202
5203         * gst/gstobject.c: (gst_object_has_ancestor):
5204         * gst/gstobject.h:
5205         gst_object_has_ancestor() copied from gstbin.c as it is a
5206         usefull function.
5207
5208         * tests/instantiate/create.c: (create_all_elements):
5209         * tests/lat.c: (handoff_src), (handoff_sink):
5210         * tests/sched/runxml.c: (main):
5211         * tests/seeking/seeking1.c: (main):
5212         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5213         (main):
5214         Fix compilation of some tests.
5215
5216 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5217
5218         * gst/gsterror.h:
5219           Remove comment. GST_TYPE_G_ERROR is here to stay,
5220           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5221           (#316961, #300610).
5222
5223 2005-09-26  Wim Taymans  <wim@fluendo.com>
5224
5225         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5226         Added check that shows error in state change order.
5227
5228 2005-09-26  Wim Taymans  <wim@fluendo.com>
5229
5230         * gst/gstbin.c: (gst_bin_change_state):
5231         Make state change function use 3 queues again, we were
5232         adding elements in the wrong order.
5233
5234         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5235         Some debug info,
5236
5237         * gst/gstpad.c: (gst_pad_dispose):
5238         Added some debug info first.
5239
5240 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5241
5242         * docs/design/draft-push-pull.txt:
5243         * docs/design/part-events.txt:
5244         * docs/design/part-overview.txt:
5245         * docs/design/part-scheduling.txt:
5246           Replace all _pull_region() with _pull_range()
5247           
5248 2005-09-26  Andy Wingo  <wingo@pobox.com>
5249
5250         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5251
5252         * check/gst-libs/controller.c: Update for controller api change.
5253
5254         * configure.ac: 
5255         * tests/Makefile.am:
5256         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5257         over by GLib bug 118439.
5258         
5259         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5260         routines to a function.
5261
5262         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5263
5264         * libs/gst/controller/gsthelper.c:
5265         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5266         (gst_object_sync_values): Renamed from sink_values. Ugh.
5267
5268         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5269
5270         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5271         Renamed from controller_key, as it is exported.
5272
5273         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5274
5275 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5276
5277         * gst/Makefile.am:
5278         * gst/gst.h:
5279         * gst/gstpad.h:
5280         * gst/gstpadtemplate.h:
5281         * gst/gstquery.c:
5282         * gst/gstquery.h:
5283         * gst/gstqueryutils.c:
5284         * gst/gstqueryutils.h:
5285           remove queryutils headers after moving the two used functions
5286           to gstquery.  also fixes build problem for gstsiddec
5287
5288 2005-09-26  Michael Smith <msmith@fluendo.com>
5289
5290         * tools/gst-launch.1.in:
5291         Correct documentation in manpage of debug syntax
5292
5293 2005-09-26  Wim Taymans  <wim@fluendo.com>
5294
5295         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5296         (gst_base_src_is_seekable), (gst_base_src_change_state):
5297         Some more debugging info.
5298
5299 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5300
5301         * docs/gst/gstreamer-sections.txt:
5302         * gst/base/gstbasetransform.h:
5303         * gst/gstindex.h:
5304           added more docs
5305
5306 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5307
5308         * docs/gst/.cvsignore:
5309         * docs/gst/tmpl/.cvsignore:
5310         * docs/gst/tmpl/gstpipeline.sgml:
5311         * docs/gst/tmpl/gstplugin.sgml:
5312         * gst/gstpipeline.c:
5313         * gst/gstplugin.c:
5314         * gst/gstplugin.h:
5315           inlined the last two docs files
5316           removed the tmpl directory from cvs (no more conflicts here!)
5317
5318 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5319
5320         * docs/gst/gstreamer-sections.txt:
5321         * docs/gst/tmpl/.cvsignore:
5322         * docs/gst/tmpl/gstpad.sgml:
5323         * docs/gst/tmpl/gstpadtemplate.sgml:
5324         * gst/Makefile.am:
5325         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5326         (gst_pad_finalize), (gst_pad_set_pad_template):
5327         * gst/gstpad.h:
5328         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5329         (gst_pad_template_class_init), (gst_pad_template_init),
5330         (gst_pad_template_dispose), (name_is_valid),
5331         (gst_static_pad_template_get), (gst_pad_template_new),
5332         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5333         (gst_pad_template_pad_created):
5334         * gst/gstpadtemplate.h:
5335           inlined two more docs
5336           factored gstpadtemplate out of gstpad
5337
5338 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5339
5340         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5341         (test_children_state_change_order_semi_sink):
5342           Fix test case: we can't rely on a fixed state change order when
5343           going from READY => PAUSED because the sink might commit its 
5344           new state first when the first buffer created by the source 
5345           reaches the sink before the source has finished its change state.
5346           (Test case still fails at times, see #316856, comment 5 onwards)
5347
5348 2005-09-24  Wim Taymans  <wim@fluendo.com>
5349
5350         * docs/design/part-events.txt:
5351         * docs/design/part-gstbus.txt:
5352         * docs/design/part-gstpipeline.txt:
5353         * docs/design/part-messages.txt:
5354         * docs/design/part-overview.txt:
5355         * docs/design/part-segments.txt:
5356         * gst/gstbin.c:
5357         * gst/gstbuffer.c:
5358         * gst/gstclock.c:
5359         * gst/gstelement.c:
5360         * gst/gstevent.c:
5361         * gst/gstfilter.c:
5362         * gst/gstiterator.c:
5363         Various documentation updates.
5364
5365 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5366
5367         * gst/gstclock.h:
5368           Well, that's embarassing.  Luckily we weren't using
5369           GST_CLOCK_DIFF anywhere.
5370
5371 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5372
5373         * common/gtk-doc.mak:
5374           don't fail on building XML, FC4 slave shows a bunch of doc
5375           missing bits that I don't get
5376         * gst/gstpad.c:
5377         * gst/gstpipeline.c:
5378         * gst/gststructure.c:
5379           some doc updates
5380
5381 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5382
5383         * docs/design/part-gstbin.txt:
5384         * docs/design/part-gstbus.txt:
5385         * gst/gstbus.c:
5386           Add blurb about how the bus goes into flushing mode and
5387           drops all messages when its bin goes from READY into NULL 
5388           state.
5389
5390 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5391
5392         * docs/gst/gstreamer-sections.txt:
5393         * gst/gststructure.c: (gst_structure_get_clock_time):
5394         * gst/gststructure.h:
5395           add a method to get a GstClockTime out of a structure
5396
5397 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5398
5399         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5400         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5401           Added test to check state change order in bins (can still be made
5402           to fail here under heavy disk load; bails out with 'Push on pad
5403           fakesink:sink0, but it was not activated in push mode').
5404
5405         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5406           Fix state change order when there is only a semi sink (#316856)
5407
5408         * gst/gstbus.c: (gst_bus_class_init):
5409           Use _class_peek_parent(), not _class_ref(); fix docs to say
5410           'default main context' instead of 'mainloop' where that is
5411           what's meant.
5412
5413         * gst/gstelement.c: (gst_element_commit_state),
5414         (gst_element_set_state):
5415           Fix typos in debug messages
5416
5417 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5418
5419         * docs/README:
5420         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5421         * gst/gstpluginfeature.c:
5422         * gst/gstutils.c:
5423           various doc updates
5424         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5425           change an assert into an error until it gets fixed properly
5426
5427 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5428
5429         * docs/gst/gstreamer-sections.txt:
5430         * docs/gst/tmpl/.cvsignore:
5431         * docs/gst/tmpl/gstelement.sgml:
5432         * docs/gst/tmpl/gstinfo.sgml:
5433         * docs/gst/tmpl/gstobject.sgml:
5434         * gst/gstelement.c:
5435         * gst/gstelement.h:
5436         * gst/gstinfo.c:
5437         * gst/gstinfo.h:
5438         * gst/gstobject.c: (gst_object_class_init):
5439         * gst/gstobject.h:
5440           inlined 3 more biiiig doc files and added some missing docs on the fly
5441
5442 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5443
5444         * check/gst/.cvsignore:
5445         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5446         * gst/gstregistryxml.c: (load_plugin),
5447         (gst_registry_xml_save_plugin):
5448           put back source in registry.  add checks for find_plugin.
5449         * testsuite/states/bin.c: (assert_state), (empty_bin),
5450         (test_adding_one_element), (main):
5451         * testsuite/states/locked.c: (main):
5452           some compile/run fixes
5453
5454 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5455
5456         * check/gst/gstvalue.c: (GST_START_TEST):
5457           fix leaks in the test itself
5458
5459 2005-09-22  Wim Taymans  <wim@fluendo.com>
5460
5461         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5462         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5463         (gst_base_sink_query):
5464         Prepare for more accurate position reporting and query
5465         handling.
5466
5467         * gst/gstelement.c: (gst_element_send_event),
5468         (gst_element_set_state):
5469         Add some comment.
5470
5471 2005-09-22  Wim Taymans  <wim@fluendo.com>
5472
5473         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5474         (gst_query_parse_segment):
5475         * gst/gstquery.h:
5476         More documentation.
5477         Add segment query for future use.
5478
5479 2005-09-22  Wim Taymans  <wim@fluendo.com>
5480
5481         * gst/gstbin.c: (gst_bin_add_func):
5482         Some more debug info.
5483
5484         * gst/gstelement.c: (gst_element_send_event):
5485         Simplify send_event
5486
5487         * gst/gstelement.h:
5488         Don't know how flags got broken.
5489
5490         * gst/gstquery.h:
5491         Added new query.
5492
5493 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5494
5495         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5496           Add simplistic test suite for GST_TYPE_DATE serialisation and
5497           deserialisation.
5498
5499 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5500
5501         * docs/gst/gstreamer-sections.txt:
5502         * gst/gststructure.c: (gst_structure_set_valist),
5503         (gst_structure_get_date):
5504         * gst/gststructure.h:
5505         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5506         (gst_date_copy), (gst_value_compare_date),
5507         (gst_value_serialize_date), (gst_value_deserialize_date),
5508         (gst_value_transform_date_string),
5509         (gst_value_transform_string_date), (_gst_value_initialize):
5510         * gst/gstvalue.h:
5511           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5512           bunch of utility functions along with a hack that checks that
5513           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5514           is required. Part of the grand scheme in #170777.
5515
5516 2005-09-22  Andy Wingo  <wingo@pobox.com>
5517
5518         * gst/gstconfig.h.in: Psych out gtk-doc.
5519
5520         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5521
5522         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5523
5524         * tools/gst-inspect.c (print_element_list): Plug some
5525         inconsequential leaks.
5526
5527         * gst/gstregistry.c (gst_registry_get_default): Doc.
5528
5529         * check/gst/gstplugin.c: 
5530         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5531         * gst/gstelementfactory.c (gst_element_factory_create): 
5532         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5533         refcount changes.
5534
5535         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5536         (gst_plugin_feature_load): Doc, don't eat refs.
5537
5538         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5539         (gst_plugin_list_free): Doc.
5540         (gst_plugin_load_file): Doc updates.
5541
5542         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5543         accessors returning refcounted objects, return a ref.
5544
5545         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5546         accessor for caps. IDEMPOTENCE. Oh yes.
5547
5548 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5549
5550         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5551
5552         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5553         (_gst_debug_register_funcptr):
5554           Add mutex to serialise access to the hash table with
5555           the function pointer => function name string mapping;
5556           make that hash table static scope (#316809).
5557
5558         * gst/registries/.cvsignore:
5559           Remove left-over file.
5560
5561 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5562
5563         * docs/pwg/appendix-porting.xml:
5564           And something about newsegment events and caps-on-buffers to
5565           the porting guide (feel free to improve).
5566
5567 2005-09-21  Andy Wingo  <wingo@pobox.com>
5568
5569         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5570         data and event probes on the same pad.
5571         (test_buffer_probe_once): Test that removing probes from within
5572         the probe functions works.
5573
5574 2005-09-21  Andy Wingo  <wingo@pobox.com>
5575
5576         * check/gst/gstutils.c: New file.
5577         (test_buffer_probe_n_times): A simple buffer probe test. More to
5578         come, foolios.
5579
5580         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5581         have-data::buffer, not have-data.
5582         (gst_pad_add_event_probe): Likewise for have-data::event.
5583         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5584         peer' isn't quite right yet though.
5585         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5586         (gst_pad_remove_data_probe): Change to take the guint handler_id
5587         as their arg, not the function+data, which is more glib-like.
5588
5589         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5590         the signal emission to indicate if the data is a buffer or an
5591         event.
5592         (gst_pad_get_type): Initialize buffer and event quarks.
5593         (gst_pad_class_init): have-data is now a detailed signal, yes it
5594         is.
5595
5596 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5597
5598         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5599         * gst/gstutils.c: (gst_util_set_value_from_string),
5600         (gst_util_set_object_arg):
5601           Don't put functional code in g_return_if_fail() or
5602           g_return_val_if_fail() statements, otherwise things will 
5603           break when G_DISABLE_CHECKS is defined during compilation.
5604
5605 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5606
5607         * docs/gst/tmpl/.cvsignore:
5608         * docs/gst/tmpl/gstvalue.sgml:
5609         * gst/gstvalue.c:
5610         * gst/gstvalue.h:
5611           inlied another one and added  some obvious docs
5612
5613 2005-09-21  Wim Taymans  <wim@fluendo.com>
5614
5615         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5616         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5617         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5618         (gst_fdsrc_get_property), (gst_fdsrc_create):
5619         * gst/elements/gstfdsrc.h:
5620         Properly implement fdsrc. Removed signal and timeout,
5621         better implemented somewhere else.
5622
5623 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5624
5625         * docs/gst/tmpl/.cvsignore:
5626         * docs/gst/tmpl/gstimplementsinterface.sgml:
5627         * gst/gstinterface.c:
5628           inlined more docs
5629
5630 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5631
5632         * docs/gst/gstreamer-sections.txt:
5633         * docs/gst/tmpl/.cvsignore:
5634         * docs/gst/tmpl/gstenumtypes.sgml:
5635           remove obsolete doc file
5636
5637 2005-09-21  David Schleef  <ds@schleef.org>
5638
5639         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5640         little beer, fix a little leak.
5641
5642 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5643
5644         * docs/gst/gstreamer-docs.sgml:
5645         * docs/gst/gstreamer-sections.txt:
5646         * docs/gst/tmpl/.cvsignore:
5647         * gst/Makefile.am:
5648         * gst/gst.h:
5649         * gst/gstbin.c:
5650         * gst/gstelement.h:
5651         * gst/gstindex.c: (gst_index_class_init):
5652         * gst/gstindex.h:
5653         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5654         (gst_index_factory_class_init), (gst_index_factory_init),
5655         (gst_index_factory_finalize), (gst_index_factory_new),
5656         (gst_index_factory_destroy), (gst_index_factory_find),
5657         (gst_index_factory_create), (gst_index_factory_make):
5658         * gst/gstindexfactory.h:
5659         * gst/gstpluginfeature.c:
5660         * gst/gstpluginfeature.h:
5661         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5662           more docs inlined, splitted gstindex.{c,h}
5663
5664 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5665
5666         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5667           fix a leak
5668
5669 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5670
5671         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5672           Set sync to FALSE by default.
5673
5674 2005-09-20  Wim Taymans  <wim@fluendo.com>
5675
5676         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5677         (gst_base_sink_init):
5678         Make sync property settable from subclass.
5679
5680         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5681         (gst_fake_sink_change_state):
5682         Set sync to FALSE by default.
5683
5684 2005-09-20  Wim Taymans  <wim@fluendo.com>
5685
5686         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5687         * tools/gst-launch.c: (main):
5688         The timeout handler should have lower priority than the source
5689         so we don't timeout before popping a message with 0 timeout.
5690         Dump error messages after failed state change.
5691
5692 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5693
5694         * tools/gst-inspect.c: (print_element_properties_info):
5695           Fix two typos.
5696
5697 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5698
5699         * check/gst/gstevent.c:
5700         * gst/elements/gstfakesink.c:
5701         * gst/elements/gstfakesink.h:
5702           remove the sync property from fakesink.
5703           has the side effect of setting sync TRUE
5704           for fakesink, which is a change.  Anyone who knows how
5705           to fix this nicely in a GObject-y way, feel free.
5706
5707 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5708
5709         * docs/gst/gstreamer-docs.sgml:
5710           remove probe refsection
5711
5712 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5713
5714         * check/Makefile.am:
5715           disable valgrinding the controller test again
5716         * docs/gst/gstreamer-sections.txt:
5717           update for api-changes
5718
5719 2005-09-20  Wim Taymans  <wim@fluendo.com>
5720
5721         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5722         (gst_base_sink_set_property), (gst_base_sink_get_property),
5723         (gst_base_sink_do_sync):
5724         * gst/base/gstbasesink.h:
5725         Added sync property to basesink to disable clock sync.
5726
5727 2005-09-20  Andy Wingo  <wingo@pobox.com>
5728
5729         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5730         eating the caller's refcount.
5731
5732         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5733         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5734         refcount.
5735
5736         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5737         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5738         of GLib 2.8 public, so we can know which refcount to check in
5739         tests.
5740
5741         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5742         (gst_object_init): Only set the gst refcount if we're going ahead
5743         with the refcount hack.
5744
5745 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5746
5747         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5748         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5749           more leaks plumbed, added more debug-logging
5750         * gst/gstmacros.h:
5751           whitespace fix
5752
5753 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5754
5755         * gst/gstmessage.c:
5756           remove include of gstmemchunk.h
5757
5758 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5759
5760         * gst/gstclock.c: (_gst_clock_id_free):
5761           Commit from the Political Party For More Atomic CVS Commits,
5762           so that people don't waste too much of their day fishing
5763           out obvious leaks out of massive commits.
5764           Oh, and fix a pretty damn obvious leak in the memchunk
5765           removal code.
5766
5767 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5768
5769         * check/Makefile.am:
5770         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5771           plug mem-leak, re-add to valgrindable tests
5772
5773 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5774
5775         * gst/gstplugin.h:
5776           unbreak the build for those who have chronic arthritis
5777           and typing "make check" is just too taxing on the hands
5778
5779 2005-09-20  Andy Wingo  <wingo@pobox.com>
5780
5781         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5782         really want it out, you should fix plugins at the same time.
5783
5784 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5785
5786         * configure.ac:
5787         * docs/gst/gstreamer-sections.txt:
5788         * gst/gstobject.c:
5789           added missing symbols to api docs
5790           disable ref-count hack if we have glib >= 2.8
5791
5792 2005-09-19  David Schleef  <ds@schleef.org>
5793
5794         * docs/gst/Makefile.am: Ignore a few more internal headers
5795         * docs/gst/gstreamer-docs.sgml: Remove old sections
5796         * docs/gst/gstreamer-sections.txt: Remove old sections
5797         * docs/gst/tmpl/gstobject.sgml: update
5798         * docs/gst/tmpl/gstplugin.sgml: update
5799         * docs/gst/tmpl/gstpluginfeature.sgml: update
5800         * docs/random/ds/0.9-suggested-changes: update.
5801         * gst/Makefile.am: remove memchunk and trashstack, since they're
5802           not used.
5803         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5804         * gst/gst.h: don't include some headers
5805         * gst/gstchildproxy.c: add gstmarshal.h
5806         * gst/gstclock.c: Don't use memchunks
5807         * gst/gstminiobject.c: Add some docs
5808         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5809         * gst/gstobject.h: same
5810         * gst/gstplugin.c: include gstmacros.h
5811         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5812         * gst/gstquery.c: don't use memchunks
5813         * gst/gstregistry.c: rename gst_registry_deinit()
5814         * gst/gstregistry.h: same
5815
5816 2005-09-19  David Schleef  <ds@schleef.org>
5817
5818         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5819         * docs/libs/gstreamer-libs-sections.txt:
5820         * docs/libs/tmpl/gstgetbits.sgml:
5821         * docs/libs/tmpl/gstputbits.sgml:
5822
5823 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5824
5825         * win32/gstenumtypes.c:
5826         * win32/gstenumtypes.h:
5827           Update.
5828
5829 2005-09-19  Wim Taymans  <wim@fluendo.com>
5830
5831         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5832         Automatically PAUSE and RESUME a pipeline when a flushing seek
5833         is performed.
5834
5835 2005-09-19  Andy Wingo  <wingo@pobox.com>
5836
5837         * gst/gstregistry.h: Spacing fixen.
5838
5839 2005-09-19  Wim Taymans  <wim@fluendo.com>
5840
5841         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5842         Handle state change failure more correctly.
5843
5844 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5845
5846         * check/Makefile.am:
5847         * check/pipelines/cleanup.c: (run_pipeline):
5848         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5849         (GST_START_TEST):
5850           enable cleanup again after fixing the leak
5851         * docs/README:
5852           some more info on docs
5853
5854 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5855
5856         * check/Makefile.am:
5857           re-enable tests now that leaks are plugged
5858         * check/gst/gst.c:
5859         * check/gst/gstbin.c:
5860         * check/gst/gstpipeline.c:
5861           add some more tests while fixing leaks
5862         * common/check.mak:
5863           make sure binaries are uptodate when valgrinding/gdbing
5864         * gst/gst.c:
5865         * gst/gstelementfactory.c:
5866           remove a ref too many, and add a FIXME for when we get
5867           round to disposing of classes
5868         * gst/gstplugin.c:
5869           fix the refcounting when loading a plugin from a file and
5870           the code pretends that the pointer is the same even though
5871           of course it can change
5872         * gst/gstpluginfeature.c:
5873           unref plugins marked cached (a bit confusing as a name)
5874           as the docs state should be done
5875           various doc additions to explain refcounting
5876         * gst/gstregistry.c:
5877         * gst/gstregistryxml.c:
5878           debugging
5879
5880 2005-09-19  Wim Taymans  <wim@fluendo.com>
5881
5882         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5883         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5884         (send_messages), (GST_START_TEST), (gstbus_suite):
5885         * check/gst/gstpipeline.c: (GST_START_TEST):
5886         * check/pipelines/cleanup.c: (run_pipeline):
5887         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5888         (GST_START_TEST):
5889         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5890         (gst_bus_source_check), (gst_bus_source_dispatch),
5891         (gst_bus_create_watch), (gst_bus_add_watch_full),
5892         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5893         * gst/gstbus.h:
5894         * tools/gst-launch.c: (event_loop):
5895         * tools/gst-md5sum.c: (event_loop):
5896         GstBusHandler -> GstBusFunc, return value has the same meaning as
5897         any other GSource (FALSE == remove source).
5898         _add_watch() and _add_watch_full() now take a MessageType mask to
5899         only handle specific types of messages.
5900         _poll() returns the GstMessage instead of the message type to avoid
5901         race conditions.
5902         _have_pending() takes a MessageType mask now too.
5903         Added testsuite for multiple bus watches.
5904         Fix testsuites and applications for new bus API.
5905
5906 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5907
5908         * check/Makefile.am:
5909           mark a bunch of the tests as to fix until we fix them
5910
5911 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5912
5913         * common/check.mak:
5914           use GST_PLUGIN settings for valgrind tests as well, so we're
5915           valgrinding the correct thing
5916         * gst/gst.c: (init_post):
5917           plug another leak
5918
5919 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5920
5921         * gst/gst.c: (init_post), (gst_deinit):
5922         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5923         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5924         * gst/gstindex.c: (gst_index_factory_class_init),
5925         (gst_index_factory_finalize):
5926         * gst/gstobject.c: (gst_object_dispose):
5927         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5928         (gst_plugin_load_file), (gst_plugin_desc_free):
5929         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5930         (gst_plugin_feature_finalize):
5931         * gst/gstregistry.c: (gst_registry_class_init),
5932         (gst_registry_init), (gst_registry_finalize),
5933         (gst_registry_get_default), (gst_registry_deinit):
5934         * gst/gstregistry.h:
5935         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5936           various cleanups and memleak plugging.  make valgrind is happy now.
5937
5938 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5939
5940         * common/check.mak:
5941           add a check-valgrind target
5942
5943 2005-09-18  David Schleef  <ds@schleef.org>
5944
5945         * tools/gst-inspect.c: Revert the GOption code.
5946
5947 2005-09-17  David Schleef  <ds@schleef.org>
5948
5949         * check/Makefile.am: Fix environment variables.
5950         * check/gst/gstplugin.c: Fix for API changes.
5951         * tools/gst-inspect.c: Fix for API changes.
5952         * tools/gst-xmlinspect.c: Fix for API changes.
5953         * gst/gstelementfactory.c:
5954         * gst/gstplugin.c:
5955         * gst/gstplugin.h:
5956         * gst/gstpluginfeature.c:
5957         * gst/gstpluginfeature.h:
5958         * gst/gstregistry.c:
5959         * gst/gstregistry.h:
5960         * gst/gstregistryxml.c:
5961         * gst/gsttypefind.c:
5962         * gst/gsttypefindfactory.c:
5963         * gst/indexers/gstfileindex.c:
5964         * gst/indexers/gstmemindex.c:
5965         * gst/schedulers/Makefile.am:
5966           Change registry to keep track of both plugins and features,
5967           removing the feature tracking from plugins themselves.
5968
5969 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5970
5971         * check/Makefile.am:
5972         * tools/gst-register.1.in:
5973           remove gst-register
5974
5975 2005-09-15  David Schleef  <ds@schleef.org>
5976
5977         * check/gst/gstplugin.c:
5978         * gst/gstelementfactory.c:
5979         * gst/gstplugin.c:
5980         * gst/gstpluginfeature.c:
5981         * gst/gstregistry.c:
5982           Getting tired of debugging.  Disabled all the unreffing of
5983           plugins and features, which fixes the segfaults, but of
5984           course leaks like crazy.  At least playbin works.
5985
5986 2005-09-15  David Schleef  <ds@schleef.org>
5987
5988         * check/gst/gstplugin.c: (register_check_elements),
5989         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5990         More testing
5991         * gst/elements/gsttypefindelement.c: Fix refcounting.
5992         * gst/gsttypefind.c:
5993         * gst/gsttypefindfactory.c:
5994         * gst/gsttypefindfactory.h:
5995
5996 2005-09-15  David Schleef  <ds@schleef.org>
5997
5998         * gst/gstindex.c: get refcounting correct.
5999         * gst/gstregistry.c: Handle the case where a feature/plugin is
6000           not found.
6001
6002 2005-09-15  David Schleef  <ds@schleef.org>
6003
6004         * check/Makefile.am:
6005         * check/gst/gstplugin.c: Add test
6006         * gst/gstplugin.c: Fix problems noticed by testsuite
6007         * gst/gstplugin.h:
6008         * gst/gstregistry.c: 
6009         * gst/gstregistry.h:
6010
6011 2005-09-15  David Schleef  <ds@schleef.org>
6012
6013         * gst/gstplugin.c: Implement semi-decent recounting and locking
6014           in plugins and plugin features.
6015         * gst/gstplugin.h:
6016         * gst/gstpluginfeature.c:
6017         * gst/gstpluginfeature.h:
6018         * gst/gstregistry.c:
6019
6020 2005-09-15  Michael Smith <msmith@fluendo.com>
6021
6022         * gst/gstregistry.c: (gst_registry_get_feature_list):
6023           Implement this. Makes oggdemux work; decodebin still broken.
6024
6025 2005-09-14  David Schleef  <ds@schleef.org>
6026
6027         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6028           #316076)
6029         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6030         * gst/check/Makefile.am:
6031         * libs/gst/controller/Makefile.am:
6032         * libs/gst/dataprotocol/Makefile.am:
6033
6034 2005-09-14  David Schleef  <ds@schleef.org>
6035
6036         * configure.ac: Remove getbits library.  Nothing uses it, and
6037           it should be in something like liboil if someone did want
6038           to use it.
6039         * libs/gst/Makefile.am:
6040         * libs/gst/getbits/Makefile.am:
6041         * libs/gst/getbits/gbtest.c:
6042         * libs/gst/getbits/getbits.c:
6043         * libs/gst/getbits/getbits.h:
6044         * libs/gst/getbits/gstgetbits_generic.c:
6045         * libs/gst/getbits/gstgetbits_i386.s:
6046         * libs/gst/getbits/gstgetbits_inl.h:
6047
6048 2005-09-14  David Schleef  <ds@schleef.org>
6049
6050         * gst/Makefile.am: Dist glib-compat.h
6051
6052 2005-09-14  David Schleef  <ds@schleef.org>
6053
6054         * configure.ac: Remove gst/registries, since it's no longer used.
6055         * gst/registries/Makefile.am:
6056         * gst/registries/gstlibxmlregistry.c:
6057         * gst/registries/gstlibxmlregistry.h:
6058         * gst/registries/gstxmlregistry.c:
6059         * gst/registries/gstxmlregistry.h:
6060         * gst/registries/registrytest.c:
6061
6062 2005-09-14  David Schleef  <ds@schleef.org>
6063
6064         * gst/glib-compat.h:
6065         * gst/gstregistryxml.c:
6066           Convergence is near.  Seriously.
6067
6068 2005-09-14  David Schleef  <ds@schleef.org>
6069
6070         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6071         * gst/glib-compat.h:
6072           Attempt #4 to appease the buildbots.
6073
6074 2005-09-14  David Schleef  <ds@schleef.org>
6075
6076         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6077           Attempt #3.
6078
6079 2005-09-14  David Schleef  <ds@schleef.org>
6080
6081         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6082         Attempt #2.
6083
6084 2005-09-14  David Schleef  <ds@schleef.org>
6085
6086         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6087           the new functions.
6088
6089 2005-09-14  David Schleef  <ds@schleef.org>
6090
6091         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6092         * gst/glib-compat.h: Add some functions that are in newer versions
6093           of glib than we care to require.
6094         * gst/gstregistryxml.c: Use them.
6095
6096 2005-09-14  David Schleef  <ds@schleef.org>
6097
6098         * po/POTFILES.in: remove gst-register.c
6099
6100 2005-09-14  David Schleef  <ds@schleef.org>
6101
6102         * docs/gst/gstreamer-docs.sgml:
6103         * docs/gst/gstreamer-sections.txt:
6104         * docs/gst/gstreamer.types:
6105         * docs/gst/tmpl/gstelement.sgml:
6106         * docs/gst/tmpl/gstplugin.sgml:
6107         * docs/gst/tmpl/gstpluginfeature.sgml:
6108           Documentation updates for registry changes.
6109
6110 2005-09-14  David Schleef  <ds@schleef.org>
6111
6112         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6113           because we don't require glib-2.8.
6114
6115 2005-09-14  David Schleef  <ds@schleef.org>
6116
6117         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6118           registries directory.
6119
6120 2005-09-14  David Schleef  <ds@schleef.org>
6121
6122         * check/Makefile.am:
6123         * check/generic/states.c:
6124         * gst/Makefile.am:
6125         * gst/gst.c:
6126         * gst/gst.h:
6127         * gst/gst_private.h:
6128         * gst/gstelementfactory.c:
6129         * gst/gstindex.c:
6130         * gst/gstinfo.c:
6131         * gst/gstplugin.c:
6132         * gst/gstplugin.h:
6133         * gst/gstpluginfeature.c:
6134         * gst/gstpluginfeature.h:
6135         * gst/gstregistry.c:
6136         * gst/gstregistry.h:
6137         * gst/gstregistrypool.c: remove
6138         * gst/gstregistrypool.h: remove
6139         * gst/gsttypefind.c:
6140         * gst/gsttypefindfactory.c:
6141         * gst/gsturi.c:
6142         * tools/Makefile.am:
6143         * tools/gst-compprep.c:
6144         * tools/gst-inspect.c:
6145         * tools/gst-register.c: remove
6146         * tools/gst-xmlinspect.c:
6147           Registry rewrite.  Changes registry from being a file created
6148           by a tool into a simple cache file created automatically by 
6149           libgstreamer.  Removed gst-register (because it's no longer
6150           needed).  Remove registry pools, because we only have one
6151           registry implementation (XML).  Fix up other subsystems as
6152           necessary.
6153
6154 2005-09-13  Michael Smith <msmith@fluendo.com>
6155
6156         * gst/gstconfig.h.in:
6157           Don't Use windows linking attributes for MinGW. Fixes #316157
6158
6159 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6160
6161         * gst/gstutils.c: (set_state_async_thread_func),
6162         (gst_element_set_state_async):
6163           Apparently people think it's better if this function doesn't
6164           try to set the state to whatever state was asked for on the first
6165           call to this function for any object.  Seriously.
6166
6167 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6168
6169         * check/gst/gstpipeline.c: (GST_START_TEST):
6170         * docs/gst/gstreamer-sections.txt:
6171         * gst/gstutils.c: (set_state_async_thread_func),
6172         (gst_element_set_state_async):
6173         * gst/gstutils.h:
6174           add a "gst_element_set_state_async" method that
6175           sets the state and starts a thread to make sure the state
6176           change completes as best as it can
6177
6178 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6179
6180         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6181           codify design+behaviour in testsuite after discussion
6182
6183 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6184
6185         * docs/gst/tmpl/gstelement.sgml:
6186         * docs/manual/appendix-quotes.xml:
6187           add a quote
6188         * gst/gstelement.c: (gst_element_set_state):
6189           add some debug
6190
6191 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6192
6193         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6194         (gst_base_transform_prepare_output_buf),
6195         (gst_base_transform_handle_buffer):
6196         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6197         (gst_capsfilter_prepare_buf):
6198           Remove the requirement for sub-classes to call the parent
6199           implementation of prepare_output_buffer with a wrapper function.
6200           
6201         * gst/gsttaglist.h:
6202         * gst/gsttagsetter.h:
6203           Fix #define wrapper
6204
6205 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6206
6207         * docs/gst/gstreamer-sections.txt:
6208           more doc cleanups
6209
6210 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6211
6212         * docs/gst/gstreamer-sections.txt:
6213         * docs/gst/tmpl/gstelement.sgml:
6214         * docs/gst/tmpl/gstplugin.sgml:
6215         * gst/gstminiobject.c:
6216         * gst/gstvalue.h:
6217           docs now stop throwing warnings
6218
6219 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6220
6221         * docs/gst/gstreamer-sections.txt:
6222         * docs/gst/gstreamer.types:
6223         * docs/gst/tmpl/gstpad.sgml:
6224         * docs/gst/tmpl/gsttypes.sgml:
6225         * gst/base/gstadapter.h:
6226         * gst/base/gstbasesink.h:
6227         * gst/base/gstbasesrc.h:
6228         * gst/gstbin.h:
6229         * gst/gstbuffer.h:
6230         * gst/gstbus.h:
6231         * gst/gstcaps.h:
6232         * gst/gstclock.h:
6233         * gst/gstelement.h:
6234         * gst/gstevent.h:
6235         * gst/gstmessage.h:
6236         * gst/gstpad.h:
6237         * gst/gststructure.c:
6238         * gst/registries/gstlibxmlregistry.h:
6239           various documentation fixes
6240
6241 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6242
6243         * docs/gst/gstreamer-sections.txt:
6244         * docs/gst/tmpl/gstvalue.sgml:
6245           rearrange gstvalue section
6246         * gst/gstutils.c: (gst_element_state_get_name):
6247           NONE -> VOID
6248         * gst/gstvalue.c: (_gst_value_initialize):
6249         * gst/gstvalue.h:
6250           doc updates
6251
6252 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6253
6254         * check/gst-libs/controller.c:
6255           Header include fix.
6256         * gst/base/gstbasetransform.c:
6257         (gst_base_transform_default_prepare_buf),
6258         (gst_base_transform_handle_buffer):
6259         * gst/base/gstbasetransform.h:
6260           Some more basetransform changes and fixes to enable sub-classes
6261           that modify buffer metadata only.
6262         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6263         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6264         (gst_capsfilter_prepare_buf):
6265           If the output pad has fixed allowed caps and input buffers 
6266           don't have any, set the fixed caps on outgoing buffers.
6267
6268 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6269         * check/elements/identity.c: (GST_START_TEST):
6270           Make the error a little clearer when the test fails because
6271           identity made a copy of the buffer.
6272         * docs/gst/gstreamer-sections.txt:
6273           New symbols in gstbasetransform.h
6274         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6275         (gst_base_transform_init), (gst_base_transform_transform_size),
6276         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6277         (gst_base_transform_default_prepare_buf),
6278         (gst_base_transform_get_unit_size),
6279         (gst_base_transform_buffer_alloc),
6280         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6281         (gst_base_transform_change_state),
6282         (gst_base_transform_set_passthrough),
6283         (gst_base_transform_set_in_place),
6284         (gst_base_transform_is_in_place):
6285         * gst/base/gstbasetransform.h:
6286           Change BaseTransform to separate in_place operate from same_caps
6287           output. in_place implies that the element can perform the transform
6288           on incoming buffers in-place, even if the caps on the output are
6289           different.
6290           Sub-class elements can now implement special buffer allocation
6291           methods for outgoing buffers if they wish to.
6292           Big documentation addition.
6293         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6294         * gst/elements/gstelements.c:
6295           Changes for basetransform modifications.
6296         * gst/elements/Makefile.am:
6297         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6298           Compile fix. Extra debug output.
6299
6300 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6301
6302         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6303         (gst_pad_suite):
6304           add tests for valid pad naming
6305         * gst/check/gstcheck.c: (gst_check_log_message_func),
6306         (gst_check_log_critical_func):
6307           add ASSERT_WARNING
6308           remove printing of code, it is fragile when the code contains
6309           % and the line number is enough info
6310         * gst/check/gstcheck.h:
6311         * gst/gstpad.c: (gst_pad_template_new):
6312           fix memleaks
6313
6314 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6315
6316         * configure.ac:
6317           say what CHECK flags we use
6318         * docs/libs/gstreamer-libs.types:
6319         * libs/gst/controller/Makefile.am:
6320         * libs/gst/controller/gst-controller.c:
6321         * libs/gst/controller/gst-controller.h:
6322         * libs/gst/controller/gst-helper.c:
6323         * libs/gst/controller/gst-interpolation.c:
6324         * libs/gst/controller/gstcontroller.c:
6325         * libs/gst/controller/gsthelper.c:
6326         * libs/gst/controller/gstinterpolation.c:
6327         * tools/gst-inspect.c: (print_plugin_info):
6328           we don't use dashes in header names
6329
6330 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6331
6332         * check/Makefile.am:
6333         * check/gst/.cvsignore:
6334         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6335         (gst_pipeline_suite), (main):
6336           adding a test for pipelines and state changes
6337         * gst/gstutils.c: (get_state_func):
6338           add some debugging
6339         * gstreamer.spec.in:
6340           fix up spec file
6341
6342 2005-09-08  Michael Smith <msmith@fluendo.com>
6343
6344         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6345         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6346         (gst_file_src_is_seekable), (gst_file_src_get_size),
6347         (gst_file_src_start):
6348         * gst/elements/gstfilesrc.h:
6349           Various fixes for unseekable, unmmapable, and non-normal files, so
6350           that fallback to read() rather than mmap() works.
6351         * gst/gstevent.c: (gst_event_new_newsegment):
6352           Allow newsegment events with segment_start == segment_end, as will
6353           correctly happen if you use filesrc on a zero-size file, for
6354           example.
6355
6356 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6357
6358         * gst/gstplugin.c: (gst_plugin_load_file):
6359           Call g_module_close when we don't load the module
6360
6361         * gst/registries/gstlibxmlregistry.c:
6362         (gst_xml_registry_get_property):
6363           Port leak fix from 0.8
6364
6365 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6366
6367         * docs/gst/gstreamer-docs.sgml:
6368         * docs/gst/tmpl/.cvsignore:
6369         * docs/gst/tmpl/gsttrace.sgml:
6370         * docs/gst/tmpl/gsttrashstack.sgml:
6371         * gst/Makefile.am:
6372         * gst/gst.h:
6373         * gst/gstelement.h:
6374         * gst/gstevent.h:
6375         * gst/gstmessage.c:
6376         * gst/gstmessage.h:
6377         * gst/gsttag.c:
6378         * gst/gsttag.h:
6379         * gst/gsttaginterface.c:
6380         * gst/gsttaginterface.h:
6381         * gst/gsttaglist.c:
6382         * gst/gsttaglist.h:
6383         * gst/gsttagsetter.c:
6384         * gst/gsttagsetter.h:
6385         * gst/gsttrace.c:
6386         * gst/gsttrace.h:
6387         * gst/gsttrashstack.c:
6388           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6389           inlined docs for gsttrace, gsttrashstack
6390
6391 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6392
6393         * gst/Makefile.am:
6394         * gst/elements/gstbufferstore.h:
6395         * gst/elements/gsttypefindelement.c:
6396         * gst/elements/gsttypefindelement.h:
6397         * gst/gst.h:
6398         * gst/gsttypefind.c:
6399         * gst/gsttypefind.h:
6400         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6401         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6402         (gst_type_find_factory_dispose),
6403         (gst_type_find_factory_unload_thyself),
6404         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6405         (gst_type_find_factory_get_caps),
6406         (gst_type_find_factory_get_extensions),
6407         (gst_type_find_factory_call_function):
6408         * gst/gsttypefindfactory.h:
6409         * gst/registries/gstlibxmlregistry.c:
6410         * gst/registries/gstxmlregistry.c:
6411           splitted gsttypefind into gsttypefind, gsttypefindfactory
6412
6413 2005-09-07  Andy Wingo  <wingo@pobox.com>
6414
6415         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6416         condition whereby the pad's task function is entered before the
6417         pad_mode variable was set.
6418
6419 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6420
6421         * gst/gstpad.c: (gst_pad_alloc_buffer):
6422           Catch misbehaving pad_alloc functions that don't
6423           set up caps and do it for them.
6424
6425 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6426
6427         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6428           test for pipe!=NULL
6429         * docs/gst/tmpl/.cvsignore:
6430         * docs/gst/tmpl/gstmemchunk.sgml:
6431         * docs/gst/tmpl/gstparse.sgml:
6432         * docs/gst/tmpl/gsttaglist.sgml:
6433         * docs/gst/tmpl/gsttagsetter.sgml:
6434         * docs/gst/tmpl/gsttypefind.sgml:
6435         * docs/gst/tmpl/gsttypefindfactory.sgml:
6436         * gst/gstmemchunk.c:
6437         * gst/gstparse.c:
6438         * gst/gsttag.c:
6439         * gst/gsttaginterface.c:
6440         * gst/gsttypefind.c:
6441         * gst/gsttypefind.h:
6442           inlined more docs
6443
6444 === release 0.9.2 ===
6445
6446 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6447
6448         * NEWS:
6449         * RELEASE:
6450         * configure.ac:
6451           releasing 0.9.2, "South"
6452
6453 2005-09-05  Andy Wingo  <wingo@pobox.com>
6454
6455         * gst/registries/gstxmlregistry.h:
6456         * gst/registries/gstxmlregistry.c: Um... resurrect...
6457         
6458         * gst/registries/gstxmlregistry.h:
6459         * gst/registries/gstxmlregistry.c: and update to newer API.
6460         Incidentally they should be a bit faster now that they don't have
6461         to parse the caps.
6462         
6463 2005-09-05  Andy Wingo  <wingo@pobox.com>
6464
6465         * gst/registries/gstxmlregistry.h:
6466         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6467         replaced by the libxml registry a while back
6468
6469 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6470
6471         * docs/gst/tmpl/gstplugin.sgml:
6472         * gst/elements/gstelements.c:
6473         * gst/gst.c:
6474         * gst/gstplugin.c: (gst_plugin_register_func),
6475         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6476         (gst_plugin_get_source):
6477         * gst/gstplugin.h:
6478         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6479         (gst_xml_registry_save_plugin):
6480         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6481         (gst_xml_registry_save_plugin):
6482         * tools/gst-inspect.c: (print_plugin_info):
6483           add a "source" plugin description field, to represent the source
6484           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6485           will set it to PACKAGE, which is automake's idea of the name of
6486           the source project.
6487
6488 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6489
6490         * Makefile.am:
6491         * autogen.sh:
6492         * configure.ac:
6493         * docs/Makefile.am:
6494         * docs/faq/Makefile.am:
6495         * docs/gst/tmpl/gstelement.sgml:
6496         * docs/gst/tmpl/gsttypes.sgml:
6497         * docs/htmlinstall.mak:
6498         * docs/manual/Makefile.am:
6499         * docs/pwg/Makefile.am:
6500           reorganize doc build a little
6501           split out docbook and gtk-doc stuff
6502           have two separate --enable's and enable them through autogen
6503           but disable by default in configure (to be similar to other
6504           projects)
6505         * gstreamer.spec.in:
6506           clean up docs install
6507         * po/af.po:
6508         * po/az.po:
6509         * po/ca.po:
6510         * po/cs.po:
6511         * po/de.po:
6512         * po/en_GB.po:
6513         * po/fr.po:
6514         * po/it.po:
6515         * po/nb.po:
6516         * po/nl.po:
6517         * po/ru.po:
6518         * po/sq.po:
6519         * po/sr.po:
6520         * po/sv.po:
6521         * po/tr.po:
6522         * po/uk.po:
6523         * po/vi.po:
6524           translation updates
6525
6526 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6527
6528         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6529           Add comment.
6530           
6531         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6532         (gst_fake_sink_change_state):
6533           Make state change function thread-safe.
6534           
6535         * gst/gstpad.c: (gst_pad_alloc_buffer):
6536           Set offset on generic buffer allocated by fallback.
6537
6538 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6539
6540         * docs/gst/gstreamer-sections.txt:
6541         * docs/gst/tmpl/gstelement.sgml:
6542         * gst/gstpad.c:
6543         * libs/gst/controller/gst-controller.c:
6544         (gst_controlled_property_set_interpolation_mode),
6545         (gst_controlled_property_new),
6546         (gst_controller_find_controlled_property):
6547          run the wingo-magic script against the docs
6548
6549 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6550
6551         * docs/gst/gstreamer-docs.sgml:
6552         * docs/gst/gstreamer-sections.txt:
6553         * docs/gst/tmpl/.cvsignore:
6554         * docs/gst/tmpl/gstelementdetails.sgml:
6555         * docs/gst/tmpl/gstelementfactory.sgml:
6556         * gst/gst.c:
6557         * gst/gstbus.c:
6558         * gst/gstelementfactory.c:
6559         * gst/gstelementfactory.h:
6560           merged elementdetails docs into elementfactory docs
6561           inlined both
6562
6563 2005-09-02  Andy Wingo  <wingo@pobox.com>
6564
6565         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6566         consider this enum an enum and not a flags.
6567
6568 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6569
6570         * docs/gst/gstreamer-docs.sgml:
6571         * docs/gst/tmpl/.cvsignore:
6572         * docs/gst/tmpl/gstghostpad.sgml:
6573         * docs/gst/tmpl/gstiterator.sgml:
6574         * docs/gst/tmpl/gstmacros.sgml:
6575         * docs/gst/tmpl/gstrealpad.sgml:
6576         * docs/gst/tmpl/gstregistry.sgml:
6577         * docs/gst/tmpl/gstregistrypool.sgml:
6578         * docs/gst/tmpl/gststructure.sgml:
6579         * docs/gst/tmpl/gstsystemclock.sgml:
6580         * docs/gst/tmpl/gsttrace.sgml:
6581         * gst/gstghostpad.c:
6582         * gst/gstmacros.h:
6583         * gst/gstmemchunk.c:
6584         * gst/gstmemchunk.h:
6585         * gst/gstqueue.c:
6586         * gst/gstregistry.c:
6587         * gst/gstregistrypool.c:
6588         * gst/gststructure.c:
6589         * gst/gstsystemclock.c:
6590           more docs inlined
6591
6592 2005-09-02  Andy Wingo  <wingo@pobox.com>
6593
6594         * gst/gstelement.h (GstState): Renamed from GstElementState,
6595         changed to be a normal enum instead of flags.
6596         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6597         munged to be GST_STATE_CHANGE_*.
6598         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6599         work with the new state representation.
6600         (GstStateChange): New enumeration of possible state transitions.
6601         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6602         (GstElementClass::change_state): Pass the GstStateChange along as
6603         an argument. Helps language bindings, so they don't have to use
6604         tricky lock-needing macros like GST_STATE_CHANGE ().
6605
6606         * scripts/update-states (file): New script. Run it on a file to
6607         update it for state naming and API changes. Updates files in
6608         place.
6609
6610         * All files updated for the new API.
6611
6612 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6613
6614         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6615         * gst/gstutils.c: (gst_util_set_value_from_string),
6616         (gst_util_set_object_arg):
6617           fix a bunch of unchecked return values
6618         * tools/gst-complete.c: (main):
6619         * gstreamer.spec.in:
6620           clean up a little
6621
6622 2005-09-01  Wim Taymans  <wim@fluendo.com>
6623
6624         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6625         (gst_base_sink_event), (gst_base_sink_do_sync),
6626         (gst_base_sink_handle_event):
6627         * gst/base/gstbasesink.h:
6628         Handle newsegments more correctly.
6629
6630         * gst/gstbus.c:
6631         Fix docs.
6632
6633         * gst/gstevent.c: (gst_event_new_newsegment):
6634         A newsegment cannot have a start_time of -1
6635
6636 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6637
6638         * win32/gstenumtypes.c:
6639         * win32/gstenumtypes.h:
6640           Update
6641
6642 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6643
6644         * libs/gst/controller/gst-controller.c:
6645         (gst_controlled_property_set_interpolation_mode),
6646         (gst_controlled_property_new):
6647          fixed boolean again
6648
6649 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6650
6651         * docs/faq/gst-uninstalled:
6652           add -good
6653         * gst/gstevent.c:
6654         * gst/gstevent.h:
6655           remove wrong docs
6656         * gst/gstutils.c: (gst_element_link_filtered):
6657         * gst/gstutils.h:
6658           add gst_element_link_filtered
6659
6660 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6661
6662         * docs/gst/gstreamer-docs.sgml:
6663         * docs/gst/gstreamer-sections.txt:
6664         * docs/gst/tmpl/.cvsignore:
6665         * docs/gst/tmpl/gsterror.sgml:
6666         * docs/gst/tmpl/gstfilter.sgml:
6667         * docs/gst/tmpl/gsturihandler.sgml:
6668         * docs/gst/tmpl/gsturitype.sgml:
6669         * docs/gst/tmpl/gstutils.sgml:
6670         * docs/gst/tmpl/gstxml.sgml:
6671         * gst/gsterror.c:
6672         * gst/gsterror.h:
6673         * gst/gstfilter.c:
6674         * gst/gsturi.c:
6675         * gst/gsturitype.c:
6676         * gst/gstutils.c:
6677         * gst/gstxml.c:
6678           inlined more docs, fixed double id-ref
6679
6680 2005-08-31  Wim Taymans  <wim@fluendo.com>
6681
6682         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6683         (gst_base_transform_handle_buffer):
6684         Passthrough elements don't need the caps as they don't care.
6685
6686 2005-08-31  Wim Taymans  <wim@fluendo.com>
6687
6688         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6689         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6690         Don't leak refcounts on buffers.
6691
6692 2005-08-31  Wim Taymans  <wim@fluendo.com>
6693
6694         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6695         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6696         (gst_base_transform_chain), (gst_base_transform_change_state):
6697         * gst/base/gstbasetransform.h:
6698         Handle the case where we are not negotiated more gracefully.
6699
6700 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6701
6702         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6703         (gst_file_src_map_region):
6704           Set READONLY flag on mmap'ed buffers, otherwise
6705           gst_buffer_make_writable() won't work properly (#314708).
6706
6707 2005-08-31  Wim Taymans  <wim@fluendo.com>
6708
6709         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6710         passthrough elements can even do inplace on non writable
6711         buffers (as they don't touch them).
6712
6713 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6714
6715         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6716         (gst_test_mono_source_set_property),
6717         (gst_test_mono_source_class_init), (GST_START_TEST),
6718         (gst_controller_suite):
6719           more tests (hehe I have the most)
6720         * gst/gstbus.c:
6721           describe popping messages whenusing mulltiple sources
6722         * libs/gst/controller/gst-controller.c:
6723         (gst_controlled_property_set_interpolation_mode),
6724         (gst_controlled_property_new):
6725         * libs/gst/controller/gst-controller.h:
6726         * libs/gst/controller/gst-interpolation.c:
6727           implement boolean properties
6728
6729 2005-08-31  Wim Taymans  <wim@fluendo.com>
6730
6731         * gst/gstminiobject.c: (gst_mini_object_ref):
6732         Cannot assert that the refcount has to be positive
6733         since a disposed object can be resurrected.
6734
6735 2005-08-31  Wim Taymans  <wim@fluendo.com>
6736
6737         * gst/gstpad.c: (gst_pad_init):
6738         Revert change, need to first fix badly behaving 
6739         apps.
6740
6741 2005-08-30  Wim Taymans  <wim@fluendo.com>
6742
6743         * check/elements/fakesrc.c: (setup_fakesrc):
6744         * check/elements/identity.c: (setup_identity):
6745         Activate pads before using them.
6746
6747 2005-08-30  Wim Taymans  <wim@fluendo.com>
6748
6749         * gst/base/gstadapter.c: (gst_adapter_flush):
6750         Flushing out 0 bytes is ok for this function.
6751
6752         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6753         no newsegment gives a warning and sets the start/stop to 
6754         invalid.
6755
6756         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6757         (gst_base_transform_set_passthrough):
6758         Some debug info.
6759
6760         * gst/gstminiobject.c: (gst_mini_object_ref):
6761         Check refcount here too.
6762
6763         * gst/gstpad.c: (gst_pad_init):
6764         Pads are initially flushing and refusing data.
6765
6766         * gst/gstutils.c: (gst_element_link_pads_filtered):
6767         When adding a capsfilter element make sure it has the
6768         same state as the parent bin.
6769
6770 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6771
6772         * docs/gst/tmpl/.cvsignore:
6773         * docs/gst/tmpl/gstformat.sgml:
6774         * docs/gst/tmpl/gstversion.sgml:
6775         * gst/gstbus.h:
6776         * gst/gstformat.c:
6777         * gst/gstformat.h:
6778         * gst/gstversion.h.in:
6779           more docs and two more inlined
6780
6781 2005-08-30  Wim Taymans  <wim@fluendo.com>
6782
6783         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6784         Don't sync to clock.
6785
6786 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6787
6788         * docs/gst/gstreamer-sections.txt:
6789           ultral33t func10ns deserve to appear in the docs actually
6790         * docs/gst/tmpl/.cvsignore:
6791         * docs/gst/tmpl/gstcompat.sgml:
6792         * docs/gst/tmpl/gstconfig.sgml:
6793         * gst/check/gstcheck.c:
6794         * gst/gstcompat.h:
6795         * gst/gstconfig.h.in:
6796           inlined more docs
6797
6798 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6799
6800         * docs/gst/tmpl/.cvsignore:
6801         * docs/gst/tmpl/gstquery.sgml:
6802         * docs/gst/tmpl/gstutils.sgml:
6803         * gst/gstquery.c:
6804         * gst/gstquery.h:
6805           inlined and extended docs
6806
6807 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6808
6809         * check/gst-libs/controller.c: (GST_START_TEST),
6810         (gst_controller_suite):
6811           more tests
6812         * docs/gst/tmpl/gstutils.sgml:
6813         * docs/libs/gstreamer-libs-sections.txt:
6814         * docs/libs/tmpl/gstdataprotocol.sgml:
6815           include path fixes
6816         * examples/controller/audio-example.c: (main):
6817           controller example works now
6818         * gst/gstclock.h:
6819           doc fixes
6820         * tools/gst-inspect.c: (print_element_properties_info):
6821           show param spec flags
6822
6823 2005-08-29  Andy Wingo  <wingo@pobox.com>
6824
6825         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6826
6827 2005-08-28  Andy Wingo  <wingo@pobox.com>
6828
6829         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6830         as having two arguments instead of just one. Allows superclasses
6831         to access information on subclasses -- see the terrible for() loop
6832         in gtype.c:g_type_create_instance for the reason why. All callers
6833         changed.
6834
6835 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6836
6837         * docs/design/part-messages.txt:
6838           update info
6839         * docs/gst/tmpl/.cvsignore:
6840         * docs/gst/tmpl/gstcaps.sgml:
6841         * docs/gst/tmpl/gstclock.sgml:
6842         * gst/gstbus.c:
6843         * gst/gstcaps.c:
6844         * gst/gstcaps.h:
6845         * gst/gstclock.c:
6846         * gst/gstclock.h:
6847         * gst/gstmessage.c:
6848           added descriptions for bus and message
6849           inline caps and clock docs
6850
6851 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6852
6853         * gst/gstmessage.c:
6854         * gst/gstmessage.h:
6855           doc fixes
6856
6857 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6858
6859         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6860           fix div-by-zero
6861
6862 2005-08-26  Andy Wingo  <wingo@pobox.com>
6863
6864         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6865         element_set_state's return val.
6866         (test_2_elements): Add test that's been disabled for months.
6867
6868         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6869         can-activate-pull properties.
6870
6871         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6872         can-activate-pull properties. Implement is_seekable so fakesrc can
6873         operate in pull mode.
6874
6875         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6876         properties.
6877         (gst_base_sink_activate, gst_base_sink_activate_pull)
6878         (gst_base_sink_activate_push): Make activation mode choosing work.
6879         Cleanups.
6880         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6881         is right. Make pull mode work. Post an eos before pausing in pull
6882         mode.
6883         (gst_base_sink_change_state): Pay attention to the core's
6884         change_state() return val.
6885         
6886         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6887         has-getrange properties. Cleanups.
6888         
6889         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6890         has_getrange and replace with can_activate_pull and
6891         can_activate_push.
6892
6893         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6894         locking comments. Remove has_loop, has_chain and replace with
6895         can_activate_pull and can_activate_push.
6896
6897 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6898
6899         * configure.ac:
6900         * examples/Makefile.am:
6901         * examples/metadata/Makefile.am:
6902         * examples/metadata/read-metadata.c: (message_loop),
6903         (have_pad_handler), (make_pipeline), (print_tag), (main):
6904           Add metadata reading example that loops over a list of filenames,
6905           dumping any tags found.
6906
6907         * gst/gstbus.c: (gst_bus_dispose):
6908         * gst/gstelement.c: (gst_element_dispose):
6909           Release a few potentially-held references in dispose.
6910
6911 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6912
6913         * docs/gst/tmpl/gstminiobject.sgml:
6914           do *not* add tmpl/*.sgml files to CVS!
6915
6916 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6917
6918         * libs/gst/bytestream/.cvsignore:
6919         * libs/gst/bytestream/Makefile.am:
6920         * libs/gst/bytestream/adapter.c:
6921         * libs/gst/bytestream/adapter.h:
6922         * libs/gst/bytestream/bytestream.c:
6923         * libs/gst/bytestream/bytestream.h:
6924         * libs/gst/bytestream/filepad.c:
6925         * libs/gst/bytestream/filepad.h:
6926           removing obsolete files
6927
6928 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6929
6930         * docs/gst/gstreamer-docs.sgml:
6931         * docs/libs/gstreamer-libs-docs.sgml:
6932           disabed additional index entries again, as this makes docs-gen just
6933           slow and they aren't useful yet
6934         * docs/libs/gstreamer-libs-sections.txt:
6935           little -section.txt cleanup for libs
6936
6937 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6938
6939         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6940         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6941           fix up some debugging
6942         (gst_base_transform_get_unit_size),
6943         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6944         (gst_base_transform_handle_buffer):
6945         * gst/base/gstbasetransform.h:
6946           handle and store timed NEWSEGMENT events so that subclasses that
6947           calculate time by counting samples have a segment_start time they
6948           need to add to their timestamps - see audioresample
6949
6950 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6951
6952         * gst/gstbin.h:
6953           removed ';' from the end of macro defs
6954         * docs/gst/gstreamer-docs.sgml:
6955         * docs/gst/gstreamer-sections.txt:
6956         * docs/gst/tmpl/.cvsignore:
6957         * gst/gstbus.h:
6958         * gst/gstelement.c: (gst_element_class_init),
6959         (gst_element_set_state), (activate_pads),
6960         (gst_element_save_thyself):
6961         * gst/gstevent.c: (gst_event_new_newsegment):
6962         * gst/gstevent.h:
6963         * gst/gstiterator.c:
6964         * gst/gstiterator.h:
6965         * gst/gstpad.c:
6966         * gst/gstprobe.h:
6967         * gst/gstutils.c: (gst_pad_query_convert):
6968         * gst/gstutils.h:
6969           fixed parameter name mismatches between source, header and docs
6970           added some more docs, resolved the last batch of unused elements in
6971           docs (now someone needs to doc them)
6972
6973 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6974
6975         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6976         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6977           don't walk through the plugins backwards.  Where is all this
6978           reversed logic coming from ?
6979
6980 2005-08-25  Wim Taymans  <wim@fluendo.com>
6981
6982         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6983         (gst_base_transform_transform_size),
6984         (gst_base_transform_configure_caps),
6985         (gst_base_transform_get_unit_size),
6986         (gst_base_transform_buffer_alloc),
6987         (gst_base_transform_change_state):
6988         * gst/base/gstbasetransform.h:
6989         Cache caps unit_size.
6990         Make sure we cannot negotiate up and downstream at the
6991         same time.
6992
6993 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6994
6995         * gst/gst.c: (init_pre), (init_post):
6996           register the installed plugin path after the env var
6997         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6998         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6999           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7000           directories, so the tests can prefer uninstalled over installed
7001
7002 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7003
7004         * gst/base/gstbasetransform.h:
7005           comment
7006         * gst/gstpad.c:
7007           add to docs
7008
7009 2005-08-25  Wim Taymans  <wim@fluendo.com>
7010
7011         * gst/gstbin.c: (bin_bus_handler):
7012         Be a bit more conservative about the posted message.
7013         
7014         * gst/gstbus.c: (gst_bus_post):
7015         Some cleanups, warn wrong return values.
7016
7017 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7018
7019         * check/gst/gstbin.c: (GST_START_TEST):
7020         * gst/gstbin.c: (bin_bus_handler):
7021         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7022         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7023         (gst_message_new_warning), (gst_message_new_tag),
7024         (gst_message_new_state_changed), (gst_message_new_segment_start),
7025         (gst_message_new_segment_done), (gst_message_new_custom):
7026         * gst/gstmessage.h:
7027         * tools/gst-launch.c: (event_loop):
7028         * tools/gst-md5sum.c: (event_loop):
7029           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7030
7031 2005-08-25  Wim Taymans  <wim@fluendo.com>
7032
7033         * check/generic/states.c: (GST_START_TEST):
7034         Cleanup can be done at the end.
7035
7036         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7037         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7038         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7039         Oh boy.. Thanks for finding this, Thomas. 
7040
7041 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7042
7043         * docs/gst/gstreamer.types:
7044           added missing types
7045
7046 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7047
7048         * docs/gst/gstreamer-docs.sgml:
7049         * docs/gst/gstreamer-sections.txt:
7050         * docs/gst/tmpl/.cvsignore:
7051         * gst/gstbin.c:
7052         * gst/gstiterator.c:
7053         * gst/gstutils.c:
7054         * gst/registries/gstxmlregistry.h:
7055           added missing classes and symbols (123 more to go)
7056           removed removed symbols from section file
7057           fixed many doc-comments
7058
7059 2005-08-24  Wim Taymans  <wim@fluendo.com>
7060
7061         * check/generic/states.c: (GST_START_TEST):
7062         Make sure all tasks are stopped.
7063
7064         * check/gst/gstbin.c: (GST_START_TEST):
7065         Unref after usage for proper valgrinding.
7066
7067         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7068         Really wait for the task to stop before destroying the
7069         mutex.
7070
7071         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7072         (gst_queue_src_activate_push):
7073         Small cleanups. Don't stop the task when we did not start
7074         it.
7075
7076         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7077         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7078         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7079         (gst_task_join):
7080         * gst/gsttask.h:
7081         Protect the stream lock with the object lock.
7082         Disallow setting the stream lock when running.
7083         Add cleanup_all to wait for the threadpool to finish.
7084         Remove code to autoallocate a mutex if none was provided.
7085         Add _join() to wait for a task to stop.
7086         Protect the thread pool with a global lock.
7087
7088 2005-08-24  Wim Taymans  <wim@fluendo.com>
7089
7090         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7091         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7092         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7093         * gst/base/gstbasesink.h:
7094         Handle newsegment events correctly.
7095         Drop buffers out of the segment range.
7096
7097 2005-08-22  Andy Wingo  <wingo@pobox.com>
7098
7099         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7100         macro, implements an interface and gstimplementsinterface for a
7101         new type.
7102
7103 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7104
7105         * check/Makefile.am:
7106         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7107           add a test that does a bunch of state changes on elements
7108           needs some fixing for valgrind
7109         * check/states/sinks.c: (gst_object_suite):
7110           whitespace
7111         * gst/gstcaps.h:
7112           add prototype for gst_caps_is_equal_fixed
7113         * gst/gstplugin.c:
7114         * gst/gstregistrypool.c:
7115           doc fixes
7116
7117 2005-08-24  Andy Wingo  <wingo@pobox.com>
7118
7119         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7120         convert a negative value. Doesn't make much sense. Mostly this is
7121         here to force callers to ensure -1 maps to -1.
7122
7123 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7124
7125         * docs/pwg/advanced-types.xml:
7126           Well done to Michael for catching my deliberate introduction
7127           of this spelling mistake. 
7128         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7129         * gst/gstelement.h:
7130           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7131           unlink pads before removing the element from the bin.
7132
7133 2005-08-24  Andy Wingo  <wingo@pobox.com>
7134
7135         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7136         the same thing as GST_DEBUG=*:4.
7137         (parse_debug_level, parse_debug_category): New helper parsers.
7138
7139 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7140
7141         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7142         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7143         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7144         (gst_base_transform_buffer_alloc),
7145         (gst_base_transform_handle_buffer):
7146           use gboolean return values and pointers to size so we can use the
7147           full GST_BUFFER_SIZE range (guint) for buffer sizes
7148           use GstPadDirection for transform_caps
7149         * gst/base/gstbasetransform.h:
7150           rename get_size to get_unit_size since that's what it is
7151         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7152           use GstPadDirection for transform_caps
7153         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7154         * gst/gstutils.h:
7155           cleanup and debugging
7156
7157 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7158
7159         * gst/gstelement.c: (gst_element_class_init),
7160         (gst_element_set_state), (activate_pads),
7161         (gst_element_save_thyself):
7162         * tools/gst-compprep.c: (main):
7163         * tools/gst-inspect.c: (print_element_properties_info):
7164         * tools/gst-xmlinspect.c: (print_element_properties):
7165           Fixed long standing mem-leak
7166
7167 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7168
7169         * check/gst/gstbin.c: (GST_START_TEST):
7170         * gst/gstbin.c: (bin_bus_handler):
7171         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7172         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7173         (gst_message_new_warning), (gst_message_new_tag),
7174         (gst_message_new_state_changed), (gst_message_new_segment_start),
7175         (gst_message_new_segment_done), (gst_message_new_custom):
7176         * gst/gstmessage.h:
7177         * tools/gst-launch.c: (event_loop):
7178         * tools/gst-md5sum.c: (event_loop):
7179           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7180           that applications can sensibly post custom messages with references
7181           to their own objects.
7182
7183 2005-08-24  Andy Wingo  <wingo@pobox.com>
7184
7185         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7186         already.
7187
7188 2005-08-24  Wim Taymans  <wim@fluendo.com>
7189
7190         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7191         (gst_base_transform_transform_caps),
7192         (gst_base_transform_transform_size),
7193         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7194         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7195         (gst_base_transform_handle_buffer):
7196         * gst/base/gstbasetransform.h:
7197         Many fixes and new features added by Thomas. Can now also do
7198         transforms with variable sizes and a custom fixate_caps function.
7199
7200 2005-08-24  Wim Taymans  <wim@fluendo.com>
7201
7202         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7203         Some debugging.
7204
7205         * gst/gstclock.h:
7206         Cast to ClockTime before formatting to time.
7207
7208         * gst/gstutils.h:
7209         Cleanups.
7210
7211 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7212
7213         * check/gst-libs/controller.c: (GST_START_TEST),
7214         (gst_controller_suite):
7215         * docs/gst/tmpl/gstcaps.sgml:
7216         * docs/gst/tmpl/gstghostpad.sgml:
7217         * docs/gst/tmpl/gstquery.sgml:
7218         * docs/gst/tmpl/gstutils.sgml:
7219         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7220         (gst_object_sink_values), (gst_object_get_value_arrays),
7221         (gst_object_get_value_array):
7222           gracefully handle helper method calls to objects that are not beeing
7223           controlled, added test case for that          
7224
7225 2005-08-23  Wim Taymans  <wim@fluendo.com>
7226
7227         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7228         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7229         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7230         (gst_event_parse_qos), (gst_event_new_seek),
7231         (gst_event_parse_seek):
7232         * gst/gstevent.h:
7233         Some more debugging output and doc cleanups.
7234
7235         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7236         Fix possible deadlock.
7237
7238 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7239
7240         * docs/gst/gstreamer-docs.sgml:
7241         * docs/gst/gstreamer-sections.txt:
7242         * docs/gst/gstreamer.types:
7243         * docs/gst/tmpl/.cvsignore:
7244         * gst/gstbin.h:
7245         * gst/gstbus.c:
7246         * gst/gstelement.c:
7247         * gst/gstevent.h:
7248           added 100 symbols from gstreamer-unused.txt to the right sections
7249           fixed more broken comments
7250           added GstBus to docs
7251
7252 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7253
7254         * docs/gst/gstreamer-sections.txt:
7255         * docs/gst/tmpl/.cvsignore:
7256         * docs/gst/tmpl/gstbin.sgml:
7257         * docs/gst/tmpl/gstbuffer.sgml:
7258         * gst/base/gstbasesrc.c:
7259         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7260         * gst/gstbuffer.c:
7261         * gst/gstbuffer.h:
7262         * tools/gst-launch.1.in:
7263           inlined more doc comments, added missing comments and fixed comments
7264           fixed typos
7265
7266 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7267
7268         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7269           some debugging
7270         * gst/gstcaps.h:
7271           whitespace fixes
7272         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7273           more debugging
7274         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7275         * gst/gststructure.h:
7276           add a fixate function for booleans; add a FIXME that these func
7277           names should probably be gst_structure_fixate_*
7278
7279 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7280
7281         * docs/gst/gstreamer-docs.sgml:
7282         * docs/gst/gstreamer-sections.txt:
7283         * gst/Makefile.am:
7284         * gst/gstbin.c: (gst_bin_get_type),
7285         (gst_bin_child_proxy_get_child_by_index),
7286         (gst_bin_child_proxy_get_children_count),
7287         (gst_bin_child_proxy_init):
7288         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7289         (gst_child_proxy_get_child_by_index),
7290         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7291         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7292         (gst_child_proxy_get), (gst_child_proxy_set_property),
7293         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7294         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7295         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7296         * gst/gstchildproxy.h:
7297         * gst/parse/grammar.y:
7298         * tools/gst-inspect.c: (print_interfaces),
7299         (print_element_properties_info), (print_element_info):
7300           ported gstchildproxy over from 0.8
7301           ported gst-inspect fixes and enhancements over from 0.8
7302
7303 2005-08-22  Wim Taymans  <wim@fluendo.com>
7304
7305         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7306         (gst_base_transform_handle_buffer):
7307         Also call the transform function if we have ANY caps.
7308
7309         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7310         Fix debug info.
7311
7312 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7313
7314         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7315           Don't pretend to handle seek events if the source is not seekable
7316
7317 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7318
7319         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7320           Remove extra parameter to debug output
7321
7322         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7323         (gst_base_src_do_seek), (gst_base_src_activate_push):
7324           Fix seek event handling.
7325
7326         * gst/gstpipeline.c: (gst_pipeline_change_state):
7327         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7328         (gst_queue_src_activate_push):
7329           Don't start the src pad task on FLUSH_STOP if the pad
7330           isn't linked.
7331           Debug changes.
7332
7333 2005-08-22  Wim Taymans  <wim@fluendo.com>
7334
7335         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7336         Added check for gst_static_caps_get() refcounting.
7337
7338 2005-08-22  Wim Taymans  <wim@fluendo.com>
7339
7340         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7341         Make _static_caps_get() refcounting sane.
7342         
7343         * gst/gstelement.c: (gst_element_set_state):
7344         Add g_return_val_if_fail() to protect against segfaults.
7345
7346 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7347
7348         * docs/gst/tmpl/gstevent.sgml:
7349         * gst/gstevent.c:
7350         * gst/gstevent.h:
7351           inlined remaining docs, added missing doc comments
7352
7353 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7354
7355         * check/gst/gstbin.c: (GST_START_TEST):
7356           since we don't know when preroll is done, use refcount range
7357           check for the sink
7358         * gst/check/gstcheck.h:
7359           add macro for checking refcount range
7360
7361 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7362
7363         * check/Makefile.am:
7364           clean up environment for when registry gets built versus
7365           when actual tests are run; valgrind seems to not report
7366           leaks if GST_PLUGIN_PATH is set to some specific values
7367         * check/gst/gstbin.c: (GST_START_TEST):
7368           add more refcounting checks; maybe this exposes a
7369           preroll lock bug ?
7370         * common/check.mak:
7371         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7372         * gst/check/gstcheck.h:
7373         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7374         (gst_bin_change_state):
7375         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7376           add/fix debugging/whitespace
7377
7378 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7379
7380         * check/gst/gstevent.c: (event_probe), (test_event),
7381         (GST_START_TEST):
7382          Er, don't call gst_bin_watch_for_state_change you idiot.
7383
7384 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7385
7386         * check/Makefile.am:
7387           Use CHECK_CFLAGS and CHECK_LIBS
7388         * check/gst/gstevent.c: (event_probe), (test_event),
7389         (GST_START_TEST):
7390           Don't leak events.
7391         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7392         (gst_base_src_start), (gst_base_src_stop),
7393         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7394         (gst_base_src_change_state):
7395           Sprinkle gst_base_src_stop liberally around error paths to fix
7396           problems reusing a source after failed state changes.
7397         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7398         (helper_find_suggest), (gst_type_find_helper):
7399           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7400         * gst/gstevent.h:
7401         * docs/gst/tmpl/gstevent.sgml:
7402           Migrate part of the docs from the SGML file. Wait for ensonic to
7403           tell me how I did it wrong ;)
7404         * tools/gst-typefind.c: (main):
7405           Extra robustness to state changes between files.
7406
7407 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7408
7409         * check/Makefile.am:
7410           don't valgrind the controller test - it's leaking - Stefan, HELP
7411         * gst/check/gstcheck.c: (gst_check_message_error),
7412         (gst_check_chain_func), (gst_check_setup_element),
7413         (gst_check_teardown_element), (gst_check_setup_src_pad),
7414         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7415         (gst_check_teardown_sink_pad):
7416         * gst/check/gstcheck.h:
7417           add a bunch of methods to set up elements, and src and sink pads
7418         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7419         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7420         (GST_START_TEST):
7421           use them
7422         * gst/gstmessage.c:
7423         * gst/gsttag.h:
7424           whitespace/doc fixes
7425
7426 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7427
7428         * gst/gstelement.h:
7429           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7430           be handled by the application and not always printed as well
7431
7432 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7433
7434         * check/Makefile.am:
7435           set GST_TOOLS_DIR
7436         * gst/check/gstcheck.c: (gst_check_message_error):
7437         * gst/check/gstcheck.h:
7438           add a fail_unless_equals_int
7439           add fail_unless for error messages
7440
7441 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7442
7443         * check/Makefile.am:
7444         * check/gst.supp:
7445         * common/Makefile.am:
7446         * common/check.mak:
7447         * common/gst.supp:
7448           factor out some of the common stuff so we can use it
7449
7450 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7451
7452         * check/Makefile.am:
7453         * check/gst/gstiterator.c: (GST_START_TEST):
7454         * check/gst/gstsystemclock.c: (GST_START_TEST),
7455         (gst_systemclock_suite):
7456         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7457         * gst/gstclock.c:
7458           valgrind more tests
7459
7460 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7461
7462         * check/elements/.cvsignore:
7463         * check/elements/gstfakesrc.c:
7464           rename to name of element
7465         * check/elements/identity.c: (chain_func), (event_func),
7466         (setup_identity), (cleanup_identity), (GST_START_TEST),
7467         (identity_suite), (main):
7468           add a test for identity
7469         * check/Makefile.am:
7470         * pkgconfig/Makefile.am:
7471         * pkgconfig/gstreamer-check.pc.in:
7472         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7473         * gst/check:
7474         * gst/Makefile.am:
7475         * configure.ac:
7476           move the check stuff to a library that gets installed
7477         * check/gst-libs/controller.c: (GST_START_TEST):
7478         * check/gst-libs/gdp.c:
7479         * check/gst/gst.c: (GST_START_TEST):
7480         * check/gst/gstbin.c:
7481         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7482         * check/gst/gstbus.c:
7483         * check/gst/gstcaps.c: (GST_START_TEST):
7484         * check/gst/gstelement.c:
7485         * check/gst/gstghostpad.c:
7486         * check/gst/gstiterator.c:
7487         * check/gst/gstmessage.c:
7488         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7489         * check/gst/gstobject.c:
7490         * check/gst/gstpad.c: (GST_START_TEST):
7491         * check/gst/gststructure.c: (GST_START_TEST):
7492         * check/gst/gstsystemclock.c: (GST_START_TEST),
7493         (gst_systemclock_suite):
7494         * check/gst/gsttag.c: (gst_tag_suite):
7495         * check/gst/gstvalue.c:
7496         * check/pipelines/cleanup.c:
7497         * check/pipelines/simple_launch_lines.c:
7498         * check/states/sinks.c:
7499           change include statement
7500
7501         * docs/gst/gstreamer-sections.txt:
7502         * docs/gst/tmpl/gstpad.sgml:
7503           document more pad stuff
7504         * gst/gstminiobject.c: (gst_mini_object_ref),
7505         (gst_mini_object_unref):
7506           debug refcounting
7507
7508 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7509
7510         * docs/gst/tmpl/gst.sgml:
7511         * gst/gst.c:
7512           eliminate another tmpl file, fix spelling in the long-description
7513
7514 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7515
7516         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7517         (test_event), (timediff), (gstevents_suite):
7518           Should fix build on 64-bit arch's
7519
7520 2005-08-18  Andy Wingo  <wingo@pobox.com>
7521
7522         Make sure that when a pipeline goes to PLAYING, that data has
7523         actually hit the sink.
7524
7525         * check/states/sinks.c (test_sink): A sink that doesn't get any
7526         data shouldn't return SUCCESS for going to either PLAYING or
7527         PAUSED. Test also the return values on the way back down.
7528
7529         * gst/gstelement.c (gst_element_set_state): When changing the
7530         state of an element currently changing state asynchronously, go to
7531         lost-state after commiting the pending state. Makes future calls
7532         to get_state continue to return ASYNC.
7533
7534         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7535         ASYNC when going to PLAYING if we still don't have preroll, as can
7536         happen with live sources.
7537
7538 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7539
7540         * docs/pwg/advanced-types.xml:
7541           Hack long paragraph into 2 chunks as a workaround for buggy
7542           jadetex version in sid and breezy that loops infinitely and
7543           eats all RAM.
7544
7545 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7546
7547         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7548         (test_event), (timediff), (gstevents_suite):
7549           Provide more error margin in clock measurements to allow for 
7550           g_get_current_time inaccuracies.
7551
7552 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7553
7554         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7555         (test_event), (timediff), (gstevents_suite):
7556            Fix error message output so I might be able to tell why the
7557            test works here but fails on the build farm.
7558
7559 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7560
7561         * check/Makefile.am:
7562         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7563         (test_event), (timediff), (gstevents_suite), (main):
7564           I wrote a test!
7565
7566         * docs/design/part-seeking.txt:
7567           Spelling correction
7568
7569         * docs/gst/tmpl/gstevent.sgml:
7570         * docs/gst/tmpl/gstfakesrc.sgml:
7571           Docs updates.
7572
7573         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7574           Treat a buffer-without-newsegment the same as a receiving 
7575           a newsegment not in time format, and disable syncing to the clock
7576           with a warning.
7577
7578         * gst/gstbus.c: (gst_bus_set_sync_handler):
7579           Assert if anyone tries to replace the existing sync_handler for bus, 
7580           as only the owner should be setting it.
7581
7582         * gst/gstevent.h:
7583           Have a fixed set of custom event enums with events identified by
7584           their structure name (as in 0.8), rather than a free-for-all
7585           allowing collisions between enum values from different plugins.
7586
7587         * gst/gstpad.c: (gst_pad_class_init):
7588           Docs change.
7589           
7590         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7591           Handle out-of-band downstream events from the sending thread.
7592
7593 2005-08-17  Andy Wingo  <wingo@pobox.com>
7594
7595         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7596         play-timeout==0 to mean no timeout at all. In that case, don't
7597         bother with a get_state or a warning, just return directly, even
7598         if it's ASYNC.
7599
7600         * gst/base/gstbasetransform.c: Debug changes.
7601
7602         * gst/gstutils.h:
7603         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7604         ensure bins post state change messages. A bit of a hack but I can't
7605         think of a way to avoid it.
7606
7607         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7608
7609 2005-08-16  Andy Wingo  <wingo@pobox.com>
7610
7611         * gst/base/gstadapter.h:
7612         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7613         peek() but you own the data. Not terribly efficient atm.
7614
7615 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7616
7617         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7618         (gst_element_found_tags):
7619         * gst/gstutils.h:
7620           Add two utility functions for tag handling.
7621
7622 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7623
7624         * docs/manual/advanced-dataaccess.xml:
7625         * docs/manual/basics-helloworld.xml:
7626           Fix docs to use _bin_add() before _link(), which fixes the examples
7627           with recent core versions (reported by Madhan Raj M
7628           <raj_madan@rediffmail.com>, #313199).
7629
7630 2005-08-16  Wim Taymans  <wim@fluendo.com>
7631
7632         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7633         Added subtract checks.
7634
7635         * docs/design/part-events.txt:
7636         Some more docs about newsegment
7637
7638         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7639         Fix FIXME
7640
7641         * gst/gstcaps.c: (gst_caps_to_string):
7642         Add comments, cleanups.
7643         
7644         * gst/gstelement.c: (gst_element_save_thyself):
7645         cleanups
7646         
7647         * gst/gstvalue.c: (gst_value_collect_int_range),
7648         (gst_string_unwrap), (gst_value_union_int_int_range),
7649         (gst_value_union_int_range_int_range),
7650         (gst_value_intersect_int_int_range),
7651         (gst_value_intersect_int_range_int_range),
7652         (gst_value_intersect_double_double_range),
7653         (gst_value_intersect_double_range_double_range),
7654         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7655         (gst_value_subtract_int_range_int),
7656         (gst_value_subtract_double_range_double),
7657         (gst_value_subtract_double_range_double_range),
7658         (gst_value_subtract_from_list), (gst_value_subtract_list),
7659         (gst_value_can_compare), (gst_value_compare_fraction):
7660         Cleanups, add comments, remove unneeded asserts.
7661
7662 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7663
7664         * tools/gst-launch.c: (event_loop):
7665           don't convert NULL structures to strings
7666
7667 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7668
7669         * docs/gst/gstreamer-sections.txt:
7670           made some defines private
7671         * docs/gst/tmpl/gstconfig.sgml:
7672         * docs/gst/tmpl/gstqueue.sgml:
7673         * docs/gst/tmpl/gsttaglist.sgml:
7674         * docs/gst/tmpl/gsttypes.sgml:
7675         * docs/gst/tmpl/gstutils.sgml:
7676         * docs/pwg/appendix-porting.xml:
7677         * gst/base/gstbasesink.h:
7678         * gst/base/gstbasesrc.c:
7679         * gst/base/gstbasesrc.h:
7680         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7681         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7682         * gst/gstelement.c: (gst_element_class_init):
7683         * gst/gstpad.c: (gst_pad_class_init):
7684         * gst/gstqueue.c: (gst_queue_class_init):
7685         * gst/gstxml.c: (gst_xml_class_init):
7686           documented all undocumented signal inline
7687         * libs/gst/controller/gst-controller.h:
7688           added padding
7689
7690 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7691
7692         * docs/pwg/appendix-porting.xml:
7693           Document _set_link_function -> _set_setcaps_function.
7694
7695 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7696
7697         * check/Makefile.am:
7698           add a .check target for running the check
7699         * check/gst-libs/controller.c: (GST_START_TEST):
7700           cosmetic fixups
7701         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7702           complete checks for gstbuffer; would be nice if I could get the
7703           gcov stuff to work so I can see if I actually completed gstbuffer.c
7704         * check/gstcheck.h:
7705           add ASSERT_BUFFER_REFCOUNT
7706
7707 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7708
7709         * docs/gst/gstreamer-sections.txt:
7710         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7711         * gst/gsttag.h:
7712           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7713           spew out a warning if a tag that is already registered
7714           is re-registered, unless it is re-registered with a 
7715           different type (#308438).
7716
7717 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7718
7719         * docs/pwg/appendix-porting.xml:
7720         * docs/pwg/building-state.xml:
7721           Add some paragraphs about state changes in 0.9 to the PWG
7722           and the porting guide, in particular about the new meaning
7723           of GST_STATE_PAUSED and how to write state change functions
7724           with concurrent access by multiple threads in mind.
7725
7726 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7727
7728         * docs/gst/gstreamer-docs.sgml:
7729         * docs/libs/gstreamer-libs-docs.sgml:
7730           added deprecation and since indexes
7731         * libs/gst/controller/gst-controller.c:
7732         * libs/gst/controller/gst-helper.c:
7733           added since tags
7734
7735
7736 2005-08-11  Wim Taymans  <wim@fluendo.com>
7737
7738         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7739         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7740         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7741         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7742         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7743         (gst_ghost_pad_set_target):
7744         Actually implement (re)setting the target on a ghostpad
7745         as described in the docs.
7746
7747 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7748
7749         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7750           Check whether GST_DEBUG_NO_COLOR environment variable is
7751           set and disable coloured debug output if that is the case.
7752
7753 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7754
7755         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7756         (gst_type_find_helper):
7757           The memory returned by gst_type_find_peek() needs to
7758           stay valid until the end of a typefind function, and
7759           typefind functions may keep results from different 
7760           offsets around, so we can't just unref the buffer from
7761           the previous _peek(), but have to save all buffers 
7762           returned by _peek() until typefinding is done and only
7763           free them then.
7764
7765 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7766
7767         * docs/gst/gstreamer-sections.txt:
7768         * gst/gstutils.h:
7769           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7770
7771 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7772
7773         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7774           Fix a pretty good memleak.
7775
7776 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7777
7778         * gst/gstiterator.h:
7779           Fix wrong include and 'make distcheck'.
7780
7781 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7782
7783         * gst/gstbin.c: (bin_bus_handler):
7784           Use gst_element_post_message() instead.
7785
7786 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7787
7788         * gst/base/gstadapter.h:
7789         * gst/base/gstbasesink.h:
7790         * gst/base/gstbasesrc.h:
7791         * gst/base/gstbasetransform.h:
7792         * gst/base/gstcollectpads.h:
7793         * gst/base/gstpushsrc.h:
7794         * gst/gstiterator.h:
7795           Add padding to our base elements' class and instance structs and
7796           to GstIterator (you will need to rebuild all plugins and apps!)
7797
7798 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7799
7800         * gst/gstbin.c: (bin_bus_handler):
7801           Make default message forwarding from child->bus to bin->bus
7802           threadsafe and make it not emit warnings if the parent has no bus.
7803
7804 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7805
7806         * gst/gstelement.c: (activate_pads):
7807           On paused->ready, set pad->caps to NULL, as is the documented
7808           behaviour in this state change. Fixes playback of series of
7809           media files when visualization is enabled in Totem.
7810
7811 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7812
7813         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7814           Allow NULL as filter-caps (which means "any").
7815
7816 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7817
7818         * docs/libs/gstreamer-libs-sections.txt:
7819         * libs/gst/controller/gst-controller.c:
7820         * libs/gst/controller/gst-controller.h:
7821         * libs/gst/controller/gst-helper.c:
7822           adding more entries to the docs and fix small doc-bugs
7823
7824 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7825
7826         * docs/gst/gstreamer-docs.sgml:
7827         * docs/gst/gstreamer-sections.txt:
7828         * docs/gst/gstreamer.types:
7829         * docs/gst/tmpl/gstbasesink.sgml:
7830         * docs/gst/tmpl/gstbasesrc.sgml:
7831         * docs/gst/tmpl/gstbasetransform.sgml:
7832         * docs/gst/tmpl/gstfakesrc.sgml:
7833         * gst/base/gstcollectpads.c:
7834         * gst/base/gstcollectpads.h:
7835         * libs/gst/controller/gst-controller.c:
7836         * libs/gst/controller/gst-controller.h:
7837         * libs/gst/controller/gst-helper.c:
7838         * libs/gst/controller/gst-interpolation.c:
7839         * libs/gst/controller/lib.c:
7840           added long/short desc for controller docs
7841           added collectpads base class docs
7842           added correct includes to base-class docs
7843
7844 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7845
7846         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7847         (gst_test_mono_source_set_property),
7848         (gst_test_mono_source_class_init), (GST_START_TEST),
7849         (gst_controller_suite):
7850         * docs/gst/gstreamer-docs.sgml:
7851         * docs/gst/gstreamer-sections.txt:
7852         * docs/gst/gstreamer.types:
7853         * docs/libs/gstreamer-libs-docs.sgml:
7854         * docs/libs/gstreamer-libs-sections.txt:
7855         * gst/base/gstadapter.c:
7856         * libs/gst/controller/gst-controller.c:
7857         (gst_controlled_property_new), (gst_controlled_property_free),
7858         (gst_controller_new_valist),
7859         (gst_controller_remove_properties_valist),
7860         (gst_controller_sink_values), (_gst_controller_finalize):
7861         * libs/gst/controller/gst-controller.h:
7862         * libs/gst/controller/gst-helper.c:
7863         (gst_object_control_properties), (gst_object_uncontrol_properties),
7864         (gst_object_get_controller), (gst_object_set_controller),
7865         (gst_object_sink_values), (gst_object_get_value_arrays),
7866         (gst_object_get_value_array):
7867           more tests (and fixes) for the controller
7868           more docs for the controller
7869           integrated companies docs for the adapter 
7870
7871 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7872
7873         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7874         (GST_START_TEST), (fakesrc_suite):
7875           add tests for sizetype
7876
7877 2005-08-04  Andy Wingo  <wingo@pobox.com>
7878
7879         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7880         fixes buffer_alloc proxying among other things.
7881
7882         * gst/base/gstbasetransform.c:
7883         * gst/base/gstbasetransform.h:
7884         Revert patch to gstbasetransform from 7-28 removing
7885         delay_configure.
7886
7887         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7888         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7889         Semantics changed, should return not the size of the output buffer
7890         but the byte size of a buffer with a given caps.
7891
7892         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7893         debug object.
7894         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7895         out) are not the pad caps until setcaps finishes.
7896         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7897         not-in-place case as well. Deal with changing from in-place to
7898         not-in-place within calling pad_alloc_buffer. Still a bit
7899         concerned about the overhead here...
7900
7901 2005-08-03  Andy Wingo  <wingo@pobox.com>
7902
7903         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7904         fixating is an error.
7905
7906 2005-08-04  Edward Hervey  <edward@fluendo.com>
7907
7908         * gst/base/gstadapter.h: 
7909         Added gst_adapter_get_type() to the header
7910
7911 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7912
7913         * check/Makefile.am:
7914         * check/gst-libs/controller.c:
7915         * libs/gst/controller/gst-controller.c:
7916         (gst_controller_new_valist):
7917           added check test suite for the controller
7918         * gst/base/gstpushsrc.c:
7919           fixed a doc typo
7920
7921 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7922
7923         * docs/gst/Makefile.am:
7924         * docs/gst/gstreamer-docs.sgml:
7925         * docs/gst/gstreamer-sections.txt:
7926         * docs/gst/gstreamer.types:
7927         * docs/gst/tmpl/gstfakesrc.sgml:
7928         * gst/base/README:
7929         * gst/base/gstbasesink.c:
7930         * gst/base/gstbasesink.h:
7931         * gst/base/gstbasesrc.c:
7932         * gst/base/gstbasesrc.h:
7933         * gst/base/gstbasetransform.c:
7934         * gst/base/gstpushsrc.c:
7935         * gst/base/gstpushsrc.h:
7936           add short/long description docs to base classes
7937           add pushsrc to the docs
7938           remove consolidated doc fragments
7939
7940 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7941
7942         * configure.ac:
7943         * docs/libs/Makefile.am:
7944         * docs/libs/gstreamer-libs-docs.sgml:
7945         * docs/libs/gstreamer-libs-sections.txt:
7946         * docs/libs/gstreamer-libs.types:
7947         * examples/Makefile.am:
7948         * examples/controller/.cvsignore:
7949         * examples/controller/Makefile.am:
7950         * examples/controller/audio-example.c: (main):
7951         * libs/gst/Makefile.am:
7952         * libs/gst/controller/.cvsignore:
7953         * libs/gst/controller/Makefile.am:
7954         * libs/gst/controller/gst-controller.c:
7955         (on_object_controlled_property_changed), (gst_timed_value_compare),
7956         (gst_timed_value_find),
7957         (gst_controlled_property_set_interpolation_mode),
7958         (gst_controlled_property_new), (gst_controlled_property_free),
7959         (gst_controller_find_controlled_property),
7960         (gst_controller_new_valist), (gst_controller_new),
7961         (gst_controller_remove_properties_valist),
7962         (gst_controller_remove_properties), (gst_controller_set),
7963         (gst_controller_set_from_list), (gst_controller_unset),
7964         (gst_controller_get), (gst_controller_get_all),
7965         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7966         (gst_controller_get_value_array),
7967         (gst_controller_set_interpolation_mode),
7968         (_gst_controller_finalize), (_gst_controller_init),
7969         (_gst_controller_class_init), (gst_controller_get_type):
7970         * libs/gst/controller/gst-controller.h:
7971         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7972         (g_object_uncontrol_properties), (g_object_get_controller),
7973         (g_object_set_controller), (g_object_sink_values),
7974         (g_object_get_value_arrays), (g_object_get_value_array):
7975         * libs/gst/controller/gst-interpolation.c:
7976         (gst_controlled_property_find_timed_value_node),
7977         (interpolate_none_get), (interpolate_trigger_get),
7978         (interpolate_trigger_get_value_array):
7979         * libs/gst/controller/lib.c: (gst_controller_init):
7980         * pkgconfig/Makefile.am:
7981         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7982         * pkgconfig/gstreamer-control.pc.in:
7983         * testsuite/Makefile.am:
7984         * testsuite/controller/.cvsignore:
7985         * testsuite/controller/Makefile.am:
7986         * testsuite/controller/interpolator.c: (main):
7987           added controller code
7988           removed dparam pc files
7989
7990 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7991         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7992         (gst_collectpads_stop):
7993           Broadcast the condition when shutting down, to make sure we wake all
7994           threads up. Shut down pads on finalize, for safety.
7995
7996 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7997         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7998         (gst_base_transform_handle_buffer),
7999         (gst_base_transform_change_state):
8000           Handle PAUSED->READY->PAUSED transition after negotiation
8001           occurred already.
8002         * gst/gstmessage.c: (gst_message_init):
8003           Extra piece of debug for new messages.
8004
8005 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8006
8007         * configure.ac:
8008         * docs/gst/tmpl/gstbasesrc.sgml:
8009         * docs/gst/tmpl/gstelement.sgml:
8010         * docs/gst/tmpl/gstevent.sgml:
8011         * docs/gst/tmpl/gstfakesrc.sgml:
8012         * docs/gst/tmpl/gstformat.sgml:
8013         * docs/gst/tmpl/gstghostpad.sgml:
8014         * docs/gst/tmpl/gstpad.sgml:
8015         * docs/gst/tmpl/gstquery.sgml:
8016         * docs/gst/tmpl/gststructure.sgml:
8017         * docs/gst/tmpl/gsttaglist.sgml:
8018         * docs/gst/tmpl/gstvalue.sgml:
8019         * docs/libs/gstreamer-libs-docs.sgml:
8020         * docs/libs/gstreamer-libs-sections.txt:
8021         * docs/libs/gstreamer-libs.types:
8022         * libs/gst/Makefile.am:
8023         * libs/gst/control/.cvsignore:
8024         * libs/gst/control/Makefile.am:
8025         * libs/gst/control/control.c:
8026         * libs/gst/control/control.h:
8027         * libs/gst/control/dparam.c:
8028         * libs/gst/control/dparam.h:
8029         * libs/gst/control/dparam_smooth.c:
8030         * libs/gst/control/dparam_smooth.h:
8031         * libs/gst/control/dparamcommon.h:
8032         * libs/gst/control/dparammanager.c:
8033         * libs/gst/control/dparammanager.h:
8034         * libs/gst/control/dplinearinterp.c:
8035         * libs/gst/control/dplinearinterp.h:
8036         * libs/gst/control/unitconvert.c:
8037         * libs/gst/control/unitconvert.h:
8038         * testsuite/Makefile.am:
8039         * testsuite/dynparams/.cvsignore:
8040         * testsuite/dynparams/Makefile.am:
8041         * testsuite/dynparams/dparamstest.c:
8042         * tools/Makefile.am:
8043         * tools/gst-inspect.c: (print_element_info), (main):
8044         * tools/gst-xmlinspect.c: (print_element_info), (main):
8045           deactivate and remove dparams (libgstcontrol)
8046
8047 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8048
8049         * gst/elements/gsttypefindelement.c:
8050         (gst_type_find_element_have_type), (gst_type_find_element_init),
8051         (stop_typefinding), (gst_type_find_element_handle_event),
8052         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8053         * gst/elements/gsttypefindelement.h:
8054           Set caps on all outgoing buffers, not just the first one.
8055
8056 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8057
8058         * gst/elements/gsttypefindelement.c:
8059         (gst_type_find_element_have_type),
8060         (gst_type_find_element_check_set_buffer_caps),
8061         (gst_type_find_element_init), (stop_typefinding),
8062         (gst_type_find_element_handle_event),
8063         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8064         * gst/elements/gsttypefindelement.h:
8065           Set caps on first outgoing buffer when we've found the type.
8066
8067 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8068
8069         * docs/gst/gstreamer-docs.sgml:
8070         * docs/gst/gstreamer-sections.txt:
8071         * docs/gst/tmpl/gstscheduler.sgml:
8072         * docs/gst/tmpl/gstschedulerfactory.sgml:
8073           Remove some old cruft from docs.
8074
8075 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8076
8077         * gst/gstpad.h:
8078           Fix inline docs for GstPadLinkReturn.
8079           
8080         * gst/gststructure.c: (gst_structure_has_name):
8081         * gst/gststructure.h:
8082         * docs/gst/gstreamer-sections.txt:
8083           New API: gst_structure_has_name().
8084
8085 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8086
8087         * configure.ac:
8088           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8089           and _LARGEFILE_SOURCE in config.h as required. Do not 
8090           export those flags in our .pc files any longer (#142209).
8091
8092           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8093
8094         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8095         (gst_file_sink_do_seek), (gst_file_sink_event),
8096         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8097           Redo seek/tell calls with large file support in mind; add some
8098           debugging messages; add log message that tells us when large
8099           file support is unavailable or not enabled for some reason.
8100
8101         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8102           Add log message that tells us when large file support 
8103           is unavailable or not enabled for some reason.
8104
8105 2005-07-29  Wim Taymans  <wim@fluendo.com>
8106
8107         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8108         Added test for removing an element with ghostpad from a bin.
8109         Fixed test as current implementation does the right thing.
8110
8111         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8112         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8113         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8114         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8115         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8116         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8117         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8118         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8119         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8120         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8121         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8122         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8123         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8124         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8125         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8126         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8127         * gst/gstghostpad.h:
8128         Clean up ghostpads, remove properties for internal stuff.
8129         Make threadsafe.
8130         Fix refcounting.
8131         Prepare for switching targets, not all use cases work yet.
8132
8133 2005-07-29  Wim Taymans  <wim@fluendo.com>
8134
8135         * docs/design/part-gstghostpad.txt:
8136         Small update.
8137
8138         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8139         (gst_bin_remove_func):
8140         Unlinking pads while holding the bin LOCK is not a good
8141         idea.
8142
8143         * gst/gstpad.c: (gst_pad_class_init),
8144         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8145         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8146         No prob setting template after creating the pad.
8147
8148 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8149
8150         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8151         (gst_bus_peek), (gst_bus_source_dispatch),
8152         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8153         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8154           gst_bus_poll may be called from other threads. Handle
8155           this nicely by not making poll_data disappear off the
8156           stack once gst_bus_poll returns.
8157           gst_bus_peek now increments the refcount on the returned
8158           message.
8159
8160 2005-07-29  Wim Taymans  <wim@fluendo.com>
8161
8162         * docs/design/part-gstghostpad.txt:
8163         Overview of current GhostPad datastructures and use
8164         cases for changing the target.
8165
8166 2005-07-28  Wim Taymans  <wim@fluendo.com>
8167
8168         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8169         Added checks for hierarchy consistency whan adding linked
8170         elements to bins.
8171
8172         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8173         Added check to test element scheduling without bin/pipeline.
8174
8175         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8176         First add elements to bin, then link.
8177         
8178         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8179         (gst_bin_remove_func):
8180         Unlink pads from elements added/removed from bin to maintain
8181         hierarchy consistency.
8182
8183 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8184
8185         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8186         (gst_base_transform_handle_buffer):
8187         * gst/base/gstbasetransform.h:
8188           Remove broken delay_configure (fixes renegotiation of software
8189           scaling pipelines); remove some leftover printf()s.
8190
8191 2005-07-28  Wim Taymans  <wim@fluendo.com>
8192
8193         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8194         Added some more tests for wrong hierarchy
8195
8196         * docs/design/part-overview.txt:
8197         Some updates.
8198
8199         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8200         Cleanups.
8201
8202         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8203         (gst_element_dispose):
8204         Some more cleanups.
8205
8206         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8207         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8208         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8209         (gst_pad_set_caps), (gst_pad_send_event):
8210         Check for correct hierarchy when linking pads. Moving to
8211         strict requirement for ghostpads when linking elements in
8212         different bins.
8213
8214         * gst/gstpad.h:
8215         Clean ups. Added WRONG_HIERARCHY return value.
8216
8217 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8218
8219         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8220           Better debug if no transform is possible.
8221
8222 2005-07-27  Wim Taymans  <wim@fluendo.com>
8223
8224         * docs/random/wtay/network-transp:
8225         Some old doc I had.
8226
8227 2005-07-27  Wim Taymans  <wim@fluendo.com>
8228
8229         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8230         (gst_dp_event_from_packet):
8231         Fix serialization of seek events.
8232
8233 2005-07-27  Wim Taymans  <wim@fluendo.com>
8234
8235         * check/gst-libs/gdp.c: (GST_START_TEST):
8236         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8237         Fix compilation and fix event serialization.
8238
8239 2005-07-27  Wim Taymans  <wim@fluendo.com>
8240
8241         * CHANGES-0.9:
8242         * docs/design/part-TODO.txt:
8243         * docs/design/part-events.txt:
8244         Some docs updates
8245
8246         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8247         (gst_base_sink_event), (gst_base_sink_do_sync),
8248         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8249         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8250         (gst_base_src_do_seek), (gst_base_src_event_handler),
8251         (gst_base_src_loop):
8252         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8253         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8254         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8255         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8256         (gst_base_transform_set_passthrough),
8257         (gst_base_transform_is_passthrough):
8258         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8259         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8260         Event updates.
8261
8262         * gst/gstbuffer.h:
8263         Use faster casts.
8264
8265         * gst/gstelement.c: (gst_element_seek):
8266         * gst/gstelement.h:
8267         Update gst_element_seek.
8268
8269         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8270         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8271         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8272         (gst_event_new_eos), (gst_event_new_newsegment),
8273         (gst_event_parse_newsegment), (gst_event_new_tag),
8274         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8275         (gst_event_parse_qos), (gst_event_new_seek),
8276         (gst_event_parse_seek), (gst_event_new_navigation):
8277         * gst/gstevent.h:
8278         Make GstEvent use GstStructure. Add parsing code, make sure the
8279         API is sufficiently generic.
8280         Mark possible directions of events and serialization.
8281
8282         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8283         (_gst_message_copy), (gst_message_new_segment_start),
8284         (gst_message_new_segment_done), (gst_message_new_custom),
8285         (gst_message_parse_segment_start),
8286         (gst_message_parse_segment_done):
8287         Small cleanups.
8288
8289         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8290         (gst_pad_set_caps), (gst_pad_send_event):
8291         Update for new events. 
8292         Catch events sent in wrong directions.
8293
8294         * gst/gstqueue.c: (gst_queue_link_src),
8295         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8296         (gst_queue_handle_src_query):
8297         Event updates.
8298
8299         * gst/gsttag.c:
8300         * gst/gsttag.h:
8301         Remove event code from this file.
8302
8303         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8304         (gst_dp_event_from_packet):
8305         Event updates.
8306
8307 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8308
8309         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8310         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8311         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8312           Make debugging actually useful.
8313
8314 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8315
8316         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8317         (gst_pad_fixate_caps):
8318           Implement default fixation once again, so that gst_pad_fixate()
8319           actually does anything at all. This probably needs to be some
8320           sort of a last resort, and use profile-based fixation first, but
8321           since that doesn't exist yet, this is the best we have. Fixes
8322           visualization in Totem.
8323
8324 2005-07-22  Wim Taymans  <wim@fluendo.com>
8325
8326         * docs/design/part-events.txt:
8327         Small update.
8328
8329         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8330         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8331         (gst_base_sink_activate_pull):
8332         Some more comments.
8333
8334         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8335         (gst_fake_src_create):
8336         Fix handoff marshall.
8337
8338         * gst/elements/gstidentity.c: (gst_identity_class_init),
8339         (gst_identity_transform_ip):
8340         We're a real inplace element.
8341
8342         * gst/gstbus.c: (gst_bus_post):
8343         Added some comments.
8344
8345         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8346         * tests/muxing/case1.c: (main):
8347         * tests/sched/dynamic-pipeline.c: (main):
8348         * tests/sched/interrupt1.c: (main):
8349         * tests/sched/interrupt2.c: (main):
8350         * tests/sched/interrupt3.c: (main):
8351         * tests/sched/runxml.c: (main):
8352         * tests/sched/sched-stress.c: (main):
8353         * tests/seeking/seeking1.c: (event_received), (main):
8354         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8355         (main):
8356         * tests/threadstate/threadstate3.c: (main):
8357         * tests/threadstate/threadstate4.c: (main):
8358         * tests/threadstate/threadstate5.c: (main):
8359         Fix the tests.
8360
8361 2005-07-21  Wim Taymans  <wim@fluendo.com>
8362
8363         * docs/design/part-seeking.txt:
8364         Some small additions.
8365
8366         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8367         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8368         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8369         * gst/base/gstbasesink.h:
8370         discont values are gint64, handle the math correctly.
8371
8372         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8373         Make the basesrc report error if the source pad is not linked.
8374
8375         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8376         (gst_queue_loop), (gst_queue_handle_src_query),
8377         (gst_queue_src_activate_push):
8378         Make queue collect data even if the srcpad is not linked.
8379         Start pushing out data as soon as it is linked.
8380
8381         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8382         * gst/gstutils.h:
8383         Added gst_flow_get_name() to ease error reporting.
8384
8385 2005-07-20  Wim Taymans  <wim@fluendo.com>
8386
8387         * gst/gstmessage.c: (gst_message_new_segment_start),
8388         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8389         (gst_message_parse_segment_done):
8390         * gst/gstmessage.h:
8391         Added a bunch of messages for advanced seeking.
8392
8393         * gst/parse/grammar.y:
8394         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8395         (gst_dpman_state_changed):
8396         Fix some new-pad -> pad-added signals
8397
8398 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8399
8400         * docs/manual/appendix-porting.xml:
8401         * docs/pwg/appendix-porting.xml:
8402           Document new-pad/state-change signal renames and the FixedList
8403           type rename.
8404
8405 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8406
8407         * docs/manual/advanced-autoplugging.xml:
8408         * docs/manual/basics-helloworld.xml:
8409         * docs/manual/basics-pads.xml:
8410         * docs/random/ds/0.9-suggested-changes:
8411         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8412         * gst/gstelement.h:
8413         * gst/gstevent.h:
8414         * gst/gstformat.h:
8415         * gst/gstquery.h:
8416         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8417         (gst_structure_parse_array), (gst_structure_parse_value):
8418         * gst/gstvalue.c: (gst_type_is_fixed),
8419         (gst_value_list_prepend_value), (gst_value_list_append_value),
8420         (gst_value_list_get_size), (gst_value_list_get_value),
8421         (gst_value_transform_array_string), (gst_value_serialize_array),
8422         (gst_value_deserialize_array), (gst_value_intersect_array),
8423         (gst_value_is_fixed), (_gst_value_initialize):
8424         * gst/gstvalue.h:
8425           GstElement::new-pad -> pad-added, GstElement::state-change ->
8426           state-changed, GstValueFixedList -> GstValueArray, add format and
8427           flags as their own arguments in gst_element_seek() (should improve
8428           "bindeability"), remove function generators since they don't work
8429           under a whole bunch of compilers (they were deprecated already
8430           anyway).
8431
8432 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8433
8434         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8435         (_gst_debug_register_funcptr):
8436         * gst/gstinfo.h:
8437           Fix illegal cast on some platforms (#309253).
8438
8439 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8440
8441         * gst/gstmessage.c: (gst_message_new_custom):
8442         * gst/gstmessage.h:
8443           Add _new_custom, make _new_application a macro to _new_custom.
8444
8445 2005-07-20  Wim Taymans  <wim@fluendo.com>
8446
8447         * gst/base/gstbasesrc.c: (gst_base_src_init),
8448         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8449         * gst/base/gstbasesrc.h:
8450         Add a gboolean to decide when to push out a discont.
8451
8452         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8453         (gst_queue_loop), (gst_queue_handle_src_query),
8454         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8455         (gst_queue_set_property), (gst_queue_get_property):
8456         Some cleanups.
8457
8458         * tests/threadstate/threadstate1.c: (main):
8459         Make a thread test compile and run... very silly..
8460
8461
8462 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8463
8464         * docs/manual/appendix-porting.xml:
8465           Mention removal of libgstgconf-0.9.la and existence of gconf
8466           elements.
8467
8468 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8469
8470         * docs/pwg/advanced-clock.xml:
8471         * docs/pwg/appendix-porting.xml:
8472         * docs/pwg/intro-preface.xml:
8473         * docs/pwg/other-base.xml:
8474         * docs/pwg/other-manager.xml:
8475         * docs/pwg/other-nton.xml:
8476         * docs/pwg/other-ntoone.xml:
8477         * docs/pwg/other-oneton.xml:
8478         * docs/pwg/pwg.xml:
8479           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8480           demuxer), remove n-to-n (was never written), fix some code examples
8481           and links and update the porting section to include all this.
8482
8483 2005-07-19  Wim Taymans  <wim@fluendo.com>
8484
8485         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8486         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8487         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8488         (gst_queue_src_activate_push), (gst_queue_change_state),
8489         (gst_queue_get_property):
8490         * gst/gstqueue.h:
8491         Propagate GstFlowReturn more intelligently upstream and output
8492         an ERROR/EOS when streaming stopped due to fatal error.
8493
8494 2005-07-19  Wim Taymans  <wim@fluendo.com>
8495
8496         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8497         Don't block forever for the state change to complete, the
8498         pipeline already did with a sensible timeout.
8499
8500 2005-07-19  Wim Taymans  <wim@fluendo.com>
8501
8502         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8503         Make sure we never call the create function is we
8504         got deactivated.
8505
8506 2005-07-19  Andy Wingo  <wingo@pobox.com>
8507
8508         * gst/parse/parse.l: Attempt to solve bug #172815.
8509
8510 2005-07-19  Wim Taymans  <wim@fluendo.com>
8511
8512         * docs/design/part-clocks.txt:
8513         * docs/design/part-events.txt:
8514         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8515         Small docs updates.
8516         Only update the seeking values when we are not
8517         busy streaming.
8518
8519 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8520
8521         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8522           Oops, ignore the result of gst_pad_push_event here.
8523
8524 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8525
8526         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8527         (gst_base_src_activate_push):
8528           Send discont event from the loop function, as pads
8529           aren't activated yet in the activate_push handler.
8530
8531         * gst/gstbin.c: (bin_bus_handler):
8532           Don't leak element name.
8533
8534 2005-07-18  Andy Wingo  <wingo@pobox.com>
8535
8536         * configure.ac: Use AS_LIBTOOL_TAGS.
8537
8538 2005-07-18  Wim Taymans  <wim@fluendo.com>
8539
8540         * docs/gst/gstreamer.types:
8541         Remove deleted types.
8542
8543 2005-07-18  Wim Taymans  <wim@fluendo.com>
8544
8545         * check/elements/gstfakesrc.c: (GST_START_TEST):
8546         * configure.ac:
8547         * gst/Makefile.am:
8548         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8549         (init_popt_callback):
8550         * gst/gst.h:
8551         * gst/gst_private.h:
8552         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8553         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8554         * gst/gstbin.h:
8555         * gst/gstbus.h:
8556         * gst/gstconfig.h.in:
8557         * gst/gstelement.c: (gst_element_class_init),
8558         (gst_element_set_base_time), (gst_element_get_base_time),
8559         (iterator_fold_with_resync), (gst_element_change_state),
8560         (gst_element_dispose), (gst_element_get_bus):
8561         * gst/gstelement.h:
8562         * gst/gstelementfactory.h:
8563         * gst/gsterror.c: (_gst_core_errors_init):
8564         * gst/gsterror.h:
8565         * gst/gstevent.h:
8566         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8567         * gst/gstindex.c:
8568         * gst/gstinfo.c: (_gst_debug_init):
8569         * gst/gstmessage.c: (_gst_message_copy):
8570         * gst/gstmessage.h:
8571         * gst/gstminiobject.h:
8572         * gst/gstobject.c:
8573         * gst/gstobject.h:
8574         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8575         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8576         * gst/gstpad.h:
8577         * gst/gstparse.h:
8578         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8579         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8580         (gst_pipeline_get_last_stream_time):
8581         * gst/gstpipeline.h:
8582         * gst/gstpluginfeature.h:
8583         * gst/gstquery.h:
8584         * gst/gstscheduler.c:
8585         * gst/gstscheduler.h:
8586         * gst/gststructure.h:
8587         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8588         (gst_task_finalize), (gst_task_func), (gst_task_create),
8589         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8590         (gst_task_stop), (gst_task_pause):
8591         * gst/gsttask.h:
8592         * gst/gsttypefind.h:
8593         * gst/gsttypes.h:
8594         * gst/registries/gstlibxmlregistry.c: (load_feature),
8595         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8596         * gst/registries/gstxmlregistry.c:
8597         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8598         * gst/schedulers/threadscheduler.c:
8599         * libs/gst/control/dparammanager.h:
8600         * tools/gst-inspect.c: (print_element_list),
8601         (print_plugin_features), (print_element_features):
8602         * tools/gst-xmlinspect.c: (print_element_list),
8603         (print_plugin_info), (main):
8604         Removed plugable schedulers.
8605         Removed Scheduler/Manager from elements.
8606         Removed gsttypes.h, rearranged includes.
8607         Removed dependency pad<->element, element<>pipeline, and
8608         various others,  fix includes.
8609         implement gst_pad_get_parent() with gst_object_get_parent()
8610         Make GstTask sefcontained.
8611         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8612         timeout.
8613         Fix endless loop in iterator_fold_with_resync.
8614
8615
8616 2005-07-18  Wim Taymans  <wim@fluendo.com>
8617
8618         * gst/Makefile.am:
8619         * gst/gstarch.h:
8620         Remove old file.
8621
8622 2005-07-18  Wim Taymans  <wim@fluendo.com>
8623
8624         * gst/Makefile.am:
8625         No more cothreads.h
8626
8627 2005-07-18  Wim Taymans  <wim@fluendo.com>
8628
8629         * gst/cothreads.c:
8630         * gst/cothreads.h:
8631         Let's remove these.
8632
8633 2005-07-18  Wim Taymans  <wim@fluendo.com>
8634
8635         * docs/design/part-dynamic.txt:
8636         * docs/design/part-events.txt:
8637         * docs/design/part-seeking.txt:
8638         Some more docs in the works.
8639
8640         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8641         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8642         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8643         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8644         (gst_base_transform_handle_buffer),
8645         (gst_base_transform_sink_activate_push),
8646         (gst_base_transform_src_activate_pull),
8647         (gst_base_transform_set_passthrough),
8648         (gst_base_transform_is_passthrough):
8649         Refcounting fixes.
8650
8651         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8652         Cleanups.
8653
8654         * gst/gstevent.c: (gst_event_finalize):
8655         Set SRC to NULL.
8656
8657         * gst/gstutils.c: (gst_element_unlink),
8658         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8659         (gst_pad_proxy_setcaps):
8660         * gst/gstutils.h:
8661         Add _get_parent_element() to get a pads parent as an element.
8662
8663 2005-07-18  Wim Taymans  <wim@fluendo.com>
8664
8665         * check/gst/gstbin.c: (GST_START_TEST):
8666         Remove bogus test.
8667
8668 2005-07-18  Wim Taymans  <wim@fluendo.com>
8669
8670         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8671         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8672         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8673         (gst_base_sink_event), (gst_base_sink_do_sync),
8674         (gst_base_sink_chain), (gst_base_sink_loop),
8675         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8676         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8677         Refcounting fixes.
8678         Fix logic for returning ASYNC when not prerolled.
8679
8680 2005-07-18  Wim Taymans  <wim@fluendo.com>
8681
8682         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8683         Fix nasty refcount bug.
8684
8685 2005-07-16 Philippe Khalaf <burger@speedy.org>
8686
8687         * gst/elements/gstfdsrc.c:
8688         * gst/elements/gstfdsrc.h:
8689         * gst/elements/gstelements.c:
8690         * gst/elements/Makefile.am:
8691         Ported fdsrc to 0.9.
8692
8693 2005-07-16  Wim Taymans  <wim@fluendo.com>
8694
8695         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8696         (gst_base_sink_do_sync):
8697         Fix compile error.
8698
8699 2005-07-16  Wim Taymans  <wim@fluendo.com>
8700
8701         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8702         (gst_base_sink_event), (gst_base_sink_get_times),
8703         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8704         * gst/base/gstbasesink.h:
8705         Store and use discont values when syncing buffers as described
8706         in design docs.
8707         
8708         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8709         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8710         (gst_base_src_activate_push):
8711         Push discont event when starting.
8712
8713         * gst/elements/gstidentity.c: (gst_identity_transform):
8714         Small cleanups.
8715
8716         * gst/gstbin.c: (gst_bin_change_state):
8717         Small cleanups in base_time  distribution.
8718
8719         * gst/gstelement.c: (gst_element_set_base_time),
8720         (gst_element_get_base_time), (gst_element_change_state):
8721         * gst/gstelement.h:
8722         Added methods for the base_time of the element.
8723         Some MT fixes.
8724
8725         * gst/gstpipeline.c: (gst_pipeline_send_event),
8726         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8727         (gst_pipeline_get_last_stream_time):
8728         * gst/gstpipeline.h:
8729         MT fixes.
8730         Handle seeking as described in design doc, remove stream_time
8731         hack.
8732         Cleanups clock and stream_time selection code. Added accessors
8733         for the stream_time.
8734         
8735
8736 2005-07-16  Andy Wingo  <wingo@pobox.com>
8737
8738         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8739         (#305291).
8740
8741 2005-07-16  Wim Taymans  <wim@fluendo.com>
8742
8743         * check/gst/gstbin.c: (GST_START_TEST):
8744         Make elements silent as the deep_notify refs the
8745         parent, which might make the test fail.
8746
8747         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8748         Don't hold the lock for too long.
8749
8750 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8751
8752         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8753           Don't unref the caps we passed to gst_caps_make_writable() after
8754           passing them. gst_caps_make_writable() will do that for us.
8755
8756 2005-07-15  Andy Wingo  <wingo@pobox.com>
8757
8758         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8759         (#157311).
8760
8761         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8762         own marshalling function for the handoff signal. Properly type the
8763         buffer as a buffer. Fixes some warnings. Should do a more general
8764         solution.
8765         (gst_identity_class_init): Plug into the right marshaller.
8766
8767 2005-07-15  Wim Taymans  <wim@fluendo.com>
8768
8769         * docs/design/part-TODO.txt:
8770         * docs/design/part-clocks.txt:
8771         * docs/design/part-element-sink.txt:
8772         * docs/design/part-events.txt:
8773         * docs/design/part-gstpipeline.txt:
8774         Updated docs, mostly DISCONT related.
8775
8776 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8777
8778         * docs/pwg/building-pads.xml:
8779           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8780
8781 2005-07-15  Andy Wingo  <wingo@pobox.com>
8782
8783         * tools/gst-typefind.c: Update, add copyright block.
8784
8785         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8786         Normalize and truncate caps before fixation.
8787
8788         * gst/gstcaps.h:
8789         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8790         discards all but the first structure from its argument.
8791
8792 2005-07-15  Wim Taymans  <wim@fluendo.com>
8793
8794         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8795         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8796         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8797         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8798         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8799         (gst_base_transform_chain), (gst_base_transform_change_state),
8800         (gst_base_transform_set_passthrough),
8801         (gst_base_transform_is_passthrough):
8802         * gst/base/gstbasetransform.h:
8803         Make passthrough work using the bufferpools.
8804         Changed API a bit, subclasses have to write into a buffer
8805         provided by the base class.
8806         More debug info in nego functions.
8807         
8808         * gst/elements/gstidentity.c: (gst_identity_init),
8809         (gst_identity_transform):
8810         Port to new base class.
8811
8812 2005-07-15  Wim Taymans  <wim@fluendo.com>
8813
8814         * gst/gstmessage.c: (gst_message_new_state_changed):
8815         * tools/gst-launch.c: (event_loop), (main):
8816         Totally dump messages in -launch with the -m option.
8817         Fix message name for State messages,
8818
8819 2005-07-14  Wim Taymans  <wim@fluendo.com>
8820
8821         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8822         Post error messages on errors.
8823
8824 2005-07-14  Wim Taymans  <wim@fluendo.com>
8825
8826         * gst/gstcaps.c: (gst_caps_do_simplify):
8827         Remove debug info.
8828
8829         * gst/gsterror.h:
8830         Define error for stream stopped.
8831
8832         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8833         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8834         Do proper return values.
8835
8836         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8837         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8838         (gst_pad_get_range):
8839         Better return values.
8840
8841         * gst/gstpad.h:
8842         Reorganise return values, add macro to check for fatal errors.
8843
8844         * gst/gstqueue.c: (gst_queue_chain):
8845         Return proper GstFlowReturn values,
8846
8847 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8848
8849         * docs/gst/gstreamer-sections.txt:
8850         * docs/gst/gstreamer.types:
8851         * docs/gst/tmpl/gst.sgml:
8852         * docs/gst/tmpl/gstbasesink.sgml:
8853         * docs/gst/tmpl/gstbasesrc.sgml:
8854         * docs/gst/tmpl/gstbasetransform.sgml:
8855         * docs/gst/tmpl/gstbin.sgml:
8856         * docs/gst/tmpl/gstbuffer.sgml:
8857         * docs/gst/tmpl/gstcaps.sgml:
8858         * docs/gst/tmpl/gstclock.sgml:
8859         * docs/gst/tmpl/gstcompat.sgml:
8860         * docs/gst/tmpl/gstconfig.sgml:
8861         * docs/gst/tmpl/gstelement.sgml:
8862         * docs/gst/tmpl/gstelementdetails.sgml:
8863         * docs/gst/tmpl/gstelementfactory.sgml:
8864         * docs/gst/tmpl/gstenumtypes.sgml:
8865         * docs/gst/tmpl/gsterror.sgml:
8866         * docs/gst/tmpl/gstevent.sgml:
8867         * docs/gst/tmpl/gstfakesink.sgml:
8868         * docs/gst/tmpl/gstfakesrc.sgml:
8869         * docs/gst/tmpl/gstfilesink.sgml:
8870         * docs/gst/tmpl/gstfilesrc.sgml:
8871         * docs/gst/tmpl/gstfilter.sgml:
8872         * docs/gst/tmpl/gstformat.sgml:
8873         * docs/gst/tmpl/gstghostpad.sgml:
8874         * docs/gst/tmpl/gstimplementsinterface.sgml:
8875         * docs/gst/tmpl/gstindex.sgml:
8876         * docs/gst/tmpl/gstindexfactory.sgml:
8877         * docs/gst/tmpl/gstinfo.sgml:
8878         * docs/gst/tmpl/gstiterator.sgml:
8879         * docs/gst/tmpl/gstmacros.sgml:
8880         * docs/gst/tmpl/gstmemchunk.sgml:
8881         * docs/gst/tmpl/gstminiobject.sgml:
8882         * docs/gst/tmpl/gstobject.sgml:
8883         * docs/gst/tmpl/gstpad.sgml:
8884         * docs/gst/tmpl/gstpadtemplate.sgml:
8885         * docs/gst/tmpl/gstparse.sgml:
8886         * docs/gst/tmpl/gstpipeline.sgml:
8887         * docs/gst/tmpl/gstplugin.sgml:
8888         * docs/gst/tmpl/gstpluginfeature.sgml:
8889         * docs/gst/tmpl/gstquery.sgml:
8890         * docs/gst/tmpl/gstqueue.sgml:
8891         * docs/gst/tmpl/gstregistry.sgml:
8892         * docs/gst/tmpl/gstregistrypool.sgml:
8893         * docs/gst/tmpl/gstscheduler.sgml:
8894         * docs/gst/tmpl/gstschedulerfactory.sgml:
8895         * docs/gst/tmpl/gststructure.sgml:
8896         * docs/gst/tmpl/gstsystemclock.sgml:
8897         * docs/gst/tmpl/gsttaglist.sgml:
8898         * docs/gst/tmpl/gsttagsetter.sgml:
8899         * docs/gst/tmpl/gsttrace.sgml:
8900         * docs/gst/tmpl/gsttrashstack.sgml:
8901         * docs/gst/tmpl/gsttypefind.sgml:
8902         * docs/gst/tmpl/gsttypefindfactory.sgml:
8903         * docs/gst/tmpl/gsttypes.sgml:
8904         * docs/gst/tmpl/gsturihandler.sgml:
8905         * docs/gst/tmpl/gsturitype.sgml:
8906         * docs/gst/tmpl/gstutils.sgml:
8907         * docs/gst/tmpl/gstvalue.sgml:
8908         * docs/gst/tmpl/gstversion.sgml:
8909         * docs/gst/tmpl/gstxml.sgml:
8910         * docs/libs/tmpl/gstcontrol.sgml:
8911         * docs/libs/tmpl/gstdataprotocol.sgml:
8912         * docs/libs/tmpl/gstdparam.sgml:
8913         * docs/libs/tmpl/gstdplinint.sgml:
8914         * docs/libs/tmpl/gstdpman.sgml:
8915         * docs/libs/tmpl/gstdpsmooth.sgml:
8916         * docs/libs/tmpl/gstgetbits.sgml:
8917         * docs/libs/tmpl/gstunitconvert.sgml:
8918         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8919         (gst_push_src_base_init), (gst_push_src_class_init),
8920         (gst_push_src_init), (gst_push_src_create):
8921         * gst/base/gstpushsrc.h:
8922         * gst/elements/gstelements.c:
8923         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8924         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8925         (gst_fake_sink_init), (gst_fake_sink_set_property),
8926         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8927         (gst_fake_sink_event), (gst_fake_sink_preroll),
8928         (gst_fake_sink_render), (gst_fake_sink_change_state):
8929         * gst/elements/gstfakesink.h:
8930         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8931         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8932         (gst_fake_src_base_init), (gst_fake_src_class_init),
8933         (gst_fake_src_init), (gst_fake_src_event_handler),
8934         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8935         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8936         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8937         (gst_fake_src_create_buffer), (gst_fake_src_create),
8938         (gst_fake_src_start), (gst_fake_src_stop):
8939         * gst/elements/gstfakesrc.h:
8940         * gst/elements/gstfilesink.c: (_do_init),
8941         (gst_file_sink_base_init), (gst_file_sink_class_init),
8942         (gst_file_sink_init), (gst_file_sink_dispose),
8943         (gst_file_sink_set_location), (gst_file_sink_set_property),
8944         (gst_file_sink_get_property), (gst_file_sink_open_file),
8945         (gst_file_sink_close_file), (gst_file_sink_query),
8946         (gst_file_sink_event), (gst_file_sink_render),
8947         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8948         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8949         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8950         * gst/elements/gstfilesink.h:
8951         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8952         (gst_file_src_class_init), (gst_file_src_init),
8953         (gst_file_src_finalize), (gst_file_src_set_location),
8954         (gst_file_src_set_property), (gst_file_src_get_property),
8955         (gst_file_src_map_region), (gst_file_src_map_small_region),
8956         (gst_file_src_create_mmap), (gst_file_src_create_read),
8957         (gst_file_src_create), (gst_file_src_is_seekable),
8958         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8959         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8960         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8961         (gst_file_src_uri_handler_init):
8962         * gst/elements/gstfilesrc.h:
8963           more autistic cleanliness in functions/names/defines
8964
8965 2005-07-13  Andy Wingo  <wingo@pobox.com>
8966
8967         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8968         source couldn't negotiate.
8969
8970         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8971         connections again.
8972
8973         * gst/gstutils.h:
8974         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8975         function. I am channeling Hades. Put your boots on suckers!!!
8976
8977 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8978
8979         * testsuite/caps/Makefile.am:
8980         * testsuite/caps/value_compare.c:
8981         * testsuite/caps/value_intersect.c:
8982         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8983           move two testsuite apps over to the check dir
8984
8985 2005-07-12  Wim Taymans  <wim@fluendo.com>
8986
8987         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8988         Added more debug info in the negotiate process.
8989
8990         * gst/gstmessage.h:
8991         Prepare for segment playback.
8992
8993         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8994         Better debugging.
8995
8996         * gst/gstutils.c:
8997         Some more docs.
8998
8999         * tools/gst-launch.c: (main):
9000         NULL pipeline on errors.
9001
9002 2005-07-12  Andy Wingo  <wingo@pobox.com>
9003
9004         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9005         not it comes from a malloc region. Make sure our copy gets freed.
9006
9007 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9008
9009         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9010         * check/gst/gstmessage.c: (GST_START_TEST):
9011         * check/gst/gststructure.c: (GST_START_TEST),
9012         (gst_structure_suite), (main):
9013           more testing
9014         * gst/gstelement.c: (gst_element_message_full):
9015           clean up GError and debug string now that they get copied
9016         * gst/gstmessage.c: (gst_message_new_error),
9017         (gst_message_new_warning), (gst_message_parse_error),
9018         (gst_message_parse_warning):
9019           use GST_TYPE_G_ERROR for structure_new, and take copies of
9020           arguments, so that we don't mess up refcounting
9021
9022 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9023
9024         * check/Makefile.am:
9025           add per-test valgrind targets
9026         * check/gst-libs/gdp.c: (GST_START_TEST),
9027         (gst_data_protocol_suite), (main):
9028           clean up
9029
9030 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9031
9032         * check/Makefile.am:
9033           instate more valgrindable tests
9034         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9035         (GST_START_TEST), (fakesrc_suite):
9036         * check/gst/gstpad.c: (GST_START_TEST):
9037         * check/gst/gststructure.c: (GST_START_TEST):
9038           fix test leaks
9039         * docs/gst/tmpl/gstminiobject.sgml:
9040         * gst/gstpad.c: (gst_pad_finalize):
9041           fix the static mutex leak
9042
9043 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9044
9045         * check/Makefile.am:
9046           add two more tests for valgrinding
9047         * check/gst/gstvalue.c: (GST_START_TEST):
9048           test refcount of deserialized buffer, found a leak
9049         * docs/gst/gstreamer-docs.sgml:
9050         * docs/gst/gstreamer-sections.txt:
9051         * docs/gst/gstreamer.types:
9052         * docs/gst/tmpl/gstminiobject.sgml:
9053           add miniobject to docs
9054         * gst/gstminiobject.c:
9055           add some docs
9056         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9057         (gst_string_unwrap):
9058           fix a hard-to-find invalid write for one of the tests
9059           fix a leak for deserialized buffers
9060
9061 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9062
9063         * docs/pwg/advanced-events.xml:
9064         * docs/pwg/advanced-request.xml:
9065         * docs/pwg/advanced-scheduling.xml:
9066         * docs/pwg/appendix-porting.xml:
9067         * docs/pwg/building-boiler.xml:
9068         * docs/pwg/intro-preface.xml:
9069         * docs/pwg/other-ntoone.xml:
9070           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9071           of example code and explanation for pad activation, loop() and
9072           getrange() functions and a bit more. Remove old comments pointing
9073           to loop-functions.
9074         * examples/pwg/Makefile.am:
9075           Add loop/getrange examples.
9076
9077 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9078
9079         * configure.ac:
9080           check for valgrind binary + some fixes
9081         * check/gst.supp:
9082           valgrind suppressions for the tests
9083         * check/Makefile.am:
9084           add a valgrind: target that valgrinds the unit tests
9085         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9086         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9087         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9088         * check/gst/gstghostpad.c:
9089           added some cleanup
9090         * check/gst/gstdata.c:
9091           removed
9092         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9093         (thread_unref), (gst_mini_object_suite), (main):
9094           added
9095         * gst/gst.c: (gst_deinit):
9096         * gst/gst.h:
9097           add a method to clean up.
9098         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9099         (gst_system_clock_obtain):
9100           allow for disposing the system clock.
9101         * tools/gst-launch.c: (main):
9102           deinit
9103
9104 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9105
9106         * docs/gst/tmpl/gstbasesrc.sgml:
9107         * docs/gst/tmpl/gstfakesrc.sgml:
9108         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9109         (gst_base_src_init), (gst_base_src_set_property),
9110         (gst_base_src_get_property), (gst_base_src_get_range),
9111         (gst_base_src_start):
9112         * gst/base/gstbasesrc.h:
9113           add num-buffers property
9114         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9115         (gst_fakesrc_init), (gst_fakesrc_set_property),
9116         (gst_fakesrc_get_property), (gst_fakesrc_create),
9117         (gst_fakesrc_start):
9118           remove num-buffers property
9119
9120 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9121
9122         * docs/gst/gstreamer-sections.txt:
9123         * docs/gst/tmpl/gstbasesink.sgml:
9124         * docs/gst/tmpl/gstbasesrc.sgml:
9125         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9126         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9127         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9128         (gst_base_sink_set_property), (gst_base_sink_get_property),
9129         (gst_base_sink_handle_object), (gst_base_sink_event),
9130         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9131         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9132         (gst_base_sink_loop), (gst_base_sink_deactivate),
9133         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9134         (gst_base_sink_change_state):
9135         * gst/base/gstbasesink.h:
9136         * gst/base/gstbasesrc.h:
9137         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9138         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9139         (gst_filesink_init):
9140           more macro splitting
9141
9142 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9143
9144         * gst/gstelement.c: (gst_element_get_bus):
9145           add debug
9146         * tools/gst-launch.c: (check_intr), (event_loop):
9147           fix bus leaks
9148
9149 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9150
9151         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9152           fix a caps leak
9153
9154 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9155
9156         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9157         (gst_base_src_finalize):
9158           add finalize method and clean up properly
9159         * gst/gstpipeline.c: (gst_pipeline_dispose):
9160           add debug
9161
9162 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9163
9164         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9165         (gst_bin_suite):
9166           add more things to check
9167         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9168         * gst/gstelement.c:
9169           more debug
9170
9171 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9172
9173         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9174         (GST_START_TEST), (fakesrc_suite):
9175         * check/gst-libs/gdp.c: (GST_START_TEST):
9176         * check/gst/gst.c: (GST_START_TEST):
9177         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9178         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9179         * check/gst/gstbus.c: (GST_START_TEST):
9180         * check/gst/gstcaps.c: (GST_START_TEST):
9181         * check/gst/gstdata.c: (GST_START_TEST):
9182         * check/gst/gstelement.c: (GST_START_TEST):
9183         * check/gst/gstghostpad.c: (GST_START_TEST):
9184         * check/gst/gstiterator.c: (GST_START_TEST):
9185         * check/gst/gstmessage.c: (GST_START_TEST):
9186         * check/gst/gstobject.c: (GST_START_TEST):
9187         * check/gst/gstpad.c: (GST_START_TEST):
9188         * check/gst/gststructure.c: (GST_START_TEST):
9189         * check/gst/gstsystemclock.c: (GST_START_TEST),
9190         (gst_systemclock_suite):
9191         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9192         * check/gst/gstvalue.c: (GST_START_TEST):
9193         * check/pipelines/cleanup.c: (GST_START_TEST):
9194         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9195         * check/states/sinks.c: (GST_START_TEST):
9196         * check/gstcheck.c: (gst_check_init):
9197         * check/gstcheck.h:
9198           add debugging category
9199           use GST_START_TEST now, so we add a debug line
9200
9201 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9202
9203         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9204           add test for state change message on a bin
9205         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9206           add another test
9207         * gst/gstbin.c: (gst_bin_init):
9208         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9209         * gst/gstelement.c: (gst_element_post_message),
9210         (gst_element_set_state):
9211         * gst/gstelementfactory.c: (gst_element_factory_create):
9212         * gst/gstmessage.c: (gst_message_new):
9213         * gst/gstscheduler.c:
9214           various debugging additions and cleanups
9215
9216 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9217
9218         * check/Makefile.am:
9219         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9220         (main):
9221           adding tests for elements
9222         * gst/gstelement.c: (gst_element_dispose):
9223
9224 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9225
9226         * gst/registries/gstlibxmlregistry.c: (load_feature):
9227           plug more leaks.  A simple gst_init() now is leakfree, yay.
9228
9229 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9230
9231         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9232         (gst_xml_registry_load):
9233           plug another memleak
9234
9235 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9236
9237         * configure.ac:
9238           use GST_SET_ERROR_CFLAGS
9239         * docs/faq/cvs.xml:
9240           change to ERROR_CFLAGS
9241
9242 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9243
9244         * configure.ac:
9245           make GST_ERROR_CFLAGS overridable and re-enable Werror
9246         * docs/faq/cvs.xml:
9247           add a note about error CFLAGS
9248         * docs/gst/tmpl/gstfakesrc.sgml:
9249         * gst/elements/gstfakesrc.c:
9250           comment out some unused code
9251         * gst/gst.c: (split_and_iterate):
9252         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9253         (load_feature):
9254           plug some memleaks
9255
9256 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9257
9258         * common/Makefile.am:
9259         * common/gtk-doc.mak:
9260         * docs/gst/Makefile.am:
9261           factor out gtk-doc.mak
9262
9263 2005-07-07  Wim Taymans  <wim@fluendo.com>
9264
9265         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9266         (gst_thread_scheduler_dispose):
9267         Unlock the STREAM_LOCK completely.
9268
9269 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9270
9271         * check/Makefile.am:
9272         * check/elements/.cvsignore:
9273         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9274         (START_TEST), (fakesrc_suite), (main):
9275         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9276         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9277         (gst_fakesrc_create), (gst_fakesrc_start):
9278         * gst/elements/gstfakesrc.h:
9279           adding a first element test
9280
9281 2005-07-07  Andy Wingo  <wingo@pobox.com>
9282
9283         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9284         debug message.
9285
9286 2005-07-07  Wim Taymans  <wim@fluendo.com>
9287
9288         * gst/gstquery.c:
9289         * gst/gstquery.h:
9290         Remove old types
9291
9292 2005-07-07  Wim Taymans  <wim@fluendo.com>
9293
9294         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9295         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9296         Allow subclasses to implement their own negotiation.
9297
9298 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9299
9300         * docs/design/part-gstbin.txt:
9301         * docs/design/part-gstpipeline.txt:
9302           Update design notes to reflect the movement of
9303           responsibility for bus handling from GstPipeline to
9304           GstBin
9305
9306 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9307
9308         * configure.ac:
9309           Remove unnecessary queue2/3/4 examples.
9310
9311 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9312
9313         * examples/Makefile.am:
9314         * examples/helloworld/helloworld.c: (event_loop), (main):
9315         * examples/queue/queue.c: (event_loop), (main):
9316         * examples/queue2/queue2.c: (main):
9317           Update a couple of the examples to work again.
9318
9319         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9320         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9321          Spelling corrections and extra debug.
9322         
9323         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9324         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9325         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9326         * gst/gstbin.h:
9327         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9328         (gst_pipeline_change_state):
9329         * gst/gstpipeline.h:
9330           Move the bus handler for children to the GstBin, and create a
9331           separate bus for receiving messages from children to the one the
9332           bus sends 'upwards' on.
9333
9334 2005-07-06  Wim Taymans  <wim@fluendo.com>
9335
9336         * gst/base/README:
9337         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9338         (gst_base_sink_handle_object), (gst_base_sink_loop),
9339         (gst_base_sink_change_state):
9340         * gst/base/gstbasesink.h:
9341         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9342         (gst_base_src_init), (gst_base_src_setcaps),
9343         (gst_base_src_getcaps), (gst_base_src_loop),
9344         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9345         (gst_base_src_start), (gst_base_src_change_state):
9346         * gst/base/gstbasesrc.h:
9347         Make basesrc negotiate.
9348         Handle the case where preroll fails in basesink.
9349         Update README.
9350
9351 2005-07-06  Wim Taymans  <wim@fluendo.com>
9352
9353         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9354         Implement the fixate function.
9355         Clean up acceptcaps.
9356
9357 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9358
9359         * docs/pwg/building-filterfactory.xml:
9360         * docs/pwg/pwg.xml:
9361           Remove never-written filter-factory chapter; I'll add the various
9362           base classes to part 4 ("other element types") later on.
9363
9364 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9365
9366         * docs/pwg/advanced-negotiation.xml:
9367         * docs/pwg/building-boiler.xml:
9368         * docs/pwg/building-pads.xml:
9369         * docs/pwg/pwg.xml:
9370         * examples/pwg/Makefile.am:
9371           Add a chapter on caps negotiation, simplify the original code
9372           samples a bit w.r.t. caps negotiation, add link to the advanced
9373           section. Add a bunch of examples showing different use cases of
9374           different types of caps negotiation. Upstream renegotiation isn't
9375           fully documented yet since nobody knows how that works.
9376
9377 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9378
9379         * check/gst/gstpad.c:
9380         * check/gstcheck.c:
9381         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9382           if pad has no parent, return NULL as list of internal links
9383
9384 2005-07-05  Andy Wingo  <wingo@pobox.com>
9385
9386         * gst/elements/gstfilesrc.c:
9387         * gst/elements/gstfakesrc.c: 
9388         * gst/base/gstpushsrc.c:
9389         * gst/base/gstbasesrc.h: 
9390         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9391         
9392 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9393
9394         * Makefile.am:
9395           better report generation target (lcov needs a patch)
9396
9397 2005-07-05  Andy Wingo  <wingo@pobox.com>
9398
9399         * gst/elements, testsuite: Null if we got it...
9400
9401 2005-07-05  Wim Taymans  <wim@fluendo.com>
9402
9403         * configure.ac:
9404         * libs/gst/dataprotocol/Makefile.am:
9405         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9406         * libs/gst/dataprotocol/dataprotocol.h:
9407         * pkgconfig/Makefile.am:
9408         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9409         * pkgconfig/gstreamer-dataprotocol.pc.in:
9410         Ported dataprotol to 0.9. 
9411         Added pkgconfig files.
9412
9413 2005-07-05  Andy Wingo  <wingo@pobox.com>
9414
9415         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9416         Default to returning TRUE for the case when tranform_caps returns
9417         a fixed caps, like for identity or volume.
9418
9419         * check/gst/gstbus.c (pound_bus_with_messages): 
9420         * check/gst/gstmessage.c (START_TEST): 
9421         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9422         message API change.
9423
9424         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9425         logic weaks here: always run transform_caps, trying passthrough
9426         operation only if the original caps intersects with the transform.
9427
9428         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9429         source and sink caps.
9430
9431         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9432         Intersect the peer caps with the pad template before going into
9433         transform_caps.
9434         (gst_base_transform_transform_caps): More debugging.
9435
9436         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9437         src argument.
9438
9439 2005-07-04  Edward Hervey  <edward@fluendo.com>
9440
9441         * gst/gstutils.c:
9442         * gst/gstutils.h:
9443         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9444         in bindings.
9445
9446 2005-07-04  Andy Wingo  <wingo@pobox.com>
9447
9448         * check/gst/gstpad.c: Only set explicit caps on pads.
9449
9450 2005-07-01  Andy Wingo  <wingo@pobox.com>
9451
9452         * tests/network-clock.scm: Commentary update.
9453
9454         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9455         Didn't really make sense, not implementable with basetransform,
9456         etc.
9457         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9458         attempt at implementing the sync property, needs an unlock method.
9459
9460         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9461         New func, by default returns the same caps (the identity
9462         transformation).
9463         (gst_base_transform_getcaps): Uses transform_caps to return
9464         something sensible.
9465         (gst_base_transform_setcaps): Complicated logic to get caps on
9466         both pads, even if they are different, and to call set_caps once
9467         for every time both pads get their caps set.
9468         (gst_base_transform_handle_buffer): Give the ref to the transform
9469         function. Allows in-place modification of the buffer.
9470
9471         * gst/base/gstbasetransform.h (transform_caps): New class method.
9472         Given caps on one side, what can I do on the other.
9473         (set_caps): Take two caps, one for each side of the element.
9474
9475         * gst/gstpad.h:
9476         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9477         caps in place. This is safe because we can check the mutability of
9478         the caps, and a good idea because fixate functions are just called
9479         as a matter of last resort. (Not actually implemented.)
9480         (gst_pad_set_caps): If the caps we're setting is actually the same
9481         as the existing pad caps, just update the pointer without calling
9482         setcaps. Assert that caps is either NULL or fixed, as per the
9483         docs.
9484
9485         * gst/gstghostpad.c: Update for fixate changes.
9486
9487 2005-07-02  Andy Wingo  <wingo@pobox.com>
9488
9489         * gst/gstcaps.c:
9490         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9491         two refcounts makes it immutable, which is enough. Doc more.
9492
9493 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9494
9495         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9496           Put the mini_object into GValue as a mini_object,
9497           not a gpointer, since that's how we declared
9498           the signal.
9499
9500 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9501
9502         * examples/pwg/Makefile.am:
9503           Fix buildbot again.
9504
9505 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9506
9507         * docs/pwg/building-testapp.xml:
9508           Add extra check.
9509         * examples/pwg/Makefile.am:
9510           Fix buildbot.
9511
9512 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9513
9514         * configure.ac:
9515         * examples/Makefile.am:
9516         * examples/pwg/Makefile.am:
9517         * examples/pwg/extract.pl:
9518           Enable building the PWG examples.
9519         * docs/pwg/advanced-interfaces.xml:
9520           Add URI interface stub.
9521         * docs/pwg/advanced-types.xml:
9522         * docs/pwg/other-autoplugger.xml:
9523         * docs/pwg/appendix-porting.xml:
9524         * docs/pwg/pwg.xml:
9525           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9526         * docs/pwg/building-boiler.xml:
9527         * docs/pwg/building-chainfn.xml:
9528         * docs/pwg/building-pads.xml:
9529         * docs/pwg/building-props.xml:
9530         * docs/pwg/building-state.xml:
9531         * docs/pwg/building-testapp.xml:
9532           Update the building-*.xml parts for 0.9 changes. All examples
9533           code blocks compile in examples/pwg/*.
9534
9535 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9536
9537         * docs/manual/advanced-autoplugging.xml:
9538         * docs/manual/appendix-checklist.xml:
9539         * docs/manual/appendix-integration.xml:
9540         * docs/manual/highlevel-components.xml:
9541           Fix playbin/decodebin examples, update docs a bit, mention bus
9542           instead of signals in various places, mention kmplayer and
9543           kaffeine since they have a working GStreamer backend in the KDE
9544           section.
9545
9546 2005-06-30  Wim Taymans  <wim@fluendo.com>
9547
9548         * CHANGES-0.9:
9549         * docs/design/draft-ghostpads.txt:
9550         * docs/design/draft-push-pull.txt:
9551         * docs/design/draft-query.txt:
9552         * docs/design/part-TODO.txt:
9553         * docs/design/part-query.txt:
9554         Added CHANGES-0.9 doc, updated status of other docs.
9555         
9556         * gst/gstquery.h:
9557         Remove "hmm" macro
9558
9559 2005-06-30  Wim Taymans  <wim@fluendo.com>
9560
9561         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9562         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9563         (gst_base_sink_change_state):
9564         * gst/base/gstbasesink.h:
9565         Some tweaks, only EOS and a buffer complete a preroll.
9566
9567 2005-06-30  Andy Wingo  <wingo@pobox.com>
9568
9569         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9570         activate_push down to the internal pad as well.
9571
9572 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9573
9574         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9575
9576         * gst/gsttaginterface.c:
9577           Some documentation fixes (#307394 and #307397).
9578
9579 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9580
9581         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9582
9583         * gst/gstvalue.c: (gst_value_intersect_list):
9584           Fix memleak (#309125).
9585
9586 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9587
9588         * docs/manual/advanced-dataaccess.xml:
9589           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9590         * docs/manual/basics-pads.xml:
9591           Add reference for filtered caps to above chapter.
9592
9593 2005-06-30  Wim Taymans  <wim@fluendo.com>
9594
9595         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9596         (gst_bin_change_state):
9597         Probes are gone.
9598         Lame attempt at making the state change function a bit
9599         more readable.
9600
9601 2005-06-30  Wim Taymans  <wim@fluendo.com>
9602
9603         * docs/design/part-clocks.txt:
9604         * docs/design/part-element-sink.txt:
9605         * docs/design/part-events.txt:
9606         * docs/design/part-preroll.txt:
9607         * docs/design/part-states.txt:
9608         Some more tweeks and additions to the docs.
9609
9610 2005-06-30  Wim Taymans  <wim@fluendo.com>
9611
9612         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9613         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9614         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9615         (gst_pad_check_pull_range), (gst_pad_get_range),
9616         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9617         * gst/gstpad.h:
9618         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9619         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9620         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9621         (gst_pad_remove_buffer_probe):
9622         Removed atomic operations, use existing LOCK.
9623         Move exception handling out of main code path.
9624
9625 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9626
9627         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9628         (silly_return_true_function), (gst_pad_class_init),
9629         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9630         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9631         (gst_pad_send_event):
9632           Fix accumulator, add default value by using _emitv() instead
9633           of _emit() for signal emission.
9634
9635 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9636
9637         * docs/manual/advanced-dataaccess.xml:
9638         * examples/manual/Makefile.am:
9639           Add probe example.
9640         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9641           Make work (??).
9642
9643 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9644
9645         * gst/elements/gstfilesink.c: (gst_filesink_render):
9646           Simplify code so that we don't have to handle short
9647           writes and return GST_FLOW_ERROR if an error occured.
9648
9649 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9650
9651         * docs/gst/gstreamer-docs.sgml:
9652           Remove probes more.
9653
9654 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9655
9656         * docs/gst/gstreamer-sections.txt:
9657         * docs/gst/tmpl/gstpad.sgml:
9658         * docs/gst/tmpl/gstprobe.sgml:
9659         * gst/Makefile.am:
9660         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9661         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9662         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9663         (gst_pad_push_event), (gst_pad_send_event):
9664         * gst/gstpad.h:
9665         * gst/gstutils.c: (gst_pad_add_data_probe),
9666         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9667         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9668         (gst_pad_remove_buffer_probe):
9669         * gst/gstutils.h:
9670           Remove old probes, add new g-signal-based probes and some utility
9671           functions.
9672
9673 2005-06-29  Edward Hervey  <edward@fluendo.com>
9674
9675         * gst/gstelementfactory.c:
9676         * gst/gstutils.h:
9677         * gst/gstutils.c:
9678         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9679         the definition to the header file.
9680
9681 2005-06-29  Andy Wingo  <wingo@pobox.com>
9682
9683         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9684         plugins from the source directory.
9685
9686 2005-06-29  Wim Taymans  <wim@fluendo.com>
9687
9688         * docs/gst/tmpl/gstbuffer.sgml:
9689         * docs/gst/tmpl/gstclock.sgml:
9690         Some fixings for blantently wrong text.
9691
9692 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9693
9694         * check/Makefile.am:
9695         * gst/gst.c: (add_path_func), (init_pre):
9696         * gst/gstregistry.c: (gst_registry_add_path):
9697           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9698           only scan the GST_PLUGIN_PATH locations, and not add
9699           system locations
9700
9701 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9702
9703         * docs/gst/gstreamer-sections.txt:
9704         * docs/gst/tmpl/gstbasesrc.sgml:
9705         * gst/gstelement.c:
9706         * gst/gstelement.h:
9707         * gst/gstevent.c:
9708         * gst/gstutils.c:
9709           doc fixes
9710
9711 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9712
9713         * docs/manual/advanced-autoplugging.xml:
9714           Fix autoplugging example.
9715
9716 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9717
9718         * docs/manual/advanced-autoplugging.xml:
9719         * docs/manual/mime-world.fig:
9720           Try to get autoplugging working, fix type detection. Fix text
9721           in hello-world image.
9722
9723 2005-06-29  Wim Taymans  <wim@fluendo.com>
9724
9725         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9726         (gst_base_sink_change_state):
9727         Small debug line.
9728
9729         * gst/gstclock.h:
9730         map SIGNAL and BROADCAST to the right function.
9731
9732         * gst/gstobject.h:
9733         Remove redundant braces.
9734
9735         * gst/gstpad.c: (gst_pad_set_caps):
9736         Don't call setcaps function when reseting caps to NULL.
9737
9738         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9739         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9740         (gst_system_clock_id_unschedule):
9741         Use BROADCAST as this is what we do.
9742
9743 2005-06-29  Wim Taymans  <wim@fluendo.com>
9744
9745         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9746         We are actually prerolling before commiting the state
9747         change. 
9748
9749 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9750
9751         * docs/manual/advanced-clocks.xml:
9752         * docs/manual/advanced-interfaces.xml:
9753         * docs/manual/advanced-metadata.xml:
9754         * docs/manual/advanced-position.xml:
9755         * docs/manual/advanced-schedulers.xml:
9756         * docs/manual/advanced-threads.xml:
9757         * docs/manual/appendix-porting.xml:
9758         * docs/manual/basics-bins.xml:
9759         * docs/manual/basics-bus.xml:
9760         * docs/manual/basics-elements.xml:
9761         * docs/manual/basics-helloworld.xml:
9762         * docs/manual/basics-pads.xml:
9763         * docs/manual/highlevel-components.xml:
9764         * docs/manual/manual.xml:
9765         * docs/manual/thread.fig:
9766           Update (until threads/scheduling) Application Development Manual;
9767           remove GstThread, add GstBus, add simple porting checklist, add
9768           documentation for tag writing, clocks, make all examples until this
9769           part compile and run.
9770         * examples/manual/Makefile.am:
9771           Update from changes to Application Development Manual; add bus
9772           example, remove thread example.
9773
9774 2005-06-28  Wim Taymans  <wim@fluendo.com>
9775
9776         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9777         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9778         (gst_bus_source_dispatch):
9779         Add debugging messages.
9780         Make internal methods static.
9781         Handle the case where the bus is flushed in the handler.
9782         
9783         * gst/gstelement.c: (gst_element_get_bus):
9784         Fix refcount in _get_bus();
9785
9786         * gst/gstpipeline.c: (gst_pipeline_change_state),
9787         (gst_pipeline_get_clock_func):
9788         Clock refcounting fixes.
9789         Handle the case where preroll timed out more gracefully.
9790         
9791         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9792         Clean up the internal thread in dispose. This is needed
9793         for subclasses that actually get disposed.
9794         
9795         * gst/schedulers/threadscheduler.c:
9796         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9797         (gst_thread_scheduler_dispose):
9798         Free thread pool in dispose.
9799
9800 2005-06-28  Andy Wingo  <wingo@pobox.com>
9801
9802         * tests/network-clock-utils.scm (debug, print-event): New utils.
9803
9804         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9805         (*packet-loss*): Unified loss probability.
9806         (network-time): Report out-of-band events.
9807
9808         * tests/plot-data: Add support for out-of-band events. Hack it
9809         into this script instead of passing it down the pipe; should fix
9810         this later.
9811
9812 2005-06-28  Wim Taymans  <wim@fluendo.com>
9813
9814         * docs/gst/gstreamer.types:
9815         * docs/gst/tmpl/gstbasesrc.sgml:
9816         * docs/gst/tmpl/gstpad.sgml:
9817         Docs fixes.
9818
9819 2005-06-28  Wim Taymans  <wim@fluendo.com>
9820
9821         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9822         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9823         (gst_proxy_pad_do_fixatecaps):
9824         Correctly proxy the check_pull_range function.
9825
9826 2005-06-28  Andy Wingo  <wingo@pobox.com>
9827
9828         * tests/network-clock.scm: Removed need for slib.
9829         
9830 2005-06-28  Wim Taymans  <wim@fluendo.com>
9831
9832         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9833         (gst_basesink_preroll_queue_flush):
9834         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9835         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9836         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9837         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9838         (gst_proxy_pad_set_property):
9839         * gst/gstpad.c:
9840         * gst/gstpad.h:
9841         * gst/gstqueue.c: (gst_queue_init):
9842         The deprecated pad loop function is removed now.
9843
9844 2005-06-28  Andy Wingo  <wingo@pobox.com>
9845
9846         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9847         New parameters, simulate network packet loss.
9848
9849         * tests/network-clock-utils.scm: Initialize the RNG.
9850
9851 2005-06-28  Wim Taymans  <wim@fluendo.com>
9852
9853         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9854         (gst_basesink_event), (gst_basesink_deactivate):
9855         Flushing the preroll queue always needs to unlock the waiters.
9856
9857 2005-06-28  Edward Hervey  <edward@fluendo.com>
9858
9859         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9860         Wheen a seek was successful on a pipeline, set the stream_time to the
9861         seek offset in order to have a synchronized stream_time.
9862
9863 2005-06-28  Wim Taymans  <wim@fluendo.com>
9864
9865         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9866         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9867         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9868         (gst_proxy_pad_do_fixatecaps):
9869         Call wrapper function instead of just calling the function
9870         pointers. This takes care of any locking and whatmore.
9871
9872 2005-06-28  Wim Taymans  <wim@fluendo.com>
9873
9874         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9875         (gst_pad_pull_range):
9876         * gst/gstpad.h:
9877         CONNECTED -> LINKED.
9878
9879 2005-06-28  Andy Wingo  <wingo@pobox.com>
9880
9881         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9882         source-munging commit!!!
9883
9884         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9885         (gst_object_sink): Take gpointer arguments, not GstObject --
9886         avoids casts. Like GLib.
9887
9888         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9889         activate.
9890
9891 2005-06-27  Andy Wingo  <wingo@pobox.com>
9892
9893         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9894         remaining buffer.
9895
9896         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9897         returns a sorted copy of the trace list.
9898         (gst_alloc_trace_print_live): New API, only prints traces with
9899         live objects. Sort the list.
9900         (gst_alloc_trace_print_all): Sort the list.
9901         (gst_alloc_trace_print): Align columns.
9902
9903         * gst/elements/gstttypefindelement.c:
9904         * gst/elements/gsttee.c:
9905         * gst/base/gstbasesrc.c:
9906         * gst/base/gstbasesink.c:
9907         * gst/base/gstbasetransform.c:
9908         * gst/gstqueue.c: Adapt for pad activation changes.
9909
9910         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9911         sched.
9912         (gst_pipeline_dispose): Drop ref on sched.
9913
9914         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9915         (gst_pad_activate_default): Push mode by default.
9916         (pre_activate_switch, post_activate_switch): New stubs, things to
9917         do before and after switching activation modes on pads.
9918         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9919         the pad's activate function to choose which mode to activate.
9920         Shortcut on deactivation and call the right function directly.
9921         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9922         mode.
9923         (gst_pad_activate_push): New API, same for push mode.
9924         (gst_pad_set_activate_function) 
9925         (gst_pad_set_activatepull_function) 
9926         (gst_pad_set_activatepush_function): Setters for new API.
9927
9928         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9929         Trace all miniobjects.
9930         (gst_mini_object_make_writable): Unref the arg if we copy, like
9931         gst_caps_make_writable.
9932
9933         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9934
9935         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9936         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9937         Adapt for new pad API.
9938
9939         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9940
9941         * gst/gstelement.h:
9942         * gst/gstelement.c (gst_element_iterate_src_pads) 
9943         (gst_element_iterate_sink_pads): New API functions.
9944         
9945         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9946         should fold into gstiterator.c in some form.
9947         (gst_element_pads_activate): Simplified via use of fold and
9948         delegation of decisions to gstpad->activate.
9949
9950         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9951         help in debugging.
9952
9953         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9954         class once in init, like gstmessage. Didn't run into this issue
9955         but it seems correct. Don't initialize a trace, gstminiobject does
9956         that.
9957
9958         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9959         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9960         to the bus.
9961         (assert_live_count): New util function, uses alloc traces to check
9962         cleanup.
9963
9964         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9965         To be modified when unlink drops the internal pad.
9966
9967 2005-06-27  Wim Taymans  <wim@fluendo.com>
9968
9969         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9970         (gst_bin_change_state):
9971         Cleanup the get_state() function a little, make sure it
9972         iterates the same set of elements.
9973         Added stub iterate_state_order().
9974
9975 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9976
9977         * docs/gst/gstreamer-docs.sgml:
9978         * docs/gst/gstreamer-sections.txt:
9979         * docs/gst/gstreamer.types:
9980         * docs/gst/tmpl/gstbasesink.sgml:
9981         * docs/gst/tmpl/gstbasesrc.sgml:
9982         * docs/gst/tmpl/gstbasetransform.sgml:
9983         * docs/gst/tmpl/gstelement.sgml:
9984         * docs/gst/tmpl/gstiterator.sgml:
9985         * gst/base/gstbasesrc.c:
9986         * gst/base/gstbasesrc.h:
9987         * gst/base/gstbasetransform.h:
9988         * gst/gstelement.c:
9989         * gst/gstiterator.h:
9990           adding basetransform and iterator docs
9991
9992 2005-06-27  Andy Wingo  <wingo@pobox.com>
9993
9994         * docs/design/part-activation.txt: Notes on how activation should
9995         work -- not quite implemented yet.
9996
9997 2005-06-25  Wim Taymans  <wim@fluendo.com>
9998
9999         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10000         At least get the chain function correct, needs more
10001         fixing.
10002
10003 2005-06-25  Wim Taymans  <wim@fluendo.com>
10004
10005         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10006         (gst_basesink_handle_object), (gst_basesink_event),
10007         (gst_basesink_do_sync), (gst_basesink_handle_event),
10008         (gst_basesink_change_state):
10009         * gst/gsttask.h:
10010         Right, two problems here: ghostpads don't take locks and
10011         glib _rec_mutex_lock_full() with depth==0 still locks.
10012         Catch illegal locking and g_warn them.
10013
10014 2005-06-25  Wim Taymans  <wim@fluendo.com>
10015
10016         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10017         Have to check for completion now...
10018
10019 2005-06-25  Wim Taymans  <wim@fluendo.com>
10020
10021         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10022         (gst_basesink_handle_object), (gst_basesink_event),
10023         (gst_basesink_do_sync), (gst_basesink_handle_event),
10024         (gst_basesink_change_state):
10025         * gst/gstpad.h:
10026         Unlock STREAM_LOCK whatever the recursion was.
10027
10028 2005-06-25  Wim Taymans  <wim@fluendo.com>
10029
10030         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10031         (gst_basesink_preroll_queue_empty),
10032         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10033         (gst_basesink_event), (gst_basesink_do_sync),
10034         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10035         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10036         (gst_basesink_change_state):
10037         Reworked the base sink, handle event and buffer serialisation
10038         correctly and removed possible deadlock.
10039         Handle EOS correctly.
10040
10041 2005-06-25  Wim Taymans  <wim@fluendo.com>
10042
10043         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10044         (gst_pipeline_change_state):
10045         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10046         Allow elements to post EOS in the state change function.
10047         Fix up -launch, make it exit the poll loop when the
10048         pipeline actually changed state.
10049         Fix up warning parsing in -launch.
10050
10051 2005-06-25  Wim Taymans  <wim@fluendo.com>
10052
10053         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10054         (gst_tee_sink_activate):
10055         Core takes STREAM_LOCK for us now.
10056
10057 2005-06-25  Wim Taymans  <wim@fluendo.com>
10058
10059         * gst/gstelement.c: (gst_element_get_state_func),
10060         (gst_element_set_state):
10061         * gst/gstelement.h:
10062         * gst/gstmessage.c: (gst_message_parse_error),
10063         (gst_message_parse_warning):
10064         Keep track of current target state while performing a state
10065         change so that subclasses can do something interesting.
10066         Fix parsing of warning/error messages when GError is NULL.
10067
10068 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10069
10070         * docs/gst/Makefile.am:
10071         * docs/gst/gstreamer-docs.sgml:
10072         * docs/gst/gstreamer-sections.txt:
10073         * docs/gst/gstreamer.types:
10074         * docs/gst/tmpl/gstbasesink.sgml:
10075         * docs/gst/tmpl/gstbasesrc.sgml:
10076         * docs/gst/tmpl/gstbin.sgml:
10077         * docs/gst/tmpl/gstcompat.sgml:
10078         * docs/gst/tmpl/gstfakesink.sgml:
10079         * docs/gst/tmpl/gstfakesrc.sgml:
10080         * docs/gst/tmpl/gstfilesink.sgml:
10081         * docs/gst/tmpl/gstfilesrc.sgml:
10082         * docs/gst/tmpl/gstindex.sgml:
10083         * docs/manual/appendix-quotes.xml:
10084         * gst/base/gstbasesrc.h:
10085         * gst/elements/gstfakesrc.h:
10086         * gst/gstmessage.h:
10087           start pulling in base classes and elements in our docs
10088
10089 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10090
10091         * docs/gst/Makefile.am:
10092         * docs/libs/Makefile.am:
10093           fixed make distcheck with gtk-doc 1.3
10094
10095 2005-06-23  Wim Taymans  <wim@fluendo.com>
10096
10097         * gst/gstelement.c: (gst_element_get_state_func),
10098         (gst_element_set_state), (gst_element_change_state):
10099         When the state did not change, also report NO_PREROLL
10100         when it matters.
10101
10102 2005-06-23  Wim Taymans  <wim@fluendo.com>
10103
10104         * gst/gstpad.c: (gst_pad_event_default):
10105         * gst/gstqueue.c: (gst_queue_loop):
10106         No unsafe task pausing please.
10107
10108 2005-06-23  Wim Taymans  <wim@fluendo.com>
10109
10110         * gst/schedulers/threadscheduler.c:
10111         (gst_thread_scheduler_task_start),
10112         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10113         Ref the task before pushing it on the threadpool. This
10114         makes sure that we have a ref when the threadfunction is
10115         actually called.
10116
10117 2005-06-23  Andy Wingo  <wingo@pobox.com>
10118
10119         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10120         offset is greater than the file's size.
10121
10122         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10123         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10124         * gst/gstobject.c (gst_object_class_init): Make the class lock
10125         recursive. Wim won't let me drop deep_notify. Decodebin works
10126         again, whoopdy doo.
10127
10128         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10129         internal pad, and hacks accordingly. Doesn't do it on the target
10130         pad because we change its caps. Probably catches all cases of
10131         interest tho.
10132         (gst_ghost_pad_set_property): Connect to notify::caps as
10133         appropritate.
10134
10135         * tests/network-clock.scm (plot-simulation): Pipe data to the
10136         elite python skript.
10137
10138         * tests/network-clock-utils.scm (define-parameter): New macro,
10139         defines a parameter that can be set via the command line.
10140         (set-parameter!, parse-parameter-arguments): Command line args
10141         parser.
10142
10143         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10144         stdin.
10145
10146 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10147
10148         * gst/elements/gsttypefindelement.c:
10149         (gst_type_find_element_handle_event):
10150           Don't restart typefinding on a discont.
10151         * gst/gstelement.c: (gst_element_set_state):
10152           Debug spelling fix.
10153         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10154           Allow changing mode of an active pad.
10155           Debug output fixes.
10156         * gst/registries/gstlibxmlregistry.c: (load_feature):
10157           Don't cast a static pad template to a normal pad template.
10158
10159 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10160
10161         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10162         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10163           remove gst_strtoll completely, since it didn't actually do
10164           anything more than what g_ascii_strtoull already does.
10165           check for range errors when deserializing
10166           do a cast for the unsigned cases; but further fixing needs
10167           a decision on what the interpretation of "(int)" and
10168           deserialization should be for values that fall outside the
10169           type's boundaries (ie, refuse, or interpret as casting)
10170
10171 2005-06-23  Wim Taymans  <wim@fluendo.com>
10172
10173         * check/Makefile.am:
10174         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10175         * docs/design/part-live-source.txt:
10176         * docs/design/part-states.txt:
10177         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10178         (gst_basesrc_set_live), (gst_basesrc_is_live),
10179         (gst_basesrc_get_range), (gst_basesrc_activate),
10180         (gst_basesrc_change_state):
10181         * gst/base/gstbasesrc.h:
10182         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10183         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10184         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10185         * gst/gstelement.c: (gst_element_get_state_func),
10186         (gst_element_set_state):
10187         * gst/gstelement.h:
10188         * gst/gsttypes.h:
10189         * tools/gst-launch.c: (event_loop), (main):
10190         Added support for live sources and other elements that
10191         cannot do preroll.
10192         Updated design docs, added live-source design doc.
10193         Implemented live source functionality in basesrc
10194         Fix error condition in _bin_get_state()
10195         Implement live source handling in -launch.
10196         Added check for live sources.
10197         Fixed case in GstBin where elements were changed state
10198         multiple times.
10199
10200
10201 2005-06-23  Andy Wingo  <wingo@pobox.com>
10202
10203         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10204         borken refcounting.
10205
10206         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10207         gst_caps_replace takes care of this for us.
10208
10209         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10210         gst_pad_set_caps on the target, not just its setcaps() function.
10211
10212         * tests/network-clock.scm: 
10213         * tests/network-clock-utils.scm: A network clock simulator.
10214         Something of an algorithmic testbed before doing something in C.
10215
10216 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10217
10218         * check/Makefile.am:
10219         * check/gst/capslist.h:
10220           copy over from 0.8, and add two with bitmasks specified with
10221           (int) 0xFF...
10222         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10223           add test to parse everything from capslist.h
10224         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10225         (main):
10226           add test for structure deserialization
10227         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10228           add tests for deserialization of strings to int types
10229         * gst/gststructure.c: (gst_structure_nth_field_name):
10230         * gst/gststructure.h:
10231           add a way to get the name of a field referenced by index
10232         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10233           instead of checking if the resulting long long lies between
10234           min and max, we check if the long long would fit into
10235           a number of bytes for the final type.
10236           This fixes cases where a string represents 2^32 - 1, which
10237           when cast to int would be the (valid) -1, but is bigger than
10238           G_MAXINT
10239
10240 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10241
10242         * gst/parse/grammar.y:
10243           add a log line for type deserialization
10244
10245 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10246
10247         * check/gst/gstvalue.c: (START_TEST):
10248         * gst/gstvalue.c: (gst_value_deserialize):
10249           return long long, not int, so gint64 deserialization actually
10250           works.  Is there any flag that makes the compiler check this ?
10251           Fixes #308559
10252
10253 2005-06-22  Wim Taymans  <wim@fluendo.com>
10254
10255         * gst/gstbuffer.h:
10256         Added convenience macros for setting buffers in GValue.
10257
10258 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10259
10260         * check/gst/.cvsignore:
10261         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10262           add a test deserializing int64, and comment part out because
10263           it fails, yay !
10264
10265 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10266
10267         * check/Makefile.am:
10268         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10269         * testsuite/Makefile.am:
10270         * testsuite/caps/Makefile.am:
10271         * testsuite/caps/value_serialize.c:
10272         * testsuite/test_gst_init.c:
10273           move a value_serialize test over
10274
10275 2005-06-20  Wim Taymans  <wim@fluendo.com>
10276
10277         * gst/gstpad.c:
10278         Small doc updates.
10279         
10280         * gst/gstvalue.c: (gst_value_compare_buffer),
10281         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10282         (gst_value_compare_flags), (gst_value_serialize_flags),
10283         (gst_value_deserialize_flags), (_gst_value_initialize):
10284         Fix serialisation of buffers, they are not boxed types anymore
10285
10286 2005-06-20  Wim Taymans  <wim@fluendo.com>
10287
10288         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10289         Testcase to show error in buffer-on-caps serialisation.
10290
10291 2005-06-20  Andy Wingo  <wingo@pobox.com>
10292
10293         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10294         will be adding to later.
10295
10296         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10297         if its socks fill with rocks.
10298         (gst_system_clock_obtain): Set the name on object construction.
10299         Avoid double-checked locking.
10300
10301 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10302
10303         * gst/gsturi.c: (gst_element_make_from_uri):
10304           Fix potential endless loop.
10305
10306 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10307
10308         * check/Makefile.am:
10309           add gsttag
10310         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10311         (main):
10312           move over from testsuite dir and clean up
10313         * configure.ac:
10314         * gst/gsttag.c:
10315         * testsuite/Makefile.am:
10316         * testsuite/tags/.cvsignore:
10317         * testsuite/tags/Makefile.am:
10318         * testsuite/tags/merge.c:
10319           remove testsuite/tags
10320
10321 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10322
10323         * docs/gst/gstreamer-sections.txt:
10324         * docs/gst/tmpl/gstenumtypes.sgml:
10325         * win32/gstenumtypes.c:
10326           clean up documentation build a little
10327
10328 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10329
10330         * check/gstcheck.h:
10331           add macros for checking refcounts on objects and caps
10332         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10333           add some more unit tests
10334         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10335         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10336           fix leaked refcounts (I hope :)) so unittest works
10337         * gst/gstpad.h:
10338           whitespace removal
10339
10340 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10341
10342         * configure.ac: back to HEAD
10343
10344 === release 0.9.1 ===
10345
10346 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10347
10348         * NEWS:
10349         * RELEASE:
10350           updated
10351
10352 2005-06-17  Andy Wingo  <wingo@pobox.com>
10353
10354         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10355         assert; it's always possible that the pad gets deactivated in
10356         between the checks in gstpad.c and the implementation. Rely on
10357         finish_preroll() to return a FLUSHING or similar instead of on the
10358         assert.
10359         
10360         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10361         clock and post an EOS message if we come out of finish_preroll in
10362         the playing state.
10363
10364 2005-06-16  David Schleef  <ds@schleef.org>
10365
10366         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10367         (gst_capsfilter_set_property): Allow NULL as possible value
10368         for filter_caps property, indicating GST_CAPS_ANY.
10369
10370 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10371
10372         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10373           fix debug output
10374         * gst/schedulers/Makefile.am:
10375           use libgst prefix
10376         * gstreamer.spec.in:
10377           fix spec for it
10378
10379 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10380
10381         * gstreamer.spec.in:
10382           clean up
10383
10384 2005-06-08  Andy Wingo  <wingo@pobox.com>
10385
10386         * gst/gstutils.c: RPAD fixes all around.
10387         (gst_element_link_pads): Refcounting fixes.
10388
10389         * tools/gst-inspect.c:
10390         * tools/gst-xmlinspect.c:
10391         * parse/grammar.y:
10392         * gst/base/gsttypefindhelper.c:
10393         * gst/base/gstbasesink.c:
10394         * gst/gstqueue.c: RPAD fixes.
10395
10396         * gst/gstghostpad.h:
10397         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10398         pads. The tricky thing is they provide both source and sink
10399         interfaces, since they proxy the internal pad for the external
10400         pad, and vice versa. Implement with lower-level ProxyPad objects,
10401         with the interior proxy pad as a child of the exterior ghost pad.
10402         Should write a doc on this.
10403         
10404         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10405         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10406         gst_object API.
10407         
10408         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10409         pads are real pads. No ghost pads in this file. Not documenting
10410         the myriad s/RPAD/PAD/ and REALIZE fixes.
10411         (gst_pad_class_init): Add properties for "direction" and
10412         "template". Both are construct-only, so they can't change during
10413         the life of the pad. Fixes properly deriving from GstPad.
10414         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10415         derived objects, just set properties when creating the objects via
10416         g_object_new.
10417         (gst_pad_get_parent): Implement as a function, return NULL if the
10418         parent is not an element.
10419         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10420         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10421         
10422         * gst/gstobject.c (gst_object_class_init): Make name a construct
10423         property. Don't set it in the object init.
10424
10425         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10426         with UNKNOWN direction.
10427         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10428         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10429         (gst_element_remove_pad): Remove ghost-pad special cases.
10430         (gst_element_pads_activate): Remove rpad cruft.
10431
10432         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10433         catch the pad's-parent-not-an-element case.
10434
10435         * gst/gst.h: Include gstghostpad.h.
10436
10437         * gst/gst.c (init_post): No more real, ghost pads.
10438
10439         * gst/Makefile.am: Add gstghostpad.[ch].
10440
10441         * check/Makefile.am:
10442         * check/gst/gstbin.c:
10443         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10444         into a bin creates ghost pads, and that the refcounts are right.
10445         Partly moved from gstbin.c.
10446
10447 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10448
10449         * check/gst-libs/.cvsignore:
10450         * check/gst/.cvsignore:
10451         * check/pipelines/.cvsignore:
10452           ignore more
10453         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10454         (START_TEST), (cleanup_suite), (main):
10455           add some tests related to cleanup after running pipelines
10456
10457 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10458
10459         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10460           add a testsuite for GstBuffer
10461
10462 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10463
10464         * gst/gstminiobject.h:
10465           add defines for accessing the refcount
10466
10467 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10468
10469         * Makefile.am: added support for html unit test coverage reports
10470
10471 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10472
10473         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10474           Free existing caps if the capsfilter changes. Add a FIXME about
10475           setting those caps on the pads.
10476
10477         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10478           Before adding a ghost pad to a parent bin, check that there isn't
10479           already one for the element on the bin. Prevents infinite recursion
10480           when using decodebin in parse pipelines. Andy says he'll rewrite the
10481           way this works anyway, so ignore the hack.
10482
10483 2005-06-02  Andy Wingo  <wingo@pobox.com>
10484
10485         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10486         file size, pass it on to the type find helper.
10487
10488         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10489         segment_start and segment_end properly according to the seek
10490         method. Segment_end is still a bit flaky because offset can be
10491         negative for CUR and END cases, but it takes -1 as an "unset"
10492         value.
10493
10494 2005-06-02  Wim Taymans  <wim@fluendo.com>
10495
10496         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10497         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10498         (gst_basesink_activate):
10499         * gst/base/gstbasesink.h:
10500         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10501         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10502         (gst_pad_query), (gst_pad_start_task):
10503         * gst/gstpad.h:
10504         * gst/gstqueue.c: (gst_queue_bufferalloc),
10505         (gst_queue_handle_sink_event), (gst_queue_chain):
10506         Bufferalloc: return GstFlowReturn to more accuratly report
10507         why allocation failed.
10508
10509 2005-06-02  Wim Taymans  <wim@fluendo.com>
10510
10511         * gst/gstpipeline.c: (gst_pipeline_send_event):
10512         Take snapshot of state without blocking.
10513
10514 2005-06-02  Wim Taymans  <wim@fluendo.com>
10515
10516         * docs/design/part-TODO.txt:
10517         * docs/design/part-caps.txt:
10518         * docs/design/part-clocks.txt:
10519         * docs/design/part-negotiation.txt:
10520         * docs/design/part-preroll.txt:
10521         Small doc updates 
10522
10523 2005-05-30  Wim Taymans  <wim@fluendo.com>
10524
10525         * gst/elements/gstidentity.c: (gst_identity_event),
10526         (gst_identity_transform), (gst_identity_get_property):
10527         Protect last_message property as it is accessed from
10528         multiple threads.
10529
10530 2005-05-30  Wim Taymans  <wim@fluendo.com>
10531
10532         * gst/gstelement.c: (gst_element_init),
10533         (gst_element_pads_activate), (gst_element_change_state):
10534         Slicker pad activation code.
10535
10536 2005-05-30  Wim Taymans  <wim@fluendo.com>
10537
10538         * gst/Makefile.am:
10539         * gst/gstelement.h:
10540         * gst/gstelementfactory.h:
10541         * gst/gsttypes.h:
10542         Move elementfactory methods to separate .h file.
10543
10544 2005-05-30  Wim Taymans  <wim@fluendo.com>
10545
10546         * docs/design/part-overview.txt:
10547         * gst/gstsystemclock.h:
10548         Small typo fixes, doc updates.
10549
10550 2005-05-30  Wim Taymans  <wim@fluendo.com>
10551
10552         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10553         (init_popt_callback):
10554         Remove cpu-opt flag.
10555
10556 2005-05-30  Wim Taymans  <wim@fluendo.com>
10557
10558         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10559         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10560         * gst/gstbuffer.h:
10561         Avoid typechecking in places where not needed.
10562         Added accessor for malloc_data.
10563
10564 2005-05-30  Wim Taymans  <wim@fluendo.com>
10565
10566         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10567         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10568         (gst_pad_configure_sink), (gst_pad_configure_src),
10569         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10570         (gst_pad_start_task):
10571         Propagate errors from _set_caps() in configure_src/sink
10572         functions instead of returning TRUE.
10573         FLUSH events can travel up and downstream
10574
10575
10576 2005-05-30  Wim Taymans  <wim@fluendo.com>
10577
10578         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10579         (gst_basesink_activate):
10580         Handle EOS in preroll.
10581
10582 2005-05-30  Wim Taymans  <wim@fluendo.com>
10583
10584         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10585         (gst_queue_loop), (gst_queue_handle_src_event):
10586         Remove old pieces of code
10587         Flushing the queue in an upstream event is a very bad idea.
10588
10589 2005-05-26  Andy Wingo  <wingo@pobox.com>
10590
10591         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10592         gst_value_set_mini_object so as to add a ref on the object (which
10593         will be removed when the value is unset).
10594
10595         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10596         arg type in ::handoff.
10597
10598         * gst/gstelement.c (gst_element_change_state): Also deactivate
10599         pads in READY->NULL, just in case the element didn't make it to
10600         PAUSED. Wingo tested, Wim approved.
10601
10602 2005-05-26  Wim Taymans  <wim@fluendo.com>
10603
10604         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10605         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10606         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10607         A flushing pad cannot be used to alloc_buffer from.
10608
10609 2005-05-26  Wim Taymans  <wim@fluendo.com>
10610
10611         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10612         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10613         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10614         (gst_bus_create_watch), (gst_bus_add_watch_full):
10615         * gst/gstbus.h:
10616         Implement a real GSource and use g_main_context_wakeup() to
10617         signal new messages instead of the socketpair.
10618
10619 2005-05-25  Wim Taymans  <wim@fluendo.com>
10620
10621         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10622         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10623         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10624         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10625         (gst_pad_send_event), (gst_pad_start_task):
10626         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10627         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10628         (gst_queue_sink_activate), (gst_queue_src_activate),
10629         (gst_queue_change_state):
10630         * gst/gstqueue.h:
10631         Fix state changes for non sinks. We now change sinks, then elements
10632         with unconnected srcpads, then the rest.
10633         More efficient queue unlocking in flush and state changes.
10634         Set the pad activate mode even if it does not have an activate
10635         function.
10636
10637 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10638
10639         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10640           Don't go in pull mode for non-seekable sources.
10641         * gst/elements/gsttypefindelement.h:
10642         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10643         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10644         (free_entry), (stop_typefinding),
10645         (gst_type_find_element_handle_event), (find_peek),
10646         (gst_type_find_element_chain), (do_pull_typefind),
10647         (gst_type_find_element_change_state):
10648           Allow typefinding (w/o seeking) in push-mode, simplified version
10649           of what was in 0.8.
10650         * gst/gstutils.c: (gst_buffer_join):
10651         * gst/gstutils.h:
10652           gst_buffer_join() from 0.8.
10653
10654 2005-05-25  Wim Taymans  <wim@fluendo.com>
10655
10656         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10657         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10658         (gst_pad_send_event), (gst_pad_start_task):
10659         Disable attempt at mode switching until it is figured out.
10660
10661 2005-05-25  Wim Taymans  <wim@fluendo.com>
10662
10663         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10664         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10665         (gst_basesink_finish_preroll), (gst_basesink_chain),
10666         (gst_basesink_loop), (gst_basesink_activate),
10667         (gst_basesink_change_state):
10668         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10669         (gst_basesrc_get_range), (gst_basesrc_loop),
10670         (gst_basesrc_activate):
10671         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10672         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10673         (gst_real_pad_init), (gst_real_pad_set_property),
10674         (gst_real_pad_get_property), (gst_pad_set_active),
10675         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10676         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10677         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10678         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10679         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10680         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10681         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10682         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10683         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10684         (gst_pad_stop_task):
10685         * gst/gstpad.h:
10686         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10687         (gst_queue_loop), (gst_queue_src_activate):
10688         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10689         (gst_task_get_state):
10690         * gst/gsttask.h:
10691         * gst/schedulers/threadscheduler.c:
10692         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10693         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10694         in task function.
10695         Remove ACTIVE pad flag, use FLUSHING everywhere
10696         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10697         functions.
10698         Add locks around IS_FLUSHING when reading.
10699         Take STREAM lock in chain(), get_range() functions so plugins
10700         don't need to take it anymore.
10701         
10702
10703
10704 2005-05-25  Wim Taymans  <wim@fluendo.com>
10705
10706         * tools/gst-launch.c: (event_loop):
10707         Unref message after using its contents instead of
10708         before.
10709
10710 2005-05-24  Wim Taymans  <wim@fluendo.com>
10711
10712         * docs/design/draft-ghostpads.txt:
10713         * docs/design/draft-push-pull.txt:
10714         * docs/design/draft-query.txt:
10715         * docs/design/part-overview.txt:
10716         Docs updates, added general overview doc.
10717
10718 2005-05-21  David Schleef  <ds@schleef.org>
10719
10720         * docs/gst/tmpl/old/GstBin.sgml:
10721         * docs/gst/tmpl/old/GstBuffer.sgml:
10722         * docs/gst/tmpl/old/GstCaps.sgml:
10723         * docs/gst/tmpl/old/GstClock.sgml:
10724         * docs/gst/tmpl/old/GstCompat.sgml:
10725         * docs/gst/tmpl/old/GstData.sgml:
10726         * docs/gst/tmpl/old/GstElement.sgml:
10727         * docs/gst/tmpl/old/GstEvent.sgml:
10728         * docs/gst/tmpl/old/GstIndex.sgml:
10729         * docs/gst/tmpl/old/GstStructure.sgml:
10730         * docs/gst/tmpl/old/GstTag.sgml:
10731         * docs/gst/tmpl/old/cothreads.sgml:
10732         * docs/gst/tmpl/old/cothreads_compat.sgml:
10733         * docs/gst/tmpl/old/gettext.sgml:
10734         * docs/gst/tmpl/old/gobject2gtk.sgml:
10735         * docs/gst/tmpl/old/grammar.tab.sgml:
10736         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10737         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10738         * docs/gst/tmpl/old/gst_private.sgml:
10739         * docs/gst/tmpl/old/gstaggregator.sgml:
10740         * docs/gst/tmpl/old/gstarch.sgml:
10741         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10742         * docs/gst/tmpl/old/gstbufferstore.sgml:
10743         * docs/gst/tmpl/old/gstdata_private.sgml:
10744         * docs/gst/tmpl/old/gstdisksink.sgml:
10745         * docs/gst/tmpl/old/gstdisksrc.sgml:
10746         * docs/gst/tmpl/old/gstelementfactory.sgml:
10747         * docs/gst/tmpl/old/gstextratypes.sgml:
10748         * docs/gst/tmpl/old/gstfakesink.sgml:
10749         * docs/gst/tmpl/old/gstfakesrc.sgml:
10750         * docs/gst/tmpl/old/gstfdsink.sgml:
10751         * docs/gst/tmpl/old/gstfdsrc.sgml:
10752         * docs/gst/tmpl/old/gstfilesink.sgml:
10753         * docs/gst/tmpl/old/gstfilesrc.sgml:
10754         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10755         * docs/gst/tmpl/old/gstidentity.sgml:
10756         * docs/gst/tmpl/old/gstindexfactory.sgml:
10757         * docs/gst/tmpl/old/gstmarshal.sgml:
10758         * docs/gst/tmpl/old/gstmd5sink.sgml:
10759         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10760         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10761         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10762         * docs/gst/tmpl/old/gstpipefilter.sgml:
10763         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10764         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10765         * docs/gst/tmpl/old/gstshaper.sgml:
10766         * docs/gst/tmpl/old/gstspider.sgml:
10767         * docs/gst/tmpl/old/gstspideridentity.sgml:
10768         * docs/gst/tmpl/old/gststatistics.sgml:
10769         * docs/gst/tmpl/old/gsttee.sgml:
10770         * docs/gst/tmpl/old/gsttimecache.sgml:
10771         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10772         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10773         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10774         * docs/gst/tmpl/old/types.sgml:
10775           I didn't intend to add these or check them in.
10776
10777 2005-05-19  David Schleef  <ds@schleef.org>
10778
10779         * configure.ac: Use -no-common everywhere.  In a sane world, it
10780           would be the default in libtool, because without it, you can't
10781           build DLLs on Windows.
10782         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10783         * docs/gst/gstreamer-sections.txt:
10784         * docs/gst/tmpl/gstcpu.sgml:
10785         * docs/gst/tmpl/gstdata.sgml:
10786         * docs/gst/tmpl/gstthread.sgml:
10787
10788 2005-05-19  David Schleef  <ds@schleef.org>
10789
10790         * gst/gstminiobject.c: (gst_value_set_mini_object),
10791         (gst_value_take_mini_object), (gst_value_get_mini_object):
10792         * gst/gstminiobject.h: Add GValue set/get functions.
10793
10794 2005-05-19  Wim Taymans  <wim@fluendo.com>
10795
10796         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10797         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10798         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10799         * gst/gstbuffer.h:
10800         * gst/gstbus.c: (gst_bus_post):
10801         * gst/gstelement.c: (gst_element_get_random_pad):
10802         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10803         Make subbufer unref the parent in finalize.
10804         some more debugging info.
10805
10806
10807 2005-05-19  Wim Taymans  <wim@fluendo.com>
10808
10809         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10810         (gst_basesink_init), (gst_basesink_finalize),
10811         (gst_basesink_activate), (gst_basesink_change_state):
10812         Don't free preroll queue too early.
10813
10814 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10815
10816         * gst/Makefile.am:
10817         * gst/ROADMAP:
10818           Hi, I'm outdated. Please shoot me.
10819
10820 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10821
10822         * gst/gstpipeline.c: (gst_pipeline_send_event):
10823           Do not access variables after they have been deleted.
10824
10825 2005-05-19  Wim Taymans  <wim@fluendo.com>
10826
10827         * tools/gst-inspect.c: (print_plugin_features):
10828         A plugin feature does unfortunatly not use the
10829         object name yet...
10830
10831 2005-05-18  Wim Taymans  <wim@fluendo.com>
10832
10833         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10834         Port _span() functions to new subbuffers.
10835
10836 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10837
10838         * gst/gstbin.c: (gst_bin_add_func):
10839           Fix clock settery in bins when adding kids after the clock has
10840           been selected.
10841
10842 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10843
10844         * gst/elements/gstidentity.c: (gst_identity_class_init):
10845           Workaround until signals support GstMiniObject.
10846
10847 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10848
10849         * gst/gstbuffer.c:
10850         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10851
10852 2005-05-18  Wim Taymans  <wim@fluendo.com>
10853
10854         * gst/base/Makefile.am:
10855         * gst/base/gstadapter.c: (gst_adapter_base_init),
10856         (gst_adapter_class_init), (gst_adapter_init),
10857         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10858         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10859         (gst_adapter_flush), (gst_adapter_available),
10860         (gst_adapter_available_fast):
10861         * gst/base/gstadapter.h:
10862         Ported and added adapter to the base classes.
10863
10864 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10865
10866         * gst/gst.c:
10867         * gst/gstmessage.c:
10868           Make sure the class is reffed/unreffed once before threads can be
10869           used.  Fixes #304551.
10870
10871 2005-05-17  Wim Taymans  <wim@fluendo.com>
10872
10873         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10874         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10875         * gst/gstminiobject.c: (gst_mini_object_get_type),
10876         (gst_mini_object_free):
10877         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10878         (gst_pad_push), (gst_pad_push_event):
10879         * gst/gstqueue.c: (gst_queue_change_state):
10880         Don't queue buffers in basesink when we are flushing.
10881         Unref buffer when flushing in basesink.
10882         Flush queue when going to READY
10883         Unref buffer when _push() returns an error.
10884         Don't free MiniObject instance when refcount is incremented
10885         in _finalize() so that we can recover objects.
10886
10887 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10888
10889         * docs/manual/advanced-schedulers.xml:
10890         * docs/manual/appendix-checklist.xml:
10891         * docs/pwg/advanced-clock.xml:
10892         * docs/pwg/advanced-interfaces.xml:
10893         * docs/pwg/advanced-request.xml:
10894         * docs/pwg/advanced-types.xml:
10895         * docs/pwg/intro-preface.xml:
10896         * examples/plugins/example.c: (gst_example_get_type),
10897         (gst_example_class_init), (gst_example_chain),
10898         (gst_example_set_property), (gst_example_get_property),
10899         (gst_example_change_state), (plugin_init):
10900         * examples/plugins/example.h:
10901           small doc fixes
10902
10903 2005-05-17  Wim Taymans  <wim@fluendo.com>
10904
10905         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10906         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10907         * gst/gstqueue.c: (gst_queue_change_state):
10908         Clear queue when going to READY.
10909         Remove IN_SETCAPS flag too.
10910
10911 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10912
10913         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10914           Remove implicit cast from gboolean to GstElementStateReturn;
10915           make sure we still return failure in paused => ready case if
10916           the parent class fails to change state and our own stop 
10917           vfunc succeeds.
10918
10919 2005-05-17  Wim Taymans  <wim@fluendo.com>
10920
10921         * tools/gst-launch.c: (event_loop):
10922         Message was unreffed too soon.
10923
10924 2005-05-16  Andy Wingo  <wingo@pobox.com>
10925
10926         * gst/gstbin.c (sink_iterator_filter): Err... um...
10927
10928         * check/gst/gstbin.c (test_ghost_pads): New test for the
10929         ghosting-if-elements-not-in-same-bin behavior.
10930
10931 2005-05-16  David Schleef  <ds@schleef.org>
10932
10933         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10934         accessing refcount directly.
10935
10936 2005-05-15  David Schleef  <ds@schleef.org>
10937
10938         * check/Makefile.am: remove GstData checks
10939         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10940         * gst/Makefile.am: add miniobject, remove data
10941         * gst/gst.h: add miniobject, remove data
10942         * gst/gstdata.c: remove
10943         * gst/gstdata.h: remove
10944         * gst/gstdata_private.h: remove
10945         * gst/gsttypes.h: remove GstEvent and GstMessage
10946         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10947         * gst/gstmarshal.list: change BOXED -> OBJECT
10948
10949         Implement GstMiniObject.
10950         * gst/gstminiobject.c:
10951         * gst/gstminiobject.h:
10952
10953         Modify to be subclasses of GstMiniObject.
10954         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10955         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10956         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10957         (gst_subbuffer_get_type), (gst_subbuffer_init),
10958         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10959         (gst_buffer_span):
10960         * gst/gstbuffer.h:
10961         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10962         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10963         (_gst_event_copy), (gst_event_new):
10964         * gst/gstevent.h:
10965         * gst/gstmessage.c: (_gst_message_initialize),
10966         (gst_message_get_type), (gst_message_class_init),
10967         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10968         (gst_message_new), (gst_message_new_error),
10969         (gst_message_new_warning), (gst_message_new_tag),
10970         (gst_message_new_state_changed), (gst_message_new_application):
10971         * gst/gstmessage.h:
10972         * gst/gstprobe.c: (gst_probe_perform),
10973         (gst_probe_dispatcher_dispatch):
10974         * gst/gstprobe.h:
10975         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10976         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10977         (_gst_query_copy), (gst_query_new):
10978
10979         Update elements for GstData -> GstMiniObject changes
10980         * gst/gstquery.h:
10981         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10982         (gst_queue_chain), (gst_queue_loop):
10983         * gst/elements/gstbufferstore.c:
10984         (gst_buffer_store_add_buffer_func),
10985         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10986         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10987         (gst_fakesink_render):
10988         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10989         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10990         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10991         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10992         (gst_filesrc_create_read):
10993         * gst/elements/gstidentity.c: (gst_identity_class_init):
10994         * gst/elements/gsttypefindelement.c:
10995         (gst_type_find_element_src_event), (free_entry_buffers),
10996         (gst_type_find_element_handle_event):
10997         * libs/gst/dataprotocol/dataprotocol.c:
10998         (gst_dp_header_from_buffer):
10999         * libs/gst/dataprotocol/dataprotocol.h:
11000         * libs/gst/dataprotocol/dp-private.h:
11001
11002 2005-05-15  David Schleef  <ds@schleef.org>
11003
11004         * gst/elements/gstelements.c: Don't include headers that were
11005         just removed.
11006
11007 2005-05-15  David Schleef  <ds@schleef.org>
11008
11009         * gst/elements/Makefile.am: Remove some elements that don't
11010         need to be in the core (or even exist at all).
11011         * gst/elements/gstaggregator.c:
11012         * gst/elements/gstaggregator.h:
11013         * gst/elements/gstmd5sink.c:
11014         * gst/elements/gstmd5sink.h:
11015         * gst/elements/gstmultifilesrc.c:
11016         * gst/elements/gstmultifilesrc.h:
11017         * gst/elements/gstpipefilter.c:
11018         * gst/elements/gstpipefilter.h:
11019         * gst/elements/gstshaper.c:
11020         * gst/elements/gstshaper.h:
11021         * gst/elements/gststatistics.c:
11022         * gst/elements/gststatistics.h:
11023         * po/POTFILES.in: Remove above files.
11024
11025 2005-05-14  Andy Wingo  <wingo@pobox.com>
11026
11027         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11028         so as to get the refs right.
11029         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11030         unreffing objects that don't pass the filter.
11031
11032         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11033         gst_element_set_bus.
11034         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11035         normal cases, this will destroy the bus.
11036
11037         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11038         object.
11039
11040         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11041         has no sinks.
11042
11043 2005-05-13  Andy Wingo  <wingo@pobox.com>
11044
11045         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11046         gst_pad_link, call pad_link_maybe_ghosting,
11047         (pad_link_maybe_ghosting): Links pads, making sure that the
11048         elements being linked are in the same bin.
11049         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11050         Helpers for pad_link_maybe_ghosting.
11051
11052 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11053
11054         * configure.ac:
11055           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11056
11057 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11058
11059         * docs/design/part-element-source.txt:
11060           Mention GstPushSrc
11061
11062 2005-05-12  Wim Taymans  <wim@fluendo.com>
11063
11064         * gst/base/gstbasesink.c: (gst_basesink_init),
11065         (gst_basesink_activate):
11066         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11067         (gst_basesrc_is_seekable):
11068         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11069         (bin_element_is_sink), (gst_bin_change_state):
11070         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11071         * gst/gstelement.h:
11072         Identify sinks by their flag to avoid overly complicated
11073         checks (fow now).
11074         Do state changes even for elements not reachable from the
11075         sinks.
11076         BaseSink is a sink now :)
11077         Some more debugging info in the basesrc.
11078
11079
11080 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11081
11082         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11083           Implement _query on a bin, similar to _send_event.
11084
11085 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11086
11087         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11088           Discont event offset format should be GST_FORMAT_BYTES,
11089           not GST_FORMAT_TIME.
11090
11091 2005-05-12  Wim Taymans  <wim@fluendo.com>
11092
11093         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11094         Same fix as Ronald's but without the signal. 
11095
11096 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11097
11098         * gst/gstutils.c: (gst_element_query_position):
11099           No, an element is not a pad.
11100
11101 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11102
11103         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11104         (gst_bin_get_state):
11105           If a child is removed from a bin while we remove the child from
11106           the bin and while we're retrieving its state, signal this to the
11107           get_state function so we abort the wait (instead of waiting for
11108           a timeout) and can immediately re-iterate over all other elements.
11109
11110 2005-05-12  Wim Taymans  <wim@fluendo.com>
11111
11112         * gst/base/Makefile.am:
11113         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11114         (gst_basesrc_start):
11115         * gst/base/gstbasesrc.h:
11116         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11117         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11118         (gst_pushsrc_init), (gst_pushsrc_create):
11119         * gst/base/gstpushsrc.h:
11120         Added is_seekable to BaseSrc
11121         Added simple PushSrc.
11122
11123 2005-05-11  Wim Taymans  <wim@fluendo.com>
11124
11125         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11126         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11127         (gst_element_link_pads), (gst_element_query_position),
11128         (gst_element_query_convert), (intersect_caps_func),
11129         (gst_pad_query_position), (gst_pad_query_convert):
11130         Fix refcounting in utils function.
11131         No point in trying to activate a pad when it's added, it could
11132         be added from the state change function and then we deadlock, the
11133         element has to decide what to do.
11134
11135 2005-05-10  Andy Wingo  <wingo@pobox.com>
11136
11137         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11138         *all* the arguments.
11139
11140         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11141         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11142         lock (according to the docs -- if this is wrong change the docs).
11143
11144         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11145         flush messages in the NULL state.
11146
11147         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11148         message immediately and return.
11149         (gst_bus_set_flushing): New function. If a bus is flushing, it
11150         flushes out any queued messages and immediately unrefs new
11151         messages. This is so when an element goes to NULL, all of the
11152         unhandled messages coming from it can be freed, and their
11153         references to the element dropped. In other words: message source
11154         ref considered harmful :P
11155
11156         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11157         we're finished with it.
11158
11159         * gst/gstmessage.c (gst_message_new_state_changed): 
11160
11161 2005-05-10  Wim Taymans  <wim@fluendo.com>
11162
11163         * gst/gstvalue.c: (gst_value_compare_flags),
11164         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11165         (_gst_value_initialize):
11166         Added flags serialize/deserialize/compare code.
11167
11168 2005-05-09  Andy Wingo  <wingo@pobox.com>
11169
11170         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11171         Intersect the peer's caps with our caps.
11172
11173 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11174
11175         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11176         * gst/elements/gsttypefindelement.c: (find_peek):
11177           Handle negative offsets better. Fixes decodebin.
11178
11179 2005-05-09  Wim Taymans  <wim@fluendo.com>
11180
11181         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11182         (gst_base_transform_event):
11183         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11184         Implement accept_caps.
11185         Fix silly lock/unlock mismatch in base class.
11186
11187 2005-05-09  Wim Taymans  <wim@fluendo.com>
11188
11189         * docs/design/draft-push-pull.txt:
11190         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11191         * gst/elements/gstfilesink.c: (gst_filesink_init),
11192         (gst_filesink_query):
11193         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11194         (gst_type_find_handle_src_query), (find_element_get_length):
11195         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11196         * gst/gstelement.h:
11197         * gst/gstmessage.c:
11198         * gst/gstmessage.h:
11199         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11200         (gst_real_pad_get_caps_unlocked),
11201         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11202         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11203         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11204         (gst_real_pad_dispose), (gst_real_pad_finalize),
11205         (gst_pad_load_and_link), (gst_pad_save_thyself),
11206         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11207         (gst_pad_check_pull_range), (gst_pad_pull_range),
11208         (gst_pad_template_get_type), (gst_pad_template_class_init),
11209         (gst_pad_template_init), (gst_pad_template_dispose),
11210         (name_is_valid), (gst_static_pad_template_get),
11211         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11212         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11213         (gst_pad_get_element_private), (gst_pad_start_task),
11214         (gst_pad_pause_task), (gst_pad_stop_task),
11215         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11216         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11217         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11218         (gst_ghost_pad_new):
11219         * gst/gstpad.h:
11220         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11221         (gst_query_new_position), (gst_query_set_position),
11222         (gst_query_parse_position), (gst_query_new_convert),
11223         (gst_query_set_convert), (gst_query_parse_convert):
11224         * gst/gstquery.h:
11225         * gst/gstqueryutils.c:
11226         * gst/gstqueryutils.h:
11227         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11228         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11229         (gst_queue_handle_src_query):
11230         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11231         (gst_element_query_position), (gst_element_query_convert),
11232         (intersect_caps_func), (gst_pad_query_position),
11233         (gst_pad_query_convert):
11234         * gst/gstutils.h:
11235         * tools/gst-inspect.c: (print_pad_info):
11236         * tools/gst-xmlinspect.c: (print_element_info):
11237         Remove old query functions. Ported old code.
11238         Added position/convert helper functions to gstutils.
11239         Reordered gstpad.c code, grouping relevant things.
11240         Remove gst_message_new(), always need to speficy a specific
11241         message.
11242
11243
11244 2005-05-09  Andy Wingo  <wingo@pobox.com>
11245
11246         * gst/gstiterator.h: Add some includes.
11247
11248         * gst/gstqueryutils.h: Include more headers.
11249
11250         * gst/gstpad.h:
11251         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11252         some uses of gst_pad_query.
11253
11254         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11255         NULL out parameters.
11256         (gst_query_new_position): New proc, allocates a new position
11257         query.
11258
11259         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11260         gstqueryutils.c to the build.
11261
11262         * gst/gststructure.c (gst_structure_set_valist): Implement with
11263         the generic G_VALUE_COLLECT.
11264         
11265 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11266
11267         * gst/Makefile.am: (gst_headers):
11268         Added gstqueryutils.h to the list of headers to install, that was
11269         a 'nachty' move wingo :)
11270
11271 2005-05-06  Andy Wingo  <wingo@pobox.com>
11272
11273         * gst/gstquery.h
11274         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11275         GstData, init a memchunk.
11276         (standard_definitions): Add a few query types, deprecate a few.
11277         (gst_query_get_type): New proc.
11278         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11279         implementation.
11280         (gst_query_new_application, gst_query_get_structure): New public
11281         procs.
11282
11283         * docs/design/draft-query.txt: Removed LINKS from the query types,
11284         because all the rest can be dispatched to other pads -- seemed
11285         ugly to have a query that couldn't be dispatched. internal_links
11286         is fine as a pad method.
11287
11288         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11289         in gstpad.c, but maintain binary compatibility for the moment.
11290         Will fix before 0.9 is out.
11291
11292         * gst/gstqueryutils.c: 
11293         * gst/gstqueryutils.h: New files, implement 3 methods for each
11294         query type: parse_query, parse_response, and set. Probably need an
11295         allocator as well.
11296
11297         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11298
11299         * gst/elements/gstfilesink.c (gst_filesink_query2):
11300         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11301         query_types, and formats methods.
11302
11303         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11304         (gst_pad_set_query2_function): New functions.
11305         (gst_real_pad_init): Set query2_default as the default query2
11306         function. Basically just dispatches to internally linked pads.
11307
11308         Needs review!
11309         
11310         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11311         without using the atomic operations. Only one thread can possibly
11312         be accessing the data at this point. Changed so as to avoid
11313         gst_atomic operations.
11314
11315 2005-05-06  Wim Taymans  <wim@fluendo.com>
11316
11317         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11318         Also set caps if we use the fallback buffer alloc.
11319
11320 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11321
11322         * docs/gst/Makefile.am:
11323         * docs/gst/gstreamer-docs.sgml:
11324         * docs/gst/gstreamer-sections.txt:
11325         * docs/gst/tmpl/gstatomic.sgml:
11326         * docs/gst/tmpl/gstmemchunk.sgml:
11327         * testsuite/elements/struct_i386.h:
11328         * win32/GStreamer.vcproj:
11329         * win32/Makefile:
11330           Purge GstAtomic stuff from docs and win32 makefiles as well
11331
11332 2005-05-06  Wim Taymans  <wim@fluendo.com>
11333
11334         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11335         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11336         * gst/gstpad.c: (gst_pad_peer_get_caps):
11337         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11338         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11339         (gst_queue_src_activate), (gst_queue_change_state):
11340         * gst/gstqueue.h:
11341         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11342         (intersect_caps_func):
11343         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11344         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11345         Some fixes for the peer_get_caps() change.
11346
11347 2005-05-06  Wim Taymans  <wim@fluendo.com>
11348
11349         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11350         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11351         (gst_basesink_activate):
11352         Actually do something with error codes returned from the push
11353         functions.
11354
11355 2005-05-06  Wim Taymans  <wim@fluendo.com>
11356
11357         * docs/design/part-element-sink.txt:
11358         * docs/design/part-element-source.txt:
11359         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11360         (gst_basesink_event), (gst_basesink_activate):
11361         * gst/base/gstbasesink.h:
11362         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11363         (gst_basesrc_activate):
11364         * gst/base/gstbasesrc.h:
11365         * gst/gstelement.c: (gst_element_pads_activate):
11366         Some more documentation.
11367         Fixed scheduling decision in _pads_activate().
11368
11369 2005-05-05  Andy Wingo  <wingo@pobox.com>
11370
11371         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11372         the test suite.
11373
11374 2005-05-05  Wim Taymans  <wim@fluendo.com>
11375
11376         * gst/base/Makefile.am:
11377         * gst/base/gstbasesink.h:
11378         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11379         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11380         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11381         (gst_collectpads_class_init), (gst_collectpads_init),
11382         (gst_collectpads_finalize), (gst_collectpads_new),
11383         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11384         (find_pad), (gst_collectpads_remove_pad),
11385         (gst_collectpads_is_active), (gst_collectpads_collect),
11386         (gst_collectpads_collect_range), (gst_collectpads_start),
11387         (gst_collectpads_stop), (gst_collectpads_peek),
11388         (gst_collectpads_pop), (gst_collectpads_available),
11389         (gst_collectpads_read), (gst_collectpads_flush),
11390         (gst_collectpads_chain):
11391         * gst/base/gstcollectpads.h:
11392         * gst/elements/Makefile.am:
11393         * gst/elements/gstelements.c:
11394         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11395         (gst_fakesink_get_times), (gst_fakesink_event),
11396         (gst_fakesink_preroll), (gst_fakesink_render):
11397         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11398         (gst_filesink_init), (gst_filesink_set_location),
11399         (gst_filesink_open_file), (gst_filesink_close_file),
11400         (gst_filesink_pad_query), (gst_filesink_event),
11401         (gst_filesink_render), (gst_filesink_change_state):
11402         * gst/elements/gstfilesink.h:
11403         Added object to help in making collect pad based elements.
11404         Ported filesink.
11405         Make event function in sink baseclass return gboolean.
11406
11407 2005-05-05  Wim Taymans  <wim@fluendo.com>
11408
11409         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11410         (gst_bin_get_by_name):
11411         * gst/gstbuffer.h:
11412         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11413         (gst_clock_finalize):
11414         * gst/gstdata.c: (gst_data_replace):
11415         * gst/gstdata.h:
11416         * gst/gstelement.c: (gst_element_request_pad),
11417         (gst_element_pads_activate):
11418         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11419         (gst_object_unref):
11420         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11421         (gst_pad_set_checkgetrange_function),
11422         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11423         (gst_pad_check_pull_range), (gst_pad_pull_range),
11424         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11425         (gst_pad_pause_task), (gst_pad_stop_task):
11426         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11427         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11428         Fix name lookup in GstBin.
11429         Added _data_replace() function and _buffer_replace()
11430         Use finalize method to clean up clock.
11431         Fix refcounting on request pads.
11432         Fix pad schedule mode error.
11433         Some more object refcounting debug info,
11434
11435
11436 2005-05-04  Andy Wingo <wingo@pobox.com>
11437
11438         * check/Makefile.am:
11439         * docs/gst/tmpl/gstatomic.sgml:
11440         * docs/gst/tmpl/gstplugin.sgml:
11441         * gst/base/gstbasesink.c: (gst_basesink_activate):
11442         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11443         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11444         (gst_basesrc_query), (gst_basesrc_set_property),
11445         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11446         (gst_basesrc_activate):
11447         * gst/base/gstbasesrc.h:
11448         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11449         (gst_base_transform_src_activate):
11450         * gst/elements/gstelements.c:
11451         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11452         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11453         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11454         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11455         (gst_type_find_element_checkgetrange),
11456         (gst_type_find_element_activate):
11457         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11458         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11459         (gst_caps_load_thyself):
11460         * gst/gstelement.c: (gst_element_pads_activate),
11461         (gst_element_save_thyself), (gst_element_restore_thyself):
11462         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11463         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11464         * gst/gstpad.h:
11465         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11466         (gst_xml_parse_file), (gst_xml_parse_memory),
11467         (gst_xml_get_element), (gst_xml_make_element):
11468         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11469         (_file_index_id_save_xml), (gst_file_index_commit):
11470         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11471         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11472         (load_paths):
11473         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11474         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11475         * tools/gst-complete.c: (main):
11476         * tools/gst-compprep.c: (main):
11477         * tools/gst-inspect.c: (print_element_properties_info):
11478         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11479         * tools/gst-xmlinspect.c: (print_element_properties):
11480         GCC 4 fixen.
11481         
11482 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11483
11484         * gst/gstplugin.c: (gst_plugin_check_module),
11485         (gst_plugin_check_file), (gst_plugin_load_file):
11486             apply patch from #172526 to make register work on MacOSX
11487
11488 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11489
11490         * docs/gst/tmpl/gstconfig.sgml:
11491         * gst/gstconfig.h.in:
11492           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11493         * testsuite/debug/printf_extension.c: (main):
11494           Do not use GST_PTR_FORMAT on pointers to types with
11495           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11496         * testsuite/elements/property.h:
11497           use correct printf format
11498
11499 2005-05-02  Wim Taymans  <wim@fluendo.com>
11500
11501         * docs/design/draft-push-pull.txt:
11502         * docs/design/draft-query.txt:
11503         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11504         (gst_basesrc_start):
11505         Added draft for new query API.
11506         Added draft for better selecting scheduling methods.
11507         Make basesrc ignore length if the subclass does not support
11508         it.
11509
11510 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11511
11512         * gst/Makefile.am:
11513           possible fixes for automake-1.5 - _LIBADD is reserved
11514
11515 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11516
11517         * docs/faq/Makefile.am:
11518         * docs/manual/Makefile.am:
11519         * docs/manuals.mak:
11520         * docs/pwg/Makefile.am:
11521         * gst/Makefile.am:
11522           possible fixes for automake-1.5
11523
11524 2005-04-28  Wim Taymans  <wim@fluendo.com>
11525
11526         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11527         (gst_basesink_pad_getcaps), (gst_basesink_init),
11528         (gst_basesink_do_sync):
11529         * gst/gstclock.c: (gst_clock_entry_new):
11530         * gst/gstevent.c: (gst_event_discont_get_value):
11531         * gst/gstpipeline.c: (pipeline_bus_handler),
11532         (gst_pipeline_change_state):
11533         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11534         Better debugging of clocking info.
11535         Allow NULL values when getting discont values.
11536
11537 2005-04-27  Wim Taymans  <wim@fluendo.com>
11538
11539         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11540         * check/gst/gstpad.c: (gst_pad_suite):
11541         Increase timeout for checks.
11542
11543 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11544
11545         * check/Makefile.am:
11546           fix the broken rule for cleanup.  Apparently this rule is
11547           only needed on FC2, so maybe this warrants further autotool
11548           inspection.
11549
11550 2005-04-26  Wim Taymans  <wim@fluendo.com>
11551
11552         * gst/gsttrashstack.h:
11553         Ooohh. a nasty one! After having a failed pop() from the stack,
11554         it's possible that the stack is empty. In that case, don't
11555         follow the NULL pointer.
11556
11557 2005-04-25  Wim Taymans  <wim@fluendo.com>
11558
11559         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11560         (gst_pad_set_checkgetrange_function),
11561         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11562         (gst_pad_check_pull_range), (gst_pad_pull_range),
11563         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11564         (gst_pad_pause_task), (gst_pad_stop_task):
11565         * gst/gstplugin.c: (gst_plugin_load):
11566         * gst/gstplugin.h:
11567         Remove gst_library_load as it does more harm than good with
11568         the new g_module flags.
11569         Revert bogus caps template check in pad linking, pad caps
11570         are important when linking not the template, which is more
11571         general than the current caps.
11572
11573 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11574
11575         * gst/autoplug/.cvsignore:
11576         * gst/autoplug/Makefile.am:
11577         * gst/autoplug/gstsearchfuncs.c:
11578         * gst/autoplug/gstsearchfuncs.h:
11579         * gst/autoplug/gstspider.c:
11580         * gst/autoplug/gstspider.h:
11581         * gst/autoplug/gstspideridentity.c:
11582         * gst/autoplug/gstspideridentity.h:
11583         * gst/autoplug/spidertest.c:
11584           Die, spider, die.
11585
11586 2005-04-25  Wim Taymans  <wim@fluendo.com>
11587
11588         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11589         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11590         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11591         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11592         * gst/gstpad.h:
11593         Added stubs for unimplemented functions. 
11594
11595 2005-04-24  David Schleef  <ds@schleef.org>
11596
11597         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11598         please fix.
11599
11600 2005-04-24  David Schleef  <ds@schleef.org>
11601
11602         Convert everything from GstAtomicInt to g_atomic_int_*, and
11603         remove gstatomic.
11604         * gst/Makefile.am:
11605         * gst/gstatomic.c:
11606         * gst/gstatomic.h:
11607         * gst/gstatomic_impl.h:
11608         * gst/gstbuffer.c:
11609         * gst/gstcaps.c:
11610         * gst/gstcaps.h:
11611         * gst/gstclock.c:
11612         * gst/gstclock.h:
11613         * gst/gstdata.c:
11614         * gst/gstdata.h:
11615         * gst/gstdata_private.h:
11616         * gst/gstevent.c:
11617         * gst/gstinfo.c:
11618         * gst/gstinfo.h:
11619         * gst/gstmessage.c:
11620         * gst/gstobject.c:
11621         * gst/gstobject.h:
11622         * gst/gststructure.c:
11623         * gst/gststructure.h:
11624         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11625         * gst/gstutils.h:
11626
11627 2005-04-24  David Schleef  <ds@schleef.org>
11628
11629         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11630         make the regressions tests work.  Remove some code that is no
11631         longer true.
11632         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11633         Disable warning for pads without templates.
11634
11635 2005-04-24  David Schleef  <ds@schleef.org>
11636
11637         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11638         functions that handle filtered links.
11639         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11640         removed functions.
11641         * gst/gstutils.c: Fix/remove utility functions that handle
11642         filtered caps.
11643         * gst/gstutils.h:
11644         * gst/gstvalue.c: Add serialization/deserialization of caps
11645         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11646         requires fixing so that the filter caps notation creates
11647         a capsfilter element and sets the filter_caps property.  I
11648         think everyone probably wants to keep the shorthand notation.
11649         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11650         * docs/gst/tmpl/gstpad.sgml:
11651
11652         * gst/elements/gstelements.c: Register capsfilter element.
11653         * gst/Makefile.am: fix spacing
11654         * docs/random/ds/0.9-suggested-changes: random
11655
11656 2005-04-23  David Schleef  <ds@schleef.org>
11657
11658         * gst/elements/Makefile.am:
11659         * gst/elements/gstcapsfilter.c: New element that acts like an
11660         identity, but filters caps.  Will eventually replace filtered
11661         caps in pad linking.
11662         * gst/gstutils.c: (gst_element_create_all_pads): New function
11663         to create all the ALWAYS pads that are registered with an
11664         element class.  This functionality should eventually be
11665         merged in with GstElement initialization.
11666         * gst/gstutils.h:
11667         * testsuite/trigger/README: part of trigger test code that should
11668         have been checked in a long time ago.
11669
11670 2005-04-23  David Schleef  <ds@schleef.org>
11671
11672         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11673         needed with new versions of libtool (nobody will confirm this),
11674         and hard to carry around.
11675         * gst/autoplug/Makefile.am:
11676         * gst/base/Makefile.am:
11677         * gst/elements/Makefile.am:
11678         * gst/indexers/Makefile.am:
11679         * gst/schedulers/Makefile.am:
11680         * libs/gst/bytestream/Makefile.am:
11681         * libs/gst/control/Makefile.am:
11682         * libs/gst/dataprotocol/Makefile.am:
11683         * libs/gst/getbits/Makefile.am:
11684
11685 2005-04-21  Wim Taymans  <wim@fluendo.com>
11686
11687         * docs/design/draft-push-pull.txt:
11688         * docs/design/part-MT-refcounting.txt:
11689         * docs/design/part-TODO.txt:
11690         * docs/design/part-caps.txt:
11691         * docs/design/part-events.txt:
11692         * docs/design/part-gstbus.txt:
11693         * docs/design/part-gstpipeline.txt:
11694         * docs/design/part-messages.txt:
11695         * docs/design/part-push-pull.txt:
11696         * docs/design/part-query.txt:
11697         Some more docs.
11698
11699 2005-04-21  Wim Taymans  <wim@fluendo.com>
11700
11701         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11702         (gst_message_new), (gst_message_new_error),
11703         (gst_message_new_warning), (gst_message_new_tag),
11704         (gst_message_new_state_changed), (gst_message_new_application),
11705         (gst_message_get_structure):
11706         * gst/gstmessage.h:
11707         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11708         (gst_structure_copy_conditional):
11709         Use parent refcount in GstMessage to ensure GstStructure
11710         consistency.
11711         Cleaned up headers a bit.
11712         
11713
11714 2005-04-20  Wim Taymans  <wim@fluendo.com>
11715
11716         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11717         (gst_basesink_pad_getcaps), (gst_basesink_init),
11718         (gst_basesink_chain_unlocked):
11719         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11720         (gst_type_find_helper):
11721         * gst/elements/gsttypefindelement.c:
11722         (gst_type_find_element_have_type), (gst_type_find_element_init),
11723         (stop_typefinding), (gst_type_find_element_handle_event),
11724         (find_suggest), (gst_type_find_element_chain),
11725         (gst_type_find_element_checkgetrange),
11726         (gst_type_find_element_getrange), (do_typefind),
11727         (gst_type_find_element_activate):
11728         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11729         (gst_buffer_default_free), (gst_buffer_default_copy),
11730         (gst_buffer_set_caps):
11731         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11732         (gst_caps_replace):
11733         * gst/gstmessage.c: (gst_message_new),
11734         (gst_message_new_state_changed):
11735         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11736         (gst_pad_set_checkgetrange_function),
11737         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11738         (gst_pad_set_caps), (gst_pad_check_pull_range),
11739         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11740         * gst/gstpad.h:
11741         * gst/gsttypefind.c: (gst_type_find_register):
11742         Make gst_caps_replace() work like other _replace() functions.
11743         Use _caps_replace() where possible.
11744         Make sure _message_new() initialises its field.
11745         Add gst_static_pad_template_get_caps()
11746
11747
11748 2005-04-18  Andy Wingo  <wingo@pobox.com>
11749
11750         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11751         on the peer, not the pad. I think that was a typo. Pass an extra
11752         arg to see if random access is possible. Activate the pads as
11753         PULL_RANGE if possible.
11754
11755         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11756
11757         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11758         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11759         to PROP_....
11760
11761 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11762
11763         * docs/faq/using.xml:
11764           Add note on gstreamer-properties (#154996).
11765
11766 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11767
11768         * docs/random/bbb/optional-properties:
11769           Some analysis on optional properties.
11770
11771 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11772
11773         * docs/gst/tmpl/gstelementfactory.sgml:
11774         * gst/gstelement.h:
11775         * gst/gstelementfactory.c: (gst_element_factory_init),
11776         (gst_element_factory_cleanup), (gst_element_register),
11777         (__gst_element_factory_add_static_pad_template),
11778         (gst_element_factory_get_static_pad_templates),
11779         (gst_element_factory_can_src_caps),
11780         (gst_element_factory_can_sink_caps):
11781         * gst/registries/Makefile.am:
11782         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11783         (gst_xml_registry_class_init), (gst_xml_registry_init),
11784         (gst_xml_registry_new), (gst_xml_registry_set_property),
11785         (gst_xml_registry_get_property), (get_time), (make_dir),
11786         (gst_xml_registry_get_perms_func),
11787         (plugin_times_older_than_recurse), (plugin_times_older_than),
11788         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11789         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11790         (add_to_char_array), (read_string), (read_uint), (read_enum),
11791         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11792         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11793         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11794         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11795         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11796         (gst_xml_registry_rebuild):
11797         * gst/registries/gstlibxmlregistry.h:
11798         * tools/gst-compprep.c: (main):
11799         * tools/gst-inspect.c: (print_pad_templates_info):
11800         * tools/gst-xmlinspect.c: (print_element_info):
11801           Use libxml2 for registry parsing, use staticpadtemplates in
11802           elementfactories. Makes gst_init() +/- 10x faster.
11803
11804 2005-04-12  Wim Taymans  <wim@fluendo.com>
11805
11806         * gst/base/Makefile.am:
11807         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11808         (gst_basesink_pad_getcaps), (gst_basesink_init),
11809         (gst_basesink_event), (gst_basesink_change_state):
11810         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11811         (gst_basesrc_init), (gst_basesrc_query),
11812         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11813         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11814         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11815         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11816         (gst_basesrc_stop), (gst_basesrc_activate),
11817         (gst_basesrc_change_state):
11818         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11819         (helper_find_suggest), (gst_type_find_helper):
11820         * gst/base/gsttypefindhelper.h:
11821         * gst/elements/Makefile.am:
11822         * gst/elements/gstelements.c:
11823         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11824         (gst_fakesink_get_times), (gst_fakesink_event),
11825         (gst_fakesink_preroll), (gst_fakesink_render):
11826         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11827         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11828         (gst_fakesrc_get_property), (gst_fakesrc_create),
11829         (gst_fakesrc_start), (gst_fakesrc_stop):
11830         * gst/elements/gstfakesrc.h:
11831         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11832         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11833         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11834         (gst_filesrc_create_read), (gst_filesrc_create),
11835         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11836         (gst_filesrc_start):
11837         * gst/elements/gsttypefindelement.c:
11838         (gst_type_find_element_have_type), (gst_type_find_element_init),
11839         (start_typefinding), (stop_typefinding), (push_buffer_store),
11840         (gst_type_find_element_handle_event),
11841         (gst_type_find_element_chain),
11842         (gst_type_find_element_checkgetrange),
11843         (gst_type_find_element_getrange), (do_typefind),
11844         (gst_type_find_element_activate),
11845         (gst_type_find_element_change_state):
11846         * gst/elements/gsttypefindelement.h:
11847         * gst/gstpipeline.c: (pipeline_bus_handler):
11848         Added typefind helper.
11849         Small preroll fix in the base sink.
11850         Disable typefind code in basesrc.
11851         Crude port of typefindelement.
11852         Fakesrc cleanups.
11853
11854
11855 2005-04-11  Wim Taymans  <wim@fluendo.com>
11856
11857         * check/gst/gstbus.c: (gstbus_suite):
11858         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11859         * check/gstcheck.h:
11860           Fix up the timeout so that the test does not fail.
11861
11862 2005-04-06  Wim Taymans  <wim@fluendo.com>
11863
11864         * gst/base/README:
11865         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11866         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11867         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11868         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11869         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11870         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11871         (gst_basesrc_stop), (gst_basesrc_activate),
11872         (gst_basesrc_change_state), (basesrc_find_peek),
11873         (basesrc_find_suggest), (gst_basesrc_type_find):
11874         * gst/base/gstbasesrc.h:
11875         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11876         (gst_filesrc_class_init), (gst_filesrc_init),
11877         (gst_filesrc_finalize), (gst_filesrc_set_location),
11878         (gst_filesrc_set_property), (gst_filesrc_get_property),
11879         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11880         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11881         (gst_filesrc_create_read), (gst_filesrc_create),
11882         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11883         * gst/elements/gstfilesrc.h:
11884         * gst/gstelement.c: (gst_element_get_state_func),
11885         (gst_element_lost_state), (gst_element_pads_activate):
11886         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11887         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11888         (gst_pad_pull_range):
11889         * gst/gstpad.h:
11890         More work on the generic source base class, implement seeking,
11891         query.
11892         Make filesrc extend the base source class.
11893         Added gst_pad_set_checkgetrange_function to GstPad.
11894
11895 2005-04-06  Andy Wingo  <wingo@pobox.com>
11896
11897         * pkgconfig/gstreamer-base.pc.in:
11898         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11899
11900         * pkgconfig/Makefile.am:
11901         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11902
11903 2005-04-04  Wim Taymans  <wim@fluendo.com>
11904
11905         * gst/base/Makefile.am:
11906         * gst/base/README:
11907         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11908         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11909         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11910         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11911         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11912         (gst_basesrc_base_init), (gst_basesrc_class_init),
11913         (gst_basesrc_init), (gst_basesrc_get_formats),
11914         (gst_basesrc_get_query_types), (gst_basesrc_query),
11915         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11916         (gst_basesrc_set_property), (gst_basesrc_get_property),
11917         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11918         (gst_basesrc_loop), (gst_basesrc_activate),
11919         (gst_basesrc_change_state):
11920         * gst/base/gstbasesrc.h:
11921         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11922         (gst_fakesrc_class_init), (gst_fakesrc_init),
11923         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11924         (gst_fakesrc_get_property), (gst_fakesrc_create):
11925         * gst/elements/gstfakesrc.h:
11926         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11927         (gst_filesrc_open_file), (gst_filesrc_loop),
11928         (gst_filesrc_activate), (filesrc_find_peek),
11929         (gst_filesrc_type_find):
11930         Made base source class, make fakesrc extend it.
11931         Add comments to basesink class.
11932         Some filesrc cleanup.
11933
11934 2005-03-31  David Schleef  <ds@schleef.org>
11935
11936         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11937         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11938         expected to link against libgstreamer.
11939         * gst/base/Makefile.am: link against libgstreamer
11940         * gst/elements/Makefile.am: same
11941
11942 2005-03-31  Andy Wingo  <wingo@pobox.com>
11943
11944         * tests/instantiate/Makefile.am:
11945         * tests/instantiate/caps.c: Add test to test speed of caps copy
11946         and free.
11947
11948         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11949         GMemChunk to be fair.
11950
11951         * gst/gsttrashstack.h: Remove warning about using the fallback
11952         trash stack implementation, it's still faster than malloc.
11953
11954 2005-03-30  Andy Wingo  <wingo@pobox.com>
11955
11956         * tests/complexity.c: Add a copyright.
11957
11958 2005-03-31  Wim Taymans  <wim@fluendo.com>
11959
11960         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11961         (gst_base_transform_class_init), (gst_base_transform_init),
11962         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11963         (gst_base_transform_get_property),
11964         (gst_base_transform_sink_activate),
11965         (gst_base_transform_src_activate),
11966         (gst_base_transform_change_state):
11967         * gst/base/gstbasetransform.h:
11968         * gst/elements/gstidentity.c: (gst_identity_class_init),
11969         (gst_identity_event), (gst_identity_check_perfect),
11970         (gst_identity_transform), (gst_identity_start),
11971         (gst_identity_stop):
11972         Added start/stop methods to transform base class so subclasses 
11973         don't need to deal with state changes even.
11974
11975 2005-03-31  Wim Taymans  <wim@fluendo.com>
11976
11977         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11978         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11979         * gst/gstevent.h:
11980         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11981         (gst_pad_pull_range):
11982         Added rate to the discont event to prepare for variable speed
11983         and reverse playback.
11984
11985 2005-03-29  David Schleef  <ds@schleef.org>
11986
11987         * configure.ac:
11988         * testsuite/trigger/Makefile.am:
11989         * testsuite/trigger/trigger.c: A little example program to show
11990         how trigger-based elements can work.
11991
11992 2005-03-29  Wim Taymans  <wim@fluendo.com>
11993
11994         * gst/base/Makefile.am:
11995         * gst/base/README:
11996         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11997         (gst_basesink_base_init), (gst_basesink_class_init),
11998         (gst_basesink_pad_getcaps), (gst_basesink_init),
11999         (gst_basesink_activate), (gst_basesink_change_state):
12000         * gst/base/gstbasesink.h:
12001         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12002         (gst_base_transform_base_init), (gst_base_transform_finalize),
12003         (gst_base_transform_class_init), (gst_base_transform_init),
12004         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12005         (gst_base_transform_event), (gst_base_transform_getrange),
12006         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12007         (gst_base_transform_set_property),
12008         (gst_base_transform_get_property),
12009         (gst_base_transform_sink_activate),
12010         (gst_base_transform_src_activate),
12011         (gst_base_transform_change_state):
12012         * gst/base/gstbasetransform.h:
12013         * gst/elements/gstidentity.c: (gst_identity_finalize),
12014         (gst_identity_class_init), (gst_identity_init),
12015         (gst_identity_event), (gst_identity_check_perfect),
12016         (gst_identity_transform), (gst_identity_set_property),
12017         (gst_identity_get_property), (gst_identity_change_state):
12018         * gst/elements/gstidentity.h:
12019         * gst/gstelement.c: (gst_element_get_state_func),
12020         (gst_element_lost_state), (gst_element_pads_activate):
12021         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12022         (gst_pad_check_pull_range), (gst_pad_pull_range):
12023         * gst/gstpad.h:
12024         Simplify pad activation.
12025         Added function to check if pull_range can be performed.
12026         Error out when pulling inactive or flushing pads.
12027         Removed const from refcounted types as it does not make sense.
12028         Simplify pad templates in basesink
12029         Added base class for simple 1-to-1 transforms.
12030         Make identity subclass the base transform.
12031
12032 2005-03-29  Andy Wingo  <wingo@pobox.com>
12033
12034         * docs/libs/gstreamer-libs-overrides.txt: 
12035         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12036         really don't understand what's going on, but like whatever. I want
12037         green buildbot!
12038
12039         * docs/gst/Makefile.am:
12040         * docs/libs/Makefile.am: Dist the overrides files.
12041
12042         * check/Makefile.am (clean-local): Remove .libs directories.
12043
12044         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12045         elements to EXTRA_DIST, so po/ files are happy.
12046
12047         * po/POTFILES.in: Er, remove it here.
12048
12049         * po/POTFILES: Remove gstspider.c.
12050
12051         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12052
12053         * docs/libs/gstreamer-libs-docs.sgml: 
12054         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12055         bytestream.
12056
12057         * tests/complexity.c (main): Set the length of the preroll queue
12058         on the sinks to prevent a lockup.
12059
12060         * libs/gst/dataprotocol/Makefile.am: 
12061         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12062         the same as the one in check/gst-libs/gdp.c.
12063
12064         * po/, docs/gst/: Commit automatic changes to docs and po files.
12065
12066         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12067         the versioned libgstbase.
12068
12069         * check/Makefile.am: Depend on an unversioned gst-register, seems
12070         to make autoconf happier.
12071
12072         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12073
12074 2005-03-28  Wim Taymans  <wim@fluendo.com>
12075
12076         * configure.ac:
12077         * docs/design/part-gstelement.txt:
12078         * docs/design/part-negotiation.txt:
12079         * docs/design/part-preroll.txt:
12080         * docs/design/part-scheduling.txt:
12081         * docs/design/part-states.txt:
12082         * gst/Makefile.am:
12083         * gst/base/Makefile.am:
12084         * gst/base/README:
12085         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12086         (gst_basesink_base_init), (gst_basesink_class_init),
12087         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12088         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12089         (gst_basesink_set_pad_functions),
12090         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12091         (gst_basesink_set_property), (gst_basesink_get_property),
12092         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12093         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12094         (gst_basesink_preroll_queue_push),
12095         (gst_basesink_preroll_queue_empty),
12096         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12097         (gst_basesink_event), (gst_basesink_get_times),
12098         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12099         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12100         (gst_basesink_loop), (gst_basesink_activate),
12101         (gst_basesink_change_state):
12102         * gst/base/gstbasesink.h:
12103         * gst/elements/Makefile.am:
12104         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12105         (gst_fakesink_class_init), (gst_fakesink_init),
12106         (gst_fakesink_set_property), (gst_fakesink_get_property),
12107         (gst_fakesink_get_times), (gst_fakesink_event),
12108         (gst_fakesink_preroll), (gst_fakesink_render),
12109         (gst_fakesink_change_state):
12110         * gst/elements/gstfakesink.h:
12111         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12112         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12113         * gst/gstelement.c: (gst_element_add_pad),
12114         (gst_element_get_state_func), (gst_element_abort_state),
12115         (gst_element_commit_state), (gst_element_lost_state),
12116         (gst_element_set_state), (gst_element_pads_activate):
12117         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12118         * gst/gstpipeline.c: (gst_pipeline_send_event),
12119         (gst_pipeline_change_state):
12120         Added state change code.
12121         Added/updated docs.
12122         Added sink base class, make fakesink extend the base class.
12123         Small cleanups in GstPipeline.
12124
12125 2005-03-26  David Schleef  <ds@schleef.org>
12126
12127         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12128         is broken and should be implemented in a different library.
12129         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12130         * gst/gst.h: remove gstcpu.h
12131         * gst/gstcpu.c: remove
12132         * gst/gstcpu.h: remove
12133         * gst/Makefile.am.future: Remove this file.  It's ancient.
12134
12135 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12136
12137         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12138         (gst_bin_send_event):
12139           Add default event/set_manager handlers. The set_manager handler
12140           takes care that the manager is distributed over kids that were
12141           already in the bin before the manager was set. The event handler
12142           is a utility virtual function that sends the event over all sinks,
12143           so that gst_element_send_event (bin, event); has the expected
12144           behaviour.
12145         * gst/gstpad.c: (gst_pad_event_default):
12146           Re-install default event handling for discontinuities, so that
12147           seeking works without requiring hacks in applications or extra
12148           code in sinks.
12149         * gst/gstpipeline.c: (gst_pipeline_class_init),
12150         (gst_pipeline_send_event):
12151           Half hack, half utility: set a pipeline to PAUSED for seek events,
12152           since that is the only way we can guarantee a/v sync. Means that
12153           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12154           and it "just works".
12155
12156 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12157
12158         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12159           Lock/unlock mismatch.
12160
12161 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12162
12163         * docs/faq/gst-uninstalled:
12164           add gst-plugins-base
12165         * docs/gst/Makefile.am:
12166           don't error out until docs are fixed
12167         * docs/gst/gstreamer.types:
12168           remove thread
12169
12170 2005-03-22  Wim Taymans  <wim@fluendo.com>
12171
12172         * check/Makefile.am:
12173         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12174         * gst/gststructure.c: (gst_structure_set_valist),
12175         (gst_structure_copy_conditional):
12176         Activated more tests.
12177         Added message test.
12178         Added G_TYPE_POINTER to GstStructure.
12179         
12180
12181 2005-03-22  Wim Taymans  <wim@fluendo.com>
12182
12183         * docs/design/part-TODO.txt:
12184         * docs/design/part-events.txt:
12185         * docs/design/part-gstbin.txt:
12186         * docs/design/part-gstbus.txt:
12187         * docs/design/part-gstpipeline.txt:
12188         * docs/design/part-messages.txt:
12189         * gst/gstbus.c:
12190         * gst/gstmessage.c:
12191         Docs updates
12192
12193 2005-03-21  Wim Taymans  <wim@fluendo.com>
12194
12195         * gst/gstbus.c: (gst_bus_post):
12196         Fix copy-and-paste error.
12197
12198 2005-03-21  Wim Taymans  <wim@fluendo.com>
12199
12200         * check/Makefile.am:
12201         * gst/Makefile.am:
12202         * gst/elements/Makefile.am:
12203         * gst/elements/gstelements.c:
12204         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12205         (gst_fakesink_event), (gst_fakesink_chain):
12206         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12207         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12208         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12209         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12210         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12211         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12212         (gst_fakesrc_loop), (gst_fakesrc_activate),
12213         (gst_fakesrc_change_state):
12214         * gst/elements/gstfakesrc.h:
12215         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12216         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12217         (gst_filesrc_open_file), (gst_filesrc_loop),
12218         (gst_filesrc_activate), (gst_filesrc_change_state),
12219         (filesrc_find_peek), (filesrc_find_suggest),
12220         (gst_filesrc_type_find):
12221         * gst/elements/gstidentity.c: (gst_identity_finalize),
12222         (gst_identity_class_init), (gst_identity_init),
12223         (gst_identity_proxy_getcaps), (identity_queue_push),
12224         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12225         (gst_identity_getrange), (gst_identity_chain),
12226         (gst_identity_sink_loop), (gst_identity_src_loop),
12227         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12228         (gst_identity_set_property), (gst_identity_get_property),
12229         (gst_identity_change_state):
12230         * gst/elements/gstidentity.h:
12231         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12232         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12233         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12234         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12235         (gst_tee_sink_activate):
12236         * gst/elements/gsttee.h:
12237         * gst/gst.c: (gst_register_core_elements), (init_post):
12238         * gst/gst.h:
12239         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12240         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12241         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12242         (gst_bin_change_state):
12243         * gst/gstbin.h:
12244         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12245         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12246         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12247         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12248         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12249         (bus_watch_callback), (bus_watch_destroy),
12250         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12251         (poll_timeout), (gst_bus_poll):
12252         * gst/gstbus.h:
12253         * gst/gstcaps.h:
12254         * gst/gstdata.h:
12255         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12256         (gst_element_post_message), (gst_element_message_full),
12257         (gst_element_get_state_func), (gst_element_get_state),
12258         (gst_element_abort_state), (gst_element_commit_state),
12259         (gst_element_lost_state), (gst_element_set_state),
12260         (gst_element_pads_activate), (gst_element_change_state),
12261         (gst_element_dispose), (gst_element_set_manager_func),
12262         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12263         (gst_element_set_manager), (gst_element_get_manager),
12264         (gst_element_set_bus), (gst_element_get_bus),
12265         (gst_element_set_scheduler), (gst_element_get_scheduler):
12266         * gst/gstelement.h:
12267         * gst/gstevent.c: (gst_event_new_segment_seek),
12268         (gst_event_new_flush):
12269         * gst/gstevent.h:
12270         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12271         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12272         (gst_message_new_eos), (gst_message_new_error),
12273         (gst_message_new_warning), (gst_message_new_tag),
12274         (gst_message_new_state_changed), (gst_message_new_application),
12275         (gst_message_get_structure), (gst_message_parse_tag),
12276         (gst_message_parse_state_changed), (gst_message_parse_error),
12277         (gst_message_parse_warning):
12278         * gst/gstmessage.h:
12279         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12280         (gst_real_pad_set_property), (gst_pad_set_active),
12281         (gst_pad_is_active), (gst_pad_set_blocked_async),
12282         (gst_pad_set_blocked), (gst_pad_is_blocked),
12283         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12284         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12285         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12286         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12287         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12288         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12289         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12290         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12291         (gst_pad_set_caps), (gst_pad_configure_sink),
12292         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12293         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12294         (gst_real_pad_dispose), (gst_real_pad_finalize),
12295         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12296         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12297         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12298         * gst/gstpad.h:
12299         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12300         (pipeline_bus_handler), (gst_pipeline_change_state),
12301         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12302         * gst/gstpipeline.h:
12303         * gst/gstprobe.h:
12304         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12305         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12306         (gst_queue_link_src), (gst_queue_bufferalloc),
12307         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12308         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12309         (gst_queue_loop), (gst_queue_handle_src_event),
12310         (gst_queue_handle_src_query), (gst_queue_src_activate),
12311         (gst_queue_change_state):
12312         * gst/gstqueue.h:
12313         * gst/gstscheduler.c: (gst_scheduler_init),
12314         (gst_scheduler_dispose), (gst_scheduler_create_task),
12315         (gst_scheduler_factory_create):
12316         * gst/gstscheduler.h:
12317         * gst/gststructure.c: (gst_structure_get_type),
12318         (gst_structure_copy_conditional):
12319         * gst/gststructure.h:
12320         * gst/gsttaginterface.h:
12321         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12322         (gst_task_init), (gst_task_dispose), (gst_task_create),
12323         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12324         (gst_task_pause):
12325         * gst/gsttask.h:
12326         * gst/gstthread.c:
12327         * gst/gstthread.h:
12328         * gst/gsttypes.h:
12329         * gst/schedulers/Makefile.am:
12330         * gst/schedulers/cothreads_compat.h:
12331         * gst/schedulers/entryscheduler.c:
12332         * gst/schedulers/faircothreads.c:
12333         * gst/schedulers/faircothreads.h:
12334         * gst/schedulers/fairscheduler.c:
12335         * gst/schedulers/gstbasicscheduler.c:
12336         * gst/schedulers/gstoptimalscheduler.c:
12337         * gst/schedulers/gthread-cothreads.h:
12338         * gst/schedulers/threadscheduler.c:
12339         (gst_thread_scheduler_task_get_type),
12340         (gst_thread_scheduler_task_class_init),
12341         (gst_thread_scheduler_task_init),
12342         (gst_thread_scheduler_task_start),
12343         (gst_thread_scheduler_task_stop),
12344         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12345         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12346         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12347         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12348         (plugin_init):
12349         * libs/gst/Makefile.am:
12350         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12351         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12352         (gst_file_pad_parent_set):
12353         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12354         (gst_dp_event_from_packet):
12355         * tests/complexity.c: (main):
12356         * tests/mass_elements.c: (main):
12357         * testsuite/states/locked.c: (message_received), (main):
12358         * testsuite/states/parent.c: (main):
12359         * tools/gst-inspect.c: (print_element_flag_info),
12360         (print_implementation_info), (print_pad_info):
12361         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12362         (main):
12363         * tools/gst-md5sum.c: (event_loop), (main):
12364         * tools/gst-typefind.c: (main):
12365         * tools/gst-xmlinspect.c: (print_element_info):
12366         Next big merge.
12367         Added GstBus for mainloop integration.
12368         Added GstMessage for sending notifications on the bus.
12369         Added GstTask as an abstraction for pipeline entry points.
12370         Removed GstThread.
12371         Removed Schedulers.
12372         Simplified GstQueue for multithreaded core.
12373         Made _link threadsafe, removed old capsnego.
12374         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12375         Added pad blocking functions.
12376         Reworked scheduling functions in GstPad to prepare for
12377         scheduling updates soon.
12378         Moved events out of data stream.
12379         Simplified GstEvent types.
12380         Added return values to push/pull.
12381         Removed clocking from GstElement.
12382         Added prototypes for state change function for next merge.
12383         Removed iterate from bins and state change management.
12384         Fixed some elements, disabled others for now.
12385         Fixed -inspect and -launch.
12386         Added check for GstBus.
12387
12388 2005-03-10  Wim Taymans  <wim@fluendo.com>
12389
12390         * docs/design/part-MT-refcounting.txt:
12391         * docs/design/part-clocks.txt:
12392         * docs/design/part-gstelement.txt:
12393         * docs/design/part-gstobject.txt:
12394         * docs/design/part-standards.txt:
12395         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12396         (gst_bin_remove_func), (gst_bin_remove):
12397         * gst/gstbin.h:
12398         * gst/gstbuffer.c:
12399         * gst/gstcaps.h:
12400         * testsuite/clock/clock1.c: (main):
12401         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12402         (main):
12403         * testsuite/dlopen/loadgst.c: (do_test):
12404         * testsuite/refcounting/bin.c: (add_remove_test1),
12405         (add_remove_test2), (main):
12406         * testsuite/refcounting/element.c: (main):
12407         * testsuite/refcounting/element_pad.c: (main):
12408         * testsuite/refcounting/pad.c: (main):
12409         * tools/gst-launch.c: (sigint_handler_sighandler):
12410         * tools/gst-typefind.c: (main):
12411         Doc updates.
12412         Added doc about clock.
12413         removed gst_bin_iterate_recurse_up(), marked methods
12414         for removal.
12415         Fix more testsuites.
12416
12417 2005-03-09  Wim Taymans  <wim@fluendo.com>
12418
12419         * gst/gstpad.c: (gst_pad_get_direction),
12420         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12421         (gst_pad_collect_valist):
12422         * testsuite/bins/interface.c: (main):
12423         * testsuite/caps/audioscale.c: (test_caps):
12424         * testsuite/caps/caps.c: (test1), (test2), (test3):
12425         * testsuite/caps/deserialize.c: (main):
12426         * testsuite/caps/enumcaps.c: (main):
12427         * testsuite/caps/filtercaps.c: (main):
12428         * testsuite/caps/intersect2.c: (main):
12429         * testsuite/caps/random.c: (main):
12430         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12431         * testsuite/caps/sets.c: (check_caps):
12432         * testsuite/caps/simplify.c: (check_caps), (main):
12433         * testsuite/caps/subtract.c: (check_caps):
12434         Fix _pad_get_direction wrt ghostpads.
12435         Fix caps testsuite.
12436
12437 2005-03-09  Wim Taymans  <wim@fluendo.com>
12438
12439         * check/Makefile.am:
12440         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12441         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12442         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12443         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12444         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12445         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12446         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12447         (bin_element_is_sink), (gst_bin_iterate_sinks),
12448         (gst_bin_iterate_all_by_interface):
12449         * gst/gstbin.h:
12450         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12451         (gst_element_change_state), (gst_element_dispose),
12452         (gst_element_finalize), (gst_element_set_loop_function):
12453         * gst/gstelement.h:
12454         * gst/gstiterator.c: (find_custom_fold_func):
12455         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12456         (gst_pad_collectv), (gst_pad_collect_valist),
12457         (gst_pad_template_new):
12458         * gst/gstpipeline.c: (gst_pipeline_class_init),
12459         (gst_pipeline_dispose), (gst_pipeline_set_property),
12460         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12461         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12462         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12463         * gst/gstutils.h:
12464         * gst/schedulers/entryscheduler.c:
12465         * gst/schedulers/gstbasicscheduler.c:
12466         (gst_basic_scheduler_cothreaded_chain),
12467         (gst_basic_scheduler_chain_add_element):
12468         * testsuite/bins/interface.c: (main):
12469         Added GstBin test.
12470         Added GstSystemClock test.
12471         Implemented clock distribution code in GstBin.
12472         Implemented iterate sinks method for future use.
12473         Rearranged gstelement.h
12474         Fix GstIterator comparison bug.
12475         Moved some code to GstPipeline, mostly clocking related.
12476
12477 2005-03-09  Wim Taymans  <wim@fluendo.com>
12478
12479         * configure.ac:
12480         * gst/gst_private.h:
12481         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12482         (gst_bin_remove_func), (gst_bin_remove),
12483         (gst_bin_get_by_name_recurse_up):
12484         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12485         (gst_clock_id_compare_func), (gst_clock_id_wait),
12486         (gst_clock_id_wait_async), (gst_clock_init),
12487         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12488         * gst/gstelement.h:
12489         * gst/gstinfo.c: (_gst_debug_init):
12490         * gst/gstobject.h:
12491         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12492         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12493         * gst/gstpad.h:
12494         Bump version number, we're now 0.9.0
12495         Add future debugging category.
12496         Fix NULL _unref() in _get_by_name_recurse_up
12497         Rearrange gstpad.h.
12498         Update some docs.
12499
12500 2005-03-08  Wim Taymans  <wim@fluendo.com>
12501
12502         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12503         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12504         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12505         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12506         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12507         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12508         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12509         * gst/elements/gstidentity.c: (gst_identity_class_init):
12510         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12511         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12512         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12513         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12514         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12515         (gst_tee_link):
12516         * gst/gstelement.c: (gst_element_class_init),
12517         (gst_element_base_class_init), (gst_element_init),
12518         (gst_element_get_random_pad), (gst_element_wait_state_change),
12519         (gst_element_change_state), (gst_element_dispose),
12520         (gst_element_finalize), (gst_element_set_loop_function):
12521         * gst/gstelement.h:
12522         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12523         * gst/gstthread.c: (gst_thread_class_init),
12524         (gst_thread_release_children_locks), (gst_thread_change_state):
12525         * gst/schedulers/gstbasicscheduler.c:
12526         (gst_basic_scheduler_loopfunc_wrapper),
12527         (gst_basic_scheduler_chain_wrapper),
12528         (gst_basic_scheduler_src_wrapper),
12529         (gst_basic_scheduler_remove_element):
12530         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12531         Remove threadsafe properties. Fix elements because GObject
12532         complains when installing a property before declaring a
12533         set/get_property handler.
12534         Rearrange gstelement.h file, use STATE macros for state locks.
12535         Free mutexes in the finalize method instead of dispose.
12536
12537 2005-03-08  Wim Taymans  <wim@fluendo.com>
12538
12539         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12540         * gst/gstthread.c: (gst_thread_release_children_locks):
12541         Added parentage check.
12542         Fix build og GstThread again.
12543
12544 2005-03-08  Wim Taymans  <wim@fluendo.com>
12545
12546         * docs/design/part-MT-refcounting.txt:
12547         * docs/design/part-conventions.txt:
12548         * docs/design/part-gstobject.txt:
12549         * docs/design/part-relations.txt:
12550         * docs/design/part-standards.txt:
12551         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12552         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12553         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12554         (gst_bin_iterate_all_by_interface):
12555         * gst/gstbuffer.h:
12556         * gst/gstclock.h:
12557         * gst/gstelement.c: (gst_element_class_init),
12558         (gst_element_change_state), (gst_element_set_loop_function):
12559         * gst/gstelement.h:
12560         * gst/gstiterator.c:
12561         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12562         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12563         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12564         (gst_object_set_parent), (gst_object_unparent),
12565         (gst_object_check_uniqueness):
12566         * gst/gstobject.h:
12567         Docs updates, clean up some headers.
12568
12569 2005-03-07  Wim Taymans  <wim@fluendo.com>
12570
12571         * check/.cvsignore:
12572         * check/Makefile.am:
12573         * check/gst-libs/.cvsignore:
12574         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12575         * check/gst/.cvsignore:
12576         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12577         (START_TEST), (gstbus_suite), (main):
12578         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12579         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12580         (gst_data_suite), (main):
12581         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12582         (add_fold_func), (gstiterator_suite), (main):
12583         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12584         (thread_name_object), (thread_name_object_default),
12585         (gst_object_name_compare), (gst_object_suite), (main):
12586         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12587         (gst_pad_suite), (main):
12588         * check/gstcheck.c: (gst_check_log_message_func),
12589         (gst_check_log_critical_func), (gst_check_init):
12590         * check/gstcheck.h:
12591         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12592         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12593         Added checks.
12594
12595 2005-03-07  Wim Taymans  <wim@fluendo.com>
12596
12597         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12598         (gst_list_iterator_next), (gst_list_iterator_resync),
12599         (gst_list_iterator_free), (gst_iterator_new_list),
12600         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12601         (gst_iterator_free), (gst_iterator_push), (filter_next),
12602         (filter_resync), (filter_uninit), (filter_free),
12603         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12604         (gst_iterator_foreach), (find_custom_fold_func),
12605         (gst_iterator_find_custom):
12606         * gst/gstiterator.h:
12607         Added missing files.
12608
12609 2005-03-07  Wim Taymans  <wim@fluendo.com>
12610
12611         * Makefile.am:
12612         * configure.ac:
12613         * docs/design/part-MT-refcounting.txt:
12614         * docs/design/part-conventions.txt:
12615         * docs/design/part-gstobject.txt:
12616         * docs/design/part-relations.txt:
12617         * examples/mixer/mixer.c: (main):
12618         * examples/thread/thread.c: (eos), (main):
12619         * gst/Makefile.am:
12620         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12621         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12622         (gst_spider_plug_from_srcpad):
12623         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12624         (gst_spider_identity_change_state),
12625         (gst_spider_identity_sink_loop_type_finding):
12626         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12627         * gst/elements/gstidentity.c: (gst_identity_init):
12628         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12629         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12630         * gst/elements/gsttypefindelement.c: (free_entry):
12631         * gst/gst.c:
12632         * gst/gst.h:
12633         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12634         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12635         (gst_bin_set_index), (gst_bin_set_element_sched),
12636         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12637         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12638         (gst_bin_iterate_elements), (iterate_child_recurse),
12639         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12640         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12641         (compare_interface), (gst_bin_get_by_interface),
12642         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12643         * gst/gstbin.h:
12644         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12645         (gst_buffer_default_free), (gst_buffer_default_copy),
12646         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12647         (gst_buffer_create_sub):
12648         * gst/gstbuffer.h:
12649         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12650         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12651         (gst_caps_unref), (gst_static_caps_get),
12652         (gst_caps_remove_and_get_structure), (gst_caps_append),
12653         (gst_caps_append_structure), (gst_caps_remove_structure),
12654         (gst_caps_copy_nth), (gst_caps_set_simple),
12655         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12656         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12657         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12658         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12659         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12660         (gst_caps_structure_figure_out_union),
12661         (gst_caps_switch_structures), (gst_caps_do_simplify),
12662         (gst_caps_replace), (gst_caps_from_string),
12663         (gst_caps_copy_conditional):
12664         * gst/gstcaps.h:
12665         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12666         (_gst_clock_id_free), (gst_clock_id_unref),
12667         (gst_clock_id_compare_func), (gst_clock_id_wait),
12668         (gst_clock_id_wait_async), (gst_clock_class_init),
12669         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12670         (gst_clock_get_time), (gst_clock_set_time_adjust),
12671         (gst_clock_set_property), (gst_clock_get_property):
12672         * gst/gstclock.h:
12673         * gst/gstcompat.h:
12674         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12675         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12676         * gst/gstdata.h:
12677         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12678         (gst_element_requires_clock), (gst_element_provides_clock),
12679         (gst_element_set_clock), (gst_element_clock_wait),
12680         (gst_element_wait), (gst_element_set_time_delay),
12681         (gst_element_is_indexable), (gst_element_add_pad),
12682         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12683         (pad_compare_name), (gst_element_get_static_pad),
12684         (gst_element_request_pad), (gst_element_get_request_pad),
12685         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12686         (gst_element_class_get_pad_template_list),
12687         (gst_element_class_get_pad_template), (gst_element_error_func),
12688         (gst_element_get_random_pad), (gst_element_get_event_masks),
12689         (gst_element_send_event), (gst_element_seek),
12690         (gst_element_get_query_types), (gst_element_query),
12691         (gst_element_get_formats), (gst_element_convert),
12692         (gst_element_is_locked_state), (gst_element_set_locked_state),
12693         (gst_element_sync_state_with_parent), (gst_element_change_state),
12694         (gst_element_finalize), (gst_element_yield),
12695         (gst_element_interrupt), (gst_element_set_scheduler),
12696         (gst_element_get_scheduler), (gst_element_set_loop_function):
12697         * gst/gstelement.h:
12698         * gst/gstevent.h:
12699         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12700         (gst_format_get_by_nick), (gst_format_get_details),
12701         (gst_format_iterate_definitions):
12702         * gst/gstformat.h:
12703         * gst/gstindex.c: (gst_index_gtype_resolver):
12704         * gst/gstinfo.c:
12705         * gst/gstinfo.h:
12706         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12707         (gst_mem_chunk_free):
12708         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12709         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12710         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12711         (gst_object_dispatch_properties_changed),
12712         (gst_object_set_name_default), (gst_object_set_name),
12713         (gst_object_get_name), (gst_object_set_name_prefix),
12714         (gst_object_get_name_prefix), (gst_object_set_parent),
12715         (gst_object_get_parent), (gst_object_unparent),
12716         (gst_object_check_uniqueness), (gst_object_save_thyself),
12717         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12718         (gst_object_set_property), (gst_object_get_property),
12719         (gst_object_get_path_string):
12720         * gst/gstobject.h:
12721         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12722         (gst_real_pad_init), (gst_real_pad_get_property),
12723         (gst_pad_custom_new), (gst_pad_get_direction),
12724         (gst_pad_set_active), (gst_pad_is_active),
12725         (gst_pad_set_event_function), (gst_pad_is_linked),
12726         (gst_pad_link_free), (gst_pad_link_intersect),
12727         (gst_pad_link_fixate), (gst_pad_set_caps),
12728         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12729         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12730         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12731         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12732         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12733         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12734         (gst_pad_realize), (gst_pad_get_allowed_caps),
12735         (gst_real_pad_dispose), (gst_real_pad_finalize),
12736         (gst_pad_collectv), (gst_pad_collect_valist),
12737         (gst_pad_template_dispose), (gst_pad_template_new),
12738         (gst_pad_get_internal_links):
12739         * gst/gstpad.h:
12740         * gst/gstpipeline.c: (gst_pipeline_dispose),
12741         (gst_pipeline_change_state):
12742         * gst/gstpipeline.h:
12743         * gst/gstplugin.c:
12744         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12745         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12746         * gst/gstpluginfeature.h:
12747         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12748         * gst/gstquery.c: (_gst_query_type_initialize),
12749         (gst_query_type_register), (gst_query_type_get_by_nick),
12750         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12751         * gst/gstquery.h:
12752         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12753         * gst/gstscheduler.c: (gst_scheduler_add_element),
12754         (gst_scheduler_factory_create):
12755         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12756         (gst_structure_free), (gst_structure_set_name),
12757         (gst_structure_id_set_value), (gst_structure_set_value),
12758         (gst_structure_set_valist), (gst_structure_remove_field),
12759         (gst_structure_remove_fields),
12760         (gst_structure_remove_fields_valist),
12761         (gst_structure_remove_all_fields), (gst_structure_foreach),
12762         (gst_structure_map_in_place),
12763         (gst_caps_structure_fixate_field_nearest_int),
12764         (gst_caps_structure_fixate_field_nearest_double):
12765         * gst/gststructure.h:
12766         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12767         (gst_system_clock_init), (gst_system_clock_dispose),
12768         (gst_system_clock_async_thread),
12769         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12770         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12771         * gst/gstsystemclock.h:
12772         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12773         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12774         * gst/gsttaginterface.c:
12775         * gst/gstthread.c: (gst_thread_dispose),
12776         (gst_thread_release_children_locks), (gst_thread_change_state),
12777         (gst_thread_main_loop):
12778         * gst/gsttrashstack.h:
12779         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12780         * gst/gsttypes.h:
12781         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12782         (gst_element_request_pad), (gst_element_get_pad_from_template),
12783         (gst_element_request_compatible_pad),
12784         (gst_element_get_compatible_pad_filtered),
12785         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12786         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12787         (gst_element_link_many), (gst_element_link),
12788         (gst_element_link_pads), (gst_element_unlink_pads),
12789         (gst_element_unlink_many), (gst_element_unlink),
12790         (gst_pad_can_link_filtered), (gst_pad_can_link),
12791         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12792         (gst_object_default_error), (gst_bin_add_many),
12793         (gst_bin_remove_many), (gst_element_populate_std_props),
12794         (gst_element_class_install_std_props), (gst_buffer_merge),
12795         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12796         (link_fold_func), (gst_pad_proxy_setcaps):
12797         * gst/gstutils.h:
12798         * gst/gstvalue.c: (gst_value_deserialize_string):
12799         * gst/parse/grammar.y:
12800         * gst/schedulers/gstbasicscheduler.c:
12801         (gst_basic_scheduler_cothreaded_chain),
12802         (gst_basic_scheduler_chain_recursive_add),
12803         (gst_basic_scheduler_pad_link):
12804         * gst/schedulers/gstoptimalscheduler.c:
12805         (get_group_schedule_function),
12806         (gst_opt_scheduler_state_transition),
12807         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12808         * libs/gst/bytestream/bytestream.c:
12809         * libs/gst/dataprotocol/dataprotocol.c:
12810         (gst_dp_header_from_buffer):
12811         * po/nb.po:
12812         * po/ru.po:
12813         * tests/threadstate/threadstate2.c: (eos):
12814         * tools/gst-compprep.c: (main):
12815         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12816         (print_pad_info), (print_children_info):
12817         * tools/gst-launch.c: (idle_func), (main):
12818         * tools/gst-md5sum.c: (idle_func), (main):
12819         * tools/gst-xmlinspect.c: (print_element_info):
12820         First THREADED backport attempt, focusing on adding locks and
12821         making sure the API is threadsafe. Needs more work. More docs
12822         follow this week.
12823
12824 2005-02-24  Andy Wingo  <wingo@pobox.com>
12825
12826         * tests/bench-complexity.scm:
12827         * tests/complexity.gnuplot: New files, good for running complexity
12828         benchmarks.
12829
12830         * tests/Makefile.am:
12831         * tests/complexity.c: New test, sets up N elements, at each level
12832         teeing into M streams per element. Eeeenteresting.
12833
12834         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12835         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12836         running bench-mass_elements.scm.
12837
12838         * tests/bench-mass_elements.scm: New script, runs mass_elements
12839         for various numbers of identities, outputting the results to a
12840         file. Requires guile 1.6. Just for testing.
12841
12842 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12843
12844         * gst/schedulers/fairscheduler.c:
12845           compile with debug disabled
12846
12847 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12848
12849         * configure.ac:
12850           hunting season on 0.9 is now OPEN