descend into tests
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * Makefile.am:
4         * configure.ac:
5           descend into tests
6         * docs/random/thomasvs/TODO:
7         * tests/Makefile.am:
8         * tests/README:
9           add a README
10
11 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12
13         * win32/GStreamer.vcproj:
14         * win32/MANIFEST:
15         * win32/Makefile:
16         * win32/Makefile.inspect:
17         * win32/Makefile.launch:
18         * win32/Makefile.register:
19         * win32/README.txt:
20         * win32/gst-inspect.vcproj:
21         * win32/gst-launch.vcproj:
22         * win32/gst-register.vcproj:
23         * win32/gstelements.vcproj:
24         * win32/gstgetbits.def:
25         * win32/gstgetbits.vcproj:
26         * win32/gstreamer-dbg.def:
27         * win32/gstreamer.def:
28         * win32/libgstbase.def:
29         * win32/libgstbase.vcproj:
30         * win32/link_oldruntime.c:
31         * win32/mman.c:
32         * win32/mman.h:
33         * win32/mman.inl:
34         * win32/msvc71.sln:
35           move even more stuff, win32/ is nice and clean now
36
37 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
38
39         * libs/gst/control/.cvsignore:
40         * win32/MANIFEST:
41         * win32/config.h:
42         * win32/dirent.c:
43         * win32/dirent.h:
44         * win32/gstbytestream.def:
45         * win32/gstbytestream.vcproj:
46         * win32/gstconfig.h:
47         * win32/gstenumtypes.c:
48         * win32/gstenumtypes.h:
49         * win32/gstoptimalscheduler.vcproj:
50         * win32/gstversion.h:
51         * win32/gtchar.h:
52         * win32/testsuite/bins.vcproj:
53         * win32/testsuite/bytestream.vcproj:
54         * win32/testsuite/caps.vcproj:
55         * win32/testsuite/cleanup.vcproj:
56         * win32/testsuite/clock.vcproj:
57         * win32/testsuite/debug.vcproj:
58         * win32/testsuite/dlopen.vcproj:
59         * win32/testsuite/dynparams.vcproj:
60         * win32/testsuite/elements.vcproj:
61         * win32/testsuite/ghostpads.vcproj:
62         * win32/testsuite/indexers.vcproj:
63         * win32/testsuite/negotiation.vcproj:
64         * win32/testsuite/parse.vcproj:
65         * win32/testsuite/plugin.vcproj:
66         * win32/testsuite/refcounting.vcproj:
67         * win32/testsuite/schedulers.vcproj:
68         * win32/testsuite/states.vcproj:
69         * win32/testsuite/tags.vcproj:
70         * win32/testsuite/threads.vcproj:
71           remove old win32 stuff that isn't maintained and should be
72           reorganized
73
74 2005-11-30  Andy Wingo  <wingo@pobox.com>
75
76         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
77         loading the gst.interfaces python module bork.
78
79         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
80         available since GLib 2.2. Fixes #318031.
81
82 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
83
84         * Makefile.am:
85         * check/.cvsignore:
86         * check/Makefile.am:
87         * check/elements/.cvsignore:
88         * check/elements/fakesrc.c:
89         * check/elements/fdsrc.c:
90         * check/elements/identity.c:
91         * check/generic/.cvsignore:
92         * check/generic/states.c:
93         * check/gst-libs/.cvsignore:
94         * check/gst-libs/controller.c:
95         * check/gst-libs/gdp.c:
96         * check/gst/.cvsignore:
97         * check/gst/capslist.h:
98         * check/gst/gst.c:
99         * check/gst/gstbin.c:
100         * check/gst/gstbuffer.c:
101         * check/gst/gstbus.c:
102         * check/gst/gstcaps.c:
103         * check/gst/gstelement.c:
104         * check/gst/gstevent.c:
105         * check/gst/gstghostpad.c:
106         * check/gst/gstiterator.c:
107         * check/gst/gstmessage.c:
108         * check/gst/gstminiobject.c:
109         * check/gst/gstobject.c:
110         * check/gst/gstpad.c:
111         * check/gst/gstpipeline.c:
112         * check/gst/gstplugin.c:
113         * check/gst/gstsegment.c:
114         * check/gst/gststructure.c:
115         * check/gst/gstsystemclock.c:
116         * check/gst/gsttag.c:
117         * check/gst/gstutils.c:
118         * check/gst/gstvalue.c:
119         * check/net/.cvsignore:
120         * check/net/gstnetclientclock.c:
121         * check/net/gstnettimeprovider.c:
122         * check/pipelines/.cvsignore:
123         * check/pipelines/cleanup.c:
124         * check/pipelines/simple_launch_lines.c:
125         * check/pipelines/stress.c:
126         * check/states/.cvsignore:
127         * check/states/sinks.c:
128         * configure.ac:
129         * examples/Makefile.am:
130         * examples/appreader/.cvsignore:
131         * examples/appreader/Makefile.am:
132         * examples/appreader/appreader.c:
133         * examples/controller/.cvsignore:
134         * examples/controller/Makefile.am:
135         * examples/controller/audio-example.c:
136         * examples/cutter/.cvsignore:
137         * examples/cutter/Makefile.am:
138         * examples/cutter/cutter.c:
139         * examples/cutter/cutter.h:
140         * examples/events/Makefile.am:
141         * examples/events/seek.c:
142         * examples/helloworld/.cvsignore:
143         * examples/helloworld/Makefile.am:
144         * examples/helloworld/helloworld.c:
145         * examples/helloworld2/.cvsignore:
146         * examples/helloworld2/Makefile.am:
147         * examples/helloworld2/helloworld2.c:
148         * examples/launch/.cvsignore:
149         * examples/launch/Makefile.am:
150         * examples/launch/mp3parselaunch.c:
151         * examples/launch/mp3play:
152         * examples/manual/.cvsignore:
153         * examples/manual/Makefile.am:
154         * examples/manual/extract.pl:
155         * examples/metadata/Makefile.am:
156         * examples/metadata/read-metadata.c:
157         * examples/mixer/.cvsignore:
158         * examples/mixer/Makefile.am:
159         * examples/mixer/mixer.c:
160         * examples/mixer/mixer.h:
161         * examples/pingpong/.cvsignore:
162         * examples/pingpong/Makefile.am:
163         * examples/pingpong/pingpong.c:
164         * examples/plugins/.cvsignore:
165         * examples/plugins/Makefile.am:
166         * examples/plugins/example.c:
167         * examples/plugins/example.h:
168         * examples/pwg/.cvsignore:
169         * examples/pwg/Makefile.am:
170         * examples/pwg/extract.pl:
171         * examples/queue/.cvsignore:
172         * examples/queue/Makefile.am:
173         * examples/queue/queue.c:
174         * examples/queue2/.cvsignore:
175         * examples/queue2/Makefile.am:
176         * examples/queue2/queue2.c:
177         * examples/queue3/.cvsignore:
178         * examples/queue3/Makefile.am:
179         * examples/queue3/queue3.c:
180         * examples/queue4/.cvsignore:
181         * examples/queue4/Makefile.am:
182         * examples/queue4/queue4.c:
183         * examples/retag/.cvsignore:
184         * examples/retag/Makefile.am:
185         * examples/retag/retag.c:
186         * examples/retag/transcode.c:
187         * examples/thread/.cvsignore:
188         * examples/thread/Makefile.am:
189         * examples/thread/thread.c:
190         * examples/typefind/.cvsignore:
191         * examples/typefind/Makefile.am:
192         * examples/typefind/typefind.c:
193         * examples/xml/.cvsignore:
194         * examples/xml/Makefile.am:
195         * examples/xml/createxml.c:
196         * examples/xml/runxml.c:
197         * tests/Makefile.am:
198         * tests/check/Makefile.am:
199         * testsuite/.cvsignore:
200         * testsuite/Makefile.am:
201         * testsuite/Rules:
202         * testsuite/caps/.cvsignore:
203         * testsuite/caps/Makefile.am:
204         * testsuite/caps/app_fixate.c:
205         * testsuite/caps/audioscale.c:
206         * testsuite/caps/caps.c:
207         * testsuite/caps/caps.h:
208         * testsuite/caps/caps_strings:
209         * testsuite/caps/compatibility.c:
210         * testsuite/caps/deserialize.c:
211         * testsuite/caps/enumcaps.c:
212         * testsuite/caps/eratosthenes.c:
213         * testsuite/caps/filtercaps.c:
214         * testsuite/caps/fixed.c:
215         * testsuite/caps/fraction-convert.c:
216         * testsuite/caps/fraction-multiply-and-zero.c:
217         * testsuite/caps/intersect2.c:
218         * testsuite/caps/intersection.c:
219         * testsuite/caps/normalisation.c:
220         * testsuite/caps/random.c:
221         * testsuite/caps/renegotiate.c:
222         * testsuite/caps/sets.c:
223         * testsuite/caps/simplify.c:
224         * testsuite/caps/string-conversions.c:
225         * testsuite/caps/structure.c:
226         * testsuite/caps/subtract.c:
227         * testsuite/caps/union.c:
228         * testsuite/debug/.cvsignore:
229         * testsuite/debug/Makefile.am:
230         * testsuite/debug/category.c:
231         * testsuite/debug/commandline.c:
232         * testsuite/debug/global.c:
233         * testsuite/debug/output.c:
234         * testsuite/debug/printf_extension.c:
235         * testsuite/dlopen/.cvsignore:
236         * testsuite/dlopen/Makefile.am:
237         * testsuite/dlopen/dlopen_gst.c:
238         * testsuite/dlopen/loadgst.c:
239         * testsuite/elements/.cvsignore:
240         * testsuite/elements/Makefile.am:
241         * testsuite/elements/gst-inspect-check.in:
242         * testsuite/elements/struct_i386.h:
243         * testsuite/elements/struct_size.c:
244         * testsuite/indexers/.cvsignore:
245         * testsuite/indexers/Makefile.am:
246         * testsuite/indexers/cache1.c:
247         * testsuite/indexers/indexdump.c:
248         * testsuite/parse/.cvsignore:
249         * testsuite/parse/Makefile.am:
250         * testsuite/parse/parse1.c:
251         * testsuite/parse/parse2.c:
252         * testsuite/plugin/.cvsignore:
253         * testsuite/plugin/Makefile.am:
254         * testsuite/plugin/README:
255         * testsuite/plugin/dynamic.c:
256         * testsuite/plugin/linked.c:
257         * testsuite/plugin/loading.c:
258         * testsuite/plugin/registry.c:
259         * testsuite/plugin/static.c:
260         * testsuite/plugin/static2.c:
261         * testsuite/plugin/testplugin.c:
262         * testsuite/plugin/testplugin2.c:
263         * testsuite/plugin/testplugin2_s.c:
264         * testsuite/plugin/testplugin_s.c:
265         * testsuite/refcounting/.cvsignore:
266         * testsuite/refcounting/Makefile.am:
267         * testsuite/refcounting/bin.c:
268         * testsuite/refcounting/element.c:
269         * testsuite/refcounting/element_pad.c:
270         * testsuite/refcounting/mainloop.c:
271         * testsuite/refcounting/mem.c:
272         * testsuite/refcounting/mem.h:
273         * testsuite/refcounting/object.c:
274         * testsuite/refcounting/pad.c:
275         * testsuite/refcounting/sched.c:
276         * testsuite/refcounting/thread.c:
277         * testsuite/states/.cvsignore:
278         * testsuite/states/Makefile.am:
279         * testsuite/states/bin.c:
280         * testsuite/states/locked.c:
281         * testsuite/states/parent.c:
282         * testsuite/threads/.cvsignore:
283         * testsuite/threads/159566.c:
284         * testsuite/threads/159852.c:
285         * testsuite/threads/Makefile.am:
286         * testsuite/threads/queue.c:
287         * testsuite/threads/signals.c:
288         * testsuite/threads/staticrec.c:
289         * testsuite/threads/thread.c:
290         * testsuite/threads/threadb.c:
291         * testsuite/threads/threadc.c:
292         * testsuite/threads/threadd.c:
293         * testsuite/threads/threade.c:
294         * testsuite/threads/threadf.c:
295         * testsuite/threads/threadg.c:
296         * testsuite/threads/threadh.c:
297         * testsuite/threads/threadi.c:
298           move all of these under tests
299
300 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
301
302         * configure.ac:
303         * tests/Makefile.am:
304           fix distcheck
305
306 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
307
308         * docs/gst/gstreamer-sections.txt:
309         * tests/sched/.cvsignore:
310         * tests/sched/Makefile.am:
311         * tests/sched/cases/(fs-fs).xml:
312         * tests/sched/cases/(fs-i-fs).xml:
313         * tests/sched/cases/(fs-i-i-fs).xml:
314         * tests/sched/cases/(fs-i-q[i-fs]).xml:
315         * tests/sched/dynamic-pipeline.c:
316         * tests/sched/interrupt1.c:
317         * tests/sched/interrupt2.c:
318         * tests/sched/interrupt3.c:
319         * tests/sched/runtestcases:
320         * tests/sched/runxml.c:
321         * tests/sched/sched-stress.c:
322         * tests/sched/sort.c:
323         * tests/sched/testcases:
324         * tests/sched/testcases1.tc:
325         * tests/seeking/.cvsignore:
326         * tests/seeking/Makefile.am:
327         * tests/seeking/seeking1.c:
328         * tests/threadstate/.cvsignore:
329         * tests/threadstate/Makefile.am:
330         * tests/threadstate/test1.c:
331         * tests/threadstate/test2.c:
332         * tests/threadstate/threadstate1.c:
333         * tests/threadstate/threadstate2.c:
334         * tests/threadstate/threadstate3.c:
335         * tests/threadstate/threadstate4.c:
336         * tests/threadstate/threadstate5.c:
337           remove obsolete tests
338         * configure.ac:
339         * tests/bench-complexity.scm:
340         * tests/bench-mass_elements.scm:
341         * tests/complexity.c:
342         * tests/complexity.gnuplot:
343         * tests/instantiate/.cvsignore:
344         * tests/instantiate/Makefile.am:
345         * tests/instantiate/caps.c:
346         * tests/mass_elements.c:
347         * tests/network-clock-utils.scm:
348         * tests/network-clock.scm:
349         * tests/plot-data:
350         First pass at cleaning up tests/ dir before moving the rest
351         Combined with CVS surgery
352
353 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
354
355         * po/POTFILES.in:
356           queue has moved, update
357
358 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
359
360         * docs/gst/gstreamer-sections.txt:
361           remove double entries from the docs
362         * gst/gst_private.h:
363         * gst/gstinfo.c: (_gst_debug_init):
364           remove the THREAD debug category
365         * gst/Makefile.am:
366         * gst/gstqueue.c:
367         * gst/gstqueue.h:
368         * docs/gst/gstreamer.types:
369         * plugins/elements/gstqueue.c: (gst_queue_get_type),
370         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
371           completely move queue and fix up debugging categories
372
373 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
374
375         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
376           make initialization portable, using LL is not
377
378 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
379
380         * win32/common/gstconfig.h:
381           add large padding
382
383 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
384
385         * win32/common/libgstreamer.def:
386           rename symbols; sort base section
387
388 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
389
390         * gst/gstclock.c: (do_linear_regression):
391           remove crack non-portable handrolled DEBUG macro
392
393 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
394
395         * docs/random/release:
396           update notes
397         * win32/common/gstenumtypes.c: (register_gst_object_flags),
398         (gst_object_flags_get_type), (register_gst_bin_flags),
399         (gst_bin_flags_get_type), (register_gst_buffer_flag),
400         (gst_buffer_flag_get_type), (register_gst_bus_flags),
401         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
402         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
403         (gst_caps_flags_get_type), (register_gst_clock_return),
404         (gst_clock_return_get_type), (register_gst_clock_entry_type),
405         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
406         (gst_clock_flags_get_type), (register_gst_state),
407         (gst_state_get_type), (register_gst_state_change_return),
408         (gst_state_change_return_get_type), (register_gst_state_change),
409         (gst_state_change_get_type), (register_gst_element_flags),
410         (gst_element_flags_get_type), (register_gst_core_error),
411         (gst_core_error_get_type), (register_gst_library_error),
412         (gst_library_error_get_type), (register_gst_resource_error),
413         (gst_resource_error_get_type), (register_gst_stream_error),
414         (gst_stream_error_get_type), (register_gst_event_type_flags),
415         (gst_event_type_flags_get_type), (register_gst_event_type),
416         (gst_event_type_get_type), (register_gst_seek_type),
417         (gst_seek_type_get_type), (register_gst_seek_flags),
418         (gst_seek_flags_get_type), (register_gst_format),
419         (gst_format_get_type), (register_gst_index_certainty),
420         (gst_index_certainty_get_type), (register_gst_index_entry_type),
421         (gst_index_entry_type_get_type),
422         (register_gst_index_lookup_method),
423         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
424         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
425         (gst_index_resolver_method_get_type), (register_gst_index_flags),
426         (gst_index_flags_get_type), (register_gst_debug_level),
427         (gst_debug_level_get_type), (register_gst_debug_color_flags),
428         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
429         (gst_iterator_result_get_type), (register_gst_iterator_item),
430         (gst_iterator_item_get_type), (register_gst_message_type),
431         (gst_message_type_get_type), (register_gst_mini_object_flags),
432         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
433         (gst_pad_link_return_get_type), (register_gst_flow_return),
434         (gst_flow_return_get_type), (register_gst_activate_mode),
435         (gst_activate_mode_get_type), (register_gst_pad_direction),
436         (gst_pad_direction_get_type), (register_gst_pad_flags),
437         (gst_pad_flags_get_type), (register_gst_pad_presence),
438         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
439         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
440         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
441         (gst_plugin_error_get_type), (register_gst_plugin_flags),
442         (gst_plugin_flags_get_type), (register_gst_rank),
443         (gst_rank_get_type), (register_gst_query_type),
444         (gst_query_type_get_type), (register_gst_tag_merge_mode),
445         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
446         (gst_tag_flag_get_type), (register_gst_task_state),
447         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
448         (gst_alloc_trace_flags_get_type),
449         (register_gst_type_find_probability),
450         (gst_type_find_probability_get_type), (register_gst_uri_type),
451         (gst_uri_type_get_type), (register_gst_parse_error),
452         (gst_parse_error_get_type):
453         * win32/common/gstenumtypes.h:
454         * win32/common/gstversion.h:
455           update visual studio generated files
456
457 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
458
459         * win32/vs6/libgstbase.dsp:
460         * win32/vs6/libgstelements.dsp:
461           update project files for new locations
462
463 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
464
465         * Makefile.am:
466           remove some files
467         * README:
468           reinstate and update
469         * DEVEL:
470         * REQUIREMENTS:
471           removed
472         * LICENSE:
473         * docs/random/LICENSE:
474           moved to random
475
476 2005-11-30  Edward Hervey  <edward@fluendo.com>
477
478         * gst/gsttypefind.c: (gst_type_find_register):
479         * gst/gsttypefind.h:
480         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
481         (gst_type_find_factory_dispose):
482         * gst/gsttypefindfactory.h:
483         Fix memory leak in GstTypeFindFactory.
484
485 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
486
487         * gst/gst.c:
488         * plugins/elements/Makefile.am:
489         * plugins/elements/gstelements.c:
490         * plugins/elements/gstqueue.c:
491           move queue from core to the elements plugin
492
493 2005-11-29  Andy Wingo  <wingo@pobox.com>
494
495         * libs/gst/base/gstbasetransform.h: 
496         * libs/gst/base/gstbasesrc.h: 
497         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
498
499         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
500         of pointers by which to pad very extensible base classes (like the
501         ones in libs/gst/base).
502
503 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
504
505         * docs/gst/gstreamer-docs.sgml:
506         * docs/gst/gstreamer-sections.txt:
507         * docs/libs/gstreamer-libs-docs.sgml:
508         * docs/libs/gstreamer-libs-sections.txt:
509           moving documentation from core to lib
510
511 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
512
513         * check/Makefile.am:
514         * configure.ac:
515         * docs/gst/Makefile.am:
516         * gst/Makefile.am:
517         * gst/base/.cvsignore:
518         * gst/base/Makefile.am:
519         * gst/base/README:
520         * gst/base/gstadapter.c:
521         * gst/base/gstadapter.h:
522         * gst/base/gstbasesink.c:
523         * gst/base/gstbasesink.h:
524         * gst/base/gstbasesrc.c:
525         * gst/base/gstbasesrc.h:
526         * gst/base/gstbasetransform.c:
527         * gst/base/gstbasetransform.h:
528         * gst/base/gstcollectpads.c:
529         * gst/base/gstcollectpads.h:
530         * gst/base/gstpushsrc.c:
531         * gst/base/gstpushsrc.h:
532         * gst/base/gsttypefindhelper.c:
533         * gst/base/gsttypefindhelper.h:
534         * gst/check/Makefile.am:
535         * gst/check/gstcheck.c:
536         * gst/check/gstcheck.h:
537         * gst/net/Makefile.am:
538         * gst/net/gstnet.h:
539         * gst/net/gstnetclientclock.c:
540         * gst/net/gstnetclientclock.h:
541         * gst/net/gstnettimepacket.c:
542         * gst/net/gstnettimepacket.h:
543         * gst/net/gstnettimeprovider.c:
544         * gst/net/gstnettimeprovider.h:
545         * libs/gst/Makefile.am:
546         * libs/gst/base/Makefile.am:
547         * libs/gst/base/gstbasetransform.c:
548         * libs/gst/check/Makefile.am:
549         * plugins/elements/Makefile.am:
550         * po/POTFILES.in:
551           CVS surgery + support to move base, check, and net out of gst
552           and into libs/gst
553
554 2005-11-29  Andy Wingo  <wingo@pobox.com>
555
556         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
557
558         * gst/gststructure.h (struct _GstStructure): Only one pointer of
559         padding.
560
561         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
562
563         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
564
565         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
566
567         * gst/gstobject.h: (struct _GstObject): Only one pointer of
568         padding; reduces object size by about 30%. We don't expect
569         anything else to go into gstobject.
570
571         * gst/gstminiobject.h (struct _GstMiniObject)
572         (struct _GstMiniObjectClass): Only one pointer of padding; the
573         payload is only a pointer and two ints anyway. For the class there
574         are only two methods as well.
575         
576         * gst/gstelement.h (struct _GstElementClass): Removed
577         the state_changed signal callback, it is not used.
578
579 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
580
581         * docs/gst/gstreamer.types:
582           fix includes, though they are a little dinky
583
584 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
585
586         * check/Makefile.am:
587           look in the right place for elements, a lot more chance of
588           success
589         * gst/Makefile.am:
590           remove indexers and elements subdirs
591         * plugins/Makefile.am:
592           make indexers conditional
593
594 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
595
596         * Makefile.am:
597         * configure.ac:
598         * plugins/elements/Makefile.am:
599         * plugins/elements/gstcapsfilter.c:
600         * plugins/elements/gstfilesink.c:
601         * plugins/elements/gstfilesrc.c:
602         * plugins/elements/gstidentity.c:
603         * plugins/indexers/Makefile.am:
604           do CVS surgery and related build fixery to move elements
605           and indexers in a new gstreamer/plugins directory, out of the
606           gst/ directory
607
608 2005-11-29  Andy Wingo  <wingo@pobox.com>
609
610         * check/Makefile.am:
611         * pkgconfig/gstreamer-net-uninstalled.pc.in:
612         * pkgconfig/gstreamer-net.pc.in:
613         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
614         #322257.
615
616 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
617
618         * tools/Makefile.am:
619         * tools/gst-complete.1.in:
620         * tools/gst-complete.c:
621         * tools/gst-compprep.1.in:
622         * tools/gst-compprep.c:
623           removing -compprep and -complete
624
625 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
626
627         * gst/gstevent.c: (gst_event_new_new_segment),
628         (gst_event_parse_new_segment):
629         * gst/gstevent.h:
630           fix #320529 - clean up new_segment API and structure.
631           Let's hope everyone was using the methods, and not the structure.
632
633 2005-11-29  Edward Hervey  <edward@fluendo.com>
634
635         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
636         (gst_base_sink_event), (gst_base_sink_do_sync),
637         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
638         Properly handle non GST_FORMAT_TIME segment
639         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
640         Properly handle non GST_FORMAT_TIME segment
641         * gst/gstsegment.c:
642         This function is valid if the accumulator is 0 and the format
643         is different from the requested format.
644         
645 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
646
647         * docs/gst/gstreamer-sections.txt:
648         Add gst_query_new_seeking and gst_query_parse_seeking to the
649         docs.
650
651 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
652
653         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
654           Treat a pad alloc with new caps the same as if we were not
655           negotiated, in order to allow a changing upstream output
656           to produce a new format of data.
657
658 2005-11-29  Edward Hervey  <edward@fluendo.com>
659
660         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
661         (gst_base_transform_event), (gst_base_transform_eventfunc):
662         The event virtual method is now properly implemented, with a default
663         handler
664         Sub classes should call the parent_class event method. They should
665         return FALSE if they had a problem handling the given event, or don't
666         want GstBaseTransform to send that even downstream
667         * gst/elements/gstidentity.c: (gst_identity_class_init),
668         (gst_identity_init), (gst_identity_event),
669         (gst_identity_transform_ip), (gst_identity_set_property),
670         (gst_identity_get_property):
671         * gst/elements/gstidentity.h:
672         Added the single-segment boolean property.
673         If set to TRUE, it will output a single segment of data, starting from
674         0, will eat up all incoming newsegment, and modify the timestamp of the
675         buffers accordingly
676
677 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
678
679         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
680           Don't ref NULL target pad (#322751). Improve docs.
681
682 2005-11-29  Michael Smith  <msmith@fluendo.com>
683
684         * gst/gstregistryxml.c: (load_plugin):
685           Don't crash if we failed to load a feature from a plugin. 
686
687 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
688
689         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
690         (GST_START_TEST):
691           use more check API and less GLib API
692
693 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
694
695         * Makefile.am:
696           don't run checks if we don't have check
697         * common/check.mak:
698           remove the registry when running make torture
699         * docs/gst/gstreamer-sections.txt:
700           remove second multiply
701         * gst/gstqueue.c: (gst_queue_loop):
702           fix a compile warning when disabling debug
703
704 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
705
706         * gst/gstinfo.h:
707         Hey! Let's print the pad name if the pointer != NULL instead
708         of when it == NULL :-)
709
710 2005-11-28  Wim Taymans  <wim@fluendo.com>
711
712         * check/gst/gstutils.c: (GST_START_TEST):
713         Updated check, add some scaling accuracy checking code.
714
715         * gst/gstutils.c: (gst_util_div128_64),
716         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
717         (gst_util_uint64_scale_int):
718         Fix 6 times faster division code. Optimize for common 
719         1/1 and less common X/1 cases.
720
721 2005-11-28  Wim Taymans  <wim@fluendo.com>
722
723         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
724         More checks.
725
726         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
727         (do_linear_regression), (gst_clock_add_observation):
728         Cleanups.
729         Release lock when the clock cannot be slaved.
730         Catch the case where the regression returned an invalid denominator.
731
732         * gst/gstutils.c: (gst_util_div128_64_iterate),
733         (gst_util_div128_64), (gst_util_uint64_scale_int64),
734         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
735         Add protentially more performant non-iterative 128/64 divide function
736         that unfortunatly does not work yet.
737         Shortcut the trivial 0/X = 0 case.
738         Remove the warnings on overflow.
739
740 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
741
742         * gst/gstplugin.c: (gst_plugin_register_func):
743           everything causing a plugin not to load should be at least a WARNING
744
745 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
746
747         * docs/random/ensonic/dparams.txt:
748           some TODOs for the next dev cycle
749         * libs/gst/controller/gstcontroller.c:
750         (gst_controlled_property_set_interpolation_mode),
751         (gst_controlled_property_new):
752         * libs/gst/controller/gstcontroller.h:
753           use base type to assign acccessor functions
754
755 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
756
757         * check/Makefile.am:
758         Oops, that should have been top_srcdir
759
760 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
761
762         * check/Makefile.am:
763         * check/elements/fdsrc.c: (GST_START_TEST):
764         Use a cmdline define to specify the location of a file to use for
765         testing, to avoid breaking distcheck.
766
767 2005-11-28  Andy Wingo  <wingo@pobox.com>
768
769         * gst/gstpad.c (fixate_value): Use array functions for arrays.
770
771 2005-11-28  Edward Hervey  <edward@fluendo.com>
772
773         * tools/gst-launch.c: (main):
774         Clarify the output strings, makes it easier to translate.
775         Fixes #322626
776
777 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
778
779         * gst/Makefile.am:
780           don't try and build net if we don't even have <sys/socket.h>
781
782 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
783
784         * check/Makefile.am:
785         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
786         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
787           Add tests for fdsrc seekability
788
789         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
790         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
791         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
792         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
793         * gst/elements/gstfdsrc.h:
794           fdsrc should not be a 'live' source.
795           Implement seeking on seekable fd's.
796
797         * gst/gstquery.c: (gst_query_new_seeking),
798         (gst_query_parse_seeking):
799         * gst/gstquery.h:
800           Implement SEEKING query functions: 
801             *_new_seeking and *_parse_seeking
802
803 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
804
805         * gst/gstelement.c: (gst_element_dispose):
806           don't loop forever
807
808         * gst/gstiterator.c:
809         * gst/gststructure.c:
810           doc fixes
811
812         * libs/gst/controller/gstcontroller.c:
813         (gst_controlled_property_set_interpolation_mode):
814         * libs/gst/controller/gstcontroller.h:
815         * libs/gst/controller/gstinterpolation.c:
816         (interpolate_none_get_enum_value_array):
817           support controlling enums
818
819 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
820
821         * gst/gstvalue.c:
822           Improve documentation for gst_value_union().
823
824         * gst/gstvalue.h:
825           Change return value for union, intersect and subtract functions
826           from gint to gboolean.
827
828 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
829
830         * gst/gstvalue.c: (gst_value_serialize_any_list),
831         (gst_value_transform_any_list_string),
832         (gst_value_deserialize_list), (gst_value_deserialize_array),
833         (gst_value_set_int_range), (gst_value_deserialize_int_range),
834         (gst_value_set_double_range), (gst_value_deserialize_double_range),
835         (gst_value_set_fraction_range_full),
836         (gst_value_deserialize_fraction_range),
837         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
838         (gst_value_deserialize_boolean),
839         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
840         (gst_value_serialize_float), (gst_value_deserialize_float),
841         (gst_string_wrap), (gst_value_deserialize_string),
842         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
843         (gst_value_union_int_range_int_range),
844         (gst_value_intersect_int_range_int_range),
845         (gst_value_intersect_double_range_double_range),
846         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
847         (gst_value_subtract_int_range_int_range),
848         (gst_value_subtract_double_double_range),
849         (gst_value_subtract_double_range_double_range),
850         (gst_value_deserialize_fraction):
851         * gst/gstvalue.h:
852           Use gint, gdouble and gchar in our API instead of int, double and
853           char (and make usage in gstvalue.c more consistent).
854
855 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
856
857         * check/Makefile.am:
858         * libs/gst/controller/Makefile.am:
859         * libs/gst/dataprotocol/Makefile.am:
860           fix up Makefile.am and remove GST_ENABLE_NEW
861
862 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
863
864         * configure.ac:
865         * gst/Makefile.am:
866         * gst/base/Makefile.am:
867         * gst/check/Makefile.am:
868         * gst/elements/Makefile.am:
869         * gst/net/Makefile.am:
870           update LDFLAGS use some more
871
872 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
873
874         * common/m4/gst-doc.m4:
875           Fixes #312589
876
877 2005-11-26  Edward Hervey  <edward@fluendo.com>
878
879         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
880         This shouldn't issue a g_warning since it returns NULL if it
881         couldn't find the plugin, and all functions using this behave
882         properly on a NULL return. Switching to a GST_WARNING.
883
884 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
885
886         * gst/gstbin.c: (gst_bin_handle_message_func):
887         Don't leak clock messages.
888
889 2005-11-25  Wim Taymans  <wim@fluendo.com>
890
891         * gst/gstutils.c: (gst_util_uint64_scale_int64),
892         (gst_util_uint64_scale_int):
893         Optimisations, remove unneeded vars.
894
895 2005-11-25  Wim Taymans  <wim@fluendo.com>
896
897         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
898         Added more checks for the high precision uint64 cases.
899
900         * gst/gstutils.c: (gst_util_uint64_scale_int64),
901         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
902         Implement high precission (guint64 * guint64) / guint64.
903
904 2005-11-24  Wim Taymans  <wim@fluendo.com>
905
906         * gst/base/gstbasesrc.c: (gst_base_src_query):
907         Fix wrong percentage query.
908
909         * gst/gstutils.c: (gst_util_uint64_scale),
910         (gst_util_uint64_scale_int):
911         Add some more common cases that can be handled 
912         efficiently to _scale.
913
914 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
915
916         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
917         (gst_mini_object_suite):
918           don't use check calls from threads; check probably isn't
919           threadsafe and using a lock to make it threadsafe would
920           defeat the purpose of this check
921         * gst/check/gstcheck.c:
922         * gst/check/gstcheck.h:
923           use GST_DEBUG some more
924
925 2005-11-24  Wim Taymans  <wim@fluendo.com>
926
927         * gst/gstutils.c: (gst_util_uint64_scale),
928         (gst_util_uint64_scale_int):
929         Chain trivial case to _scale_int.
930
931 2005-11-24  Wim Taymans  <wim@fluendo.com>
932
933         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
934         Added test for scaling.
935
936         * gst/gstclock.h:
937         Small doc fix.
938
939         * gst/gstutils.c: (gst_util_uint64_scale_int):
940         Implemented high precision scaling code.
941
942 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
943
944         * gst/gstinfo.h:
945           do not crash on pad==NULL
946
947 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
948
949         Patch by: Stefan Kost
950
951         * common/gtk-doc.mak:
952         * docs/gst/Makefile.am:
953         * docs/libs/Makefile.am:
954           Fix distcheck issues for the libraries docs build
955           Closes #319599.
956
957 2005-11-24  Michael Smith <msmith@fluendo.com>
958
959         * docs/manual/basics-helloworld.xml:
960           Fix bug #315027: memory leak in example code in docs.
961
962 2005-11-24  Michael Smith <msmith@fluendo.com>
963
964         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
965           Unlock the PREROLL_LOCK in a failure case.
966
967 2005-11-24  Wim Taymans  <wim@fluendo.com>
968
969         * docs/gst/gstreamer-sections.txt:
970         * gst/base/gstadapter.h:
971         * gst/base/gstbasesink.h:
972         * gst/base/gstbasesrc.h:
973         * gst/base/gstbasetransform.h:
974         * gst/base/gstpushsrc.h:
975         * gst/elements/gstfakesink.h:
976         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
977         * gst/elements/gstfakesrc.h:
978         * gst/elements/gstfilesink.h:
979         * gst/elements/gstfilesrc.h:
980         * gst/gst.c:
981         * gst/gstbin.c:
982         * gst/gstbuffer.c: (_gst_buffer_copy):
983         * gst/gstbus.h:
984         * gst/gstcaps.c:
985         * gst/gstchildproxy.c:
986         * gst/gstclock.c:
987         * gst/gstelement.c:
988         * gst/gstelementfactory.c:
989         * gst/gstelementfactory.h:
990         * gst/gstevent.c:
991         * gst/gstghostpad.h:
992         * gst/gstindex.h:
993         * gst/gstinterface.h:
994         * gst/gstminiobject.c:
995         * gst/gstminiobject.h:
996         * gst/gstpad.c:
997         * gst/gstpad.h:
998         * gst/gstpadtemplate.h:
999         * gst/gstpipeline.h:
1000         * gst/gstpluginfeature.h:
1001         * gst/gstquery.h:
1002         * gst/gstqueue.h:
1003         * gst/gsttaglist.c:
1004         * gst/gsttaglist.h:
1005         * gst/gsttagsetter.c:
1006         * gst/gsttagsetter.h:
1007         * gst/gsttrace.c:
1008         * gst/gsttrace.h:
1009         * gst/gsttypefind.h:
1010         * gst/gsturi.h:
1011         * gst/gstvalue.c:
1012         * gst/net/gstnetclientclock.c:
1013         * gst/net/gstnetclientclock.h:
1014         * gst/net/gstnettimepacket.c:
1015         * gst/net/gstnettimeprovider.c:
1016         * gst/net/gstnettimeprovider.h:
1017         Doc fixes.
1018
1019 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1020
1021         * configure.ac: back to HEAD
1022
1023 === release 0.9.6 ===
1024
1025 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1026
1027         * configure.ac:
1028           releasing 0.9.6, "Always On Time"
1029
1030 2005-11-23  Wim Taymans  <wim@fluendo.com>
1031
1032         * docs/gst/gstreamer-sections.txt:
1033         * gst/glib-compat.c:
1034         * gst/gsttagsetter.c:
1035         * gst/gstvalue.c:
1036         * gst/net/gstnetclientclock.c:
1037         * gst/net/gstnettimepacket.h:
1038         Doc updates.
1039
1040 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1041
1042         * docs/faq/using.xml:
1043         * docs/libs/tmpl/gstcontrol.sgml:
1044         * docs/manual/advanced-dparams.xml:
1045         * docs/manual/appendix-checklist.xml:
1046         * docs/manual/basics-elements.xml:
1047         * docs/pwg/other-source.xml:
1048         * docs/random/moving-plugins:
1049         * gst/gstpad.c:
1050         * tools/gst-launch.1.in:
1051           remove mentions of sinesrc
1052
1053 2005-11-23  Michael Smith <msmith@fluendo.com>
1054
1055         * docs/gst/gstreamer-sections.txt:
1056           Update for new API and API changes.
1057         * gst/gstobject.h:
1058           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1059         * gst/gstvalue.c:
1060           Documentation typo fix.
1061         * gst/net/gstnettimepacket.c:
1062           Documentation fixes for arguments.
1063
1064 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1065
1066         * gst/gststructure.c: (gst_structure_get_fraction),
1067         (gst_structure_parse_value),
1068         (gst_structure_fixate_field_nearest_fraction):
1069         * gst/gststructure.h:
1070         * gst/gstutils.c: (gst_util_uint64_scale_int):
1071         * gst/gstutils.h:
1072         * scripts/update-funcnames:
1073         API Changes. 
1074         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1075         Make gst_structure_fixate_field_nearest_fraction take a numerator
1076         and denominator argument instead of a GValue
1077         add gst_structure_get_fraction helper function.
1078
1079 2005-11-23  Wim Taymans  <wim@fluendo.com>
1080
1081         * docs/design/part-TODO.txt:
1082         Update TODO.
1083
1084         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1085         * gst/net/gstnetclientclock.h:
1086         Use parent fields for timeout and window_size.
1087
1088 2005-11-23  Andy Wingo  <wingo@pobox.com>
1089
1090         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1091         rate_num/rate_denom change.
1092
1093         * gst/net/gstnetclientclock.c
1094         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1095         OBJECT_LOCK. Don't call add_observation with the lock.
1096
1097         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1098         fraction.
1099         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1100         rate fraction.
1101         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1102         deal with rate as a fraction whose numerator and denominator are
1103         GstClockTime values.
1104         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1105         master; the other fields are protected by the SLAVE_LOCK.
1106         (do_linear_regression): Note that this must be called with the
1107         SLAVE_LOCK.
1108         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1109         OBJECT_LOCK. Call set_calibration instead of touching the
1110         variables directly.
1111         (gst_clock_set_property, gst_clock_get_property): Protect
1112         master/slave parameters with the SLAVE_LOCK.
1113
1114         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1115         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1116         note that all of the instance variables that add_observation and
1117         the set_master functions use are protected by that lock and not
1118         the OBJECT_LOCK.
1119         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1120
1121         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1122         the caller to take the object lock.
1123
1124 2005-11-23  Wim Taymans  <wim@fluendo.com>
1125
1126         * gst/gsterror.c: (_gst_core_errors_init):
1127         * gst/gsterror.h:
1128         Add error for clock stuff.
1129
1130         * gst/gstpipeline.c: (gst_pipeline_change_state),
1131         (gst_pipeline_set_clock):
1132         Post clock error when clock cannot be used in a pipeline.
1133
1134 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1135
1136         * docs/gst/gstreamer-sections.txt:
1137           make two symbols from gstinfo private for the docs
1138         * gst/base/gstcollectpads.h:
1139         * gst/gstutils.c:
1140           fix doc typos, update docs
1141
1142 2005-11-22  Wim Taymans  <wim@fluendo.com>
1143
1144         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1145         (gst_base_sink_wait), (gst_base_sink_do_sync),
1146         (gst_base_sink_handle_event):
1147         * gst/base/gstbasesink.h:
1148         No need to store the clock, the parent element class already
1149         has it.
1150
1151         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1152         Updates for clock_set returning a gboolean
1153
1154         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1155         (gst_clock_id_wait_async), (gst_clock_class_init),
1156         (gst_clock_init), (gst_clock_finalize),
1157         (gst_clock_get_internal_time), (gst_clock_get_time),
1158         (gst_clock_slave_callback), (gst_clock_set_master),
1159         (gst_clock_get_master), (do_linear_regression),
1160         (gst_clock_add_observation), (gst_clock_set_property),
1161         (gst_clock_get_property):
1162         * gst/gstclock.h:
1163         Implement master/slave. When setting a clock as a slave, a
1164         periodic timeout is scheduled to sample master and slave times.
1165         Then the slave clock is recalibrated to match offset and rate
1166         of the master clock.
1167         Update logging a bit.
1168         Add flag so that a clock can state that is cannot be slaved to
1169         another clock.
1170
1171         * gst/gstelement.c: (gst_element_set_clock):
1172         * gst/gstelement.h:
1173         The set clock returns a gboolean for when an element cannot
1174         deal with the selected clock in the pipeline. 
1175
1176         * gst/gstpipeline.c: (gst_pipeline_change_state),
1177         (gst_pipeline_set_clock):
1178         * gst/gstpipeline.h:
1179         Handle the case where the selected clock cannot be set on
1180         the pipeline.
1181
1182         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1183         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1184         (gst_net_client_clock_set_property),
1185         (gst_net_client_clock_get_property),
1186         (gst_net_client_clock_observe_times):
1187         * gst/net/gstnetclientclock.h:
1188         Use regression code in GstClock parent, remove duplicated
1189         functionality.
1190
1191 2005-11-22  Michael Smith <msmith@fluendo.com>
1192
1193         * gst/gstutils.c: (gst_util_clock_time_scale):
1194         * gst/gstutils.h:
1195         * docs/gst/gstreamer-sections.txt:
1196           Rename method to have extra underscore.
1197
1198 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1199
1200         * gst/elements/Makefile.am:
1201         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1202         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1203         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1204         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1205         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1206         * gst/elements/gstfakesrc.h:
1207         * gst/gstqueue.c: (queue_leaky_get_type):
1208           correctly fix GEnumValues so that nick is the short lowercase
1209           dashed tag
1210         * tools/gst-inspect.c: (print_element_properties_info):
1211           also show the nick, since it's useful to use from parse_launch
1212           syntax
1213           Fixes #322139
1214
1215 2005-11-22  Michael Smith <msmith@fluendo.com>
1216
1217         * gst/gstutils.c: (gst_util_clocktime_scale):
1218         * gst/gstutils.h:
1219         * docs/gst/gstreamer-sections.txt:
1220           Add util method for scaling a clocktime by a fraction. Useful 
1221           implementation is left as an exercise for the reader.
1222
1223 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1224
1225         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1226         If needed, allocate storage in the destination value during
1227         collection.
1228
1229 2005-11-22  Edward Hervey  <edward@fluendo.com>
1230
1231         * docs/gst/gstreamer-sections.txt:
1232         * gst/Makefile.am:
1233         * gst/gst.h:
1234         * gst/gsturitype.c:
1235         * gst/gsturitype.h:
1236         * gst/gstutils.c: (gst_util_set_object_arg):
1237         * tools/gst-compprep.c: (main):
1238         * tools/gst-inspect.c: (print_element_properties_info):
1239         Removed GstURI, closes bug #321061
1240
1241 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1242
1243         * check/gst/gststructure.c: (GST_START_TEST):
1244         * gst/gststructure.c: (gst_structure_parse_value):
1245           Oops, broke automatic string type parsing.
1246           Add a test to catch it in future.
1247
1248 2005-11-22  Andy Wingo  <wingo@pobox.com>
1249
1250         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1251         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1252         Actually rename the function implementations. Grr.
1253
1254 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1255
1256         * check/gst/capslist.h:
1257           Comment test cases
1258         * check/gst/gststructure.c: (GST_START_TEST),
1259         (gst_structure_suite):
1260           Test automatic value type detection in gst_structure_from_string.
1261         * gst/gststructure.c: (gst_structure_parse_value):
1262           Add fraction as a type we try and guess automatically in
1263           caps/structure strings.
1264
1265 2005-11-22  Andy Wingo  <wingo@pobox.com>
1266
1267         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1268
1269         * gst/gsttagsetter.h:
1270         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1271         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1272         (gst_tag_setter_add_tag_valist)
1273         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1274         _add_values, _add_valist, and _add_valist_values. Since this is an
1275         interface the function suffixes should be more explicit so
1276         language binding don't end up with element.add_valist ->
1277         gst_tag_setter_add_valist, for example. Fixes #322069.
1278
1279 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1280
1281         * check/gst/gstcaps.c: (GST_START_TEST):
1282           Extend caps string tests to check that a caps to string
1283           conversion is reversible and produces the same caps.
1284
1285         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1286           Output "fraction" as the generic type fraction range, so caps
1287           serialisation and deserialisation works.
1288         * check/gst/capslist.h:
1289         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1290           Support 'MIN' and 'MAX' for deserialising fractions.
1291
1292 2005-11-22  Andy Wingo  <wingo@pobox.com>
1293
1294         * gst/gstevent.h (gst_event_new_new_segment)
1295         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1296         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1297         Renamed from *_newsegment, *_buffersize, *_notarget.
1298
1299         * scripts/update-funcnames: New script, performs the changes
1300         listed above.
1301
1302 2005-11-22  Wim Taymans  <wim@fluendo.com>
1303
1304         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1305         Make sure the GstFlowReturn is returned.
1306
1307         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1308         (gst_bus_add_signal_watch):
1309         * gst/gstbus.h:
1310         add gst_bus_add_signal_watch_full.
1311
1312         * gst/gstplugin.c: (gst_plugin_load_file):
1313         Small style cleanup.
1314
1315 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1316
1317         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1318           Block the fakesrc srcpad when we send an event, to avoid
1319           contention on the stream_lock causing random test failures.
1320
1321 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1322
1323         * check/gst/gstvalue.c: (GST_START_TEST):
1324         * gst/gstvalue.c: (gst_value_fraction_subtract):
1325           Fix subtraction.
1326
1327 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1328
1329         * gst/gst.h:
1330           include "gstchildproxy.h"
1331         * gst/gstchildproxy.h:
1332         * libs/gst/controller/gstcontroller.h:
1333           use G_GNUC_NULL_TERMINATED
1334
1335 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1336
1337         * check/gst/capslist.h:
1338         * check/gst/gstcaps.c: (GST_START_TEST):
1339         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1340         * gst/gststructure.c: (gst_structure_parse_range),
1341         (gst_structure_fixate_field_nearest_fraction):
1342         * gst/gststructure.h:
1343         * gst/gstvalue.c: (gst_value_init_fraction_range),
1344         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1345         (gst_value_collect_fraction_range),
1346         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1347         (gst_value_set_fraction_range_full),
1348         (gst_value_get_fraction_range_min),
1349         (gst_value_get_fraction_range_max),
1350         (gst_value_serialize_fraction_range),
1351         (gst_value_transform_fraction_range_string),
1352         (gst_value_compare_fraction_range),
1353         (gst_value_deserialize_fraction_range),
1354         (gst_value_intersect_fraction_fraction_range),
1355         (gst_value_intersect_fraction_range_fraction_range),
1356         (gst_value_subtract_fraction_fraction_range),
1357         (gst_value_subtract_fraction_range_fraction),
1358         (gst_value_subtract_fraction_range_fraction_range),
1359         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1360         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1361         (gst_value_transform_string_fraction), (_gst_value_initialize):
1362         * gst/gstvalue.h:
1363           Implement fraction ranges and extend GstFraction to support
1364           arithmetic subtraction, as well as deserialization from integer
1365           strings such as "100"
1366           Add a testsuite as for int and double range set operations
1367
1368 2005-11-21  Andy Wingo  <wingo@pobox.com>
1369
1370         * gst/gsttaglist.h: 
1371         * gst/gstcaps.h: 
1372         * gst/gststructure.h: Add glib-compat.h.
1373
1374 2005-11-21  Wim Taymans  <wim@fluendo.com>
1375
1376         * gst/gstbin.c: (gst_bin_change_state_func):
1377         Fix for #321595
1378
1379 2005-11-21  Wim Taymans  <wim@fluendo.com>
1380
1381         * gst/gstsegment.h:
1382         And add a nice define too.
1383
1384 2005-11-21  Wim Taymans  <wim@fluendo.com>
1385
1386         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1387         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1388         (gst_segment_set_duration), (gst_segment_set_last_stop),
1389         (gst_segment_set_seek), (gst_segment_set_newsegment),
1390         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1391         (gst_segment_clip):
1392         * gst/gstsegment.h:
1393         Make binding friendly.
1394
1395 2005-11-21  Andy Wingo  <wingo@pobox.com>
1396
1397         * gst/gsttagsetter.h: 
1398         * gst/gsttaglist.h: 
1399         * gst/gststructure.h: 
1400         * gst/gstcaps.h: 
1401         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1402         #319940.
1403
1404         * gst/gsterror.c (_gst_core_errors_init):
1405         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1406         category.
1407
1408         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1409         (noinst_HEADERS): noinst the -private.
1410
1411 2005-11-21  Michael Smith <msmith@fluendo.com>
1412
1413         * gst/gstplugin.h:
1414         * gst/gstregistry.h:
1415           Remove unimplemented declarations for which we can see no sensible
1416           use.
1417
1418 2005-11-21  Andy Wingo  <wingo@pobox.com>
1419
1420         * gst/gst.h: Include glib-compat.h.
1421
1422         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1423
1424         * gst/glib-compat.c: Include the public and the private header.
1425
1426         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1427
1428         * gst/gstvalue.c: 
1429         * gst/gstpad.c: 
1430         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1431
1432         * check/gst/gstevent.c (create_custom_events): Check that
1433         FLUSH_STOP is serialized.
1434
1435         * check/elements/identity.c (event_func): 
1436         * check/elements/fakesrc.c (event_func): No stream lock, the core
1437         takes it.
1438
1439         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1440         stream lock taking, yay.
1441
1442         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1443         ensure that core takes the stream lock.
1444
1445         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1446         lock name change.
1447
1448         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1449         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1450         it already. For the flush start we do take it though so we get the
1451         right preroll state change messages.
1452
1453         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1454         the stream lock here, the core does it for us.
1455
1456         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1457         GST_STREAM_GET_LOCK.
1458         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1459         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1460         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1461         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1462         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1463         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1464
1465         * gst/gstpad.c: Update for stream lock name change.
1466
1467         * gst/base/gstbasesink.c: Update for preroll lock name change.
1468
1469 2005-11-21  Wim Taymans  <wim@fluendo.com>
1470
1471         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1472         (gst_clock_get_master):
1473         * gst/gstclock.h:
1474         * gst/gstsystemclock.c: (gst_system_clock_init):
1475         Convert Clock flags to object flags.
1476         Added methods to manage master/slave clocks.
1477
1478 2005-11-21  Wim Taymans  <wim@fluendo.com>
1479
1480         * check/gst/gstsegment.c: (GST_START_TEST):
1481         * docs/design/part-TODO.txt:
1482         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1483         (gst_base_sink_event), (gst_base_sink_do_sync),
1484         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1485         (gst_base_sink_query), (gst_base_sink_change_state):
1486         * gst/base/gstbasesink.h:
1487         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1488         (gst_base_src_default_newsegment),
1489         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1490         (gst_base_src_get_range), (gst_base_src_loop),
1491         (gst_base_src_change_state):
1492         * gst/base/gstbasesrc.h:
1493         * gst/base/gstbasetransform.c:
1494         (gst_base_transform_prepare_output_buf),
1495         (gst_base_transform_event), (gst_base_transform_change_state):
1496         * gst/base/gstbasetransform.h:
1497         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1498         (gst_collect_pads_event):
1499         * gst/base/gstcollectpads.h:
1500         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1501         (gst_fake_src_create):
1502         * gst/elements/gstfakesrc.h:
1503         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1504         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1505         (gst_segment_set_last_stop), (gst_segment_set_seek),
1506         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1507         (gst_segment_to_running_time), (gst_segment_clip):
1508         * gst/gstsegment.h:
1509         More segment updates, replace code in plugins with segment
1510         helper functions.
1511
1512 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1513
1514         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1515         Don't ignore sscanf results
1516
1517 2005-11-21  Andy Wingo  <wingo@pobox.com>
1518
1519         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1520
1521         * *.h:
1522         * *.c: Ran scripts/update-macros. Oh yes.
1523
1524         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1525         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1526         GST_GET_LOCK, etc.
1527
1528         * scripts/update-macros: New script. Run it on your files to
1529         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1530         well.
1531
1532 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1533
1534         * docs/gst/Makefile.am:
1535         * docs/gst/gstreamer-docs.sgml:
1536         * docs/gst/gstreamer-sections.txt:
1537         * docs/gst/gstreamer.types:
1538         * gst/gstinfo.h:
1539           more docs fixes, add new api to the docs
1540
1541 2005-11-21  Andy Wingo  <wingo@pobox.com>
1542
1543         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1544         state_broadcast call.
1545
1546         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1547
1548 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1549
1550         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1551         function calls for arrays.
1552
1553 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1554
1555         * docs/random/ensonic/media-device-daemon.txt:
1556           wild idea, can this be done?
1557         * docs/gst/gstreamer-sections.txt:
1558         * gst/gsterror.h:
1559         * gst/gstfilter.c:
1560         * gst/gstfilter.h:
1561         * gst/gstplugin.h:
1562         * gst/gstpluginfeature.c:
1563         * gst/gsttrace.c:
1564         * gst/gstvalue.c:
1565         * gst/gstvalue.h:
1566           doc fixes and additions
1567
1568 2005-11-21  Andy Wingo  <wingo@pobox.com>
1569
1570         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1571         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1572         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1573         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1574         private to the basesrc implementation.
1575
1576         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1577         behalf of event function if necessary. It should no longer be
1578         necessary to take the stream lock in pad's event functions. Fixes
1579         #320299.
1580
1581 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1582         * docs/gst/gstreamer-sections.txt:
1583         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1584         (gst_structure_fixate_field_nearest_double),
1585         (gst_structure_fixate_field_boolean):
1586         * gst/gststructure.h:
1587         * win32/common/libgstreamer.def:
1588         * win32/gstreamer.def:
1589
1590         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1591         (#322027)
1592
1593 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1594
1595         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1596         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1597         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1598         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1599         (gst_fdsrc_uri_handler_init):
1600         * gst/elements/gstfdsrc.h:
1601           Port fd:// URI handler from 0.8 to fdsrc
1602
1603 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1604
1605         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1606         (gst_value_serialize_fourcc):
1607         * gst/gstvalue.h:
1608           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1609           consistent with our other format defines (#320324).
1610
1611 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1612
1613         * gst/gstvalue.c: (gst_value_is_fixed):
1614           Revert previous commit. Value lists are by definition
1615           not fixed, as they are a list of possible values.
1616
1617 2005-11-21  Andy Wingo  <wingo@pobox.com>
1618
1619         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1620         during the stable series if we need it. Fixes #319178.
1621
1622         * gst/gstevent.c (gst_event_new_filler): Removed.
1623
1624         * check/gst/gstevent.c: Update comment about filler events.
1625
1626 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1627
1628         * gst/gstvalue.c: (gst_value_is_fixed):
1629           Should handle both value arrays and value lists.
1630
1631 2005-11-21  Andy Wingo  <wingo@pobox.com>
1632
1633         patch by: Alessandro Dessina <alessandro nnva org>
1634
1635         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1636         functions to access arrays. Fixes #321962.
1637
1638 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1639
1640         * docs/gst/gstreamer.types:
1641           gst_collectpads_get_type => gst_collect_pads_get_type.
1642           
1643         * gst/base/gstbasetransform.c:
1644           Remove unused SIGNAL_HANDOFF enum.
1645
1646 2005-11-21  Andy Wingo  <wingo@pobox.com>
1647
1648         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1649         the event type (upstream, downstream, serialized). Renamed
1650         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1651         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1652         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1653
1654         * gst/gstevent.c: Update for new CUSTOM event names.
1655
1656         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1657
1658         * gst/gstevent.h:
1659         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1660         bug #319392.
1661
1662 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1663
1664         * docs/gst/gstreamer-sections.txt:
1665         * win32/common/libgstbase.def:
1666         * win32/libgstbase.def:
1667         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1668         (gst_collect_pads_class_init), (gst_collect_pads_init),
1669         (gst_collect_pads_finalize), (gst_collect_pads_new),
1670         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1671         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1672         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1673         (gst_collect_pads_start), (gst_collect_pads_stop),
1674         (gst_collect_pads_peek), (gst_collect_pads_pop),
1675         (gst_collect_pads_available), (gst_collect_pads_read),
1676         (gst_collect_pads_flush), (gst_collect_pads_event),
1677         (gst_collect_pads_chain):
1678         * gst/base/gstcollectpads.h:
1679           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1680           unimplemented functions as unimplemented. Add padding to
1681           GstCollectData. (#320766, #320423)
1682
1683 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1684
1685         * gst/gstmessage.c:
1686           Improve docs for DURATION message (usage of duration parameter)
1687           (#320113)
1688
1689 2005-11-20  Wim Taymans  <wim@fluendo.com>
1690
1691         * check/Makefile.am:
1692         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1693         (main):
1694         * gst/Makefile.am:
1695         * gst/gst.h:
1696         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1697         (gst_segment_set_seek), (gst_segment_set_newsegment),
1698         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1699         (gst_segment_clip):
1700         * gst/gstsegment.h:
1701         Added segment helper structure and methods. Not fully implemented
1702         yet.
1703         Added segment check.
1704
1705 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1706
1707         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1708           Add a deserialisation test for fractions
1709         * examples/metadata/read-metadata.c: (message_loop),
1710         (make_pipeline), (main):
1711           Fix up metadata reading sample.
1712         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1713           Debug format fix
1714         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1715           Don't try and fixate empty caps
1716         * gst/gst_private.h:
1717           Wrap in G_BEGIN_DECLS/G_END_DECLS
1718         * gst/gstvalue.c: (gst_value_collect_fraction),
1719         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1720         (gst_value_transform_string_fraction),
1721         (gst_value_compare_fraction):
1722           Add some extra guards to ensure that we don't end up 
1723           with an invalid denominator of 0 in a gstfraction and
1724           that fractions always get reduced.
1725
1726 2005-11-20  Wim Taymans  <wim@fluendo.com>
1727
1728         * docs/gst/gstreamer-sections.txt:
1729         * gst/gstbuffer.h:
1730         * gst/gstelement.c:
1731         * gst/gstformat.c:
1732         * gst/gstformat.h:
1733         * gst/gstindex.h:
1734         * gst/gstquery.c:
1735         * gst/gstquery.h:
1736         * gst/gstvalue.c:
1737         Doc fixes.
1738
1739 2005-11-20  Wim Taymans  <wim@fluendo.com>
1740
1741         * docs/design/part-TODO.txt:
1742         * gst/gstcaps.h:
1743         Make a proper enum of the flag.
1744
1745 2005-11-19  Wim Taymans  <wim@fluendo.com>
1746
1747         * docs/design/part-TODO.txt:
1748         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1749         (gst_format_to_quark), (gst_format_register):
1750         * gst/gstformat.h:
1751         * gst/gstquery.c: (_gst_query_initialize),
1752         (gst_query_type_get_name), (gst_query_type_to_quark),
1753         (gst_query_type_register):
1754         * gst/gstquery.h:
1755         Add type to quark and type to string conversions.
1756
1757 2005-11-19  Andy Wingo  <wingo@pobox.com>
1758
1759         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1760         #320097.
1761
1762 2005-11-19  Wim Taymans  <wim@fluendo.com>
1763
1764         * docs/design/part-TODO.txt:
1765         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1766         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1767         (gst_bin_handle_message_func):
1768         * gst/gstbin.h:
1769         Make message handling overridable.
1770
1771 2005-11-19  Andy Wingo  <wingo@pobox.com>
1772
1773         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1774
1775         * gst/gstclock.h:
1776         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1777         be a GstClockTime.
1778         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1779         is a GstClockTime. Fixes #321710.
1780
1781         * gst/gstclock.h (GstClock): Remove offset property. Add
1782         internal_calibration and external_calibration. Fix padding. Pad
1783         also by GstClockTime so we don't run into problems.
1784
1785         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1786         (gst_clock_get_rate_offset): Remove.
1787         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1788
1789         * gst/gstutils.h:
1790         * gst/gstutils.c (g_static_rec_cond_wait)
1791         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1792
1793         * gst/gstbin.c: Remove terrible continue_state prototype.
1794
1795         * gst/gstelement.h (gst_element_continue_state): Make public.
1796
1797         * gst/gstelement.h:
1798         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1799         by continue_state. Fixes #319389.
1800
1801         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1802         Really fixes #168438. However I don't see anywhere where the
1803         filter function is called... stupid GStreamer...
1804         
1805         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1806         don't have a dispose function, so it won't get called when the
1807         object is unreffed, but oh well!
1808
1809         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1810         allows a destroy function to be set so user_data can be freed.
1811         Fixes #168438.
1812         (gst_index_set_filter): Call gst_index_set_filter_full.
1813
1814         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1815
1816         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1817         string should produce an error, given the lack of a way to
1818         represent NULL strings. Fixes #165650.
1819         
1820         * gst/gstvalue.h: 
1821         * gst/gstvalue.c (gst_value_array_append_value) 
1822         (gst_value_array_prepend_value, gst_value_array_get_size) 
1823         (gst_value_array_get_value): New API, copied from
1824         gst_value_list_*, only operates on arrays.
1825         (gst_value_list_append_value, gst_value_list_prepend_value) 
1826         (gst_value_list_concat, gst_value_list_get_size) 
1827         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1828
1829         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1830         init_list, because it works on both.
1831         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1832         (gst_value_copy_list_or_array): Renamed from copy_list.
1833         (gst_value_free_list_or_array): Renamed from free_list.
1834         (gst_value_collect_list_or_array): Renamed from collect_list.
1835         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1836         (gst_value_list_or_array_peek_pointer): Renamed from
1837         list_peek_pointer.
1838         (_gst_value_array_value_table, _gst_value_list_value_table):
1839         Update value table functions.
1840         (gst_value_compare_list_or_array): Renamed from compare_list.
1841
1842         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1843         some constness.
1844
1845         * gst/gsttaglist.c:
1846         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1847         GstTagList*. Fixes #143472.
1848
1849         * gst/gststructure.h: Clarify what the foreach/map functions can
1850         or can't do to their arguments.
1851
1852 2005-11-18  Wim Taymans  <wim@fluendo.com>
1853
1854         * gst/gstclock.c: (gst_clock_set_calibration),
1855         (gst_clock_get_calibration):
1856         Doc and API fixes.
1857         Calibration can be set with internal time equal to current
1858         internal time too.
1859
1860 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1861
1862         * gst/gsterror.c:
1863         * gst/gsterror.h:
1864           document
1865
1866 2005-11-18  Andy Wingo  <wingo@pobox.com>
1867
1868         * configure.ac: 
1869         * pkgconfig/gstreamer-net.pc.in:
1870         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1871         * pkgconfig/Makefile.am: Add net pkgconfig files.
1872
1873 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1874
1875         * gst/gstcaps.c:
1876         * gst/gstghostpad.c:
1877         * gst/gsttrace.c:
1878         * gst/gstvalue.c:
1879         * gst/gstvalue.h:
1880           docs fixes
1881
1882 2005-11-18  Andy Wingo  <wingo@pobox.com>
1883
1884         * gst/net/gstnetclientclock.c: Turn off debugging.
1885
1886         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1887         times connverge somewhat. Can't make a real test.
1888
1889         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1890         integer arithmetic. Return the minimum of the domain, which can be
1891         set as "internal" for gst_clock_set_calibration.
1892         (gst_net_client_clock_observe_times): Call _set_calibration.
1893         (gst_net_client_clock_new): Call _set_calibration instead of
1894         rate_offset.
1895
1896         * check/net/gstnetclientclock.c (test_functioning): Use the right
1897         adjustment api.
1898
1899         * gst/gstclock.h:
1900         * gst/gstclock.c (gst_clock_get_calibration) 
1901         (gst_clock_set_calibration): New functions, obsolete the ones I
1902         added yesterday. Doh. Precision issues mean we have to extrapolate
1903         from a point in the more recent past than 1970.
1904         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1905         obsolete.
1906         (gst_clock_adjust_unlocked): Use the right calibration data.
1907
1908 2005-11-18  Edward Hervey  <edward@fluendo.com>
1909
1910         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1911         Also reset the ->current_* values in READY->PAUSED
1912
1913 2005-11-18  Andy Wingo  <wingo@pobox.com>
1914
1915         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1916         Whoops, check the right fd. Also add some debugging.
1917         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1918         (do_linear_regression): Add a crapload of debugging. Subtract off
1919         the minimum values from the input series to discard unneeded bits.
1920         Use only int arithmetic. There is still double arithmetic when
1921         calculating the intercept that needs fixing. Return boolean to
1922         indicate success; FALSE would mean the domain or range is too
1923         great. Still needs fixes.
1924
1925 2005-11-18  Wim Taymans  <wim@fluendo.com>
1926
1927         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1928         For the current position in stream time, we need to subtract
1929         accumulated time.
1930         
1931         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1932         Release lock before calling the callback function of async
1933         entries.
1934
1935 2005-11-18  Andy Wingo  <wingo@pobox.com>
1936
1937         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1938         Port goes all the way to MAXUINT16.
1939
1940         * gst/net/gstnettimeprovider.c: Make the port range the same as
1941         for the kernel: 0 assigns, otherwise ports are less than
1942         MAXUINT16.
1943
1944         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1945         port change.
1946
1947         * check/net/gstnetclientclock.c (test_functioning): Add the start
1948         of another test. 
1949
1950 2005-11-18  Wim Taymans  <wim@fluendo.com>
1951
1952         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1953         (gst_bin_remove_func), (bin_bus_handler):
1954         * gst/gstbin.h:
1955         Removing a clock provider from a bin, triggers a clock lost message
1956         so that a new clock will be selected.
1957         Adding a clock to a bin triggers a clock provider message.
1958         Make sure we reselect a clock when we received a clock lost message.
1959         Keep a reference to the element that provided the clock.
1960
1961 2005-11-18  Andy Wingo  <wingo@pobox.com>
1962
1963         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1964         the clock initially so it produces values around the base time.
1965         (gst_net_client_clock_class_init): Typo fix.
1966         (gst_net_client_clock_thread): Add note on when the socket gets
1967         closed.
1968
1969 2005-11-17  Wim Taymans  <wim@fluendo.com>
1970
1971         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1972         Free remote and local time arrays.
1973
1974 2005-11-17  Wim Taymans  <wim@fluendo.com>
1975
1976         * gst/net/gstnetclientclock.c: (do_linear_regression),
1977         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1978         Fix compilation, uninitialized vars and a forgotten continue.
1979
1980 2005-11-17  Andy Wingo  <wingo@pobox.com>
1981
1982         * check/Makefile.am (check_PROGRAMS): 
1983         * check/net/gstnetclientclock.c: Add a most minimal test for the
1984         net client clock. More to come later.
1985
1986         * gst/net/gstnet.h: 
1987         * gst/net/Makefile.am: Add netclientclock.
1988
1989         * gst/net/gstnetclientclock.h:
1990         * gst/net/gstnetclientclock.c: New files, implement an untested
1991         GstClock that takes its time from a network time provider.
1992         Implements the algorithm in network-clock.scm.
1993
1994         * tests/network-clock.scm (*window-size*): Rename from
1995         *queue-length*.
1996         * tests/network-clock.scm (network-time): 
1997         * tests/network-clock-utils.scm (q-push): Update callers.
1998
1999 2005-11-17  Wim Taymans  <wim@fluendo.com>
2000
2001         * gst/gstbin.c: (gst_bin_provide_clock_func),
2002         (gst_bin_sort_iterator_new):
2003         And unref the child too..
2004
2005 2005-11-17  Wim Taymans  <wim@fluendo.com>
2006
2007         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2008         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2009         Refactor the sort iterator so it can be used while holding the
2010         LOCK too.
2011         Make clock selection select a clock closest to the source.
2012
2013 2005-11-17  Michael Smith <msmith@fluendo.com>
2014
2015         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2016         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2017         * gst/gstclock.h:
2018           Anonymous structs are a gcc (and some other compilers) extension, so
2019           don't use them. Since this is only for ABI-compatibility, and our
2020           API/ABI freeze is over in a few days, this whole thing will only
2021           last a few days, so don't bother trying to think up a meaningful
2022           name for the struct.
2023
2024 2005-11-17  Andy Wingo  <wingo@pobox.com>
2025
2026         * gst/gstclock.h (GstClock): Add rate and offset properties,
2027         preserving ABI stability. Add rate/offset accessors. Will file bug
2028         for the freeze break.
2029
2030         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2031         and offset, trying to keep precision and avoiding
2032         underflow/overflow.
2033         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2034         functions. Make gst_clock_set_time_adjust obsolete.
2035         (gst_clock_set_time_adjust): Note that this function is obsolete.
2036         Will file bug soon.
2037
2038         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2039         greppable by using GST_PADDING-1+1.
2040
2041 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2042
2043         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2044
2045         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2046           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2047
2048         * gst/gstpadtemplate.h:
2049         * gst/gstpluginfeature.h:
2050           Don't use c++ style comments in headers (#321638).
2051
2052 2005-11-16  Andy Wingo  <wingo@pobox.com>
2053
2054         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2055         buffer.
2056
2057         * check/net/gstnettimeprovider.c: Check to see that the time
2058         provider actually provides times. Works, yo!
2059
2060 2005-11-16  Wim Taymans  <wim@fluendo.com>
2061
2062         * check/Makefile.am:
2063         Enable more tests.
2064
2065         * check/elements/fakesrc.c: (GST_START_TEST):
2066         Set element to NULL before disposing it.
2067
2068 2005-11-16  Andy Wingo  <wingo@pobox.com>
2069
2070         * gst/net/Makefile.am:
2071         * gst/net/gstnet.h:
2072         * gst/net/gstnettimeprovider.c: 
2073         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2074         provider, include it from gstnet.h, and add it to the build.
2075
2076         * gst/net/gstnettimepacket.h: 
2077         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2078         sending and receiving.
2079
2080 2005-11-16  Wim Taymans  <wim@fluendo.com>
2081
2082         * check/Makefile.am:
2083         Enable valgrind check.
2084
2085         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2086         (gst_fake_src_alloc_buffer):
2087         Fix memleak.
2088
2089 2005-11-16  Wim Taymans  <wim@fluendo.com>
2090
2091         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2092         Call parent finalize too.
2093
2094 2005-11-16  Wim Taymans  <wim@fluendo.com>
2095
2096         * check/Makefile.am:
2097         Enable valgrind check that should work fine now.
2098
2099         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2100         * gst/gstqueue.c: (gst_queue_init):
2101         Fix memleaks in pad allocation.
2102
2103 2005-11-16  Andy Wingo  <wingo@pobox.com>
2104
2105         * gst/net/Makefile.am:
2106         * gst/net/gstnet.h: New part of core to hold network elements and
2107         objects. Put in core because it exposes API that applications want
2108         to use. The library is named libgstnet-tempname right now because
2109         of the existing libgstnet in gst-plugins-base. Solution is
2110         probably to rename the one in plugins-base; will file a bug for
2111         the freeze break.
2112
2113         * gst/net/gstnettimeprovider.c: 
2114         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2115         get_time call over the network.
2116
2117         * configure.ac: 
2118         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2119
2120         * check/Makefile.am:
2121         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2122         get additions shortly.
2123
2124 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2125
2126         * gst/gstpad.c: (gst_pad_new_from_static_template):
2127         * gst/gstpad.h:
2128           add gst_pad_new_from_static_template functions
2129         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2130         (gst_check_setup_sink_pad):
2131         * gst/elements/gsttee.c: (gst_tee_init):
2132           and use them
2133
2134 2005-11-16  Wim Taymans  <wim@fluendo.com>
2135
2136         * gst/gstpad.c: (gst_pad_pause_task):
2137         Removed warning, it's not really an error either.
2138
2139 2005-11-16  Wim Taymans  <wim@fluendo.com>
2140
2141         * gst/base/gstbasetransform.c:
2142         (gst_base_transform_prepare_output_buf),
2143         (gst_base_transform_event):
2144         Check if the caps are NULL, this can happen if the element
2145         is shutting down and the pad caps are set to NULL.
2146
2147 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2148
2149         * gst/elements/gsttee.c: (gst_tee_init):
2150           fix pad template leak in tee
2151
2152 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2153
2154         * gst/glib-compat.c: (g_value_dup_gst_object):
2155         * gst/glib-compat.h:
2156         * gst/gstpad.c: (gst_pad_set_property):
2157           use gst_object_ref when setting the pad template; this will
2158           trigger the pad template leaks on GLib 2.6 and the slaves
2159
2160 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2161
2162         * gst/glib-compat.c: (gst_flags_get_first_value):
2163         * gst/glib-compat.h:
2164         * gst/gstregistryxml.c:
2165           remove functions copied from GLib 2.6
2166
2167 2005-11-16  Michael Smith <msmith@fluendo.com>
2168
2169         * gst/Makefile.am:
2170           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2171           do, but only breaks with newer valgrind versions. We're not a
2172           valgrind tool, we have no link-time dependencies on libcoregrind.
2173
2174 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2175
2176         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2177           some debug changes
2178         * gst/gstmessage.h:
2179           typo fixes
2180
2181 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2182
2183         * gst/base/gstbasesrc.c: (gst_base_src_init):
2184         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2185         * gst/gstqueue.c: (gst_queue_init):
2186         * gst/gstregistryxml.c: (load_feature):
2187           Revert all these unrefs, they don't even pass make check !
2188
2189 2005-11-15  Johan Dahlin  <johan@gnome.org>
2190
2191         * gst/base/gstbasesrc.c: (gst_base_src_init):
2192         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2193         * gst/gstqueue.c: (gst_queue_init): 
2194         Free pad templates, fixes a couple of leaks.
2195
2196 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2197
2198         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2199
2200         * gst/gstpad.c: (gst_pad_get_property):
2201           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2202           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2203           (#321452)
2204
2205 2005-11-15  Wim Taymans  <wim@fluendo.com>
2206
2207         * gst/gstevent.c:
2208         Small doc update.
2209
2210 2005-11-15  Andy Wingo  <wingo@pobox.com>
2211
2212         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2213
2214         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2215         using GST_CLOCK_TIME_NONE to disable base time management.
2216         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2217         time if it was NONE before.
2218         (gst_pipeline_change_state): Only munge the base time if
2219         stream_time != GST_CLOCK_TIME_NONE.
2220
2221         * check/gst/gstpipeline.c (test_base_time): Punt around the
2222         problem of the probe not being called, because that's not the
2223         issue I'm looking at. Add a check that setting stream_time to NONE
2224         disables base time management.
2225         
2226 2005-11-15  Wim Taymans  <wim@fluendo.com>
2227
2228         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2229         segment_stop == -1 at startup.
2230
2231         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2232         (gst_base_transform_change_state):
2233         Init segment values at start.
2234
2235 2005-11-15  Wim Taymans  <wim@fluendo.com>
2236
2237         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2238         0 segment values are 0 in any format.
2239
2240         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2241         * gst/base/gstbasetransform.h:
2242         Parse newsegment correctly in basetransform
2243
2244         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2245         Sync to clock using updated segment values.
2246
2247 2005-11-15  Andy Wingo  <wingo@pobox.com>
2248
2249         * check/gst/gstpipeline.c (test_base_time): Add check that the
2250         base time and stream time are reset correctly.
2251
2252 2005-11-15  Wim Taymans  <wim@fluendo.com>
2253
2254         * docs/design/part-TODO.txt:
2255         Some more TODO items.
2256
2257 2005-11-15  Andy Wingo  <wingo@pobox.com>
2258
2259         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2260         error if the user selected "no clock" as the clocking method.
2261
2262         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2263         timestamps with live capture.
2264
2265         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2266         is 0 but we are a live source, timestamp the buffers using the
2267         element's clock.
2268
2269 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2270
2271         * docs/gst/gstreamer-sections.txt:
2272         * gst/gsterror.c:
2273         * gst/gstghostpad.c:
2274         * gst/gstobject.h:
2275         * gst/gstxml.c:
2276           more section docs
2277
2278 2005-11-14  Wim Taymans  <wim@fluendo.com>
2279
2280         * common/gst.supp:
2281           add suppressions from Wim's Debian machine
2282
2283 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2284
2285         * common/gst.supp:
2286           add suppressions from Andy's AMD64 Ubuntu machine
2287
2288 2005-11-14  Andy Wingo  <wingo@pobox.com>
2289
2290         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2291         STATE_LOCK not necessary. Fixes #311489.
2292
2293         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2294         #305291.
2295
2296         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2297         this function is not implemented.
2298
2299 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2300
2301         * gst/base/gstbasetransform.c:
2302         (gst_base_transform_prepare_output_buf):
2303         Ref the source pad caps while we need them.
2304         Fixes (#321386)
2305
2306 2005-11-11  Wim Taymans  <wim@fluendo.com>
2307
2308         * docs/gst/gstreamer-sections.txt:
2309         Added some docs for GstCollectData.
2310
2311         * gst/base/gstadapter.c:
2312         Some small code example fix.
2313
2314         * gst/base/gstcollectpads.c:
2315         * gst/base/gstcollectpads.h:
2316         Document some more.
2317
2318 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2319
2320         * configure.ac: back to HEAD
2321
2322 === release 0.9.5 ===
2323
2324 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2325
2326         * configure.ac:
2327           releasing 0.9.5, "Bike Lunch Day"
2328
2329 2005-11-11  Wim Taymans  <wim@fluendo.com>
2330
2331         * gst/gstbuffer.c: (_gst_buffer_copy):
2332         Copy more flags.
2333
2334         * gst/gstcaps.c: (gst_caps_is_equal):
2335         Fix some docs.
2336         Make _is_equal fast in the trivial cases.
2337
2338         * gst/gstminiobject.c:
2339         * gst/gstminiobject.h:
2340         More docs. Spifify .h file.
2341
2342         * gst/gstutils.c:
2343         Small doc update.
2344
2345 2005-11-11  Wim Taymans  <wim@fluendo.com>
2346
2347         * gst/base/gstbasetransform.c:
2348         (gst_base_transform_prepare_output_buf),
2349         (gst_base_transform_handle_buffer):
2350         Small cleanups.
2351         If we're processing a buffer and need to allocate an output
2352         buffer, we cannot accept a format change. If we did get a 
2353         format change, we have to alloc a buffer ourselves of the 
2354         right size.
2355
2356 2005-11-11  Wim Taymans  <wim@fluendo.com>
2357
2358         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2359         While checking the flag for reentrancy in the gstcaps function
2360         is nice to detect recursive invocations, it also makes it 
2361         impossible to call getcaps from multiple threads, which must be
2362         possible. So, checking for recursive calls has to go.
2363
2364 2005-11-11  Michael Smith <msmith@fluendo.com>
2365
2366         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2367           Don't sync on buffers that fall partially outside our current
2368           segment. Prevents an assertion failure/abort playing some files.
2369
2370 2005-11-10  Andy Wingo  <wingo@pobox.com>
2371
2372         * check/gst/gstbin.c (test_message_state_changed_children): Style
2373         fix..
2374
2375         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2376         gst_bus_poll with the signal watch. Ensures that poll and a signal
2377         watch see the same messages.
2378
2379         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2380         a poll and a watch at the same time get the same messages.
2381
2382 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2383
2384         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2385         * gst/gstcaps.c: (gst_caps_intersect):
2386           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2387           and it's not needed.
2388
2389 2005-11-10  Wim Taymans  <wim@fluendo.com>
2390
2391         * docs/design/part-TODO.txt:
2392         Updated todo.
2393
2394 2005-11-10  Wim Taymans  <wim@fluendo.com>
2395
2396         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2397         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2398         (gst_base_src_do_sync), (gst_base_src_get_range):
2399         Implement clock sync in base class.
2400
2401 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2402
2403         patch by: Tim-Philipp Müller <tim at centricular dot net>
2404
2405         * gst/gststructure.c: (gst_structure_parse_field),
2406         (gst_structure_from_string):
2407           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2408           so that gst_parse_launch() can deal with spaces in filtered link
2409           caps (fixes #164479)
2410         * check/gst/capslist.h:
2411         * check/gst/gststructure.c: (GST_START_TEST):
2412           add unit tests for this change
2413
2414 2005-11-10  Wim Taymans  <wim@fluendo.com>
2415
2416         * docs/gst/gstreamer-sections.txt:
2417         * gst/gstelement.c:
2418         * gst/gstelement.h:
2419         Fix docs, move some STATE macros to private.
2420
2421 2005-11-10  Wim Taymans  <wim@fluendo.com>
2422
2423         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2424         Added check for bug #317341
2425
2426         * gst/gstbuffer.c:
2427         * gst/gstbuffer.h:
2428         Some more spiffifying.
2429
2430         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2431         Call peer linkfunction if we are a source pad. Totally fixes
2432         #317341
2433
2434         * gst/gstpad.c:
2435         Update docs, source pads should call the peer linkfunction
2436         so they can atomically perform the pad link.
2437
2438 2005-11-09  Wim Taymans  <wim@fluendo.com>
2439
2440         * gst/gstbuffer.c:
2441         * gst/gstbuffer.h:
2442         Uber-spiffy-spiffify some more.
2443
2444 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2445
2446         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2447         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2448         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2449         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2450         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2451         * gst/gstpad.c: (gst_pad_init):
2452           Use GST_DEBUG_FUNCPTR() more extensively.
2453
2454 2005-11-09  Wim Taymans  <wim@fluendo.com>
2455
2456         * gst/gstobject.c: (gst_object_class_init):
2457         * gst/gstobject.h:
2458         Documentation fixes.
2459
2460 2005-11-09  Edward Hervey  <edward@fluendo.com>
2461
2462         * gst/gsttypefindfactory.c:
2463         Fix docs.
2464         
2465 2005-11-09  Edward Hervey  <edward@fluendo.com>
2466
2467         * gst/base/gsttypefindhelper.c:
2468         * gst/gsttypefind.c:
2469         * gst/gsttypefind.h:
2470         Fix docs.
2471
2472 2005-11-09  Wim Taymans  <wim@fluendo.com>
2473
2474         * gst/gstiterator.c:
2475         Fix revision data.
2476
2477         * gst/gsttask.c:
2478         * gst/gsttask.h:
2479         Fix docs.
2480
2481 2005-11-09  Wim Taymans  <wim@fluendo.com>
2482
2483         * gst/gstevent.h:
2484         * gst/gsturi.h:
2485         Fix docs.
2486
2487 2005-11-09  Wim Taymans  <wim@fluendo.com>
2488
2489         * docs/gst/gstreamer-sections.txt:
2490         Moved the message async delivery private lock and cond
2491         to the private section.
2492
2493         * gst/gstmessage.c:
2494         * gst/gstmessage.h:
2495         Fixed docs.
2496
2497 2005-11-09  Edward Hervey  <edward@fluendo.com>
2498
2499         * docs/gst/gstreamer-sections.txt:
2500         * gst/gsturi.c:
2501         * gst/gsturi.h:
2502         Document GstURIHandler
2503
2504 2005-11-09  Wim Taymans  <wim@fluendo.com>
2505
2506         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2507         (gst_iterator_find_custom):
2508         * gst/gstiterator.h:
2509         Fix iterator docs.
2510
2511 2005-11-09  Wim Taymans  <wim@fluendo.com>
2512
2513         * gst/gstbin.h:
2514         Document another field.
2515
2516         * gst/gststructure.c:
2517         * gst/gststructure.h:
2518         Document.
2519
2520 2005-11-09  Wim Taymans  <wim@fluendo.com>
2521
2522         * gst/gstbin.h:
2523         Documented structs.
2524
2525 2005-11-09  Wim Taymans  <wim@fluendo.com>
2526
2527         * docs/gst/gstreamer-sections.txt:
2528         Added some new macros.
2529
2530         * gst/gstclock.c:
2531         * gst/gstclock.h:
2532         * gst/gstobject.h:
2533         Docs updates.
2534
2535 2005-11-09  Wim Taymans  <wim@fluendo.com>
2536
2537         * docs/design/part-TODO.txt:
2538         Some more items for the TODO
2539
2540         * gst/gstcaps.c:
2541         * gst/gstcaps.h:
2542         Document GstCaps.
2543
2544 2005-11-09  Andy Wingo  <wingo@pobox.com>
2545
2546         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2547         to work on something else now tho...
2548
2549         * gst/base/gstadapter.c: More adapter docs.
2550
2551         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2552         (gst_file_sink_stop): New functions, replace the state change
2553         handler.
2554         (gst_file_sink_class_init): Hook up the start and stop functions.
2555         (gst_file_sink_base_init): Don't set the state change handler any
2556         more. It was a bit ugly too, being set from here...
2557         (gst_file_sink_get_property, gst_file_sink_set_property):
2558         Cleanups...
2559         (gst_file_sink_set_location): More robust check that doesn't call
2560         GST_STATE. Ugggggg.
2561
2562 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2563
2564         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2565           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2566
2567 2005-11-08  Wim Taymans  <wim@fluendo.com>
2568
2569         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2570         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2571         (gst_base_sink_chain), (gst_base_sink_change_state):
2572         * gst/base/gstbasesink.h:
2573         * gst/base/gstbasesrc.h:
2574         * gst/gstelement.h:
2575         * gst/gstevent.h:
2576         Avoid excessive typechecking in macros.
2577
2578         * gst/gstminiobject.c: (gst_mini_object_get_type),
2579         (gst_mini_object_init), (gst_mini_object_new),
2580         (gst_mini_object_free):
2581         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2582         (gst_object_finalize):
2583         Remove cruft code, optimize alloc_trace.
2584
2585 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2586
2587         * docs/faq/gst-uninstalled:
2588           fix up PS1 for systems that try to reset it
2589
2590 2005-11-07  Wim Taymans  <wim@fluendo.com>
2591
2592         * gst/base/gstbasesrc.c: (gst_base_src_init),
2593         (gst_base_src_get_range):
2594         Set the segment_end to -1 initially. Fixed typefind.
2595
2596 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2597
2598         * gst/base/gstadapter.c:
2599           Debug category should be 'adapter', not 'GstAdapter'.
2600           
2601         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2602         (gst_collectpads_class_init), (gst_collectpads_init),
2603         (gst_collectpads_peek), (gst_collectpads_pop),
2604         (gst_collectpads_event), (gst_collectpads_chain):
2605           Add debug category and some debugging output. Use boilerplate
2606           macros. Remove some extraneous words from docs.
2607
2608 2005-11-05  Andy Wingo  <wingo@pobox.com>
2609
2610         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2611         macro.
2612
2613 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2614
2615         * docs/gst/gstreamer-sections.txt:
2616         * gst/gstcaps.h:
2617         * gst/gstinfo.c:
2618         * gst/gstminiobject.h:
2619         * gst/gstobject.h:
2620         * gst/gstutils.h:
2621           more docs added
2622
2623 2005-11-04  Wim Taymans  <wim@fluendo.com>
2624
2625         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2626         Small update to stop at the configured segment_end
2627         position.
2628
2629 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2630
2631         * gst/gstregistry.c:
2632         * gst/gstregistry.h:
2633           added missing docs
2634
2635 2005-11-04  Edward Hervey  <edward@fluendo.com>
2636
2637         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2638         Check if we are doing a segment seek and have arrived at the
2639         end of that segment.
2640
2641 2005-11-04  Wim Taymans  <wim@fluendo.com>
2642
2643         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2644         Don't leak a mutex unlock in case of an error.
2645
2646         * gst/gstbus.h:
2647         Doc fixes.
2648
2649 2005-11-04  Wim Taymans  <wim@fluendo.com>
2650
2651         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2652         (gst_bus_post):
2653         Get the context to wake up only once.
2654
2655 2005-11-03  Wim Taymans  <wim@fluendo.com>
2656
2657         * check/states/sinks.c: (GST_START_TEST):
2658         Uncomment fixed check.
2659
2660         * docs/design/part-TODO.txt:
2661         Updated TODO.
2662
2663         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2664         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2665         (gst_base_sink_get_position):
2666         If we are going to PLAYING, post the right pending state
2667         when we post the intermediate paused message.
2668
2669         * gst/gstelement.c: (gst_element_continue_state),
2670         (gst_element_set_state_func), (gst_element_change_state):
2671         Don't post state changes that were between the same state
2672         and were not ASYNC.
2673
2674 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2675
2676         * docs/gst/gstreamer-sections.txt:
2677         * gst/gstcaps.h:
2678         * gst/gstinfo.c:
2679         * gst/gstminiobject.h:
2680         * gst/gstobject.h:
2681         * gst/gstutils.h:
2682           more docs and doc style fixes
2683
2684 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2685
2686         * docs/gst/gstreamer-sections.txt:
2687         * gst/gstelement.c:
2688         * gst/gstminiobject.c:
2689         doc fixes
2690
2691 2005-11-03  Andy Wingo  <wingo@pobox.com>
2692
2693         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2694         state-changed messages actually have the right order and the right
2695         values.
2696
2697 2005-11-03  Wim Taymans  <wim@fluendo.com>
2698
2699         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2700         Added some more checks. Specifically the case where NO_PREROLL
2701         elements are in the pipeline.
2702
2703         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2704         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2705         (gst_base_sink_get_position):
2706         Post READY->PAUSED state change messages too.
2707         Fix bug where VOID was posted as pending state...
2708
2709         * gst/gstbin.c: (gst_bin_recalc_state):
2710         use _element_continue_state() to continue the state change.
2711
2712         * gst/gstelement.c: (gst_element_continue_state),
2713         (gst_element_commit_state), (gst_element_set_state_func),
2714         (gst_element_change_state), (gst_element_change_state_func):
2715         Lots of state change cleanups, assign the STATE_RETURN in
2716         a new continue_state() function that also propagates the
2717         last return value from a state change to the app.
2718         Update some debug statements with proper category.
2719
2720 2005-11-03  Wim Taymans  <wim@fluendo.com>
2721
2722         * docs/design/part-events.txt:
2723         * docs/design/part-gstpipeline.txt:
2724         * docs/design/part-messages.txt:
2725         * docs/design/part-overview.txt:
2726         * docs/design/part-seeking.txt:
2727         * docs/design/part-states.txt:
2728         * docs/design/part-trickmodes.txt:
2729         * docs/manual/advanced-position.xml:
2730         Small docs updates.
2731
2732         * gst/gstobject.h:
2733         People think !! is ugly, this looks better.
2734
2735         * gst/gstpad.c: (gst_pad_set_blocked_async):
2736         Remove !! since it's fixed elsewhere now.
2737
2738 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2739
2740         * gst/gstminiobject.h:
2741         * gst/gstobject.h:
2742           Add !! to _FLAG_IS_SET macros to make the result boolean.
2743
2744 2005-11-03  Edward Hervey  <edward@fluendo.com>
2745
2746         * gst/gstpad.c: (gst_pad_set_blocked_async):
2747         comparing a flag and a gboolean rarely returns coherent results...
2748         Added two characters (!!) to make that work correctly.
2749         
2750 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2751
2752         * gst/gstbus.c: (gst_bus_class_init):
2753           Fix some typos.
2754           
2755         * gst/gstqueue.c: (gst_queue_loop):
2756           Don't assume a miniobject that isn't a buffer is an
2757           event (it could be that there is a refcounting
2758           problem somewhere and the pointer is stale and
2759           refers to an already destroyed miniobject).
2760
2761 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2762
2763         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2764
2765 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2766
2767         * docs/manual/advanced-position.xml:
2768           Update seek example and explanations to current 0.9 API.
2769
2770         * gst/elements/gsttypefindelement.c:
2771         (gst_type_find_element_activate):
2772           Remove FIXME comment now that the found caps
2773           are unreffed.
2774
2775 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2776
2777         * gst/gstregistryxml.c: (load_feature):
2778           Add another GST_STR_NULL instance
2779
2780 2005-11-02  Edward Hervey  <edward@fluendo.com>
2781
2782         * gst/gstpad.c: (handle_pad_block):
2783         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2784         
2785 2005-11-02  Wim Taymans  <wim@fluendo.com>
2786
2787         * gst/gstbin.c:
2788         Fix typo in docs.
2789
2790         * gst/gstelement.c: (gst_element_commit_state):
2791         Remove unused value.
2792
2793         * gst/gstiterator.c:
2794         Mention that the returned element is reffed in the docs.
2795
2796 2005-11-02  Wim Taymans  <wim@fluendo.com>
2797
2798         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2799         (gst_pad_push), (gst_pad_push_event):
2800         Unlock blocked pads when they are flushed.
2801
2802 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2803
2804         * docs/README:
2805         * docs/gst/gstreamer-sections.txt:
2806         * gst/gstbin.c:
2807           doc updates
2808         * gst/gstregistry.c: (gst_registry_scan_path_level):
2809           fix for a nasty little missed situation where an installed plug-in
2810           which was in the cache did not get overridden by an uninstalled one
2811           which was earlier in the plugin path because the newly created plugin
2812           for the uninstalled one (not in the registry) didn't get its
2813           ->registered set to TRUE
2814
2815 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2816
2817         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2818         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2819         (gst_collectpads_is_active), (gst_collectpads_collect),
2820         (gst_collectpads_collect_range), (gst_collectpads_start),
2821         (gst_collectpads_stop), (gst_collectpads_peek),
2822         (gst_collectpads_pop), (gst_collectpads_available),
2823         (gst_collectpads_read), (gst_collectpads_flush):
2824           Guard public API with assertions.
2825         
2826         * gst/gstpad.c:
2827           Fix docs for gst_pad_set_link_function().
2828
2829 2005-11-02  Johan Dahlin  <johan@gnome.org>
2830
2831         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2832         Unref found_caps after we used it.
2833
2834 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2835
2836         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2837           Don't try to ref NULL.
2838
2839 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2840
2841         * win32/common/config.h.in:
2842           provide a GST_FUNCTION that just gives a string for now
2843
2844 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2845
2846         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2847         (gst_object_flags_get_type), (register_gst_bin_flags),
2848         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2849         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2850         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2851         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2852         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2853         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2854         (gst_clock_flags_get_type), (register_gst_state),
2855         (gst_state_get_type), (register_gst_state_change_return),
2856         (gst_state_change_return_get_type), (register_gst_state_change),
2857         (gst_state_change_get_type), (register_gst_element_flags),
2858         (gst_element_flags_get_type), (register_gst_core_error),
2859         (gst_core_error_get_type), (register_gst_library_error),
2860         (gst_library_error_get_type), (register_gst_resource_error),
2861         (gst_resource_error_get_type), (register_gst_stream_error),
2862         (gst_stream_error_get_type), (register_gst_event_type),
2863         (gst_event_type_get_type), (register_gst_seek_type),
2864         (gst_seek_type_get_type), (register_gst_seek_flags),
2865         (gst_seek_flags_get_type), (register_gst_format),
2866         (gst_format_get_type), (register_gst_index_certainty),
2867         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2868         (gst_index_entry_type_get_type),
2869         (register_gst_index_lookup_method),
2870         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2871         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2872         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2873         (gst_index_flags_get_type), (register_gst_debug_level),
2874         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2875         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2876         (gst_iterator_result_get_type), (register_gst_iterator_item),
2877         (gst_iterator_item_get_type), (register_gst_message_type),
2878         (gst_message_type_get_type), (register_gst_mini_object_flags),
2879         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2880         (gst_pad_link_return_get_type), (register_gst_flow_return),
2881         (gst_flow_return_get_type), (register_gst_activate_mode),
2882         (gst_activate_mode_get_type), (register_gst_pad_direction),
2883         (gst_pad_direction_get_type), (register_gst_pad_flags),
2884         (gst_pad_flags_get_type), (register_gst_pad_presence),
2885         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2886         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2887         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2888         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2889         (gst_plugin_flags_get_type), (register_gst_rank),
2890         (gst_rank_get_type), (register_gst_query_type),
2891         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2892         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2893         (gst_tag_flag_get_type), (register_gst_task_state),
2894         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2895         (gst_alloc_trace_flags_get_type),
2896         (register_gst_type_find_probability),
2897         (gst_type_find_probability_get_type), (register_gst_uri_type),
2898         (gst_uri_type_get_type), (register_gst_parse_error),
2899         (gst_parse_error_get_type):
2900         * win32/common/gstversion.h:
2901           update win32 copies
2902
2903 2005-11-01  Luca Ognibene  <luogni@tin.it>
2904
2905         * gst/gst.c:
2906           fix docs. popt is dead, long live GOption.
2907
2908 2005-10-31  Wim Taymans  <wim@fluendo.com>
2909
2910         * gst/gstbuffer.h:
2911         Small doc fix.
2912
2913 2005-10-31  Andy Wingo  <wingo@pobox.com>
2914
2915         * Boo!
2916
2917         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2918
2919         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2920         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2921         the possibility of deadlocks here if code calling notify() or
2922         set() has a lock that can be taken in another notify handler (ABBA
2923         with class lock and e.g. python GIL state lock).
2924
2925 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2926
2927         * gst/gstbus.c: Doc updates.
2928
2929 2005-10-28  Wim Taymans  <wim@fluendo.com>
2930
2931         * docs/design/part-TODO.txt:
2932         * gst/gstiterator.c:
2933         * gst/gstsystemclock.c:
2934         * gst/gstsystemclock.h:
2935         Doc updates.
2936
2937 2005-10-28  Edward Hervey  <edward@fluendo.com>
2938
2939         * docs/gst/gstreamer-docs.sgml:
2940         * docs/gst/gstreamer-sections.txt:
2941         the GstURIType documentation page is private, it only defines GstURIType
2942         which should be defined in the GstURIHandler page
2943         
2944 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2945
2946         * gst/gstbin.c: (gst_bin_class_init):
2947         * gst/gstbin.h:
2948         * gst/gstutils.c:
2949         Documentation updates.
2950
2951 2005-10-28  Wim Taymans  <wim@fluendo.com>
2952
2953         * docs/gst/gstreamer-sections.txt:
2954         * gst/gstclock.c:
2955         * gst/gstclock.h:
2956         Documented the clocks.
2957
2958 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2959
2960         * docs/gst/gstreamer-sections.txt:
2961           move some macros to private sections
2962         * gst/gstminiobject.c:
2963         * gst/gstminiobject.h:
2964           add descriptions provided by ds and some more
2965         * gst/gstpad.h:
2966           mark macro as to be removed
2967
2968 2005-10-28  Wim Taymans  <wim@fluendo.com>
2969
2970         * docs/design/part-TODO.txt:
2971         Add an item to TODO.
2972
2973         * gst/gstiterator.c: (gst_iterator_fold),
2974         (gst_iterator_find_custom):
2975         * gst/gstiterator.h:
2976         Add iterator docs.
2977
2978 2005-10-28  Wim Taymans  <wim@fluendo.com>
2979
2980         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2981         (gst_base_transform_init):
2982         Don't leak class.
2983
2984         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2985         An EOS event marks the queue as completely filled.
2986
2987 2005-10-27  Wim Taymans  <wim@fluendo.com>
2988
2989         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2990         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2991         Some more debugging.
2992
2993         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2994         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2995         (gst_base_transform_event), (gst_base_transform_getrange),
2996         (gst_base_transform_chain):
2997         * gst/base/gstbasetransform.h:
2998         Fix debugging,
2999         Protect transform and concurrent buffer alloc with a new lock.
3000         Try not to break ABI/API.
3001
3002 2005-10-27  Wim Taymans  <wim@fluendo.com>
3003
3004         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3005         (gst_base_src_init), (gst_base_src_query),
3006         (gst_base_src_default_newsegment),
3007         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3008         (gst_base_src_send_event), (gst_base_src_event_handler),
3009         (gst_base_src_pad_get_range), (gst_base_src_loop),
3010         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3011         (gst_base_src_start), (gst_base_src_deactivate),
3012         (gst_base_src_activate_push), (gst_base_src_change_state):
3013         Move some stuff around and cleanup things.
3014
3015 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3016
3017         * gst/base/gstbasesrc.c: (gst_base_src_query):
3018           Add missing break statements.
3019
3020 2005-10-27  Wim Taymans  <wim@fluendo.com>
3021
3022         * check/gst/gstbin.c: (GST_START_TEST):
3023         An extra refcount is taken in basesrc.
3024
3025         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3026         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3027         (gst_base_src_loop):
3028         Small cleanups, check for flushing after being unlocked from the 
3029         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3030         Don't send out EOS when going to READY.
3031
3032 2005-10-27  Wim Taymans  <wim@fluendo.com>
3033
3034         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3035         (gst_base_sink_get_position):
3036         Some more debug.
3037
3038         * gst/gstbin.c: (message_check), (bin_replace_message),
3039         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3040         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3041         (bin_query_duration_init), (bin_query_duration_fold),
3042         (bin_query_duration_done), (bin_query_generic_fold),
3043         (gst_bin_query):
3044         * tools/gst-launch.c: (main):
3045         Remove old option.
3046
3047 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3048
3049         * examples/controller/audio-example.c: (main):
3050         * examples/queue/queue.c: (event_loop):
3051         * gst/base/gstbasetransform.h:
3052         * gst/gstelement.c: (gst_element_send_event):
3053         * gst/gstevent.h:
3054         * gst/gstpad.c: (gst_pad_send_event):
3055           fixing examples
3056           fixing docs typos
3057           changing log priority in error situations
3058
3059 2005-10-25  Wim Taymans  <wim@fluendo.com>
3060
3061         * gst/gstbin.c: (message_check), (bin_replace_message),
3062         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3063         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3064         (bin_query_duration_init), (bin_query_duration_fold),
3065         (bin_query_duration_done), (bin_query_generic_fold),
3066         (gst_bin_query):
3067         Some doc and debug updates.
3068         Cache previously requested query DURATION for speed. invalidate
3069         cached duration if element posts a DURATION message.
3070
3071 2005-10-25  Wim Taymans  <wim@fluendo.com>
3072
3073         * docs/design/part-TODO.txt:
3074         Update TODO.
3075
3076         * gst/gstbin.c: (message_check), (bin_replace_message),
3077         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3078         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3079         (bin_query_duration_init), (bin_query_duration_fold),
3080         (bin_query_duration_done), (bin_query_generic_fold),
3081         (gst_bin_query):
3082         Handle SEGMENT_START/DONE messages correctly.
3083         More evolved query algorithm that handles duration queries
3084         correctly.
3085
3086         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3087         (gst_element_get_state_func), (gst_element_abort_state),
3088         (gst_element_commit_state), (gst_element_lost_state):
3089         Some more debugging.
3090
3091         * gst/gstmessage.h:
3092         Added doc.
3093
3094 2005-10-25  Wim Taymans  <wim@fluendo.com>
3095
3096         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3097         Don't use invalid stream_time.
3098
3099         * gst/gstevent.c: (gst_event_new_newsegment):
3100         stream_time in newsegment cannot be undefined.
3101
3102 2005-10-24  Wim Taymans  <wim@fluendo.com>
3103
3104         * gst/gstbus.c:
3105         Doc fix.
3106
3107         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3108         (gst_queue_loop):
3109         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3110
3111 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3112
3113         * docs/libs/tmpl/gstdparam.sgml:
3114         * docs/libs/tmpl/gstdplinint.sgml:
3115         * docs/libs/tmpl/gstdpman.sgml:
3116         * docs/libs/tmpl/gstdpsmooth.sgml:
3117         * docs/libs/tmpl/gstunitconvert.sgml:
3118           these are obsolete
3119
3120 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3121
3122         * configure.ac:
3123           back to HEAD
3124
3125 === release 0.9.4 ===
3126
3127 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3128
3129         * configure.ac:
3130           releasing 0.9.4, "Tyrannosaurus Rex"
3131
3132 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3133
3134         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3135         (gst_file_sink_get_current_offset):
3136           Use fseeko() and ftello() if available. When falling back on
3137           lseek() to get the current offset, fflush() first to make sure
3138           everything is up-to-date and we get the right offset.
3139
3140 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3141
3142         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3143         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3144         * gst/gsterror.c: (_gst_stream_errors_init):
3145         * gst/gsterror.h:
3146         * gst/gstqueue.c: (gst_queue_loop):
3147         * po/POTFILES.in:
3148           remove prematurely added error category and clean up the instances
3149
3150 2005-10-21  Wim Taymans  <wim@fluendo.com>
3151
3152         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3153         (gst_base_sink_get_position), (gst_base_sink_query),
3154         (gst_base_sink_change_state):
3155         Simply set the right flag when going to playing, that's all
3156         we need to do instead of calling a function inside the object
3157         lock (that could take the lock as well and deadlock)
3158
3159 2005-10-21  Wim Taymans  <wim@fluendo.com>
3160
3161         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3162         (gst_base_src_loop):
3163         Don't warn, the peer element knows what to do best when
3164         the seek failed, it might try something else.
3165
3166 2005-10-21  Wim Taymans  <wim@fluendo.com>
3167
3168         * gst/base/gstbasesrc.c: (gst_base_src_init),
3169         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3170         Fix seeking.
3171
3172 2005-10-21  Wim Taymans  <wim@fluendo.com>
3173
3174         * docs/design/part-segments.txt:
3175         More docs.
3176
3177         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3178         Correctly set caps, even on the subbufer.
3179
3180 2005-10-21  Wim Taymans  <wim@fluendo.com>
3181
3182         * docs/gst/gstreamer-docs.sgml:
3183         * docs/gst/gstreamer-sections.txt:
3184         * gst/gstelement.h:
3185         * gst/gstevent.c:
3186         * gst/gstevent.h:
3187         * gst/gstmessage.h:
3188         * gst/gstpad.h:
3189         * gst/gstparse.h:
3190         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3191         * gst/gsttask.h:
3192         * gst/gstutils.c:
3193         * gst/gstutils.h:
3194         And 2% more doc coverage.
3195
3196 2005-10-21  Andy Wingo  <wingo@pobox.com>
3197
3198         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3199         position reporting.
3200
3201 2005-10-20  Wim Taymans  <wim@fluendo.com>
3202
3203         * gst/gsterror.c: (gst_error_get_message):
3204         * gst/gstparse.h:
3205         * gst/gstquery.h:
3206         * gst/gststructure.c:
3207         * gst/gsttrace.c:
3208         * gst/gstutils.c:
3209         More docs.
3210
3211 2005-10-20  Wim Taymans  <wim@fluendo.com>
3212
3213         * gst/gstbuffer.h:
3214         * gst/gstpad.c:
3215         * gst/gstparse.c:
3216         Another 1% more coverage.
3217
3218 2005-10-20  Wim Taymans  <wim@fluendo.com>
3219
3220         * docs/gst/gstreamer-sections.txt:
3221         * gst/gstelement.c: (gst_element_get_state_func),
3222         (gst_element_abort_state), (gst_element_commit_state),
3223         (gst_element_lost_state):
3224         * gst/gstevent.h:
3225         * gst/gstquery.c: (gst_query_set_position),
3226         (gst_query_parse_position), (gst_query_set_duration),
3227         (gst_query_parse_duration), (gst_query_new_convert):
3228         * gst/gstutils.c:
3229         Yay! 1% more docs coverage.
3230
3231 2005-10-20  Wim Taymans  <wim@fluendo.com>
3232
3233         * gst/gstpad.h:
3234         * gst/gstquery.c: (gst_query_set_position),
3235         (gst_query_parse_position), (gst_query_set_duration),
3236         (gst_query_parse_duration), (gst_query_new_convert):
3237         * gst/gstquery.h:
3238         * gst/gstutils.c: (gst_element_query_convert):
3239         * gst/gstutils.h:
3240         Docs and consistency fixes.
3241
3242 2005-10-20  Wim Taymans  <wim@fluendo.com>
3243
3244         * gst/gsttask.c:
3245         * gst/gsttask.h:
3246         More docs.
3247
3248 2005-10-20  Wim Taymans  <wim@fluendo.com>
3249
3250         * gst/gstbin.c: (message_check), (bin_replace_message),
3251         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3252         (update_degree), (gst_bin_sort_iterator_next),
3253         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3254         Reworked the message handling a bit, cache the messages instead of
3255         only the senders. alows us to do more in the future.
3256
3257 2005-10-20  Wim Taymans  <wim@fluendo.com>
3258
3259         * docs/design/part-TODO.txt:
3260         Update TODO
3261
3262         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3263         (gst_base_sink_query):
3264         Don't use clock time to report position when in EOS.
3265
3266 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3267
3268         * tools/gst-inspect.c: (print_interfaces),
3269         (print_element_properties_info), (print_element_info):
3270           Fix interface output with gst-inspect -a; don't print
3271           newlines after double/float properties.
3272
3273 2005-10-20  Wim Taymans  <wim@fluendo.com>
3274
3275         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3276         (gst_base_sink_query):
3277         Speed up current position calculation.
3278
3279         * gst/base/gstbasesrc.c: (gst_base_src_query),
3280         (gst_base_src_default_newsegment):
3281         Correctly set stream position in newsegment.
3282
3283         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3284         (update_degree), (gst_bin_sort_iterator_next),
3285         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3286         * gst/gstmessage.c: (gst_message_new_custom):
3287         Clean up debugging info
3288
3289         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3290         (gst_queue_loop), (gst_queue_handle_src_query):
3291         Pause task faster.
3292
3293 2005-10-19  Wim Taymans  <wim@fluendo.com>
3294
3295         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3296         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3297         Fix query handling again.
3298
3299 2005-10-19  Wim Taymans  <wim@fluendo.com>
3300
3301         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3302         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3303         * gst/base/gstbasesrc.c: (gst_base_src_query):
3304         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3305         * gst/elements/gsttypefindelement.c:
3306         (gst_type_find_handle_src_query), (find_element_get_length),
3307         (gst_type_find_element_activate):
3308         API change fix.
3309
3310         * gst/gstquery.c: (gst_query_new_position),
3311         (gst_query_set_position), (gst_query_parse_position),
3312         (gst_query_new_duration), (gst_query_set_duration),
3313         (gst_query_parse_duration), (gst_query_set_segment),
3314         (gst_query_parse_segment):
3315         * gst/gstquery.h:
3316         Bundling query position/duration is not a good idea since duration
3317         does not change much and we don't want to recalculate it for every
3318         position query, so they are separated again..
3319         Base value in segment query is not needed.
3320
3321         * gst/gstqueue.c: (gst_queue_handle_src_query):
3322         * gst/gstutils.c: (gst_element_query_position),
3323         (gst_element_query_duration), (gst_pad_query_position),
3324         (gst_pad_query_duration):
3325         * gst/gstutils.h:
3326         Updates for query API change.
3327         Added some docs here and there.
3328
3329 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3330
3331         * check/gst/gstbin.c: (GST_START_TEST):
3332         * check/gst/gstghostpad.c: (GST_START_TEST):
3333         * check/pipelines/cleanup.c: (GST_START_TEST):
3334           wait on thread to die so we can check refcount correctly
3335
3336 2005-10-18  Wim Taymans  <wim@fluendo.com>
3337
3338         * check/pipelines/stress.c: (GST_START_TEST):
3339         Make check a little more time consuming.
3340
3341 2005-10-18  Wim Taymans  <wim@fluendo.com>
3342
3343         * check/Makefile.am:
3344         * check/pipelines/stress.c: (GST_START_TEST),
3345         (simple_launch_lines_suite), (main):
3346         Small state change torture test.
3347
3348         * docs/design/part-states.txt:
3349         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3350         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3351         (gst_base_sink_change_state):
3352         Never take state lock from streaming thread, clean up ugly
3353         hacks. Unfortunatly core does not yet support nice ways to
3354         async commit state.
3355         
3356         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3357         (bin_bus_handler):
3358         Start state recalc if a STATE_DIRTY message is posted, but only
3359         on the toplevel bin.
3360
3361         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3362         (gst_element_get_state_func), (gst_element_abort_state),
3363         (gst_element_commit_state), (gst_element_lost_state),
3364         (gst_element_set_state_func), (gst_element_change_state):
3365         * gst/gstelement.h:
3366         State variables are now protected with the LOCK, the state
3367         lock is only used to serialize _set_state().
3368
3369 2005-10-18  Wim Taymans  <wim@fluendo.com>
3370
3371         * check/gst/gstbin.c: (GST_START_TEST):
3372         * check/gst/gstmessage.c: (GST_START_TEST):
3373         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3374         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3375         (bin_bus_handler):
3376         * gst/gstelement.c: (gst_element_abort_state),
3377         (gst_element_commit_state), (gst_element_lost_state):
3378         * gst/gstmessage.c: (gst_message_new_state_changed),
3379         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3380         (gst_message_new_segment_done), (gst_message_new_duration),
3381         (gst_message_parse_state_changed),
3382         (gst_message_parse_segment_start),
3383         (gst_message_parse_segment_done), (gst_message_parse_duration):
3384         * gst/gstmessage.h:
3385         * tools/gst-launch.c: (event_loop):
3386         Seriously, this is better than a previous commit as we only need
3387         to notify the fact that an element changed state in a streaming
3388         thread, marking the state of the parents dirty, hence the 
3389         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3390         message.
3391
3392 2005-10-18  Wim Taymans  <wim@fluendo.com>
3393
3394         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3395         (gst_bin_recalc_func):
3396         * gst/gstelement.c: (gst_element_set_clock),
3397         (gst_element_abort_state), (gst_element_lost_state):
3398         Cleanups, prepare for state change fixes.
3399
3400 2005-10-18  Wim Taymans  <wim@fluendo.com>
3401
3402         * gst/gstbin.h:
3403         * gst/gstelement.c: (gst_element_class_init),
3404         (gst_element_set_state), (gst_element_set_state_func):
3405         * gst/gstelement.h:
3406         Pending ABI changes.
3407         GThreadPool in GstBinClass to monitor async state changes.
3408         state_cookie in GstElement to detect concurrent gst/set state.
3409         set_state is now virtual too in case a very complicated element
3410         has to be constructed.
3411
3412 2005-10-18  Wim Taymans  <wim@fluendo.com>
3413
3414         * check/gst/gstbin.c: (GST_START_TEST):
3415         * check/gst/gstmessage.c: (GST_START_TEST):
3416         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3417         * gst/gstbin.c: (bin_bus_handler):
3418         * gst/gstelement.c: (gst_element_commit_state),
3419         (gst_element_lost_state):
3420         * gst/gstmessage.c: (gst_message_new_state_changed),
3421         (gst_message_new_segment_start), (gst_message_new_segment_done),
3422         (gst_message_new_duration), (gst_message_parse_state_changed),
3423         (gst_message_parse_segment_start),
3424         (gst_message_parse_segment_done), (gst_message_parse_duration):
3425         * gst/gstmessage.h:
3426         * tools/gst-launch.c: (event_loop):
3427         Make messages future proof.
3428         state-change gets a flag if it was a message comming from the
3429         streaming thread.
3430         segment-start/stop can also be specified in other formats.
3431         A message to notify an app that a pipeline changed playback 
3432         duration.
3433         Also fix a GstMessage leak in -launch
3434
3435 2005-10-18  Andy Wingo  <wingo@pobox.com>
3436
3437         * gst/gstelement.c (gst_element_dispose): More helpful message.
3438
3439 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3440
3441         reviewed by: <delete if not using a buddy>
3442
3443         * common/gtk-doc.mak:
3444
3445 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3446
3447         * gst/gstregistry.c: (gst_registry_scan_path_level):
3448           unref a plug-in we get that was already initialized
3449
3450 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3451
3452         * docs/gst/gstreamer-sections.txt:
3453         * docs/libs/gstreamer-libs-sections.txt:
3454         * gst/gstelement.h:
3455           add new api entries
3456           hide internal macro
3457
3458 2005-10-17  Andy Wingo  <wingo@pobox.com>
3459
3460         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3461         cleanup.
3462
3463         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3464
3465         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3466
3467         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3468         (gst_element_get_state_func): Better debug message.
3469         (gst_element_commit_state): s/INFO/DEBUG/.
3470         (gst_element_lost_state, gst_element_change_state): 
3471
3472         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3473         (gst_message_new_custom): s/INFO/LOG/.
3474
3475 2005-10-17  Michael Smith <msmith@fluendo.com>
3476
3477         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3478           Check if end time is valid using end time, not start time.
3479
3480 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3481
3482         * check/gst-libs/controller.c: (GST_START_TEST),
3483         (gst_controller_suite):
3484         * libs/gst/controller/gstcontroller.c:
3485         (gst_controlled_property_set_interpolation_mode):
3486         * libs/gst/controller/gstcontroller.h:
3487         * libs/gst/controller/gstinterpolation.c:
3488         * testsuite/controller/.cvsignore:
3489         * testsuite/controller/Makefile.am:
3490         * testsuite/controller/interpolator.c:
3491           merge controller testsuites
3492           fix broken tests
3493           remove mem-chunk from docs
3494
3495 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3496
3497         * gst/gstmemchunk.c:
3498         * gst/gstmemchunk.h:
3499         * gst/gsttrashstack.c:
3500         * gst/gsttrashstack.h:
3501           out.  get out.  you're fired.  to the Attic !
3502
3503 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3504
3505         * gst/gstcaps.c: (gst_caps_intersect):
3506           fix signedness issues in a (hopefully) correct way
3507         * gst/gstelement.c: (gst_element_pads_activate):
3508           some debugging
3509         * gst/gstobject.c: (gst_object_set_parent):
3510           some debugging
3511
3512 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3513
3514         * gst/gstvalue.h: Fix prototypes.
3515
3516 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3517
3518         * docs/gst/gstreamer-sections.txt:
3519         * gst/gst.c: (gst_version_string):
3520         * gst/gst.h:
3521         * gst/gstversion.h.in:
3522         * win32/common/libgstreamer.def:
3523           add gst_version_string ()
3524
3525 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3526
3527         * configure.ac:
3528           clean up further
3529         * gst/gst.c: (init_post):
3530         * win32/common/config.h.in:
3531           it's PLUGINDIR now
3532         * gst/gstcaps.c: (gst_caps_intersect):
3533           use gint64, the range could be bigger than a guint
3534
3535 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3536
3537         * gst/gstclock.h:
3538           document potential problem in 2038
3539
3540 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3541
3542         * gst/gstcaps.c: (gst_caps_intersect):
3543           Fix guint j diving under 0
3544
3545 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3546
3547         * configure.ac:
3548         * win32/common/config.h:
3549         * win32/common/config.h.in:
3550           check for process.h, declares getpid() on Windows
3551         * gst/gstinfo.c:
3552           include process.h if we have it
3553         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3554         * gst/gstmemchunk.h:
3555           fix signedness issues
3556         * win32/common/libgstreamer.def:
3557           fix get_type's
3558
3559 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3560
3561         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3562         fix. Because of unsigned ints, caps intersection was going nuts and
3563         trying to access structures with G_MAXUINT index. That fixes
3564         videotestsrc ! ffmpegcolorspace ! fakesink
3565         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3566         consistency.
3567
3568 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3569
3570         * configure.ac:
3571           use the gettext macro
3572         * gst/elements/gstelements.c:
3573         * gst/gst.c:
3574         * gst/indexers/gstindexers.c:
3575           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3576         * win32/common/config.h:
3577           updated config.h
3578         * win32/common/config.h.in:
3579           add the template to generate config.h
3580         * win32/common/gstenumtypes.c:
3581         * win32/common/gstversion.h:
3582           updated copies
3583
3584 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3585
3586         * gst/gst.c: (gst_version):
3587         * gst/gstversion.h.in:
3588           add the nano
3589
3590 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3591
3592         * gst/gstevent.h:
3593           Oops, add missing closing bracket.
3594
3595 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3596
3597         * configure.ac:
3598           use common m4's for argument checking
3599
3600 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3601
3602         * docs/gst/gstreamer-sections.txt:
3603         * gst/gstevent.h:
3604           Add GST_EVENT_TYPE_NAME() macro.
3605
3606 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3607
3608         * gst/gstinfo.c:
3609         * gst/gstpluginfeature.c:
3610         * gst/gsttask.c:
3611           privatize more symbols
3612
3613 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3614
3615         * configure.ac:
3616           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3617           everything that uses GStreamer API should have the includes
3618
3619 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3620
3621         * docs/gst/gstreamer-sections.txt:
3622         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3623         * gst/gstvalue.h:
3624           give each value a _get_type, removes the DATA exports
3625
3626 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3627
3628         * gst/gst.c:
3629         * gst/gst.h:
3630           remove _gst_registry_auto_load, not used anymore
3631         * gst/gstbin.c: (gst_bin_get_type):
3632         * gst/gstbin.h:
3633         * gst/gstelement.c: (gst_element_get_type):
3634         * gst/gstelement.h:
3635         * gst/gstobject.c: (gst_object_get_type):
3636         * gst/gstobject.h:
3637         * gst/gstpad.c: (gst_pad_get_type):
3638         * gst/gstpad.h:
3639           make _get_type functions similar, fixes data export from library
3640
3641 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3642
3643         * configure.ac:
3644           correctly make conditionals
3645         * gst/elements/Makefile.am:
3646         * gst/elements/gstelements.c:
3647           fix typo causing fdsrc not to build
3648
3649 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3650
3651         * testsuite/Makefile.am:
3652         * testsuite/bytestream/.cvsignore:
3653         * testsuite/bytestream/Makefile.am:
3654         * testsuite/bytestream/filepadsink.c:
3655         * testsuite/bytestream/gstbstest.c:
3656         * testsuite/bytestream/test1.c:
3657         * testsuite/bytestream/testfile1:
3658         * testsuite/caps/normalisation.c:
3659         * testsuite/caps/random.c: (main):
3660         * testsuite/cleanup/.cvsignore:
3661         * testsuite/cleanup/Makefile.am:
3662         * testsuite/cleanup/cleanup1.c:
3663         * testsuite/cleanup/cleanup2.c:
3664         * testsuite/cleanup/cleanup3.c:
3665         * testsuite/cleanup/cleanup4.c:
3666         * testsuite/cleanup/cleanup5.c:
3667         * testsuite/controller/interpolator.c:
3668         * testsuite/debug/printf_extension.c: (main):
3669         * testsuite/elements/tee.c:
3670         * testsuite/negotiation/.cvsignore:
3671         * testsuite/negotiation/Makefile.am:
3672         * testsuite/negotiation/pad_link.c:
3673         * testsuite/pad/Makefile.am:
3674         * testsuite/pad/chainnopull.c:
3675         * testsuite/pad/getnopush.c:
3676         * testsuite/pad/link.c:
3677         * testsuite/refcounting/sched.c: (create_pipeline):
3678         * testsuite/registry/Makefile.am:
3679         * testsuite/registry/gst-print-formats.c:
3680         * testsuite/schedulers/.cvsignore:
3681         * testsuite/schedulers/142183-2.c:
3682         * testsuite/schedulers/142183.c:
3683         * testsuite/schedulers/143777-2.c:
3684         * testsuite/schedulers/143777.c:
3685         * testsuite/schedulers/147713.c:
3686         * testsuite/schedulers/147819.c:
3687         * testsuite/schedulers/147894-2.c:
3688         * testsuite/schedulers/147894.c:
3689         * testsuite/schedulers/Makefile.am:
3690         * testsuite/schedulers/group_link.c:
3691         * testsuite/schedulers/queue_link.c:
3692         * testsuite/schedulers/relink.c:
3693         * testsuite/schedulers/unlink.c:
3694         * testsuite/schedulers/unref.c:
3695         * testsuite/schedulers/useless_iteration.c:
3696         * testsuite/states/bin.c:
3697           clean out/remove some stuff from the testsuite directories
3698
3699 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3700
3701         * configure.ac:
3702           check for some headers
3703         * gst/elements/Makefile.am:
3704         * gst/elements/gstelements.c:
3705           don't compile fdsrc without sys/socket.h
3706         * gst/indexers/Makefile.am:
3707         * gst/indexers/gstindexers.c: (plugin_init):
3708           don't compile fileindex without mmap
3709
3710 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3711
3712         * configure.ac:
3713           reorganize
3714           clean up
3715           document more
3716           remove cruft
3717         * check/Makefile.am:
3718         * docs/gst/Makefile.am:
3719         * examples/helloworld/Makefile.am:
3720         * gst/Makefile.am:
3721         * gst/base/Makefile.am:
3722         * gst/check/Makefile.am:
3723         * gst/elements/Makefile.am:
3724         * gst/indexers/Makefile.am:
3725         * gst/parse/Makefile.am:
3726         * libs/gst/controller/Makefile.am:
3727         * libs/gst/dataprotocol/Makefile.am:
3728         * examples/helloworld/helloworld.c: (event_loop):
3729           compile fixes, though it's not being compiled currently
3730
3731 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3732
3733         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3734           Add some simple tests for the new taglist date API.
3735
3736 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3737
3738         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3739         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3740           Beautify 'last-message' output: print 'none' for buffer timestamps
3741           and durations if none is set; improve alignment with next messages.
3742
3743 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3744
3745         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3746         * gst/gstpluginfeature.h:
3747         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3748         * gst/gstregistry.h:
3749         * docs/gst/gstreamer-sections.txt:
3750           Add new API to check plugin feature version requirements.
3751
3752         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3753           Some basic tests for the above.         
3754
3755 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3756
3757         * gst/gststructure.c: (gst_structure_to_string):
3758           guard against NULL printf - happens when for example
3759           a message structure with GstClock gets serialized
3760
3761 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3762
3763         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3764           Fix presumable copy'n'pasto.
3765
3766 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3767
3768         * gst/elements/gstfakesrc.h:
3769         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3770         * gst/elements/gsttypefindelement.c:
3771           fix some signedness
3772         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3773           I wonder if this could actually write +2GB files before
3774
3775 2005-10-13  Andy Wingo  <wingo@pobox.com>
3776
3777         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3778         Fix Timmeke Waymans bug.
3779         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3780         string of the proper length to gst_caps_from_string. There's a
3781         potential for, before this fix, that this could cause someone
3782         connecting over the network to cause a segfault if the payload is
3783         not NUL-terminated.
3784
3785 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3786
3787         * docs/design/draft-push-pull.txt:
3788         * docs/design/part-overview.txt:
3789         * docs/random/TODO-pre-0.9:
3790         * docs/random/old/ChangeLog.gstreamer:
3791         * gst/base/gstpushsrc.c:
3792         * gst/gstclock.c:
3793           fixed typos
3794
3795 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3796
3797         * gst/glib-compat.c: (gst_flags_get_first_value):
3798         * gst/glib-compat.h:
3799         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3800         (gst_value_compare_double), (gst_value_serialize_flags):
3801           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3802           infinite loop
3803
3804 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3805
3806         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3807         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3808           fix up debugging
3809         * tools/gst-launch.c: (event_loop):
3810           print out clock nicely
3811
3812 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3813
3814         * docs/gst/gstreamer-sections.txt:
3815         * gst/gsttaglist.h:
3816         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3817         (gst_tag_list_get_date_index):
3818           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3819           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3820
3821 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3822
3823         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3824         (gst_collectpads_chain):
3825         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3826         in CollectData.
3827
3828 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3829
3830         * docs/gst/gstreamer-sections.txt:
3831         * gst/gst.c:
3832         * gst/gsterror.h:
3833         * tools/gst-inspect.c: (main):
3834         * tools/gst-launch.c: (main):
3835         * tools/gst-run.c: (main):
3836         * tools/gst-xmlinspect.c: (main):
3837           fix GOption context leaks
3838           doc fixes
3839
3840 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3841
3842         * gst/gstbus.c:
3843           use HAVE_UNISTD_H
3844         * win32/common/config.h:
3845           update config
3846         * win32/vs6/grammar.dsp:
3847         * win32/vs6/libgstelements.dsp:
3848         * win32/vs6/libgstreamer.dsp:
3849           update vs6 files
3850
3851 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3852
3853         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3854         * gst/base/gstbasesrc.c: (gst_base_src_query):
3855           fix more guint64<->gdouble conversions
3856
3857 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3858
3859         * Makefile.am:
3860           add win32-update target
3861         * win32/common/gstconfig.h:
3862         * win32/common/gstenumtypes.c:
3863         * win32/common/gstenumtypes.h:
3864         * win32/common/gstversion.h:
3865           add files that visual studio can't generate
3866
3867 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3868
3869         * Makefile.am:
3870           add a win32-update target
3871         * configure.ac:
3872
3873 2005-10-12  Wim Taymans  <wim@fluendo.com>
3874
3875         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3876         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3877         * gst/gstelement.c: (gst_element_commit_state),
3878         (gst_element_set_state):
3879         Protect flags with proper lock.
3880         unref provided cached clock in dispose.
3881
3882 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3883
3884         * gst/gst.c:
3885         * gst/gstminiobject.h:
3886         * gst/gstpad.h:
3887         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3888           removed unused flags from miniobject
3889           doc fixes
3890
3891 2005-10-12  Wim Taymans  <wim@fluendo.com>
3892
3893         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3894         (gst_file_sink_event), (gst_file_sink_render):
3895         Flush before seeking.
3896
3897 2005-10-12  Andy Wingo  <wingo@pobox.com>
3898
3899         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3900         always been the case.
3901
3902 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3903
3904         * check/gst/gstbin.c: (GST_START_TEST):
3905         * docs/gst/gstreamer-sections.txt:
3906         * gst/base/gstbasesink.c: (gst_base_sink_init):
3907         * gst/base/gstbasesrc.c: (gst_base_src_init),
3908         (gst_base_src_get_range), (gst_base_src_check_get_range),
3909         (gst_base_src_start), (gst_base_src_stop):
3910         * gst/base/gstbasesrc.h:
3911         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3912         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3913         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3914         (bin_bus_handler):
3915         * gst/gstbin.h:
3916         * gst/gstbuffer.h:
3917         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3918         * gst/gstbus.h:
3919         * gst/gstelement.c: (gst_element_is_locked_state),
3920         (gst_element_set_locked_state), (gst_element_commit_state),
3921         (gst_element_set_state):
3922         * gst/gstelement.h:
3923         * gst/gstindex.c: (gst_index_init):
3924         * gst/gstindex.h:
3925         * gst/gstminiobject.h:
3926         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3927         (gst_object_set_parent):
3928         * gst/gstobject.h:
3929         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3930         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3931         * gst/gstpad.h:
3932         * gst/gstpadtemplate.h:
3933         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3934         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3935         * gst/gstpipeline.h:
3936         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3937         (gst_file_index_commit):
3938         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3939         * testsuite/pad/link.c: (gst_test_src_init),
3940         (gst_test_filter_init), (gst_test_sink_init):
3941         * testsuite/states/locked.c: (main):
3942           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3943           moved bitshift from macro to enum definition
3944
3945 2005-10-12  Wim Taymans  <wim@fluendo.com>
3946
3947         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3948         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3949         (gst_file_sink_render):
3950         Some more debugging info.
3951
3952 2005-10-12  Wim Taymans  <wim@fluendo.com>
3953
3954         * docs/design/part-states.txt:
3955         * tools/gst-launch.c: (main):
3956         Some doc updates.
3957         Revert non-intentional change.
3958
3959 2005-10-12  Wim Taymans  <wim@fluendo.com>
3960
3961         * check/gst/gstbin.c: (GST_START_TEST):
3962         * check/gst/gstelement.c: (GST_START_TEST):
3963         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3964         * check/gst/gstghostpad.c: (GST_START_TEST):
3965         * check/gst/gstpipeline.c: (GST_START_TEST):
3966         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3967         * check/states/sinks.c: (GST_START_TEST):
3968         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3969         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3970         (gst_bin_remove_func), (gst_bin_get_state_func),
3971         (gst_bin_recalc_state), (gst_bin_change_state_func),
3972         (bin_bus_handler):
3973         * gst/gstelement.c: (gst_element_get_state_func),
3974         (gst_element_get_state), (gst_element_abort_state),
3975         (gst_element_commit_state), (gst_element_set_state),
3976         (gst_element_change_state), (gst_element_change_state_func):
3977         * gst/gstelement.h:
3978         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3979         (gst_pipeline_provide_clock_func):
3980         * gst/gstutils.c: (gst_element_link_pads_filtered):
3981         * tools/gst-launch.c: (main):
3982         * tools/gst-typefind.c: (main):
3983         Use GstClockTime in _get_state() instead of GTimeVal.
3984         Remove old code in gstutils.c
3985
3986 2005-10-12  Andy Wingo  <wingo@pobox.com>
3987
3988         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3989         removed.
3990
3991         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3992         there is no task. Shouldn't affect any code, as nothing in our
3993         plugins checks this return value.
3994         (gst_pad_stop_task): Also take the stream lock if the pad has no
3995         task. Docs updated.
3996
3997 2005-10-12  Wim Taymans  <wim@fluendo.com>
3998
3999         * gst/gstpad.c: (pre_activate), (post_activate),
4000         (gst_pad_activate_pull), (gst_pad_activate_push):
4001         Cleanup activation code. Reset old state if
4002         activation failed.
4003
4004 2005-10-12  Wim Taymans  <wim@fluendo.com>
4005
4006         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4007         (gst_base_sink_change_state):
4008         No need to prerol after receiving EOS.
4009
4010         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4011         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4012         * gst/elements/gstidentity.c: (gst_identity_event):
4013         Print events more verbosely.
4014
4015 2005-10-12  Wim Taymans  <wim@fluendo.com>
4016
4017         * check/Makefile.am:
4018         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4019         * check/states/sinks2.c:
4020         Moved sinks2 testcode in sinks check.
4021
4022         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4023         (gst_bin_remove_func), (gst_bin_recalc_state),
4024         (gst_bin_change_state_func), (bin_bus_handler):
4025         Fix potential race condition when _get_state() iterated over an
4026         ASYNC element right before it posted a state completion.
4027
4028         * gst/gstclock.h:
4029         Do proper cast here.
4030
4031         * gst/gstevent.c: (gst_event_new_newsegment),
4032         (gst_event_parse_newsegment):
4033         A playback rate of 0.0 is not allowed.
4034
4035 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4036
4037         * win32/common/config.h:
4038         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4039         (_trewinddir), (_ttelldir), (_tseekdir):
4040         * win32/common/dirent.h:
4041         * win32/common/gtchar.h:
4042         * win32/common/libgstbase.def:
4043         * win32/common/libgstreamer.def:
4044         * win32/vs6/grammar.dsp:
4045         * win32/vs6/gst_inspect.dsp:
4046         * win32/vs6/gst_launch.dsp:
4047         * win32/vs6/gstreamer.dsw:
4048         * win32/vs6/libgstbase.dsp:
4049         * win32/vs6/libgstelements.dsp:
4050         * win32/vs6/libgstreamer.dsp:
4051           Visual Studio 6 project files, and a new common directory.
4052           Phear.
4053
4054 2005-10-11  Wim Taymans  <wim@fluendo.com>
4055
4056         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4057         (gst_base_sink_do_sync), (gst_base_sink_query),
4058         (gst_base_sink_change_state):
4059         * gst/base/gstbasesink.h:
4060         Correctly parse newsegment info.
4061
4062 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4063
4064         * gst/gst.c: (init_post):
4065           split plugin paths correctly
4066
4067 2005-10-11  Wim Taymans  <wim@fluendo.com>
4068
4069         * check/gst/gstevent.c: (GST_START_TEST):
4070         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4071         (gst_base_sink_change_state):
4072         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4073         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4074         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4075         * gst/gstevent.c: (gst_event_new_newsegment),
4076         (gst_event_parse_newsegment):
4077         * gst/gstevent.h:
4078         Added extra flag to newsegment for future API freeze.
4079         Updated check and base elements.
4080
4081 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4082
4083         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4084         (gst_collectpads_add_pad), (gst_collectpads_pop),
4085         (gst_collectpads_event), (gst_collectpads_chain):
4086         * gst/base/gstcollectpads.h: Handle EOS correctly.
4087
4088 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4089
4090         * tools/gst-launch.c: (main):
4091           more null protecting
4092
4093 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4094
4095         * gst/gst-i18n-lib.h:
4096           check for ENABLE_NLS, not GETTEXT_PACKAGE
4097         * gst/gstregistry.c: (gst_registry_add_plugin),
4098         (gst_registry_scan_path_level),
4099         (_gst_registry_remove_cache_plugins):
4100           protect possibly NULL strings
4101         * gst/parse/types.h:
4102           config.h already included before
4103         * tools/gst-inspect.c: (main):
4104           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4105           check for ENABLE_NLS, not GETTEXT_PACKAGE
4106         * tools/gst-launch.c: (main):
4107           check for ENABLE_NLS, not GETTEXT_PACKAGE
4108
4109 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4110
4111         * configure.ac:
4112           if we don't have glib, fail before testing 2.8
4113         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4114           fix a leak, should fix plugins-base testsuite
4115
4116 2005-10-11  Andy Wingo  <wingo@pobox.com>
4117
4118         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4119         take the mode we're going to as an arg. Go head and set the mode
4120         and flushing flags now, so that if the activate function starts a
4121         thread all the flags will be in the right state.
4122         (post_activate): Renamed also. Just handle making sure streaming
4123         finishes for the deactivation case, and setting the deactivated
4124         mode.
4125         (gst_pad_set_active): Complain loudly if deactivation fails.
4126         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4127         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4128         remove the terrible hack.
4129
4130 2005-10-11  Wim Taymans  <wim@fluendo.com>
4131
4132         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4133         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4134         (gst_bin_recalc_state), (gst_bin_change_state_func),
4135         (gst_bin_dispose), (bin_bus_handler):
4136         * gst/gstbin.h:
4137         Prepare to make current EOS message queue more generic.
4138         Fix some typos.
4139
4140         * gst/gstevent.c: (gst_event_new_newsegment),
4141         (gst_event_parse_newsegment):
4142         * gst/gstevent.h:
4143         Rename base to stream_time.
4144
4145         * gst/gstmessage.h:
4146         Fix typo in docs.
4147
4148 2005-10-11  Wim Taymans  <wim@fluendo.com>
4149
4150         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4151         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4152         (gst_bin_change_state_func), (bin_bus_handler):
4153         * gst/gstbin.h:
4154         Work on proper clock selection.
4155
4156 2005-10-11  Edward Hervey  <edward@fluendo.com>
4157
4158         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4159         * libs/gst/controller/gstcontroller.h:
4160         Added GList* version of _remove_properties() in order to be able to wrap
4161         it in bindings.
4162
4163 2005-10-11  Wim Taymans  <wim@fluendo.com>
4164
4165         * docs/design/part-states.txt:
4166         Some more docs.
4167
4168         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4169         (gst_bin_change_state_func), (bin_bus_handler):
4170         Doc updates. Don't distribute the same clock over and over again.
4171
4172         * gst/gstclock.c:
4173         * gst/gstclock.h:
4174         Doc updates.
4175
4176         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4177         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4178         (gst_pad_send_event):
4179         * gst/gstpad.h:
4180         Make probe emission threadsafe again.
4181         Register quarks and move _get_name() from utils.
4182         Doc updates.
4183
4184         * gst/gstpipeline.c: (gst_pipeline_class_init),
4185         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4186         Only redistribute the clock of it changed.
4187
4188         * gst/gstsystemclock.h:
4189         Doc updates. 
4190
4191         * gst/gstutils.c:
4192         * gst/gstutils.h:
4193         Moved the _flow_get_name() to GstPad.
4194
4195 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4196
4197         * check/gst-libs/gdp.c: (GST_START_TEST):
4198         * check/gst/gstcaps.c: (GST_START_TEST):
4199         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4200         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4201         (gst_dp_packet_from_caps):
4202           fix more valgrind warnings before turning up the heat
4203
4204 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4205
4206         * gst/parse/grammar.y:
4207           some cleanup before the hacking
4208
4209 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4210
4211         * gst/base/gstbasesrc.c: (gst_base_src_query):
4212           use conversions
4213         * gst/gstutils.c: (gst_guint64_to_gdouble),
4214         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4215         * gst/gstutils.h:
4216           externalize, basesrc uses it
4217           obviously the implementation needs testing
4218
4219 2005-10-10  Wim Taymans  <wim@fluendo.com>
4220
4221         * tests/sched/Makefile.am:
4222         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4223         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4224
4225 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4226
4227         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4228           apparently converting from guint64 to double is not implemented
4229           on MSVC
4230
4231 2005-10-10  Wim Taymans  <wim@fluendo.com>
4232
4233         * check/Makefile.am:
4234         * check/generic/states.c: (GST_START_TEST):
4235         * check/gst/gstbin.c: (GST_START_TEST):
4236         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4237         * check/states/sinks.c: (GST_START_TEST):
4238         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4239         (main):
4240         Check fixes, use API as stated in design docs, remove hacks.
4241
4242         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4243         (gst_base_sink_change_state):
4244         Catch stopping our task while we're shutting down.
4245
4246         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4247         (gst_bin_remove_func), (gst_bin_get_state_func),
4248         (gst_bin_recalc_state), (gst_bin_change_state_func),
4249         (bin_bus_handler):
4250         * gst/gstbin.h:
4251         * gst/gstelement.c: (gst_element_init),
4252         (gst_element_get_state_func), (gst_element_abort_state),
4253         (gst_element_commit_state), (gst_element_lost_state),
4254         (gst_element_set_state), (gst_element_change_state),
4255         (gst_element_change_state_func):
4256         * gst/gstelement.h:
4257         New state change algorithm (see #318116)
4258
4259         * gst/gstpipeline.c: (gst_pipeline_class_init),
4260         (gst_pipeline_init), (gst_pipeline_set_property),
4261         (gst_pipeline_get_property), (do_pipeline_seek),
4262         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4263         * gst/gstpipeline.h:
4264         Remove crude state change hacks.
4265
4266         * gst/gstutils.h:
4267         Remove crude hacks.
4268
4269         * tools/gst-launch.c: (main):
4270         Fixes for state change. Needs some more work to fully use the
4271         new stuff.
4272
4273 2005-10-10  Andy Wingo  <wingo@pobox.com>
4274
4275         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4276
4277         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4278         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4279         issue.
4280
4281 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4282
4283         * gst/gstiterator.c: (gst_iterator_new):
4284           Fix my previous commit: GTypes passed to gst_iterator_new()
4285           can be fundamental types.
4286
4287 2005-10-10  Wim Taymans  <wim@fluendo.com>
4288
4289         * gst/gstelement.c: (gst_element_iterate_pad_list),
4290         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4291         (gst_element_iterate_sink_pads):
4292         Use src/sink pads lists for the respective iterators instead
4293         of filtering.
4294
4295 2005-10-10  Andy Wingo  <wingo@pobox.com>
4296
4297         Merged in popt removal + GOption addition patch from Ronald, bug
4298         #169772.
4299
4300         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4301         GstElement macros around, remove popt-related symbols, add goption
4302         stuff.
4303
4304         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4305         
4306         * docs/gst/Makefile.am:
4307         * docs/libs/Makefile.am: No POPT_CFLAGS.
4308         
4309         * examples/manual/Makefile.am:
4310         * docs/manual/basics-init.xml: Doc updates with an example.
4311         
4312         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4313         (gst_init), (parse_one_option), (parse_goption_arg):
4314         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4315         bit of hand merging and debugging to get the GOption stuff working
4316         tho.
4317         
4318         * tests/Makefile.am:
4319         * tools/Makefile.am:
4320         * tools/gst-inspect.c: (main):
4321         * tools/gst-launch.c: (main):
4322         * tools/gst-run.c: (main):
4323         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4324
4325 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4326
4327         * gst/gstiterator.c: (gst_iterator_new):
4328           Add assertions to make sure passed GType is likely to really
4329           be a GType (as the compiler won't catch it if the size and
4330           GType arguments get mixed up, see #318447).
4331
4332 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4333
4334         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4335
4336         * gst/gstbin.c: (gst_bin_iterate_sorted):
4337           Pass GType and size arguments to gst_iterator_new() in the right
4338           order (maybe we should make _new() take the GType as first argument
4339           just like _new_list()?) (#318447).
4340           
4341
4342 2005-10-10  Wim Taymans  <wim@fluendo.com>
4343
4344         * gst/gstelement.c: (gst_element_finalize):
4345         And free the GStaticRecMutex too
4346
4347 2005-10-10  Andy Wingo  <wingo@pobox.com>
4348
4349         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4350         Allocate and free the mutex properly.
4351
4352         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4353         New macros.
4354         (GstElement): The state_lock is now recursive. Rebuild your
4355         plugins, suckers. Old macros adapted.
4356
4357         * docs/gst/gstreamer-sections.txt: Doc updates.
4358
4359         * gst/gstutils.h:
4360         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4361         (g_static_rec_cond_wait): Ported from state changes patch, while
4362         we wait on bug #317802 to be solved in a well-distributed GLib.
4363
4364         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4365         gst_element_change_state, variable name changes.
4366         (gst_element_change_state): Split out of gst_element_set_state in
4367         preparation for the state change merge. Doesn't pay attention to
4368         the 'transition' argument.
4369         (gst_element_set_state): Updates, hopefully purely cosmetic.
4370         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4371         state change patch.
4372         (gst_element_get_state_func): Renamed from get_state, cosmetic
4373         changes.
4374
4375 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4376
4377         * gst/elements/gstelements.c:
4378         * win32/GStreamer.vcproj:
4379         * win32/config.h:
4380         * win32/dirent.c: (_tseekdir):
4381         * win32/gst-inspect.vcproj:
4382         * win32/gst-launch.vcproj:
4383         * win32/gstconfig.h:
4384         * win32/gstelements.vcproj:
4385         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4386         * win32/gstreamer.def:
4387         * win32/msvc71.sln:
4388           updates for the win32 build (patch from Sebastien Moutte)
4389
4390 2005-10-10  Andy Wingo  <wingo@pobox.com>
4391
4392         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4393         gst_bin_get_state, cleaned up (but no logic changes).
4394         (bin_element_is_sink): Comment updates.
4395         (sink_iterator_filter): Remove needless cast.
4396         (gst_bin_iterate_sinks): Doc update.
4397         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4398         cleaned up (but no logic changes).
4399
4400         * check/states/sinks.c (test_src_sink): Cleanups from the state
4401         change patch.
4402         (test_livesrc_sink): Sync on the state.
4403
4404         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4405         the state change patch.
4406
4407         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4408         change patch.
4409
4410         * check/gst/gstbin.c: Merge in some style fixes and additional
4411         checks from Wim's state change patch.
4412
4413 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4414
4415         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4416         (gst_type_find_helper):
4417           Check whether we have the requested data already in our list of
4418           cached buffers before pulling a new buffer; also make the buffer
4419           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4420
4421 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4422
4423         * gst/gstcaps.c:
4424         * gst/gstevent.c:
4425           doc updates
4426         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4427           don't use long long, it's not portable.  Replacing with
4428           gint64 seems to work; let's hope no skeletons fall out of the closet.
4429
4430 2005-10-10  Andy Wingo  <wingo@pobox.com>
4431
4432         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4433
4434 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4435
4436         * docs/gst/gstreamer-sections.txt:
4437         * gst/gstevent.c:
4438         * gst/gstevent.h:
4439         * gst/gstinfo.c:
4440         * gst/gstinfo.h:
4441         * gst/gstmessage.c: (gst_message_parse_state_changed):
4442         * gst/gstpad.c:
4443         * gst/gstpad.h:
4444           more docs, fix compilation
4445
4446 2005-10-09  Philippe Khalaf <burger@speedy.org>
4447         * gst/gstmessage.c:
4448           Fixed a few forgotten variables on previous commit
4449
4450 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4451
4452         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4453           Fix evil typefind crasher: getrange() might return a short
4454           buffer at the end of a file, but gst_type_find_peek() must
4455           either return the full data as requested or NULL, but
4456           never a short buffer.
4457
4458 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4459
4460         * gst/gstmessage.c: (gst_message_new_state_changed),
4461         (gst_message_parse_state_changed):
4462         * gst/gstmessage.h:
4463           don't use "new", it's a C++ keyword
4464
4465 2005-10-08  Wim Taymans  <wim@fluendo.com>
4466
4467         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4468         * gst/gstelement.c: (gst_element_post_message):
4469         * gst/gstpipeline.c: (gst_pipeline_change_state):
4470         Small docs and debug updates.
4471
4472 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4473
4474         * docs/gst/gstreamer-sections.txt:
4475         * gst/gstelementfactory.c:
4476         * gst/gstevent.c:
4477         * gst/gsttaglist.c:
4478           more docs
4479
4480 2005-10-08  Wim Taymans  <wim@fluendo.com>
4481
4482         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4483         (gst_bin_dispose), (bin_bus_handler):
4484         Fix typos, add comments.
4485         Clear EOS list when going to PAUSED from any direction and do it
4486         in a threadsafe way.
4487         Get base time in a threadsafe way too.
4488         Fix confusing debug in the change_state function.
4489         Various other small cleanups.
4490         
4491         * gst/gstelement.c: (gst_element_post_message):
4492         Fix very verbose bus posting code.
4493
4494         * gst/gstpipeline.c: (gst_pipeline_class_init),
4495         (gst_pipeline_set_property), (gst_pipeline_get_property),
4496         (gst_pipeline_change_state):
4497         Small ARG_ -> PROP_ cleanup
4498
4499 2005-10-08  Wim Taymans  <wim@fluendo.com>
4500
4501         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4502         Do a less CPU demanding EOS check because we can.
4503
4504 2005-10-08  Wim Taymans  <wim@fluendo.com>
4505
4506         * libs/gst/dataprotocol/dataprotocol.c:
4507         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4508         (gst_dp_packet_from_event):
4509         * libs/gst/dataprotocol/dataprotocol.h:
4510         * libs/gst/dataprotocol/dp-private.h:
4511         It's about time we bump the version number.
4512         Since event types don't fit in the guint8 anymore describing
4513         the payload type, make payload type 16 bits wide.
4514
4515 2005-10-08  Wim Taymans  <wim@fluendo.com>
4516
4517         * docs/design/part-TODO.txt:
4518         * docs/design/part-clocks.txt:
4519         * docs/design/part-events.txt:
4520         * docs/design/part-gstbin.txt:
4521         * docs/design/part-gstelement.txt:
4522         * docs/design/part-gstpipeline.txt:
4523         * docs/design/part-live-source.txt:
4524         * docs/design/part-messages.txt:
4525         * docs/design/part-overview.txt:
4526         * docs/design/part-states.txt:
4527         Many doc updates.
4528
4529 2005-10-08  Wim Taymans  <wim@fluendo.com>
4530
4531         * gst/gstevent.c:
4532         * gst/gstevent.h:
4533         Fix event quark registration.
4534         Add some space between events so we can insert them in the
4535         right groups.
4536
4537 2005-10-08  Wim Taymans  <wim@fluendo.com>
4538
4539         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4540         (gst_base_sink_handle_buffer):
4541         Better log message.
4542
4543         * gst/gstbus.h:
4544         * gst/gstelement.h:
4545         More docs.
4546
4547         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4548         (gst_queue_set_property), (gst_queue_get_property):
4549         * gst/gstqueue.h:
4550         Remove old unused properties.
4551
4552 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4553         * docs/gst/gstreamer-sections.txt:
4554         * gst/gstmessage.c:
4555         * gst/gstmessage.h:
4556         * gst/gstminiobject.c:
4557         * gst/gstminiobject.h:
4558         * gst/gstobject.h:
4559         * gst/gstpad.h:
4560         * gst/gstutils.h:
4561           lots of new docs and doc fixes
4562
4563 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4564
4565         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4566         * gst/gstplugin.h:
4567         * gst/gstregistry.c: (gst_registry_lookup_locked),
4568         (gst_registry_scan_path_level):
4569         * gst/gstregistryxml.c: (load_plugin):
4570           Only ever load one plugin for a given plugin basename.
4571           This ensures correct overriding of GST_PLUGIN_PATH over
4572           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4573           system installed plugins.
4574
4575 2005-10-08  Wim Taymans  <wim@fluendo.com>
4576
4577         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4578         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4579         Prepare for doing QOS.
4580
4581 2005-10-08  Wim Taymans  <wim@fluendo.com>
4582
4583         * check/gst/gstbin.c: (GST_START_TEST):
4584         * check/pipelines/cleanup.c: (GST_START_TEST):
4585         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4586         Allow new clock message too.
4587
4588 2005-10-08  Wim Taymans  <wim@fluendo.com>
4589
4590         * gst/gstmessage.c: (gst_message_new_error),
4591         (gst_message_new_warning), (gst_message_new_tag),
4592         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4593         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4594         (gst_message_new_segment_start), (gst_message_new_segment_done),
4595         (gst_message_parse_state_changed),
4596         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4597         (gst_message_parse_new_clock):
4598         * gst/gstmessage.h:
4599         Also carry the clock in question.
4600
4601 2005-10-08  Wim Taymans  <wim@fluendo.com>
4602
4603         * gst/gstmessage.c: (gst_message_new_custom),
4604         (gst_message_new_eos), (gst_message_new_error),
4605         (gst_message_new_warning), (gst_message_new_tag),
4606         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4607         (gst_message_new_new_clock), (gst_message_new_segment_start),
4608         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4609         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4610         * gst/gstmessage.h:
4611         Clean up.
4612         Added clock related messages.
4613
4614         * gst/gstpipeline.c: (gst_pipeline_change_state):
4615         Post message when the clock changed.
4616
4617         * tools/gst-launch.c: (event_loop):
4618         Print new clock.
4619
4620 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4621
4622         * tools/gst-inspect.c: (print_element_properties_info):
4623           Can't pass NULL strings to g_print() on windows.
4624
4625 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4626
4627         * docs/Makefile.am:
4628         * docs/gst/Makefile.am:
4629         * docs/gst/gstreamer-docs.sgml:
4630         * docs/gst/running.xml:
4631         * docs/version.entities.in:
4632           add a chapter on running GStreamer.
4633           document GST_DEBUG and GST_PLUGIN* env vars
4634
4635 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4636
4637         * Makefile.am:
4638           remove include dir
4639         * configure.ac:
4640           remove PLUGINS_BUILDDIR stuff
4641         * gst/gst.c: (init_post):
4642           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4643         * idiottest.mak:
4644           remove, it was condescending and not needed
4645
4646 2005-10-08  Wim Taymans  <wim@fluendo.com>
4647
4648         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4649         (gst_base_sink_handle_object), (gst_base_sink_event),
4650         (gst_base_sink_wait), (gst_base_sink_handle_event),
4651         (gst_base_sink_change_state):
4652         * gst/base/gstbasesink.h:
4653         Repost EOS message while going to PLAYING if still EOS.
4654         Make sure that when receiving a FLUSH_START we don't attempt
4655         to sync on the clock anymore.
4656
4657 2005-10-08  Wim Taymans  <wim@fluendo.com>
4658
4659         * tools/gst-launch.c: (event_loop):
4660         Better message printout.
4661
4662 2005-10-08  Wim Taymans  <wim@fluendo.com>
4663
4664         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4665         (gst_bin_child_proxy_get_children_count):
4666         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4667         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4668         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4669         (gst_child_proxy_set_valist):
4670         * gst/parse/grammar.y:
4671         Make ChildProxy threadsafe and fix mem leaks.
4672
4673 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4674
4675         * gst/gst.c: (init_post):
4676           debug the GST_PLUGIN_ env vars
4677
4678 2005-10-08  Wim Taymans  <wim@fluendo.com>
4679
4680         * check/gst/gstbin.c: (GST_START_TEST):
4681         * check/gst/gstmessage.c: (GST_START_TEST):
4682         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4683         * gst/gstelement.c: (gst_element_commit_state),
4684         (gst_element_lost_state):
4685         * gst/gstmessage.c: (gst_message_new_state_changed),
4686         (gst_message_parse_state_changed):
4687         * gst/gstmessage.h:
4688         * tools/gst-launch.c: (event_loop):
4689         Added extra field to STATE_CHANGE message with the pending
4690         state, which will be different from the new state soon.
4691
4692 2005-10-08  Wim Taymans  <wim@fluendo.com>
4693
4694         * gst/gstbus.c: (gst_bus_pop):
4695         * gst/gstclock.c:
4696         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4697         Small cleanups and doc updates.
4698
4699 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4700
4701         * gst/gst.c: (init_pre):
4702         * gst/gstbin.c: (gst_bin_add_func):
4703           log distributing clocks and base time
4704         * gst/gstregistry.c: (gst_registry_add_plugin),
4705         (gst_registry_scan_path_level), (gst_registry_scan_path):
4706           clean up the debugging output a little
4707         * gst/gstutils.c: (gst_element_state_get_name):
4708           warn about a memleak (I've actually seen this be used, though
4709           it was probably a bug)
4710
4711 2005-10-07  Wim Taymans  <wim@fluendo.com>
4712
4713         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4714         (gst_base_src_init), (gst_base_src_default_newsegment),
4715         (gst_base_src_newsegment), (gst_base_src_do_seek),
4716         (gst_base_src_loop), (gst_base_src_start):
4717         * gst/base/gstbasesrc.h:
4718         Make the newsegment event customizable by subclasses.
4719
4720 2005-10-07  Wim Taymans  <wim@fluendo.com>
4721
4722         * gst/gstevent.c: (gst_event_new_buffersize),
4723         (gst_event_parse_buffersize):
4724         * gst/gstevent.h:
4725         New event for future idea.
4726
4727 2005-10-07  Andy Wingo  <wingo@pobox.com>
4728
4729         * gst/gstelement.c (gst_element_post_message): Doc update.
4730
4731         * docs/gst/gstreamer-sections.txt: Update.
4732
4733         * gst/gstmessage.c (gst_message_new_application): Made into a
4734         function like honest API calls.
4735         (gst_message_new_element): New message type.
4736
4737         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4738
4739         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4740         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4741         times.
4742
4743         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4744         NO_PREROLL from gst_element_change_state to fall through.
4745
4746 2005-10-07  Wim Taymans  <wim@fluendo.com>
4747
4748         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4749         (gst_ghost_pad_do_activate_push):
4750         Activating a ghostpad with no internal pad in push mode
4751         is ok.
4752
4753 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4754
4755         * gst/gstobject.h:
4756           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4757           Fixes compilation on Windows.
4758
4759 2005-10-07  Michael Smith <msmith@fluendo.com>
4760
4761         * tools/gst-inspect.c:
4762           Print out feature and plugin count at the end when printing out
4763           all features.
4764
4765 2005-10-04  Michael Smith <msmith@fluendo.com>
4766
4767         * gst/gsterror.c: (_gst_stream_errors_init):
4768           Add another error string used in a few existing plugins.
4769
4770         * gst/gstplugin.c:
4771         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4772         * tools/gst-inspect.c: (print_element_info):
4773           When a feature disappears from a plugin (and the feature exists in
4774           the cached registry file), things went horribly wrong. This isn't a
4775           complete fix, we should actually be removing the 'missing' features
4776           from the features list when we load the actual plugin. That's not
4777           yet implemented. 
4778
4779 2005-10-04  Johan Dahlin  <johan@gnome.org>
4780
4781         * check/gst/gstiterator.c: (GST_START_TEST):
4782         * gst/gstbin.c: (gst_bin_iterate_elements),
4783         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4784         * gst/gstelement.c: (gst_element_iterate_pads):
4785         * gst/gstformat.c: (gst_format_iterate_definitions):
4786         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4787         (gst_iterator_new_list), (gst_iterator_filter):
4788         * gst/gstiterator.h:
4789         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4790         Add a GType to GstIterator, update callsites and tests.
4791
4792 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4793
4794         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4795           give events a chance to be handled by event probes when the pad
4796           is not linked
4797
4798 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4799
4800         * gst/gstevent.c: (gst_event_type_get_name),
4801         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4802         * gst/gstevent.h:
4803           add string representations for event types
4804
4805 2005-10-06  Wim Taymans  <wim@fluendo.com>
4806
4807         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4808         Don't use NULL pointers.
4809
4810 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4811
4812         * gst/gst_private.h:
4813         * gst/gstbus.c:
4814         * gst/gstelement.c:
4815         * gst/gstinfo.c:
4816         * gst/gstpluginfeature.c:
4817           widen the debug category in output to fit the biggest one we have
4818           add a bus category and use it
4819           play with the colors
4820           fix up some categories
4821
4822 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4823
4824         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4825           add push activation of sink ghost pads.
4826           Andye, please verify
4827
4828 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4829
4830         * gst/gstutils.c: (gst_element_link_pads):
4831           fix a bug in the case where neither element has a pad
4832         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4833           add a test for that case
4834
4835 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4836
4837         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4838           emit have-data before checking for peers.  This allows
4839           for probe handlers to connect elements.  This helps autopluggers.
4840         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4841         (gst_pad_suite):
4842           add six checks, linked/unlinked with no/true/false probe
4843
4844 2005-10-04  Wim Taymans  <wim@fluendo.com>
4845
4846         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4847         (gst_fake_sink_event), (gst_fake_sink_preroll),
4848         (gst_fake_sink_render), (gst_fake_sink_change_state):
4849         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4850         (gst_fake_src_get_property), (gst_fake_src_create),
4851         (gst_fake_src_stop):
4852         * gst/elements/gstidentity.c: (gst_identity_stop):
4853         Protect last_message with lock.
4854
4855 2005-10-04  Edward Hervey  <edward@fluendo.com>
4856
4857         * gst/gstformat.h: 
4858         Added precision in the comments for GST_FORMAT_DEFAULT
4859
4860 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4861
4862         * tools/gst-launch.c: (main):
4863           Don't try to run erroneous pipelines.
4864
4865 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4866
4867         * gst/gstbus.c: We don't need this header.
4868
4869 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4870
4871         * configure.ac:
4872           back to development
4873
4874 === release 0.9.3 ===
4875
4876 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4877
4878         * README:
4879         * configure.ac:
4880           Releasing 0.9.3, "Unregistered"
4881
4882 2005-10-03  Andy Wingo  <wingo@pobox.com>
4883
4884         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4885         whereby calling a pad's activatepush() function can start a thread
4886         that starts to push or pull before the pad gets the FLUSHING flag
4887         unset. Hack around it by holding the stream lock until the flag is
4888         set. Need to replace this with a proper solution. Together with
4889         the ghost pad fixes, this fixes mp3 playing/tagreading.
4890
4891         * docs/design/part-gstghostpad.txt: Add a note about activation of
4892         proxy pads outside of ghost pads.
4893
4894         * gst/gstghostpad.c: Implement the ghost pad activation design.
4895
4896 2005-10-02  Andy Wingo  <wingo@pobox.com>
4897
4898         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4899         It is volatile, after all.
4900
4901         * docs/design/part-gstghostpad.txt: Flesh out activation with
4902         ghost pads.
4903
4904         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4905         GST_DEBUG_FUNCPTR.
4906
4907 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4908
4909         * configure.ac:
4910           Fix (unused) AM_CONDITIONAL tests.
4911
4912 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4913
4914         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4915
4916         * gst/gstutils.c: (gst_pad_query_convert):
4917           Add assertion that makes sure src_val is >=0, just like
4918           gst_query_new_convert() has. (#315895)
4919
4920 2005-09-30  Edward Hervey  <edward@fluendo.com>
4921
4922         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4923         Let's not iterate pads we're not interested in, it avoids getting 
4924         sky-high refcounts on sinkpad.
4925
4926 2005-09-30  Wim Taymans  <wim@fluendo.com>
4927
4928         * gst/gstelement.c: (gst_element_set_state),
4929         (gst_element_change_state):
4930         Small tweak, element in ASYNC remains ASYNC.
4931
4932 2005-09-30  Wim Taymans  <wim@fluendo.com>
4933
4934         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4935         Only error is an error.
4936
4937         * gst/gstbin.c: (gst_bin_change_state):
4938         Better debugging.
4939
4940         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4941         Also call pad_block in pad alloc.
4942
4943         * gst/gstutils.c: (gst_flow_get_name):
4944         Better debugging.
4945
4946 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4947
4948         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4949         (gst_base_src_get_range):
4950           Fix documentation typos. Add some more debug info.
4951
4952 2005-09-29  David Schleef  <ds@schleef.org>
4953
4954         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4955           more end-user friendly.
4956         * tools/gst-inspect.c: (main): Check if command-line argument is
4957           a file and attempt to load that file as a plugin.
4958
4959 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4960
4961         * check/gst/gstbin.c:
4962         * check/states/sinks.c:
4963           fix tests for the new warning
4964         * check/gst/gstpipeline.c:
4965           add a test for pipeline and bus interaction
4966         * gst/gstelement.c:
4967           elements should be NULL if they get disposed; add a warning if not
4968
4969 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4970
4971         * gst/gstobject.c:
4972           for 2.6 refcounting, make debug log more correct by printing
4973           the actual refcounts at the time of swap (Wim)
4974
4975 2005-09-29  Andy Wingo  <wingo@pobox.com>
4976
4977         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4978         removes signal watches previously added via
4979         gst_bus_add_signal_watch.
4980         (gst_bus_add_signal_watch): Don't return the source id, just store
4981         it on the bus if there wasn't an id already.
4982
4983         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4984         add_signal_watch and remove_signal_watch.
4985
4986 2005-09-29  Edward Hervey  <edward@fluendo.com>
4987
4988         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4989         Better if we actually iterate the list :)
4990
4991 2005-09-29  Wim Taymans  <wim@fluendo.com>
4992
4993         * check/gst/gstbin.c: (GST_START_TEST):
4994         Change for new bus API.
4995
4996         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4997         (send_messages), (GST_START_TEST), (gstbus_suite):
4998         Change for new bus signal API.
4999
5000         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5001         (gst_bus_source_prepare), (gst_bus_source_check),
5002         (gst_bus_create_watch), (gst_bus_add_watch_full),
5003         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5004         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5005         * gst/gstbus.h:
5006         Remove support for multiple GSources operating on different
5007         message types as it is too complex and unneeded when using
5008         signals.
5009         Added support for receiving signals from the bus.
5010
5011 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5012
5013         * docs/libs/tmpl/gstdataprotocol.sgml:
5014         * docs/manual/advanced-dataaccess.xml:
5015         * gst/elements/gstcapsfilter.c:
5016         * gst/gstutils.c:
5017           rename filter-caps to caps property
5018
5019 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5020
5021         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5022           More robust fraction string parsing.
5023
5024         * docs/pwg/appendix-porting.xml:
5025           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5026
5027 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5028
5029         * gst/gstcaps.c: (gst_caps_do_simplify):
5030           Thou shalt not free a structure and then continue using it
5031           in the next loop iteration.
5032
5033         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5034         (gst_caps_suite):
5035           Add test case for caps simplification.
5036
5037 2005-09-29  Wim Taymans  <wim@fluendo.com>
5038
5039         * check/gst/gstbin.c: (GST_START_TEST):
5040         Oops.
5041
5042 2005-09-29  Wim Taymans  <wim@fluendo.com>
5043
5044         * check/gst/gstbin.c: (GST_START_TEST):
5045         Add bus to bin.
5046
5047         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5048         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5049         (find_element), (gst_bin_sort_iterator_next),
5050         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5051         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5052         (gst_bin_change_state), (gst_bin_dispose):
5053         A bin does not have a bus, it gets the bus from the parent.
5054
5055         * gst/gstelement.c: (gst_element_requires_clock),
5056         (gst_element_provides_clock), (gst_element_is_indexable),
5057         (gst_element_is_locked_state), (gst_element_change_state),
5058         (gst_element_set_bus_func):
5059         Small cleanups.
5060
5061         * gst/gstpipeline.c: (gst_pipeline_class_init),
5062         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5063         The pipeline provides a bus.
5064
5065 2005-09-28  Johan Dahlin  <johan@gnome.org>
5066
5067         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5068         gst_structure_get_enum instead of gst_structure_get_int
5069
5070         * gst/gststructure.c (gst_structure_get_enum): Impl.
5071
5072         * gst/gststructure.h (gst_structure_get_enum): Add
5073
5074         * docs/gst/gstreamer-sections.txt: Ditto
5075
5076         * gst/gstmessage.c (gst_message_new_state_changed): Use
5077         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5078         which does introspection.
5079         Reviewed by Christian Schaller
5080
5081 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5082
5083         * gst/gstinfo.c: (gst_debug_log_default):
5084           don't do dummy g_strdup()s
5085         * libs/gst/controller/gstcontroller.c:
5086         (on_object_controlled_property_changed),
5087         (gst_controlled_property_new), (gst_controller_new_valist),
5088         (gst_controller_new_list),
5089         (gst_controller_remove_properties_valist), (gst_controller_set),
5090         (gst_controller_get), (gst_controller_sync_values),
5091         (gst_controller_get_value_array), (_gst_controller_class_init),
5092         (gst_controller_get_type):
5093         * libs/gst/controller/gstcontroller.h:
5094         * libs/gst/controller/gstinterpolation.c:
5095         (gst_controlled_property_find_timed_value_node):
5096           convert // to /**/ comments
5097
5098 2005-09-28  Wim Taymans  <wim@fluendo.com>
5099
5100         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5101         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5102         (gst_bus_sync_signal_handler):
5103         * gst/gstbus.h:
5104         Added async-message and sync-message signals to the bus.
5105         Added helper BusFunc to emit signals for all posted messages.
5106
5107         * gst/gstmessage.c: (gst_message_type_get_name),
5108         (gst_message_type_to_quark), (gst_message_get_type):
5109         * gst/gstmessage.h:
5110         Register quarks for message names.
5111
5112 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5113
5114         * docs/libs/gstreamer-libs-sections.txt:
5115         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5116         (gst_controller_new_list):
5117         * libs/gst/controller/gstcontroller.h:
5118           added another constructor for language bindings
5119
5120 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5121
5122         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5123           add another check
5124         * gst/gstbus.c:
5125           add some doc
5126         * gst/gstinfo.c: (_gst_debug_init):
5127           slightly more readable color for refcount debugging
5128
5129 2005-09-28  Wim Taymans  <wim@fluendo.com>
5130
5131         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5132         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5133         (find_element), (gst_bin_sort_iterator_next),
5134         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5135         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5136         (gst_bin_change_state), (gst_bin_dispose):
5137         Small doc fixes. get_clock -> provide_clock.
5138
5139         * gst/gstelement.c: (gst_element_class_init),
5140         (gst_element_provides_clock), (gst_element_provide_clock),
5141         (gst_element_get_clock), (gst_element_commit_state),
5142         (gst_element_lost_state):
5143         * gst/gstelement.h:
5144         Make get/set_clock() symetric. Add provide_clock vmethod since
5145         that is actually what this function does.
5146
5147         * gst/gstpipeline.c: (gst_pipeline_class_init),
5148         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5149         (gst_pipeline_get_clock):
5150         get_clock -> provide_clock.
5151
5152 2005-09-28  Andy Wingo  <wingo@pobox.com>
5153
5154         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5155         lieu of real docs...
5156
5157         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5158
5159 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5160
5161         * gst/elements/gstcapsfilter.c:
5162         * gst/elements/gstfakesink.c:
5163         * gst/elements/gstfakesrc.c:
5164         * gst/elements/gstfdsink.c:
5165         * gst/elements/gstfdsrc.c:
5166         * gst/elements/gstfilesink.c:
5167         * gst/elements/gstfilesrc.c:
5168         * gst/elements/gstidentity.c:
5169         * gst/elements/gsttee.c:
5170         * gst/elements/gsttypefindelement.c:
5171           Make element details static.
5172
5173 2005-09-28  Wim Taymans  <wim@fluendo.com>
5174
5175         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5176         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5177         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5178         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5179         (gst_bin_change_state), (gst_bin_dispose):
5180         Some documentation updates.
5181         Clean up dispose handlers.
5182
5183         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5184         * gst/gstpad.c: (gst_pad_dispose):
5185         Clean up dispose handler.
5186
5187         * gst/gstpipeline.c: (gst_pipeline_change_state):
5188         Removed spurious UNLOCK.
5189
5190 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5191
5192         * docs/gst/gstreamer-sections.txt:
5193         * gst/base/gstbasesrc.h:
5194         * gst/gstelement.h:
5195         * gst/gstevent.h:
5196         * gst/gstobject.h:
5197         * gst/gstpad.h:
5198         * gst/gstpipeline.c:
5199         * gst/gstpipeline.h:
5200         * gst/gstutils.h:
5201         * gst/gstxml.h:
5202           added two new functions to the docs
5203                 documents all undocumented GstXXXFlags
5204                 completed some incomplete docs 
5205
5206 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5207
5208         * gst/gstbin.c: (gst_bin_dispose):
5209         * gst/gstelement.c: (gst_element_dispose):
5210           remove now useless and leaky resurrection code in dispose
5211         * gst/base/gstbasesrc.c: (gst_base_src_init):
5212         * gst/gstelementfactory.c: (gst_element_factory_create):
5213         * gst/gstobject.c: (gst_object_set_parent):
5214           add some debugging
5215
5216 2005-09-27  Wim Taymans  <wim@fluendo.com>
5217
5218         * docs/design/part-TODO.txt:
5219         Update TODO.
5220
5221         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5222         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5223         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5224         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5225         (gst_bin_change_state):
5226         * gst/gstelement.h:
5227         Remove element variable, we keep element info in the iterator now.
5228
5229 2005-09-27  Andy Wingo  <wingo@pobox.com>
5230
5231         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5232         values.
5233
5234 2005-09-27  Wim Taymans  <wim@fluendo.com>
5235
5236         * check/gst/gstbin.c: (GST_START_TEST):
5237         Enable check that works now.
5238
5239         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5240         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5241         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5242         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5243         (gst_bin_change_state):
5244         * gst/gstbin.h:
5245         Redid the state change algorithm using a topological sort algo.
5246         Handles all cases correctly.
5247         Exposed iterator for state change order.
5248
5249         * gst/gstelement.h:
5250         Temp storage for state changes. Need to get rid of this soon.
5251
5252 2005-09-27  Wim Taymans  <wim@fluendo.com>
5253
5254         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5255         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5256         (link_fold_func), (gst_pad_proxy_setcaps):
5257         Leak fixes, the fold functions need to unref the passed object and
5258         _get_parent_*() returns ref to parent.
5259
5260 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5261
5262         * check/gst/gstbuffer.c: (test_make_writable):
5263           Plug leak in test case and fix 'make check-valgrind'
5264
5265 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5266
5267         * gst/gstbuffer.c: (gst_subbuffer_init):
5268           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5269           works correctly in all circumstances (we could have just copied
5270           the parent buffer's readonly flag, but conceptually it seems
5271           cleaner to mark all subbuffers as read-only). (based on patch
5272           by Alessandro Decina, #314710).
5273         
5274         * check/gst/gstbuffer.c: (create_read_only_buffer),
5275         (test_make_writable), (test_subbuffer_make_writable),
5276         (gst_test_suite):
5277           Add some tests for gst_buffer_make_writable().
5278
5279 2005-09-27  Wim Taymans  <wim@fluendo.com>
5280
5281         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5282         use gst_object_has_ancestor().
5283
5284         * gst/gstobject.c: (gst_object_has_ancestor):
5285         * gst/gstobject.h:
5286         gst_object_has_ancestor() copied from gstbin.c as it is a
5287         usefull function.
5288
5289         * tests/instantiate/create.c: (create_all_elements):
5290         * tests/lat.c: (handoff_src), (handoff_sink):
5291         * tests/sched/runxml.c: (main):
5292         * tests/seeking/seeking1.c: (main):
5293         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5294         (main):
5295         Fix compilation of some tests.
5296
5297 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5298
5299         * gst/gsterror.h:
5300           Remove comment. GST_TYPE_G_ERROR is here to stay,
5301           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5302           (#316961, #300610).
5303
5304 2005-09-26  Wim Taymans  <wim@fluendo.com>
5305
5306         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5307         Added check that shows error in state change order.
5308
5309 2005-09-26  Wim Taymans  <wim@fluendo.com>
5310
5311         * gst/gstbin.c: (gst_bin_change_state):
5312         Make state change function use 3 queues again, we were
5313         adding elements in the wrong order.
5314
5315         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5316         Some debug info,
5317
5318         * gst/gstpad.c: (gst_pad_dispose):
5319         Added some debug info first.
5320
5321 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5322
5323         * docs/design/draft-push-pull.txt:
5324         * docs/design/part-events.txt:
5325         * docs/design/part-overview.txt:
5326         * docs/design/part-scheduling.txt:
5327           Replace all _pull_region() with _pull_range()
5328           
5329 2005-09-26  Andy Wingo  <wingo@pobox.com>
5330
5331         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5332
5333         * check/gst-libs/controller.c: Update for controller api change.
5334
5335         * configure.ac: 
5336         * tests/Makefile.am:
5337         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5338         over by GLib bug 118439.
5339         
5340         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5341         routines to a function.
5342
5343         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5344
5345         * libs/gst/controller/gsthelper.c:
5346         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5347         (gst_object_sync_values): Renamed from sink_values. Ugh.
5348
5349         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5350
5351         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5352         Renamed from controller_key, as it is exported.
5353
5354         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5355
5356 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5357
5358         * gst/Makefile.am:
5359         * gst/gst.h:
5360         * gst/gstpad.h:
5361         * gst/gstpadtemplate.h:
5362         * gst/gstquery.c:
5363         * gst/gstquery.h:
5364         * gst/gstqueryutils.c:
5365         * gst/gstqueryutils.h:
5366           remove queryutils headers after moving the two used functions
5367           to gstquery.  also fixes build problem for gstsiddec
5368
5369 2005-09-26  Michael Smith <msmith@fluendo.com>
5370
5371         * tools/gst-launch.1.in:
5372         Correct documentation in manpage of debug syntax
5373
5374 2005-09-26  Wim Taymans  <wim@fluendo.com>
5375
5376         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5377         (gst_base_src_is_seekable), (gst_base_src_change_state):
5378         Some more debugging info.
5379
5380 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5381
5382         * docs/gst/gstreamer-sections.txt:
5383         * gst/base/gstbasetransform.h:
5384         * gst/gstindex.h:
5385           added more docs
5386
5387 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5388
5389         * docs/gst/.cvsignore:
5390         * docs/gst/tmpl/.cvsignore:
5391         * docs/gst/tmpl/gstpipeline.sgml:
5392         * docs/gst/tmpl/gstplugin.sgml:
5393         * gst/gstpipeline.c:
5394         * gst/gstplugin.c:
5395         * gst/gstplugin.h:
5396           inlined the last two docs files
5397           removed the tmpl directory from cvs (no more conflicts here!)
5398
5399 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5400
5401         * docs/gst/gstreamer-sections.txt:
5402         * docs/gst/tmpl/.cvsignore:
5403         * docs/gst/tmpl/gstpad.sgml:
5404         * docs/gst/tmpl/gstpadtemplate.sgml:
5405         * gst/Makefile.am:
5406         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5407         (gst_pad_finalize), (gst_pad_set_pad_template):
5408         * gst/gstpad.h:
5409         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5410         (gst_pad_template_class_init), (gst_pad_template_init),
5411         (gst_pad_template_dispose), (name_is_valid),
5412         (gst_static_pad_template_get), (gst_pad_template_new),
5413         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5414         (gst_pad_template_pad_created):
5415         * gst/gstpadtemplate.h:
5416           inlined two more docs
5417           factored gstpadtemplate out of gstpad
5418
5419 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5420
5421         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5422         (test_children_state_change_order_semi_sink):
5423           Fix test case: we can't rely on a fixed state change order when
5424           going from READY => PAUSED because the sink might commit its 
5425           new state first when the first buffer created by the source 
5426           reaches the sink before the source has finished its change state.
5427           (Test case still fails at times, see #316856, comment 5 onwards)
5428
5429 2005-09-24  Wim Taymans  <wim@fluendo.com>
5430
5431         * docs/design/part-events.txt:
5432         * docs/design/part-gstbus.txt:
5433         * docs/design/part-gstpipeline.txt:
5434         * docs/design/part-messages.txt:
5435         * docs/design/part-overview.txt:
5436         * docs/design/part-segments.txt:
5437         * gst/gstbin.c:
5438         * gst/gstbuffer.c:
5439         * gst/gstclock.c:
5440         * gst/gstelement.c:
5441         * gst/gstevent.c:
5442         * gst/gstfilter.c:
5443         * gst/gstiterator.c:
5444         Various documentation updates.
5445
5446 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5447
5448         * gst/gstclock.h:
5449           Well, that's embarassing.  Luckily we weren't using
5450           GST_CLOCK_DIFF anywhere.
5451
5452 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5453
5454         * common/gtk-doc.mak:
5455           don't fail on building XML, FC4 slave shows a bunch of doc
5456           missing bits that I don't get
5457         * gst/gstpad.c:
5458         * gst/gstpipeline.c:
5459         * gst/gststructure.c:
5460           some doc updates
5461
5462 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5463
5464         * docs/design/part-gstbin.txt:
5465         * docs/design/part-gstbus.txt:
5466         * gst/gstbus.c:
5467           Add blurb about how the bus goes into flushing mode and
5468           drops all messages when its bin goes from READY into NULL 
5469           state.
5470
5471 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5472
5473         * docs/gst/gstreamer-sections.txt:
5474         * gst/gststructure.c: (gst_structure_get_clock_time):
5475         * gst/gststructure.h:
5476           add a method to get a GstClockTime out of a structure
5477
5478 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5479
5480         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5481         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5482           Added test to check state change order in bins (can still be made
5483           to fail here under heavy disk load; bails out with 'Push on pad
5484           fakesink:sink0, but it was not activated in push mode').
5485
5486         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5487           Fix state change order when there is only a semi sink (#316856)
5488
5489         * gst/gstbus.c: (gst_bus_class_init):
5490           Use _class_peek_parent(), not _class_ref(); fix docs to say
5491           'default main context' instead of 'mainloop' where that is
5492           what's meant.
5493
5494         * gst/gstelement.c: (gst_element_commit_state),
5495         (gst_element_set_state):
5496           Fix typos in debug messages
5497
5498 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5499
5500         * docs/README:
5501         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5502         * gst/gstpluginfeature.c:
5503         * gst/gstutils.c:
5504           various doc updates
5505         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5506           change an assert into an error until it gets fixed properly
5507
5508 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5509
5510         * docs/gst/gstreamer-sections.txt:
5511         * docs/gst/tmpl/.cvsignore:
5512         * docs/gst/tmpl/gstelement.sgml:
5513         * docs/gst/tmpl/gstinfo.sgml:
5514         * docs/gst/tmpl/gstobject.sgml:
5515         * gst/gstelement.c:
5516         * gst/gstelement.h:
5517         * gst/gstinfo.c:
5518         * gst/gstinfo.h:
5519         * gst/gstobject.c: (gst_object_class_init):
5520         * gst/gstobject.h:
5521           inlined 3 more biiiig doc files and added some missing docs on the fly
5522
5523 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5524
5525         * check/gst/.cvsignore:
5526         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5527         * gst/gstregistryxml.c: (load_plugin),
5528         (gst_registry_xml_save_plugin):
5529           put back source in registry.  add checks for find_plugin.
5530         * testsuite/states/bin.c: (assert_state), (empty_bin),
5531         (test_adding_one_element), (main):
5532         * testsuite/states/locked.c: (main):
5533           some compile/run fixes
5534
5535 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5536
5537         * check/gst/gstvalue.c: (GST_START_TEST):
5538           fix leaks in the test itself
5539
5540 2005-09-22  Wim Taymans  <wim@fluendo.com>
5541
5542         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5543         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5544         (gst_base_sink_query):
5545         Prepare for more accurate position reporting and query
5546         handling.
5547
5548         * gst/gstelement.c: (gst_element_send_event),
5549         (gst_element_set_state):
5550         Add some comment.
5551
5552 2005-09-22  Wim Taymans  <wim@fluendo.com>
5553
5554         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5555         (gst_query_parse_segment):
5556         * gst/gstquery.h:
5557         More documentation.
5558         Add segment query for future use.
5559
5560 2005-09-22  Wim Taymans  <wim@fluendo.com>
5561
5562         * gst/gstbin.c: (gst_bin_add_func):
5563         Some more debug info.
5564
5565         * gst/gstelement.c: (gst_element_send_event):
5566         Simplify send_event
5567
5568         * gst/gstelement.h:
5569         Don't know how flags got broken.
5570
5571         * gst/gstquery.h:
5572         Added new query.
5573
5574 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5575
5576         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5577           Add simplistic test suite for GST_TYPE_DATE serialisation and
5578           deserialisation.
5579
5580 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5581
5582         * docs/gst/gstreamer-sections.txt:
5583         * gst/gststructure.c: (gst_structure_set_valist),
5584         (gst_structure_get_date):
5585         * gst/gststructure.h:
5586         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5587         (gst_date_copy), (gst_value_compare_date),
5588         (gst_value_serialize_date), (gst_value_deserialize_date),
5589         (gst_value_transform_date_string),
5590         (gst_value_transform_string_date), (_gst_value_initialize):
5591         * gst/gstvalue.h:
5592           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5593           bunch of utility functions along with a hack that checks that
5594           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5595           is required. Part of the grand scheme in #170777.
5596
5597 2005-09-22  Andy Wingo  <wingo@pobox.com>
5598
5599         * gst/gstconfig.h.in: Psych out gtk-doc.
5600
5601         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5602
5603         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5604
5605         * tools/gst-inspect.c (print_element_list): Plug some
5606         inconsequential leaks.
5607
5608         * gst/gstregistry.c (gst_registry_get_default): Doc.
5609
5610         * check/gst/gstplugin.c: 
5611         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5612         * gst/gstelementfactory.c (gst_element_factory_create): 
5613         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5614         refcount changes.
5615
5616         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5617         (gst_plugin_feature_load): Doc, don't eat refs.
5618
5619         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5620         (gst_plugin_list_free): Doc.
5621         (gst_plugin_load_file): Doc updates.
5622
5623         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5624         accessors returning refcounted objects, return a ref.
5625
5626         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5627         accessor for caps. IDEMPOTENCE. Oh yes.
5628
5629 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5630
5631         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5632
5633         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5634         (_gst_debug_register_funcptr):
5635           Add mutex to serialise access to the hash table with
5636           the function pointer => function name string mapping;
5637           make that hash table static scope (#316809).
5638
5639         * gst/registries/.cvsignore:
5640           Remove left-over file.
5641
5642 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5643
5644         * docs/pwg/appendix-porting.xml:
5645           And something about newsegment events and caps-on-buffers to
5646           the porting guide (feel free to improve).
5647
5648 2005-09-21  Andy Wingo  <wingo@pobox.com>
5649
5650         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5651         data and event probes on the same pad.
5652         (test_buffer_probe_once): Test that removing probes from within
5653         the probe functions works.
5654
5655 2005-09-21  Andy Wingo  <wingo@pobox.com>
5656
5657         * check/gst/gstutils.c: New file.
5658         (test_buffer_probe_n_times): A simple buffer probe test. More to
5659         come, foolios.
5660
5661         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5662         have-data::buffer, not have-data.
5663         (gst_pad_add_event_probe): Likewise for have-data::event.
5664         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5665         peer' isn't quite right yet though.
5666         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5667         (gst_pad_remove_data_probe): Change to take the guint handler_id
5668         as their arg, not the function+data, which is more glib-like.
5669
5670         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5671         the signal emission to indicate if the data is a buffer or an
5672         event.
5673         (gst_pad_get_type): Initialize buffer and event quarks.
5674         (gst_pad_class_init): have-data is now a detailed signal, yes it
5675         is.
5676
5677 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5678
5679         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5680         * gst/gstutils.c: (gst_util_set_value_from_string),
5681         (gst_util_set_object_arg):
5682           Don't put functional code in g_return_if_fail() or
5683           g_return_val_if_fail() statements, otherwise things will 
5684           break when G_DISABLE_CHECKS is defined during compilation.
5685
5686 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5687
5688         * docs/gst/tmpl/.cvsignore:
5689         * docs/gst/tmpl/gstvalue.sgml:
5690         * gst/gstvalue.c:
5691         * gst/gstvalue.h:
5692           inlied another one and added  some obvious docs
5693
5694 2005-09-21  Wim Taymans  <wim@fluendo.com>
5695
5696         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5697         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5698         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5699         (gst_fdsrc_get_property), (gst_fdsrc_create):
5700         * gst/elements/gstfdsrc.h:
5701         Properly implement fdsrc. Removed signal and timeout,
5702         better implemented somewhere else.
5703
5704 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5705
5706         * docs/gst/tmpl/.cvsignore:
5707         * docs/gst/tmpl/gstimplementsinterface.sgml:
5708         * gst/gstinterface.c:
5709           inlined more docs
5710
5711 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5712
5713         * docs/gst/gstreamer-sections.txt:
5714         * docs/gst/tmpl/.cvsignore:
5715         * docs/gst/tmpl/gstenumtypes.sgml:
5716           remove obsolete doc file
5717
5718 2005-09-21  David Schleef  <ds@schleef.org>
5719
5720         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5721         little beer, fix a little leak.
5722
5723 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5724
5725         * docs/gst/gstreamer-docs.sgml:
5726         * docs/gst/gstreamer-sections.txt:
5727         * docs/gst/tmpl/.cvsignore:
5728         * gst/Makefile.am:
5729         * gst/gst.h:
5730         * gst/gstbin.c:
5731         * gst/gstelement.h:
5732         * gst/gstindex.c: (gst_index_class_init):
5733         * gst/gstindex.h:
5734         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5735         (gst_index_factory_class_init), (gst_index_factory_init),
5736         (gst_index_factory_finalize), (gst_index_factory_new),
5737         (gst_index_factory_destroy), (gst_index_factory_find),
5738         (gst_index_factory_create), (gst_index_factory_make):
5739         * gst/gstindexfactory.h:
5740         * gst/gstpluginfeature.c:
5741         * gst/gstpluginfeature.h:
5742         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5743           more docs inlined, splitted gstindex.{c,h}
5744
5745 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5746
5747         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5748           fix a leak
5749
5750 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5751
5752         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5753           Set sync to FALSE by default.
5754
5755 2005-09-20  Wim Taymans  <wim@fluendo.com>
5756
5757         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5758         (gst_base_sink_init):
5759         Make sync property settable from subclass.
5760
5761         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5762         (gst_fake_sink_change_state):
5763         Set sync to FALSE by default.
5764
5765 2005-09-20  Wim Taymans  <wim@fluendo.com>
5766
5767         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5768         * tools/gst-launch.c: (main):
5769         The timeout handler should have lower priority than the source
5770         so we don't timeout before popping a message with 0 timeout.
5771         Dump error messages after failed state change.
5772
5773 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5774
5775         * tools/gst-inspect.c: (print_element_properties_info):
5776           Fix two typos.
5777
5778 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5779
5780         * check/gst/gstevent.c:
5781         * gst/elements/gstfakesink.c:
5782         * gst/elements/gstfakesink.h:
5783           remove the sync property from fakesink.
5784           has the side effect of setting sync TRUE
5785           for fakesink, which is a change.  Anyone who knows how
5786           to fix this nicely in a GObject-y way, feel free.
5787
5788 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5789
5790         * docs/gst/gstreamer-docs.sgml:
5791           remove probe refsection
5792
5793 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5794
5795         * check/Makefile.am:
5796           disable valgrinding the controller test again
5797         * docs/gst/gstreamer-sections.txt:
5798           update for api-changes
5799
5800 2005-09-20  Wim Taymans  <wim@fluendo.com>
5801
5802         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5803         (gst_base_sink_set_property), (gst_base_sink_get_property),
5804         (gst_base_sink_do_sync):
5805         * gst/base/gstbasesink.h:
5806         Added sync property to basesink to disable clock sync.
5807
5808 2005-09-20  Andy Wingo  <wingo@pobox.com>
5809
5810         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5811         eating the caller's refcount.
5812
5813         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5814         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5815         refcount.
5816
5817         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5818         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5819         of GLib 2.8 public, so we can know which refcount to check in
5820         tests.
5821
5822         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5823         (gst_object_init): Only set the gst refcount if we're going ahead
5824         with the refcount hack.
5825
5826 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5827
5828         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5829         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5830           more leaks plumbed, added more debug-logging
5831         * gst/gstmacros.h:
5832           whitespace fix
5833
5834 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5835
5836         * gst/gstmessage.c:
5837           remove include of gstmemchunk.h
5838
5839 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5840
5841         * gst/gstclock.c: (_gst_clock_id_free):
5842           Commit from the Political Party For More Atomic CVS Commits,
5843           so that people don't waste too much of their day fishing
5844           out obvious leaks out of massive commits.
5845           Oh, and fix a pretty damn obvious leak in the memchunk
5846           removal code.
5847
5848 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5849
5850         * check/Makefile.am:
5851         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5852           plug mem-leak, re-add to valgrindable tests
5853
5854 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5855
5856         * gst/gstplugin.h:
5857           unbreak the build for those who have chronic arthritis
5858           and typing "make check" is just too taxing on the hands
5859
5860 2005-09-20  Andy Wingo  <wingo@pobox.com>
5861
5862         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5863         really want it out, you should fix plugins at the same time.
5864
5865 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5866
5867         * configure.ac:
5868         * docs/gst/gstreamer-sections.txt:
5869         * gst/gstobject.c:
5870           added missing symbols to api docs
5871           disable ref-count hack if we have glib >= 2.8
5872
5873 2005-09-19  David Schleef  <ds@schleef.org>
5874
5875         * docs/gst/Makefile.am: Ignore a few more internal headers
5876         * docs/gst/gstreamer-docs.sgml: Remove old sections
5877         * docs/gst/gstreamer-sections.txt: Remove old sections
5878         * docs/gst/tmpl/gstobject.sgml: update
5879         * docs/gst/tmpl/gstplugin.sgml: update
5880         * docs/gst/tmpl/gstpluginfeature.sgml: update
5881         * docs/random/ds/0.9-suggested-changes: update.
5882         * gst/Makefile.am: remove memchunk and trashstack, since they're
5883           not used.
5884         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5885         * gst/gst.h: don't include some headers
5886         * gst/gstchildproxy.c: add gstmarshal.h
5887         * gst/gstclock.c: Don't use memchunks
5888         * gst/gstminiobject.c: Add some docs
5889         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5890         * gst/gstobject.h: same
5891         * gst/gstplugin.c: include gstmacros.h
5892         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5893         * gst/gstquery.c: don't use memchunks
5894         * gst/gstregistry.c: rename gst_registry_deinit()
5895         * gst/gstregistry.h: same
5896
5897 2005-09-19  David Schleef  <ds@schleef.org>
5898
5899         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5900         * docs/libs/gstreamer-libs-sections.txt:
5901         * docs/libs/tmpl/gstgetbits.sgml:
5902         * docs/libs/tmpl/gstputbits.sgml:
5903
5904 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5905
5906         * win32/gstenumtypes.c:
5907         * win32/gstenumtypes.h:
5908           Update.
5909
5910 2005-09-19  Wim Taymans  <wim@fluendo.com>
5911
5912         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5913         Automatically PAUSE and RESUME a pipeline when a flushing seek
5914         is performed.
5915
5916 2005-09-19  Andy Wingo  <wingo@pobox.com>
5917
5918         * gst/gstregistry.h: Spacing fixen.
5919
5920 2005-09-19  Wim Taymans  <wim@fluendo.com>
5921
5922         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5923         Handle state change failure more correctly.
5924
5925 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5926
5927         * check/Makefile.am:
5928         * check/pipelines/cleanup.c: (run_pipeline):
5929         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5930         (GST_START_TEST):
5931           enable cleanup again after fixing the leak
5932         * docs/README:
5933           some more info on docs
5934
5935 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5936
5937         * check/Makefile.am:
5938           re-enable tests now that leaks are plugged
5939         * check/gst/gst.c:
5940         * check/gst/gstbin.c:
5941         * check/gst/gstpipeline.c:
5942           add some more tests while fixing leaks
5943         * common/check.mak:
5944           make sure binaries are uptodate when valgrinding/gdbing
5945         * gst/gst.c:
5946         * gst/gstelementfactory.c:
5947           remove a ref too many, and add a FIXME for when we get
5948           round to disposing of classes
5949         * gst/gstplugin.c:
5950           fix the refcounting when loading a plugin from a file and
5951           the code pretends that the pointer is the same even though
5952           of course it can change
5953         * gst/gstpluginfeature.c:
5954           unref plugins marked cached (a bit confusing as a name)
5955           as the docs state should be done
5956           various doc additions to explain refcounting
5957         * gst/gstregistry.c:
5958         * gst/gstregistryxml.c:
5959           debugging
5960
5961 2005-09-19  Wim Taymans  <wim@fluendo.com>
5962
5963         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5964         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5965         (send_messages), (GST_START_TEST), (gstbus_suite):
5966         * check/gst/gstpipeline.c: (GST_START_TEST):
5967         * check/pipelines/cleanup.c: (run_pipeline):
5968         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5969         (GST_START_TEST):
5970         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5971         (gst_bus_source_check), (gst_bus_source_dispatch),
5972         (gst_bus_create_watch), (gst_bus_add_watch_full),
5973         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5974         * gst/gstbus.h:
5975         * tools/gst-launch.c: (event_loop):
5976         * tools/gst-md5sum.c: (event_loop):
5977         GstBusHandler -> GstBusFunc, return value has the same meaning as
5978         any other GSource (FALSE == remove source).
5979         _add_watch() and _add_watch_full() now take a MessageType mask to
5980         only handle specific types of messages.
5981         _poll() returns the GstMessage instead of the message type to avoid
5982         race conditions.
5983         _have_pending() takes a MessageType mask now too.
5984         Added testsuite for multiple bus watches.
5985         Fix testsuites and applications for new bus API.
5986
5987 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5988
5989         * check/Makefile.am:
5990           mark a bunch of the tests as to fix until we fix them
5991
5992 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5993
5994         * common/check.mak:
5995           use GST_PLUGIN settings for valgrind tests as well, so we're
5996           valgrinding the correct thing
5997         * gst/gst.c: (init_post):
5998           plug another leak
5999
6000 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6001
6002         * gst/gst.c: (init_post), (gst_deinit):
6003         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6004         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6005         * gst/gstindex.c: (gst_index_factory_class_init),
6006         (gst_index_factory_finalize):
6007         * gst/gstobject.c: (gst_object_dispose):
6008         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6009         (gst_plugin_load_file), (gst_plugin_desc_free):
6010         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6011         (gst_plugin_feature_finalize):
6012         * gst/gstregistry.c: (gst_registry_class_init),
6013         (gst_registry_init), (gst_registry_finalize),
6014         (gst_registry_get_default), (gst_registry_deinit):
6015         * gst/gstregistry.h:
6016         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6017           various cleanups and memleak plugging.  make valgrind is happy now.
6018
6019 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6020
6021         * common/check.mak:
6022           add a check-valgrind target
6023
6024 2005-09-18  David Schleef  <ds@schleef.org>
6025
6026         * tools/gst-inspect.c: Revert the GOption code.
6027
6028 2005-09-17  David Schleef  <ds@schleef.org>
6029
6030         * check/Makefile.am: Fix environment variables.
6031         * check/gst/gstplugin.c: Fix for API changes.
6032         * tools/gst-inspect.c: Fix for API changes.
6033         * tools/gst-xmlinspect.c: Fix for API changes.
6034         * gst/gstelementfactory.c:
6035         * gst/gstplugin.c:
6036         * gst/gstplugin.h:
6037         * gst/gstpluginfeature.c:
6038         * gst/gstpluginfeature.h:
6039         * gst/gstregistry.c:
6040         * gst/gstregistry.h:
6041         * gst/gstregistryxml.c:
6042         * gst/gsttypefind.c:
6043         * gst/gsttypefindfactory.c:
6044         * gst/indexers/gstfileindex.c:
6045         * gst/indexers/gstmemindex.c:
6046         * gst/schedulers/Makefile.am:
6047           Change registry to keep track of both plugins and features,
6048           removing the feature tracking from plugins themselves.
6049
6050 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6051
6052         * check/Makefile.am:
6053         * tools/gst-register.1.in:
6054           remove gst-register
6055
6056 2005-09-15  David Schleef  <ds@schleef.org>
6057
6058         * check/gst/gstplugin.c:
6059         * gst/gstelementfactory.c:
6060         * gst/gstplugin.c:
6061         * gst/gstpluginfeature.c:
6062         * gst/gstregistry.c:
6063           Getting tired of debugging.  Disabled all the unreffing of
6064           plugins and features, which fixes the segfaults, but of
6065           course leaks like crazy.  At least playbin works.
6066
6067 2005-09-15  David Schleef  <ds@schleef.org>
6068
6069         * check/gst/gstplugin.c: (register_check_elements),
6070         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6071         More testing
6072         * gst/elements/gsttypefindelement.c: Fix refcounting.
6073         * gst/gsttypefind.c:
6074         * gst/gsttypefindfactory.c:
6075         * gst/gsttypefindfactory.h:
6076
6077 2005-09-15  David Schleef  <ds@schleef.org>
6078
6079         * gst/gstindex.c: get refcounting correct.
6080         * gst/gstregistry.c: Handle the case where a feature/plugin is
6081           not found.
6082
6083 2005-09-15  David Schleef  <ds@schleef.org>
6084
6085         * check/Makefile.am:
6086         * check/gst/gstplugin.c: Add test
6087         * gst/gstplugin.c: Fix problems noticed by testsuite
6088         * gst/gstplugin.h:
6089         * gst/gstregistry.c: 
6090         * gst/gstregistry.h:
6091
6092 2005-09-15  David Schleef  <ds@schleef.org>
6093
6094         * gst/gstplugin.c: Implement semi-decent recounting and locking
6095           in plugins and plugin features.
6096         * gst/gstplugin.h:
6097         * gst/gstpluginfeature.c:
6098         * gst/gstpluginfeature.h:
6099         * gst/gstregistry.c:
6100
6101 2005-09-15  Michael Smith <msmith@fluendo.com>
6102
6103         * gst/gstregistry.c: (gst_registry_get_feature_list):
6104           Implement this. Makes oggdemux work; decodebin still broken.
6105
6106 2005-09-14  David Schleef  <ds@schleef.org>
6107
6108         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6109           #316076)
6110         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6111         * gst/check/Makefile.am:
6112         * libs/gst/controller/Makefile.am:
6113         * libs/gst/dataprotocol/Makefile.am:
6114
6115 2005-09-14  David Schleef  <ds@schleef.org>
6116
6117         * configure.ac: Remove getbits library.  Nothing uses it, and
6118           it should be in something like liboil if someone did want
6119           to use it.
6120         * libs/gst/Makefile.am:
6121         * libs/gst/getbits/Makefile.am:
6122         * libs/gst/getbits/gbtest.c:
6123         * libs/gst/getbits/getbits.c:
6124         * libs/gst/getbits/getbits.h:
6125         * libs/gst/getbits/gstgetbits_generic.c:
6126         * libs/gst/getbits/gstgetbits_i386.s:
6127         * libs/gst/getbits/gstgetbits_inl.h:
6128
6129 2005-09-14  David Schleef  <ds@schleef.org>
6130
6131         * gst/Makefile.am: Dist glib-compat.h
6132
6133 2005-09-14  David Schleef  <ds@schleef.org>
6134
6135         * configure.ac: Remove gst/registries, since it's no longer used.
6136         * gst/registries/Makefile.am:
6137         * gst/registries/gstlibxmlregistry.c:
6138         * gst/registries/gstlibxmlregistry.h:
6139         * gst/registries/gstxmlregistry.c:
6140         * gst/registries/gstxmlregistry.h:
6141         * gst/registries/registrytest.c:
6142
6143 2005-09-14  David Schleef  <ds@schleef.org>
6144
6145         * gst/glib-compat.h:
6146         * gst/gstregistryxml.c:
6147           Convergence is near.  Seriously.
6148
6149 2005-09-14  David Schleef  <ds@schleef.org>
6150
6151         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6152         * gst/glib-compat.h:
6153           Attempt #4 to appease the buildbots.
6154
6155 2005-09-14  David Schleef  <ds@schleef.org>
6156
6157         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6158           Attempt #3.
6159
6160 2005-09-14  David Schleef  <ds@schleef.org>
6161
6162         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6163         Attempt #2.
6164
6165 2005-09-14  David Schleef  <ds@schleef.org>
6166
6167         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6168           the new functions.
6169
6170 2005-09-14  David Schleef  <ds@schleef.org>
6171
6172         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6173         * gst/glib-compat.h: Add some functions that are in newer versions
6174           of glib than we care to require.
6175         * gst/gstregistryxml.c: Use them.
6176
6177 2005-09-14  David Schleef  <ds@schleef.org>
6178
6179         * po/POTFILES.in: remove gst-register.c
6180
6181 2005-09-14  David Schleef  <ds@schleef.org>
6182
6183         * docs/gst/gstreamer-docs.sgml:
6184         * docs/gst/gstreamer-sections.txt:
6185         * docs/gst/gstreamer.types:
6186         * docs/gst/tmpl/gstelement.sgml:
6187         * docs/gst/tmpl/gstplugin.sgml:
6188         * docs/gst/tmpl/gstpluginfeature.sgml:
6189           Documentation updates for registry changes.
6190
6191 2005-09-14  David Schleef  <ds@schleef.org>
6192
6193         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6194           because we don't require glib-2.8.
6195
6196 2005-09-14  David Schleef  <ds@schleef.org>
6197
6198         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6199           registries directory.
6200
6201 2005-09-14  David Schleef  <ds@schleef.org>
6202
6203         * check/Makefile.am:
6204         * check/generic/states.c:
6205         * gst/Makefile.am:
6206         * gst/gst.c:
6207         * gst/gst.h:
6208         * gst/gst_private.h:
6209         * gst/gstelementfactory.c:
6210         * gst/gstindex.c:
6211         * gst/gstinfo.c:
6212         * gst/gstplugin.c:
6213         * gst/gstplugin.h:
6214         * gst/gstpluginfeature.c:
6215         * gst/gstpluginfeature.h:
6216         * gst/gstregistry.c:
6217         * gst/gstregistry.h:
6218         * gst/gstregistrypool.c: remove
6219         * gst/gstregistrypool.h: remove
6220         * gst/gsttypefind.c:
6221         * gst/gsttypefindfactory.c:
6222         * gst/gsturi.c:
6223         * tools/Makefile.am:
6224         * tools/gst-compprep.c:
6225         * tools/gst-inspect.c:
6226         * tools/gst-register.c: remove
6227         * tools/gst-xmlinspect.c:
6228           Registry rewrite.  Changes registry from being a file created
6229           by a tool into a simple cache file created automatically by 
6230           libgstreamer.  Removed gst-register (because it's no longer
6231           needed).  Remove registry pools, because we only have one
6232           registry implementation (XML).  Fix up other subsystems as
6233           necessary.
6234
6235 2005-09-13  Michael Smith <msmith@fluendo.com>
6236
6237         * gst/gstconfig.h.in:
6238           Don't Use windows linking attributes for MinGW. Fixes #316157
6239
6240 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6241
6242         * gst/gstutils.c: (set_state_async_thread_func),
6243         (gst_element_set_state_async):
6244           Apparently people think it's better if this function doesn't
6245           try to set the state to whatever state was asked for on the first
6246           call to this function for any object.  Seriously.
6247
6248 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6249
6250         * check/gst/gstpipeline.c: (GST_START_TEST):
6251         * docs/gst/gstreamer-sections.txt:
6252         * gst/gstutils.c: (set_state_async_thread_func),
6253         (gst_element_set_state_async):
6254         * gst/gstutils.h:
6255           add a "gst_element_set_state_async" method that
6256           sets the state and starts a thread to make sure the state
6257           change completes as best as it can
6258
6259 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6260
6261         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6262           codify design+behaviour in testsuite after discussion
6263
6264 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6265
6266         * docs/gst/tmpl/gstelement.sgml:
6267         * docs/manual/appendix-quotes.xml:
6268           add a quote
6269         * gst/gstelement.c: (gst_element_set_state):
6270           add some debug
6271
6272 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6273
6274         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6275         (gst_base_transform_prepare_output_buf),
6276         (gst_base_transform_handle_buffer):
6277         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6278         (gst_capsfilter_prepare_buf):
6279           Remove the requirement for sub-classes to call the parent
6280           implementation of prepare_output_buffer with a wrapper function.
6281           
6282         * gst/gsttaglist.h:
6283         * gst/gsttagsetter.h:
6284           Fix #define wrapper
6285
6286 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6287
6288         * docs/gst/gstreamer-sections.txt:
6289           more doc cleanups
6290
6291 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6292
6293         * docs/gst/gstreamer-sections.txt:
6294         * docs/gst/tmpl/gstelement.sgml:
6295         * docs/gst/tmpl/gstplugin.sgml:
6296         * gst/gstminiobject.c:
6297         * gst/gstvalue.h:
6298           docs now stop throwing warnings
6299
6300 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6301
6302         * docs/gst/gstreamer-sections.txt:
6303         * docs/gst/gstreamer.types:
6304         * docs/gst/tmpl/gstpad.sgml:
6305         * docs/gst/tmpl/gsttypes.sgml:
6306         * gst/base/gstadapter.h:
6307         * gst/base/gstbasesink.h:
6308         * gst/base/gstbasesrc.h:
6309         * gst/gstbin.h:
6310         * gst/gstbuffer.h:
6311         * gst/gstbus.h:
6312         * gst/gstcaps.h:
6313         * gst/gstclock.h:
6314         * gst/gstelement.h:
6315         * gst/gstevent.h:
6316         * gst/gstmessage.h:
6317         * gst/gstpad.h:
6318         * gst/gststructure.c:
6319         * gst/registries/gstlibxmlregistry.h:
6320           various documentation fixes
6321
6322 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6323
6324         * docs/gst/gstreamer-sections.txt:
6325         * docs/gst/tmpl/gstvalue.sgml:
6326           rearrange gstvalue section
6327         * gst/gstutils.c: (gst_element_state_get_name):
6328           NONE -> VOID
6329         * gst/gstvalue.c: (_gst_value_initialize):
6330         * gst/gstvalue.h:
6331           doc updates
6332
6333 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6334
6335         * check/gst-libs/controller.c:
6336           Header include fix.
6337         * gst/base/gstbasetransform.c:
6338         (gst_base_transform_default_prepare_buf),
6339         (gst_base_transform_handle_buffer):
6340         * gst/base/gstbasetransform.h:
6341           Some more basetransform changes and fixes to enable sub-classes
6342           that modify buffer metadata only.
6343         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6344         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6345         (gst_capsfilter_prepare_buf):
6346           If the output pad has fixed allowed caps and input buffers 
6347           don't have any, set the fixed caps on outgoing buffers.
6348
6349 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6350         * check/elements/identity.c: (GST_START_TEST):
6351           Make the error a little clearer when the test fails because
6352           identity made a copy of the buffer.
6353         * docs/gst/gstreamer-sections.txt:
6354           New symbols in gstbasetransform.h
6355         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6356         (gst_base_transform_init), (gst_base_transform_transform_size),
6357         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6358         (gst_base_transform_default_prepare_buf),
6359         (gst_base_transform_get_unit_size),
6360         (gst_base_transform_buffer_alloc),
6361         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6362         (gst_base_transform_change_state),
6363         (gst_base_transform_set_passthrough),
6364         (gst_base_transform_set_in_place),
6365         (gst_base_transform_is_in_place):
6366         * gst/base/gstbasetransform.h:
6367           Change BaseTransform to separate in_place operate from same_caps
6368           output. in_place implies that the element can perform the transform
6369           on incoming buffers in-place, even if the caps on the output are
6370           different.
6371           Sub-class elements can now implement special buffer allocation
6372           methods for outgoing buffers if they wish to.
6373           Big documentation addition.
6374         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6375         * gst/elements/gstelements.c:
6376           Changes for basetransform modifications.
6377         * gst/elements/Makefile.am:
6378         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6379           Compile fix. Extra debug output.
6380
6381 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6382
6383         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6384         (gst_pad_suite):
6385           add tests for valid pad naming
6386         * gst/check/gstcheck.c: (gst_check_log_message_func),
6387         (gst_check_log_critical_func):
6388           add ASSERT_WARNING
6389           remove printing of code, it is fragile when the code contains
6390           % and the line number is enough info
6391         * gst/check/gstcheck.h:
6392         * gst/gstpad.c: (gst_pad_template_new):
6393           fix memleaks
6394
6395 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6396
6397         * configure.ac:
6398           say what CHECK flags we use
6399         * docs/libs/gstreamer-libs.types:
6400         * libs/gst/controller/Makefile.am:
6401         * libs/gst/controller/gst-controller.c:
6402         * libs/gst/controller/gst-controller.h:
6403         * libs/gst/controller/gst-helper.c:
6404         * libs/gst/controller/gst-interpolation.c:
6405         * libs/gst/controller/gstcontroller.c:
6406         * libs/gst/controller/gsthelper.c:
6407         * libs/gst/controller/gstinterpolation.c:
6408         * tools/gst-inspect.c: (print_plugin_info):
6409           we don't use dashes in header names
6410
6411 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6412
6413         * check/Makefile.am:
6414         * check/gst/.cvsignore:
6415         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6416         (gst_pipeline_suite), (main):
6417           adding a test for pipelines and state changes
6418         * gst/gstutils.c: (get_state_func):
6419           add some debugging
6420         * gstreamer.spec.in:
6421           fix up spec file
6422
6423 2005-09-08  Michael Smith <msmith@fluendo.com>
6424
6425         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6426         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6427         (gst_file_src_is_seekable), (gst_file_src_get_size),
6428         (gst_file_src_start):
6429         * gst/elements/gstfilesrc.h:
6430           Various fixes for unseekable, unmmapable, and non-normal files, so
6431           that fallback to read() rather than mmap() works.
6432         * gst/gstevent.c: (gst_event_new_newsegment):
6433           Allow newsegment events with segment_start == segment_end, as will
6434           correctly happen if you use filesrc on a zero-size file, for
6435           example.
6436
6437 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6438
6439         * gst/gstplugin.c: (gst_plugin_load_file):
6440           Call g_module_close when we don't load the module
6441
6442         * gst/registries/gstlibxmlregistry.c:
6443         (gst_xml_registry_get_property):
6444           Port leak fix from 0.8
6445
6446 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6447
6448         * docs/gst/gstreamer-docs.sgml:
6449         * docs/gst/tmpl/.cvsignore:
6450         * docs/gst/tmpl/gsttrace.sgml:
6451         * docs/gst/tmpl/gsttrashstack.sgml:
6452         * gst/Makefile.am:
6453         * gst/gst.h:
6454         * gst/gstelement.h:
6455         * gst/gstevent.h:
6456         * gst/gstmessage.c:
6457         * gst/gstmessage.h:
6458         * gst/gsttag.c:
6459         * gst/gsttag.h:
6460         * gst/gsttaginterface.c:
6461         * gst/gsttaginterface.h:
6462         * gst/gsttaglist.c:
6463         * gst/gsttaglist.h:
6464         * gst/gsttagsetter.c:
6465         * gst/gsttagsetter.h:
6466         * gst/gsttrace.c:
6467         * gst/gsttrace.h:
6468         * gst/gsttrashstack.c:
6469           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6470           inlined docs for gsttrace, gsttrashstack
6471
6472 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6473
6474         * gst/Makefile.am:
6475         * gst/elements/gstbufferstore.h:
6476         * gst/elements/gsttypefindelement.c:
6477         * gst/elements/gsttypefindelement.h:
6478         * gst/gst.h:
6479         * gst/gsttypefind.c:
6480         * gst/gsttypefind.h:
6481         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6482         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6483         (gst_type_find_factory_dispose),
6484         (gst_type_find_factory_unload_thyself),
6485         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6486         (gst_type_find_factory_get_caps),
6487         (gst_type_find_factory_get_extensions),
6488         (gst_type_find_factory_call_function):
6489         * gst/gsttypefindfactory.h:
6490         * gst/registries/gstlibxmlregistry.c:
6491         * gst/registries/gstxmlregistry.c:
6492           splitted gsttypefind into gsttypefind, gsttypefindfactory
6493
6494 2005-09-07  Andy Wingo  <wingo@pobox.com>
6495
6496         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6497         condition whereby the pad's task function is entered before the
6498         pad_mode variable was set.
6499
6500 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6501
6502         * gst/gstpad.c: (gst_pad_alloc_buffer):
6503           Catch misbehaving pad_alloc functions that don't
6504           set up caps and do it for them.
6505
6506 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6507
6508         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6509           test for pipe!=NULL
6510         * docs/gst/tmpl/.cvsignore:
6511         * docs/gst/tmpl/gstmemchunk.sgml:
6512         * docs/gst/tmpl/gstparse.sgml:
6513         * docs/gst/tmpl/gsttaglist.sgml:
6514         * docs/gst/tmpl/gsttagsetter.sgml:
6515         * docs/gst/tmpl/gsttypefind.sgml:
6516         * docs/gst/tmpl/gsttypefindfactory.sgml:
6517         * gst/gstmemchunk.c:
6518         * gst/gstparse.c:
6519         * gst/gsttag.c:
6520         * gst/gsttaginterface.c:
6521         * gst/gsttypefind.c:
6522         * gst/gsttypefind.h:
6523           inlined more docs
6524
6525 === release 0.9.2 ===
6526
6527 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6528
6529         * NEWS:
6530         * RELEASE:
6531         * configure.ac:
6532           releasing 0.9.2, "South"
6533
6534 2005-09-05  Andy Wingo  <wingo@pobox.com>
6535
6536         * gst/registries/gstxmlregistry.h:
6537         * gst/registries/gstxmlregistry.c: Um... resurrect...
6538         
6539         * gst/registries/gstxmlregistry.h:
6540         * gst/registries/gstxmlregistry.c: and update to newer API.
6541         Incidentally they should be a bit faster now that they don't have
6542         to parse the caps.
6543         
6544 2005-09-05  Andy Wingo  <wingo@pobox.com>
6545
6546         * gst/registries/gstxmlregistry.h:
6547         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6548         replaced by the libxml registry a while back
6549
6550 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6551
6552         * docs/gst/tmpl/gstplugin.sgml:
6553         * gst/elements/gstelements.c:
6554         * gst/gst.c:
6555         * gst/gstplugin.c: (gst_plugin_register_func),
6556         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6557         (gst_plugin_get_source):
6558         * gst/gstplugin.h:
6559         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6560         (gst_xml_registry_save_plugin):
6561         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6562         (gst_xml_registry_save_plugin):
6563         * tools/gst-inspect.c: (print_plugin_info):
6564           add a "source" plugin description field, to represent the source
6565           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6566           will set it to PACKAGE, which is automake's idea of the name of
6567           the source project.
6568
6569 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6570
6571         * Makefile.am:
6572         * autogen.sh:
6573         * configure.ac:
6574         * docs/Makefile.am:
6575         * docs/faq/Makefile.am:
6576         * docs/gst/tmpl/gstelement.sgml:
6577         * docs/gst/tmpl/gsttypes.sgml:
6578         * docs/htmlinstall.mak:
6579         * docs/manual/Makefile.am:
6580         * docs/pwg/Makefile.am:
6581           reorganize doc build a little
6582           split out docbook and gtk-doc stuff
6583           have two separate --enable's and enable them through autogen
6584           but disable by default in configure (to be similar to other
6585           projects)
6586         * gstreamer.spec.in:
6587           clean up docs install
6588         * po/af.po:
6589         * po/az.po:
6590         * po/ca.po:
6591         * po/cs.po:
6592         * po/de.po:
6593         * po/en_GB.po:
6594         * po/fr.po:
6595         * po/it.po:
6596         * po/nb.po:
6597         * po/nl.po:
6598         * po/ru.po:
6599         * po/sq.po:
6600         * po/sr.po:
6601         * po/sv.po:
6602         * po/tr.po:
6603         * po/uk.po:
6604         * po/vi.po:
6605           translation updates
6606
6607 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6608
6609         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6610           Add comment.
6611           
6612         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6613         (gst_fake_sink_change_state):
6614           Make state change function thread-safe.
6615           
6616         * gst/gstpad.c: (gst_pad_alloc_buffer):
6617           Set offset on generic buffer allocated by fallback.
6618
6619 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6620
6621         * docs/gst/gstreamer-sections.txt:
6622         * docs/gst/tmpl/gstelement.sgml:
6623         * gst/gstpad.c:
6624         * libs/gst/controller/gst-controller.c:
6625         (gst_controlled_property_set_interpolation_mode),
6626         (gst_controlled_property_new),
6627         (gst_controller_find_controlled_property):
6628          run the wingo-magic script against the docs
6629
6630 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6631
6632         * docs/gst/gstreamer-docs.sgml:
6633         * docs/gst/gstreamer-sections.txt:
6634         * docs/gst/tmpl/.cvsignore:
6635         * docs/gst/tmpl/gstelementdetails.sgml:
6636         * docs/gst/tmpl/gstelementfactory.sgml:
6637         * gst/gst.c:
6638         * gst/gstbus.c:
6639         * gst/gstelementfactory.c:
6640         * gst/gstelementfactory.h:
6641           merged elementdetails docs into elementfactory docs
6642           inlined both
6643
6644 2005-09-02  Andy Wingo  <wingo@pobox.com>
6645
6646         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6647         consider this enum an enum and not a flags.
6648
6649 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6650
6651         * docs/gst/gstreamer-docs.sgml:
6652         * docs/gst/tmpl/.cvsignore:
6653         * docs/gst/tmpl/gstghostpad.sgml:
6654         * docs/gst/tmpl/gstiterator.sgml:
6655         * docs/gst/tmpl/gstmacros.sgml:
6656         * docs/gst/tmpl/gstrealpad.sgml:
6657         * docs/gst/tmpl/gstregistry.sgml:
6658         * docs/gst/tmpl/gstregistrypool.sgml:
6659         * docs/gst/tmpl/gststructure.sgml:
6660         * docs/gst/tmpl/gstsystemclock.sgml:
6661         * docs/gst/tmpl/gsttrace.sgml:
6662         * gst/gstghostpad.c:
6663         * gst/gstmacros.h:
6664         * gst/gstmemchunk.c:
6665         * gst/gstmemchunk.h:
6666         * gst/gstqueue.c:
6667         * gst/gstregistry.c:
6668         * gst/gstregistrypool.c:
6669         * gst/gststructure.c:
6670         * gst/gstsystemclock.c:
6671           more docs inlined
6672
6673 2005-09-02  Andy Wingo  <wingo@pobox.com>
6674
6675         * gst/gstelement.h (GstState): Renamed from GstElementState,
6676         changed to be a normal enum instead of flags.
6677         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6678         munged to be GST_STATE_CHANGE_*.
6679         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6680         work with the new state representation.
6681         (GstStateChange): New enumeration of possible state transitions.
6682         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6683         (GstElementClass::change_state): Pass the GstStateChange along as
6684         an argument. Helps language bindings, so they don't have to use
6685         tricky lock-needing macros like GST_STATE_CHANGE ().
6686
6687         * scripts/update-states (file): New script. Run it on a file to
6688         update it for state naming and API changes. Updates files in
6689         place.
6690
6691         * All files updated for the new API.
6692
6693 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6694
6695         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6696         * gst/gstutils.c: (gst_util_set_value_from_string),
6697         (gst_util_set_object_arg):
6698           fix a bunch of unchecked return values
6699         * tools/gst-complete.c: (main):
6700         * gstreamer.spec.in:
6701           clean up a little
6702
6703 2005-09-01  Wim Taymans  <wim@fluendo.com>
6704
6705         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6706         (gst_base_sink_event), (gst_base_sink_do_sync),
6707         (gst_base_sink_handle_event):
6708         * gst/base/gstbasesink.h:
6709         Handle newsegments more correctly.
6710
6711         * gst/gstbus.c:
6712         Fix docs.
6713
6714         * gst/gstevent.c: (gst_event_new_newsegment):
6715         A newsegment cannot have a start_time of -1
6716
6717 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6718
6719         * win32/gstenumtypes.c:
6720         * win32/gstenumtypes.h:
6721           Update
6722
6723 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6724
6725         * libs/gst/controller/gst-controller.c:
6726         (gst_controlled_property_set_interpolation_mode),
6727         (gst_controlled_property_new):
6728          fixed boolean again
6729
6730 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6731
6732         * docs/faq/gst-uninstalled:
6733           add -good
6734         * gst/gstevent.c:
6735         * gst/gstevent.h:
6736           remove wrong docs
6737         * gst/gstutils.c: (gst_element_link_filtered):
6738         * gst/gstutils.h:
6739           add gst_element_link_filtered
6740
6741 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6742
6743         * docs/gst/gstreamer-docs.sgml:
6744         * docs/gst/gstreamer-sections.txt:
6745         * docs/gst/tmpl/.cvsignore:
6746         * docs/gst/tmpl/gsterror.sgml:
6747         * docs/gst/tmpl/gstfilter.sgml:
6748         * docs/gst/tmpl/gsturihandler.sgml:
6749         * docs/gst/tmpl/gsturitype.sgml:
6750         * docs/gst/tmpl/gstutils.sgml:
6751         * docs/gst/tmpl/gstxml.sgml:
6752         * gst/gsterror.c:
6753         * gst/gsterror.h:
6754         * gst/gstfilter.c:
6755         * gst/gsturi.c:
6756         * gst/gsturitype.c:
6757         * gst/gstutils.c:
6758         * gst/gstxml.c:
6759           inlined more docs, fixed double id-ref
6760
6761 2005-08-31  Wim Taymans  <wim@fluendo.com>
6762
6763         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6764         (gst_base_transform_handle_buffer):
6765         Passthrough elements don't need the caps as they don't care.
6766
6767 2005-08-31  Wim Taymans  <wim@fluendo.com>
6768
6769         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6770         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6771         Don't leak refcounts on buffers.
6772
6773 2005-08-31  Wim Taymans  <wim@fluendo.com>
6774
6775         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6776         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6777         (gst_base_transform_chain), (gst_base_transform_change_state):
6778         * gst/base/gstbasetransform.h:
6779         Handle the case where we are not negotiated more gracefully.
6780
6781 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6782
6783         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6784         (gst_file_src_map_region):
6785           Set READONLY flag on mmap'ed buffers, otherwise
6786           gst_buffer_make_writable() won't work properly (#314708).
6787
6788 2005-08-31  Wim Taymans  <wim@fluendo.com>
6789
6790         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6791         passthrough elements can even do inplace on non writable
6792         buffers (as they don't touch them).
6793
6794 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6795
6796         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6797         (gst_test_mono_source_set_property),
6798         (gst_test_mono_source_class_init), (GST_START_TEST),
6799         (gst_controller_suite):
6800           more tests (hehe I have the most)
6801         * gst/gstbus.c:
6802           describe popping messages whenusing mulltiple sources
6803         * libs/gst/controller/gst-controller.c:
6804         (gst_controlled_property_set_interpolation_mode),
6805         (gst_controlled_property_new):
6806         * libs/gst/controller/gst-controller.h:
6807         * libs/gst/controller/gst-interpolation.c:
6808           implement boolean properties
6809
6810 2005-08-31  Wim Taymans  <wim@fluendo.com>
6811
6812         * gst/gstminiobject.c: (gst_mini_object_ref):
6813         Cannot assert that the refcount has to be positive
6814         since a disposed object can be resurrected.
6815
6816 2005-08-31  Wim Taymans  <wim@fluendo.com>
6817
6818         * gst/gstpad.c: (gst_pad_init):
6819         Revert change, need to first fix badly behaving 
6820         apps.
6821
6822 2005-08-30  Wim Taymans  <wim@fluendo.com>
6823
6824         * check/elements/fakesrc.c: (setup_fakesrc):
6825         * check/elements/identity.c: (setup_identity):
6826         Activate pads before using them.
6827
6828 2005-08-30  Wim Taymans  <wim@fluendo.com>
6829
6830         * gst/base/gstadapter.c: (gst_adapter_flush):
6831         Flushing out 0 bytes is ok for this function.
6832
6833         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6834         no newsegment gives a warning and sets the start/stop to 
6835         invalid.
6836
6837         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6838         (gst_base_transform_set_passthrough):
6839         Some debug info.
6840
6841         * gst/gstminiobject.c: (gst_mini_object_ref):
6842         Check refcount here too.
6843
6844         * gst/gstpad.c: (gst_pad_init):
6845         Pads are initially flushing and refusing data.
6846
6847         * gst/gstutils.c: (gst_element_link_pads_filtered):
6848         When adding a capsfilter element make sure it has the
6849         same state as the parent bin.
6850
6851 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6852
6853         * docs/gst/tmpl/.cvsignore:
6854         * docs/gst/tmpl/gstformat.sgml:
6855         * docs/gst/tmpl/gstversion.sgml:
6856         * gst/gstbus.h:
6857         * gst/gstformat.c:
6858         * gst/gstformat.h:
6859         * gst/gstversion.h.in:
6860           more docs and two more inlined
6861
6862 2005-08-30  Wim Taymans  <wim@fluendo.com>
6863
6864         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6865         Don't sync to clock.
6866
6867 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6868
6869         * docs/gst/gstreamer-sections.txt:
6870           ultral33t func10ns deserve to appear in the docs actually
6871         * docs/gst/tmpl/.cvsignore:
6872         * docs/gst/tmpl/gstcompat.sgml:
6873         * docs/gst/tmpl/gstconfig.sgml:
6874         * gst/check/gstcheck.c:
6875         * gst/gstcompat.h:
6876         * gst/gstconfig.h.in:
6877           inlined more docs
6878
6879 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6880
6881         * docs/gst/tmpl/.cvsignore:
6882         * docs/gst/tmpl/gstquery.sgml:
6883         * docs/gst/tmpl/gstutils.sgml:
6884         * gst/gstquery.c:
6885         * gst/gstquery.h:
6886           inlined and extended docs
6887
6888 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6889
6890         * check/gst-libs/controller.c: (GST_START_TEST),
6891         (gst_controller_suite):
6892           more tests
6893         * docs/gst/tmpl/gstutils.sgml:
6894         * docs/libs/gstreamer-libs-sections.txt:
6895         * docs/libs/tmpl/gstdataprotocol.sgml:
6896           include path fixes
6897         * examples/controller/audio-example.c: (main):
6898           controller example works now
6899         * gst/gstclock.h:
6900           doc fixes
6901         * tools/gst-inspect.c: (print_element_properties_info):
6902           show param spec flags
6903
6904 2005-08-29  Andy Wingo  <wingo@pobox.com>
6905
6906         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6907
6908 2005-08-28  Andy Wingo  <wingo@pobox.com>
6909
6910         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6911         as having two arguments instead of just one. Allows superclasses
6912         to access information on subclasses -- see the terrible for() loop
6913         in gtype.c:g_type_create_instance for the reason why. All callers
6914         changed.
6915
6916 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6917
6918         * docs/design/part-messages.txt:
6919           update info
6920         * docs/gst/tmpl/.cvsignore:
6921         * docs/gst/tmpl/gstcaps.sgml:
6922         * docs/gst/tmpl/gstclock.sgml:
6923         * gst/gstbus.c:
6924         * gst/gstcaps.c:
6925         * gst/gstcaps.h:
6926         * gst/gstclock.c:
6927         * gst/gstclock.h:
6928         * gst/gstmessage.c:
6929           added descriptions for bus and message
6930           inline caps and clock docs
6931
6932 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6933
6934         * gst/gstmessage.c:
6935         * gst/gstmessage.h:
6936           doc fixes
6937
6938 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6939
6940         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6941           fix div-by-zero
6942
6943 2005-08-26  Andy Wingo  <wingo@pobox.com>
6944
6945         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6946         element_set_state's return val.
6947         (test_2_elements): Add test that's been disabled for months.
6948
6949         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6950         can-activate-pull properties.
6951
6952         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6953         can-activate-pull properties. Implement is_seekable so fakesrc can
6954         operate in pull mode.
6955
6956         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6957         properties.
6958         (gst_base_sink_activate, gst_base_sink_activate_pull)
6959         (gst_base_sink_activate_push): Make activation mode choosing work.
6960         Cleanups.
6961         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6962         is right. Make pull mode work. Post an eos before pausing in pull
6963         mode.
6964         (gst_base_sink_change_state): Pay attention to the core's
6965         change_state() return val.
6966         
6967         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6968         has-getrange properties. Cleanups.
6969         
6970         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6971         has_getrange and replace with can_activate_pull and
6972         can_activate_push.
6973
6974         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6975         locking comments. Remove has_loop, has_chain and replace with
6976         can_activate_pull and can_activate_push.
6977
6978 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6979
6980         * configure.ac:
6981         * examples/Makefile.am:
6982         * examples/metadata/Makefile.am:
6983         * examples/metadata/read-metadata.c: (message_loop),
6984         (have_pad_handler), (make_pipeline), (print_tag), (main):
6985           Add metadata reading example that loops over a list of filenames,
6986           dumping any tags found.
6987
6988         * gst/gstbus.c: (gst_bus_dispose):
6989         * gst/gstelement.c: (gst_element_dispose):
6990           Release a few potentially-held references in dispose.
6991
6992 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6993
6994         * docs/gst/tmpl/gstminiobject.sgml:
6995           do *not* add tmpl/*.sgml files to CVS!
6996
6997 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6998
6999         * libs/gst/bytestream/.cvsignore:
7000         * libs/gst/bytestream/Makefile.am:
7001         * libs/gst/bytestream/adapter.c:
7002         * libs/gst/bytestream/adapter.h:
7003         * libs/gst/bytestream/bytestream.c:
7004         * libs/gst/bytestream/bytestream.h:
7005         * libs/gst/bytestream/filepad.c:
7006         * libs/gst/bytestream/filepad.h:
7007           removing obsolete files
7008
7009 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7010
7011         * docs/gst/gstreamer-docs.sgml:
7012         * docs/libs/gstreamer-libs-docs.sgml:
7013           disabed additional index entries again, as this makes docs-gen just
7014           slow and they aren't useful yet
7015         * docs/libs/gstreamer-libs-sections.txt:
7016           little -section.txt cleanup for libs
7017
7018 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7019
7020         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7021         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7022           fix up some debugging
7023         (gst_base_transform_get_unit_size),
7024         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7025         (gst_base_transform_handle_buffer):
7026         * gst/base/gstbasetransform.h:
7027           handle and store timed NEWSEGMENT events so that subclasses that
7028           calculate time by counting samples have a segment_start time they
7029           need to add to their timestamps - see audioresample
7030
7031 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7032
7033         * gst/gstbin.h:
7034           removed ';' from the end of macro defs
7035         * docs/gst/gstreamer-docs.sgml:
7036         * docs/gst/gstreamer-sections.txt:
7037         * docs/gst/tmpl/.cvsignore:
7038         * gst/gstbus.h:
7039         * gst/gstelement.c: (gst_element_class_init),
7040         (gst_element_set_state), (activate_pads),
7041         (gst_element_save_thyself):
7042         * gst/gstevent.c: (gst_event_new_newsegment):
7043         * gst/gstevent.h:
7044         * gst/gstiterator.c:
7045         * gst/gstiterator.h:
7046         * gst/gstpad.c:
7047         * gst/gstprobe.h:
7048         * gst/gstutils.c: (gst_pad_query_convert):
7049         * gst/gstutils.h:
7050           fixed parameter name mismatches between source, header and docs
7051           added some more docs, resolved the last batch of unused elements in
7052           docs (now someone needs to doc them)
7053
7054 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7055
7056         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7057         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7058           don't walk through the plugins backwards.  Where is all this
7059           reversed logic coming from ?
7060
7061 2005-08-25  Wim Taymans  <wim@fluendo.com>
7062
7063         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7064         (gst_base_transform_transform_size),
7065         (gst_base_transform_configure_caps),
7066         (gst_base_transform_get_unit_size),
7067         (gst_base_transform_buffer_alloc),
7068         (gst_base_transform_change_state):
7069         * gst/base/gstbasetransform.h:
7070         Cache caps unit_size.
7071         Make sure we cannot negotiate up and downstream at the
7072         same time.
7073
7074 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7075
7076         * gst/gst.c: (init_pre), (init_post):
7077           register the installed plugin path after the env var
7078         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7079         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7080           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7081           directories, so the tests can prefer uninstalled over installed
7082
7083 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7084
7085         * gst/base/gstbasetransform.h:
7086           comment
7087         * gst/gstpad.c:
7088           add to docs
7089
7090 2005-08-25  Wim Taymans  <wim@fluendo.com>
7091
7092         * gst/gstbin.c: (bin_bus_handler):
7093         Be a bit more conservative about the posted message.
7094         
7095         * gst/gstbus.c: (gst_bus_post):
7096         Some cleanups, warn wrong return values.
7097
7098 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7099
7100         * check/gst/gstbin.c: (GST_START_TEST):
7101         * gst/gstbin.c: (bin_bus_handler):
7102         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7103         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7104         (gst_message_new_warning), (gst_message_new_tag),
7105         (gst_message_new_state_changed), (gst_message_new_segment_start),
7106         (gst_message_new_segment_done), (gst_message_new_custom):
7107         * gst/gstmessage.h:
7108         * tools/gst-launch.c: (event_loop):
7109         * tools/gst-md5sum.c: (event_loop):
7110           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7111
7112 2005-08-25  Wim Taymans  <wim@fluendo.com>
7113
7114         * check/generic/states.c: (GST_START_TEST):
7115         Cleanup can be done at the end.
7116
7117         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7118         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7119         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7120         Oh boy.. Thanks for finding this, Thomas. 
7121
7122 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7123
7124         * docs/gst/gstreamer.types:
7125           added missing types
7126
7127 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7128
7129         * docs/gst/gstreamer-docs.sgml:
7130         * docs/gst/gstreamer-sections.txt:
7131         * docs/gst/tmpl/.cvsignore:
7132         * gst/gstbin.c:
7133         * gst/gstiterator.c:
7134         * gst/gstutils.c:
7135         * gst/registries/gstxmlregistry.h:
7136           added missing classes and symbols (123 more to go)
7137           removed removed symbols from section file
7138           fixed many doc-comments
7139
7140 2005-08-24  Wim Taymans  <wim@fluendo.com>
7141
7142         * check/generic/states.c: (GST_START_TEST):
7143         Make sure all tasks are stopped.
7144
7145         * check/gst/gstbin.c: (GST_START_TEST):
7146         Unref after usage for proper valgrinding.
7147
7148         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7149         Really wait for the task to stop before destroying the
7150         mutex.
7151
7152         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7153         (gst_queue_src_activate_push):
7154         Small cleanups. Don't stop the task when we did not start
7155         it.
7156
7157         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7158         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7159         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7160         (gst_task_join):
7161         * gst/gsttask.h:
7162         Protect the stream lock with the object lock.
7163         Disallow setting the stream lock when running.
7164         Add cleanup_all to wait for the threadpool to finish.
7165         Remove code to autoallocate a mutex if none was provided.
7166         Add _join() to wait for a task to stop.
7167         Protect the thread pool with a global lock.
7168
7169 2005-08-24  Wim Taymans  <wim@fluendo.com>
7170
7171         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7172         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7173         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7174         * gst/base/gstbasesink.h:
7175         Handle newsegment events correctly.
7176         Drop buffers out of the segment range.
7177
7178 2005-08-22  Andy Wingo  <wingo@pobox.com>
7179
7180         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7181         macro, implements an interface and gstimplementsinterface for a
7182         new type.
7183
7184 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7185
7186         * check/Makefile.am:
7187         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7188           add a test that does a bunch of state changes on elements
7189           needs some fixing for valgrind
7190         * check/states/sinks.c: (gst_object_suite):
7191           whitespace
7192         * gst/gstcaps.h:
7193           add prototype for gst_caps_is_equal_fixed
7194         * gst/gstplugin.c:
7195         * gst/gstregistrypool.c:
7196           doc fixes
7197
7198 2005-08-24  Andy Wingo  <wingo@pobox.com>
7199
7200         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7201         convert a negative value. Doesn't make much sense. Mostly this is
7202         here to force callers to ensure -1 maps to -1.
7203
7204 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7205
7206         * docs/pwg/advanced-types.xml:
7207           Well done to Michael for catching my deliberate introduction
7208           of this spelling mistake. 
7209         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7210         * gst/gstelement.h:
7211           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7212           unlink pads before removing the element from the bin.
7213
7214 2005-08-24  Andy Wingo  <wingo@pobox.com>
7215
7216         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7217         the same thing as GST_DEBUG=*:4.
7218         (parse_debug_level, parse_debug_category): New helper parsers.
7219
7220 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7221
7222         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7223         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7224         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7225         (gst_base_transform_buffer_alloc),
7226         (gst_base_transform_handle_buffer):
7227           use gboolean return values and pointers to size so we can use the
7228           full GST_BUFFER_SIZE range (guint) for buffer sizes
7229           use GstPadDirection for transform_caps
7230         * gst/base/gstbasetransform.h:
7231           rename get_size to get_unit_size since that's what it is
7232         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7233           use GstPadDirection for transform_caps
7234         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7235         * gst/gstutils.h:
7236           cleanup and debugging
7237
7238 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7239
7240         * gst/gstelement.c: (gst_element_class_init),
7241         (gst_element_set_state), (activate_pads),
7242         (gst_element_save_thyself):
7243         * tools/gst-compprep.c: (main):
7244         * tools/gst-inspect.c: (print_element_properties_info):
7245         * tools/gst-xmlinspect.c: (print_element_properties):
7246           Fixed long standing mem-leak
7247
7248 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7249
7250         * check/gst/gstbin.c: (GST_START_TEST):
7251         * gst/gstbin.c: (bin_bus_handler):
7252         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7253         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7254         (gst_message_new_warning), (gst_message_new_tag),
7255         (gst_message_new_state_changed), (gst_message_new_segment_start),
7256         (gst_message_new_segment_done), (gst_message_new_custom):
7257         * gst/gstmessage.h:
7258         * tools/gst-launch.c: (event_loop):
7259         * tools/gst-md5sum.c: (event_loop):
7260           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7261           that applications can sensibly post custom messages with references
7262           to their own objects.
7263
7264 2005-08-24  Andy Wingo  <wingo@pobox.com>
7265
7266         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7267         already.
7268
7269 2005-08-24  Wim Taymans  <wim@fluendo.com>
7270
7271         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7272         (gst_base_transform_transform_caps),
7273         (gst_base_transform_transform_size),
7274         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7275         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7276         (gst_base_transform_handle_buffer):
7277         * gst/base/gstbasetransform.h:
7278         Many fixes and new features added by Thomas. Can now also do
7279         transforms with variable sizes and a custom fixate_caps function.
7280
7281 2005-08-24  Wim Taymans  <wim@fluendo.com>
7282
7283         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7284         Some debugging.
7285
7286         * gst/gstclock.h:
7287         Cast to ClockTime before formatting to time.
7288
7289         * gst/gstutils.h:
7290         Cleanups.
7291
7292 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7293
7294         * check/gst-libs/controller.c: (GST_START_TEST),
7295         (gst_controller_suite):
7296         * docs/gst/tmpl/gstcaps.sgml:
7297         * docs/gst/tmpl/gstghostpad.sgml:
7298         * docs/gst/tmpl/gstquery.sgml:
7299         * docs/gst/tmpl/gstutils.sgml:
7300         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7301         (gst_object_sink_values), (gst_object_get_value_arrays),
7302         (gst_object_get_value_array):
7303           gracefully handle helper method calls to objects that are not beeing
7304           controlled, added test case for that          
7305
7306 2005-08-23  Wim Taymans  <wim@fluendo.com>
7307
7308         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7309         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7310         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7311         (gst_event_parse_qos), (gst_event_new_seek),
7312         (gst_event_parse_seek):
7313         * gst/gstevent.h:
7314         Some more debugging output and doc cleanups.
7315
7316         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7317         Fix possible deadlock.
7318
7319 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7320
7321         * docs/gst/gstreamer-docs.sgml:
7322         * docs/gst/gstreamer-sections.txt:
7323         * docs/gst/gstreamer.types:
7324         * docs/gst/tmpl/.cvsignore:
7325         * gst/gstbin.h:
7326         * gst/gstbus.c:
7327         * gst/gstelement.c:
7328         * gst/gstevent.h:
7329           added 100 symbols from gstreamer-unused.txt to the right sections
7330           fixed more broken comments
7331           added GstBus to docs
7332
7333 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7334
7335         * docs/gst/gstreamer-sections.txt:
7336         * docs/gst/tmpl/.cvsignore:
7337         * docs/gst/tmpl/gstbin.sgml:
7338         * docs/gst/tmpl/gstbuffer.sgml:
7339         * gst/base/gstbasesrc.c:
7340         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7341         * gst/gstbuffer.c:
7342         * gst/gstbuffer.h:
7343         * tools/gst-launch.1.in:
7344           inlined more doc comments, added missing comments and fixed comments
7345           fixed typos
7346
7347 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7348
7349         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7350           some debugging
7351         * gst/gstcaps.h:
7352           whitespace fixes
7353         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7354           more debugging
7355         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7356         * gst/gststructure.h:
7357           add a fixate function for booleans; add a FIXME that these func
7358           names should probably be gst_structure_fixate_*
7359
7360 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7361
7362         * docs/gst/gstreamer-docs.sgml:
7363         * docs/gst/gstreamer-sections.txt:
7364         * gst/Makefile.am:
7365         * gst/gstbin.c: (gst_bin_get_type),
7366         (gst_bin_child_proxy_get_child_by_index),
7367         (gst_bin_child_proxy_get_children_count),
7368         (gst_bin_child_proxy_init):
7369         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7370         (gst_child_proxy_get_child_by_index),
7371         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7372         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7373         (gst_child_proxy_get), (gst_child_proxy_set_property),
7374         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7375         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7376         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7377         * gst/gstchildproxy.h:
7378         * gst/parse/grammar.y:
7379         * tools/gst-inspect.c: (print_interfaces),
7380         (print_element_properties_info), (print_element_info):
7381           ported gstchildproxy over from 0.8
7382           ported gst-inspect fixes and enhancements over from 0.8
7383
7384 2005-08-22  Wim Taymans  <wim@fluendo.com>
7385
7386         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7387         (gst_base_transform_handle_buffer):
7388         Also call the transform function if we have ANY caps.
7389
7390         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7391         Fix debug info.
7392
7393 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7394
7395         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7396           Don't pretend to handle seek events if the source is not seekable
7397
7398 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7399
7400         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7401           Remove extra parameter to debug output
7402
7403         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7404         (gst_base_src_do_seek), (gst_base_src_activate_push):
7405           Fix seek event handling.
7406
7407         * gst/gstpipeline.c: (gst_pipeline_change_state):
7408         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7409         (gst_queue_src_activate_push):
7410           Don't start the src pad task on FLUSH_STOP if the pad
7411           isn't linked.
7412           Debug changes.
7413
7414 2005-08-22  Wim Taymans  <wim@fluendo.com>
7415
7416         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7417         Added check for gst_static_caps_get() refcounting.
7418
7419 2005-08-22  Wim Taymans  <wim@fluendo.com>
7420
7421         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7422         Make _static_caps_get() refcounting sane.
7423         
7424         * gst/gstelement.c: (gst_element_set_state):
7425         Add g_return_val_if_fail() to protect against segfaults.
7426
7427 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7428
7429         * docs/gst/tmpl/gstevent.sgml:
7430         * gst/gstevent.c:
7431         * gst/gstevent.h:
7432           inlined remaining docs, added missing doc comments
7433
7434 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7435
7436         * check/gst/gstbin.c: (GST_START_TEST):
7437           since we don't know when preroll is done, use refcount range
7438           check for the sink
7439         * gst/check/gstcheck.h:
7440           add macro for checking refcount range
7441
7442 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7443
7444         * check/Makefile.am:
7445           clean up environment for when registry gets built versus
7446           when actual tests are run; valgrind seems to not report
7447           leaks if GST_PLUGIN_PATH is set to some specific values
7448         * check/gst/gstbin.c: (GST_START_TEST):
7449           add more refcounting checks; maybe this exposes a
7450           preroll lock bug ?
7451         * common/check.mak:
7452         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7453         * gst/check/gstcheck.h:
7454         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7455         (gst_bin_change_state):
7456         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7457           add/fix debugging/whitespace
7458
7459 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7460
7461         * check/gst/gstevent.c: (event_probe), (test_event),
7462         (GST_START_TEST):
7463          Er, don't call gst_bin_watch_for_state_change you idiot.
7464
7465 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7466
7467         * check/Makefile.am:
7468           Use CHECK_CFLAGS and CHECK_LIBS
7469         * check/gst/gstevent.c: (event_probe), (test_event),
7470         (GST_START_TEST):
7471           Don't leak events.
7472         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7473         (gst_base_src_start), (gst_base_src_stop),
7474         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7475         (gst_base_src_change_state):
7476           Sprinkle gst_base_src_stop liberally around error paths to fix
7477           problems reusing a source after failed state changes.
7478         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7479         (helper_find_suggest), (gst_type_find_helper):
7480           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7481         * gst/gstevent.h:
7482         * docs/gst/tmpl/gstevent.sgml:
7483           Migrate part of the docs from the SGML file. Wait for ensonic to
7484           tell me how I did it wrong ;)
7485         * tools/gst-typefind.c: (main):
7486           Extra robustness to state changes between files.
7487
7488 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7489
7490         * check/Makefile.am:
7491           don't valgrind the controller test - it's leaking - Stefan, HELP
7492         * gst/check/gstcheck.c: (gst_check_message_error),
7493         (gst_check_chain_func), (gst_check_setup_element),
7494         (gst_check_teardown_element), (gst_check_setup_src_pad),
7495         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7496         (gst_check_teardown_sink_pad):
7497         * gst/check/gstcheck.h:
7498           add a bunch of methods to set up elements, and src and sink pads
7499         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7500         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7501         (GST_START_TEST):
7502           use them
7503         * gst/gstmessage.c:
7504         * gst/gsttag.h:
7505           whitespace/doc fixes
7506
7507 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7508
7509         * gst/gstelement.h:
7510           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7511           be handled by the application and not always printed as well
7512
7513 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7514
7515         * check/Makefile.am:
7516           set GST_TOOLS_DIR
7517         * gst/check/gstcheck.c: (gst_check_message_error):
7518         * gst/check/gstcheck.h:
7519           add a fail_unless_equals_int
7520           add fail_unless for error messages
7521
7522 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7523
7524         * check/Makefile.am:
7525         * check/gst.supp:
7526         * common/Makefile.am:
7527         * common/check.mak:
7528         * common/gst.supp:
7529           factor out some of the common stuff so we can use it
7530
7531 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7532
7533         * check/Makefile.am:
7534         * check/gst/gstiterator.c: (GST_START_TEST):
7535         * check/gst/gstsystemclock.c: (GST_START_TEST),
7536         (gst_systemclock_suite):
7537         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7538         * gst/gstclock.c:
7539           valgrind more tests
7540
7541 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7542
7543         * check/elements/.cvsignore:
7544         * check/elements/gstfakesrc.c:
7545           rename to name of element
7546         * check/elements/identity.c: (chain_func), (event_func),
7547         (setup_identity), (cleanup_identity), (GST_START_TEST),
7548         (identity_suite), (main):
7549           add a test for identity
7550         * check/Makefile.am:
7551         * pkgconfig/Makefile.am:
7552         * pkgconfig/gstreamer-check.pc.in:
7553         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7554         * gst/check:
7555         * gst/Makefile.am:
7556         * configure.ac:
7557           move the check stuff to a library that gets installed
7558         * check/gst-libs/controller.c: (GST_START_TEST):
7559         * check/gst-libs/gdp.c:
7560         * check/gst/gst.c: (GST_START_TEST):
7561         * check/gst/gstbin.c:
7562         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7563         * check/gst/gstbus.c:
7564         * check/gst/gstcaps.c: (GST_START_TEST):
7565         * check/gst/gstelement.c:
7566         * check/gst/gstghostpad.c:
7567         * check/gst/gstiterator.c:
7568         * check/gst/gstmessage.c:
7569         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7570         * check/gst/gstobject.c:
7571         * check/gst/gstpad.c: (GST_START_TEST):
7572         * check/gst/gststructure.c: (GST_START_TEST):
7573         * check/gst/gstsystemclock.c: (GST_START_TEST),
7574         (gst_systemclock_suite):
7575         * check/gst/gsttag.c: (gst_tag_suite):
7576         * check/gst/gstvalue.c:
7577         * check/pipelines/cleanup.c:
7578         * check/pipelines/simple_launch_lines.c:
7579         * check/states/sinks.c:
7580           change include statement
7581
7582         * docs/gst/gstreamer-sections.txt:
7583         * docs/gst/tmpl/gstpad.sgml:
7584           document more pad stuff
7585         * gst/gstminiobject.c: (gst_mini_object_ref),
7586         (gst_mini_object_unref):
7587           debug refcounting
7588
7589 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7590
7591         * docs/gst/tmpl/gst.sgml:
7592         * gst/gst.c:
7593           eliminate another tmpl file, fix spelling in the long-description
7594
7595 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7596
7597         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7598         (test_event), (timediff), (gstevents_suite):
7599           Should fix build on 64-bit arch's
7600
7601 2005-08-18  Andy Wingo  <wingo@pobox.com>
7602
7603         Make sure that when a pipeline goes to PLAYING, that data has
7604         actually hit the sink.
7605
7606         * check/states/sinks.c (test_sink): A sink that doesn't get any
7607         data shouldn't return SUCCESS for going to either PLAYING or
7608         PAUSED. Test also the return values on the way back down.
7609
7610         * gst/gstelement.c (gst_element_set_state): When changing the
7611         state of an element currently changing state asynchronously, go to
7612         lost-state after commiting the pending state. Makes future calls
7613         to get_state continue to return ASYNC.
7614
7615         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7616         ASYNC when going to PLAYING if we still don't have preroll, as can
7617         happen with live sources.
7618
7619 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7620
7621         * docs/pwg/advanced-types.xml:
7622           Hack long paragraph into 2 chunks as a workaround for buggy
7623           jadetex version in sid and breezy that loops infinitely and
7624           eats all RAM.
7625
7626 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7627
7628         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7629         (test_event), (timediff), (gstevents_suite):
7630           Provide more error margin in clock measurements to allow for 
7631           g_get_current_time inaccuracies.
7632
7633 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7634
7635         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7636         (test_event), (timediff), (gstevents_suite):
7637            Fix error message output so I might be able to tell why the
7638            test works here but fails on the build farm.
7639
7640 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7641
7642         * check/Makefile.am:
7643         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7644         (test_event), (timediff), (gstevents_suite), (main):
7645           I wrote a test!
7646
7647         * docs/design/part-seeking.txt:
7648           Spelling correction
7649
7650         * docs/gst/tmpl/gstevent.sgml:
7651         * docs/gst/tmpl/gstfakesrc.sgml:
7652           Docs updates.
7653
7654         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7655           Treat a buffer-without-newsegment the same as a receiving 
7656           a newsegment not in time format, and disable syncing to the clock
7657           with a warning.
7658
7659         * gst/gstbus.c: (gst_bus_set_sync_handler):
7660           Assert if anyone tries to replace the existing sync_handler for bus, 
7661           as only the owner should be setting it.
7662
7663         * gst/gstevent.h:
7664           Have a fixed set of custom event enums with events identified by
7665           their structure name (as in 0.8), rather than a free-for-all
7666           allowing collisions between enum values from different plugins.
7667
7668         * gst/gstpad.c: (gst_pad_class_init):
7669           Docs change.
7670           
7671         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7672           Handle out-of-band downstream events from the sending thread.
7673
7674 2005-08-17  Andy Wingo  <wingo@pobox.com>
7675
7676         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7677         play-timeout==0 to mean no timeout at all. In that case, don't
7678         bother with a get_state or a warning, just return directly, even
7679         if it's ASYNC.
7680
7681         * gst/base/gstbasetransform.c: Debug changes.
7682
7683         * gst/gstutils.h:
7684         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7685         ensure bins post state change messages. A bit of a hack but I can't
7686         think of a way to avoid it.
7687
7688         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7689
7690 2005-08-16  Andy Wingo  <wingo@pobox.com>
7691
7692         * gst/base/gstadapter.h:
7693         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7694         peek() but you own the data. Not terribly efficient atm.
7695
7696 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7697
7698         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7699         (gst_element_found_tags):
7700         * gst/gstutils.h:
7701           Add two utility functions for tag handling.
7702
7703 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7704
7705         * docs/manual/advanced-dataaccess.xml:
7706         * docs/manual/basics-helloworld.xml:
7707           Fix docs to use _bin_add() before _link(), which fixes the examples
7708           with recent core versions (reported by Madhan Raj M
7709           <raj_madan@rediffmail.com>, #313199).
7710
7711 2005-08-16  Wim Taymans  <wim@fluendo.com>
7712
7713         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7714         Added subtract checks.
7715
7716         * docs/design/part-events.txt:
7717         Some more docs about newsegment
7718
7719         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7720         Fix FIXME
7721
7722         * gst/gstcaps.c: (gst_caps_to_string):
7723         Add comments, cleanups.
7724         
7725         * gst/gstelement.c: (gst_element_save_thyself):
7726         cleanups
7727         
7728         * gst/gstvalue.c: (gst_value_collect_int_range),
7729         (gst_string_unwrap), (gst_value_union_int_int_range),
7730         (gst_value_union_int_range_int_range),
7731         (gst_value_intersect_int_int_range),
7732         (gst_value_intersect_int_range_int_range),
7733         (gst_value_intersect_double_double_range),
7734         (gst_value_intersect_double_range_double_range),
7735         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7736         (gst_value_subtract_int_range_int),
7737         (gst_value_subtract_double_range_double),
7738         (gst_value_subtract_double_range_double_range),
7739         (gst_value_subtract_from_list), (gst_value_subtract_list),
7740         (gst_value_can_compare), (gst_value_compare_fraction):
7741         Cleanups, add comments, remove unneeded asserts.
7742
7743 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7744
7745         * tools/gst-launch.c: (event_loop):
7746           don't convert NULL structures to strings
7747
7748 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7749
7750         * docs/gst/gstreamer-sections.txt:
7751           made some defines private
7752         * docs/gst/tmpl/gstconfig.sgml:
7753         * docs/gst/tmpl/gstqueue.sgml:
7754         * docs/gst/tmpl/gsttaglist.sgml:
7755         * docs/gst/tmpl/gsttypes.sgml:
7756         * docs/gst/tmpl/gstutils.sgml:
7757         * docs/pwg/appendix-porting.xml:
7758         * gst/base/gstbasesink.h:
7759         * gst/base/gstbasesrc.c:
7760         * gst/base/gstbasesrc.h:
7761         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7762         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7763         * gst/gstelement.c: (gst_element_class_init):
7764         * gst/gstpad.c: (gst_pad_class_init):
7765         * gst/gstqueue.c: (gst_queue_class_init):
7766         * gst/gstxml.c: (gst_xml_class_init):
7767           documented all undocumented signal inline
7768         * libs/gst/controller/gst-controller.h:
7769           added padding
7770
7771 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7772
7773         * docs/pwg/appendix-porting.xml:
7774           Document _set_link_function -> _set_setcaps_function.
7775
7776 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7777
7778         * check/Makefile.am:
7779           add a .check target for running the check
7780         * check/gst-libs/controller.c: (GST_START_TEST):
7781           cosmetic fixups
7782         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7783           complete checks for gstbuffer; would be nice if I could get the
7784           gcov stuff to work so I can see if I actually completed gstbuffer.c
7785         * check/gstcheck.h:
7786           add ASSERT_BUFFER_REFCOUNT
7787
7788 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7789
7790         * docs/gst/gstreamer-sections.txt:
7791         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7792         * gst/gsttag.h:
7793           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7794           spew out a warning if a tag that is already registered
7795           is re-registered, unless it is re-registered with a 
7796           different type (#308438).
7797
7798 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7799
7800         * docs/pwg/appendix-porting.xml:
7801         * docs/pwg/building-state.xml:
7802           Add some paragraphs about state changes in 0.9 to the PWG
7803           and the porting guide, in particular about the new meaning
7804           of GST_STATE_PAUSED and how to write state change functions
7805           with concurrent access by multiple threads in mind.
7806
7807 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7808
7809         * docs/gst/gstreamer-docs.sgml:
7810         * docs/libs/gstreamer-libs-docs.sgml:
7811           added deprecation and since indexes
7812         * libs/gst/controller/gst-controller.c:
7813         * libs/gst/controller/gst-helper.c:
7814           added since tags
7815
7816
7817 2005-08-11  Wim Taymans  <wim@fluendo.com>
7818
7819         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7820         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7821         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7822         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7823         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7824         (gst_ghost_pad_set_target):
7825         Actually implement (re)setting the target on a ghostpad
7826         as described in the docs.
7827
7828 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7829
7830         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7831           Check whether GST_DEBUG_NO_COLOR environment variable is
7832           set and disable coloured debug output if that is the case.
7833
7834 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7835
7836         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7837         (gst_type_find_helper):
7838           The memory returned by gst_type_find_peek() needs to
7839           stay valid until the end of a typefind function, and
7840           typefind functions may keep results from different 
7841           offsets around, so we can't just unref the buffer from
7842           the previous _peek(), but have to save all buffers 
7843           returned by _peek() until typefinding is done and only
7844           free them then.
7845
7846 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7847
7848         * docs/gst/gstreamer-sections.txt:
7849         * gst/gstutils.h:
7850           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7851
7852 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7853
7854         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7855           Fix a pretty good memleak.
7856
7857 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7858
7859         * gst/gstiterator.h:
7860           Fix wrong include and 'make distcheck'.
7861
7862 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7863
7864         * gst/gstbin.c: (bin_bus_handler):
7865           Use gst_element_post_message() instead.
7866
7867 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7868
7869         * gst/base/gstadapter.h:
7870         * gst/base/gstbasesink.h:
7871         * gst/base/gstbasesrc.h:
7872         * gst/base/gstbasetransform.h:
7873         * gst/base/gstcollectpads.h:
7874         * gst/base/gstpushsrc.h:
7875         * gst/gstiterator.h:
7876           Add padding to our base elements' class and instance structs and
7877           to GstIterator (you will need to rebuild all plugins and apps!)
7878
7879 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7880
7881         * gst/gstbin.c: (bin_bus_handler):
7882           Make default message forwarding from child->bus to bin->bus
7883           threadsafe and make it not emit warnings if the parent has no bus.
7884
7885 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7886
7887         * gst/gstelement.c: (activate_pads):
7888           On paused->ready, set pad->caps to NULL, as is the documented
7889           behaviour in this state change. Fixes playback of series of
7890           media files when visualization is enabled in Totem.
7891
7892 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7893
7894         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7895           Allow NULL as filter-caps (which means "any").
7896
7897 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7898
7899         * docs/libs/gstreamer-libs-sections.txt:
7900         * libs/gst/controller/gst-controller.c:
7901         * libs/gst/controller/gst-controller.h:
7902         * libs/gst/controller/gst-helper.c:
7903           adding more entries to the docs and fix small doc-bugs
7904
7905 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7906
7907         * docs/gst/gstreamer-docs.sgml:
7908         * docs/gst/gstreamer-sections.txt:
7909         * docs/gst/gstreamer.types:
7910         * docs/gst/tmpl/gstbasesink.sgml:
7911         * docs/gst/tmpl/gstbasesrc.sgml:
7912         * docs/gst/tmpl/gstbasetransform.sgml:
7913         * docs/gst/tmpl/gstfakesrc.sgml:
7914         * gst/base/gstcollectpads.c:
7915         * gst/base/gstcollectpads.h:
7916         * libs/gst/controller/gst-controller.c:
7917         * libs/gst/controller/gst-controller.h:
7918         * libs/gst/controller/gst-helper.c:
7919         * libs/gst/controller/gst-interpolation.c:
7920         * libs/gst/controller/lib.c:
7921           added long/short desc for controller docs
7922           added collectpads base class docs
7923           added correct includes to base-class docs
7924
7925 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7926
7927         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7928         (gst_test_mono_source_set_property),
7929         (gst_test_mono_source_class_init), (GST_START_TEST),
7930         (gst_controller_suite):
7931         * docs/gst/gstreamer-docs.sgml:
7932         * docs/gst/gstreamer-sections.txt:
7933         * docs/gst/gstreamer.types:
7934         * docs/libs/gstreamer-libs-docs.sgml:
7935         * docs/libs/gstreamer-libs-sections.txt:
7936         * gst/base/gstadapter.c:
7937         * libs/gst/controller/gst-controller.c:
7938         (gst_controlled_property_new), (gst_controlled_property_free),
7939         (gst_controller_new_valist),
7940         (gst_controller_remove_properties_valist),
7941         (gst_controller_sink_values), (_gst_controller_finalize):
7942         * libs/gst/controller/gst-controller.h:
7943         * libs/gst/controller/gst-helper.c:
7944         (gst_object_control_properties), (gst_object_uncontrol_properties),
7945         (gst_object_get_controller), (gst_object_set_controller),
7946         (gst_object_sink_values), (gst_object_get_value_arrays),
7947         (gst_object_get_value_array):
7948           more tests (and fixes) for the controller
7949           more docs for the controller
7950           integrated companies docs for the adapter 
7951
7952 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7953
7954         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7955         (GST_START_TEST), (fakesrc_suite):
7956           add tests for sizetype
7957
7958 2005-08-04  Andy Wingo  <wingo@pobox.com>
7959
7960         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7961         fixes buffer_alloc proxying among other things.
7962
7963         * gst/base/gstbasetransform.c:
7964         * gst/base/gstbasetransform.h:
7965         Revert patch to gstbasetransform from 7-28 removing
7966         delay_configure.
7967
7968         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7969         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7970         Semantics changed, should return not the size of the output buffer
7971         but the byte size of a buffer with a given caps.
7972
7973         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7974         debug object.
7975         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7976         out) are not the pad caps until setcaps finishes.
7977         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7978         not-in-place case as well. Deal with changing from in-place to
7979         not-in-place within calling pad_alloc_buffer. Still a bit
7980         concerned about the overhead here...
7981
7982 2005-08-03  Andy Wingo  <wingo@pobox.com>
7983
7984         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7985         fixating is an error.
7986
7987 2005-08-04  Edward Hervey  <edward@fluendo.com>
7988
7989         * gst/base/gstadapter.h: 
7990         Added gst_adapter_get_type() to the header
7991
7992 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7993
7994         * check/Makefile.am:
7995         * check/gst-libs/controller.c:
7996         * libs/gst/controller/gst-controller.c:
7997         (gst_controller_new_valist):
7998           added check test suite for the controller
7999         * gst/base/gstpushsrc.c:
8000           fixed a doc typo
8001
8002 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8003
8004         * docs/gst/Makefile.am:
8005         * docs/gst/gstreamer-docs.sgml:
8006         * docs/gst/gstreamer-sections.txt:
8007         * docs/gst/gstreamer.types:
8008         * docs/gst/tmpl/gstfakesrc.sgml:
8009         * gst/base/README:
8010         * gst/base/gstbasesink.c:
8011         * gst/base/gstbasesink.h:
8012         * gst/base/gstbasesrc.c:
8013         * gst/base/gstbasesrc.h:
8014         * gst/base/gstbasetransform.c:
8015         * gst/base/gstpushsrc.c:
8016         * gst/base/gstpushsrc.h:
8017           add short/long description docs to base classes
8018           add pushsrc to the docs
8019           remove consolidated doc fragments
8020
8021 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8022
8023         * configure.ac:
8024         * docs/libs/Makefile.am:
8025         * docs/libs/gstreamer-libs-docs.sgml:
8026         * docs/libs/gstreamer-libs-sections.txt:
8027         * docs/libs/gstreamer-libs.types:
8028         * examples/Makefile.am:
8029         * examples/controller/.cvsignore:
8030         * examples/controller/Makefile.am:
8031         * examples/controller/audio-example.c: (main):
8032         * libs/gst/Makefile.am:
8033         * libs/gst/controller/.cvsignore:
8034         * libs/gst/controller/Makefile.am:
8035         * libs/gst/controller/gst-controller.c:
8036         (on_object_controlled_property_changed), (gst_timed_value_compare),
8037         (gst_timed_value_find),
8038         (gst_controlled_property_set_interpolation_mode),
8039         (gst_controlled_property_new), (gst_controlled_property_free),
8040         (gst_controller_find_controlled_property),
8041         (gst_controller_new_valist), (gst_controller_new),
8042         (gst_controller_remove_properties_valist),
8043         (gst_controller_remove_properties), (gst_controller_set),
8044         (gst_controller_set_from_list), (gst_controller_unset),
8045         (gst_controller_get), (gst_controller_get_all),
8046         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8047         (gst_controller_get_value_array),
8048         (gst_controller_set_interpolation_mode),
8049         (_gst_controller_finalize), (_gst_controller_init),
8050         (_gst_controller_class_init), (gst_controller_get_type):
8051         * libs/gst/controller/gst-controller.h:
8052         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8053         (g_object_uncontrol_properties), (g_object_get_controller),
8054         (g_object_set_controller), (g_object_sink_values),
8055         (g_object_get_value_arrays), (g_object_get_value_array):
8056         * libs/gst/controller/gst-interpolation.c:
8057         (gst_controlled_property_find_timed_value_node),
8058         (interpolate_none_get), (interpolate_trigger_get),
8059         (interpolate_trigger_get_value_array):
8060         * libs/gst/controller/lib.c: (gst_controller_init):
8061         * pkgconfig/Makefile.am:
8062         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8063         * pkgconfig/gstreamer-control.pc.in:
8064         * testsuite/Makefile.am:
8065         * testsuite/controller/.cvsignore:
8066         * testsuite/controller/Makefile.am:
8067         * testsuite/controller/interpolator.c: (main):
8068           added controller code
8069           removed dparam pc files
8070
8071 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8072         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8073         (gst_collectpads_stop):
8074           Broadcast the condition when shutting down, to make sure we wake all
8075           threads up. Shut down pads on finalize, for safety.
8076
8077 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8078         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8079         (gst_base_transform_handle_buffer),
8080         (gst_base_transform_change_state):
8081           Handle PAUSED->READY->PAUSED transition after negotiation
8082           occurred already.
8083         * gst/gstmessage.c: (gst_message_init):
8084           Extra piece of debug for new messages.
8085
8086 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8087
8088         * configure.ac:
8089         * docs/gst/tmpl/gstbasesrc.sgml:
8090         * docs/gst/tmpl/gstelement.sgml:
8091         * docs/gst/tmpl/gstevent.sgml:
8092         * docs/gst/tmpl/gstfakesrc.sgml:
8093         * docs/gst/tmpl/gstformat.sgml:
8094         * docs/gst/tmpl/gstghostpad.sgml:
8095         * docs/gst/tmpl/gstpad.sgml:
8096         * docs/gst/tmpl/gstquery.sgml:
8097         * docs/gst/tmpl/gststructure.sgml:
8098         * docs/gst/tmpl/gsttaglist.sgml:
8099         * docs/gst/tmpl/gstvalue.sgml:
8100         * docs/libs/gstreamer-libs-docs.sgml:
8101         * docs/libs/gstreamer-libs-sections.txt:
8102         * docs/libs/gstreamer-libs.types:
8103         * libs/gst/Makefile.am:
8104         * libs/gst/control/.cvsignore:
8105         * libs/gst/control/Makefile.am:
8106         * libs/gst/control/control.c:
8107         * libs/gst/control/control.h:
8108         * libs/gst/control/dparam.c:
8109         * libs/gst/control/dparam.h:
8110         * libs/gst/control/dparam_smooth.c:
8111         * libs/gst/control/dparam_smooth.h:
8112         * libs/gst/control/dparamcommon.h:
8113         * libs/gst/control/dparammanager.c:
8114         * libs/gst/control/dparammanager.h:
8115         * libs/gst/control/dplinearinterp.c:
8116         * libs/gst/control/dplinearinterp.h:
8117         * libs/gst/control/unitconvert.c:
8118         * libs/gst/control/unitconvert.h:
8119         * testsuite/Makefile.am:
8120         * testsuite/dynparams/.cvsignore:
8121         * testsuite/dynparams/Makefile.am:
8122         * testsuite/dynparams/dparamstest.c:
8123         * tools/Makefile.am:
8124         * tools/gst-inspect.c: (print_element_info), (main):
8125         * tools/gst-xmlinspect.c: (print_element_info), (main):
8126           deactivate and remove dparams (libgstcontrol)
8127
8128 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8129
8130         * gst/elements/gsttypefindelement.c:
8131         (gst_type_find_element_have_type), (gst_type_find_element_init),
8132         (stop_typefinding), (gst_type_find_element_handle_event),
8133         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8134         * gst/elements/gsttypefindelement.h:
8135           Set caps on all outgoing buffers, not just the first one.
8136
8137 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8138
8139         * gst/elements/gsttypefindelement.c:
8140         (gst_type_find_element_have_type),
8141         (gst_type_find_element_check_set_buffer_caps),
8142         (gst_type_find_element_init), (stop_typefinding),
8143         (gst_type_find_element_handle_event),
8144         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8145         * gst/elements/gsttypefindelement.h:
8146           Set caps on first outgoing buffer when we've found the type.
8147
8148 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8149
8150         * docs/gst/gstreamer-docs.sgml:
8151         * docs/gst/gstreamer-sections.txt:
8152         * docs/gst/tmpl/gstscheduler.sgml:
8153         * docs/gst/tmpl/gstschedulerfactory.sgml:
8154           Remove some old cruft from docs.
8155
8156 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8157
8158         * gst/gstpad.h:
8159           Fix inline docs for GstPadLinkReturn.
8160           
8161         * gst/gststructure.c: (gst_structure_has_name):
8162         * gst/gststructure.h:
8163         * docs/gst/gstreamer-sections.txt:
8164           New API: gst_structure_has_name().
8165
8166 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8167
8168         * configure.ac:
8169           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8170           and _LARGEFILE_SOURCE in config.h as required. Do not 
8171           export those flags in our .pc files any longer (#142209).
8172
8173           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8174
8175         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8176         (gst_file_sink_do_seek), (gst_file_sink_event),
8177         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8178           Redo seek/tell calls with large file support in mind; add some
8179           debugging messages; add log message that tells us when large
8180           file support is unavailable or not enabled for some reason.
8181
8182         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8183           Add log message that tells us when large file support 
8184           is unavailable or not enabled for some reason.
8185
8186 2005-07-29  Wim Taymans  <wim@fluendo.com>
8187
8188         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8189         Added test for removing an element with ghostpad from a bin.
8190         Fixed test as current implementation does the right thing.
8191
8192         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8193         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8194         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8195         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8196         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8197         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8198         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8199         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8200         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8201         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8202         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8203         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8204         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8205         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8206         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8207         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8208         * gst/gstghostpad.h:
8209         Clean up ghostpads, remove properties for internal stuff.
8210         Make threadsafe.
8211         Fix refcounting.
8212         Prepare for switching targets, not all use cases work yet.
8213
8214 2005-07-29  Wim Taymans  <wim@fluendo.com>
8215
8216         * docs/design/part-gstghostpad.txt:
8217         Small update.
8218
8219         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8220         (gst_bin_remove_func):
8221         Unlinking pads while holding the bin LOCK is not a good
8222         idea.
8223
8224         * gst/gstpad.c: (gst_pad_class_init),
8225         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8226         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8227         No prob setting template after creating the pad.
8228
8229 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8230
8231         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8232         (gst_bus_peek), (gst_bus_source_dispatch),
8233         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8234         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8235           gst_bus_poll may be called from other threads. Handle
8236           this nicely by not making poll_data disappear off the
8237           stack once gst_bus_poll returns.
8238           gst_bus_peek now increments the refcount on the returned
8239           message.
8240
8241 2005-07-29  Wim Taymans  <wim@fluendo.com>
8242
8243         * docs/design/part-gstghostpad.txt:
8244         Overview of current GhostPad datastructures and use
8245         cases for changing the target.
8246
8247 2005-07-28  Wim Taymans  <wim@fluendo.com>
8248
8249         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8250         Added checks for hierarchy consistency whan adding linked
8251         elements to bins.
8252
8253         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8254         Added check to test element scheduling without bin/pipeline.
8255
8256         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8257         First add elements to bin, then link.
8258         
8259         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8260         (gst_bin_remove_func):
8261         Unlink pads from elements added/removed from bin to maintain
8262         hierarchy consistency.
8263
8264 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8265
8266         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8267         (gst_base_transform_handle_buffer):
8268         * gst/base/gstbasetransform.h:
8269           Remove broken delay_configure (fixes renegotiation of software
8270           scaling pipelines); remove some leftover printf()s.
8271
8272 2005-07-28  Wim Taymans  <wim@fluendo.com>
8273
8274         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8275         Added some more tests for wrong hierarchy
8276
8277         * docs/design/part-overview.txt:
8278         Some updates.
8279
8280         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8281         Cleanups.
8282
8283         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8284         (gst_element_dispose):
8285         Some more cleanups.
8286
8287         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8288         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8289         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8290         (gst_pad_set_caps), (gst_pad_send_event):
8291         Check for correct hierarchy when linking pads. Moving to
8292         strict requirement for ghostpads when linking elements in
8293         different bins.
8294
8295         * gst/gstpad.h:
8296         Clean ups. Added WRONG_HIERARCHY return value.
8297
8298 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8299
8300         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8301           Better debug if no transform is possible.
8302
8303 2005-07-27  Wim Taymans  <wim@fluendo.com>
8304
8305         * docs/random/wtay/network-transp:
8306         Some old doc I had.
8307
8308 2005-07-27  Wim Taymans  <wim@fluendo.com>
8309
8310         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8311         (gst_dp_event_from_packet):
8312         Fix serialization of seek events.
8313
8314 2005-07-27  Wim Taymans  <wim@fluendo.com>
8315
8316         * check/gst-libs/gdp.c: (GST_START_TEST):
8317         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8318         Fix compilation and fix event serialization.
8319
8320 2005-07-27  Wim Taymans  <wim@fluendo.com>
8321
8322         * CHANGES-0.9:
8323         * docs/design/part-TODO.txt:
8324         * docs/design/part-events.txt:
8325         Some docs updates
8326
8327         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8328         (gst_base_sink_event), (gst_base_sink_do_sync),
8329         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8330         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8331         (gst_base_src_do_seek), (gst_base_src_event_handler),
8332         (gst_base_src_loop):
8333         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8334         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8335         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8336         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8337         (gst_base_transform_set_passthrough),
8338         (gst_base_transform_is_passthrough):
8339         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8340         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8341         Event updates.
8342
8343         * gst/gstbuffer.h:
8344         Use faster casts.
8345
8346         * gst/gstelement.c: (gst_element_seek):
8347         * gst/gstelement.h:
8348         Update gst_element_seek.
8349
8350         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8351         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8352         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8353         (gst_event_new_eos), (gst_event_new_newsegment),
8354         (gst_event_parse_newsegment), (gst_event_new_tag),
8355         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8356         (gst_event_parse_qos), (gst_event_new_seek),
8357         (gst_event_parse_seek), (gst_event_new_navigation):
8358         * gst/gstevent.h:
8359         Make GstEvent use GstStructure. Add parsing code, make sure the
8360         API is sufficiently generic.
8361         Mark possible directions of events and serialization.
8362
8363         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8364         (_gst_message_copy), (gst_message_new_segment_start),
8365         (gst_message_new_segment_done), (gst_message_new_custom),
8366         (gst_message_parse_segment_start),
8367         (gst_message_parse_segment_done):
8368         Small cleanups.
8369
8370         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8371         (gst_pad_set_caps), (gst_pad_send_event):
8372         Update for new events. 
8373         Catch events sent in wrong directions.
8374
8375         * gst/gstqueue.c: (gst_queue_link_src),
8376         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8377         (gst_queue_handle_src_query):
8378         Event updates.
8379
8380         * gst/gsttag.c:
8381         * gst/gsttag.h:
8382         Remove event code from this file.
8383
8384         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8385         (gst_dp_event_from_packet):
8386         Event updates.
8387
8388 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8389
8390         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8391         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8392         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8393           Make debugging actually useful.
8394
8395 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8396
8397         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8398         (gst_pad_fixate_caps):
8399           Implement default fixation once again, so that gst_pad_fixate()
8400           actually does anything at all. This probably needs to be some
8401           sort of a last resort, and use profile-based fixation first, but
8402           since that doesn't exist yet, this is the best we have. Fixes
8403           visualization in Totem.
8404
8405 2005-07-22  Wim Taymans  <wim@fluendo.com>
8406
8407         * docs/design/part-events.txt:
8408         Small update.
8409
8410         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8411         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8412         (gst_base_sink_activate_pull):
8413         Some more comments.
8414
8415         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8416         (gst_fake_src_create):
8417         Fix handoff marshall.
8418
8419         * gst/elements/gstidentity.c: (gst_identity_class_init),
8420         (gst_identity_transform_ip):
8421         We're a real inplace element.
8422
8423         * gst/gstbus.c: (gst_bus_post):
8424         Added some comments.
8425
8426         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8427         * tests/muxing/case1.c: (main):
8428         * tests/sched/dynamic-pipeline.c: (main):
8429         * tests/sched/interrupt1.c: (main):
8430         * tests/sched/interrupt2.c: (main):
8431         * tests/sched/interrupt3.c: (main):
8432         * tests/sched/runxml.c: (main):
8433         * tests/sched/sched-stress.c: (main):
8434         * tests/seeking/seeking1.c: (event_received), (main):
8435         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8436         (main):
8437         * tests/threadstate/threadstate3.c: (main):
8438         * tests/threadstate/threadstate4.c: (main):
8439         * tests/threadstate/threadstate5.c: (main):
8440         Fix the tests.
8441
8442 2005-07-21  Wim Taymans  <wim@fluendo.com>
8443
8444         * docs/design/part-seeking.txt:
8445         Some small additions.
8446
8447         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8448         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8449         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8450         * gst/base/gstbasesink.h:
8451         discont values are gint64, handle the math correctly.
8452
8453         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8454         Make the basesrc report error if the source pad is not linked.
8455
8456         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8457         (gst_queue_loop), (gst_queue_handle_src_query),
8458         (gst_queue_src_activate_push):
8459         Make queue collect data even if the srcpad is not linked.
8460         Start pushing out data as soon as it is linked.
8461
8462         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8463         * gst/gstutils.h:
8464         Added gst_flow_get_name() to ease error reporting.
8465
8466 2005-07-20  Wim Taymans  <wim@fluendo.com>
8467
8468         * gst/gstmessage.c: (gst_message_new_segment_start),
8469         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8470         (gst_message_parse_segment_done):
8471         * gst/gstmessage.h:
8472         Added a bunch of messages for advanced seeking.
8473
8474         * gst/parse/grammar.y:
8475         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8476         (gst_dpman_state_changed):
8477         Fix some new-pad -> pad-added signals
8478
8479 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8480
8481         * docs/manual/appendix-porting.xml:
8482         * docs/pwg/appendix-porting.xml:
8483           Document new-pad/state-change signal renames and the FixedList
8484           type rename.
8485
8486 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8487
8488         * docs/manual/advanced-autoplugging.xml:
8489         * docs/manual/basics-helloworld.xml:
8490         * docs/manual/basics-pads.xml:
8491         * docs/random/ds/0.9-suggested-changes:
8492         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8493         * gst/gstelement.h:
8494         * gst/gstevent.h:
8495         * gst/gstformat.h:
8496         * gst/gstquery.h:
8497         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8498         (gst_structure_parse_array), (gst_structure_parse_value):
8499         * gst/gstvalue.c: (gst_type_is_fixed),
8500         (gst_value_list_prepend_value), (gst_value_list_append_value),
8501         (gst_value_list_get_size), (gst_value_list_get_value),
8502         (gst_value_transform_array_string), (gst_value_serialize_array),
8503         (gst_value_deserialize_array), (gst_value_intersect_array),
8504         (gst_value_is_fixed), (_gst_value_initialize):
8505         * gst/gstvalue.h:
8506           GstElement::new-pad -> pad-added, GstElement::state-change ->
8507           state-changed, GstValueFixedList -> GstValueArray, add format and
8508           flags as their own arguments in gst_element_seek() (should improve
8509           "bindeability"), remove function generators since they don't work
8510           under a whole bunch of compilers (they were deprecated already
8511           anyway).
8512
8513 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8514
8515         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8516         (_gst_debug_register_funcptr):
8517         * gst/gstinfo.h:
8518           Fix illegal cast on some platforms (#309253).
8519
8520 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8521
8522         * gst/gstmessage.c: (gst_message_new_custom):
8523         * gst/gstmessage.h:
8524           Add _new_custom, make _new_application a macro to _new_custom.
8525
8526 2005-07-20  Wim Taymans  <wim@fluendo.com>
8527
8528         * gst/base/gstbasesrc.c: (gst_base_src_init),
8529         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8530         * gst/base/gstbasesrc.h:
8531         Add a gboolean to decide when to push out a discont.
8532
8533         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8534         (gst_queue_loop), (gst_queue_handle_src_query),
8535         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8536         (gst_queue_set_property), (gst_queue_get_property):
8537         Some cleanups.
8538
8539         * tests/threadstate/threadstate1.c: (main):
8540         Make a thread test compile and run... very silly..
8541
8542
8543 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8544
8545         * docs/manual/appendix-porting.xml:
8546           Mention removal of libgstgconf-0.9.la and existence of gconf
8547           elements.
8548
8549 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8550
8551         * docs/pwg/advanced-clock.xml:
8552         * docs/pwg/appendix-porting.xml:
8553         * docs/pwg/intro-preface.xml:
8554         * docs/pwg/other-base.xml:
8555         * docs/pwg/other-manager.xml:
8556         * docs/pwg/other-nton.xml:
8557         * docs/pwg/other-ntoone.xml:
8558         * docs/pwg/other-oneton.xml:
8559         * docs/pwg/pwg.xml:
8560           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8561           demuxer), remove n-to-n (was never written), fix some code examples
8562           and links and update the porting section to include all this.
8563
8564 2005-07-19  Wim Taymans  <wim@fluendo.com>
8565
8566         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8567         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8568         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8569         (gst_queue_src_activate_push), (gst_queue_change_state),
8570         (gst_queue_get_property):
8571         * gst/gstqueue.h:
8572         Propagate GstFlowReturn more intelligently upstream and output
8573         an ERROR/EOS when streaming stopped due to fatal error.
8574
8575 2005-07-19  Wim Taymans  <wim@fluendo.com>
8576
8577         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8578         Don't block forever for the state change to complete, the
8579         pipeline already did with a sensible timeout.
8580
8581 2005-07-19  Wim Taymans  <wim@fluendo.com>
8582
8583         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8584         Make sure we never call the create function is we
8585         got deactivated.
8586
8587 2005-07-19  Andy Wingo  <wingo@pobox.com>
8588
8589         * gst/parse/parse.l: Attempt to solve bug #172815.
8590
8591 2005-07-19  Wim Taymans  <wim@fluendo.com>
8592
8593         * docs/design/part-clocks.txt:
8594         * docs/design/part-events.txt:
8595         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8596         Small docs updates.
8597         Only update the seeking values when we are not
8598         busy streaming.
8599
8600 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8601
8602         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8603           Oops, ignore the result of gst_pad_push_event here.
8604
8605 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8606
8607         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8608         (gst_base_src_activate_push):
8609           Send discont event from the loop function, as pads
8610           aren't activated yet in the activate_push handler.
8611
8612         * gst/gstbin.c: (bin_bus_handler):
8613           Don't leak element name.
8614
8615 2005-07-18  Andy Wingo  <wingo@pobox.com>
8616
8617         * configure.ac: Use AS_LIBTOOL_TAGS.
8618
8619 2005-07-18  Wim Taymans  <wim@fluendo.com>
8620
8621         * docs/gst/gstreamer.types:
8622         Remove deleted types.
8623
8624 2005-07-18  Wim Taymans  <wim@fluendo.com>
8625
8626         * check/elements/gstfakesrc.c: (GST_START_TEST):
8627         * configure.ac:
8628         * gst/Makefile.am:
8629         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8630         (init_popt_callback):
8631         * gst/gst.h:
8632         * gst/gst_private.h:
8633         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8634         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8635         * gst/gstbin.h:
8636         * gst/gstbus.h:
8637         * gst/gstconfig.h.in:
8638         * gst/gstelement.c: (gst_element_class_init),
8639         (gst_element_set_base_time), (gst_element_get_base_time),
8640         (iterator_fold_with_resync), (gst_element_change_state),
8641         (gst_element_dispose), (gst_element_get_bus):
8642         * gst/gstelement.h:
8643         * gst/gstelementfactory.h:
8644         * gst/gsterror.c: (_gst_core_errors_init):
8645         * gst/gsterror.h:
8646         * gst/gstevent.h:
8647         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8648         * gst/gstindex.c:
8649         * gst/gstinfo.c: (_gst_debug_init):
8650         * gst/gstmessage.c: (_gst_message_copy):
8651         * gst/gstmessage.h:
8652         * gst/gstminiobject.h:
8653         * gst/gstobject.c:
8654         * gst/gstobject.h:
8655         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8656         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8657         * gst/gstpad.h:
8658         * gst/gstparse.h:
8659         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8660         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8661         (gst_pipeline_get_last_stream_time):
8662         * gst/gstpipeline.h:
8663         * gst/gstpluginfeature.h:
8664         * gst/gstquery.h:
8665         * gst/gstscheduler.c:
8666         * gst/gstscheduler.h:
8667         * gst/gststructure.h:
8668         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8669         (gst_task_finalize), (gst_task_func), (gst_task_create),
8670         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8671         (gst_task_stop), (gst_task_pause):
8672         * gst/gsttask.h:
8673         * gst/gsttypefind.h:
8674         * gst/gsttypes.h:
8675         * gst/registries/gstlibxmlregistry.c: (load_feature),
8676         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8677         * gst/registries/gstxmlregistry.c:
8678         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8679         * gst/schedulers/threadscheduler.c:
8680         * libs/gst/control/dparammanager.h:
8681         * tools/gst-inspect.c: (print_element_list),
8682         (print_plugin_features), (print_element_features):
8683         * tools/gst-xmlinspect.c: (print_element_list),
8684         (print_plugin_info), (main):
8685         Removed plugable schedulers.
8686         Removed Scheduler/Manager from elements.
8687         Removed gsttypes.h, rearranged includes.
8688         Removed dependency pad<->element, element<>pipeline, and
8689         various others,  fix includes.
8690         implement gst_pad_get_parent() with gst_object_get_parent()
8691         Make GstTask sefcontained.
8692         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8693         timeout.
8694         Fix endless loop in iterator_fold_with_resync.
8695
8696
8697 2005-07-18  Wim Taymans  <wim@fluendo.com>
8698
8699         * gst/Makefile.am:
8700         * gst/gstarch.h:
8701         Remove old file.
8702
8703 2005-07-18  Wim Taymans  <wim@fluendo.com>
8704
8705         * gst/Makefile.am:
8706         No more cothreads.h
8707
8708 2005-07-18  Wim Taymans  <wim@fluendo.com>
8709
8710         * gst/cothreads.c:
8711         * gst/cothreads.h:
8712         Let's remove these.
8713
8714 2005-07-18  Wim Taymans  <wim@fluendo.com>
8715
8716         * docs/design/part-dynamic.txt:
8717         * docs/design/part-events.txt:
8718         * docs/design/part-seeking.txt:
8719         Some more docs in the works.
8720
8721         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8722         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8723         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8724         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8725         (gst_base_transform_handle_buffer),
8726         (gst_base_transform_sink_activate_push),
8727         (gst_base_transform_src_activate_pull),
8728         (gst_base_transform_set_passthrough),
8729         (gst_base_transform_is_passthrough):
8730         Refcounting fixes.
8731
8732         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8733         Cleanups.
8734
8735         * gst/gstevent.c: (gst_event_finalize):
8736         Set SRC to NULL.
8737
8738         * gst/gstutils.c: (gst_element_unlink),
8739         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8740         (gst_pad_proxy_setcaps):
8741         * gst/gstutils.h:
8742         Add _get_parent_element() to get a pads parent as an element.
8743
8744 2005-07-18  Wim Taymans  <wim@fluendo.com>
8745
8746         * check/gst/gstbin.c: (GST_START_TEST):
8747         Remove bogus test.
8748
8749 2005-07-18  Wim Taymans  <wim@fluendo.com>
8750
8751         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8752         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8753         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8754         (gst_base_sink_event), (gst_base_sink_do_sync),
8755         (gst_base_sink_chain), (gst_base_sink_loop),
8756         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8757         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8758         Refcounting fixes.
8759         Fix logic for returning ASYNC when not prerolled.
8760
8761 2005-07-18  Wim Taymans  <wim@fluendo.com>
8762
8763         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8764         Fix nasty refcount bug.
8765
8766 2005-07-16 Philippe Khalaf <burger@speedy.org>
8767
8768         * gst/elements/gstfdsrc.c:
8769         * gst/elements/gstfdsrc.h:
8770         * gst/elements/gstelements.c:
8771         * gst/elements/Makefile.am:
8772         Ported fdsrc to 0.9.
8773
8774 2005-07-16  Wim Taymans  <wim@fluendo.com>
8775
8776         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8777         (gst_base_sink_do_sync):
8778         Fix compile error.
8779
8780 2005-07-16  Wim Taymans  <wim@fluendo.com>
8781
8782         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8783         (gst_base_sink_event), (gst_base_sink_get_times),
8784         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8785         * gst/base/gstbasesink.h:
8786         Store and use discont values when syncing buffers as described
8787         in design docs.
8788         
8789         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8790         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8791         (gst_base_src_activate_push):
8792         Push discont event when starting.
8793
8794         * gst/elements/gstidentity.c: (gst_identity_transform):
8795         Small cleanups.
8796
8797         * gst/gstbin.c: (gst_bin_change_state):
8798         Small cleanups in base_time  distribution.
8799
8800         * gst/gstelement.c: (gst_element_set_base_time),
8801         (gst_element_get_base_time), (gst_element_change_state):
8802         * gst/gstelement.h:
8803         Added methods for the base_time of the element.
8804         Some MT fixes.
8805
8806         * gst/gstpipeline.c: (gst_pipeline_send_event),
8807         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8808         (gst_pipeline_get_last_stream_time):
8809         * gst/gstpipeline.h:
8810         MT fixes.
8811         Handle seeking as described in design doc, remove stream_time
8812         hack.
8813         Cleanups clock and stream_time selection code. Added accessors
8814         for the stream_time.
8815         
8816
8817 2005-07-16  Andy Wingo  <wingo@pobox.com>
8818
8819         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8820         (#305291).
8821
8822 2005-07-16  Wim Taymans  <wim@fluendo.com>
8823
8824         * check/gst/gstbin.c: (GST_START_TEST):
8825         Make elements silent as the deep_notify refs the
8826         parent, which might make the test fail.
8827
8828         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8829         Don't hold the lock for too long.
8830
8831 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8832
8833         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8834           Don't unref the caps we passed to gst_caps_make_writable() after
8835           passing them. gst_caps_make_writable() will do that for us.
8836
8837 2005-07-15  Andy Wingo  <wingo@pobox.com>
8838
8839         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8840         (#157311).
8841
8842         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8843         own marshalling function for the handoff signal. Properly type the
8844         buffer as a buffer. Fixes some warnings. Should do a more general
8845         solution.
8846         (gst_identity_class_init): Plug into the right marshaller.
8847
8848 2005-07-15  Wim Taymans  <wim@fluendo.com>
8849
8850         * docs/design/part-TODO.txt:
8851         * docs/design/part-clocks.txt:
8852         * docs/design/part-element-sink.txt:
8853         * docs/design/part-events.txt:
8854         * docs/design/part-gstpipeline.txt:
8855         Updated docs, mostly DISCONT related.
8856
8857 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8858
8859         * docs/pwg/building-pads.xml:
8860           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8861
8862 2005-07-15  Andy Wingo  <wingo@pobox.com>
8863
8864         * tools/gst-typefind.c: Update, add copyright block.
8865
8866         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8867         Normalize and truncate caps before fixation.
8868
8869         * gst/gstcaps.h:
8870         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8871         discards all but the first structure from its argument.
8872
8873 2005-07-15  Wim Taymans  <wim@fluendo.com>
8874
8875         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8876         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8877         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8878         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8879         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8880         (gst_base_transform_chain), (gst_base_transform_change_state),
8881         (gst_base_transform_set_passthrough),
8882         (gst_base_transform_is_passthrough):
8883         * gst/base/gstbasetransform.h:
8884         Make passthrough work using the bufferpools.
8885         Changed API a bit, subclasses have to write into a buffer
8886         provided by the base class.
8887         More debug info in nego functions.
8888         
8889         * gst/elements/gstidentity.c: (gst_identity_init),
8890         (gst_identity_transform):
8891         Port to new base class.
8892
8893 2005-07-15  Wim Taymans  <wim@fluendo.com>
8894
8895         * gst/gstmessage.c: (gst_message_new_state_changed):
8896         * tools/gst-launch.c: (event_loop), (main):
8897         Totally dump messages in -launch with the -m option.
8898         Fix message name for State messages,
8899
8900 2005-07-14  Wim Taymans  <wim@fluendo.com>
8901
8902         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8903         Post error messages on errors.
8904
8905 2005-07-14  Wim Taymans  <wim@fluendo.com>
8906
8907         * gst/gstcaps.c: (gst_caps_do_simplify):
8908         Remove debug info.
8909
8910         * gst/gsterror.h:
8911         Define error for stream stopped.
8912
8913         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8914         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8915         Do proper return values.
8916
8917         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8918         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8919         (gst_pad_get_range):
8920         Better return values.
8921
8922         * gst/gstpad.h:
8923         Reorganise return values, add macro to check for fatal errors.
8924
8925         * gst/gstqueue.c: (gst_queue_chain):
8926         Return proper GstFlowReturn values,
8927
8928 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8929
8930         * docs/gst/gstreamer-sections.txt:
8931         * docs/gst/gstreamer.types:
8932         * docs/gst/tmpl/gst.sgml:
8933         * docs/gst/tmpl/gstbasesink.sgml:
8934         * docs/gst/tmpl/gstbasesrc.sgml:
8935         * docs/gst/tmpl/gstbasetransform.sgml:
8936         * docs/gst/tmpl/gstbin.sgml:
8937         * docs/gst/tmpl/gstbuffer.sgml:
8938         * docs/gst/tmpl/gstcaps.sgml:
8939         * docs/gst/tmpl/gstclock.sgml:
8940         * docs/gst/tmpl/gstcompat.sgml:
8941         * docs/gst/tmpl/gstconfig.sgml:
8942         * docs/gst/tmpl/gstelement.sgml:
8943         * docs/gst/tmpl/gstelementdetails.sgml:
8944         * docs/gst/tmpl/gstelementfactory.sgml:
8945         * docs/gst/tmpl/gstenumtypes.sgml:
8946         * docs/gst/tmpl/gsterror.sgml:
8947         * docs/gst/tmpl/gstevent.sgml:
8948         * docs/gst/tmpl/gstfakesink.sgml:
8949         * docs/gst/tmpl/gstfakesrc.sgml:
8950         * docs/gst/tmpl/gstfilesink.sgml:
8951         * docs/gst/tmpl/gstfilesrc.sgml:
8952         * docs/gst/tmpl/gstfilter.sgml:
8953         * docs/gst/tmpl/gstformat.sgml:
8954         * docs/gst/tmpl/gstghostpad.sgml:
8955         * docs/gst/tmpl/gstimplementsinterface.sgml:
8956         * docs/gst/tmpl/gstindex.sgml:
8957         * docs/gst/tmpl/gstindexfactory.sgml:
8958         * docs/gst/tmpl/gstinfo.sgml:
8959         * docs/gst/tmpl/gstiterator.sgml:
8960         * docs/gst/tmpl/gstmacros.sgml:
8961         * docs/gst/tmpl/gstmemchunk.sgml:
8962         * docs/gst/tmpl/gstminiobject.sgml:
8963         * docs/gst/tmpl/gstobject.sgml:
8964         * docs/gst/tmpl/gstpad.sgml:
8965         * docs/gst/tmpl/gstpadtemplate.sgml:
8966         * docs/gst/tmpl/gstparse.sgml:
8967         * docs/gst/tmpl/gstpipeline.sgml:
8968         * docs/gst/tmpl/gstplugin.sgml:
8969         * docs/gst/tmpl/gstpluginfeature.sgml:
8970         * docs/gst/tmpl/gstquery.sgml:
8971         * docs/gst/tmpl/gstqueue.sgml:
8972         * docs/gst/tmpl/gstregistry.sgml:
8973         * docs/gst/tmpl/gstregistrypool.sgml:
8974         * docs/gst/tmpl/gstscheduler.sgml:
8975         * docs/gst/tmpl/gstschedulerfactory.sgml:
8976         * docs/gst/tmpl/gststructure.sgml:
8977         * docs/gst/tmpl/gstsystemclock.sgml:
8978         * docs/gst/tmpl/gsttaglist.sgml:
8979         * docs/gst/tmpl/gsttagsetter.sgml:
8980         * docs/gst/tmpl/gsttrace.sgml:
8981         * docs/gst/tmpl/gsttrashstack.sgml:
8982         * docs/gst/tmpl/gsttypefind.sgml:
8983         * docs/gst/tmpl/gsttypefindfactory.sgml:
8984         * docs/gst/tmpl/gsttypes.sgml:
8985         * docs/gst/tmpl/gsturihandler.sgml:
8986         * docs/gst/tmpl/gsturitype.sgml:
8987         * docs/gst/tmpl/gstutils.sgml:
8988         * docs/gst/tmpl/gstvalue.sgml:
8989         * docs/gst/tmpl/gstversion.sgml:
8990         * docs/gst/tmpl/gstxml.sgml:
8991         * docs/libs/tmpl/gstcontrol.sgml:
8992         * docs/libs/tmpl/gstdataprotocol.sgml:
8993         * docs/libs/tmpl/gstdparam.sgml:
8994         * docs/libs/tmpl/gstdplinint.sgml:
8995         * docs/libs/tmpl/gstdpman.sgml:
8996         * docs/libs/tmpl/gstdpsmooth.sgml:
8997         * docs/libs/tmpl/gstgetbits.sgml:
8998         * docs/libs/tmpl/gstunitconvert.sgml:
8999         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9000         (gst_push_src_base_init), (gst_push_src_class_init),
9001         (gst_push_src_init), (gst_push_src_create):
9002         * gst/base/gstpushsrc.h:
9003         * gst/elements/gstelements.c:
9004         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9005         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9006         (gst_fake_sink_init), (gst_fake_sink_set_property),
9007         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9008         (gst_fake_sink_event), (gst_fake_sink_preroll),
9009         (gst_fake_sink_render), (gst_fake_sink_change_state):
9010         * gst/elements/gstfakesink.h:
9011         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9012         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9013         (gst_fake_src_base_init), (gst_fake_src_class_init),
9014         (gst_fake_src_init), (gst_fake_src_event_handler),
9015         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9016         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9017         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9018         (gst_fake_src_create_buffer), (gst_fake_src_create),
9019         (gst_fake_src_start), (gst_fake_src_stop):
9020         * gst/elements/gstfakesrc.h:
9021         * gst/elements/gstfilesink.c: (_do_init),
9022         (gst_file_sink_base_init), (gst_file_sink_class_init),
9023         (gst_file_sink_init), (gst_file_sink_dispose),
9024         (gst_file_sink_set_location), (gst_file_sink_set_property),
9025         (gst_file_sink_get_property), (gst_file_sink_open_file),
9026         (gst_file_sink_close_file), (gst_file_sink_query),
9027         (gst_file_sink_event), (gst_file_sink_render),
9028         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9029         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9030         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9031         * gst/elements/gstfilesink.h:
9032         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9033         (gst_file_src_class_init), (gst_file_src_init),
9034         (gst_file_src_finalize), (gst_file_src_set_location),
9035         (gst_file_src_set_property), (gst_file_src_get_property),
9036         (gst_file_src_map_region), (gst_file_src_map_small_region),
9037         (gst_file_src_create_mmap), (gst_file_src_create_read),
9038         (gst_file_src_create), (gst_file_src_is_seekable),
9039         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9040         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9041         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9042         (gst_file_src_uri_handler_init):
9043         * gst/elements/gstfilesrc.h:
9044           more autistic cleanliness in functions/names/defines
9045
9046 2005-07-13  Andy Wingo  <wingo@pobox.com>
9047
9048         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9049         source couldn't negotiate.
9050
9051         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9052         connections again.
9053
9054         * gst/gstutils.h:
9055         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9056         function. I am channeling Hades. Put your boots on suckers!!!
9057
9058 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9059
9060         * testsuite/caps/Makefile.am:
9061         * testsuite/caps/value_compare.c:
9062         * testsuite/caps/value_intersect.c:
9063         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9064           move two testsuite apps over to the check dir
9065
9066 2005-07-12  Wim Taymans  <wim@fluendo.com>
9067
9068         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9069         Added more debug info in the negotiate process.
9070
9071         * gst/gstmessage.h:
9072         Prepare for segment playback.
9073
9074         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9075         Better debugging.
9076
9077         * gst/gstutils.c:
9078         Some more docs.
9079
9080         * tools/gst-launch.c: (main):
9081         NULL pipeline on errors.
9082
9083 2005-07-12  Andy Wingo  <wingo@pobox.com>
9084
9085         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9086         not it comes from a malloc region. Make sure our copy gets freed.
9087
9088 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9089
9090         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9091         * check/gst/gstmessage.c: (GST_START_TEST):
9092         * check/gst/gststructure.c: (GST_START_TEST),
9093         (gst_structure_suite), (main):
9094           more testing
9095         * gst/gstelement.c: (gst_element_message_full):
9096           clean up GError and debug string now that they get copied
9097         * gst/gstmessage.c: (gst_message_new_error),
9098         (gst_message_new_warning), (gst_message_parse_error),
9099         (gst_message_parse_warning):
9100           use GST_TYPE_G_ERROR for structure_new, and take copies of
9101           arguments, so that we don't mess up refcounting
9102
9103 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9104
9105         * check/Makefile.am:
9106           add per-test valgrind targets
9107         * check/gst-libs/gdp.c: (GST_START_TEST),
9108         (gst_data_protocol_suite), (main):
9109           clean up
9110
9111 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9112
9113         * check/Makefile.am:
9114           instate more valgrindable tests
9115         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9116         (GST_START_TEST), (fakesrc_suite):
9117         * check/gst/gstpad.c: (GST_START_TEST):
9118         * check/gst/gststructure.c: (GST_START_TEST):
9119           fix test leaks
9120         * docs/gst/tmpl/gstminiobject.sgml:
9121         * gst/gstpad.c: (gst_pad_finalize):
9122           fix the static mutex leak
9123
9124 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9125
9126         * check/Makefile.am:
9127           add two more tests for valgrinding
9128         * check/gst/gstvalue.c: (GST_START_TEST):
9129           test refcount of deserialized buffer, found a leak
9130         * docs/gst/gstreamer-docs.sgml:
9131         * docs/gst/gstreamer-sections.txt:
9132         * docs/gst/gstreamer.types:
9133         * docs/gst/tmpl/gstminiobject.sgml:
9134           add miniobject to docs
9135         * gst/gstminiobject.c:
9136           add some docs
9137         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9138         (gst_string_unwrap):
9139           fix a hard-to-find invalid write for one of the tests
9140           fix a leak for deserialized buffers
9141
9142 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9143
9144         * docs/pwg/advanced-events.xml:
9145         * docs/pwg/advanced-request.xml:
9146         * docs/pwg/advanced-scheduling.xml:
9147         * docs/pwg/appendix-porting.xml:
9148         * docs/pwg/building-boiler.xml:
9149         * docs/pwg/intro-preface.xml:
9150         * docs/pwg/other-ntoone.xml:
9151           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9152           of example code and explanation for pad activation, loop() and
9153           getrange() functions and a bit more. Remove old comments pointing
9154           to loop-functions.
9155         * examples/pwg/Makefile.am:
9156           Add loop/getrange examples.
9157
9158 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9159
9160         * configure.ac:
9161           check for valgrind binary + some fixes
9162         * check/gst.supp:
9163           valgrind suppressions for the tests
9164         * check/Makefile.am:
9165           add a valgrind: target that valgrinds the unit tests
9166         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9167         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9168         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9169         * check/gst/gstghostpad.c:
9170           added some cleanup
9171         * check/gst/gstdata.c:
9172           removed
9173         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9174         (thread_unref), (gst_mini_object_suite), (main):
9175           added
9176         * gst/gst.c: (gst_deinit):
9177         * gst/gst.h:
9178           add a method to clean up.
9179         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9180         (gst_system_clock_obtain):
9181           allow for disposing the system clock.
9182         * tools/gst-launch.c: (main):
9183           deinit
9184
9185 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9186
9187         * docs/gst/tmpl/gstbasesrc.sgml:
9188         * docs/gst/tmpl/gstfakesrc.sgml:
9189         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9190         (gst_base_src_init), (gst_base_src_set_property),
9191         (gst_base_src_get_property), (gst_base_src_get_range),
9192         (gst_base_src_start):
9193         * gst/base/gstbasesrc.h:
9194           add num-buffers property
9195         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9196         (gst_fakesrc_init), (gst_fakesrc_set_property),
9197         (gst_fakesrc_get_property), (gst_fakesrc_create),
9198         (gst_fakesrc_start):
9199           remove num-buffers property
9200
9201 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9202
9203         * docs/gst/gstreamer-sections.txt:
9204         * docs/gst/tmpl/gstbasesink.sgml:
9205         * docs/gst/tmpl/gstbasesrc.sgml:
9206         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9207         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9208         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9209         (gst_base_sink_set_property), (gst_base_sink_get_property),
9210         (gst_base_sink_handle_object), (gst_base_sink_event),
9211         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9212         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9213         (gst_base_sink_loop), (gst_base_sink_deactivate),
9214         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9215         (gst_base_sink_change_state):
9216         * gst/base/gstbasesink.h:
9217         * gst/base/gstbasesrc.h:
9218         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9219         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9220         (gst_filesink_init):
9221           more macro splitting
9222
9223 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9224
9225         * gst/gstelement.c: (gst_element_get_bus):
9226           add debug
9227         * tools/gst-launch.c: (check_intr), (event_loop):
9228           fix bus leaks
9229
9230 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9231
9232         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9233           fix a caps leak
9234
9235 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9236
9237         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9238         (gst_base_src_finalize):
9239           add finalize method and clean up properly
9240         * gst/gstpipeline.c: (gst_pipeline_dispose):
9241           add debug
9242
9243 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9244
9245         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9246         (gst_bin_suite):
9247           add more things to check
9248         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9249         * gst/gstelement.c:
9250           more debug
9251
9252 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9253
9254         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9255         (GST_START_TEST), (fakesrc_suite):
9256         * check/gst-libs/gdp.c: (GST_START_TEST):
9257         * check/gst/gst.c: (GST_START_TEST):
9258         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9259         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9260         * check/gst/gstbus.c: (GST_START_TEST):
9261         * check/gst/gstcaps.c: (GST_START_TEST):
9262         * check/gst/gstdata.c: (GST_START_TEST):
9263         * check/gst/gstelement.c: (GST_START_TEST):
9264         * check/gst/gstghostpad.c: (GST_START_TEST):
9265         * check/gst/gstiterator.c: (GST_START_TEST):
9266         * check/gst/gstmessage.c: (GST_START_TEST):
9267         * check/gst/gstobject.c: (GST_START_TEST):
9268         * check/gst/gstpad.c: (GST_START_TEST):
9269         * check/gst/gststructure.c: (GST_START_TEST):
9270         * check/gst/gstsystemclock.c: (GST_START_TEST),
9271         (gst_systemclock_suite):
9272         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9273         * check/gst/gstvalue.c: (GST_START_TEST):
9274         * check/pipelines/cleanup.c: (GST_START_TEST):
9275         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9276         * check/states/sinks.c: (GST_START_TEST):
9277         * check/gstcheck.c: (gst_check_init):
9278         * check/gstcheck.h:
9279           add debugging category
9280           use GST_START_TEST now, so we add a debug line
9281
9282 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9283
9284         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9285           add test for state change message on a bin
9286         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9287           add another test
9288         * gst/gstbin.c: (gst_bin_init):
9289         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9290         * gst/gstelement.c: (gst_element_post_message),
9291         (gst_element_set_state):
9292         * gst/gstelementfactory.c: (gst_element_factory_create):
9293         * gst/gstmessage.c: (gst_message_new):
9294         * gst/gstscheduler.c:
9295           various debugging additions and cleanups
9296
9297 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9298
9299         * check/Makefile.am:
9300         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9301         (main):
9302           adding tests for elements
9303         * gst/gstelement.c: (gst_element_dispose):
9304
9305 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9306
9307         * gst/registries/gstlibxmlregistry.c: (load_feature):
9308           plug more leaks.  A simple gst_init() now is leakfree, yay.
9309
9310 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9311
9312         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9313         (gst_xml_registry_load):
9314           plug another memleak
9315
9316 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9317
9318         * configure.ac:
9319           use GST_SET_ERROR_CFLAGS
9320         * docs/faq/cvs.xml:
9321           change to ERROR_CFLAGS
9322
9323 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9324
9325         * configure.ac:
9326           make GST_ERROR_CFLAGS overridable and re-enable Werror
9327         * docs/faq/cvs.xml:
9328           add a note about error CFLAGS
9329         * docs/gst/tmpl/gstfakesrc.sgml:
9330         * gst/elements/gstfakesrc.c:
9331           comment out some unused code
9332         * gst/gst.c: (split_and_iterate):
9333         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9334         (load_feature):
9335           plug some memleaks
9336
9337 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9338
9339         * common/Makefile.am:
9340         * common/gtk-doc.mak:
9341         * docs/gst/Makefile.am:
9342           factor out gtk-doc.mak
9343
9344 2005-07-07  Wim Taymans  <wim@fluendo.com>
9345
9346         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9347         (gst_thread_scheduler_dispose):
9348         Unlock the STREAM_LOCK completely.
9349
9350 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9351
9352         * check/Makefile.am:
9353         * check/elements/.cvsignore:
9354         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9355         (START_TEST), (fakesrc_suite), (main):
9356         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9357         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9358         (gst_fakesrc_create), (gst_fakesrc_start):
9359         * gst/elements/gstfakesrc.h:
9360           adding a first element test
9361
9362 2005-07-07  Andy Wingo  <wingo@pobox.com>
9363
9364         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9365         debug message.
9366
9367 2005-07-07  Wim Taymans  <wim@fluendo.com>
9368
9369         * gst/gstquery.c:
9370         * gst/gstquery.h:
9371         Remove old types
9372
9373 2005-07-07  Wim Taymans  <wim@fluendo.com>
9374
9375         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9376         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9377         Allow subclasses to implement their own negotiation.
9378
9379 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9380
9381         * docs/design/part-gstbin.txt:
9382         * docs/design/part-gstpipeline.txt:
9383           Update design notes to reflect the movement of
9384           responsibility for bus handling from GstPipeline to
9385           GstBin
9386
9387 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9388
9389         * configure.ac:
9390           Remove unnecessary queue2/3/4 examples.
9391
9392 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9393
9394         * examples/Makefile.am:
9395         * examples/helloworld/helloworld.c: (event_loop), (main):
9396         * examples/queue/queue.c: (event_loop), (main):
9397         * examples/queue2/queue2.c: (main):
9398           Update a couple of the examples to work again.
9399
9400         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9401         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9402          Spelling corrections and extra debug.
9403         
9404         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9405         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9406         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9407         * gst/gstbin.h:
9408         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9409         (gst_pipeline_change_state):
9410         * gst/gstpipeline.h:
9411           Move the bus handler for children to the GstBin, and create a
9412           separate bus for receiving messages from children to the one the
9413           bus sends 'upwards' on.
9414
9415 2005-07-06  Wim Taymans  <wim@fluendo.com>
9416
9417         * gst/base/README:
9418         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9419         (gst_base_sink_handle_object), (gst_base_sink_loop),
9420         (gst_base_sink_change_state):
9421         * gst/base/gstbasesink.h:
9422         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9423         (gst_base_src_init), (gst_base_src_setcaps),
9424         (gst_base_src_getcaps), (gst_base_src_loop),
9425         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9426         (gst_base_src_start), (gst_base_src_change_state):
9427         * gst/base/gstbasesrc.h:
9428         Make basesrc negotiate.
9429         Handle the case where preroll fails in basesink.
9430         Update README.
9431
9432 2005-07-06  Wim Taymans  <wim@fluendo.com>
9433
9434         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9435         Implement the fixate function.
9436         Clean up acceptcaps.
9437
9438 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9439
9440         * docs/pwg/building-filterfactory.xml:
9441         * docs/pwg/pwg.xml:
9442           Remove never-written filter-factory chapter; I'll add the various
9443           base classes to part 4 ("other element types") later on.
9444
9445 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9446
9447         * docs/pwg/advanced-negotiation.xml:
9448         * docs/pwg/building-boiler.xml:
9449         * docs/pwg/building-pads.xml:
9450         * docs/pwg/pwg.xml:
9451         * examples/pwg/Makefile.am:
9452           Add a chapter on caps negotiation, simplify the original code
9453           samples a bit w.r.t. caps negotiation, add link to the advanced
9454           section. Add a bunch of examples showing different use cases of
9455           different types of caps negotiation. Upstream renegotiation isn't
9456           fully documented yet since nobody knows how that works.
9457
9458 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9459
9460         * check/gst/gstpad.c:
9461         * check/gstcheck.c:
9462         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9463           if pad has no parent, return NULL as list of internal links
9464
9465 2005-07-05  Andy Wingo  <wingo@pobox.com>
9466
9467         * gst/elements/gstfilesrc.c:
9468         * gst/elements/gstfakesrc.c: 
9469         * gst/base/gstpushsrc.c:
9470         * gst/base/gstbasesrc.h: 
9471         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9472         
9473 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9474
9475         * Makefile.am:
9476           better report generation target (lcov needs a patch)
9477
9478 2005-07-05  Andy Wingo  <wingo@pobox.com>
9479
9480         * gst/elements, testsuite: Null if we got it...
9481
9482 2005-07-05  Wim Taymans  <wim@fluendo.com>
9483
9484         * configure.ac:
9485         * libs/gst/dataprotocol/Makefile.am:
9486         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9487         * libs/gst/dataprotocol/dataprotocol.h:
9488         * pkgconfig/Makefile.am:
9489         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9490         * pkgconfig/gstreamer-dataprotocol.pc.in:
9491         Ported dataprotol to 0.9. 
9492         Added pkgconfig files.
9493
9494 2005-07-05  Andy Wingo  <wingo@pobox.com>
9495
9496         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9497         Default to returning TRUE for the case when tranform_caps returns
9498         a fixed caps, like for identity or volume.
9499
9500         * check/gst/gstbus.c (pound_bus_with_messages): 
9501         * check/gst/gstmessage.c (START_TEST): 
9502         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9503         message API change.
9504
9505         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9506         logic weaks here: always run transform_caps, trying passthrough
9507         operation only if the original caps intersects with the transform.
9508
9509         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9510         source and sink caps.
9511
9512         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9513         Intersect the peer caps with the pad template before going into
9514         transform_caps.
9515         (gst_base_transform_transform_caps): More debugging.
9516
9517         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9518         src argument.
9519
9520 2005-07-04  Edward Hervey  <edward@fluendo.com>
9521
9522         * gst/gstutils.c:
9523         * gst/gstutils.h:
9524         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9525         in bindings.
9526
9527 2005-07-04  Andy Wingo  <wingo@pobox.com>
9528
9529         * check/gst/gstpad.c: Only set explicit caps on pads.
9530
9531 2005-07-01  Andy Wingo  <wingo@pobox.com>
9532
9533         * tests/network-clock.scm: Commentary update.
9534
9535         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9536         Didn't really make sense, not implementable with basetransform,
9537         etc.
9538         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9539         attempt at implementing the sync property, needs an unlock method.
9540
9541         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9542         New func, by default returns the same caps (the identity
9543         transformation).
9544         (gst_base_transform_getcaps): Uses transform_caps to return
9545         something sensible.
9546         (gst_base_transform_setcaps): Complicated logic to get caps on
9547         both pads, even if they are different, and to call set_caps once
9548         for every time both pads get their caps set.
9549         (gst_base_transform_handle_buffer): Give the ref to the transform
9550         function. Allows in-place modification of the buffer.
9551
9552         * gst/base/gstbasetransform.h (transform_caps): New class method.
9553         Given caps on one side, what can I do on the other.
9554         (set_caps): Take two caps, one for each side of the element.
9555
9556         * gst/gstpad.h:
9557         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9558         caps in place. This is safe because we can check the mutability of
9559         the caps, and a good idea because fixate functions are just called
9560         as a matter of last resort. (Not actually implemented.)
9561         (gst_pad_set_caps): If the caps we're setting is actually the same
9562         as the existing pad caps, just update the pointer without calling
9563         setcaps. Assert that caps is either NULL or fixed, as per the
9564         docs.
9565
9566         * gst/gstghostpad.c: Update for fixate changes.
9567
9568 2005-07-02  Andy Wingo  <wingo@pobox.com>
9569
9570         * gst/gstcaps.c:
9571         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9572         two refcounts makes it immutable, which is enough. Doc more.
9573
9574 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9575
9576         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9577           Put the mini_object into GValue as a mini_object,
9578           not a gpointer, since that's how we declared
9579           the signal.
9580
9581 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9582
9583         * examples/pwg/Makefile.am:
9584           Fix buildbot again.
9585
9586 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9587
9588         * docs/pwg/building-testapp.xml:
9589           Add extra check.
9590         * examples/pwg/Makefile.am:
9591           Fix buildbot.
9592
9593 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9594
9595         * configure.ac:
9596         * examples/Makefile.am:
9597         * examples/pwg/Makefile.am:
9598         * examples/pwg/extract.pl:
9599           Enable building the PWG examples.
9600         * docs/pwg/advanced-interfaces.xml:
9601           Add URI interface stub.
9602         * docs/pwg/advanced-types.xml:
9603         * docs/pwg/other-autoplugger.xml:
9604         * docs/pwg/appendix-porting.xml:
9605         * docs/pwg/pwg.xml:
9606           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9607         * docs/pwg/building-boiler.xml:
9608         * docs/pwg/building-chainfn.xml:
9609         * docs/pwg/building-pads.xml:
9610         * docs/pwg/building-props.xml:
9611         * docs/pwg/building-state.xml:
9612         * docs/pwg/building-testapp.xml:
9613           Update the building-*.xml parts for 0.9 changes. All examples
9614           code blocks compile in examples/pwg/*.
9615
9616 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9617
9618         * docs/manual/advanced-autoplugging.xml:
9619         * docs/manual/appendix-checklist.xml:
9620         * docs/manual/appendix-integration.xml:
9621         * docs/manual/highlevel-components.xml:
9622           Fix playbin/decodebin examples, update docs a bit, mention bus
9623           instead of signals in various places, mention kmplayer and
9624           kaffeine since they have a working GStreamer backend in the KDE
9625           section.
9626
9627 2005-06-30  Wim Taymans  <wim@fluendo.com>
9628
9629         * CHANGES-0.9:
9630         * docs/design/draft-ghostpads.txt:
9631         * docs/design/draft-push-pull.txt:
9632         * docs/design/draft-query.txt:
9633         * docs/design/part-TODO.txt:
9634         * docs/design/part-query.txt:
9635         Added CHANGES-0.9 doc, updated status of other docs.
9636         
9637         * gst/gstquery.h:
9638         Remove "hmm" macro
9639
9640 2005-06-30  Wim Taymans  <wim@fluendo.com>
9641
9642         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9643         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9644         (gst_base_sink_change_state):
9645         * gst/base/gstbasesink.h:
9646         Some tweaks, only EOS and a buffer complete a preroll.
9647
9648 2005-06-30  Andy Wingo  <wingo@pobox.com>
9649
9650         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9651         activate_push down to the internal pad as well.
9652
9653 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9654
9655         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9656
9657         * gst/gsttaginterface.c:
9658           Some documentation fixes (#307394 and #307397).
9659
9660 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9661
9662         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9663
9664         * gst/gstvalue.c: (gst_value_intersect_list):
9665           Fix memleak (#309125).
9666
9667 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9668
9669         * docs/manual/advanced-dataaccess.xml:
9670           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9671         * docs/manual/basics-pads.xml:
9672           Add reference for filtered caps to above chapter.
9673
9674 2005-06-30  Wim Taymans  <wim@fluendo.com>
9675
9676         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9677         (gst_bin_change_state):
9678         Probes are gone.
9679         Lame attempt at making the state change function a bit
9680         more readable.
9681
9682 2005-06-30  Wim Taymans  <wim@fluendo.com>
9683
9684         * docs/design/part-clocks.txt:
9685         * docs/design/part-element-sink.txt:
9686         * docs/design/part-events.txt:
9687         * docs/design/part-preroll.txt:
9688         * docs/design/part-states.txt:
9689         Some more tweeks and additions to the docs.
9690
9691 2005-06-30  Wim Taymans  <wim@fluendo.com>
9692
9693         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9694         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9695         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9696         (gst_pad_check_pull_range), (gst_pad_get_range),
9697         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9698         * gst/gstpad.h:
9699         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9700         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9701         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9702         (gst_pad_remove_buffer_probe):
9703         Removed atomic operations, use existing LOCK.
9704         Move exception handling out of main code path.
9705
9706 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9707
9708         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9709         (silly_return_true_function), (gst_pad_class_init),
9710         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9711         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9712         (gst_pad_send_event):
9713           Fix accumulator, add default value by using _emitv() instead
9714           of _emit() for signal emission.
9715
9716 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9717
9718         * docs/manual/advanced-dataaccess.xml:
9719         * examples/manual/Makefile.am:
9720           Add probe example.
9721         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9722           Make work (??).
9723
9724 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9725
9726         * gst/elements/gstfilesink.c: (gst_filesink_render):
9727           Simplify code so that we don't have to handle short
9728           writes and return GST_FLOW_ERROR if an error occured.
9729
9730 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9731
9732         * docs/gst/gstreamer-docs.sgml:
9733           Remove probes more.
9734
9735 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9736
9737         * docs/gst/gstreamer-sections.txt:
9738         * docs/gst/tmpl/gstpad.sgml:
9739         * docs/gst/tmpl/gstprobe.sgml:
9740         * gst/Makefile.am:
9741         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9742         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9743         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9744         (gst_pad_push_event), (gst_pad_send_event):
9745         * gst/gstpad.h:
9746         * gst/gstutils.c: (gst_pad_add_data_probe),
9747         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9748         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9749         (gst_pad_remove_buffer_probe):
9750         * gst/gstutils.h:
9751           Remove old probes, add new g-signal-based probes and some utility
9752           functions.
9753
9754 2005-06-29  Edward Hervey  <edward@fluendo.com>
9755
9756         * gst/gstelementfactory.c:
9757         * gst/gstutils.h:
9758         * gst/gstutils.c:
9759         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9760         the definition to the header file.
9761
9762 2005-06-29  Andy Wingo  <wingo@pobox.com>
9763
9764         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9765         plugins from the source directory.
9766
9767 2005-06-29  Wim Taymans  <wim@fluendo.com>
9768
9769         * docs/gst/tmpl/gstbuffer.sgml:
9770         * docs/gst/tmpl/gstclock.sgml:
9771         Some fixings for blantently wrong text.
9772
9773 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9774
9775         * check/Makefile.am:
9776         * gst/gst.c: (add_path_func), (init_pre):
9777         * gst/gstregistry.c: (gst_registry_add_path):
9778           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9779           only scan the GST_PLUGIN_PATH locations, and not add
9780           system locations
9781
9782 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9783
9784         * docs/gst/gstreamer-sections.txt:
9785         * docs/gst/tmpl/gstbasesrc.sgml:
9786         * gst/gstelement.c:
9787         * gst/gstelement.h:
9788         * gst/gstevent.c:
9789         * gst/gstutils.c:
9790           doc fixes
9791
9792 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9793
9794         * docs/manual/advanced-autoplugging.xml:
9795           Fix autoplugging example.
9796
9797 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9798
9799         * docs/manual/advanced-autoplugging.xml:
9800         * docs/manual/mime-world.fig:
9801           Try to get autoplugging working, fix type detection. Fix text
9802           in hello-world image.
9803
9804 2005-06-29  Wim Taymans  <wim@fluendo.com>
9805
9806         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9807         (gst_base_sink_change_state):
9808         Small debug line.
9809
9810         * gst/gstclock.h:
9811         map SIGNAL and BROADCAST to the right function.
9812
9813         * gst/gstobject.h:
9814         Remove redundant braces.
9815
9816         * gst/gstpad.c: (gst_pad_set_caps):
9817         Don't call setcaps function when reseting caps to NULL.
9818
9819         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9820         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9821         (gst_system_clock_id_unschedule):
9822         Use BROADCAST as this is what we do.
9823
9824 2005-06-29  Wim Taymans  <wim@fluendo.com>
9825
9826         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9827         We are actually prerolling before commiting the state
9828         change. 
9829
9830 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9831
9832         * docs/manual/advanced-clocks.xml:
9833         * docs/manual/advanced-interfaces.xml:
9834         * docs/manual/advanced-metadata.xml:
9835         * docs/manual/advanced-position.xml:
9836         * docs/manual/advanced-schedulers.xml:
9837         * docs/manual/advanced-threads.xml:
9838         * docs/manual/appendix-porting.xml:
9839         * docs/manual/basics-bins.xml:
9840         * docs/manual/basics-bus.xml:
9841         * docs/manual/basics-elements.xml:
9842         * docs/manual/basics-helloworld.xml:
9843         * docs/manual/basics-pads.xml:
9844         * docs/manual/highlevel-components.xml:
9845         * docs/manual/manual.xml:
9846         * docs/manual/thread.fig:
9847           Update (until threads/scheduling) Application Development Manual;
9848           remove GstThread, add GstBus, add simple porting checklist, add
9849           documentation for tag writing, clocks, make all examples until this
9850           part compile and run.
9851         * examples/manual/Makefile.am:
9852           Update from changes to Application Development Manual; add bus
9853           example, remove thread example.
9854
9855 2005-06-28  Wim Taymans  <wim@fluendo.com>
9856
9857         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9858         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9859         (gst_bus_source_dispatch):
9860         Add debugging messages.
9861         Make internal methods static.
9862         Handle the case where the bus is flushed in the handler.
9863         
9864         * gst/gstelement.c: (gst_element_get_bus):
9865         Fix refcount in _get_bus();
9866
9867         * gst/gstpipeline.c: (gst_pipeline_change_state),
9868         (gst_pipeline_get_clock_func):
9869         Clock refcounting fixes.
9870         Handle the case where preroll timed out more gracefully.
9871         
9872         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9873         Clean up the internal thread in dispose. This is needed
9874         for subclasses that actually get disposed.
9875         
9876         * gst/schedulers/threadscheduler.c:
9877         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9878         (gst_thread_scheduler_dispose):
9879         Free thread pool in dispose.
9880
9881 2005-06-28  Andy Wingo  <wingo@pobox.com>
9882
9883         * tests/network-clock-utils.scm (debug, print-event): New utils.
9884
9885         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9886         (*packet-loss*): Unified loss probability.
9887         (network-time): Report out-of-band events.
9888
9889         * tests/plot-data: Add support for out-of-band events. Hack it
9890         into this script instead of passing it down the pipe; should fix
9891         this later.
9892
9893 2005-06-28  Wim Taymans  <wim@fluendo.com>
9894
9895         * docs/gst/gstreamer.types:
9896         * docs/gst/tmpl/gstbasesrc.sgml:
9897         * docs/gst/tmpl/gstpad.sgml:
9898         Docs fixes.
9899
9900 2005-06-28  Wim Taymans  <wim@fluendo.com>
9901
9902         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9903         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9904         (gst_proxy_pad_do_fixatecaps):
9905         Correctly proxy the check_pull_range function.
9906
9907 2005-06-28  Andy Wingo  <wingo@pobox.com>
9908
9909         * tests/network-clock.scm: Removed need for slib.
9910         
9911 2005-06-28  Wim Taymans  <wim@fluendo.com>
9912
9913         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9914         (gst_basesink_preroll_queue_flush):
9915         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9916         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9917         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9918         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9919         (gst_proxy_pad_set_property):
9920         * gst/gstpad.c:
9921         * gst/gstpad.h:
9922         * gst/gstqueue.c: (gst_queue_init):
9923         The deprecated pad loop function is removed now.
9924
9925 2005-06-28  Andy Wingo  <wingo@pobox.com>
9926
9927         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9928         New parameters, simulate network packet loss.
9929
9930         * tests/network-clock-utils.scm: Initialize the RNG.
9931
9932 2005-06-28  Wim Taymans  <wim@fluendo.com>
9933
9934         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9935         (gst_basesink_event), (gst_basesink_deactivate):
9936         Flushing the preroll queue always needs to unlock the waiters.
9937
9938 2005-06-28  Edward Hervey  <edward@fluendo.com>
9939
9940         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9941         Wheen a seek was successful on a pipeline, set the stream_time to the
9942         seek offset in order to have a synchronized stream_time.
9943
9944 2005-06-28  Wim Taymans  <wim@fluendo.com>
9945
9946         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9947         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9948         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9949         (gst_proxy_pad_do_fixatecaps):
9950         Call wrapper function instead of just calling the function
9951         pointers. This takes care of any locking and whatmore.
9952
9953 2005-06-28  Wim Taymans  <wim@fluendo.com>
9954
9955         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9956         (gst_pad_pull_range):
9957         * gst/gstpad.h:
9958         CONNECTED -> LINKED.
9959
9960 2005-06-28  Andy Wingo  <wingo@pobox.com>
9961
9962         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9963         source-munging commit!!!
9964
9965         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9966         (gst_object_sink): Take gpointer arguments, not GstObject --
9967         avoids casts. Like GLib.
9968
9969         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9970         activate.
9971
9972 2005-06-27  Andy Wingo  <wingo@pobox.com>
9973
9974         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9975         remaining buffer.
9976
9977         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9978         returns a sorted copy of the trace list.
9979         (gst_alloc_trace_print_live): New API, only prints traces with
9980         live objects. Sort the list.
9981         (gst_alloc_trace_print_all): Sort the list.
9982         (gst_alloc_trace_print): Align columns.
9983
9984         * gst/elements/gstttypefindelement.c:
9985         * gst/elements/gsttee.c:
9986         * gst/base/gstbasesrc.c:
9987         * gst/base/gstbasesink.c:
9988         * gst/base/gstbasetransform.c:
9989         * gst/gstqueue.c: Adapt for pad activation changes.
9990
9991         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9992         sched.
9993         (gst_pipeline_dispose): Drop ref on sched.
9994
9995         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9996         (gst_pad_activate_default): Push mode by default.
9997         (pre_activate_switch, post_activate_switch): New stubs, things to
9998         do before and after switching activation modes on pads.
9999         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10000         the pad's activate function to choose which mode to activate.
10001         Shortcut on deactivation and call the right function directly.
10002         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10003         mode.
10004         (gst_pad_activate_push): New API, same for push mode.
10005         (gst_pad_set_activate_function) 
10006         (gst_pad_set_activatepull_function) 
10007         (gst_pad_set_activatepush_function): Setters for new API.
10008
10009         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10010         Trace all miniobjects.
10011         (gst_mini_object_make_writable): Unref the arg if we copy, like
10012         gst_caps_make_writable.
10013
10014         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10015
10016         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10017         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10018         Adapt for new pad API.
10019
10020         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10021
10022         * gst/gstelement.h:
10023         * gst/gstelement.c (gst_element_iterate_src_pads) 
10024         (gst_element_iterate_sink_pads): New API functions.
10025         
10026         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10027         should fold into gstiterator.c in some form.
10028         (gst_element_pads_activate): Simplified via use of fold and
10029         delegation of decisions to gstpad->activate.
10030
10031         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10032         help in debugging.
10033
10034         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10035         class once in init, like gstmessage. Didn't run into this issue
10036         but it seems correct. Don't initialize a trace, gstminiobject does
10037         that.
10038
10039         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10040         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10041         to the bus.
10042         (assert_live_count): New util function, uses alloc traces to check
10043         cleanup.
10044
10045         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10046         To be modified when unlink drops the internal pad.
10047
10048 2005-06-27  Wim Taymans  <wim@fluendo.com>
10049
10050         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10051         (gst_bin_change_state):
10052         Cleanup the get_state() function a little, make sure it
10053         iterates the same set of elements.
10054         Added stub iterate_state_order().
10055
10056 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10057
10058         * docs/gst/gstreamer-docs.sgml:
10059         * docs/gst/gstreamer-sections.txt:
10060         * docs/gst/gstreamer.types:
10061         * docs/gst/tmpl/gstbasesink.sgml:
10062         * docs/gst/tmpl/gstbasesrc.sgml:
10063         * docs/gst/tmpl/gstbasetransform.sgml:
10064         * docs/gst/tmpl/gstelement.sgml:
10065         * docs/gst/tmpl/gstiterator.sgml:
10066         * gst/base/gstbasesrc.c:
10067         * gst/base/gstbasesrc.h:
10068         * gst/base/gstbasetransform.h:
10069         * gst/gstelement.c:
10070         * gst/gstiterator.h:
10071           adding basetransform and iterator docs
10072
10073 2005-06-27  Andy Wingo  <wingo@pobox.com>
10074
10075         * docs/design/part-activation.txt: Notes on how activation should
10076         work -- not quite implemented yet.
10077
10078 2005-06-25  Wim Taymans  <wim@fluendo.com>
10079
10080         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10081         At least get the chain function correct, needs more
10082         fixing.
10083
10084 2005-06-25  Wim Taymans  <wim@fluendo.com>
10085
10086         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10087         (gst_basesink_handle_object), (gst_basesink_event),
10088         (gst_basesink_do_sync), (gst_basesink_handle_event),
10089         (gst_basesink_change_state):
10090         * gst/gsttask.h:
10091         Right, two problems here: ghostpads don't take locks and
10092         glib _rec_mutex_lock_full() with depth==0 still locks.
10093         Catch illegal locking and g_warn them.
10094
10095 2005-06-25  Wim Taymans  <wim@fluendo.com>
10096
10097         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10098         Have to check for completion now...
10099
10100 2005-06-25  Wim Taymans  <wim@fluendo.com>
10101
10102         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10103         (gst_basesink_handle_object), (gst_basesink_event),
10104         (gst_basesink_do_sync), (gst_basesink_handle_event),
10105         (gst_basesink_change_state):
10106         * gst/gstpad.h:
10107         Unlock STREAM_LOCK whatever the recursion was.
10108
10109 2005-06-25  Wim Taymans  <wim@fluendo.com>
10110
10111         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10112         (gst_basesink_preroll_queue_empty),
10113         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10114         (gst_basesink_event), (gst_basesink_do_sync),
10115         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10116         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10117         (gst_basesink_change_state):
10118         Reworked the base sink, handle event and buffer serialisation
10119         correctly and removed possible deadlock.
10120         Handle EOS correctly.
10121
10122 2005-06-25  Wim Taymans  <wim@fluendo.com>
10123
10124         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10125         (gst_pipeline_change_state):
10126         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10127         Allow elements to post EOS in the state change function.
10128         Fix up -launch, make it exit the poll loop when the
10129         pipeline actually changed state.
10130         Fix up warning parsing in -launch.
10131
10132 2005-06-25  Wim Taymans  <wim@fluendo.com>
10133
10134         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10135         (gst_tee_sink_activate):
10136         Core takes STREAM_LOCK for us now.
10137
10138 2005-06-25  Wim Taymans  <wim@fluendo.com>
10139
10140         * gst/gstelement.c: (gst_element_get_state_func),
10141         (gst_element_set_state):
10142         * gst/gstelement.h:
10143         * gst/gstmessage.c: (gst_message_parse_error),
10144         (gst_message_parse_warning):
10145         Keep track of current target state while performing a state
10146         change so that subclasses can do something interesting.
10147         Fix parsing of warning/error messages when GError is NULL.
10148
10149 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10150
10151         * docs/gst/Makefile.am:
10152         * docs/gst/gstreamer-docs.sgml:
10153         * docs/gst/gstreamer-sections.txt:
10154         * docs/gst/gstreamer.types:
10155         * docs/gst/tmpl/gstbasesink.sgml:
10156         * docs/gst/tmpl/gstbasesrc.sgml:
10157         * docs/gst/tmpl/gstbin.sgml:
10158         * docs/gst/tmpl/gstcompat.sgml:
10159         * docs/gst/tmpl/gstfakesink.sgml:
10160         * docs/gst/tmpl/gstfakesrc.sgml:
10161         * docs/gst/tmpl/gstfilesink.sgml:
10162         * docs/gst/tmpl/gstfilesrc.sgml:
10163         * docs/gst/tmpl/gstindex.sgml:
10164         * docs/manual/appendix-quotes.xml:
10165         * gst/base/gstbasesrc.h:
10166         * gst/elements/gstfakesrc.h:
10167         * gst/gstmessage.h:
10168           start pulling in base classes and elements in our docs
10169
10170 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10171
10172         * docs/gst/Makefile.am:
10173         * docs/libs/Makefile.am:
10174           fixed make distcheck with gtk-doc 1.3
10175
10176 2005-06-23  Wim Taymans  <wim@fluendo.com>
10177
10178         * gst/gstelement.c: (gst_element_get_state_func),
10179         (gst_element_set_state), (gst_element_change_state):
10180         When the state did not change, also report NO_PREROLL
10181         when it matters.
10182
10183 2005-06-23  Wim Taymans  <wim@fluendo.com>
10184
10185         * gst/gstpad.c: (gst_pad_event_default):
10186         * gst/gstqueue.c: (gst_queue_loop):
10187         No unsafe task pausing please.
10188
10189 2005-06-23  Wim Taymans  <wim@fluendo.com>
10190
10191         * gst/schedulers/threadscheduler.c:
10192         (gst_thread_scheduler_task_start),
10193         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10194         Ref the task before pushing it on the threadpool. This
10195         makes sure that we have a ref when the threadfunction is
10196         actually called.
10197
10198 2005-06-23  Andy Wingo  <wingo@pobox.com>
10199
10200         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10201         offset is greater than the file's size.
10202
10203         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10204         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10205         * gst/gstobject.c (gst_object_class_init): Make the class lock
10206         recursive. Wim won't let me drop deep_notify. Decodebin works
10207         again, whoopdy doo.
10208
10209         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10210         internal pad, and hacks accordingly. Doesn't do it on the target
10211         pad because we change its caps. Probably catches all cases of
10212         interest tho.
10213         (gst_ghost_pad_set_property): Connect to notify::caps as
10214         appropritate.
10215
10216         * tests/network-clock.scm (plot-simulation): Pipe data to the
10217         elite python skript.
10218
10219         * tests/network-clock-utils.scm (define-parameter): New macro,
10220         defines a parameter that can be set via the command line.
10221         (set-parameter!, parse-parameter-arguments): Command line args
10222         parser.
10223
10224         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10225         stdin.
10226
10227 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10228
10229         * gst/elements/gsttypefindelement.c:
10230         (gst_type_find_element_handle_event):
10231           Don't restart typefinding on a discont.
10232         * gst/gstelement.c: (gst_element_set_state):
10233           Debug spelling fix.
10234         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10235           Allow changing mode of an active pad.
10236           Debug output fixes.
10237         * gst/registries/gstlibxmlregistry.c: (load_feature):
10238           Don't cast a static pad template to a normal pad template.
10239
10240 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10241
10242         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10243         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10244           remove gst_strtoll completely, since it didn't actually do
10245           anything more than what g_ascii_strtoull already does.
10246           check for range errors when deserializing
10247           do a cast for the unsigned cases; but further fixing needs
10248           a decision on what the interpretation of "(int)" and
10249           deserialization should be for values that fall outside the
10250           type's boundaries (ie, refuse, or interpret as casting)
10251
10252 2005-06-23  Wim Taymans  <wim@fluendo.com>
10253
10254         * check/Makefile.am:
10255         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10256         * docs/design/part-live-source.txt:
10257         * docs/design/part-states.txt:
10258         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10259         (gst_basesrc_set_live), (gst_basesrc_is_live),
10260         (gst_basesrc_get_range), (gst_basesrc_activate),
10261         (gst_basesrc_change_state):
10262         * gst/base/gstbasesrc.h:
10263         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10264         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10265         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10266         * gst/gstelement.c: (gst_element_get_state_func),
10267         (gst_element_set_state):
10268         * gst/gstelement.h:
10269         * gst/gsttypes.h:
10270         * tools/gst-launch.c: (event_loop), (main):
10271         Added support for live sources and other elements that
10272         cannot do preroll.
10273         Updated design docs, added live-source design doc.
10274         Implemented live source functionality in basesrc
10275         Fix error condition in _bin_get_state()
10276         Implement live source handling in -launch.
10277         Added check for live sources.
10278         Fixed case in GstBin where elements were changed state
10279         multiple times.
10280
10281
10282 2005-06-23  Andy Wingo  <wingo@pobox.com>
10283
10284         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10285         borken refcounting.
10286
10287         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10288         gst_caps_replace takes care of this for us.
10289
10290         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10291         gst_pad_set_caps on the target, not just its setcaps() function.
10292
10293         * tests/network-clock.scm: 
10294         * tests/network-clock-utils.scm: A network clock simulator.
10295         Something of an algorithmic testbed before doing something in C.
10296
10297 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10298
10299         * check/Makefile.am:
10300         * check/gst/capslist.h:
10301           copy over from 0.8, and add two with bitmasks specified with
10302           (int) 0xFF...
10303         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10304           add test to parse everything from capslist.h
10305         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10306         (main):
10307           add test for structure deserialization
10308         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10309           add tests for deserialization of strings to int types
10310         * gst/gststructure.c: (gst_structure_nth_field_name):
10311         * gst/gststructure.h:
10312           add a way to get the name of a field referenced by index
10313         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10314           instead of checking if the resulting long long lies between
10315           min and max, we check if the long long would fit into
10316           a number of bytes for the final type.
10317           This fixes cases where a string represents 2^32 - 1, which
10318           when cast to int would be the (valid) -1, but is bigger than
10319           G_MAXINT
10320
10321 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10322
10323         * gst/parse/grammar.y:
10324           add a log line for type deserialization
10325
10326 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10327
10328         * check/gst/gstvalue.c: (START_TEST):
10329         * gst/gstvalue.c: (gst_value_deserialize):
10330           return long long, not int, so gint64 deserialization actually
10331           works.  Is there any flag that makes the compiler check this ?
10332           Fixes #308559
10333
10334 2005-06-22  Wim Taymans  <wim@fluendo.com>
10335
10336         * gst/gstbuffer.h:
10337         Added convenience macros for setting buffers in GValue.
10338
10339 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10340
10341         * check/gst/.cvsignore:
10342         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10343           add a test deserializing int64, and comment part out because
10344           it fails, yay !
10345
10346 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10347
10348         * check/Makefile.am:
10349         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10350         * testsuite/Makefile.am:
10351         * testsuite/caps/Makefile.am:
10352         * testsuite/caps/value_serialize.c:
10353         * testsuite/test_gst_init.c:
10354           move a value_serialize test over
10355
10356 2005-06-20  Wim Taymans  <wim@fluendo.com>
10357
10358         * gst/gstpad.c:
10359         Small doc updates.
10360         
10361         * gst/gstvalue.c: (gst_value_compare_buffer),
10362         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10363         (gst_value_compare_flags), (gst_value_serialize_flags),
10364         (gst_value_deserialize_flags), (_gst_value_initialize):
10365         Fix serialisation of buffers, they are not boxed types anymore
10366
10367 2005-06-20  Wim Taymans  <wim@fluendo.com>
10368
10369         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10370         Testcase to show error in buffer-on-caps serialisation.
10371
10372 2005-06-20  Andy Wingo  <wingo@pobox.com>
10373
10374         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10375         will be adding to later.
10376
10377         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10378         if its socks fill with rocks.
10379         (gst_system_clock_obtain): Set the name on object construction.
10380         Avoid double-checked locking.
10381
10382 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10383
10384         * gst/gsturi.c: (gst_element_make_from_uri):
10385           Fix potential endless loop.
10386
10387 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10388
10389         * check/Makefile.am:
10390           add gsttag
10391         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10392         (main):
10393           move over from testsuite dir and clean up
10394         * configure.ac:
10395         * gst/gsttag.c:
10396         * testsuite/Makefile.am:
10397         * testsuite/tags/.cvsignore:
10398         * testsuite/tags/Makefile.am:
10399         * testsuite/tags/merge.c:
10400           remove testsuite/tags
10401
10402 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10403
10404         * docs/gst/gstreamer-sections.txt:
10405         * docs/gst/tmpl/gstenumtypes.sgml:
10406         * win32/gstenumtypes.c:
10407           clean up documentation build a little
10408
10409 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10410
10411         * check/gstcheck.h:
10412           add macros for checking refcounts on objects and caps
10413         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10414           add some more unit tests
10415         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10416         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10417           fix leaked refcounts (I hope :)) so unittest works
10418         * gst/gstpad.h:
10419           whitespace removal
10420
10421 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10422
10423         * configure.ac: back to HEAD
10424
10425 === release 0.9.1 ===
10426
10427 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10428
10429         * NEWS:
10430         * RELEASE:
10431           updated
10432
10433 2005-06-17  Andy Wingo  <wingo@pobox.com>
10434
10435         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10436         assert; it's always possible that the pad gets deactivated in
10437         between the checks in gstpad.c and the implementation. Rely on
10438         finish_preroll() to return a FLUSHING or similar instead of on the
10439         assert.
10440         
10441         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10442         clock and post an EOS message if we come out of finish_preroll in
10443         the playing state.
10444
10445 2005-06-16  David Schleef  <ds@schleef.org>
10446
10447         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10448         (gst_capsfilter_set_property): Allow NULL as possible value
10449         for filter_caps property, indicating GST_CAPS_ANY.
10450
10451 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10452
10453         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10454           fix debug output
10455         * gst/schedulers/Makefile.am:
10456           use libgst prefix
10457         * gstreamer.spec.in:
10458           fix spec for it
10459
10460 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10461
10462         * gstreamer.spec.in:
10463           clean up
10464
10465 2005-06-08  Andy Wingo  <wingo@pobox.com>
10466
10467         * gst/gstutils.c: RPAD fixes all around.
10468         (gst_element_link_pads): Refcounting fixes.
10469
10470         * tools/gst-inspect.c:
10471         * tools/gst-xmlinspect.c:
10472         * parse/grammar.y:
10473         * gst/base/gsttypefindhelper.c:
10474         * gst/base/gstbasesink.c:
10475         * gst/gstqueue.c: RPAD fixes.
10476
10477         * gst/gstghostpad.h:
10478         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10479         pads. The tricky thing is they provide both source and sink
10480         interfaces, since they proxy the internal pad for the external
10481         pad, and vice versa. Implement with lower-level ProxyPad objects,
10482         with the interior proxy pad as a child of the exterior ghost pad.
10483         Should write a doc on this.
10484         
10485         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10486         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10487         gst_object API.
10488         
10489         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10490         pads are real pads. No ghost pads in this file. Not documenting
10491         the myriad s/RPAD/PAD/ and REALIZE fixes.
10492         (gst_pad_class_init): Add properties for "direction" and
10493         "template". Both are construct-only, so they can't change during
10494         the life of the pad. Fixes properly deriving from GstPad.
10495         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10496         derived objects, just set properties when creating the objects via
10497         g_object_new.
10498         (gst_pad_get_parent): Implement as a function, return NULL if the
10499         parent is not an element.
10500         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10501         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10502         
10503         * gst/gstobject.c (gst_object_class_init): Make name a construct
10504         property. Don't set it in the object init.
10505
10506         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10507         with UNKNOWN direction.
10508         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10509         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10510         (gst_element_remove_pad): Remove ghost-pad special cases.
10511         (gst_element_pads_activate): Remove rpad cruft.
10512
10513         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10514         catch the pad's-parent-not-an-element case.
10515
10516         * gst/gst.h: Include gstghostpad.h.
10517
10518         * gst/gst.c (init_post): No more real, ghost pads.
10519
10520         * gst/Makefile.am: Add gstghostpad.[ch].
10521
10522         * check/Makefile.am:
10523         * check/gst/gstbin.c:
10524         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10525         into a bin creates ghost pads, and that the refcounts are right.
10526         Partly moved from gstbin.c.
10527
10528 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10529
10530         * check/gst-libs/.cvsignore:
10531         * check/gst/.cvsignore:
10532         * check/pipelines/.cvsignore:
10533           ignore more
10534         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10535         (START_TEST), (cleanup_suite), (main):
10536           add some tests related to cleanup after running pipelines
10537
10538 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10539
10540         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10541           add a testsuite for GstBuffer
10542
10543 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10544
10545         * gst/gstminiobject.h:
10546           add defines for accessing the refcount
10547
10548 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10549
10550         * Makefile.am: added support for html unit test coverage reports
10551
10552 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10553
10554         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10555           Free existing caps if the capsfilter changes. Add a FIXME about
10556           setting those caps on the pads.
10557
10558         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10559           Before adding a ghost pad to a parent bin, check that there isn't
10560           already one for the element on the bin. Prevents infinite recursion
10561           when using decodebin in parse pipelines. Andy says he'll rewrite the
10562           way this works anyway, so ignore the hack.
10563
10564 2005-06-02  Andy Wingo  <wingo@pobox.com>
10565
10566         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10567         file size, pass it on to the type find helper.
10568
10569         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10570         segment_start and segment_end properly according to the seek
10571         method. Segment_end is still a bit flaky because offset can be
10572         negative for CUR and END cases, but it takes -1 as an "unset"
10573         value.
10574
10575 2005-06-02  Wim Taymans  <wim@fluendo.com>
10576
10577         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10578         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10579         (gst_basesink_activate):
10580         * gst/base/gstbasesink.h:
10581         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10582         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10583         (gst_pad_query), (gst_pad_start_task):
10584         * gst/gstpad.h:
10585         * gst/gstqueue.c: (gst_queue_bufferalloc),
10586         (gst_queue_handle_sink_event), (gst_queue_chain):
10587         Bufferalloc: return GstFlowReturn to more accuratly report
10588         why allocation failed.
10589
10590 2005-06-02  Wim Taymans  <wim@fluendo.com>
10591
10592         * gst/gstpipeline.c: (gst_pipeline_send_event):
10593         Take snapshot of state without blocking.
10594
10595 2005-06-02  Wim Taymans  <wim@fluendo.com>
10596
10597         * docs/design/part-TODO.txt:
10598         * docs/design/part-caps.txt:
10599         * docs/design/part-clocks.txt:
10600         * docs/design/part-negotiation.txt:
10601         * docs/design/part-preroll.txt:
10602         Small doc updates 
10603
10604 2005-05-30  Wim Taymans  <wim@fluendo.com>
10605
10606         * gst/elements/gstidentity.c: (gst_identity_event),
10607         (gst_identity_transform), (gst_identity_get_property):
10608         Protect last_message property as it is accessed from
10609         multiple threads.
10610
10611 2005-05-30  Wim Taymans  <wim@fluendo.com>
10612
10613         * gst/gstelement.c: (gst_element_init),
10614         (gst_element_pads_activate), (gst_element_change_state):
10615         Slicker pad activation code.
10616
10617 2005-05-30  Wim Taymans  <wim@fluendo.com>
10618
10619         * gst/Makefile.am:
10620         * gst/gstelement.h:
10621         * gst/gstelementfactory.h:
10622         * gst/gsttypes.h:
10623         Move elementfactory methods to separate .h file.
10624
10625 2005-05-30  Wim Taymans  <wim@fluendo.com>
10626
10627         * docs/design/part-overview.txt:
10628         * gst/gstsystemclock.h:
10629         Small typo fixes, doc updates.
10630
10631 2005-05-30  Wim Taymans  <wim@fluendo.com>
10632
10633         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10634         (init_popt_callback):
10635         Remove cpu-opt flag.
10636
10637 2005-05-30  Wim Taymans  <wim@fluendo.com>
10638
10639         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10640         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10641         * gst/gstbuffer.h:
10642         Avoid typechecking in places where not needed.
10643         Added accessor for malloc_data.
10644
10645 2005-05-30  Wim Taymans  <wim@fluendo.com>
10646
10647         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10648         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10649         (gst_pad_configure_sink), (gst_pad_configure_src),
10650         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10651         (gst_pad_start_task):
10652         Propagate errors from _set_caps() in configure_src/sink
10653         functions instead of returning TRUE.
10654         FLUSH events can travel up and downstream
10655
10656
10657 2005-05-30  Wim Taymans  <wim@fluendo.com>
10658
10659         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10660         (gst_basesink_activate):
10661         Handle EOS in preroll.
10662
10663 2005-05-30  Wim Taymans  <wim@fluendo.com>
10664
10665         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10666         (gst_queue_loop), (gst_queue_handle_src_event):
10667         Remove old pieces of code
10668         Flushing the queue in an upstream event is a very bad idea.
10669
10670 2005-05-26  Andy Wingo  <wingo@pobox.com>
10671
10672         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10673         gst_value_set_mini_object so as to add a ref on the object (which
10674         will be removed when the value is unset).
10675
10676         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10677         arg type in ::handoff.
10678
10679         * gst/gstelement.c (gst_element_change_state): Also deactivate
10680         pads in READY->NULL, just in case the element didn't make it to
10681         PAUSED. Wingo tested, Wim approved.
10682
10683 2005-05-26  Wim Taymans  <wim@fluendo.com>
10684
10685         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10686         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10687         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10688         A flushing pad cannot be used to alloc_buffer from.
10689
10690 2005-05-26  Wim Taymans  <wim@fluendo.com>
10691
10692         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10693         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10694         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10695         (gst_bus_create_watch), (gst_bus_add_watch_full):
10696         * gst/gstbus.h:
10697         Implement a real GSource and use g_main_context_wakeup() to
10698         signal new messages instead of the socketpair.
10699
10700 2005-05-25  Wim Taymans  <wim@fluendo.com>
10701
10702         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10703         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10704         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10705         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10706         (gst_pad_send_event), (gst_pad_start_task):
10707         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10708         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10709         (gst_queue_sink_activate), (gst_queue_src_activate),
10710         (gst_queue_change_state):
10711         * gst/gstqueue.h:
10712         Fix state changes for non sinks. We now change sinks, then elements
10713         with unconnected srcpads, then the rest.
10714         More efficient queue unlocking in flush and state changes.
10715         Set the pad activate mode even if it does not have an activate
10716         function.
10717
10718 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10719
10720         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10721           Don't go in pull mode for non-seekable sources.
10722         * gst/elements/gsttypefindelement.h:
10723         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10724         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10725         (free_entry), (stop_typefinding),
10726         (gst_type_find_element_handle_event), (find_peek),
10727         (gst_type_find_element_chain), (do_pull_typefind),
10728         (gst_type_find_element_change_state):
10729           Allow typefinding (w/o seeking) in push-mode, simplified version
10730           of what was in 0.8.
10731         * gst/gstutils.c: (gst_buffer_join):
10732         * gst/gstutils.h:
10733           gst_buffer_join() from 0.8.
10734
10735 2005-05-25  Wim Taymans  <wim@fluendo.com>
10736
10737         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10738         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10739         (gst_pad_send_event), (gst_pad_start_task):
10740         Disable attempt at mode switching until it is figured out.
10741
10742 2005-05-25  Wim Taymans  <wim@fluendo.com>
10743
10744         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10745         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10746         (gst_basesink_finish_preroll), (gst_basesink_chain),
10747         (gst_basesink_loop), (gst_basesink_activate),
10748         (gst_basesink_change_state):
10749         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10750         (gst_basesrc_get_range), (gst_basesrc_loop),
10751         (gst_basesrc_activate):
10752         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10753         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10754         (gst_real_pad_init), (gst_real_pad_set_property),
10755         (gst_real_pad_get_property), (gst_pad_set_active),
10756         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10757         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10758         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10759         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10760         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10761         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10762         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10763         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10764         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10765         (gst_pad_stop_task):
10766         * gst/gstpad.h:
10767         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10768         (gst_queue_loop), (gst_queue_src_activate):
10769         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10770         (gst_task_get_state):
10771         * gst/gsttask.h:
10772         * gst/schedulers/threadscheduler.c:
10773         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10774         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10775         in task function.
10776         Remove ACTIVE pad flag, use FLUSHING everywhere
10777         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10778         functions.
10779         Add locks around IS_FLUSHING when reading.
10780         Take STREAM lock in chain(), get_range() functions so plugins
10781         don't need to take it anymore.
10782         
10783
10784
10785 2005-05-25  Wim Taymans  <wim@fluendo.com>
10786
10787         * tools/gst-launch.c: (event_loop):
10788         Unref message after using its contents instead of
10789         before.
10790
10791 2005-05-24  Wim Taymans  <wim@fluendo.com>
10792
10793         * docs/design/draft-ghostpads.txt:
10794         * docs/design/draft-push-pull.txt:
10795         * docs/design/draft-query.txt:
10796         * docs/design/part-overview.txt:
10797         Docs updates, added general overview doc.
10798
10799 2005-05-21  David Schleef  <ds@schleef.org>
10800
10801         * docs/gst/tmpl/old/GstBin.sgml:
10802         * docs/gst/tmpl/old/GstBuffer.sgml:
10803         * docs/gst/tmpl/old/GstCaps.sgml:
10804         * docs/gst/tmpl/old/GstClock.sgml:
10805         * docs/gst/tmpl/old/GstCompat.sgml:
10806         * docs/gst/tmpl/old/GstData.sgml:
10807         * docs/gst/tmpl/old/GstElement.sgml:
10808         * docs/gst/tmpl/old/GstEvent.sgml:
10809         * docs/gst/tmpl/old/GstIndex.sgml:
10810         * docs/gst/tmpl/old/GstStructure.sgml:
10811         * docs/gst/tmpl/old/GstTag.sgml:
10812         * docs/gst/tmpl/old/cothreads.sgml:
10813         * docs/gst/tmpl/old/cothreads_compat.sgml:
10814         * docs/gst/tmpl/old/gettext.sgml:
10815         * docs/gst/tmpl/old/gobject2gtk.sgml:
10816         * docs/gst/tmpl/old/grammar.tab.sgml:
10817         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10818         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10819         * docs/gst/tmpl/old/gst_private.sgml:
10820         * docs/gst/tmpl/old/gstaggregator.sgml:
10821         * docs/gst/tmpl/old/gstarch.sgml:
10822         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10823         * docs/gst/tmpl/old/gstbufferstore.sgml:
10824         * docs/gst/tmpl/old/gstdata_private.sgml:
10825         * docs/gst/tmpl/old/gstdisksink.sgml:
10826         * docs/gst/tmpl/old/gstdisksrc.sgml:
10827         * docs/gst/tmpl/old/gstelementfactory.sgml:
10828         * docs/gst/tmpl/old/gstextratypes.sgml:
10829         * docs/gst/tmpl/old/gstfakesink.sgml:
10830         * docs/gst/tmpl/old/gstfakesrc.sgml:
10831         * docs/gst/tmpl/old/gstfdsink.sgml:
10832         * docs/gst/tmpl/old/gstfdsrc.sgml:
10833         * docs/gst/tmpl/old/gstfilesink.sgml:
10834         * docs/gst/tmpl/old/gstfilesrc.sgml:
10835         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10836         * docs/gst/tmpl/old/gstidentity.sgml:
10837         * docs/gst/tmpl/old/gstindexfactory.sgml:
10838         * docs/gst/tmpl/old/gstmarshal.sgml:
10839         * docs/gst/tmpl/old/gstmd5sink.sgml:
10840         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10841         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10842         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10843         * docs/gst/tmpl/old/gstpipefilter.sgml:
10844         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10845         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10846         * docs/gst/tmpl/old/gstshaper.sgml:
10847         * docs/gst/tmpl/old/gstspider.sgml:
10848         * docs/gst/tmpl/old/gstspideridentity.sgml:
10849         * docs/gst/tmpl/old/gststatistics.sgml:
10850         * docs/gst/tmpl/old/gsttee.sgml:
10851         * docs/gst/tmpl/old/gsttimecache.sgml:
10852         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10853         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10854         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10855         * docs/gst/tmpl/old/types.sgml:
10856           I didn't intend to add these or check them in.
10857
10858 2005-05-19  David Schleef  <ds@schleef.org>
10859
10860         * configure.ac: Use -no-common everywhere.  In a sane world, it
10861           would be the default in libtool, because without it, you can't
10862           build DLLs on Windows.
10863         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10864         * docs/gst/gstreamer-sections.txt:
10865         * docs/gst/tmpl/gstcpu.sgml:
10866         * docs/gst/tmpl/gstdata.sgml:
10867         * docs/gst/tmpl/gstthread.sgml:
10868
10869 2005-05-19  David Schleef  <ds@schleef.org>
10870
10871         * gst/gstminiobject.c: (gst_value_set_mini_object),
10872         (gst_value_take_mini_object), (gst_value_get_mini_object):
10873         * gst/gstminiobject.h: Add GValue set/get functions.
10874
10875 2005-05-19  Wim Taymans  <wim@fluendo.com>
10876
10877         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10878         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10879         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10880         * gst/gstbuffer.h:
10881         * gst/gstbus.c: (gst_bus_post):
10882         * gst/gstelement.c: (gst_element_get_random_pad):
10883         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10884         Make subbufer unref the parent in finalize.
10885         some more debugging info.
10886
10887
10888 2005-05-19  Wim Taymans  <wim@fluendo.com>
10889
10890         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10891         (gst_basesink_init), (gst_basesink_finalize),
10892         (gst_basesink_activate), (gst_basesink_change_state):
10893         Don't free preroll queue too early.
10894
10895 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10896
10897         * gst/Makefile.am:
10898         * gst/ROADMAP:
10899           Hi, I'm outdated. Please shoot me.
10900
10901 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10902
10903         * gst/gstpipeline.c: (gst_pipeline_send_event):
10904           Do not access variables after they have been deleted.
10905
10906 2005-05-19  Wim Taymans  <wim@fluendo.com>
10907
10908         * tools/gst-inspect.c: (print_plugin_features):
10909         A plugin feature does unfortunatly not use the
10910         object name yet...
10911
10912 2005-05-18  Wim Taymans  <wim@fluendo.com>
10913
10914         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10915         Port _span() functions to new subbuffers.
10916
10917 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10918
10919         * gst/gstbin.c: (gst_bin_add_func):
10920           Fix clock settery in bins when adding kids after the clock has
10921           been selected.
10922
10923 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10924
10925         * gst/elements/gstidentity.c: (gst_identity_class_init):
10926           Workaround until signals support GstMiniObject.
10927
10928 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10929
10930         * gst/gstbuffer.c:
10931         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10932
10933 2005-05-18  Wim Taymans  <wim@fluendo.com>
10934
10935         * gst/base/Makefile.am:
10936         * gst/base/gstadapter.c: (gst_adapter_base_init),
10937         (gst_adapter_class_init), (gst_adapter_init),
10938         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10939         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10940         (gst_adapter_flush), (gst_adapter_available),
10941         (gst_adapter_available_fast):
10942         * gst/base/gstadapter.h:
10943         Ported and added adapter to the base classes.
10944
10945 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10946
10947         * gst/gst.c:
10948         * gst/gstmessage.c:
10949           Make sure the class is reffed/unreffed once before threads can be
10950           used.  Fixes #304551.
10951
10952 2005-05-17  Wim Taymans  <wim@fluendo.com>
10953
10954         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10955         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10956         * gst/gstminiobject.c: (gst_mini_object_get_type),
10957         (gst_mini_object_free):
10958         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10959         (gst_pad_push), (gst_pad_push_event):
10960         * gst/gstqueue.c: (gst_queue_change_state):
10961         Don't queue buffers in basesink when we are flushing.
10962         Unref buffer when flushing in basesink.
10963         Flush queue when going to READY
10964         Unref buffer when _push() returns an error.
10965         Don't free MiniObject instance when refcount is incremented
10966         in _finalize() so that we can recover objects.
10967
10968 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10969
10970         * docs/manual/advanced-schedulers.xml:
10971         * docs/manual/appendix-checklist.xml:
10972         * docs/pwg/advanced-clock.xml:
10973         * docs/pwg/advanced-interfaces.xml:
10974         * docs/pwg/advanced-request.xml:
10975         * docs/pwg/advanced-types.xml:
10976         * docs/pwg/intro-preface.xml:
10977         * examples/plugins/example.c: (gst_example_get_type),
10978         (gst_example_class_init), (gst_example_chain),
10979         (gst_example_set_property), (gst_example_get_property),
10980         (gst_example_change_state), (plugin_init):
10981         * examples/plugins/example.h:
10982           small doc fixes
10983
10984 2005-05-17  Wim Taymans  <wim@fluendo.com>
10985
10986         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10987         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10988         * gst/gstqueue.c: (gst_queue_change_state):
10989         Clear queue when going to READY.
10990         Remove IN_SETCAPS flag too.
10991
10992 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10993
10994         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10995           Remove implicit cast from gboolean to GstElementStateReturn;
10996           make sure we still return failure in paused => ready case if
10997           the parent class fails to change state and our own stop 
10998           vfunc succeeds.
10999
11000 2005-05-17  Wim Taymans  <wim@fluendo.com>
11001
11002         * tools/gst-launch.c: (event_loop):
11003         Message was unreffed too soon.
11004
11005 2005-05-16  Andy Wingo  <wingo@pobox.com>
11006
11007         * gst/gstbin.c (sink_iterator_filter): Err... um...
11008
11009         * check/gst/gstbin.c (test_ghost_pads): New test for the
11010         ghosting-if-elements-not-in-same-bin behavior.
11011
11012 2005-05-16  David Schleef  <ds@schleef.org>
11013
11014         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11015         accessing refcount directly.
11016
11017 2005-05-15  David Schleef  <ds@schleef.org>
11018
11019         * check/Makefile.am: remove GstData checks
11020         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11021         * gst/Makefile.am: add miniobject, remove data
11022         * gst/gst.h: add miniobject, remove data
11023         * gst/gstdata.c: remove
11024         * gst/gstdata.h: remove
11025         * gst/gstdata_private.h: remove
11026         * gst/gsttypes.h: remove GstEvent and GstMessage
11027         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11028         * gst/gstmarshal.list: change BOXED -> OBJECT
11029
11030         Implement GstMiniObject.
11031         * gst/gstminiobject.c:
11032         * gst/gstminiobject.h:
11033
11034         Modify to be subclasses of GstMiniObject.
11035         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11036         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11037         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11038         (gst_subbuffer_get_type), (gst_subbuffer_init),
11039         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11040         (gst_buffer_span):
11041         * gst/gstbuffer.h:
11042         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11043         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11044         (_gst_event_copy), (gst_event_new):
11045         * gst/gstevent.h:
11046         * gst/gstmessage.c: (_gst_message_initialize),
11047         (gst_message_get_type), (gst_message_class_init),
11048         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11049         (gst_message_new), (gst_message_new_error),
11050         (gst_message_new_warning), (gst_message_new_tag),
11051         (gst_message_new_state_changed), (gst_message_new_application):
11052         * gst/gstmessage.h:
11053         * gst/gstprobe.c: (gst_probe_perform),
11054         (gst_probe_dispatcher_dispatch):
11055         * gst/gstprobe.h:
11056         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11057         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11058         (_gst_query_copy), (gst_query_new):
11059
11060         Update elements for GstData -> GstMiniObject changes
11061         * gst/gstquery.h:
11062         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11063         (gst_queue_chain), (gst_queue_loop):
11064         * gst/elements/gstbufferstore.c:
11065         (gst_buffer_store_add_buffer_func),
11066         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11067         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11068         (gst_fakesink_render):
11069         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11070         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11071         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11072         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11073         (gst_filesrc_create_read):
11074         * gst/elements/gstidentity.c: (gst_identity_class_init):
11075         * gst/elements/gsttypefindelement.c:
11076         (gst_type_find_element_src_event), (free_entry_buffers),
11077         (gst_type_find_element_handle_event):
11078         * libs/gst/dataprotocol/dataprotocol.c:
11079         (gst_dp_header_from_buffer):
11080         * libs/gst/dataprotocol/dataprotocol.h:
11081         * libs/gst/dataprotocol/dp-private.h:
11082
11083 2005-05-15  David Schleef  <ds@schleef.org>
11084
11085         * gst/elements/gstelements.c: Don't include headers that were
11086         just removed.
11087
11088 2005-05-15  David Schleef  <ds@schleef.org>
11089
11090         * gst/elements/Makefile.am: Remove some elements that don't
11091         need to be in the core (or even exist at all).
11092         * gst/elements/gstaggregator.c:
11093         * gst/elements/gstaggregator.h:
11094         * gst/elements/gstmd5sink.c:
11095         * gst/elements/gstmd5sink.h:
11096         * gst/elements/gstmultifilesrc.c:
11097         * gst/elements/gstmultifilesrc.h:
11098         * gst/elements/gstpipefilter.c:
11099         * gst/elements/gstpipefilter.h:
11100         * gst/elements/gstshaper.c:
11101         * gst/elements/gstshaper.h:
11102         * gst/elements/gststatistics.c:
11103         * gst/elements/gststatistics.h:
11104         * po/POTFILES.in: Remove above files.
11105
11106 2005-05-14  Andy Wingo  <wingo@pobox.com>
11107
11108         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11109         so as to get the refs right.
11110         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11111         unreffing objects that don't pass the filter.
11112
11113         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11114         gst_element_set_bus.
11115         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11116         normal cases, this will destroy the bus.
11117
11118         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11119         object.
11120
11121         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11122         has no sinks.
11123
11124 2005-05-13  Andy Wingo  <wingo@pobox.com>
11125
11126         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11127         gst_pad_link, call pad_link_maybe_ghosting,
11128         (pad_link_maybe_ghosting): Links pads, making sure that the
11129         elements being linked are in the same bin.
11130         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11131         Helpers for pad_link_maybe_ghosting.
11132
11133 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11134
11135         * configure.ac:
11136           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11137
11138 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11139
11140         * docs/design/part-element-source.txt:
11141           Mention GstPushSrc
11142
11143 2005-05-12  Wim Taymans  <wim@fluendo.com>
11144
11145         * gst/base/gstbasesink.c: (gst_basesink_init),
11146         (gst_basesink_activate):
11147         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11148         (gst_basesrc_is_seekable):
11149         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11150         (bin_element_is_sink), (gst_bin_change_state):
11151         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11152         * gst/gstelement.h:
11153         Identify sinks by their flag to avoid overly complicated
11154         checks (fow now).
11155         Do state changes even for elements not reachable from the
11156         sinks.
11157         BaseSink is a sink now :)
11158         Some more debugging info in the basesrc.
11159
11160
11161 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11162
11163         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11164           Implement _query on a bin, similar to _send_event.
11165
11166 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11167
11168         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11169           Discont event offset format should be GST_FORMAT_BYTES,
11170           not GST_FORMAT_TIME.
11171
11172 2005-05-12  Wim Taymans  <wim@fluendo.com>
11173
11174         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11175         Same fix as Ronald's but without the signal. 
11176
11177 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11178
11179         * gst/gstutils.c: (gst_element_query_position):
11180           No, an element is not a pad.
11181
11182 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11183
11184         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11185         (gst_bin_get_state):
11186           If a child is removed from a bin while we remove the child from
11187           the bin and while we're retrieving its state, signal this to the
11188           get_state function so we abort the wait (instead of waiting for
11189           a timeout) and can immediately re-iterate over all other elements.
11190
11191 2005-05-12  Wim Taymans  <wim@fluendo.com>
11192
11193         * gst/base/Makefile.am:
11194         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11195         (gst_basesrc_start):
11196         * gst/base/gstbasesrc.h:
11197         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11198         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11199         (gst_pushsrc_init), (gst_pushsrc_create):
11200         * gst/base/gstpushsrc.h:
11201         Added is_seekable to BaseSrc
11202         Added simple PushSrc.
11203
11204 2005-05-11  Wim Taymans  <wim@fluendo.com>
11205
11206         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11207         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11208         (gst_element_link_pads), (gst_element_query_position),
11209         (gst_element_query_convert), (intersect_caps_func),
11210         (gst_pad_query_position), (gst_pad_query_convert):
11211         Fix refcounting in utils function.
11212         No point in trying to activate a pad when it's added, it could
11213         be added from the state change function and then we deadlock, the
11214         element has to decide what to do.
11215
11216 2005-05-10  Andy Wingo  <wingo@pobox.com>
11217
11218         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11219         *all* the arguments.
11220
11221         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11222         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11223         lock (according to the docs -- if this is wrong change the docs).
11224
11225         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11226         flush messages in the NULL state.
11227
11228         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11229         message immediately and return.
11230         (gst_bus_set_flushing): New function. If a bus is flushing, it
11231         flushes out any queued messages and immediately unrefs new
11232         messages. This is so when an element goes to NULL, all of the
11233         unhandled messages coming from it can be freed, and their
11234         references to the element dropped. In other words: message source
11235         ref considered harmful :P
11236
11237         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11238         we're finished with it.
11239
11240         * gst/gstmessage.c (gst_message_new_state_changed): 
11241
11242 2005-05-10  Wim Taymans  <wim@fluendo.com>
11243
11244         * gst/gstvalue.c: (gst_value_compare_flags),
11245         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11246         (_gst_value_initialize):
11247         Added flags serialize/deserialize/compare code.
11248
11249 2005-05-09  Andy Wingo  <wingo@pobox.com>
11250
11251         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11252         Intersect the peer's caps with our caps.
11253
11254 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11255
11256         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11257         * gst/elements/gsttypefindelement.c: (find_peek):
11258           Handle negative offsets better. Fixes decodebin.
11259
11260 2005-05-09  Wim Taymans  <wim@fluendo.com>
11261
11262         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11263         (gst_base_transform_event):
11264         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11265         Implement accept_caps.
11266         Fix silly lock/unlock mismatch in base class.
11267
11268 2005-05-09  Wim Taymans  <wim@fluendo.com>
11269
11270         * docs/design/draft-push-pull.txt:
11271         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11272         * gst/elements/gstfilesink.c: (gst_filesink_init),
11273         (gst_filesink_query):
11274         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11275         (gst_type_find_handle_src_query), (find_element_get_length):
11276         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11277         * gst/gstelement.h:
11278         * gst/gstmessage.c:
11279         * gst/gstmessage.h:
11280         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11281         (gst_real_pad_get_caps_unlocked),
11282         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11283         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11284         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11285         (gst_real_pad_dispose), (gst_real_pad_finalize),
11286         (gst_pad_load_and_link), (gst_pad_save_thyself),
11287         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11288         (gst_pad_check_pull_range), (gst_pad_pull_range),
11289         (gst_pad_template_get_type), (gst_pad_template_class_init),
11290         (gst_pad_template_init), (gst_pad_template_dispose),
11291         (name_is_valid), (gst_static_pad_template_get),
11292         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11293         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11294         (gst_pad_get_element_private), (gst_pad_start_task),
11295         (gst_pad_pause_task), (gst_pad_stop_task),
11296         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11297         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11298         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11299         (gst_ghost_pad_new):
11300         * gst/gstpad.h:
11301         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11302         (gst_query_new_position), (gst_query_set_position),
11303         (gst_query_parse_position), (gst_query_new_convert),
11304         (gst_query_set_convert), (gst_query_parse_convert):
11305         * gst/gstquery.h:
11306         * gst/gstqueryutils.c:
11307         * gst/gstqueryutils.h:
11308         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11309         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11310         (gst_queue_handle_src_query):
11311         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11312         (gst_element_query_position), (gst_element_query_convert),
11313         (intersect_caps_func), (gst_pad_query_position),
11314         (gst_pad_query_convert):
11315         * gst/gstutils.h:
11316         * tools/gst-inspect.c: (print_pad_info):
11317         * tools/gst-xmlinspect.c: (print_element_info):
11318         Remove old query functions. Ported old code.
11319         Added position/convert helper functions to gstutils.
11320         Reordered gstpad.c code, grouping relevant things.
11321         Remove gst_message_new(), always need to speficy a specific
11322         message.
11323
11324
11325 2005-05-09  Andy Wingo  <wingo@pobox.com>
11326
11327         * gst/gstiterator.h: Add some includes.
11328
11329         * gst/gstqueryutils.h: Include more headers.
11330
11331         * gst/gstpad.h:
11332         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11333         some uses of gst_pad_query.
11334
11335         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11336         NULL out parameters.
11337         (gst_query_new_position): New proc, allocates a new position
11338         query.
11339
11340         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11341         gstqueryutils.c to the build.
11342
11343         * gst/gststructure.c (gst_structure_set_valist): Implement with
11344         the generic G_VALUE_COLLECT.
11345         
11346 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11347
11348         * gst/Makefile.am: (gst_headers):
11349         Added gstqueryutils.h to the list of headers to install, that was
11350         a 'nachty' move wingo :)
11351
11352 2005-05-06  Andy Wingo  <wingo@pobox.com>
11353
11354         * gst/gstquery.h
11355         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11356         GstData, init a memchunk.
11357         (standard_definitions): Add a few query types, deprecate a few.
11358         (gst_query_get_type): New proc.
11359         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11360         implementation.
11361         (gst_query_new_application, gst_query_get_structure): New public
11362         procs.
11363
11364         * docs/design/draft-query.txt: Removed LINKS from the query types,
11365         because all the rest can be dispatched to other pads -- seemed
11366         ugly to have a query that couldn't be dispatched. internal_links
11367         is fine as a pad method.
11368
11369         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11370         in gstpad.c, but maintain binary compatibility for the moment.
11371         Will fix before 0.9 is out.
11372
11373         * gst/gstqueryutils.c: 
11374         * gst/gstqueryutils.h: New files, implement 3 methods for each
11375         query type: parse_query, parse_response, and set. Probably need an
11376         allocator as well.
11377
11378         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11379
11380         * gst/elements/gstfilesink.c (gst_filesink_query2):
11381         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11382         query_types, and formats methods.
11383
11384         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11385         (gst_pad_set_query2_function): New functions.
11386         (gst_real_pad_init): Set query2_default as the default query2
11387         function. Basically just dispatches to internally linked pads.
11388
11389         Needs review!
11390         
11391         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11392         without using the atomic operations. Only one thread can possibly
11393         be accessing the data at this point. Changed so as to avoid
11394         gst_atomic operations.
11395
11396 2005-05-06  Wim Taymans  <wim@fluendo.com>
11397
11398         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11399         Also set caps if we use the fallback buffer alloc.
11400
11401 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11402
11403         * docs/gst/Makefile.am:
11404         * docs/gst/gstreamer-docs.sgml:
11405         * docs/gst/gstreamer-sections.txt:
11406         * docs/gst/tmpl/gstatomic.sgml:
11407         * docs/gst/tmpl/gstmemchunk.sgml:
11408         * testsuite/elements/struct_i386.h:
11409         * win32/GStreamer.vcproj:
11410         * win32/Makefile:
11411           Purge GstAtomic stuff from docs and win32 makefiles as well
11412
11413 2005-05-06  Wim Taymans  <wim@fluendo.com>
11414
11415         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11416         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11417         * gst/gstpad.c: (gst_pad_peer_get_caps):
11418         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11419         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11420         (gst_queue_src_activate), (gst_queue_change_state):
11421         * gst/gstqueue.h:
11422         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11423         (intersect_caps_func):
11424         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11425         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11426         Some fixes for the peer_get_caps() change.
11427
11428 2005-05-06  Wim Taymans  <wim@fluendo.com>
11429
11430         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11431         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11432         (gst_basesink_activate):
11433         Actually do something with error codes returned from the push
11434         functions.
11435
11436 2005-05-06  Wim Taymans  <wim@fluendo.com>
11437
11438         * docs/design/part-element-sink.txt:
11439         * docs/design/part-element-source.txt:
11440         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11441         (gst_basesink_event), (gst_basesink_activate):
11442         * gst/base/gstbasesink.h:
11443         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11444         (gst_basesrc_activate):
11445         * gst/base/gstbasesrc.h:
11446         * gst/gstelement.c: (gst_element_pads_activate):
11447         Some more documentation.
11448         Fixed scheduling decision in _pads_activate().
11449
11450 2005-05-05  Andy Wingo  <wingo@pobox.com>
11451
11452         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11453         the test suite.
11454
11455 2005-05-05  Wim Taymans  <wim@fluendo.com>
11456
11457         * gst/base/Makefile.am:
11458         * gst/base/gstbasesink.h:
11459         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11460         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11461         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11462         (gst_collectpads_class_init), (gst_collectpads_init),
11463         (gst_collectpads_finalize), (gst_collectpads_new),
11464         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11465         (find_pad), (gst_collectpads_remove_pad),
11466         (gst_collectpads_is_active), (gst_collectpads_collect),
11467         (gst_collectpads_collect_range), (gst_collectpads_start),
11468         (gst_collectpads_stop), (gst_collectpads_peek),
11469         (gst_collectpads_pop), (gst_collectpads_available),
11470         (gst_collectpads_read), (gst_collectpads_flush),
11471         (gst_collectpads_chain):
11472         * gst/base/gstcollectpads.h:
11473         * gst/elements/Makefile.am:
11474         * gst/elements/gstelements.c:
11475         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11476         (gst_fakesink_get_times), (gst_fakesink_event),
11477         (gst_fakesink_preroll), (gst_fakesink_render):
11478         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11479         (gst_filesink_init), (gst_filesink_set_location),
11480         (gst_filesink_open_file), (gst_filesink_close_file),
11481         (gst_filesink_pad_query), (gst_filesink_event),
11482         (gst_filesink_render), (gst_filesink_change_state):
11483         * gst/elements/gstfilesink.h:
11484         Added object to help in making collect pad based elements.
11485         Ported filesink.
11486         Make event function in sink baseclass return gboolean.
11487
11488 2005-05-05  Wim Taymans  <wim@fluendo.com>
11489
11490         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11491         (gst_bin_get_by_name):
11492         * gst/gstbuffer.h:
11493         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11494         (gst_clock_finalize):
11495         * gst/gstdata.c: (gst_data_replace):
11496         * gst/gstdata.h:
11497         * gst/gstelement.c: (gst_element_request_pad),
11498         (gst_element_pads_activate):
11499         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11500         (gst_object_unref):
11501         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11502         (gst_pad_set_checkgetrange_function),
11503         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11504         (gst_pad_check_pull_range), (gst_pad_pull_range),
11505         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11506         (gst_pad_pause_task), (gst_pad_stop_task):
11507         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11508         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11509         Fix name lookup in GstBin.
11510         Added _data_replace() function and _buffer_replace()
11511         Use finalize method to clean up clock.
11512         Fix refcounting on request pads.
11513         Fix pad schedule mode error.
11514         Some more object refcounting debug info,
11515
11516
11517 2005-05-04  Andy Wingo <wingo@pobox.com>
11518
11519         * check/Makefile.am:
11520         * docs/gst/tmpl/gstatomic.sgml:
11521         * docs/gst/tmpl/gstplugin.sgml:
11522         * gst/base/gstbasesink.c: (gst_basesink_activate):
11523         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11524         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11525         (gst_basesrc_query), (gst_basesrc_set_property),
11526         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11527         (gst_basesrc_activate):
11528         * gst/base/gstbasesrc.h:
11529         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11530         (gst_base_transform_src_activate):
11531         * gst/elements/gstelements.c:
11532         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11533         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11534         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11535         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11536         (gst_type_find_element_checkgetrange),
11537         (gst_type_find_element_activate):
11538         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11539         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11540         (gst_caps_load_thyself):
11541         * gst/gstelement.c: (gst_element_pads_activate),
11542         (gst_element_save_thyself), (gst_element_restore_thyself):
11543         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11544         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11545         * gst/gstpad.h:
11546         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11547         (gst_xml_parse_file), (gst_xml_parse_memory),
11548         (gst_xml_get_element), (gst_xml_make_element):
11549         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11550         (_file_index_id_save_xml), (gst_file_index_commit):
11551         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11552         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11553         (load_paths):
11554         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11555         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11556         * tools/gst-complete.c: (main):
11557         * tools/gst-compprep.c: (main):
11558         * tools/gst-inspect.c: (print_element_properties_info):
11559         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11560         * tools/gst-xmlinspect.c: (print_element_properties):
11561         GCC 4 fixen.
11562         
11563 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11564
11565         * gst/gstplugin.c: (gst_plugin_check_module),
11566         (gst_plugin_check_file), (gst_plugin_load_file):
11567             apply patch from #172526 to make register work on MacOSX
11568
11569 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11570
11571         * docs/gst/tmpl/gstconfig.sgml:
11572         * gst/gstconfig.h.in:
11573           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11574         * testsuite/debug/printf_extension.c: (main):
11575           Do not use GST_PTR_FORMAT on pointers to types with
11576           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11577         * testsuite/elements/property.h:
11578           use correct printf format
11579
11580 2005-05-02  Wim Taymans  <wim@fluendo.com>
11581
11582         * docs/design/draft-push-pull.txt:
11583         * docs/design/draft-query.txt:
11584         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11585         (gst_basesrc_start):
11586         Added draft for new query API.
11587         Added draft for better selecting scheduling methods.
11588         Make basesrc ignore length if the subclass does not support
11589         it.
11590
11591 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11592
11593         * gst/Makefile.am:
11594           possible fixes for automake-1.5 - _LIBADD is reserved
11595
11596 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11597
11598         * docs/faq/Makefile.am:
11599         * docs/manual/Makefile.am:
11600         * docs/manuals.mak:
11601         * docs/pwg/Makefile.am:
11602         * gst/Makefile.am:
11603           possible fixes for automake-1.5
11604
11605 2005-04-28  Wim Taymans  <wim@fluendo.com>
11606
11607         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11608         (gst_basesink_pad_getcaps), (gst_basesink_init),
11609         (gst_basesink_do_sync):
11610         * gst/gstclock.c: (gst_clock_entry_new):
11611         * gst/gstevent.c: (gst_event_discont_get_value):
11612         * gst/gstpipeline.c: (pipeline_bus_handler),
11613         (gst_pipeline_change_state):
11614         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11615         Better debugging of clocking info.
11616         Allow NULL values when getting discont values.
11617
11618 2005-04-27  Wim Taymans  <wim@fluendo.com>
11619
11620         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11621         * check/gst/gstpad.c: (gst_pad_suite):
11622         Increase timeout for checks.
11623
11624 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11625
11626         * check/Makefile.am:
11627           fix the broken rule for cleanup.  Apparently this rule is
11628           only needed on FC2, so maybe this warrants further autotool
11629           inspection.
11630
11631 2005-04-26  Wim Taymans  <wim@fluendo.com>
11632
11633         * gst/gsttrashstack.h:
11634         Ooohh. a nasty one! After having a failed pop() from the stack,
11635         it's possible that the stack is empty. In that case, don't
11636         follow the NULL pointer.
11637
11638 2005-04-25  Wim Taymans  <wim@fluendo.com>
11639
11640         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11641         (gst_pad_set_checkgetrange_function),
11642         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11643         (gst_pad_check_pull_range), (gst_pad_pull_range),
11644         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11645         (gst_pad_pause_task), (gst_pad_stop_task):
11646         * gst/gstplugin.c: (gst_plugin_load):
11647         * gst/gstplugin.h:
11648         Remove gst_library_load as it does more harm than good with
11649         the new g_module flags.
11650         Revert bogus caps template check in pad linking, pad caps
11651         are important when linking not the template, which is more
11652         general than the current caps.
11653
11654 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11655
11656         * gst/autoplug/.cvsignore:
11657         * gst/autoplug/Makefile.am:
11658         * gst/autoplug/gstsearchfuncs.c:
11659         * gst/autoplug/gstsearchfuncs.h:
11660         * gst/autoplug/gstspider.c:
11661         * gst/autoplug/gstspider.h:
11662         * gst/autoplug/gstspideridentity.c:
11663         * gst/autoplug/gstspideridentity.h:
11664         * gst/autoplug/spidertest.c:
11665           Die, spider, die.
11666
11667 2005-04-25  Wim Taymans  <wim@fluendo.com>
11668
11669         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11670         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11671         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11672         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11673         * gst/gstpad.h:
11674         Added stubs for unimplemented functions. 
11675
11676 2005-04-24  David Schleef  <ds@schleef.org>
11677
11678         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11679         please fix.
11680
11681 2005-04-24  David Schleef  <ds@schleef.org>
11682
11683         Convert everything from GstAtomicInt to g_atomic_int_*, and
11684         remove gstatomic.
11685         * gst/Makefile.am:
11686         * gst/gstatomic.c:
11687         * gst/gstatomic.h:
11688         * gst/gstatomic_impl.h:
11689         * gst/gstbuffer.c:
11690         * gst/gstcaps.c:
11691         * gst/gstcaps.h:
11692         * gst/gstclock.c:
11693         * gst/gstclock.h:
11694         * gst/gstdata.c:
11695         * gst/gstdata.h:
11696         * gst/gstdata_private.h:
11697         * gst/gstevent.c:
11698         * gst/gstinfo.c:
11699         * gst/gstinfo.h:
11700         * gst/gstmessage.c:
11701         * gst/gstobject.c:
11702         * gst/gstobject.h:
11703         * gst/gststructure.c:
11704         * gst/gststructure.h:
11705         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11706         * gst/gstutils.h:
11707
11708 2005-04-24  David Schleef  <ds@schleef.org>
11709
11710         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11711         make the regressions tests work.  Remove some code that is no
11712         longer true.
11713         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11714         Disable warning for pads without templates.
11715
11716 2005-04-24  David Schleef  <ds@schleef.org>
11717
11718         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11719         functions that handle filtered links.
11720         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11721         removed functions.
11722         * gst/gstutils.c: Fix/remove utility functions that handle
11723         filtered caps.
11724         * gst/gstutils.h:
11725         * gst/gstvalue.c: Add serialization/deserialization of caps
11726         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11727         requires fixing so that the filter caps notation creates
11728         a capsfilter element and sets the filter_caps property.  I
11729         think everyone probably wants to keep the shorthand notation.
11730         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11731         * docs/gst/tmpl/gstpad.sgml:
11732
11733         * gst/elements/gstelements.c: Register capsfilter element.
11734         * gst/Makefile.am: fix spacing
11735         * docs/random/ds/0.9-suggested-changes: random
11736
11737 2005-04-23  David Schleef  <ds@schleef.org>
11738
11739         * gst/elements/Makefile.am:
11740         * gst/elements/gstcapsfilter.c: New element that acts like an
11741         identity, but filters caps.  Will eventually replace filtered
11742         caps in pad linking.
11743         * gst/gstutils.c: (gst_element_create_all_pads): New function
11744         to create all the ALWAYS pads that are registered with an
11745         element class.  This functionality should eventually be
11746         merged in with GstElement initialization.
11747         * gst/gstutils.h:
11748         * testsuite/trigger/README: part of trigger test code that should
11749         have been checked in a long time ago.
11750
11751 2005-04-23  David Schleef  <ds@schleef.org>
11752
11753         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11754         needed with new versions of libtool (nobody will confirm this),
11755         and hard to carry around.
11756         * gst/autoplug/Makefile.am:
11757         * gst/base/Makefile.am:
11758         * gst/elements/Makefile.am:
11759         * gst/indexers/Makefile.am:
11760         * gst/schedulers/Makefile.am:
11761         * libs/gst/bytestream/Makefile.am:
11762         * libs/gst/control/Makefile.am:
11763         * libs/gst/dataprotocol/Makefile.am:
11764         * libs/gst/getbits/Makefile.am:
11765
11766 2005-04-21  Wim Taymans  <wim@fluendo.com>
11767
11768         * docs/design/draft-push-pull.txt:
11769         * docs/design/part-MT-refcounting.txt:
11770         * docs/design/part-TODO.txt:
11771         * docs/design/part-caps.txt:
11772         * docs/design/part-events.txt:
11773         * docs/design/part-gstbus.txt:
11774         * docs/design/part-gstpipeline.txt:
11775         * docs/design/part-messages.txt:
11776         * docs/design/part-push-pull.txt:
11777         * docs/design/part-query.txt:
11778         Some more docs.
11779
11780 2005-04-21  Wim Taymans  <wim@fluendo.com>
11781
11782         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11783         (gst_message_new), (gst_message_new_error),
11784         (gst_message_new_warning), (gst_message_new_tag),
11785         (gst_message_new_state_changed), (gst_message_new_application),
11786         (gst_message_get_structure):
11787         * gst/gstmessage.h:
11788         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11789         (gst_structure_copy_conditional):
11790         Use parent refcount in GstMessage to ensure GstStructure
11791         consistency.
11792         Cleaned up headers a bit.
11793         
11794
11795 2005-04-20  Wim Taymans  <wim@fluendo.com>
11796
11797         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11798         (gst_basesink_pad_getcaps), (gst_basesink_init),
11799         (gst_basesink_chain_unlocked):
11800         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11801         (gst_type_find_helper):
11802         * gst/elements/gsttypefindelement.c:
11803         (gst_type_find_element_have_type), (gst_type_find_element_init),
11804         (stop_typefinding), (gst_type_find_element_handle_event),
11805         (find_suggest), (gst_type_find_element_chain),
11806         (gst_type_find_element_checkgetrange),
11807         (gst_type_find_element_getrange), (do_typefind),
11808         (gst_type_find_element_activate):
11809         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11810         (gst_buffer_default_free), (gst_buffer_default_copy),
11811         (gst_buffer_set_caps):
11812         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11813         (gst_caps_replace):
11814         * gst/gstmessage.c: (gst_message_new),
11815         (gst_message_new_state_changed):
11816         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11817         (gst_pad_set_checkgetrange_function),
11818         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11819         (gst_pad_set_caps), (gst_pad_check_pull_range),
11820         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11821         * gst/gstpad.h:
11822         * gst/gsttypefind.c: (gst_type_find_register):
11823         Make gst_caps_replace() work like other _replace() functions.
11824         Use _caps_replace() where possible.
11825         Make sure _message_new() initialises its field.
11826         Add gst_static_pad_template_get_caps()
11827
11828
11829 2005-04-18  Andy Wingo  <wingo@pobox.com>
11830
11831         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11832         on the peer, not the pad. I think that was a typo. Pass an extra
11833         arg to see if random access is possible. Activate the pads as
11834         PULL_RANGE if possible.
11835
11836         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11837
11838         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11839         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11840         to PROP_....
11841
11842 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11843
11844         * docs/faq/using.xml:
11845           Add note on gstreamer-properties (#154996).
11846
11847 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11848
11849         * docs/random/bbb/optional-properties:
11850           Some analysis on optional properties.
11851
11852 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11853
11854         * docs/gst/tmpl/gstelementfactory.sgml:
11855         * gst/gstelement.h:
11856         * gst/gstelementfactory.c: (gst_element_factory_init),
11857         (gst_element_factory_cleanup), (gst_element_register),
11858         (__gst_element_factory_add_static_pad_template),
11859         (gst_element_factory_get_static_pad_templates),
11860         (gst_element_factory_can_src_caps),
11861         (gst_element_factory_can_sink_caps):
11862         * gst/registries/Makefile.am:
11863         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11864         (gst_xml_registry_class_init), (gst_xml_registry_init),
11865         (gst_xml_registry_new), (gst_xml_registry_set_property),
11866         (gst_xml_registry_get_property), (get_time), (make_dir),
11867         (gst_xml_registry_get_perms_func),
11868         (plugin_times_older_than_recurse), (plugin_times_older_than),
11869         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11870         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11871         (add_to_char_array), (read_string), (read_uint), (read_enum),
11872         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11873         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11874         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11875         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11876         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11877         (gst_xml_registry_rebuild):
11878         * gst/registries/gstlibxmlregistry.h:
11879         * tools/gst-compprep.c: (main):
11880         * tools/gst-inspect.c: (print_pad_templates_info):
11881         * tools/gst-xmlinspect.c: (print_element_info):
11882           Use libxml2 for registry parsing, use staticpadtemplates in
11883           elementfactories. Makes gst_init() +/- 10x faster.
11884
11885 2005-04-12  Wim Taymans  <wim@fluendo.com>
11886
11887         * gst/base/Makefile.am:
11888         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11889         (gst_basesink_pad_getcaps), (gst_basesink_init),
11890         (gst_basesink_event), (gst_basesink_change_state):
11891         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11892         (gst_basesrc_init), (gst_basesrc_query),
11893         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11894         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11895         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11896         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11897         (gst_basesrc_stop), (gst_basesrc_activate),
11898         (gst_basesrc_change_state):
11899         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11900         (helper_find_suggest), (gst_type_find_helper):
11901         * gst/base/gsttypefindhelper.h:
11902         * gst/elements/Makefile.am:
11903         * gst/elements/gstelements.c:
11904         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11905         (gst_fakesink_get_times), (gst_fakesink_event),
11906         (gst_fakesink_preroll), (gst_fakesink_render):
11907         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11908         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11909         (gst_fakesrc_get_property), (gst_fakesrc_create),
11910         (gst_fakesrc_start), (gst_fakesrc_stop):
11911         * gst/elements/gstfakesrc.h:
11912         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11913         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11914         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11915         (gst_filesrc_create_read), (gst_filesrc_create),
11916         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11917         (gst_filesrc_start):
11918         * gst/elements/gsttypefindelement.c:
11919         (gst_type_find_element_have_type), (gst_type_find_element_init),
11920         (start_typefinding), (stop_typefinding), (push_buffer_store),
11921         (gst_type_find_element_handle_event),
11922         (gst_type_find_element_chain),
11923         (gst_type_find_element_checkgetrange),
11924         (gst_type_find_element_getrange), (do_typefind),
11925         (gst_type_find_element_activate),
11926         (gst_type_find_element_change_state):
11927         * gst/elements/gsttypefindelement.h:
11928         * gst/gstpipeline.c: (pipeline_bus_handler):
11929         Added typefind helper.
11930         Small preroll fix in the base sink.
11931         Disable typefind code in basesrc.
11932         Crude port of typefindelement.
11933         Fakesrc cleanups.
11934
11935
11936 2005-04-11  Wim Taymans  <wim@fluendo.com>
11937
11938         * check/gst/gstbus.c: (gstbus_suite):
11939         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11940         * check/gstcheck.h:
11941           Fix up the timeout so that the test does not fail.
11942
11943 2005-04-06  Wim Taymans  <wim@fluendo.com>
11944
11945         * gst/base/README:
11946         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11947         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11948         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11949         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11950         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11951         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11952         (gst_basesrc_stop), (gst_basesrc_activate),
11953         (gst_basesrc_change_state), (basesrc_find_peek),
11954         (basesrc_find_suggest), (gst_basesrc_type_find):
11955         * gst/base/gstbasesrc.h:
11956         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11957         (gst_filesrc_class_init), (gst_filesrc_init),
11958         (gst_filesrc_finalize), (gst_filesrc_set_location),
11959         (gst_filesrc_set_property), (gst_filesrc_get_property),
11960         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11961         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11962         (gst_filesrc_create_read), (gst_filesrc_create),
11963         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11964         * gst/elements/gstfilesrc.h:
11965         * gst/gstelement.c: (gst_element_get_state_func),
11966         (gst_element_lost_state), (gst_element_pads_activate):
11967         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11968         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11969         (gst_pad_pull_range):
11970         * gst/gstpad.h:
11971         More work on the generic source base class, implement seeking,
11972         query.
11973         Make filesrc extend the base source class.
11974         Added gst_pad_set_checkgetrange_function to GstPad.
11975
11976 2005-04-06  Andy Wingo  <wingo@pobox.com>
11977
11978         * pkgconfig/gstreamer-base.pc.in:
11979         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11980
11981         * pkgconfig/Makefile.am:
11982         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11983
11984 2005-04-04  Wim Taymans  <wim@fluendo.com>
11985
11986         * gst/base/Makefile.am:
11987         * gst/base/README:
11988         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11989         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11990         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11991         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11992         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11993         (gst_basesrc_base_init), (gst_basesrc_class_init),
11994         (gst_basesrc_init), (gst_basesrc_get_formats),
11995         (gst_basesrc_get_query_types), (gst_basesrc_query),
11996         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11997         (gst_basesrc_set_property), (gst_basesrc_get_property),
11998         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11999         (gst_basesrc_loop), (gst_basesrc_activate),
12000         (gst_basesrc_change_state):
12001         * gst/base/gstbasesrc.h:
12002         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12003         (gst_fakesrc_class_init), (gst_fakesrc_init),
12004         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12005         (gst_fakesrc_get_property), (gst_fakesrc_create):
12006         * gst/elements/gstfakesrc.h:
12007         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12008         (gst_filesrc_open_file), (gst_filesrc_loop),
12009         (gst_filesrc_activate), (filesrc_find_peek),
12010         (gst_filesrc_type_find):
12011         Made base source class, make fakesrc extend it.
12012         Add comments to basesink class.
12013         Some filesrc cleanup.
12014
12015 2005-03-31  David Schleef  <ds@schleef.org>
12016
12017         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12018         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12019         expected to link against libgstreamer.
12020         * gst/base/Makefile.am: link against libgstreamer
12021         * gst/elements/Makefile.am: same
12022
12023 2005-03-31  Andy Wingo  <wingo@pobox.com>
12024
12025         * tests/instantiate/Makefile.am:
12026         * tests/instantiate/caps.c: Add test to test speed of caps copy
12027         and free.
12028
12029         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12030         GMemChunk to be fair.
12031
12032         * gst/gsttrashstack.h: Remove warning about using the fallback
12033         trash stack implementation, it's still faster than malloc.
12034
12035 2005-03-30  Andy Wingo  <wingo@pobox.com>
12036
12037         * tests/complexity.c: Add a copyright.
12038
12039 2005-03-31  Wim Taymans  <wim@fluendo.com>
12040
12041         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12042         (gst_base_transform_class_init), (gst_base_transform_init),
12043         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12044         (gst_base_transform_get_property),
12045         (gst_base_transform_sink_activate),
12046         (gst_base_transform_src_activate),
12047         (gst_base_transform_change_state):
12048         * gst/base/gstbasetransform.h:
12049         * gst/elements/gstidentity.c: (gst_identity_class_init),
12050         (gst_identity_event), (gst_identity_check_perfect),
12051         (gst_identity_transform), (gst_identity_start),
12052         (gst_identity_stop):
12053         Added start/stop methods to transform base class so subclasses 
12054         don't need to deal with state changes even.
12055
12056 2005-03-31  Wim Taymans  <wim@fluendo.com>
12057
12058         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12059         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12060         * gst/gstevent.h:
12061         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12062         (gst_pad_pull_range):
12063         Added rate to the discont event to prepare for variable speed
12064         and reverse playback.
12065
12066 2005-03-29  David Schleef  <ds@schleef.org>
12067
12068         * configure.ac:
12069         * testsuite/trigger/Makefile.am:
12070         * testsuite/trigger/trigger.c: A little example program to show
12071         how trigger-based elements can work.
12072
12073 2005-03-29  Wim Taymans  <wim@fluendo.com>
12074
12075         * gst/base/Makefile.am:
12076         * gst/base/README:
12077         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12078         (gst_basesink_base_init), (gst_basesink_class_init),
12079         (gst_basesink_pad_getcaps), (gst_basesink_init),
12080         (gst_basesink_activate), (gst_basesink_change_state):
12081         * gst/base/gstbasesink.h:
12082         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12083         (gst_base_transform_base_init), (gst_base_transform_finalize),
12084         (gst_base_transform_class_init), (gst_base_transform_init),
12085         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12086         (gst_base_transform_event), (gst_base_transform_getrange),
12087         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12088         (gst_base_transform_set_property),
12089         (gst_base_transform_get_property),
12090         (gst_base_transform_sink_activate),
12091         (gst_base_transform_src_activate),
12092         (gst_base_transform_change_state):
12093         * gst/base/gstbasetransform.h:
12094         * gst/elements/gstidentity.c: (gst_identity_finalize),
12095         (gst_identity_class_init), (gst_identity_init),
12096         (gst_identity_event), (gst_identity_check_perfect),
12097         (gst_identity_transform), (gst_identity_set_property),
12098         (gst_identity_get_property), (gst_identity_change_state):
12099         * gst/elements/gstidentity.h:
12100         * gst/gstelement.c: (gst_element_get_state_func),
12101         (gst_element_lost_state), (gst_element_pads_activate):
12102         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12103         (gst_pad_check_pull_range), (gst_pad_pull_range):
12104         * gst/gstpad.h:
12105         Simplify pad activation.
12106         Added function to check if pull_range can be performed.
12107         Error out when pulling inactive or flushing pads.
12108         Removed const from refcounted types as it does not make sense.
12109         Simplify pad templates in basesink
12110         Added base class for simple 1-to-1 transforms.
12111         Make identity subclass the base transform.
12112
12113 2005-03-29  Andy Wingo  <wingo@pobox.com>
12114
12115         * docs/libs/gstreamer-libs-overrides.txt: 
12116         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12117         really don't understand what's going on, but like whatever. I want
12118         green buildbot!
12119
12120         * docs/gst/Makefile.am:
12121         * docs/libs/Makefile.am: Dist the overrides files.
12122
12123         * check/Makefile.am (clean-local): Remove .libs directories.
12124
12125         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12126         elements to EXTRA_DIST, so po/ files are happy.
12127
12128         * po/POTFILES.in: Er, remove it here.
12129
12130         * po/POTFILES: Remove gstspider.c.
12131
12132         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12133
12134         * docs/libs/gstreamer-libs-docs.sgml: 
12135         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12136         bytestream.
12137
12138         * tests/complexity.c (main): Set the length of the preroll queue
12139         on the sinks to prevent a lockup.
12140
12141         * libs/gst/dataprotocol/Makefile.am: 
12142         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12143         the same as the one in check/gst-libs/gdp.c.
12144
12145         * po/, docs/gst/: Commit automatic changes to docs and po files.
12146
12147         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12148         the versioned libgstbase.
12149
12150         * check/Makefile.am: Depend on an unversioned gst-register, seems
12151         to make autoconf happier.
12152
12153         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12154
12155 2005-03-28  Wim Taymans  <wim@fluendo.com>
12156
12157         * configure.ac:
12158         * docs/design/part-gstelement.txt:
12159         * docs/design/part-negotiation.txt:
12160         * docs/design/part-preroll.txt:
12161         * docs/design/part-scheduling.txt:
12162         * docs/design/part-states.txt:
12163         * gst/Makefile.am:
12164         * gst/base/Makefile.am:
12165         * gst/base/README:
12166         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12167         (gst_basesink_base_init), (gst_basesink_class_init),
12168         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12169         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12170         (gst_basesink_set_pad_functions),
12171         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12172         (gst_basesink_set_property), (gst_basesink_get_property),
12173         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12174         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12175         (gst_basesink_preroll_queue_push),
12176         (gst_basesink_preroll_queue_empty),
12177         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12178         (gst_basesink_event), (gst_basesink_get_times),
12179         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12180         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12181         (gst_basesink_loop), (gst_basesink_activate),
12182         (gst_basesink_change_state):
12183         * gst/base/gstbasesink.h:
12184         * gst/elements/Makefile.am:
12185         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12186         (gst_fakesink_class_init), (gst_fakesink_init),
12187         (gst_fakesink_set_property), (gst_fakesink_get_property),
12188         (gst_fakesink_get_times), (gst_fakesink_event),
12189         (gst_fakesink_preroll), (gst_fakesink_render),
12190         (gst_fakesink_change_state):
12191         * gst/elements/gstfakesink.h:
12192         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12193         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12194         * gst/gstelement.c: (gst_element_add_pad),
12195         (gst_element_get_state_func), (gst_element_abort_state),
12196         (gst_element_commit_state), (gst_element_lost_state),
12197         (gst_element_set_state), (gst_element_pads_activate):
12198         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12199         * gst/gstpipeline.c: (gst_pipeline_send_event),
12200         (gst_pipeline_change_state):
12201         Added state change code.
12202         Added/updated docs.
12203         Added sink base class, make fakesink extend the base class.
12204         Small cleanups in GstPipeline.
12205
12206 2005-03-26  David Schleef  <ds@schleef.org>
12207
12208         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12209         is broken and should be implemented in a different library.
12210         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12211         * gst/gst.h: remove gstcpu.h
12212         * gst/gstcpu.c: remove
12213         * gst/gstcpu.h: remove
12214         * gst/Makefile.am.future: Remove this file.  It's ancient.
12215
12216 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12217
12218         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12219         (gst_bin_send_event):
12220           Add default event/set_manager handlers. The set_manager handler
12221           takes care that the manager is distributed over kids that were
12222           already in the bin before the manager was set. The event handler
12223           is a utility virtual function that sends the event over all sinks,
12224           so that gst_element_send_event (bin, event); has the expected
12225           behaviour.
12226         * gst/gstpad.c: (gst_pad_event_default):
12227           Re-install default event handling for discontinuities, so that
12228           seeking works without requiring hacks in applications or extra
12229           code in sinks.
12230         * gst/gstpipeline.c: (gst_pipeline_class_init),
12231         (gst_pipeline_send_event):
12232           Half hack, half utility: set a pipeline to PAUSED for seek events,
12233           since that is the only way we can guarantee a/v sync. Means that
12234           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12235           and it "just works".
12236
12237 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12238
12239         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12240           Lock/unlock mismatch.
12241
12242 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12243
12244         * docs/faq/gst-uninstalled:
12245           add gst-plugins-base
12246         * docs/gst/Makefile.am:
12247           don't error out until docs are fixed
12248         * docs/gst/gstreamer.types:
12249           remove thread
12250
12251 2005-03-22  Wim Taymans  <wim@fluendo.com>
12252
12253         * check/Makefile.am:
12254         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12255         * gst/gststructure.c: (gst_structure_set_valist),
12256         (gst_structure_copy_conditional):
12257         Activated more tests.
12258         Added message test.
12259         Added G_TYPE_POINTER to GstStructure.
12260         
12261
12262 2005-03-22  Wim Taymans  <wim@fluendo.com>
12263
12264         * docs/design/part-TODO.txt:
12265         * docs/design/part-events.txt:
12266         * docs/design/part-gstbin.txt:
12267         * docs/design/part-gstbus.txt:
12268         * docs/design/part-gstpipeline.txt:
12269         * docs/design/part-messages.txt:
12270         * gst/gstbus.c:
12271         * gst/gstmessage.c:
12272         Docs updates
12273
12274 2005-03-21  Wim Taymans  <wim@fluendo.com>
12275
12276         * gst/gstbus.c: (gst_bus_post):
12277         Fix copy-and-paste error.
12278
12279 2005-03-21  Wim Taymans  <wim@fluendo.com>
12280
12281         * check/Makefile.am:
12282         * gst/Makefile.am:
12283         * gst/elements/Makefile.am:
12284         * gst/elements/gstelements.c:
12285         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12286         (gst_fakesink_event), (gst_fakesink_chain):
12287         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12288         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12289         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12290         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12291         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12292         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12293         (gst_fakesrc_loop), (gst_fakesrc_activate),
12294         (gst_fakesrc_change_state):
12295         * gst/elements/gstfakesrc.h:
12296         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12297         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12298         (gst_filesrc_open_file), (gst_filesrc_loop),
12299         (gst_filesrc_activate), (gst_filesrc_change_state),
12300         (filesrc_find_peek), (filesrc_find_suggest),
12301         (gst_filesrc_type_find):
12302         * gst/elements/gstidentity.c: (gst_identity_finalize),
12303         (gst_identity_class_init), (gst_identity_init),
12304         (gst_identity_proxy_getcaps), (identity_queue_push),
12305         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12306         (gst_identity_getrange), (gst_identity_chain),
12307         (gst_identity_sink_loop), (gst_identity_src_loop),
12308         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12309         (gst_identity_set_property), (gst_identity_get_property),
12310         (gst_identity_change_state):
12311         * gst/elements/gstidentity.h:
12312         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12313         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12314         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12315         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12316         (gst_tee_sink_activate):
12317         * gst/elements/gsttee.h:
12318         * gst/gst.c: (gst_register_core_elements), (init_post):
12319         * gst/gst.h:
12320         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12321         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12322         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12323         (gst_bin_change_state):
12324         * gst/gstbin.h:
12325         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12326         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12327         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12328         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12329         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12330         (bus_watch_callback), (bus_watch_destroy),
12331         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12332         (poll_timeout), (gst_bus_poll):
12333         * gst/gstbus.h:
12334         * gst/gstcaps.h:
12335         * gst/gstdata.h:
12336         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12337         (gst_element_post_message), (gst_element_message_full),
12338         (gst_element_get_state_func), (gst_element_get_state),
12339         (gst_element_abort_state), (gst_element_commit_state),
12340         (gst_element_lost_state), (gst_element_set_state),
12341         (gst_element_pads_activate), (gst_element_change_state),
12342         (gst_element_dispose), (gst_element_set_manager_func),
12343         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12344         (gst_element_set_manager), (gst_element_get_manager),
12345         (gst_element_set_bus), (gst_element_get_bus),
12346         (gst_element_set_scheduler), (gst_element_get_scheduler):
12347         * gst/gstelement.h:
12348         * gst/gstevent.c: (gst_event_new_segment_seek),
12349         (gst_event_new_flush):
12350         * gst/gstevent.h:
12351         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12352         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12353         (gst_message_new_eos), (gst_message_new_error),
12354         (gst_message_new_warning), (gst_message_new_tag),
12355         (gst_message_new_state_changed), (gst_message_new_application),
12356         (gst_message_get_structure), (gst_message_parse_tag),
12357         (gst_message_parse_state_changed), (gst_message_parse_error),
12358         (gst_message_parse_warning):
12359         * gst/gstmessage.h:
12360         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12361         (gst_real_pad_set_property), (gst_pad_set_active),
12362         (gst_pad_is_active), (gst_pad_set_blocked_async),
12363         (gst_pad_set_blocked), (gst_pad_is_blocked),
12364         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12365         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12366         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12367         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12368         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12369         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12370         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12371         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12372         (gst_pad_set_caps), (gst_pad_configure_sink),
12373         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12374         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12375         (gst_real_pad_dispose), (gst_real_pad_finalize),
12376         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12377         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12378         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12379         * gst/gstpad.h:
12380         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12381         (pipeline_bus_handler), (gst_pipeline_change_state),
12382         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12383         * gst/gstpipeline.h:
12384         * gst/gstprobe.h:
12385         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12386         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12387         (gst_queue_link_src), (gst_queue_bufferalloc),
12388         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12389         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12390         (gst_queue_loop), (gst_queue_handle_src_event),
12391         (gst_queue_handle_src_query), (gst_queue_src_activate),
12392         (gst_queue_change_state):
12393         * gst/gstqueue.h:
12394         * gst/gstscheduler.c: (gst_scheduler_init),
12395         (gst_scheduler_dispose), (gst_scheduler_create_task),
12396         (gst_scheduler_factory_create):
12397         * gst/gstscheduler.h:
12398         * gst/gststructure.c: (gst_structure_get_type),
12399         (gst_structure_copy_conditional):
12400         * gst/gststructure.h:
12401         * gst/gsttaginterface.h:
12402         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12403         (gst_task_init), (gst_task_dispose), (gst_task_create),
12404         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12405         (gst_task_pause):
12406         * gst/gsttask.h:
12407         * gst/gstthread.c:
12408         * gst/gstthread.h:
12409         * gst/gsttypes.h:
12410         * gst/schedulers/Makefile.am:
12411         * gst/schedulers/cothreads_compat.h:
12412         * gst/schedulers/entryscheduler.c:
12413         * gst/schedulers/faircothreads.c:
12414         * gst/schedulers/faircothreads.h:
12415         * gst/schedulers/fairscheduler.c:
12416         * gst/schedulers/gstbasicscheduler.c:
12417         * gst/schedulers/gstoptimalscheduler.c:
12418         * gst/schedulers/gthread-cothreads.h:
12419         * gst/schedulers/threadscheduler.c:
12420         (gst_thread_scheduler_task_get_type),
12421         (gst_thread_scheduler_task_class_init),
12422         (gst_thread_scheduler_task_init),
12423         (gst_thread_scheduler_task_start),
12424         (gst_thread_scheduler_task_stop),
12425         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12426         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12427         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12428         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12429         (plugin_init):
12430         * libs/gst/Makefile.am:
12431         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12432         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12433         (gst_file_pad_parent_set):
12434         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12435         (gst_dp_event_from_packet):
12436         * tests/complexity.c: (main):
12437         * tests/mass_elements.c: (main):
12438         * testsuite/states/locked.c: (message_received), (main):
12439         * testsuite/states/parent.c: (main):
12440         * tools/gst-inspect.c: (print_element_flag_info),
12441         (print_implementation_info), (print_pad_info):
12442         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12443         (main):
12444         * tools/gst-md5sum.c: (event_loop), (main):
12445         * tools/gst-typefind.c: (main):
12446         * tools/gst-xmlinspect.c: (print_element_info):
12447         Next big merge.
12448         Added GstBus for mainloop integration.
12449         Added GstMessage for sending notifications on the bus.
12450         Added GstTask as an abstraction for pipeline entry points.
12451         Removed GstThread.
12452         Removed Schedulers.
12453         Simplified GstQueue for multithreaded core.
12454         Made _link threadsafe, removed old capsnego.
12455         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12456         Added pad blocking functions.
12457         Reworked scheduling functions in GstPad to prepare for
12458         scheduling updates soon.
12459         Moved events out of data stream.
12460         Simplified GstEvent types.
12461         Added return values to push/pull.
12462         Removed clocking from GstElement.
12463         Added prototypes for state change function for next merge.
12464         Removed iterate from bins and state change management.
12465         Fixed some elements, disabled others for now.
12466         Fixed -inspect and -launch.
12467         Added check for GstBus.
12468
12469 2005-03-10  Wim Taymans  <wim@fluendo.com>
12470
12471         * docs/design/part-MT-refcounting.txt:
12472         * docs/design/part-clocks.txt:
12473         * docs/design/part-gstelement.txt:
12474         * docs/design/part-gstobject.txt:
12475         * docs/design/part-standards.txt:
12476         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12477         (gst_bin_remove_func), (gst_bin_remove):
12478         * gst/gstbin.h:
12479         * gst/gstbuffer.c:
12480         * gst/gstcaps.h:
12481         * testsuite/clock/clock1.c: (main):
12482         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12483         (main):
12484         * testsuite/dlopen/loadgst.c: (do_test):
12485         * testsuite/refcounting/bin.c: (add_remove_test1),
12486         (add_remove_test2), (main):
12487         * testsuite/refcounting/element.c: (main):
12488         * testsuite/refcounting/element_pad.c: (main):
12489         * testsuite/refcounting/pad.c: (main):
12490         * tools/gst-launch.c: (sigint_handler_sighandler):
12491         * tools/gst-typefind.c: (main):
12492         Doc updates.
12493         Added doc about clock.
12494         removed gst_bin_iterate_recurse_up(), marked methods
12495         for removal.
12496         Fix more testsuites.
12497
12498 2005-03-09  Wim Taymans  <wim@fluendo.com>
12499
12500         * gst/gstpad.c: (gst_pad_get_direction),
12501         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12502         (gst_pad_collect_valist):
12503         * testsuite/bins/interface.c: (main):
12504         * testsuite/caps/audioscale.c: (test_caps):
12505         * testsuite/caps/caps.c: (test1), (test2), (test3):
12506         * testsuite/caps/deserialize.c: (main):
12507         * testsuite/caps/enumcaps.c: (main):
12508         * testsuite/caps/filtercaps.c: (main):
12509         * testsuite/caps/intersect2.c: (main):
12510         * testsuite/caps/random.c: (main):
12511         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12512         * testsuite/caps/sets.c: (check_caps):
12513         * testsuite/caps/simplify.c: (check_caps), (main):
12514         * testsuite/caps/subtract.c: (check_caps):
12515         Fix _pad_get_direction wrt ghostpads.
12516         Fix caps testsuite.
12517
12518 2005-03-09  Wim Taymans  <wim@fluendo.com>
12519
12520         * check/Makefile.am:
12521         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12522         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12523         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12524         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12525         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12526         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12527         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12528         (bin_element_is_sink), (gst_bin_iterate_sinks),
12529         (gst_bin_iterate_all_by_interface):
12530         * gst/gstbin.h:
12531         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12532         (gst_element_change_state), (gst_element_dispose),
12533         (gst_element_finalize), (gst_element_set_loop_function):
12534         * gst/gstelement.h:
12535         * gst/gstiterator.c: (find_custom_fold_func):
12536         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12537         (gst_pad_collectv), (gst_pad_collect_valist),
12538         (gst_pad_template_new):
12539         * gst/gstpipeline.c: (gst_pipeline_class_init),
12540         (gst_pipeline_dispose), (gst_pipeline_set_property),
12541         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12542         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12543         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12544         * gst/gstutils.h:
12545         * gst/schedulers/entryscheduler.c:
12546         * gst/schedulers/gstbasicscheduler.c:
12547         (gst_basic_scheduler_cothreaded_chain),
12548         (gst_basic_scheduler_chain_add_element):
12549         * testsuite/bins/interface.c: (main):
12550         Added GstBin test.
12551         Added GstSystemClock test.
12552         Implemented clock distribution code in GstBin.
12553         Implemented iterate sinks method for future use.
12554         Rearranged gstelement.h
12555         Fix GstIterator comparison bug.
12556         Moved some code to GstPipeline, mostly clocking related.
12557
12558 2005-03-09  Wim Taymans  <wim@fluendo.com>
12559
12560         * configure.ac:
12561         * gst/gst_private.h:
12562         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12563         (gst_bin_remove_func), (gst_bin_remove),
12564         (gst_bin_get_by_name_recurse_up):
12565         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12566         (gst_clock_id_compare_func), (gst_clock_id_wait),
12567         (gst_clock_id_wait_async), (gst_clock_init),
12568         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12569         * gst/gstelement.h:
12570         * gst/gstinfo.c: (_gst_debug_init):
12571         * gst/gstobject.h:
12572         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12573         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12574         * gst/gstpad.h:
12575         Bump version number, we're now 0.9.0
12576         Add future debugging category.
12577         Fix NULL _unref() in _get_by_name_recurse_up
12578         Rearrange gstpad.h.
12579         Update some docs.
12580
12581 2005-03-08  Wim Taymans  <wim@fluendo.com>
12582
12583         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12584         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12585         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12586         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12587         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12588         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12589         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12590         * gst/elements/gstidentity.c: (gst_identity_class_init):
12591         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12592         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12593         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12594         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12595         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12596         (gst_tee_link):
12597         * gst/gstelement.c: (gst_element_class_init),
12598         (gst_element_base_class_init), (gst_element_init),
12599         (gst_element_get_random_pad), (gst_element_wait_state_change),
12600         (gst_element_change_state), (gst_element_dispose),
12601         (gst_element_finalize), (gst_element_set_loop_function):
12602         * gst/gstelement.h:
12603         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12604         * gst/gstthread.c: (gst_thread_class_init),
12605         (gst_thread_release_children_locks), (gst_thread_change_state):
12606         * gst/schedulers/gstbasicscheduler.c:
12607         (gst_basic_scheduler_loopfunc_wrapper),
12608         (gst_basic_scheduler_chain_wrapper),
12609         (gst_basic_scheduler_src_wrapper),
12610         (gst_basic_scheduler_remove_element):
12611         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12612         Remove threadsafe properties. Fix elements because GObject
12613         complains when installing a property before declaring a
12614         set/get_property handler.
12615         Rearrange gstelement.h file, use STATE macros for state locks.
12616         Free mutexes in the finalize method instead of dispose.
12617
12618 2005-03-08  Wim Taymans  <wim@fluendo.com>
12619
12620         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12621         * gst/gstthread.c: (gst_thread_release_children_locks):
12622         Added parentage check.
12623         Fix build og GstThread again.
12624
12625 2005-03-08  Wim Taymans  <wim@fluendo.com>
12626
12627         * docs/design/part-MT-refcounting.txt:
12628         * docs/design/part-conventions.txt:
12629         * docs/design/part-gstobject.txt:
12630         * docs/design/part-relations.txt:
12631         * docs/design/part-standards.txt:
12632         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12633         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12634         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12635         (gst_bin_iterate_all_by_interface):
12636         * gst/gstbuffer.h:
12637         * gst/gstclock.h:
12638         * gst/gstelement.c: (gst_element_class_init),
12639         (gst_element_change_state), (gst_element_set_loop_function):
12640         * gst/gstelement.h:
12641         * gst/gstiterator.c:
12642         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12643         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12644         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12645         (gst_object_set_parent), (gst_object_unparent),
12646         (gst_object_check_uniqueness):
12647         * gst/gstobject.h:
12648         Docs updates, clean up some headers.
12649
12650 2005-03-07  Wim Taymans  <wim@fluendo.com>
12651
12652         * check/.cvsignore:
12653         * check/Makefile.am:
12654         * check/gst-libs/.cvsignore:
12655         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12656         * check/gst/.cvsignore:
12657         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12658         (START_TEST), (gstbus_suite), (main):
12659         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12660         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12661         (gst_data_suite), (main):
12662         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12663         (add_fold_func), (gstiterator_suite), (main):
12664         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12665         (thread_name_object), (thread_name_object_default),
12666         (gst_object_name_compare), (gst_object_suite), (main):
12667         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12668         (gst_pad_suite), (main):
12669         * check/gstcheck.c: (gst_check_log_message_func),
12670         (gst_check_log_critical_func), (gst_check_init):
12671         * check/gstcheck.h:
12672         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12673         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12674         Added checks.
12675
12676 2005-03-07  Wim Taymans  <wim@fluendo.com>
12677
12678         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12679         (gst_list_iterator_next), (gst_list_iterator_resync),
12680         (gst_list_iterator_free), (gst_iterator_new_list),
12681         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12682         (gst_iterator_free), (gst_iterator_push), (filter_next),
12683         (filter_resync), (filter_uninit), (filter_free),
12684         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12685         (gst_iterator_foreach), (find_custom_fold_func),
12686         (gst_iterator_find_custom):
12687         * gst/gstiterator.h:
12688         Added missing files.
12689
12690 2005-03-07  Wim Taymans  <wim@fluendo.com>
12691
12692         * Makefile.am:
12693         * configure.ac:
12694         * docs/design/part-MT-refcounting.txt:
12695         * docs/design/part-conventions.txt:
12696         * docs/design/part-gstobject.txt:
12697         * docs/design/part-relations.txt:
12698         * examples/mixer/mixer.c: (main):
12699         * examples/thread/thread.c: (eos), (main):
12700         * gst/Makefile.am:
12701         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12702         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12703         (gst_spider_plug_from_srcpad):
12704         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12705         (gst_spider_identity_change_state),
12706         (gst_spider_identity_sink_loop_type_finding):
12707         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12708         * gst/elements/gstidentity.c: (gst_identity_init):
12709         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12710         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12711         * gst/elements/gsttypefindelement.c: (free_entry):
12712         * gst/gst.c:
12713         * gst/gst.h:
12714         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12715         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12716         (gst_bin_set_index), (gst_bin_set_element_sched),
12717         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12718         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12719         (gst_bin_iterate_elements), (iterate_child_recurse),
12720         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12721         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12722         (compare_interface), (gst_bin_get_by_interface),
12723         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12724         * gst/gstbin.h:
12725         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12726         (gst_buffer_default_free), (gst_buffer_default_copy),
12727         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12728         (gst_buffer_create_sub):
12729         * gst/gstbuffer.h:
12730         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12731         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12732         (gst_caps_unref), (gst_static_caps_get),
12733         (gst_caps_remove_and_get_structure), (gst_caps_append),
12734         (gst_caps_append_structure), (gst_caps_remove_structure),
12735         (gst_caps_copy_nth), (gst_caps_set_simple),
12736         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12737         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12738         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12739         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12740         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12741         (gst_caps_structure_figure_out_union),
12742         (gst_caps_switch_structures), (gst_caps_do_simplify),
12743         (gst_caps_replace), (gst_caps_from_string),
12744         (gst_caps_copy_conditional):
12745         * gst/gstcaps.h:
12746         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12747         (_gst_clock_id_free), (gst_clock_id_unref),
12748         (gst_clock_id_compare_func), (gst_clock_id_wait),
12749         (gst_clock_id_wait_async), (gst_clock_class_init),
12750         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12751         (gst_clock_get_time), (gst_clock_set_time_adjust),
12752         (gst_clock_set_property), (gst_clock_get_property):
12753         * gst/gstclock.h:
12754         * gst/gstcompat.h:
12755         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12756         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12757         * gst/gstdata.h:
12758         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12759         (gst_element_requires_clock), (gst_element_provides_clock),
12760         (gst_element_set_clock), (gst_element_clock_wait),
12761         (gst_element_wait), (gst_element_set_time_delay),
12762         (gst_element_is_indexable), (gst_element_add_pad),
12763         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12764         (pad_compare_name), (gst_element_get_static_pad),
12765         (gst_element_request_pad), (gst_element_get_request_pad),
12766         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12767         (gst_element_class_get_pad_template_list),
12768         (gst_element_class_get_pad_template), (gst_element_error_func),
12769         (gst_element_get_random_pad), (gst_element_get_event_masks),
12770         (gst_element_send_event), (gst_element_seek),
12771         (gst_element_get_query_types), (gst_element_query),
12772         (gst_element_get_formats), (gst_element_convert),
12773         (gst_element_is_locked_state), (gst_element_set_locked_state),
12774         (gst_element_sync_state_with_parent), (gst_element_change_state),
12775         (gst_element_finalize), (gst_element_yield),
12776         (gst_element_interrupt), (gst_element_set_scheduler),
12777         (gst_element_get_scheduler), (gst_element_set_loop_function):
12778         * gst/gstelement.h:
12779         * gst/gstevent.h:
12780         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12781         (gst_format_get_by_nick), (gst_format_get_details),
12782         (gst_format_iterate_definitions):
12783         * gst/gstformat.h:
12784         * gst/gstindex.c: (gst_index_gtype_resolver):
12785         * gst/gstinfo.c:
12786         * gst/gstinfo.h:
12787         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12788         (gst_mem_chunk_free):
12789         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12790         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12791         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12792         (gst_object_dispatch_properties_changed),
12793         (gst_object_set_name_default), (gst_object_set_name),
12794         (gst_object_get_name), (gst_object_set_name_prefix),
12795         (gst_object_get_name_prefix), (gst_object_set_parent),
12796         (gst_object_get_parent), (gst_object_unparent),
12797         (gst_object_check_uniqueness), (gst_object_save_thyself),
12798         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12799         (gst_object_set_property), (gst_object_get_property),
12800         (gst_object_get_path_string):
12801         * gst/gstobject.h:
12802         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12803         (gst_real_pad_init), (gst_real_pad_get_property),
12804         (gst_pad_custom_new), (gst_pad_get_direction),
12805         (gst_pad_set_active), (gst_pad_is_active),
12806         (gst_pad_set_event_function), (gst_pad_is_linked),
12807         (gst_pad_link_free), (gst_pad_link_intersect),
12808         (gst_pad_link_fixate), (gst_pad_set_caps),
12809         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12810         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12811         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12812         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12813         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12814         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12815         (gst_pad_realize), (gst_pad_get_allowed_caps),
12816         (gst_real_pad_dispose), (gst_real_pad_finalize),
12817         (gst_pad_collectv), (gst_pad_collect_valist),
12818         (gst_pad_template_dispose), (gst_pad_template_new),
12819         (gst_pad_get_internal_links):
12820         * gst/gstpad.h:
12821         * gst/gstpipeline.c: (gst_pipeline_dispose),
12822         (gst_pipeline_change_state):
12823         * gst/gstpipeline.h:
12824         * gst/gstplugin.c:
12825         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12826         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12827         * gst/gstpluginfeature.h:
12828         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12829         * gst/gstquery.c: (_gst_query_type_initialize),
12830         (gst_query_type_register), (gst_query_type_get_by_nick),
12831         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12832         * gst/gstquery.h:
12833         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12834         * gst/gstscheduler.c: (gst_scheduler_add_element),
12835         (gst_scheduler_factory_create):
12836         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12837         (gst_structure_free), (gst_structure_set_name),
12838         (gst_structure_id_set_value), (gst_structure_set_value),
12839         (gst_structure_set_valist), (gst_structure_remove_field),
12840         (gst_structure_remove_fields),
12841         (gst_structure_remove_fields_valist),
12842         (gst_structure_remove_all_fields), (gst_structure_foreach),
12843         (gst_structure_map_in_place),
12844         (gst_caps_structure_fixate_field_nearest_int),
12845         (gst_caps_structure_fixate_field_nearest_double):
12846         * gst/gststructure.h:
12847         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12848         (gst_system_clock_init), (gst_system_clock_dispose),
12849         (gst_system_clock_async_thread),
12850         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12851         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12852         * gst/gstsystemclock.h:
12853         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12854         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12855         * gst/gsttaginterface.c:
12856         * gst/gstthread.c: (gst_thread_dispose),
12857         (gst_thread_release_children_locks), (gst_thread_change_state),
12858         (gst_thread_main_loop):
12859         * gst/gsttrashstack.h:
12860         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12861         * gst/gsttypes.h:
12862         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12863         (gst_element_request_pad), (gst_element_get_pad_from_template),
12864         (gst_element_request_compatible_pad),
12865         (gst_element_get_compatible_pad_filtered),
12866         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12867         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12868         (gst_element_link_many), (gst_element_link),
12869         (gst_element_link_pads), (gst_element_unlink_pads),
12870         (gst_element_unlink_many), (gst_element_unlink),
12871         (gst_pad_can_link_filtered), (gst_pad_can_link),
12872         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12873         (gst_object_default_error), (gst_bin_add_many),
12874         (gst_bin_remove_many), (gst_element_populate_std_props),
12875         (gst_element_class_install_std_props), (gst_buffer_merge),
12876         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12877         (link_fold_func), (gst_pad_proxy_setcaps):
12878         * gst/gstutils.h:
12879         * gst/gstvalue.c: (gst_value_deserialize_string):
12880         * gst/parse/grammar.y:
12881         * gst/schedulers/gstbasicscheduler.c:
12882         (gst_basic_scheduler_cothreaded_chain),
12883         (gst_basic_scheduler_chain_recursive_add),
12884         (gst_basic_scheduler_pad_link):
12885         * gst/schedulers/gstoptimalscheduler.c:
12886         (get_group_schedule_function),
12887         (gst_opt_scheduler_state_transition),
12888         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12889         * libs/gst/bytestream/bytestream.c:
12890         * libs/gst/dataprotocol/dataprotocol.c:
12891         (gst_dp_header_from_buffer):
12892         * po/nb.po:
12893         * po/ru.po:
12894         * tests/threadstate/threadstate2.c: (eos):
12895         * tools/gst-compprep.c: (main):
12896         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12897         (print_pad_info), (print_children_info):
12898         * tools/gst-launch.c: (idle_func), (main):
12899         * tools/gst-md5sum.c: (idle_func), (main):
12900         * tools/gst-xmlinspect.c: (print_element_info):
12901         First THREADED backport attempt, focusing on adding locks and
12902         making sure the API is threadsafe. Needs more work. More docs
12903         follow this week.
12904
12905 2005-02-24  Andy Wingo  <wingo@pobox.com>
12906
12907         * tests/bench-complexity.scm:
12908         * tests/complexity.gnuplot: New files, good for running complexity
12909         benchmarks.
12910
12911         * tests/Makefile.am:
12912         * tests/complexity.c: New test, sets up N elements, at each level
12913         teeing into M streams per element. Eeeenteresting.
12914
12915         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12916         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12917         running bench-mass_elements.scm.
12918
12919         * tests/bench-mass_elements.scm: New script, runs mass_elements
12920         for various numbers of identities, outputting the results to a
12921         file. Requires guile 1.6. Just for testing.
12922
12923 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12924
12925         * gst/schedulers/fairscheduler.c:
12926           compile with debug disabled
12927
12928 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12929
12930         * configure.ac:
12931           hunting season on 0.9 is now OPEN