fix docs
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * docs/gst/gstreamer-sections.txt:
4         * docs/libs/tmpl/gstdataprotocol.sgml:
5         * docs/random/thomasvs/TODO:
6         * gst/gstutils.c:
7         * gst/gstutils.h:
8           fix docs
9
10 2005-12-05  Andy Wingo  <wingo@pobox.com>
11
12         patch by: Wim Taymans <wim@fluendo.com>
13
14         * libs/gst/base/gstbasetransform.c
15         (gst_base_transform_prepare_output_buf)
16         (gst_base_transform_buffer_alloc):
17         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18         alloc_buffer_and_set_caps.
19
20         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
21         set_caps on the source pad.
22         (gst_pad_alloc_buffer_and_set_caps): New function, does what
23         alloc_buffer used to do. Fixes #322874.
24
25         * docs/gst/gstreamer-sections.txt: 
26         * docs/design/part-negotiation.txt: 
27         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
28         changes.
29
30 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
31
32         patch by: Sebastien Moutte
33
34         * win32/MANIFEST:
35         * win32/common/config.h.in:
36         * win32/vs6/libgstcontroller.dsp:
37           win32 build fixes
38
39 2005-12-05  Wim Taymans  <wim@fluendo.com>
40
41         * gst/gstcaps.c: (gst_caps_is_equal):
42         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
43         (gst_fake_src_create):
44         Back out previous code changes, leave doc updates, file bugs 
45         instead. 
46
47 2005-12-05  Wim Taymans  <wim@fluendo.com>
48
49         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
50         (gst_fake_src_get_times), (gst_fake_src_create):
51         * plugins/elements/gstfakesrc.h:
52         Fix broken sync code.
53
54 2005-12-05  Wim Taymans  <wim@fluendo.com>
55
56         * gst/gstcaps.c: (gst_caps_is_equal):
57         Comparing NULL against !NULL yields different caps, not a
58         failure.
59
60 2005-12-05  Wim Taymans  <wim@fluendo.com>
61
62         * gst/gstpipeline.c:
63         Fix small typo in docs.
64
65 2005-12-05  Andy Wingo  <wingo@pobox.com>
66
67         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
68
69         * gst/gst.c (init_post): remove hard-coded 0.9 location for
70         registries/plugins with a MAJORMINOR one.
71         (plugin_desc): Rename library from gstcoreleements to
72         staticelements. Fixes #323222.
73
74 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
75
76         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
77           Change debug category to 'collectpads' from 'collect_pads'
78           (fixes #323250).
79
80 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
81
82         patch by: Sebastien Moutte
83
84         * libs/gst/controller/gstinterpolation.c:
85           use convert function for uint64/double
86         * win32/vs6/libgstcontroller.dsp:
87           link to GLib
88
89 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
90
91         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
92         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
93         * gst/gstutils.h:
94         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
95           add tests that seem to show that the guint64/gdouble conversions
96           are correct.
97
98 2005-12-02  Wim Taymans  <wim@fluendo.com>
99
100         * gst/gstregistry.c: (gst_registry_add_path):
101         * gst/gstregistry.h:
102         * gst/gstregistryxml.c:
103         Fix docs again.
104
105 2005-12-02  Wim Taymans  <wim@fluendo.com>
106
107         * gst/gstutils.c: (gst_util_uint64_scale_int64),
108         (gst_util_uint64_scale_int):
109         Small cleanup.
110
111         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
112         Add debug log line.
113
114         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
115         Add FIXME.
116
117 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
118
119         * win32/MANIFEST:
120         * win32/common/config.h:
121         * win32/vs6/gstreamer.dsw:
122         * win32/vs6/libgstcoreelements.dsp:
123         * win32/vs6/libgstelements.dsp:
124           renamed core elements plugin
125
126 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
127
128         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
129         (get_candidates):
130           do piece-wise major/minor comparison so 0.9 < 0.10
131           also allow .exe extensions for tools
132
133 2005-12-02  Michael Smith  <msmith@fluendo.com>
134
135         * gst/gst.c:
136           Escape a % to make gtkdoc happier; bug 322958.
137
138 === release 0.9.7 ===
139
140 2005-12-01   <thomas (at) apestaart (dot) org>
141
142         * configure.ac:
143           releasing 0.9.7, "My Dog Has No Nose"
144
145 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
146
147         * common/gst-xmlinspect.py:
148         * configure.ac:
149         * docs/libs/tmpl/gstdataprotocol.sgml:
150         * docs/random/release:
151         * po/af.po:
152         * po/az.po:
153         * po/bg.po:
154         * po/ca.po:
155         * po/cs.po:
156         * po/de.po:
157         * po/en_GB.po:
158         * po/fr.po:
159         * po/it.po:
160         * po/nb.po:
161         * po/nl.po:
162         * po/ru.po:
163         * po/sq.po:
164         * po/sr.po:
165         * po/sv.po:
166         * po/tr.po:
167         * po/uk.po:
168         * po/vi.po:
169         * win32/common/config.h:
170         * win32/common/config.h.in:
171         * win32/vs6/gst_inspect.dsp:
172         * win32/vs6/gst_launch.dsp:
173         * win32/vs6/libgstbase.dsp:
174         * win32/vs6/libgstelements.dsp:
175         * win32/vs6/libgstreamer.dsp:
176         * win32/vs7/GStreamer.vcproj:
177         * win32/vs7/gst-inspect.vcproj:
178         * win32/vs7/gst-launch.vcproj:
179         * win32/vs7/libgstbase.vcproj:
180           bump GST_MAJORMINOR to 0.10
181           reset libtool version
182
183 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
184
185         * po/LINGUAS:
186         * po/bg.po:
187           Added Bulgarian translation by (Alexander Shopov)
188
189 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
190
191         * tests/check/gst/gstplugin.c:
192           fix test
193
194 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
195
196         * common/gst-xmlinspect.py:
197         * common/gtk-doc-plugins.mak:
198         * configure.ac:
199         * docs/Makefile.am:
200         * docs/gst/Makefile.am:
201         * docs/gst/gstreamer-docs.sgml:
202         * docs/gst/gstreamer-sections.txt:
203         * docs/gst/gstreamer.types:
204         * docs/gst/gstreamer.types.in:
205         * docs/plugins/Makefile.am:
206         * docs/plugins/gstreamer-plugins-docs.sgml:
207         * docs/plugins/gstreamer-plugins-sections.txt:
208         * docs/plugins/gstreamer-plugins.types:
209         * docs/plugins/inspect.stamp:
210         * docs/plugins/inspect/plugin-coreelements.xml:
211         * docs/plugins/inspect/plugin-coreindexers.xml:
212         * docs/plugins/scanobj-build.stamp:
213         * gstreamer.spec.in:
214         * plugins/elements/Makefile.am:
215         * plugins/elements/gstelements.c:
216         * plugins/elements/gstfakesink.c:
217         * plugins/elements/gstfakesrc.c:
218         * plugins/elements/gstfilesink.c:
219         * plugins/elements/gstfilesrc.c:
220         * plugins/elements/gstqueue.c:
221         * plugins/indexers/Makefile.am:
222         * plugins/indexers/gstindexers.c:
223           document core plugins in a separate document just like all the
224           others
225           rename these plugins to something starting with core
226
227 2005-12-01  Andy Wingo  <wingo@pobox.com>
228
229         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
230         padding here before, but it missed the commit.
231
232 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
233
234         * libs/gst/controller/gstinterpolation.c:
235           whitespace prices have crashed, we should feel free to use some now
236           use gst_guint64_to_gdouble
237
238 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
239
240         * libs/gst/controller/gstcontroller.c:
241         * libs/gst/controller/gsthelper.c:
242         * libs/gst/controller/gstinterpolation.c:
243         * libs/gst/controller/lib.c:
244           wrap config.h include
245
246 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
247
248         * docs/gst/gstreamer-sections.txt:
249           update docs
250
251 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
252
253         * plugins/elements/gstelements.c:
254         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
255         (gst_fd_sink__class_init), (gst_fd_sink__init),
256         (gst_fd_sink__chain), (gst_fd_sink__set_property),
257         (gst_fd_sink__get_property):
258         * plugins/elements/gstfdsink.h:
259         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
260         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
261         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
262         (gst_fd_src_unlock), (gst_fd_src_set_property),
263         (gst_fd_src_get_property), (gst_fd_src_create),
264         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
265         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
266         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
267         (gst_fd_src_uri_handler_init):
268         * plugins/elements/gstfdsrc.h:
269         * plugins/elements/gstqueue.c: (gst_queue_get_type):
270           more anal cleanup
271
272 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
273
274         * docs/gst/Makefile.am:
275         * docs/gst/gstreamer.types.in:
276         * gst/Makefile.am:
277           fix the docs build
278
279 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
280
281         * configure.ac:
282         * gst/Makefile.am:
283         * gst/gst.c:
284         * gst/gstplugin.h:
285         * gst/gstregistry.h:
286         * tests/benchmarks/complexity.c:
287         * tests/benchmarks/mass-elements.c:
288         * tests/check/Makefile.am:
289         * tools/Makefile.am:
290         * tools/gst-inspect.c:
291         * tools/gst-xmlinspect.c:
292           various fixes to make
293           --disable-nls --disable-registry --disable-loadsave
294           --disable-parse --disable-gst-debug
295           work and get the core .so down to 360444 bytes after stripping
296
297 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
298
299         * Makefile.am:
300         * configure.ac:
301           descend into tests
302         * docs/random/thomasvs/TODO:
303         * tests/Makefile.am:
304         * tests/README:
305           add a README
306
307 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
308
309         * win32/GStreamer.vcproj:
310         * win32/MANIFEST:
311         * win32/Makefile:
312         * win32/Makefile.inspect:
313         * win32/Makefile.launch:
314         * win32/Makefile.register:
315         * win32/README.txt:
316         * win32/gst-inspect.vcproj:
317         * win32/gst-launch.vcproj:
318         * win32/gst-register.vcproj:
319         * win32/gstelements.vcproj:
320         * win32/gstgetbits.def:
321         * win32/gstgetbits.vcproj:
322         * win32/gstreamer-dbg.def:
323         * win32/gstreamer.def:
324         * win32/libgstbase.def:
325         * win32/libgstbase.vcproj:
326         * win32/link_oldruntime.c:
327         * win32/mman.c:
328         * win32/mman.h:
329         * win32/mman.inl:
330         * win32/msvc71.sln:
331           move even more stuff, win32/ is nice and clean now
332
333 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
334
335         * libs/gst/control/.cvsignore:
336         * win32/MANIFEST:
337         * win32/config.h:
338         * win32/dirent.c:
339         * win32/dirent.h:
340         * win32/gstbytestream.def:
341         * win32/gstbytestream.vcproj:
342         * win32/gstconfig.h:
343         * win32/gstenumtypes.c:
344         * win32/gstenumtypes.h:
345         * win32/gstoptimalscheduler.vcproj:
346         * win32/gstversion.h:
347         * win32/gtchar.h:
348         * win32/testsuite/bins.vcproj:
349         * win32/testsuite/bytestream.vcproj:
350         * win32/testsuite/caps.vcproj:
351         * win32/testsuite/cleanup.vcproj:
352         * win32/testsuite/clock.vcproj:
353         * win32/testsuite/debug.vcproj:
354         * win32/testsuite/dlopen.vcproj:
355         * win32/testsuite/dynparams.vcproj:
356         * win32/testsuite/elements.vcproj:
357         * win32/testsuite/ghostpads.vcproj:
358         * win32/testsuite/indexers.vcproj:
359         * win32/testsuite/negotiation.vcproj:
360         * win32/testsuite/parse.vcproj:
361         * win32/testsuite/plugin.vcproj:
362         * win32/testsuite/refcounting.vcproj:
363         * win32/testsuite/schedulers.vcproj:
364         * win32/testsuite/states.vcproj:
365         * win32/testsuite/tags.vcproj:
366         * win32/testsuite/threads.vcproj:
367           remove old win32 stuff that isn't maintained and should be
368           reorganized
369
370 2005-11-30  Andy Wingo  <wingo@pobox.com>
371
372         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
373         loading the gst.interfaces python module bork.
374
375         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
376         available since GLib 2.2. Fixes #318031.
377
378 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
379
380         * Makefile.am:
381         * check/.cvsignore:
382         * check/Makefile.am:
383         * check/elements/.cvsignore:
384         * check/elements/fakesrc.c:
385         * check/elements/fdsrc.c:
386         * check/elements/identity.c:
387         * check/generic/.cvsignore:
388         * check/generic/states.c:
389         * check/gst-libs/.cvsignore:
390         * check/gst-libs/controller.c:
391         * check/gst-libs/gdp.c:
392         * check/gst/.cvsignore:
393         * check/gst/capslist.h:
394         * check/gst/gst.c:
395         * check/gst/gstbin.c:
396         * check/gst/gstbuffer.c:
397         * check/gst/gstbus.c:
398         * check/gst/gstcaps.c:
399         * check/gst/gstelement.c:
400         * check/gst/gstevent.c:
401         * check/gst/gstghostpad.c:
402         * check/gst/gstiterator.c:
403         * check/gst/gstmessage.c:
404         * check/gst/gstminiobject.c:
405         * check/gst/gstobject.c:
406         * check/gst/gstpad.c:
407         * check/gst/gstpipeline.c:
408         * check/gst/gstplugin.c:
409         * check/gst/gstsegment.c:
410         * check/gst/gststructure.c:
411         * check/gst/gstsystemclock.c:
412         * check/gst/gsttag.c:
413         * check/gst/gstutils.c:
414         * check/gst/gstvalue.c:
415         * check/net/.cvsignore:
416         * check/net/gstnetclientclock.c:
417         * check/net/gstnettimeprovider.c:
418         * check/pipelines/.cvsignore:
419         * check/pipelines/cleanup.c:
420         * check/pipelines/simple_launch_lines.c:
421         * check/pipelines/stress.c:
422         * check/states/.cvsignore:
423         * check/states/sinks.c:
424         * configure.ac:
425         * examples/Makefile.am:
426         * examples/appreader/.cvsignore:
427         * examples/appreader/Makefile.am:
428         * examples/appreader/appreader.c:
429         * examples/controller/.cvsignore:
430         * examples/controller/Makefile.am:
431         * examples/controller/audio-example.c:
432         * examples/cutter/.cvsignore:
433         * examples/cutter/Makefile.am:
434         * examples/cutter/cutter.c:
435         * examples/cutter/cutter.h:
436         * examples/events/Makefile.am:
437         * examples/events/seek.c:
438         * examples/helloworld/.cvsignore:
439         * examples/helloworld/Makefile.am:
440         * examples/helloworld/helloworld.c:
441         * examples/helloworld2/.cvsignore:
442         * examples/helloworld2/Makefile.am:
443         * examples/helloworld2/helloworld2.c:
444         * examples/launch/.cvsignore:
445         * examples/launch/Makefile.am:
446         * examples/launch/mp3parselaunch.c:
447         * examples/launch/mp3play:
448         * examples/manual/.cvsignore:
449         * examples/manual/Makefile.am:
450         * examples/manual/extract.pl:
451         * examples/metadata/Makefile.am:
452         * examples/metadata/read-metadata.c:
453         * examples/mixer/.cvsignore:
454         * examples/mixer/Makefile.am:
455         * examples/mixer/mixer.c:
456         * examples/mixer/mixer.h:
457         * examples/pingpong/.cvsignore:
458         * examples/pingpong/Makefile.am:
459         * examples/pingpong/pingpong.c:
460         * examples/plugins/.cvsignore:
461         * examples/plugins/Makefile.am:
462         * examples/plugins/example.c:
463         * examples/plugins/example.h:
464         * examples/pwg/.cvsignore:
465         * examples/pwg/Makefile.am:
466         * examples/pwg/extract.pl:
467         * examples/queue/.cvsignore:
468         * examples/queue/Makefile.am:
469         * examples/queue/queue.c:
470         * examples/queue2/.cvsignore:
471         * examples/queue2/Makefile.am:
472         * examples/queue2/queue2.c:
473         * examples/queue3/.cvsignore:
474         * examples/queue3/Makefile.am:
475         * examples/queue3/queue3.c:
476         * examples/queue4/.cvsignore:
477         * examples/queue4/Makefile.am:
478         * examples/queue4/queue4.c:
479         * examples/retag/.cvsignore:
480         * examples/retag/Makefile.am:
481         * examples/retag/retag.c:
482         * examples/retag/transcode.c:
483         * examples/thread/.cvsignore:
484         * examples/thread/Makefile.am:
485         * examples/thread/thread.c:
486         * examples/typefind/.cvsignore:
487         * examples/typefind/Makefile.am:
488         * examples/typefind/typefind.c:
489         * examples/xml/.cvsignore:
490         * examples/xml/Makefile.am:
491         * examples/xml/createxml.c:
492         * examples/xml/runxml.c:
493         * tests/Makefile.am:
494         * tests/check/Makefile.am:
495         * testsuite/.cvsignore:
496         * testsuite/Makefile.am:
497         * testsuite/Rules:
498         * testsuite/caps/.cvsignore:
499         * testsuite/caps/Makefile.am:
500         * testsuite/caps/app_fixate.c:
501         * testsuite/caps/audioscale.c:
502         * testsuite/caps/caps.c:
503         * testsuite/caps/caps.h:
504         * testsuite/caps/caps_strings:
505         * testsuite/caps/compatibility.c:
506         * testsuite/caps/deserialize.c:
507         * testsuite/caps/enumcaps.c:
508         * testsuite/caps/eratosthenes.c:
509         * testsuite/caps/filtercaps.c:
510         * testsuite/caps/fixed.c:
511         * testsuite/caps/fraction-convert.c:
512         * testsuite/caps/fraction-multiply-and-zero.c:
513         * testsuite/caps/intersect2.c:
514         * testsuite/caps/intersection.c:
515         * testsuite/caps/normalisation.c:
516         * testsuite/caps/random.c:
517         * testsuite/caps/renegotiate.c:
518         * testsuite/caps/sets.c:
519         * testsuite/caps/simplify.c:
520         * testsuite/caps/string-conversions.c:
521         * testsuite/caps/structure.c:
522         * testsuite/caps/subtract.c:
523         * testsuite/caps/union.c:
524         * testsuite/debug/.cvsignore:
525         * testsuite/debug/Makefile.am:
526         * testsuite/debug/category.c:
527         * testsuite/debug/commandline.c:
528         * testsuite/debug/global.c:
529         * testsuite/debug/output.c:
530         * testsuite/debug/printf_extension.c:
531         * testsuite/dlopen/.cvsignore:
532         * testsuite/dlopen/Makefile.am:
533         * testsuite/dlopen/dlopen_gst.c:
534         * testsuite/dlopen/loadgst.c:
535         * testsuite/elements/.cvsignore:
536         * testsuite/elements/Makefile.am:
537         * testsuite/elements/gst-inspect-check.in:
538         * testsuite/elements/struct_i386.h:
539         * testsuite/elements/struct_size.c:
540         * testsuite/indexers/.cvsignore:
541         * testsuite/indexers/Makefile.am:
542         * testsuite/indexers/cache1.c:
543         * testsuite/indexers/indexdump.c:
544         * testsuite/parse/.cvsignore:
545         * testsuite/parse/Makefile.am:
546         * testsuite/parse/parse1.c:
547         * testsuite/parse/parse2.c:
548         * testsuite/plugin/.cvsignore:
549         * testsuite/plugin/Makefile.am:
550         * testsuite/plugin/README:
551         * testsuite/plugin/dynamic.c:
552         * testsuite/plugin/linked.c:
553         * testsuite/plugin/loading.c:
554         * testsuite/plugin/registry.c:
555         * testsuite/plugin/static.c:
556         * testsuite/plugin/static2.c:
557         * testsuite/plugin/testplugin.c:
558         * testsuite/plugin/testplugin2.c:
559         * testsuite/plugin/testplugin2_s.c:
560         * testsuite/plugin/testplugin_s.c:
561         * testsuite/refcounting/.cvsignore:
562         * testsuite/refcounting/Makefile.am:
563         * testsuite/refcounting/bin.c:
564         * testsuite/refcounting/element.c:
565         * testsuite/refcounting/element_pad.c:
566         * testsuite/refcounting/mainloop.c:
567         * testsuite/refcounting/mem.c:
568         * testsuite/refcounting/mem.h:
569         * testsuite/refcounting/object.c:
570         * testsuite/refcounting/pad.c:
571         * testsuite/refcounting/sched.c:
572         * testsuite/refcounting/thread.c:
573         * testsuite/states/.cvsignore:
574         * testsuite/states/Makefile.am:
575         * testsuite/states/bin.c:
576         * testsuite/states/locked.c:
577         * testsuite/states/parent.c:
578         * testsuite/threads/.cvsignore:
579         * testsuite/threads/159566.c:
580         * testsuite/threads/159852.c:
581         * testsuite/threads/Makefile.am:
582         * testsuite/threads/queue.c:
583         * testsuite/threads/signals.c:
584         * testsuite/threads/staticrec.c:
585         * testsuite/threads/thread.c:
586         * testsuite/threads/threadb.c:
587         * testsuite/threads/threadc.c:
588         * testsuite/threads/threadd.c:
589         * testsuite/threads/threade.c:
590         * testsuite/threads/threadf.c:
591         * testsuite/threads/threadg.c:
592         * testsuite/threads/threadh.c:
593         * testsuite/threads/threadi.c:
594           move all of these under tests
595
596 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
597
598         * configure.ac:
599         * tests/Makefile.am:
600           fix distcheck
601
602 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
603
604         * docs/gst/gstreamer-sections.txt:
605         * tests/sched/.cvsignore:
606         * tests/sched/Makefile.am:
607         * tests/sched/cases/(fs-fs).xml:
608         * tests/sched/cases/(fs-i-fs).xml:
609         * tests/sched/cases/(fs-i-i-fs).xml:
610         * tests/sched/cases/(fs-i-q[i-fs]).xml:
611         * tests/sched/dynamic-pipeline.c:
612         * tests/sched/interrupt1.c:
613         * tests/sched/interrupt2.c:
614         * tests/sched/interrupt3.c:
615         * tests/sched/runtestcases:
616         * tests/sched/runxml.c:
617         * tests/sched/sched-stress.c:
618         * tests/sched/sort.c:
619         * tests/sched/testcases:
620         * tests/sched/testcases1.tc:
621         * tests/seeking/.cvsignore:
622         * tests/seeking/Makefile.am:
623         * tests/seeking/seeking1.c:
624         * tests/threadstate/.cvsignore:
625         * tests/threadstate/Makefile.am:
626         * tests/threadstate/test1.c:
627         * tests/threadstate/test2.c:
628         * tests/threadstate/threadstate1.c:
629         * tests/threadstate/threadstate2.c:
630         * tests/threadstate/threadstate3.c:
631         * tests/threadstate/threadstate4.c:
632         * tests/threadstate/threadstate5.c:
633           remove obsolete tests
634         * configure.ac:
635         * tests/bench-complexity.scm:
636         * tests/bench-mass_elements.scm:
637         * tests/complexity.c:
638         * tests/complexity.gnuplot:
639         * tests/instantiate/.cvsignore:
640         * tests/instantiate/Makefile.am:
641         * tests/instantiate/caps.c:
642         * tests/mass_elements.c:
643         * tests/network-clock-utils.scm:
644         * tests/network-clock.scm:
645         * tests/plot-data:
646         First pass at cleaning up tests/ dir before moving the rest
647         Combined with CVS surgery
648
649 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
650
651         * po/POTFILES.in:
652           queue has moved, update
653
654 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
655
656         * docs/gst/gstreamer-sections.txt:
657           remove double entries from the docs
658         * gst/gst_private.h:
659         * gst/gstinfo.c: (_gst_debug_init):
660           remove the THREAD debug category
661         * gst/Makefile.am:
662         * gst/gstqueue.c:
663         * gst/gstqueue.h:
664         * docs/gst/gstreamer.types:
665         * plugins/elements/gstqueue.c: (gst_queue_get_type),
666         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
667           completely move queue and fix up debugging categories
668
669 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
670
671         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
672           make initialization portable, using LL is not
673
674 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
675
676         * win32/common/gstconfig.h:
677           add large padding
678
679 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
680
681         * win32/common/libgstreamer.def:
682           rename symbols; sort base section
683
684 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
685
686         * gst/gstclock.c: (do_linear_regression):
687           remove crack non-portable handrolled DEBUG macro
688
689 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
690
691         * docs/random/release:
692           update notes
693         * win32/common/gstenumtypes.c: (register_gst_object_flags),
694         (gst_object_flags_get_type), (register_gst_bin_flags),
695         (gst_bin_flags_get_type), (register_gst_buffer_flag),
696         (gst_buffer_flag_get_type), (register_gst_bus_flags),
697         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
698         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
699         (gst_caps_flags_get_type), (register_gst_clock_return),
700         (gst_clock_return_get_type), (register_gst_clock_entry_type),
701         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
702         (gst_clock_flags_get_type), (register_gst_state),
703         (gst_state_get_type), (register_gst_state_change_return),
704         (gst_state_change_return_get_type), (register_gst_state_change),
705         (gst_state_change_get_type), (register_gst_element_flags),
706         (gst_element_flags_get_type), (register_gst_core_error),
707         (gst_core_error_get_type), (register_gst_library_error),
708         (gst_library_error_get_type), (register_gst_resource_error),
709         (gst_resource_error_get_type), (register_gst_stream_error),
710         (gst_stream_error_get_type), (register_gst_event_type_flags),
711         (gst_event_type_flags_get_type), (register_gst_event_type),
712         (gst_event_type_get_type), (register_gst_seek_type),
713         (gst_seek_type_get_type), (register_gst_seek_flags),
714         (gst_seek_flags_get_type), (register_gst_format),
715         (gst_format_get_type), (register_gst_index_certainty),
716         (gst_index_certainty_get_type), (register_gst_index_entry_type),
717         (gst_index_entry_type_get_type),
718         (register_gst_index_lookup_method),
719         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
720         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
721         (gst_index_resolver_method_get_type), (register_gst_index_flags),
722         (gst_index_flags_get_type), (register_gst_debug_level),
723         (gst_debug_level_get_type), (register_gst_debug_color_flags),
724         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
725         (gst_iterator_result_get_type), (register_gst_iterator_item),
726         (gst_iterator_item_get_type), (register_gst_message_type),
727         (gst_message_type_get_type), (register_gst_mini_object_flags),
728         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
729         (gst_pad_link_return_get_type), (register_gst_flow_return),
730         (gst_flow_return_get_type), (register_gst_activate_mode),
731         (gst_activate_mode_get_type), (register_gst_pad_direction),
732         (gst_pad_direction_get_type), (register_gst_pad_flags),
733         (gst_pad_flags_get_type), (register_gst_pad_presence),
734         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
735         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
736         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
737         (gst_plugin_error_get_type), (register_gst_plugin_flags),
738         (gst_plugin_flags_get_type), (register_gst_rank),
739         (gst_rank_get_type), (register_gst_query_type),
740         (gst_query_type_get_type), (register_gst_tag_merge_mode),
741         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
742         (gst_tag_flag_get_type), (register_gst_task_state),
743         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
744         (gst_alloc_trace_flags_get_type),
745         (register_gst_type_find_probability),
746         (gst_type_find_probability_get_type), (register_gst_uri_type),
747         (gst_uri_type_get_type), (register_gst_parse_error),
748         (gst_parse_error_get_type):
749         * win32/common/gstenumtypes.h:
750         * win32/common/gstversion.h:
751           update visual studio generated files
752
753 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
754
755         * win32/vs6/libgstbase.dsp:
756         * win32/vs6/libgstelements.dsp:
757           update project files for new locations
758
759 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
760
761         * Makefile.am:
762           remove some files
763         * README:
764           reinstate and update
765         * DEVEL:
766         * REQUIREMENTS:
767           removed
768         * LICENSE:
769         * docs/random/LICENSE:
770           moved to random
771
772 2005-11-30  Edward Hervey  <edward@fluendo.com>
773
774         * gst/gsttypefind.c: (gst_type_find_register):
775         * gst/gsttypefind.h:
776         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
777         (gst_type_find_factory_dispose):
778         * gst/gsttypefindfactory.h:
779         Fix memory leak in GstTypeFindFactory.
780
781 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
782
783         * gst/gst.c:
784         * plugins/elements/Makefile.am:
785         * plugins/elements/gstelements.c:
786         * plugins/elements/gstqueue.c:
787           move queue from core to the elements plugin
788
789 2005-11-29  Andy Wingo  <wingo@pobox.com>
790
791         * libs/gst/base/gstbasetransform.h: 
792         * libs/gst/base/gstbasesrc.h: 
793         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
794
795         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
796         of pointers by which to pad very extensible base classes (like the
797         ones in libs/gst/base).
798
799 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
800
801         * docs/gst/gstreamer-docs.sgml:
802         * docs/gst/gstreamer-sections.txt:
803         * docs/libs/gstreamer-libs-docs.sgml:
804         * docs/libs/gstreamer-libs-sections.txt:
805           moving documentation from core to lib
806
807 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
808
809         * check/Makefile.am:
810         * configure.ac:
811         * docs/gst/Makefile.am:
812         * gst/Makefile.am:
813         * gst/base/.cvsignore:
814         * gst/base/Makefile.am:
815         * gst/base/README:
816         * gst/base/gstadapter.c:
817         * gst/base/gstadapter.h:
818         * gst/base/gstbasesink.c:
819         * gst/base/gstbasesink.h:
820         * gst/base/gstbasesrc.c:
821         * gst/base/gstbasesrc.h:
822         * gst/base/gstbasetransform.c:
823         * gst/base/gstbasetransform.h:
824         * gst/base/gstcollectpads.c:
825         * gst/base/gstcollectpads.h:
826         * gst/base/gstpushsrc.c:
827         * gst/base/gstpushsrc.h:
828         * gst/base/gsttypefindhelper.c:
829         * gst/base/gsttypefindhelper.h:
830         * gst/check/Makefile.am:
831         * gst/check/gstcheck.c:
832         * gst/check/gstcheck.h:
833         * gst/net/Makefile.am:
834         * gst/net/gstnet.h:
835         * gst/net/gstnetclientclock.c:
836         * gst/net/gstnetclientclock.h:
837         * gst/net/gstnettimepacket.c:
838         * gst/net/gstnettimepacket.h:
839         * gst/net/gstnettimeprovider.c:
840         * gst/net/gstnettimeprovider.h:
841         * libs/gst/Makefile.am:
842         * libs/gst/base/Makefile.am:
843         * libs/gst/base/gstbasetransform.c:
844         * libs/gst/check/Makefile.am:
845         * plugins/elements/Makefile.am:
846         * po/POTFILES.in:
847           CVS surgery + support to move base, check, and net out of gst
848           and into libs/gst
849
850 2005-11-29  Andy Wingo  <wingo@pobox.com>
851
852         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
853
854         * gst/gststructure.h (struct _GstStructure): Only one pointer of
855         padding.
856
857         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
858
859         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
860
861         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
862
863         * gst/gstobject.h: (struct _GstObject): Only one pointer of
864         padding; reduces object size by about 30%. We don't expect
865         anything else to go into gstobject.
866
867         * gst/gstminiobject.h (struct _GstMiniObject)
868         (struct _GstMiniObjectClass): Only one pointer of padding; the
869         payload is only a pointer and two ints anyway. For the class there
870         are only two methods as well.
871         
872         * gst/gstelement.h (struct _GstElementClass): Removed
873         the state_changed signal callback, it is not used.
874
875 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
876
877         * docs/gst/gstreamer.types:
878           fix includes, though they are a little dinky
879
880 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
881
882         * check/Makefile.am:
883           look in the right place for elements, a lot more chance of
884           success
885         * gst/Makefile.am:
886           remove indexers and elements subdirs
887         * plugins/Makefile.am:
888           make indexers conditional
889
890 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
891
892         * Makefile.am:
893         * configure.ac:
894         * plugins/elements/Makefile.am:
895         * plugins/elements/gstcapsfilter.c:
896         * plugins/elements/gstfilesink.c:
897         * plugins/elements/gstfilesrc.c:
898         * plugins/elements/gstidentity.c:
899         * plugins/indexers/Makefile.am:
900           do CVS surgery and related build fixery to move elements
901           and indexers in a new gstreamer/plugins directory, out of the
902           gst/ directory
903
904 2005-11-29  Andy Wingo  <wingo@pobox.com>
905
906         * check/Makefile.am:
907         * pkgconfig/gstreamer-net-uninstalled.pc.in:
908         * pkgconfig/gstreamer-net.pc.in:
909         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
910         #322257.
911
912 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
913
914         * tools/Makefile.am:
915         * tools/gst-complete.1.in:
916         * tools/gst-complete.c:
917         * tools/gst-compprep.1.in:
918         * tools/gst-compprep.c:
919           removing -compprep and -complete
920
921 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
922
923         * gst/gstevent.c: (gst_event_new_new_segment),
924         (gst_event_parse_new_segment):
925         * gst/gstevent.h:
926           fix #320529 - clean up new_segment API and structure.
927           Let's hope everyone was using the methods, and not the structure.
928
929 2005-11-29  Edward Hervey  <edward@fluendo.com>
930
931         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
932         (gst_base_sink_event), (gst_base_sink_do_sync),
933         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
934         Properly handle non GST_FORMAT_TIME segment
935         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
936         Properly handle non GST_FORMAT_TIME segment
937         * gst/gstsegment.c:
938         This function is valid if the accumulator is 0 and the format
939         is different from the requested format.
940         
941 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
942
943         * docs/gst/gstreamer-sections.txt:
944         Add gst_query_new_seeking and gst_query_parse_seeking to the
945         docs.
946
947 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
948
949         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
950           Treat a pad alloc with new caps the same as if we were not
951           negotiated, in order to allow a changing upstream output
952           to produce a new format of data.
953
954 2005-11-29  Edward Hervey  <edward@fluendo.com>
955
956         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
957         (gst_base_transform_event), (gst_base_transform_eventfunc):
958         The event virtual method is now properly implemented, with a default
959         handler
960         Sub classes should call the parent_class event method. They should
961         return FALSE if they had a problem handling the given event, or don't
962         want GstBaseTransform to send that even downstream
963         * gst/elements/gstidentity.c: (gst_identity_class_init),
964         (gst_identity_init), (gst_identity_event),
965         (gst_identity_transform_ip), (gst_identity_set_property),
966         (gst_identity_get_property):
967         * gst/elements/gstidentity.h:
968         Added the single-segment boolean property.
969         If set to TRUE, it will output a single segment of data, starting from
970         0, will eat up all incoming newsegment, and modify the timestamp of the
971         buffers accordingly
972
973 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
974
975         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
976           Don't ref NULL target pad (#322751). Improve docs.
977
978 2005-11-29  Michael Smith  <msmith@fluendo.com>
979
980         * gst/gstregistryxml.c: (load_plugin):
981           Don't crash if we failed to load a feature from a plugin. 
982
983 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
984
985         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
986         (GST_START_TEST):
987           use more check API and less GLib API
988
989 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
990
991         * Makefile.am:
992           don't run checks if we don't have check
993         * common/check.mak:
994           remove the registry when running make torture
995         * docs/gst/gstreamer-sections.txt:
996           remove second multiply
997         * gst/gstqueue.c: (gst_queue_loop):
998           fix a compile warning when disabling debug
999
1000 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1001
1002         * gst/gstinfo.h:
1003         Hey! Let's print the pad name if the pointer != NULL instead
1004         of when it == NULL :-)
1005
1006 2005-11-28  Wim Taymans  <wim@fluendo.com>
1007
1008         * check/gst/gstutils.c: (GST_START_TEST):
1009         Updated check, add some scaling accuracy checking code.
1010
1011         * gst/gstutils.c: (gst_util_div128_64),
1012         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1013         (gst_util_uint64_scale_int):
1014         Fix 6 times faster division code. Optimize for common 
1015         1/1 and less common X/1 cases.
1016
1017 2005-11-28  Wim Taymans  <wim@fluendo.com>
1018
1019         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1020         More checks.
1021
1022         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1023         (do_linear_regression), (gst_clock_add_observation):
1024         Cleanups.
1025         Release lock when the clock cannot be slaved.
1026         Catch the case where the regression returned an invalid denominator.
1027
1028         * gst/gstutils.c: (gst_util_div128_64_iterate),
1029         (gst_util_div128_64), (gst_util_uint64_scale_int64),
1030         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1031         Add protentially more performant non-iterative 128/64 divide function
1032         that unfortunatly does not work yet.
1033         Shortcut the trivial 0/X = 0 case.
1034         Remove the warnings on overflow.
1035
1036 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1037
1038         * gst/gstplugin.c: (gst_plugin_register_func):
1039           everything causing a plugin not to load should be at least a WARNING
1040
1041 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
1042
1043         * docs/random/ensonic/dparams.txt:
1044           some TODOs for the next dev cycle
1045         * libs/gst/controller/gstcontroller.c:
1046         (gst_controlled_property_set_interpolation_mode),
1047         (gst_controlled_property_new):
1048         * libs/gst/controller/gstcontroller.h:
1049           use base type to assign acccessor functions
1050
1051 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1052
1053         * check/Makefile.am:
1054         Oops, that should have been top_srcdir
1055
1056 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1057
1058         * check/Makefile.am:
1059         * check/elements/fdsrc.c: (GST_START_TEST):
1060         Use a cmdline define to specify the location of a file to use for
1061         testing, to avoid breaking distcheck.
1062
1063 2005-11-28  Andy Wingo  <wingo@pobox.com>
1064
1065         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1066
1067 2005-11-28  Edward Hervey  <edward@fluendo.com>
1068
1069         * tools/gst-launch.c: (main):
1070         Clarify the output strings, makes it easier to translate.
1071         Fixes #322626
1072
1073 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1074
1075         * gst/Makefile.am:
1076           don't try and build net if we don't even have <sys/socket.h>
1077
1078 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1079
1080         * check/Makefile.am:
1081         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1082         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1083           Add tests for fdsrc seekability
1084
1085         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1086         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1087         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1088         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1089         * gst/elements/gstfdsrc.h:
1090           fdsrc should not be a 'live' source.
1091           Implement seeking on seekable fd's.
1092
1093         * gst/gstquery.c: (gst_query_new_seeking),
1094         (gst_query_parse_seeking):
1095         * gst/gstquery.h:
1096           Implement SEEKING query functions: 
1097             *_new_seeking and *_parse_seeking
1098
1099 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1100
1101         * gst/gstelement.c: (gst_element_dispose):
1102           don't loop forever
1103
1104         * gst/gstiterator.c:
1105         * gst/gststructure.c:
1106           doc fixes
1107
1108         * libs/gst/controller/gstcontroller.c:
1109         (gst_controlled_property_set_interpolation_mode):
1110         * libs/gst/controller/gstcontroller.h:
1111         * libs/gst/controller/gstinterpolation.c:
1112         (interpolate_none_get_enum_value_array):
1113           support controlling enums
1114
1115 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1116
1117         * gst/gstvalue.c:
1118           Improve documentation for gst_value_union().
1119
1120         * gst/gstvalue.h:
1121           Change return value for union, intersect and subtract functions
1122           from gint to gboolean.
1123
1124 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1125
1126         * gst/gstvalue.c: (gst_value_serialize_any_list),
1127         (gst_value_transform_any_list_string),
1128         (gst_value_deserialize_list), (gst_value_deserialize_array),
1129         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1130         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1131         (gst_value_set_fraction_range_full),
1132         (gst_value_deserialize_fraction_range),
1133         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1134         (gst_value_deserialize_boolean),
1135         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1136         (gst_value_serialize_float), (gst_value_deserialize_float),
1137         (gst_string_wrap), (gst_value_deserialize_string),
1138         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1139         (gst_value_union_int_range_int_range),
1140         (gst_value_intersect_int_range_int_range),
1141         (gst_value_intersect_double_range_double_range),
1142         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1143         (gst_value_subtract_int_range_int_range),
1144         (gst_value_subtract_double_double_range),
1145         (gst_value_subtract_double_range_double_range),
1146         (gst_value_deserialize_fraction):
1147         * gst/gstvalue.h:
1148           Use gint, gdouble and gchar in our API instead of int, double and
1149           char (and make usage in gstvalue.c more consistent).
1150
1151 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1152
1153         * check/Makefile.am:
1154         * libs/gst/controller/Makefile.am:
1155         * libs/gst/dataprotocol/Makefile.am:
1156           fix up Makefile.am and remove GST_ENABLE_NEW
1157
1158 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1159
1160         * configure.ac:
1161         * gst/Makefile.am:
1162         * gst/base/Makefile.am:
1163         * gst/check/Makefile.am:
1164         * gst/elements/Makefile.am:
1165         * gst/net/Makefile.am:
1166           update LDFLAGS use some more
1167
1168 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1169
1170         * common/m4/gst-doc.m4:
1171           Fixes #312589
1172
1173 2005-11-26  Edward Hervey  <edward@fluendo.com>
1174
1175         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1176         This shouldn't issue a g_warning since it returns NULL if it
1177         couldn't find the plugin, and all functions using this behave
1178         properly on a NULL return. Switching to a GST_WARNING.
1179
1180 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1181
1182         * gst/gstbin.c: (gst_bin_handle_message_func):
1183         Don't leak clock messages.
1184
1185 2005-11-25  Wim Taymans  <wim@fluendo.com>
1186
1187         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1188         (gst_util_uint64_scale_int):
1189         Optimisations, remove unneeded vars.
1190
1191 2005-11-25  Wim Taymans  <wim@fluendo.com>
1192
1193         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1194         Added more checks for the high precision uint64 cases.
1195
1196         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1197         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1198         Implement high precision (guint64 * guint64) / guint64.
1199
1200 2005-11-24  Wim Taymans  <wim@fluendo.com>
1201
1202         * gst/base/gstbasesrc.c: (gst_base_src_query):
1203         Fix wrong percentage query.
1204
1205         * gst/gstutils.c: (gst_util_uint64_scale),
1206         (gst_util_uint64_scale_int):
1207         Add some more common cases that can be handled 
1208         efficiently to _scale.
1209
1210 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1211
1212         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1213         (gst_mini_object_suite):
1214           don't use check calls from threads; check probably isn't
1215           threadsafe and using a lock to make it threadsafe would
1216           defeat the purpose of this check
1217         * gst/check/gstcheck.c:
1218         * gst/check/gstcheck.h:
1219           use GST_DEBUG some more
1220
1221 2005-11-24  Wim Taymans  <wim@fluendo.com>
1222
1223         * gst/gstutils.c: (gst_util_uint64_scale),
1224         (gst_util_uint64_scale_int):
1225         Chain trivial case to _scale_int.
1226
1227 2005-11-24  Wim Taymans  <wim@fluendo.com>
1228
1229         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1230         Added test for scaling.
1231
1232         * gst/gstclock.h:
1233         Small doc fix.
1234
1235         * gst/gstutils.c: (gst_util_uint64_scale_int):
1236         Implemented high precision scaling code.
1237
1238 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1239
1240         * gst/gstinfo.h:
1241           do not crash on pad==NULL
1242
1243 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1244
1245         Patch by: Stefan Kost
1246
1247         * common/gtk-doc.mak:
1248         * docs/gst/Makefile.am:
1249         * docs/libs/Makefile.am:
1250           Fix distcheck issues for the libraries docs build
1251           Closes #319599.
1252
1253 2005-11-24  Michael Smith <msmith@fluendo.com>
1254
1255         * docs/manual/basics-helloworld.xml:
1256           Fix bug #315027: memory leak in example code in docs.
1257
1258 2005-11-24  Michael Smith <msmith@fluendo.com>
1259
1260         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1261           Unlock the PREROLL_LOCK in a failure case.
1262
1263 2005-11-24  Wim Taymans  <wim@fluendo.com>
1264
1265         * docs/gst/gstreamer-sections.txt:
1266         * gst/base/gstadapter.h:
1267         * gst/base/gstbasesink.h:
1268         * gst/base/gstbasesrc.h:
1269         * gst/base/gstbasetransform.h:
1270         * gst/base/gstpushsrc.h:
1271         * gst/elements/gstfakesink.h:
1272         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1273         * gst/elements/gstfakesrc.h:
1274         * gst/elements/gstfilesink.h:
1275         * gst/elements/gstfilesrc.h:
1276         * gst/gst.c:
1277         * gst/gstbin.c:
1278         * gst/gstbuffer.c: (_gst_buffer_copy):
1279         * gst/gstbus.h:
1280         * gst/gstcaps.c:
1281         * gst/gstchildproxy.c:
1282         * gst/gstclock.c:
1283         * gst/gstelement.c:
1284         * gst/gstelementfactory.c:
1285         * gst/gstelementfactory.h:
1286         * gst/gstevent.c:
1287         * gst/gstghostpad.h:
1288         * gst/gstindex.h:
1289         * gst/gstinterface.h:
1290         * gst/gstminiobject.c:
1291         * gst/gstminiobject.h:
1292         * gst/gstpad.c:
1293         * gst/gstpad.h:
1294         * gst/gstpadtemplate.h:
1295         * gst/gstpipeline.h:
1296         * gst/gstpluginfeature.h:
1297         * gst/gstquery.h:
1298         * gst/gstqueue.h:
1299         * gst/gsttaglist.c:
1300         * gst/gsttaglist.h:
1301         * gst/gsttagsetter.c:
1302         * gst/gsttagsetter.h:
1303         * gst/gsttrace.c:
1304         * gst/gsttrace.h:
1305         * gst/gsttypefind.h:
1306         * gst/gsturi.h:
1307         * gst/gstvalue.c:
1308         * gst/net/gstnetclientclock.c:
1309         * gst/net/gstnetclientclock.h:
1310         * gst/net/gstnettimepacket.c:
1311         * gst/net/gstnettimeprovider.c:
1312         * gst/net/gstnettimeprovider.h:
1313         Doc fixes.
1314
1315 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1316
1317         * configure.ac: back to HEAD
1318
1319 === release 0.9.6 ===
1320
1321 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1322
1323         * configure.ac:
1324           releasing 0.9.6, "Always On Time"
1325
1326 2005-11-23  Wim Taymans  <wim@fluendo.com>
1327
1328         * docs/gst/gstreamer-sections.txt:
1329         * gst/glib-compat.c:
1330         * gst/gsttagsetter.c:
1331         * gst/gstvalue.c:
1332         * gst/net/gstnetclientclock.c:
1333         * gst/net/gstnettimepacket.h:
1334         Doc updates.
1335
1336 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1337
1338         * docs/faq/using.xml:
1339         * docs/libs/tmpl/gstcontrol.sgml:
1340         * docs/manual/advanced-dparams.xml:
1341         * docs/manual/appendix-checklist.xml:
1342         * docs/manual/basics-elements.xml:
1343         * docs/pwg/other-source.xml:
1344         * docs/random/moving-plugins:
1345         * gst/gstpad.c:
1346         * tools/gst-launch.1.in:
1347           remove mentions of sinesrc
1348
1349 2005-11-23  Michael Smith <msmith@fluendo.com>
1350
1351         * docs/gst/gstreamer-sections.txt:
1352           Update for new API and API changes.
1353         * gst/gstobject.h:
1354           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1355         * gst/gstvalue.c:
1356           Documentation typo fix.
1357         * gst/net/gstnettimepacket.c:
1358           Documentation fixes for arguments.
1359
1360 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1361
1362         * gst/gststructure.c: (gst_structure_get_fraction),
1363         (gst_structure_parse_value),
1364         (gst_structure_fixate_field_nearest_fraction):
1365         * gst/gststructure.h:
1366         * gst/gstutils.c: (gst_util_uint64_scale_int):
1367         * gst/gstutils.h:
1368         * scripts/update-funcnames:
1369         API Changes. 
1370         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1371         Make gst_structure_fixate_field_nearest_fraction take a numerator
1372         and denominator argument instead of a GValue
1373         add gst_structure_get_fraction helper function.
1374
1375 2005-11-23  Wim Taymans  <wim@fluendo.com>
1376
1377         * docs/design/part-TODO.txt:
1378         Update TODO.
1379
1380         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1381         * gst/net/gstnetclientclock.h:
1382         Use parent fields for timeout and window_size.
1383
1384 2005-11-23  Andy Wingo  <wingo@pobox.com>
1385
1386         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1387         rate_num/rate_denom change.
1388
1389         * gst/net/gstnetclientclock.c
1390         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1391         OBJECT_LOCK. Don't call add_observation with the lock.
1392
1393         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1394         fraction.
1395         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1396         rate fraction.
1397         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1398         deal with rate as a fraction whose numerator and denominator are
1399         GstClockTime values.
1400         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1401         master; the other fields are protected by the SLAVE_LOCK.
1402         (do_linear_regression): Note that this must be called with the
1403         SLAVE_LOCK.
1404         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1405         OBJECT_LOCK. Call set_calibration instead of touching the
1406         variables directly.
1407         (gst_clock_set_property, gst_clock_get_property): Protect
1408         master/slave parameters with the SLAVE_LOCK.
1409
1410         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1411         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1412         note that all of the instance variables that add_observation and
1413         the set_master functions use are protected by that lock and not
1414         the OBJECT_LOCK.
1415         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1416
1417         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1418         the caller to take the object lock.
1419
1420 2005-11-23  Wim Taymans  <wim@fluendo.com>
1421
1422         * gst/gsterror.c: (_gst_core_errors_init):
1423         * gst/gsterror.h:
1424         Add error for clock stuff.
1425
1426         * gst/gstpipeline.c: (gst_pipeline_change_state),
1427         (gst_pipeline_set_clock):
1428         Post clock error when clock cannot be used in a pipeline.
1429
1430 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1431
1432         * docs/gst/gstreamer-sections.txt:
1433           make two symbols from gstinfo private for the docs
1434         * gst/base/gstcollectpads.h:
1435         * gst/gstutils.c:
1436           fix doc typos, update docs
1437
1438 2005-11-22  Wim Taymans  <wim@fluendo.com>
1439
1440         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1441         (gst_base_sink_wait), (gst_base_sink_do_sync),
1442         (gst_base_sink_handle_event):
1443         * gst/base/gstbasesink.h:
1444         No need to store the clock, the parent element class already
1445         has it.
1446
1447         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1448         Updates for clock_set returning a gboolean
1449
1450         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1451         (gst_clock_id_wait_async), (gst_clock_class_init),
1452         (gst_clock_init), (gst_clock_finalize),
1453         (gst_clock_get_internal_time), (gst_clock_get_time),
1454         (gst_clock_slave_callback), (gst_clock_set_master),
1455         (gst_clock_get_master), (do_linear_regression),
1456         (gst_clock_add_observation), (gst_clock_set_property),
1457         (gst_clock_get_property):
1458         * gst/gstclock.h:
1459         Implement master/slave. When setting a clock as a slave, a
1460         periodic timeout is scheduled to sample master and slave times.
1461         Then the slave clock is recalibrated to match offset and rate
1462         of the master clock.
1463         Update logging a bit.
1464         Add flag so that a clock can state that is cannot be slaved to
1465         another clock.
1466
1467         * gst/gstelement.c: (gst_element_set_clock):
1468         * gst/gstelement.h:
1469         The set clock returns a gboolean for when an element cannot
1470         deal with the selected clock in the pipeline. 
1471
1472         * gst/gstpipeline.c: (gst_pipeline_change_state),
1473         (gst_pipeline_set_clock):
1474         * gst/gstpipeline.h:
1475         Handle the case where the selected clock cannot be set on
1476         the pipeline.
1477
1478         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1479         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1480         (gst_net_client_clock_set_property),
1481         (gst_net_client_clock_get_property),
1482         (gst_net_client_clock_observe_times):
1483         * gst/net/gstnetclientclock.h:
1484         Use regression code in GstClock parent, remove duplicated
1485         functionality.
1486
1487 2005-11-22  Michael Smith <msmith@fluendo.com>
1488
1489         * gst/gstutils.c: (gst_util_clock_time_scale):
1490         * gst/gstutils.h:
1491         * docs/gst/gstreamer-sections.txt:
1492           Rename method to have extra underscore.
1493
1494 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1495
1496         * gst/elements/Makefile.am:
1497         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1498         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1499         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1500         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1501         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1502         * gst/elements/gstfakesrc.h:
1503         * gst/gstqueue.c: (queue_leaky_get_type):
1504           correctly fix GEnumValues so that nick is the short lowercase
1505           dashed tag
1506         * tools/gst-inspect.c: (print_element_properties_info):
1507           also show the nick, since it's useful to use from parse_launch
1508           syntax
1509           Fixes #322139
1510
1511 2005-11-22  Michael Smith <msmith@fluendo.com>
1512
1513         * gst/gstutils.c: (gst_util_clocktime_scale):
1514         * gst/gstutils.h:
1515         * docs/gst/gstreamer-sections.txt:
1516           Add util method for scaling a clocktime by a fraction. Useful 
1517           implementation is left as an exercise for the reader.
1518
1519 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1520
1521         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1522         If needed, allocate storage in the destination value during
1523         collection.
1524
1525 2005-11-22  Edward Hervey  <edward@fluendo.com>
1526
1527         * docs/gst/gstreamer-sections.txt:
1528         * gst/Makefile.am:
1529         * gst/gst.h:
1530         * gst/gsturitype.c:
1531         * gst/gsturitype.h:
1532         * gst/gstutils.c: (gst_util_set_object_arg):
1533         * tools/gst-compprep.c: (main):
1534         * tools/gst-inspect.c: (print_element_properties_info):
1535         Removed GstURI, closes bug #321061
1536
1537 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1538
1539         * check/gst/gststructure.c: (GST_START_TEST):
1540         * gst/gststructure.c: (gst_structure_parse_value):
1541           Oops, broke automatic string type parsing.
1542           Add a test to catch it in future.
1543
1544 2005-11-22  Andy Wingo  <wingo@pobox.com>
1545
1546         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1547         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1548         Actually rename the function implementations. Grr.
1549
1550 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1551
1552         * check/gst/capslist.h:
1553           Comment test cases
1554         * check/gst/gststructure.c: (GST_START_TEST),
1555         (gst_structure_suite):
1556           Test automatic value type detection in gst_structure_from_string.
1557         * gst/gststructure.c: (gst_structure_parse_value):
1558           Add fraction as a type we try and guess automatically in
1559           caps/structure strings.
1560
1561 2005-11-22  Andy Wingo  <wingo@pobox.com>
1562
1563         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1564
1565         * gst/gsttagsetter.h:
1566         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1567         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1568         (gst_tag_setter_add_tag_valist)
1569         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1570         _add_values, _add_valist, and _add_valist_values. Since this is an
1571         interface the function suffixes should be more explicit so
1572         language binding don't end up with element.add_valist ->
1573         gst_tag_setter_add_valist, for example. Fixes #322069.
1574
1575 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1576
1577         * check/gst/gstcaps.c: (GST_START_TEST):
1578           Extend caps string tests to check that a caps to string
1579           conversion is reversible and produces the same caps.
1580
1581         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1582           Output "fraction" as the generic type fraction range, so caps
1583           serialisation and deserialisation works.
1584         * check/gst/capslist.h:
1585         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1586           Support 'MIN' and 'MAX' for deserialising fractions.
1587
1588 2005-11-22  Andy Wingo  <wingo@pobox.com>
1589
1590         * gst/gstevent.h (gst_event_new_new_segment)
1591         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1592         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1593         Renamed from *_newsegment, *_buffersize, *_notarget.
1594
1595         * scripts/update-funcnames: New script, performs the changes
1596         listed above.
1597
1598 2005-11-22  Wim Taymans  <wim@fluendo.com>
1599
1600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1601         Make sure the GstFlowReturn is returned.
1602
1603         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1604         (gst_bus_add_signal_watch):
1605         * gst/gstbus.h:
1606         add gst_bus_add_signal_watch_full.
1607
1608         * gst/gstplugin.c: (gst_plugin_load_file):
1609         Small style cleanup.
1610
1611 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1612
1613         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1614           Block the fakesrc srcpad when we send an event, to avoid
1615           contention on the stream_lock causing random test failures.
1616
1617 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1618
1619         * check/gst/gstvalue.c: (GST_START_TEST):
1620         * gst/gstvalue.c: (gst_value_fraction_subtract):
1621           Fix subtraction.
1622
1623 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1624
1625         * gst/gst.h:
1626           include "gstchildproxy.h"
1627         * gst/gstchildproxy.h:
1628         * libs/gst/controller/gstcontroller.h:
1629           use G_GNUC_NULL_TERMINATED
1630
1631 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1632
1633         * check/gst/capslist.h:
1634         * check/gst/gstcaps.c: (GST_START_TEST):
1635         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1636         * gst/gststructure.c: (gst_structure_parse_range),
1637         (gst_structure_fixate_field_nearest_fraction):
1638         * gst/gststructure.h:
1639         * gst/gstvalue.c: (gst_value_init_fraction_range),
1640         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1641         (gst_value_collect_fraction_range),
1642         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1643         (gst_value_set_fraction_range_full),
1644         (gst_value_get_fraction_range_min),
1645         (gst_value_get_fraction_range_max),
1646         (gst_value_serialize_fraction_range),
1647         (gst_value_transform_fraction_range_string),
1648         (gst_value_compare_fraction_range),
1649         (gst_value_deserialize_fraction_range),
1650         (gst_value_intersect_fraction_fraction_range),
1651         (gst_value_intersect_fraction_range_fraction_range),
1652         (gst_value_subtract_fraction_fraction_range),
1653         (gst_value_subtract_fraction_range_fraction),
1654         (gst_value_subtract_fraction_range_fraction_range),
1655         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1656         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1657         (gst_value_transform_string_fraction), (_gst_value_initialize):
1658         * gst/gstvalue.h:
1659           Implement fraction ranges and extend GstFraction to support
1660           arithmetic subtraction, as well as deserialization from integer
1661           strings such as "100"
1662           Add a testsuite as for int and double range set operations
1663
1664 2005-11-21  Andy Wingo  <wingo@pobox.com>
1665
1666         * gst/gsttaglist.h: 
1667         * gst/gstcaps.h: 
1668         * gst/gststructure.h: Add glib-compat.h.
1669
1670 2005-11-21  Wim Taymans  <wim@fluendo.com>
1671
1672         * gst/gstbin.c: (gst_bin_change_state_func):
1673         Fix for #321595
1674
1675 2005-11-21  Wim Taymans  <wim@fluendo.com>
1676
1677         * gst/gstsegment.h:
1678         And add a nice define too.
1679
1680 2005-11-21  Wim Taymans  <wim@fluendo.com>
1681
1682         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1683         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1684         (gst_segment_set_duration), (gst_segment_set_last_stop),
1685         (gst_segment_set_seek), (gst_segment_set_newsegment),
1686         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1687         (gst_segment_clip):
1688         * gst/gstsegment.h:
1689         Make binding friendly.
1690
1691 2005-11-21  Andy Wingo  <wingo@pobox.com>
1692
1693         * gst/gsttagsetter.h: 
1694         * gst/gsttaglist.h: 
1695         * gst/gststructure.h: 
1696         * gst/gstcaps.h: 
1697         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1698         #319940.
1699
1700         * gst/gsterror.c (_gst_core_errors_init):
1701         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1702         category.
1703
1704         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1705         (noinst_HEADERS): noinst the -private.
1706
1707 2005-11-21  Michael Smith <msmith@fluendo.com>
1708
1709         * gst/gstplugin.h:
1710         * gst/gstregistry.h:
1711           Remove unimplemented declarations for which we can see no sensible
1712           use.
1713
1714 2005-11-21  Andy Wingo  <wingo@pobox.com>
1715
1716         * gst/gst.h: Include glib-compat.h.
1717
1718         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1719
1720         * gst/glib-compat.c: Include the public and the private header.
1721
1722         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1723
1724         * gst/gstvalue.c: 
1725         * gst/gstpad.c: 
1726         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1727
1728         * check/gst/gstevent.c (create_custom_events): Check that
1729         FLUSH_STOP is serialized.
1730
1731         * check/elements/identity.c (event_func): 
1732         * check/elements/fakesrc.c (event_func): No stream lock, the core
1733         takes it.
1734
1735         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1736         stream lock taking, yay.
1737
1738         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1739         ensure that core takes the stream lock.
1740
1741         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1742         lock name change.
1743
1744         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1745         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1746         it already. For the flush start we do take it though so we get the
1747         right preroll state change messages.
1748
1749         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1750         the stream lock here, the core does it for us.
1751
1752         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1753         GST_STREAM_GET_LOCK.
1754         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1755         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1756         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1757         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1758         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1759         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1760
1761         * gst/gstpad.c: Update for stream lock name change.
1762
1763         * gst/base/gstbasesink.c: Update for preroll lock name change.
1764
1765 2005-11-21  Wim Taymans  <wim@fluendo.com>
1766
1767         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1768         (gst_clock_get_master):
1769         * gst/gstclock.h:
1770         * gst/gstsystemclock.c: (gst_system_clock_init):
1771         Convert Clock flags to object flags.
1772         Added methods to manage master/slave clocks.
1773
1774 2005-11-21  Wim Taymans  <wim@fluendo.com>
1775
1776         * check/gst/gstsegment.c: (GST_START_TEST):
1777         * docs/design/part-TODO.txt:
1778         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1779         (gst_base_sink_event), (gst_base_sink_do_sync),
1780         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1781         (gst_base_sink_query), (gst_base_sink_change_state):
1782         * gst/base/gstbasesink.h:
1783         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1784         (gst_base_src_default_newsegment),
1785         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1786         (gst_base_src_get_range), (gst_base_src_loop),
1787         (gst_base_src_change_state):
1788         * gst/base/gstbasesrc.h:
1789         * gst/base/gstbasetransform.c:
1790         (gst_base_transform_prepare_output_buf),
1791         (gst_base_transform_event), (gst_base_transform_change_state):
1792         * gst/base/gstbasetransform.h:
1793         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1794         (gst_collect_pads_event):
1795         * gst/base/gstcollectpads.h:
1796         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1797         (gst_fake_src_create):
1798         * gst/elements/gstfakesrc.h:
1799         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1800         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1801         (gst_segment_set_last_stop), (gst_segment_set_seek),
1802         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1803         (gst_segment_to_running_time), (gst_segment_clip):
1804         * gst/gstsegment.h:
1805         More segment updates, replace code in plugins with segment
1806         helper functions.
1807
1808 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1809
1810         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1811         Don't ignore sscanf results
1812
1813 2005-11-21  Andy Wingo  <wingo@pobox.com>
1814
1815         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1816
1817         * *.h:
1818         * *.c: Ran scripts/update-macros. Oh yes.
1819
1820         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1821         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1822         GST_GET_LOCK, etc.
1823
1824         * scripts/update-macros: New script. Run it on your files to
1825         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1826         well.
1827
1828 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1829
1830         * docs/gst/Makefile.am:
1831         * docs/gst/gstreamer-docs.sgml:
1832         * docs/gst/gstreamer-sections.txt:
1833         * docs/gst/gstreamer.types:
1834         * gst/gstinfo.h:
1835           more docs fixes, add new api to the docs
1836
1837 2005-11-21  Andy Wingo  <wingo@pobox.com>
1838
1839         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1840         state_broadcast call.
1841
1842         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1843
1844 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1845
1846         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1847         function calls for arrays.
1848
1849 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1850
1851         * docs/random/ensonic/media-device-daemon.txt:
1852           wild idea, can this be done?
1853         * docs/gst/gstreamer-sections.txt:
1854         * gst/gsterror.h:
1855         * gst/gstfilter.c:
1856         * gst/gstfilter.h:
1857         * gst/gstplugin.h:
1858         * gst/gstpluginfeature.c:
1859         * gst/gsttrace.c:
1860         * gst/gstvalue.c:
1861         * gst/gstvalue.h:
1862           doc fixes and additions
1863
1864 2005-11-21  Andy Wingo  <wingo@pobox.com>
1865
1866         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1867         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1868         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1869         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1870         private to the basesrc implementation.
1871
1872         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1873         behalf of event function if necessary. It should no longer be
1874         necessary to take the stream lock in pad's event functions. Fixes
1875         #320299.
1876
1877 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1878         * docs/gst/gstreamer-sections.txt:
1879         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1880         (gst_structure_fixate_field_nearest_double),
1881         (gst_structure_fixate_field_boolean):
1882         * gst/gststructure.h:
1883         * win32/common/libgstreamer.def:
1884         * win32/gstreamer.def:
1885
1886         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1887         (#322027)
1888
1889 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1890
1891         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1892         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1893         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1894         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1895         (gst_fdsrc_uri_handler_init):
1896         * gst/elements/gstfdsrc.h:
1897           Port fd:// URI handler from 0.8 to fdsrc
1898
1899 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1900
1901         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1902         (gst_value_serialize_fourcc):
1903         * gst/gstvalue.h:
1904           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1905           consistent with our other format defines (#320324).
1906
1907 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1908
1909         * gst/gstvalue.c: (gst_value_is_fixed):
1910           Revert previous commit. Value lists are by definition
1911           not fixed, as they are a list of possible values.
1912
1913 2005-11-21  Andy Wingo  <wingo@pobox.com>
1914
1915         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1916         during the stable series if we need it. Fixes #319178.
1917
1918         * gst/gstevent.c (gst_event_new_filler): Removed.
1919
1920         * check/gst/gstevent.c: Update comment about filler events.
1921
1922 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1923
1924         * gst/gstvalue.c: (gst_value_is_fixed):
1925           Should handle both value arrays and value lists.
1926
1927 2005-11-21  Andy Wingo  <wingo@pobox.com>
1928
1929         patch by: Alessandro Dessina <alessandro nnva org>
1930
1931         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1932         functions to access arrays. Fixes #321962.
1933
1934 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1935
1936         * docs/gst/gstreamer.types:
1937           gst_collectpads_get_type => gst_collect_pads_get_type.
1938           
1939         * gst/base/gstbasetransform.c:
1940           Remove unused SIGNAL_HANDOFF enum.
1941
1942 2005-11-21  Andy Wingo  <wingo@pobox.com>
1943
1944         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1945         the event type (upstream, downstream, serialized). Renamed
1946         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1947         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1948         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1949
1950         * gst/gstevent.c: Update for new CUSTOM event names.
1951
1952         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1953
1954         * gst/gstevent.h:
1955         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1956         bug #319392.
1957
1958 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1959
1960         * docs/gst/gstreamer-sections.txt:
1961         * win32/common/libgstbase.def:
1962         * win32/libgstbase.def:
1963         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1964         (gst_collect_pads_class_init), (gst_collect_pads_init),
1965         (gst_collect_pads_finalize), (gst_collect_pads_new),
1966         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1967         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1968         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1969         (gst_collect_pads_start), (gst_collect_pads_stop),
1970         (gst_collect_pads_peek), (gst_collect_pads_pop),
1971         (gst_collect_pads_available), (gst_collect_pads_read),
1972         (gst_collect_pads_flush), (gst_collect_pads_event),
1973         (gst_collect_pads_chain):
1974         * gst/base/gstcollectpads.h:
1975           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1976           unimplemented functions as unimplemented. Add padding to
1977           GstCollectData. (#320766, #320423)
1978
1979 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1980
1981         * gst/gstmessage.c:
1982           Improve docs for DURATION message (usage of duration parameter)
1983           (#320113)
1984
1985 2005-11-20  Wim Taymans  <wim@fluendo.com>
1986
1987         * check/Makefile.am:
1988         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1989         (main):
1990         * gst/Makefile.am:
1991         * gst/gst.h:
1992         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1993         (gst_segment_set_seek), (gst_segment_set_newsegment),
1994         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1995         (gst_segment_clip):
1996         * gst/gstsegment.h:
1997         Added segment helper structure and methods. Not fully implemented
1998         yet.
1999         Added segment check.
2000
2001 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
2002
2003         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2004           Add a deserialisation test for fractions
2005         * examples/metadata/read-metadata.c: (message_loop),
2006         (make_pipeline), (main):
2007           Fix up metadata reading sample.
2008         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2009           Debug format fix
2010         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2011           Don't try and fixate empty caps
2012         * gst/gst_private.h:
2013           Wrap in G_BEGIN_DECLS/G_END_DECLS
2014         * gst/gstvalue.c: (gst_value_collect_fraction),
2015         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2016         (gst_value_transform_string_fraction),
2017         (gst_value_compare_fraction):
2018           Add some extra guards to ensure that we don't end up 
2019           with an invalid denominator of 0 in a gstfraction and
2020           that fractions always get reduced.
2021
2022 2005-11-20  Wim Taymans  <wim@fluendo.com>
2023
2024         * docs/gst/gstreamer-sections.txt:
2025         * gst/gstbuffer.h:
2026         * gst/gstelement.c:
2027         * gst/gstformat.c:
2028         * gst/gstformat.h:
2029         * gst/gstindex.h:
2030         * gst/gstquery.c:
2031         * gst/gstquery.h:
2032         * gst/gstvalue.c:
2033         Doc fixes.
2034
2035 2005-11-20  Wim Taymans  <wim@fluendo.com>
2036
2037         * docs/design/part-TODO.txt:
2038         * gst/gstcaps.h:
2039         Make a proper enum of the flag.
2040
2041 2005-11-19  Wim Taymans  <wim@fluendo.com>
2042
2043         * docs/design/part-TODO.txt:
2044         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2045         (gst_format_to_quark), (gst_format_register):
2046         * gst/gstformat.h:
2047         * gst/gstquery.c: (_gst_query_initialize),
2048         (gst_query_type_get_name), (gst_query_type_to_quark),
2049         (gst_query_type_register):
2050         * gst/gstquery.h:
2051         Add type to quark and type to string conversions.
2052
2053 2005-11-19  Andy Wingo  <wingo@pobox.com>
2054
2055         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2056         #320097.
2057
2058 2005-11-19  Wim Taymans  <wim@fluendo.com>
2059
2060         * docs/design/part-TODO.txt:
2061         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2062         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2063         (gst_bin_handle_message_func):
2064         * gst/gstbin.h:
2065         Make message handling overridable.
2066
2067 2005-11-19  Andy Wingo  <wingo@pobox.com>
2068
2069         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2070
2071         * gst/gstclock.h:
2072         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2073         be a GstClockTime.
2074         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2075         is a GstClockTime. Fixes #321710.
2076
2077         * gst/gstclock.h (GstClock): Remove offset property. Add
2078         internal_calibration and external_calibration. Fix padding. Pad
2079         also by GstClockTime so we don't run into problems.
2080
2081         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2082         (gst_clock_get_rate_offset): Remove.
2083         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2084
2085         * gst/gstutils.h:
2086         * gst/gstutils.c (g_static_rec_cond_wait)
2087         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2088
2089         * gst/gstbin.c: Remove terrible continue_state prototype.
2090
2091         * gst/gstelement.h (gst_element_continue_state): Make public.
2092
2093         * gst/gstelement.h:
2094         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2095         by continue_state. Fixes #319389.
2096
2097         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2098         Really fixes #168438. However I don't see anywhere where the
2099         filter function is called... stupid GStreamer...
2100         
2101         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2102         don't have a dispose function, so it won't get called when the
2103         object is unreffed, but oh well!
2104
2105         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2106         allows a destroy function to be set so user_data can be freed.
2107         Fixes #168438.
2108         (gst_index_set_filter): Call gst_index_set_filter_full.
2109
2110         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2111
2112         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2113         string should produce an error, given the lack of a way to
2114         represent NULL strings. Fixes #165650.
2115         
2116         * gst/gstvalue.h: 
2117         * gst/gstvalue.c (gst_value_array_append_value) 
2118         (gst_value_array_prepend_value, gst_value_array_get_size) 
2119         (gst_value_array_get_value): New API, copied from
2120         gst_value_list_*, only operates on arrays.
2121         (gst_value_list_append_value, gst_value_list_prepend_value) 
2122         (gst_value_list_concat, gst_value_list_get_size) 
2123         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2124
2125         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2126         init_list, because it works on both.
2127         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2128         (gst_value_copy_list_or_array): Renamed from copy_list.
2129         (gst_value_free_list_or_array): Renamed from free_list.
2130         (gst_value_collect_list_or_array): Renamed from collect_list.
2131         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2132         (gst_value_list_or_array_peek_pointer): Renamed from
2133         list_peek_pointer.
2134         (_gst_value_array_value_table, _gst_value_list_value_table):
2135         Update value table functions.
2136         (gst_value_compare_list_or_array): Renamed from compare_list.
2137
2138         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2139         some constness.
2140
2141         * gst/gsttaglist.c:
2142         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2143         GstTagList*. Fixes #143472.
2144
2145         * gst/gststructure.h: Clarify what the foreach/map functions can
2146         or can't do to their arguments.
2147
2148 2005-11-18  Wim Taymans  <wim@fluendo.com>
2149
2150         * gst/gstclock.c: (gst_clock_set_calibration),
2151         (gst_clock_get_calibration):
2152         Doc and API fixes.
2153         Calibration can be set with internal time equal to current
2154         internal time too.
2155
2156 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2157
2158         * gst/gsterror.c:
2159         * gst/gsterror.h:
2160           document
2161
2162 2005-11-18  Andy Wingo  <wingo@pobox.com>
2163
2164         * configure.ac: 
2165         * pkgconfig/gstreamer-net.pc.in:
2166         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2167         * pkgconfig/Makefile.am: Add net pkgconfig files.
2168
2169 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2170
2171         * gst/gstcaps.c:
2172         * gst/gstghostpad.c:
2173         * gst/gsttrace.c:
2174         * gst/gstvalue.c:
2175         * gst/gstvalue.h:
2176           docs fixes
2177
2178 2005-11-18  Andy Wingo  <wingo@pobox.com>
2179
2180         * gst/net/gstnetclientclock.c: Turn off debugging.
2181
2182         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2183         times connverge somewhat. Can't make a real test.
2184
2185         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2186         integer arithmetic. Return the minimum of the domain, which can be
2187         set as "internal" for gst_clock_set_calibration.
2188         (gst_net_client_clock_observe_times): Call _set_calibration.
2189         (gst_net_client_clock_new): Call _set_calibration instead of
2190         rate_offset.
2191
2192         * check/net/gstnetclientclock.c (test_functioning): Use the right
2193         adjustment api.
2194
2195         * gst/gstclock.h:
2196         * gst/gstclock.c (gst_clock_get_calibration) 
2197         (gst_clock_set_calibration): New functions, obsolete the ones I
2198         added yesterday. Doh. Precision issues mean we have to extrapolate
2199         from a point in the more recent past than 1970.
2200         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2201         obsolete.
2202         (gst_clock_adjust_unlocked): Use the right calibration data.
2203
2204 2005-11-18  Edward Hervey  <edward@fluendo.com>
2205
2206         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2207         Also reset the ->current_* values in READY->PAUSED
2208
2209 2005-11-18  Andy Wingo  <wingo@pobox.com>
2210
2211         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2212         Whoops, check the right fd. Also add some debugging.
2213         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2214         (do_linear_regression): Add a crapload of debugging. Subtract off
2215         the minimum values from the input series to discard unneeded bits.
2216         Use only int arithmetic. There is still double arithmetic when
2217         calculating the intercept that needs fixing. Return boolean to
2218         indicate success; FALSE would mean the domain or range is too
2219         great. Still needs fixes.
2220
2221 2005-11-18  Wim Taymans  <wim@fluendo.com>
2222
2223         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2224         For the current position in stream time, we need to subtract
2225         accumulated time.
2226         
2227         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2228         Release lock before calling the callback function of async
2229         entries.
2230
2231 2005-11-18  Andy Wingo  <wingo@pobox.com>
2232
2233         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2234         Port goes all the way to MAXUINT16.
2235
2236         * gst/net/gstnettimeprovider.c: Make the port range the same as
2237         for the kernel: 0 assigns, otherwise ports are less than
2238         MAXUINT16.
2239
2240         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2241         port change.
2242
2243         * check/net/gstnetclientclock.c (test_functioning): Add the start
2244         of another test. 
2245
2246 2005-11-18  Wim Taymans  <wim@fluendo.com>
2247
2248         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2249         (gst_bin_remove_func), (bin_bus_handler):
2250         * gst/gstbin.h:
2251         Removing a clock provider from a bin, triggers a clock lost message
2252         so that a new clock will be selected.
2253         Adding a clock to a bin triggers a clock provider message.
2254         Make sure we reselect a clock when we received a clock lost message.
2255         Keep a reference to the element that provided the clock.
2256
2257 2005-11-18  Andy Wingo  <wingo@pobox.com>
2258
2259         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2260         the clock initially so it produces values around the base time.
2261         (gst_net_client_clock_class_init): Typo fix.
2262         (gst_net_client_clock_thread): Add note on when the socket gets
2263         closed.
2264
2265 2005-11-17  Wim Taymans  <wim@fluendo.com>
2266
2267         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2268         Free remote and local time arrays.
2269
2270 2005-11-17  Wim Taymans  <wim@fluendo.com>
2271
2272         * gst/net/gstnetclientclock.c: (do_linear_regression),
2273         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2274         Fix compilation, uninitialized vars and a forgotten continue.
2275
2276 2005-11-17  Andy Wingo  <wingo@pobox.com>
2277
2278         * check/Makefile.am (check_PROGRAMS): 
2279         * check/net/gstnetclientclock.c: Add a most minimal test for the
2280         net client clock. More to come later.
2281
2282         * gst/net/gstnet.h: 
2283         * gst/net/Makefile.am: Add netclientclock.
2284
2285         * gst/net/gstnetclientclock.h:
2286         * gst/net/gstnetclientclock.c: New files, implement an untested
2287         GstClock that takes its time from a network time provider.
2288         Implements the algorithm in network-clock.scm.
2289
2290         * tests/network-clock.scm (*window-size*): Rename from
2291         *queue-length*.
2292         * tests/network-clock.scm (network-time): 
2293         * tests/network-clock-utils.scm (q-push): Update callers.
2294
2295 2005-11-17  Wim Taymans  <wim@fluendo.com>
2296
2297         * gst/gstbin.c: (gst_bin_provide_clock_func),
2298         (gst_bin_sort_iterator_new):
2299         And unref the child too..
2300
2301 2005-11-17  Wim Taymans  <wim@fluendo.com>
2302
2303         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2304         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2305         Refactor the sort iterator so it can be used while holding the
2306         LOCK too.
2307         Make clock selection select a clock closest to the source.
2308
2309 2005-11-17  Michael Smith <msmith@fluendo.com>
2310
2311         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2312         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2313         * gst/gstclock.h:
2314           Anonymous structs are a gcc (and some other compilers) extension, so
2315           don't use them. Since this is only for ABI-compatibility, and our
2316           API/ABI freeze is over in a few days, this whole thing will only
2317           last a few days, so don't bother trying to think up a meaningful
2318           name for the struct.
2319
2320 2005-11-17  Andy Wingo  <wingo@pobox.com>
2321
2322         * gst/gstclock.h (GstClock): Add rate and offset properties,
2323         preserving ABI stability. Add rate/offset accessors. Will file bug
2324         for the freeze break.
2325
2326         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2327         and offset, trying to keep precision and avoiding
2328         underflow/overflow.
2329         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2330         functions. Make gst_clock_set_time_adjust obsolete.
2331         (gst_clock_set_time_adjust): Note that this function is obsolete.
2332         Will file bug soon.
2333
2334         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2335         greppable by using GST_PADDING-1+1.
2336
2337 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2338
2339         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2340
2341         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2342           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2343
2344         * gst/gstpadtemplate.h:
2345         * gst/gstpluginfeature.h:
2346           Don't use c++ style comments in headers (#321638).
2347
2348 2005-11-16  Andy Wingo  <wingo@pobox.com>
2349
2350         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2351         buffer.
2352
2353         * check/net/gstnettimeprovider.c: Check to see that the time
2354         provider actually provides times. Works, yo!
2355
2356 2005-11-16  Wim Taymans  <wim@fluendo.com>
2357
2358         * check/Makefile.am:
2359         Enable more tests.
2360
2361         * check/elements/fakesrc.c: (GST_START_TEST):
2362         Set element to NULL before disposing it.
2363
2364 2005-11-16  Andy Wingo  <wingo@pobox.com>
2365
2366         * gst/net/Makefile.am:
2367         * gst/net/gstnet.h:
2368         * gst/net/gstnettimeprovider.c: 
2369         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2370         provider, include it from gstnet.h, and add it to the build.
2371
2372         * gst/net/gstnettimepacket.h: 
2373         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2374         sending and receiving.
2375
2376 2005-11-16  Wim Taymans  <wim@fluendo.com>
2377
2378         * check/Makefile.am:
2379         Enable valgrind check.
2380
2381         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2382         (gst_fake_src_alloc_buffer):
2383         Fix memleak.
2384
2385 2005-11-16  Wim Taymans  <wim@fluendo.com>
2386
2387         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2388         Call parent finalize too.
2389
2390 2005-11-16  Wim Taymans  <wim@fluendo.com>
2391
2392         * check/Makefile.am:
2393         Enable valgrind check that should work fine now.
2394
2395         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2396         * gst/gstqueue.c: (gst_queue_init):
2397         Fix memleaks in pad allocation.
2398
2399 2005-11-16  Andy Wingo  <wingo@pobox.com>
2400
2401         * gst/net/Makefile.am:
2402         * gst/net/gstnet.h: New part of core to hold network elements and
2403         objects. Put in core because it exposes API that applications want
2404         to use. The library is named libgstnet-tempname right now because
2405         of the existing libgstnet in gst-plugins-base. Solution is
2406         probably to rename the one in plugins-base; will file a bug for
2407         the freeze break.
2408
2409         * gst/net/gstnettimeprovider.c: 
2410         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2411         get_time call over the network.
2412
2413         * configure.ac: 
2414         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2415
2416         * check/Makefile.am:
2417         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2418         get additions shortly.
2419
2420 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2421
2422         * gst/gstpad.c: (gst_pad_new_from_static_template):
2423         * gst/gstpad.h:
2424           add gst_pad_new_from_static_template functions
2425         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2426         (gst_check_setup_sink_pad):
2427         * gst/elements/gsttee.c: (gst_tee_init):
2428           and use them
2429
2430 2005-11-16  Wim Taymans  <wim@fluendo.com>
2431
2432         * gst/gstpad.c: (gst_pad_pause_task):
2433         Removed warning, it's not really an error either.
2434
2435 2005-11-16  Wim Taymans  <wim@fluendo.com>
2436
2437         * gst/base/gstbasetransform.c:
2438         (gst_base_transform_prepare_output_buf),
2439         (gst_base_transform_event):
2440         Check if the caps are NULL, this can happen if the element
2441         is shutting down and the pad caps are set to NULL.
2442
2443 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2444
2445         * gst/elements/gsttee.c: (gst_tee_init):
2446           fix pad template leak in tee
2447
2448 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2449
2450         * gst/glib-compat.c: (g_value_dup_gst_object):
2451         * gst/glib-compat.h:
2452         * gst/gstpad.c: (gst_pad_set_property):
2453           use gst_object_ref when setting the pad template; this will
2454           trigger the pad template leaks on GLib 2.6 and the slaves
2455
2456 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2457
2458         * gst/glib-compat.c: (gst_flags_get_first_value):
2459         * gst/glib-compat.h:
2460         * gst/gstregistryxml.c:
2461           remove functions copied from GLib 2.6
2462
2463 2005-11-16  Michael Smith <msmith@fluendo.com>
2464
2465         * gst/Makefile.am:
2466           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2467           do, but only breaks with newer valgrind versions. We're not a
2468           valgrind tool, we have no link-time dependencies on libcoregrind.
2469
2470 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2471
2472         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2473           some debug changes
2474         * gst/gstmessage.h:
2475           typo fixes
2476
2477 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2478
2479         * gst/base/gstbasesrc.c: (gst_base_src_init):
2480         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2481         * gst/gstqueue.c: (gst_queue_init):
2482         * gst/gstregistryxml.c: (load_feature):
2483           Revert all these unrefs, they don't even pass make check !
2484
2485 2005-11-15  Johan Dahlin  <johan@gnome.org>
2486
2487         * gst/base/gstbasesrc.c: (gst_base_src_init):
2488         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2489         * gst/gstqueue.c: (gst_queue_init): 
2490         Free pad templates, fixes a couple of leaks.
2491
2492 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2493
2494         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2495
2496         * gst/gstpad.c: (gst_pad_get_property):
2497           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2498           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2499           (#321452)
2500
2501 2005-11-15  Wim Taymans  <wim@fluendo.com>
2502
2503         * gst/gstevent.c:
2504         Small doc update.
2505
2506 2005-11-15  Andy Wingo  <wingo@pobox.com>
2507
2508         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2509
2510         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2511         using GST_CLOCK_TIME_NONE to disable base time management.
2512         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2513         time if it was NONE before.
2514         (gst_pipeline_change_state): Only munge the base time if
2515         stream_time != GST_CLOCK_TIME_NONE.
2516
2517         * check/gst/gstpipeline.c (test_base_time): Punt around the
2518         problem of the probe not being called, because that's not the
2519         issue I'm looking at. Add a check that setting stream_time to NONE
2520         disables base time management.
2521         
2522 2005-11-15  Wim Taymans  <wim@fluendo.com>
2523
2524         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2525         segment_stop == -1 at startup.
2526
2527         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2528         (gst_base_transform_change_state):
2529         Init segment values at start.
2530
2531 2005-11-15  Wim Taymans  <wim@fluendo.com>
2532
2533         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2534         0 segment values are 0 in any format.
2535
2536         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2537         * gst/base/gstbasetransform.h:
2538         Parse newsegment correctly in basetransform
2539
2540         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2541         Sync to clock using updated segment values.
2542
2543 2005-11-15  Andy Wingo  <wingo@pobox.com>
2544
2545         * check/gst/gstpipeline.c (test_base_time): Add check that the
2546         base time and stream time are reset correctly.
2547
2548 2005-11-15  Wim Taymans  <wim@fluendo.com>
2549
2550         * docs/design/part-TODO.txt:
2551         Some more TODO items.
2552
2553 2005-11-15  Andy Wingo  <wingo@pobox.com>
2554
2555         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2556         error if the user selected "no clock" as the clocking method.
2557
2558         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2559         timestamps with live capture.
2560
2561         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2562         is 0 but we are a live source, timestamp the buffers using the
2563         element's clock.
2564
2565 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2566
2567         * docs/gst/gstreamer-sections.txt:
2568         * gst/gsterror.c:
2569         * gst/gstghostpad.c:
2570         * gst/gstobject.h:
2571         * gst/gstxml.c:
2572           more section docs
2573
2574 2005-11-14  Wim Taymans  <wim@fluendo.com>
2575
2576         * common/gst.supp:
2577           add suppressions from Wim's Debian machine
2578
2579 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2580
2581         * common/gst.supp:
2582           add suppressions from Andy's AMD64 Ubuntu machine
2583
2584 2005-11-14  Andy Wingo  <wingo@pobox.com>
2585
2586         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2587         STATE_LOCK not necessary. Fixes #311489.
2588
2589         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2590         #305291.
2591
2592         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2593         this function is not implemented.
2594
2595 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2596
2597         * gst/base/gstbasetransform.c:
2598         (gst_base_transform_prepare_output_buf):
2599         Ref the source pad caps while we need them.
2600         Fixes (#321386)
2601
2602 2005-11-11  Wim Taymans  <wim@fluendo.com>
2603
2604         * docs/gst/gstreamer-sections.txt:
2605         Added some docs for GstCollectData.
2606
2607         * gst/base/gstadapter.c:
2608         Some small code example fix.
2609
2610         * gst/base/gstcollectpads.c:
2611         * gst/base/gstcollectpads.h:
2612         Document some more.
2613
2614 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2615
2616         * configure.ac: back to HEAD
2617
2618 === release 0.9.5 ===
2619
2620 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2621
2622         * configure.ac:
2623           releasing 0.9.5, "Bike Lunch Day"
2624
2625 2005-11-11  Wim Taymans  <wim@fluendo.com>
2626
2627         * gst/gstbuffer.c: (_gst_buffer_copy):
2628         Copy more flags.
2629
2630         * gst/gstcaps.c: (gst_caps_is_equal):
2631         Fix some docs.
2632         Make _is_equal fast in the trivial cases.
2633
2634         * gst/gstminiobject.c:
2635         * gst/gstminiobject.h:
2636         More docs. Spifify .h file.
2637
2638         * gst/gstutils.c:
2639         Small doc update.
2640
2641 2005-11-11  Wim Taymans  <wim@fluendo.com>
2642
2643         * gst/base/gstbasetransform.c:
2644         (gst_base_transform_prepare_output_buf),
2645         (gst_base_transform_handle_buffer):
2646         Small cleanups.
2647         If we're processing a buffer and need to allocate an output
2648         buffer, we cannot accept a format change. If we did get a 
2649         format change, we have to alloc a buffer ourselves of the 
2650         right size.
2651
2652 2005-11-11  Wim Taymans  <wim@fluendo.com>
2653
2654         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2655         While checking the flag for reentrancy in the gstcaps function
2656         is nice to detect recursive invocations, it also makes it 
2657         impossible to call getcaps from multiple threads, which must be
2658         possible. So, checking for recursive calls has to go.
2659
2660 2005-11-11  Michael Smith <msmith@fluendo.com>
2661
2662         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2663           Don't sync on buffers that fall partially outside our current
2664           segment. Prevents an assertion failure/abort playing some files.
2665
2666 2005-11-10  Andy Wingo  <wingo@pobox.com>
2667
2668         * check/gst/gstbin.c (test_message_state_changed_children): Style
2669         fix..
2670
2671         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2672         gst_bus_poll with the signal watch. Ensures that poll and a signal
2673         watch see the same messages.
2674
2675         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2676         a poll and a watch at the same time get the same messages.
2677
2678 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2679
2680         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2681         * gst/gstcaps.c: (gst_caps_intersect):
2682           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2683           and it's not needed.
2684
2685 2005-11-10  Wim Taymans  <wim@fluendo.com>
2686
2687         * docs/design/part-TODO.txt:
2688         Updated todo.
2689
2690 2005-11-10  Wim Taymans  <wim@fluendo.com>
2691
2692         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2693         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2694         (gst_base_src_do_sync), (gst_base_src_get_range):
2695         Implement clock sync in base class.
2696
2697 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2698
2699         patch by: Tim-Philipp Müller <tim at centricular dot net>
2700
2701         * gst/gststructure.c: (gst_structure_parse_field),
2702         (gst_structure_from_string):
2703           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2704           so that gst_parse_launch() can deal with spaces in filtered link
2705           caps (fixes #164479)
2706         * check/gst/capslist.h:
2707         * check/gst/gststructure.c: (GST_START_TEST):
2708           add unit tests for this change
2709
2710 2005-11-10  Wim Taymans  <wim@fluendo.com>
2711
2712         * docs/gst/gstreamer-sections.txt:
2713         * gst/gstelement.c:
2714         * gst/gstelement.h:
2715         Fix docs, move some STATE macros to private.
2716
2717 2005-11-10  Wim Taymans  <wim@fluendo.com>
2718
2719         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2720         Added check for bug #317341
2721
2722         * gst/gstbuffer.c:
2723         * gst/gstbuffer.h:
2724         Some more spiffifying.
2725
2726         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2727         Call peer linkfunction if we are a source pad. Totally fixes
2728         #317341
2729
2730         * gst/gstpad.c:
2731         Update docs, source pads should call the peer linkfunction
2732         so they can atomically perform the pad link.
2733
2734 2005-11-09  Wim Taymans  <wim@fluendo.com>
2735
2736         * gst/gstbuffer.c:
2737         * gst/gstbuffer.h:
2738         Uber-spiffy-spiffify some more.
2739
2740 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2741
2742         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2743         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2744         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2745         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2746         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2747         * gst/gstpad.c: (gst_pad_init):
2748           Use GST_DEBUG_FUNCPTR() more extensively.
2749
2750 2005-11-09  Wim Taymans  <wim@fluendo.com>
2751
2752         * gst/gstobject.c: (gst_object_class_init):
2753         * gst/gstobject.h:
2754         Documentation fixes.
2755
2756 2005-11-09  Edward Hervey  <edward@fluendo.com>
2757
2758         * gst/gsttypefindfactory.c:
2759         Fix docs.
2760         
2761 2005-11-09  Edward Hervey  <edward@fluendo.com>
2762
2763         * gst/base/gsttypefindhelper.c:
2764         * gst/gsttypefind.c:
2765         * gst/gsttypefind.h:
2766         Fix docs.
2767
2768 2005-11-09  Wim Taymans  <wim@fluendo.com>
2769
2770         * gst/gstiterator.c:
2771         Fix revision data.
2772
2773         * gst/gsttask.c:
2774         * gst/gsttask.h:
2775         Fix docs.
2776
2777 2005-11-09  Wim Taymans  <wim@fluendo.com>
2778
2779         * gst/gstevent.h:
2780         * gst/gsturi.h:
2781         Fix docs.
2782
2783 2005-11-09  Wim Taymans  <wim@fluendo.com>
2784
2785         * docs/gst/gstreamer-sections.txt:
2786         Moved the message async delivery private lock and cond
2787         to the private section.
2788
2789         * gst/gstmessage.c:
2790         * gst/gstmessage.h:
2791         Fixed docs.
2792
2793 2005-11-09  Edward Hervey  <edward@fluendo.com>
2794
2795         * docs/gst/gstreamer-sections.txt:
2796         * gst/gsturi.c:
2797         * gst/gsturi.h:
2798         Document GstURIHandler
2799
2800 2005-11-09  Wim Taymans  <wim@fluendo.com>
2801
2802         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2803         (gst_iterator_find_custom):
2804         * gst/gstiterator.h:
2805         Fix iterator docs.
2806
2807 2005-11-09  Wim Taymans  <wim@fluendo.com>
2808
2809         * gst/gstbin.h:
2810         Document another field.
2811
2812         * gst/gststructure.c:
2813         * gst/gststructure.h:
2814         Document.
2815
2816 2005-11-09  Wim Taymans  <wim@fluendo.com>
2817
2818         * gst/gstbin.h:
2819         Documented structs.
2820
2821 2005-11-09  Wim Taymans  <wim@fluendo.com>
2822
2823         * docs/gst/gstreamer-sections.txt:
2824         Added some new macros.
2825
2826         * gst/gstclock.c:
2827         * gst/gstclock.h:
2828         * gst/gstobject.h:
2829         Docs updates.
2830
2831 2005-11-09  Wim Taymans  <wim@fluendo.com>
2832
2833         * docs/design/part-TODO.txt:
2834         Some more items for the TODO
2835
2836         * gst/gstcaps.c:
2837         * gst/gstcaps.h:
2838         Document GstCaps.
2839
2840 2005-11-09  Andy Wingo  <wingo@pobox.com>
2841
2842         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2843         to work on something else now tho...
2844
2845         * gst/base/gstadapter.c: More adapter docs.
2846
2847         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2848         (gst_file_sink_stop): New functions, replace the state change
2849         handler.
2850         (gst_file_sink_class_init): Hook up the start and stop functions.
2851         (gst_file_sink_base_init): Don't set the state change handler any
2852         more. It was a bit ugly too, being set from here...
2853         (gst_file_sink_get_property, gst_file_sink_set_property):
2854         Cleanups...
2855         (gst_file_sink_set_location): More robust check that doesn't call
2856         GST_STATE. Ugggggg.
2857
2858 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2859
2860         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2861           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2862
2863 2005-11-08  Wim Taymans  <wim@fluendo.com>
2864
2865         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2866         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2867         (gst_base_sink_chain), (gst_base_sink_change_state):
2868         * gst/base/gstbasesink.h:
2869         * gst/base/gstbasesrc.h:
2870         * gst/gstelement.h:
2871         * gst/gstevent.h:
2872         Avoid excessive typechecking in macros.
2873
2874         * gst/gstminiobject.c: (gst_mini_object_get_type),
2875         (gst_mini_object_init), (gst_mini_object_new),
2876         (gst_mini_object_free):
2877         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2878         (gst_object_finalize):
2879         Remove cruft code, optimize alloc_trace.
2880
2881 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2882
2883         * docs/faq/gst-uninstalled:
2884           fix up PS1 for systems that try to reset it
2885
2886 2005-11-07  Wim Taymans  <wim@fluendo.com>
2887
2888         * gst/base/gstbasesrc.c: (gst_base_src_init),
2889         (gst_base_src_get_range):
2890         Set the segment_end to -1 initially. Fixed typefind.
2891
2892 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2893
2894         * gst/base/gstadapter.c:
2895           Debug category should be 'adapter', not 'GstAdapter'.
2896           
2897         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2898         (gst_collectpads_class_init), (gst_collectpads_init),
2899         (gst_collectpads_peek), (gst_collectpads_pop),
2900         (gst_collectpads_event), (gst_collectpads_chain):
2901           Add debug category and some debugging output. Use boilerplate
2902           macros. Remove some extraneous words from docs.
2903
2904 2005-11-05  Andy Wingo  <wingo@pobox.com>
2905
2906         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2907         macro.
2908
2909 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2910
2911         * docs/gst/gstreamer-sections.txt:
2912         * gst/gstcaps.h:
2913         * gst/gstinfo.c:
2914         * gst/gstminiobject.h:
2915         * gst/gstobject.h:
2916         * gst/gstutils.h:
2917           more docs added
2918
2919 2005-11-04  Wim Taymans  <wim@fluendo.com>
2920
2921         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2922         Small update to stop at the configured segment_end
2923         position.
2924
2925 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2926
2927         * gst/gstregistry.c:
2928         * gst/gstregistry.h:
2929           added missing docs
2930
2931 2005-11-04  Edward Hervey  <edward@fluendo.com>
2932
2933         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2934         Check if we are doing a segment seek and have arrived at the
2935         end of that segment.
2936
2937 2005-11-04  Wim Taymans  <wim@fluendo.com>
2938
2939         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2940         Don't leak a mutex unlock in case of an error.
2941
2942         * gst/gstbus.h:
2943         Doc fixes.
2944
2945 2005-11-04  Wim Taymans  <wim@fluendo.com>
2946
2947         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2948         (gst_bus_post):
2949         Get the context to wake up only once.
2950
2951 2005-11-03  Wim Taymans  <wim@fluendo.com>
2952
2953         * check/states/sinks.c: (GST_START_TEST):
2954         Uncomment fixed check.
2955
2956         * docs/design/part-TODO.txt:
2957         Updated TODO.
2958
2959         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2960         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2961         (gst_base_sink_get_position):
2962         If we are going to PLAYING, post the right pending state
2963         when we post the intermediate paused message.
2964
2965         * gst/gstelement.c: (gst_element_continue_state),
2966         (gst_element_set_state_func), (gst_element_change_state):
2967         Don't post state changes that were between the same state
2968         and were not ASYNC.
2969
2970 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2971
2972         * docs/gst/gstreamer-sections.txt:
2973         * gst/gstcaps.h:
2974         * gst/gstinfo.c:
2975         * gst/gstminiobject.h:
2976         * gst/gstobject.h:
2977         * gst/gstutils.h:
2978           more docs and doc style fixes
2979
2980 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2981
2982         * docs/gst/gstreamer-sections.txt:
2983         * gst/gstelement.c:
2984         * gst/gstminiobject.c:
2985         doc fixes
2986
2987 2005-11-03  Andy Wingo  <wingo@pobox.com>
2988
2989         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2990         state-changed messages actually have the right order and the right
2991         values.
2992
2993 2005-11-03  Wim Taymans  <wim@fluendo.com>
2994
2995         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2996         Added some more checks. Specifically the case where NO_PREROLL
2997         elements are in the pipeline.
2998
2999         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3000         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3001         (gst_base_sink_get_position):
3002         Post READY->PAUSED state change messages too.
3003         Fix bug where VOID was posted as pending state...
3004
3005         * gst/gstbin.c: (gst_bin_recalc_state):
3006         use _element_continue_state() to continue the state change.
3007
3008         * gst/gstelement.c: (gst_element_continue_state),
3009         (gst_element_commit_state), (gst_element_set_state_func),
3010         (gst_element_change_state), (gst_element_change_state_func):
3011         Lots of state change cleanups, assign the STATE_RETURN in
3012         a new continue_state() function that also propagates the
3013         last return value from a state change to the app.
3014         Update some debug statements with proper category.
3015
3016 2005-11-03  Wim Taymans  <wim@fluendo.com>
3017
3018         * docs/design/part-events.txt:
3019         * docs/design/part-gstpipeline.txt:
3020         * docs/design/part-messages.txt:
3021         * docs/design/part-overview.txt:
3022         * docs/design/part-seeking.txt:
3023         * docs/design/part-states.txt:
3024         * docs/design/part-trickmodes.txt:
3025         * docs/manual/advanced-position.xml:
3026         Small docs updates.
3027
3028         * gst/gstobject.h:
3029         People think !! is ugly, this looks better.
3030
3031         * gst/gstpad.c: (gst_pad_set_blocked_async):
3032         Remove !! since it's fixed elsewhere now.
3033
3034 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3035
3036         * gst/gstminiobject.h:
3037         * gst/gstobject.h:
3038           Add !! to _FLAG_IS_SET macros to make the result boolean.
3039
3040 2005-11-03  Edward Hervey  <edward@fluendo.com>
3041
3042         * gst/gstpad.c: (gst_pad_set_blocked_async):
3043         comparing a flag and a gboolean rarely returns coherent results...
3044         Added two characters (!!) to make that work correctly.
3045         
3046 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3047
3048         * gst/gstbus.c: (gst_bus_class_init):
3049           Fix some typos.
3050           
3051         * gst/gstqueue.c: (gst_queue_loop):
3052           Don't assume a miniobject that isn't a buffer is an
3053           event (it could be that there is a refcounting
3054           problem somewhere and the pointer is stale and
3055           refers to an already destroyed miniobject).
3056
3057 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3058
3059         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3060
3061 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3062
3063         * docs/manual/advanced-position.xml:
3064           Update seek example and explanations to current 0.9 API.
3065
3066         * gst/elements/gsttypefindelement.c:
3067         (gst_type_find_element_activate):
3068           Remove FIXME comment now that the found caps
3069           are unreffed.
3070
3071 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3072
3073         * gst/gstregistryxml.c: (load_feature):
3074           Add another GST_STR_NULL instance
3075
3076 2005-11-02  Edward Hervey  <edward@fluendo.com>
3077
3078         * gst/gstpad.c: (handle_pad_block):
3079         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3080         
3081 2005-11-02  Wim Taymans  <wim@fluendo.com>
3082
3083         * gst/gstbin.c:
3084         Fix typo in docs.
3085
3086         * gst/gstelement.c: (gst_element_commit_state):
3087         Remove unused value.
3088
3089         * gst/gstiterator.c:
3090         Mention that the returned element is reffed in the docs.
3091
3092 2005-11-02  Wim Taymans  <wim@fluendo.com>
3093
3094         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3095         (gst_pad_push), (gst_pad_push_event):
3096         Unlock blocked pads when they are flushed.
3097
3098 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3099
3100         * docs/README:
3101         * docs/gst/gstreamer-sections.txt:
3102         * gst/gstbin.c:
3103           doc updates
3104         * gst/gstregistry.c: (gst_registry_scan_path_level):
3105           fix for a nasty little missed situation where an installed plug-in
3106           which was in the cache did not get overridden by an uninstalled one
3107           which was earlier in the plugin path because the newly created plugin
3108           for the uninstalled one (not in the registry) didn't get its
3109           ->registered set to TRUE
3110
3111 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3112
3113         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3114         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3115         (gst_collectpads_is_active), (gst_collectpads_collect),
3116         (gst_collectpads_collect_range), (gst_collectpads_start),
3117         (gst_collectpads_stop), (gst_collectpads_peek),
3118         (gst_collectpads_pop), (gst_collectpads_available),
3119         (gst_collectpads_read), (gst_collectpads_flush):
3120           Guard public API with assertions.
3121         
3122         * gst/gstpad.c:
3123           Fix docs for gst_pad_set_link_function().
3124
3125 2005-11-02  Johan Dahlin  <johan@gnome.org>
3126
3127         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3128         Unref found_caps after we used it.
3129
3130 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3131
3132         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3133           Don't try to ref NULL.
3134
3135 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3136
3137         * win32/common/config.h.in:
3138           provide a GST_FUNCTION that just gives a string for now
3139
3140 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3141
3142         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3143         (gst_object_flags_get_type), (register_gst_bin_flags),
3144         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3145         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3146         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3147         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3148         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3149         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3150         (gst_clock_flags_get_type), (register_gst_state),
3151         (gst_state_get_type), (register_gst_state_change_return),
3152         (gst_state_change_return_get_type), (register_gst_state_change),
3153         (gst_state_change_get_type), (register_gst_element_flags),
3154         (gst_element_flags_get_type), (register_gst_core_error),
3155         (gst_core_error_get_type), (register_gst_library_error),
3156         (gst_library_error_get_type), (register_gst_resource_error),
3157         (gst_resource_error_get_type), (register_gst_stream_error),
3158         (gst_stream_error_get_type), (register_gst_event_type),
3159         (gst_event_type_get_type), (register_gst_seek_type),
3160         (gst_seek_type_get_type), (register_gst_seek_flags),
3161         (gst_seek_flags_get_type), (register_gst_format),
3162         (gst_format_get_type), (register_gst_index_certainty),
3163         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3164         (gst_index_entry_type_get_type),
3165         (register_gst_index_lookup_method),
3166         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3167         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3168         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3169         (gst_index_flags_get_type), (register_gst_debug_level),
3170         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3171         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3172         (gst_iterator_result_get_type), (register_gst_iterator_item),
3173         (gst_iterator_item_get_type), (register_gst_message_type),
3174         (gst_message_type_get_type), (register_gst_mini_object_flags),
3175         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3176         (gst_pad_link_return_get_type), (register_gst_flow_return),
3177         (gst_flow_return_get_type), (register_gst_activate_mode),
3178         (gst_activate_mode_get_type), (register_gst_pad_direction),
3179         (gst_pad_direction_get_type), (register_gst_pad_flags),
3180         (gst_pad_flags_get_type), (register_gst_pad_presence),
3181         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3182         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3183         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3184         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3185         (gst_plugin_flags_get_type), (register_gst_rank),
3186         (gst_rank_get_type), (register_gst_query_type),
3187         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3188         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3189         (gst_tag_flag_get_type), (register_gst_task_state),
3190         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3191         (gst_alloc_trace_flags_get_type),
3192         (register_gst_type_find_probability),
3193         (gst_type_find_probability_get_type), (register_gst_uri_type),
3194         (gst_uri_type_get_type), (register_gst_parse_error),
3195         (gst_parse_error_get_type):
3196         * win32/common/gstversion.h:
3197           update win32 copies
3198
3199 2005-11-01  Luca Ognibene  <luogni@tin.it>
3200
3201         * gst/gst.c:
3202           fix docs. popt is dead, long live GOption.
3203
3204 2005-10-31  Wim Taymans  <wim@fluendo.com>
3205
3206         * gst/gstbuffer.h:
3207         Small doc fix.
3208
3209 2005-10-31  Andy Wingo  <wingo@pobox.com>
3210
3211         * Boo!
3212
3213         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3214
3215         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3216         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3217         the possibility of deadlocks here if code calling notify() or
3218         set() has a lock that can be taken in another notify handler (ABBA
3219         with class lock and e.g. python GIL state lock).
3220
3221 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3222
3223         * gst/gstbus.c: Doc updates.
3224
3225 2005-10-28  Wim Taymans  <wim@fluendo.com>
3226
3227         * docs/design/part-TODO.txt:
3228         * gst/gstiterator.c:
3229         * gst/gstsystemclock.c:
3230         * gst/gstsystemclock.h:
3231         Doc updates.
3232
3233 2005-10-28  Edward Hervey  <edward@fluendo.com>
3234
3235         * docs/gst/gstreamer-docs.sgml:
3236         * docs/gst/gstreamer-sections.txt:
3237         the GstURIType documentation page is private, it only defines GstURIType
3238         which should be defined in the GstURIHandler page
3239         
3240 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3241
3242         * gst/gstbin.c: (gst_bin_class_init):
3243         * gst/gstbin.h:
3244         * gst/gstutils.c:
3245         Documentation updates.
3246
3247 2005-10-28  Wim Taymans  <wim@fluendo.com>
3248
3249         * docs/gst/gstreamer-sections.txt:
3250         * gst/gstclock.c:
3251         * gst/gstclock.h:
3252         Documented the clocks.
3253
3254 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3255
3256         * docs/gst/gstreamer-sections.txt:
3257           move some macros to private sections
3258         * gst/gstminiobject.c:
3259         * gst/gstminiobject.h:
3260           add descriptions provided by ds and some more
3261         * gst/gstpad.h:
3262           mark macro as to be removed
3263
3264 2005-10-28  Wim Taymans  <wim@fluendo.com>
3265
3266         * docs/design/part-TODO.txt:
3267         Add an item to TODO.
3268
3269         * gst/gstiterator.c: (gst_iterator_fold),
3270         (gst_iterator_find_custom):
3271         * gst/gstiterator.h:
3272         Add iterator docs.
3273
3274 2005-10-28  Wim Taymans  <wim@fluendo.com>
3275
3276         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3277         (gst_base_transform_init):
3278         Don't leak class.
3279
3280         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3281         An EOS event marks the queue as completely filled.
3282
3283 2005-10-27  Wim Taymans  <wim@fluendo.com>
3284
3285         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3286         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3287         Some more debugging.
3288
3289         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3290         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3291         (gst_base_transform_event), (gst_base_transform_getrange),
3292         (gst_base_transform_chain):
3293         * gst/base/gstbasetransform.h:
3294         Fix debugging,
3295         Protect transform and concurrent buffer alloc with a new lock.
3296         Try not to break ABI/API.
3297
3298 2005-10-27  Wim Taymans  <wim@fluendo.com>
3299
3300         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3301         (gst_base_src_init), (gst_base_src_query),
3302         (gst_base_src_default_newsegment),
3303         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3304         (gst_base_src_send_event), (gst_base_src_event_handler),
3305         (gst_base_src_pad_get_range), (gst_base_src_loop),
3306         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3307         (gst_base_src_start), (gst_base_src_deactivate),
3308         (gst_base_src_activate_push), (gst_base_src_change_state):
3309         Move some stuff around and cleanup things.
3310
3311 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3312
3313         * gst/base/gstbasesrc.c: (gst_base_src_query):
3314           Add missing break statements.
3315
3316 2005-10-27  Wim Taymans  <wim@fluendo.com>
3317
3318         * check/gst/gstbin.c: (GST_START_TEST):
3319         An extra refcount is taken in basesrc.
3320
3321         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3322         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3323         (gst_base_src_loop):
3324         Small cleanups, check for flushing after being unlocked from the 
3325         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3326         Don't send out EOS when going to READY.
3327
3328 2005-10-27  Wim Taymans  <wim@fluendo.com>
3329
3330         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3331         (gst_base_sink_get_position):
3332         Some more debug.
3333
3334         * gst/gstbin.c: (message_check), (bin_replace_message),
3335         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3336         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3337         (bin_query_duration_init), (bin_query_duration_fold),
3338         (bin_query_duration_done), (bin_query_generic_fold),
3339         (gst_bin_query):
3340         * tools/gst-launch.c: (main):
3341         Remove old option.
3342
3343 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3344
3345         * examples/controller/audio-example.c: (main):
3346         * examples/queue/queue.c: (event_loop):
3347         * gst/base/gstbasetransform.h:
3348         * gst/gstelement.c: (gst_element_send_event):
3349         * gst/gstevent.h:
3350         * gst/gstpad.c: (gst_pad_send_event):
3351           fixing examples
3352           fixing docs typos
3353           changing log priority in error situations
3354
3355 2005-10-25  Wim Taymans  <wim@fluendo.com>
3356
3357         * gst/gstbin.c: (message_check), (bin_replace_message),
3358         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3359         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3360         (bin_query_duration_init), (bin_query_duration_fold),
3361         (bin_query_duration_done), (bin_query_generic_fold),
3362         (gst_bin_query):
3363         Some doc and debug updates.
3364         Cache previously requested query DURATION for speed. invalidate
3365         cached duration if element posts a DURATION message.
3366
3367 2005-10-25  Wim Taymans  <wim@fluendo.com>
3368
3369         * docs/design/part-TODO.txt:
3370         Update TODO.
3371
3372         * gst/gstbin.c: (message_check), (bin_replace_message),
3373         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3374         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3375         (bin_query_duration_init), (bin_query_duration_fold),
3376         (bin_query_duration_done), (bin_query_generic_fold),
3377         (gst_bin_query):
3378         Handle SEGMENT_START/DONE messages correctly.
3379         More evolved query algorithm that handles duration queries
3380         correctly.
3381
3382         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3383         (gst_element_get_state_func), (gst_element_abort_state),
3384         (gst_element_commit_state), (gst_element_lost_state):
3385         Some more debugging.
3386
3387         * gst/gstmessage.h:
3388         Added doc.
3389
3390 2005-10-25  Wim Taymans  <wim@fluendo.com>
3391
3392         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3393         Don't use invalid stream_time.
3394
3395         * gst/gstevent.c: (gst_event_new_newsegment):
3396         stream_time in newsegment cannot be undefined.
3397
3398 2005-10-24  Wim Taymans  <wim@fluendo.com>
3399
3400         * gst/gstbus.c:
3401         Doc fix.
3402
3403         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3404         (gst_queue_loop):
3405         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3406
3407 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3408
3409         * docs/libs/tmpl/gstdparam.sgml:
3410         * docs/libs/tmpl/gstdplinint.sgml:
3411         * docs/libs/tmpl/gstdpman.sgml:
3412         * docs/libs/tmpl/gstdpsmooth.sgml:
3413         * docs/libs/tmpl/gstunitconvert.sgml:
3414           these are obsolete
3415
3416 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3417
3418         * configure.ac:
3419           back to HEAD
3420
3421 === release 0.9.4 ===
3422
3423 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3424
3425         * configure.ac:
3426           releasing 0.9.4, "Tyrannosaurus Rex"
3427
3428 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3429
3430         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3431         (gst_file_sink_get_current_offset):
3432           Use fseeko() and ftello() if available. When falling back on
3433           lseek() to get the current offset, fflush() first to make sure
3434           everything is up-to-date and we get the right offset.
3435
3436 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3437
3438         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3439         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3440         * gst/gsterror.c: (_gst_stream_errors_init):
3441         * gst/gsterror.h:
3442         * gst/gstqueue.c: (gst_queue_loop):
3443         * po/POTFILES.in:
3444           remove prematurely added error category and clean up the instances
3445
3446 2005-10-21  Wim Taymans  <wim@fluendo.com>
3447
3448         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3449         (gst_base_sink_get_position), (gst_base_sink_query),
3450         (gst_base_sink_change_state):
3451         Simply set the right flag when going to playing, that's all
3452         we need to do instead of calling a function inside the object
3453         lock (that could take the lock as well and deadlock)
3454
3455 2005-10-21  Wim Taymans  <wim@fluendo.com>
3456
3457         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3458         (gst_base_src_loop):
3459         Don't warn, the peer element knows what to do best when
3460         the seek failed, it might try something else.
3461
3462 2005-10-21  Wim Taymans  <wim@fluendo.com>
3463
3464         * gst/base/gstbasesrc.c: (gst_base_src_init),
3465         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3466         Fix seeking.
3467
3468 2005-10-21  Wim Taymans  <wim@fluendo.com>
3469
3470         * docs/design/part-segments.txt:
3471         More docs.
3472
3473         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3474         Correctly set caps, even on the subbufer.
3475
3476 2005-10-21  Wim Taymans  <wim@fluendo.com>
3477
3478         * docs/gst/gstreamer-docs.sgml:
3479         * docs/gst/gstreamer-sections.txt:
3480         * gst/gstelement.h:
3481         * gst/gstevent.c:
3482         * gst/gstevent.h:
3483         * gst/gstmessage.h:
3484         * gst/gstpad.h:
3485         * gst/gstparse.h:
3486         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3487         * gst/gsttask.h:
3488         * gst/gstutils.c:
3489         * gst/gstutils.h:
3490         And 2% more doc coverage.
3491
3492 2005-10-21  Andy Wingo  <wingo@pobox.com>
3493
3494         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3495         position reporting.
3496
3497 2005-10-20  Wim Taymans  <wim@fluendo.com>
3498
3499         * gst/gsterror.c: (gst_error_get_message):
3500         * gst/gstparse.h:
3501         * gst/gstquery.h:
3502         * gst/gststructure.c:
3503         * gst/gsttrace.c:
3504         * gst/gstutils.c:
3505         More docs.
3506
3507 2005-10-20  Wim Taymans  <wim@fluendo.com>
3508
3509         * gst/gstbuffer.h:
3510         * gst/gstpad.c:
3511         * gst/gstparse.c:
3512         Another 1% more coverage.
3513
3514 2005-10-20  Wim Taymans  <wim@fluendo.com>
3515
3516         * docs/gst/gstreamer-sections.txt:
3517         * gst/gstelement.c: (gst_element_get_state_func),
3518         (gst_element_abort_state), (gst_element_commit_state),
3519         (gst_element_lost_state):
3520         * gst/gstevent.h:
3521         * gst/gstquery.c: (gst_query_set_position),
3522         (gst_query_parse_position), (gst_query_set_duration),
3523         (gst_query_parse_duration), (gst_query_new_convert):
3524         * gst/gstutils.c:
3525         Yay! 1% more docs coverage.
3526
3527 2005-10-20  Wim Taymans  <wim@fluendo.com>
3528
3529         * gst/gstpad.h:
3530         * gst/gstquery.c: (gst_query_set_position),
3531         (gst_query_parse_position), (gst_query_set_duration),
3532         (gst_query_parse_duration), (gst_query_new_convert):
3533         * gst/gstquery.h:
3534         * gst/gstutils.c: (gst_element_query_convert):
3535         * gst/gstutils.h:
3536         Docs and consistency fixes.
3537
3538 2005-10-20  Wim Taymans  <wim@fluendo.com>
3539
3540         * gst/gsttask.c:
3541         * gst/gsttask.h:
3542         More docs.
3543
3544 2005-10-20  Wim Taymans  <wim@fluendo.com>
3545
3546         * gst/gstbin.c: (message_check), (bin_replace_message),
3547         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3548         (update_degree), (gst_bin_sort_iterator_next),
3549         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3550         Reworked the message handling a bit, cache the messages instead of
3551         only the senders. alows us to do more in the future.
3552
3553 2005-10-20  Wim Taymans  <wim@fluendo.com>
3554
3555         * docs/design/part-TODO.txt:
3556         Update TODO
3557
3558         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3559         (gst_base_sink_query):
3560         Don't use clock time to report position when in EOS.
3561
3562 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3563
3564         * tools/gst-inspect.c: (print_interfaces),
3565         (print_element_properties_info), (print_element_info):
3566           Fix interface output with gst-inspect -a; don't print
3567           newlines after double/float properties.
3568
3569 2005-10-20  Wim Taymans  <wim@fluendo.com>
3570
3571         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3572         (gst_base_sink_query):
3573         Speed up current position calculation.
3574
3575         * gst/base/gstbasesrc.c: (gst_base_src_query),
3576         (gst_base_src_default_newsegment):
3577         Correctly set stream position in newsegment.
3578
3579         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3580         (update_degree), (gst_bin_sort_iterator_next),
3581         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3582         * gst/gstmessage.c: (gst_message_new_custom):
3583         Clean up debugging info
3584
3585         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3586         (gst_queue_loop), (gst_queue_handle_src_query):
3587         Pause task faster.
3588
3589 2005-10-19  Wim Taymans  <wim@fluendo.com>
3590
3591         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3592         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3593         Fix query handling again.
3594
3595 2005-10-19  Wim Taymans  <wim@fluendo.com>
3596
3597         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3598         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3599         * gst/base/gstbasesrc.c: (gst_base_src_query):
3600         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3601         * gst/elements/gsttypefindelement.c:
3602         (gst_type_find_handle_src_query), (find_element_get_length),
3603         (gst_type_find_element_activate):
3604         API change fix.
3605
3606         * gst/gstquery.c: (gst_query_new_position),
3607         (gst_query_set_position), (gst_query_parse_position),
3608         (gst_query_new_duration), (gst_query_set_duration),
3609         (gst_query_parse_duration), (gst_query_set_segment),
3610         (gst_query_parse_segment):
3611         * gst/gstquery.h:
3612         Bundling query position/duration is not a good idea since duration
3613         does not change much and we don't want to recalculate it for every
3614         position query, so they are separated again..
3615         Base value in segment query is not needed.
3616
3617         * gst/gstqueue.c: (gst_queue_handle_src_query):
3618         * gst/gstutils.c: (gst_element_query_position),
3619         (gst_element_query_duration), (gst_pad_query_position),
3620         (gst_pad_query_duration):
3621         * gst/gstutils.h:
3622         Updates for query API change.
3623         Added some docs here and there.
3624
3625 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3626
3627         * check/gst/gstbin.c: (GST_START_TEST):
3628         * check/gst/gstghostpad.c: (GST_START_TEST):
3629         * check/pipelines/cleanup.c: (GST_START_TEST):
3630           wait on thread to die so we can check refcount correctly
3631
3632 2005-10-18  Wim Taymans  <wim@fluendo.com>
3633
3634         * check/pipelines/stress.c: (GST_START_TEST):
3635         Make check a little more time consuming.
3636
3637 2005-10-18  Wim Taymans  <wim@fluendo.com>
3638
3639         * check/Makefile.am:
3640         * check/pipelines/stress.c: (GST_START_TEST),
3641         (simple_launch_lines_suite), (main):
3642         Small state change torture test.
3643
3644         * docs/design/part-states.txt:
3645         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3646         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3647         (gst_base_sink_change_state):
3648         Never take state lock from streaming thread, clean up ugly
3649         hacks. Unfortunatly core does not yet support nice ways to
3650         async commit state.
3651         
3652         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3653         (bin_bus_handler):
3654         Start state recalc if a STATE_DIRTY message is posted, but only
3655         on the toplevel bin.
3656
3657         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3658         (gst_element_get_state_func), (gst_element_abort_state),
3659         (gst_element_commit_state), (gst_element_lost_state),
3660         (gst_element_set_state_func), (gst_element_change_state):
3661         * gst/gstelement.h:
3662         State variables are now protected with the LOCK, the state
3663         lock is only used to serialize _set_state().
3664
3665 2005-10-18  Wim Taymans  <wim@fluendo.com>
3666
3667         * check/gst/gstbin.c: (GST_START_TEST):
3668         * check/gst/gstmessage.c: (GST_START_TEST):
3669         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3670         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3671         (bin_bus_handler):
3672         * gst/gstelement.c: (gst_element_abort_state),
3673         (gst_element_commit_state), (gst_element_lost_state):
3674         * gst/gstmessage.c: (gst_message_new_state_changed),
3675         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3676         (gst_message_new_segment_done), (gst_message_new_duration),
3677         (gst_message_parse_state_changed),
3678         (gst_message_parse_segment_start),
3679         (gst_message_parse_segment_done), (gst_message_parse_duration):
3680         * gst/gstmessage.h:
3681         * tools/gst-launch.c: (event_loop):
3682         Seriously, this is better than a previous commit as we only need
3683         to notify the fact that an element changed state in a streaming
3684         thread, marking the state of the parents dirty, hence the 
3685         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3686         message.
3687
3688 2005-10-18  Wim Taymans  <wim@fluendo.com>
3689
3690         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3691         (gst_bin_recalc_func):
3692         * gst/gstelement.c: (gst_element_set_clock),
3693         (gst_element_abort_state), (gst_element_lost_state):
3694         Cleanups, prepare for state change fixes.
3695
3696 2005-10-18  Wim Taymans  <wim@fluendo.com>
3697
3698         * gst/gstbin.h:
3699         * gst/gstelement.c: (gst_element_class_init),
3700         (gst_element_set_state), (gst_element_set_state_func):
3701         * gst/gstelement.h:
3702         Pending ABI changes.
3703         GThreadPool in GstBinClass to monitor async state changes.
3704         state_cookie in GstElement to detect concurrent gst/set state.
3705         set_state is now virtual too in case a very complicated element
3706         has to be constructed.
3707
3708 2005-10-18  Wim Taymans  <wim@fluendo.com>
3709
3710         * check/gst/gstbin.c: (GST_START_TEST):
3711         * check/gst/gstmessage.c: (GST_START_TEST):
3712         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3713         * gst/gstbin.c: (bin_bus_handler):
3714         * gst/gstelement.c: (gst_element_commit_state),
3715         (gst_element_lost_state):
3716         * gst/gstmessage.c: (gst_message_new_state_changed),
3717         (gst_message_new_segment_start), (gst_message_new_segment_done),
3718         (gst_message_new_duration), (gst_message_parse_state_changed),
3719         (gst_message_parse_segment_start),
3720         (gst_message_parse_segment_done), (gst_message_parse_duration):
3721         * gst/gstmessage.h:
3722         * tools/gst-launch.c: (event_loop):
3723         Make messages future proof.
3724         state-change gets a flag if it was a message comming from the
3725         streaming thread.
3726         segment-start/stop can also be specified in other formats.
3727         A message to notify an app that a pipeline changed playback 
3728         duration.
3729         Also fix a GstMessage leak in -launch
3730
3731 2005-10-18  Andy Wingo  <wingo@pobox.com>
3732
3733         * gst/gstelement.c (gst_element_dispose): More helpful message.
3734
3735 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3736
3737         reviewed by: <delete if not using a buddy>
3738
3739         * common/gtk-doc.mak:
3740
3741 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3742
3743         * gst/gstregistry.c: (gst_registry_scan_path_level):
3744           unref a plug-in we get that was already initialized
3745
3746 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3747
3748         * docs/gst/gstreamer-sections.txt:
3749         * docs/libs/gstreamer-libs-sections.txt:
3750         * gst/gstelement.h:
3751           add new api entries
3752           hide internal macro
3753
3754 2005-10-17  Andy Wingo  <wingo@pobox.com>
3755
3756         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3757         cleanup.
3758
3759         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3760
3761         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3762
3763         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3764         (gst_element_get_state_func): Better debug message.
3765         (gst_element_commit_state): s/INFO/DEBUG/.
3766         (gst_element_lost_state, gst_element_change_state): 
3767
3768         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3769         (gst_message_new_custom): s/INFO/LOG/.
3770
3771 2005-10-17  Michael Smith <msmith@fluendo.com>
3772
3773         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3774           Check if end time is valid using end time, not start time.
3775
3776 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3777
3778         * check/gst-libs/controller.c: (GST_START_TEST),
3779         (gst_controller_suite):
3780         * libs/gst/controller/gstcontroller.c:
3781         (gst_controlled_property_set_interpolation_mode):
3782         * libs/gst/controller/gstcontroller.h:
3783         * libs/gst/controller/gstinterpolation.c:
3784         * testsuite/controller/.cvsignore:
3785         * testsuite/controller/Makefile.am:
3786         * testsuite/controller/interpolator.c:
3787           merge controller testsuites
3788           fix broken tests
3789           remove mem-chunk from docs
3790
3791 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3792
3793         * gst/gstmemchunk.c:
3794         * gst/gstmemchunk.h:
3795         * gst/gsttrashstack.c:
3796         * gst/gsttrashstack.h:
3797           out.  get out.  you're fired.  to the Attic !
3798
3799 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3800
3801         * gst/gstcaps.c: (gst_caps_intersect):
3802           fix signedness issues in a (hopefully) correct way
3803         * gst/gstelement.c: (gst_element_pads_activate):
3804           some debugging
3805         * gst/gstobject.c: (gst_object_set_parent):
3806           some debugging
3807
3808 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3809
3810         * gst/gstvalue.h: Fix prototypes.
3811
3812 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3813
3814         * docs/gst/gstreamer-sections.txt:
3815         * gst/gst.c: (gst_version_string):
3816         * gst/gst.h:
3817         * gst/gstversion.h.in:
3818         * win32/common/libgstreamer.def:
3819           add gst_version_string ()
3820
3821 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3822
3823         * configure.ac:
3824           clean up further
3825         * gst/gst.c: (init_post):
3826         * win32/common/config.h.in:
3827           it's PLUGINDIR now
3828         * gst/gstcaps.c: (gst_caps_intersect):
3829           use gint64, the range could be bigger than a guint
3830
3831 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3832
3833         * gst/gstclock.h:
3834           document potential problem in 2038
3835
3836 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3837
3838         * gst/gstcaps.c: (gst_caps_intersect):
3839           Fix guint j diving under 0
3840
3841 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3842
3843         * configure.ac:
3844         * win32/common/config.h:
3845         * win32/common/config.h.in:
3846           check for process.h, declares getpid() on Windows
3847         * gst/gstinfo.c:
3848           include process.h if we have it
3849         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3850         * gst/gstmemchunk.h:
3851           fix signedness issues
3852         * win32/common/libgstreamer.def:
3853           fix get_type's
3854
3855 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3856
3857         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3858         fix. Because of unsigned ints, caps intersection was going nuts and
3859         trying to access structures with G_MAXUINT index. That fixes
3860         videotestsrc ! ffmpegcolorspace ! fakesink
3861         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3862         consistency.
3863
3864 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3865
3866         * configure.ac:
3867           use the gettext macro
3868         * gst/elements/gstelements.c:
3869         * gst/gst.c:
3870         * gst/indexers/gstindexers.c:
3871           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3872         * win32/common/config.h:
3873           updated config.h
3874         * win32/common/config.h.in:
3875           add the template to generate config.h
3876         * win32/common/gstenumtypes.c:
3877         * win32/common/gstversion.h:
3878           updated copies
3879
3880 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3881
3882         * gst/gst.c: (gst_version):
3883         * gst/gstversion.h.in:
3884           add the nano
3885
3886 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3887
3888         * gst/gstevent.h:
3889           Oops, add missing closing bracket.
3890
3891 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3892
3893         * configure.ac:
3894           use common m4's for argument checking
3895
3896 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3897
3898         * docs/gst/gstreamer-sections.txt:
3899         * gst/gstevent.h:
3900           Add GST_EVENT_TYPE_NAME() macro.
3901
3902 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3903
3904         * gst/gstinfo.c:
3905         * gst/gstpluginfeature.c:
3906         * gst/gsttask.c:
3907           privatize more symbols
3908
3909 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3910
3911         * configure.ac:
3912           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3913           everything that uses GStreamer API should have the includes
3914
3915 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3916
3917         * docs/gst/gstreamer-sections.txt:
3918         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3919         * gst/gstvalue.h:
3920           give each value a _get_type, removes the DATA exports
3921
3922 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3923
3924         * gst/gst.c:
3925         * gst/gst.h:
3926           remove _gst_registry_auto_load, not used anymore
3927         * gst/gstbin.c: (gst_bin_get_type):
3928         * gst/gstbin.h:
3929         * gst/gstelement.c: (gst_element_get_type):
3930         * gst/gstelement.h:
3931         * gst/gstobject.c: (gst_object_get_type):
3932         * gst/gstobject.h:
3933         * gst/gstpad.c: (gst_pad_get_type):
3934         * gst/gstpad.h:
3935           make _get_type functions similar, fixes data export from library
3936
3937 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3938
3939         * configure.ac:
3940           correctly make conditionals
3941         * gst/elements/Makefile.am:
3942         * gst/elements/gstelements.c:
3943           fix typo causing fdsrc not to build
3944
3945 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3946
3947         * testsuite/Makefile.am:
3948         * testsuite/bytestream/.cvsignore:
3949         * testsuite/bytestream/Makefile.am:
3950         * testsuite/bytestream/filepadsink.c:
3951         * testsuite/bytestream/gstbstest.c:
3952         * testsuite/bytestream/test1.c:
3953         * testsuite/bytestream/testfile1:
3954         * testsuite/caps/normalisation.c:
3955         * testsuite/caps/random.c: (main):
3956         * testsuite/cleanup/.cvsignore:
3957         * testsuite/cleanup/Makefile.am:
3958         * testsuite/cleanup/cleanup1.c:
3959         * testsuite/cleanup/cleanup2.c:
3960         * testsuite/cleanup/cleanup3.c:
3961         * testsuite/cleanup/cleanup4.c:
3962         * testsuite/cleanup/cleanup5.c:
3963         * testsuite/controller/interpolator.c:
3964         * testsuite/debug/printf_extension.c: (main):
3965         * testsuite/elements/tee.c:
3966         * testsuite/negotiation/.cvsignore:
3967         * testsuite/negotiation/Makefile.am:
3968         * testsuite/negotiation/pad_link.c:
3969         * testsuite/pad/Makefile.am:
3970         * testsuite/pad/chainnopull.c:
3971         * testsuite/pad/getnopush.c:
3972         * testsuite/pad/link.c:
3973         * testsuite/refcounting/sched.c: (create_pipeline):
3974         * testsuite/registry/Makefile.am:
3975         * testsuite/registry/gst-print-formats.c:
3976         * testsuite/schedulers/.cvsignore:
3977         * testsuite/schedulers/142183-2.c:
3978         * testsuite/schedulers/142183.c:
3979         * testsuite/schedulers/143777-2.c:
3980         * testsuite/schedulers/143777.c:
3981         * testsuite/schedulers/147713.c:
3982         * testsuite/schedulers/147819.c:
3983         * testsuite/schedulers/147894-2.c:
3984         * testsuite/schedulers/147894.c:
3985         * testsuite/schedulers/Makefile.am:
3986         * testsuite/schedulers/group_link.c:
3987         * testsuite/schedulers/queue_link.c:
3988         * testsuite/schedulers/relink.c:
3989         * testsuite/schedulers/unlink.c:
3990         * testsuite/schedulers/unref.c:
3991         * testsuite/schedulers/useless_iteration.c:
3992         * testsuite/states/bin.c:
3993           clean out/remove some stuff from the testsuite directories
3994
3995 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3996
3997         * configure.ac:
3998           check for some headers
3999         * gst/elements/Makefile.am:
4000         * gst/elements/gstelements.c:
4001           don't compile fdsrc without sys/socket.h
4002         * gst/indexers/Makefile.am:
4003         * gst/indexers/gstindexers.c: (plugin_init):
4004           don't compile fileindex without mmap
4005
4006 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4007
4008         * configure.ac:
4009           reorganize
4010           clean up
4011           document more
4012           remove cruft
4013         * check/Makefile.am:
4014         * docs/gst/Makefile.am:
4015         * examples/helloworld/Makefile.am:
4016         * gst/Makefile.am:
4017         * gst/base/Makefile.am:
4018         * gst/check/Makefile.am:
4019         * gst/elements/Makefile.am:
4020         * gst/indexers/Makefile.am:
4021         * gst/parse/Makefile.am:
4022         * libs/gst/controller/Makefile.am:
4023         * libs/gst/dataprotocol/Makefile.am:
4024         * examples/helloworld/helloworld.c: (event_loop):
4025           compile fixes, though it's not being compiled currently
4026
4027 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4028
4029         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4030           Add some simple tests for the new taglist date API.
4031
4032 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4033
4034         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4035         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4036           Beautify 'last-message' output: print 'none' for buffer timestamps
4037           and durations if none is set; improve alignment with next messages.
4038
4039 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4040
4041         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4042         * gst/gstpluginfeature.h:
4043         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4044         * gst/gstregistry.h:
4045         * docs/gst/gstreamer-sections.txt:
4046           Add new API to check plugin feature version requirements.
4047
4048         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4049           Some basic tests for the above.         
4050
4051 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4052
4053         * gst/gststructure.c: (gst_structure_to_string):
4054           guard against NULL printf - happens when for example
4055           a message structure with GstClock gets serialized
4056
4057 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4058
4059         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4060           Fix presumable copy'n'pasto.
4061
4062 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4063
4064         * gst/elements/gstfakesrc.h:
4065         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4066         * gst/elements/gsttypefindelement.c:
4067           fix some signedness
4068         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4069           I wonder if this could actually write +2GB files before
4070
4071 2005-10-13  Andy Wingo  <wingo@pobox.com>
4072
4073         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4074         Fix Timmeke Waymans bug.
4075         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4076         string of the proper length to gst_caps_from_string. There's a
4077         potential for, before this fix, that this could cause someone
4078         connecting over the network to cause a segfault if the payload is
4079         not NUL-terminated.
4080
4081 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4082
4083         * docs/design/draft-push-pull.txt:
4084         * docs/design/part-overview.txt:
4085         * docs/random/TODO-pre-0.9:
4086         * docs/random/old/ChangeLog.gstreamer:
4087         * gst/base/gstpushsrc.c:
4088         * gst/gstclock.c:
4089           fixed typos
4090
4091 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4092
4093         * gst/glib-compat.c: (gst_flags_get_first_value):
4094         * gst/glib-compat.h:
4095         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4096         (gst_value_compare_double), (gst_value_serialize_flags):
4097           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4098           infinite loop
4099
4100 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4101
4102         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4103         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4104           fix up debugging
4105         * tools/gst-launch.c: (event_loop):
4106           print out clock nicely
4107
4108 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4109
4110         * docs/gst/gstreamer-sections.txt:
4111         * gst/gsttaglist.h:
4112         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4113         (gst_tag_list_get_date_index):
4114           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4115           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4116
4117 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4118
4119         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4120         (gst_collectpads_chain):
4121         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4122         in CollectData.
4123
4124 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4125
4126         * docs/gst/gstreamer-sections.txt:
4127         * gst/gst.c:
4128         * gst/gsterror.h:
4129         * tools/gst-inspect.c: (main):
4130         * tools/gst-launch.c: (main):
4131         * tools/gst-run.c: (main):
4132         * tools/gst-xmlinspect.c: (main):
4133           fix GOption context leaks
4134           doc fixes
4135
4136 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4137
4138         * gst/gstbus.c:
4139           use HAVE_UNISTD_H
4140         * win32/common/config.h:
4141           update config
4142         * win32/vs6/grammar.dsp:
4143         * win32/vs6/libgstelements.dsp:
4144         * win32/vs6/libgstreamer.dsp:
4145           update vs6 files
4146
4147 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4148
4149         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4150         * gst/base/gstbasesrc.c: (gst_base_src_query):
4151           fix more guint64<->gdouble conversions
4152
4153 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4154
4155         * Makefile.am:
4156           add win32-update target
4157         * win32/common/gstconfig.h:
4158         * win32/common/gstenumtypes.c:
4159         * win32/common/gstenumtypes.h:
4160         * win32/common/gstversion.h:
4161           add files that visual studio can't generate
4162
4163 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4164
4165         * Makefile.am:
4166           add a win32-update target
4167         * configure.ac:
4168
4169 2005-10-12  Wim Taymans  <wim@fluendo.com>
4170
4171         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4172         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4173         * gst/gstelement.c: (gst_element_commit_state),
4174         (gst_element_set_state):
4175         Protect flags with proper lock.
4176         unref provided cached clock in dispose.
4177
4178 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4179
4180         * gst/gst.c:
4181         * gst/gstminiobject.h:
4182         * gst/gstpad.h:
4183         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4184           removed unused flags from miniobject
4185           doc fixes
4186
4187 2005-10-12  Wim Taymans  <wim@fluendo.com>
4188
4189         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4190         (gst_file_sink_event), (gst_file_sink_render):
4191         Flush before seeking.
4192
4193 2005-10-12  Andy Wingo  <wingo@pobox.com>
4194
4195         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4196         always been the case.
4197
4198 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4199
4200         * check/gst/gstbin.c: (GST_START_TEST):
4201         * docs/gst/gstreamer-sections.txt:
4202         * gst/base/gstbasesink.c: (gst_base_sink_init):
4203         * gst/base/gstbasesrc.c: (gst_base_src_init),
4204         (gst_base_src_get_range), (gst_base_src_check_get_range),
4205         (gst_base_src_start), (gst_base_src_stop):
4206         * gst/base/gstbasesrc.h:
4207         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4208         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4209         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4210         (bin_bus_handler):
4211         * gst/gstbin.h:
4212         * gst/gstbuffer.h:
4213         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4214         * gst/gstbus.h:
4215         * gst/gstelement.c: (gst_element_is_locked_state),
4216         (gst_element_set_locked_state), (gst_element_commit_state),
4217         (gst_element_set_state):
4218         * gst/gstelement.h:
4219         * gst/gstindex.c: (gst_index_init):
4220         * gst/gstindex.h:
4221         * gst/gstminiobject.h:
4222         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4223         (gst_object_set_parent):
4224         * gst/gstobject.h:
4225         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4226         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4227         * gst/gstpad.h:
4228         * gst/gstpadtemplate.h:
4229         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4230         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4231         * gst/gstpipeline.h:
4232         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4233         (gst_file_index_commit):
4234         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4235         * testsuite/pad/link.c: (gst_test_src_init),
4236         (gst_test_filter_init), (gst_test_sink_init):
4237         * testsuite/states/locked.c: (main):
4238           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4239           moved bitshift from macro to enum definition
4240
4241 2005-10-12  Wim Taymans  <wim@fluendo.com>
4242
4243         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4244         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4245         (gst_file_sink_render):
4246         Some more debugging info.
4247
4248 2005-10-12  Wim Taymans  <wim@fluendo.com>
4249
4250         * docs/design/part-states.txt:
4251         * tools/gst-launch.c: (main):
4252         Some doc updates.
4253         Revert non-intentional change.
4254
4255 2005-10-12  Wim Taymans  <wim@fluendo.com>
4256
4257         * check/gst/gstbin.c: (GST_START_TEST):
4258         * check/gst/gstelement.c: (GST_START_TEST):
4259         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4260         * check/gst/gstghostpad.c: (GST_START_TEST):
4261         * check/gst/gstpipeline.c: (GST_START_TEST):
4262         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4263         * check/states/sinks.c: (GST_START_TEST):
4264         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4265         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4266         (gst_bin_remove_func), (gst_bin_get_state_func),
4267         (gst_bin_recalc_state), (gst_bin_change_state_func),
4268         (bin_bus_handler):
4269         * gst/gstelement.c: (gst_element_get_state_func),
4270         (gst_element_get_state), (gst_element_abort_state),
4271         (gst_element_commit_state), (gst_element_set_state),
4272         (gst_element_change_state), (gst_element_change_state_func):
4273         * gst/gstelement.h:
4274         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4275         (gst_pipeline_provide_clock_func):
4276         * gst/gstutils.c: (gst_element_link_pads_filtered):
4277         * tools/gst-launch.c: (main):
4278         * tools/gst-typefind.c: (main):
4279         Use GstClockTime in _get_state() instead of GTimeVal.
4280         Remove old code in gstutils.c
4281
4282 2005-10-12  Andy Wingo  <wingo@pobox.com>
4283
4284         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4285         removed.
4286
4287         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4288         there is no task. Shouldn't affect any code, as nothing in our
4289         plugins checks this return value.
4290         (gst_pad_stop_task): Also take the stream lock if the pad has no
4291         task. Docs updated.
4292
4293 2005-10-12  Wim Taymans  <wim@fluendo.com>
4294
4295         * gst/gstpad.c: (pre_activate), (post_activate),
4296         (gst_pad_activate_pull), (gst_pad_activate_push):
4297         Cleanup activation code. Reset old state if
4298         activation failed.
4299
4300 2005-10-12  Wim Taymans  <wim@fluendo.com>
4301
4302         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4303         (gst_base_sink_change_state):
4304         No need to prerol after receiving EOS.
4305
4306         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4307         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4308         * gst/elements/gstidentity.c: (gst_identity_event):
4309         Print events more verbosely.
4310
4311 2005-10-12  Wim Taymans  <wim@fluendo.com>
4312
4313         * check/Makefile.am:
4314         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4315         * check/states/sinks2.c:
4316         Moved sinks2 testcode in sinks check.
4317
4318         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4319         (gst_bin_remove_func), (gst_bin_recalc_state),
4320         (gst_bin_change_state_func), (bin_bus_handler):
4321         Fix potential race condition when _get_state() iterated over an
4322         ASYNC element right before it posted a state completion.
4323
4324         * gst/gstclock.h:
4325         Do proper cast here.
4326
4327         * gst/gstevent.c: (gst_event_new_newsegment),
4328         (gst_event_parse_newsegment):
4329         A playback rate of 0.0 is not allowed.
4330
4331 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4332
4333         * win32/common/config.h:
4334         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4335         (_trewinddir), (_ttelldir), (_tseekdir):
4336         * win32/common/dirent.h:
4337         * win32/common/gtchar.h:
4338         * win32/common/libgstbase.def:
4339         * win32/common/libgstreamer.def:
4340         * win32/vs6/grammar.dsp:
4341         * win32/vs6/gst_inspect.dsp:
4342         * win32/vs6/gst_launch.dsp:
4343         * win32/vs6/gstreamer.dsw:
4344         * win32/vs6/libgstbase.dsp:
4345         * win32/vs6/libgstelements.dsp:
4346         * win32/vs6/libgstreamer.dsp:
4347           Visual Studio 6 project files, and a new common directory.
4348           Phear.
4349
4350 2005-10-11  Wim Taymans  <wim@fluendo.com>
4351
4352         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4353         (gst_base_sink_do_sync), (gst_base_sink_query),
4354         (gst_base_sink_change_state):
4355         * gst/base/gstbasesink.h:
4356         Correctly parse newsegment info.
4357
4358 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4359
4360         * gst/gst.c: (init_post):
4361           split plugin paths correctly
4362
4363 2005-10-11  Wim Taymans  <wim@fluendo.com>
4364
4365         * check/gst/gstevent.c: (GST_START_TEST):
4366         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4367         (gst_base_sink_change_state):
4368         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4369         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4370         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4371         * gst/gstevent.c: (gst_event_new_newsegment),
4372         (gst_event_parse_newsegment):
4373         * gst/gstevent.h:
4374         Added extra flag to newsegment for future API freeze.
4375         Updated check and base elements.
4376
4377 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4378
4379         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4380         (gst_collectpads_add_pad), (gst_collectpads_pop),
4381         (gst_collectpads_event), (gst_collectpads_chain):
4382         * gst/base/gstcollectpads.h: Handle EOS correctly.
4383
4384 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4385
4386         * tools/gst-launch.c: (main):
4387           more null protecting
4388
4389 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4390
4391         * gst/gst-i18n-lib.h:
4392           check for ENABLE_NLS, not GETTEXT_PACKAGE
4393         * gst/gstregistry.c: (gst_registry_add_plugin),
4394         (gst_registry_scan_path_level),
4395         (_gst_registry_remove_cache_plugins):
4396           protect possibly NULL strings
4397         * gst/parse/types.h:
4398           config.h already included before
4399         * tools/gst-inspect.c: (main):
4400           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4401           check for ENABLE_NLS, not GETTEXT_PACKAGE
4402         * tools/gst-launch.c: (main):
4403           check for ENABLE_NLS, not GETTEXT_PACKAGE
4404
4405 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4406
4407         * configure.ac:
4408           if we don't have glib, fail before testing 2.8
4409         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4410           fix a leak, should fix plugins-base testsuite
4411
4412 2005-10-11  Andy Wingo  <wingo@pobox.com>
4413
4414         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4415         take the mode we're going to as an arg. Go head and set the mode
4416         and flushing flags now, so that if the activate function starts a
4417         thread all the flags will be in the right state.
4418         (post_activate): Renamed also. Just handle making sure streaming
4419         finishes for the deactivation case, and setting the deactivated
4420         mode.
4421         (gst_pad_set_active): Complain loudly if deactivation fails.
4422         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4423         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4424         remove the terrible hack.
4425
4426 2005-10-11  Wim Taymans  <wim@fluendo.com>
4427
4428         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4429         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4430         (gst_bin_recalc_state), (gst_bin_change_state_func),
4431         (gst_bin_dispose), (bin_bus_handler):
4432         * gst/gstbin.h:
4433         Prepare to make current EOS message queue more generic.
4434         Fix some typos.
4435
4436         * gst/gstevent.c: (gst_event_new_newsegment),
4437         (gst_event_parse_newsegment):
4438         * gst/gstevent.h:
4439         Rename base to stream_time.
4440
4441         * gst/gstmessage.h:
4442         Fix typo in docs.
4443
4444 2005-10-11  Wim Taymans  <wim@fluendo.com>
4445
4446         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4447         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4448         (gst_bin_change_state_func), (bin_bus_handler):
4449         * gst/gstbin.h:
4450         Work on proper clock selection.
4451
4452 2005-10-11  Edward Hervey  <edward@fluendo.com>
4453
4454         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4455         * libs/gst/controller/gstcontroller.h:
4456         Added GList* version of _remove_properties() in order to be able to wrap
4457         it in bindings.
4458
4459 2005-10-11  Wim Taymans  <wim@fluendo.com>
4460
4461         * docs/design/part-states.txt:
4462         Some more docs.
4463
4464         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4465         (gst_bin_change_state_func), (bin_bus_handler):
4466         Doc updates. Don't distribute the same clock over and over again.
4467
4468         * gst/gstclock.c:
4469         * gst/gstclock.h:
4470         Doc updates.
4471
4472         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4473         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4474         (gst_pad_send_event):
4475         * gst/gstpad.h:
4476         Make probe emission threadsafe again.
4477         Register quarks and move _get_name() from utils.
4478         Doc updates.
4479
4480         * gst/gstpipeline.c: (gst_pipeline_class_init),
4481         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4482         Only redistribute the clock of it changed.
4483
4484         * gst/gstsystemclock.h:
4485         Doc updates. 
4486
4487         * gst/gstutils.c:
4488         * gst/gstutils.h:
4489         Moved the _flow_get_name() to GstPad.
4490
4491 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4492
4493         * check/gst-libs/gdp.c: (GST_START_TEST):
4494         * check/gst/gstcaps.c: (GST_START_TEST):
4495         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4496         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4497         (gst_dp_packet_from_caps):
4498           fix more valgrind warnings before turning up the heat
4499
4500 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4501
4502         * gst/parse/grammar.y:
4503           some cleanup before the hacking
4504
4505 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4506
4507         * gst/base/gstbasesrc.c: (gst_base_src_query):
4508           use conversions
4509         * gst/gstutils.c: (gst_guint64_to_gdouble),
4510         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4511         * gst/gstutils.h:
4512           externalize, basesrc uses it
4513           obviously the implementation needs testing
4514
4515 2005-10-10  Wim Taymans  <wim@fluendo.com>
4516
4517         * tests/sched/Makefile.am:
4518         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4519         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4520
4521 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4522
4523         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4524           apparently converting from guint64 to double is not implemented
4525           on MSVC
4526
4527 2005-10-10  Wim Taymans  <wim@fluendo.com>
4528
4529         * check/Makefile.am:
4530         * check/generic/states.c: (GST_START_TEST):
4531         * check/gst/gstbin.c: (GST_START_TEST):
4532         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4533         * check/states/sinks.c: (GST_START_TEST):
4534         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4535         (main):
4536         Check fixes, use API as stated in design docs, remove hacks.
4537
4538         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4539         (gst_base_sink_change_state):
4540         Catch stopping our task while we're shutting down.
4541
4542         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4543         (gst_bin_remove_func), (gst_bin_get_state_func),
4544         (gst_bin_recalc_state), (gst_bin_change_state_func),
4545         (bin_bus_handler):
4546         * gst/gstbin.h:
4547         * gst/gstelement.c: (gst_element_init),
4548         (gst_element_get_state_func), (gst_element_abort_state),
4549         (gst_element_commit_state), (gst_element_lost_state),
4550         (gst_element_set_state), (gst_element_change_state),
4551         (gst_element_change_state_func):
4552         * gst/gstelement.h:
4553         New state change algorithm (see #318116)
4554
4555         * gst/gstpipeline.c: (gst_pipeline_class_init),
4556         (gst_pipeline_init), (gst_pipeline_set_property),
4557         (gst_pipeline_get_property), (do_pipeline_seek),
4558         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4559         * gst/gstpipeline.h:
4560         Remove crude state change hacks.
4561
4562         * gst/gstutils.h:
4563         Remove crude hacks.
4564
4565         * tools/gst-launch.c: (main):
4566         Fixes for state change. Needs some more work to fully use the
4567         new stuff.
4568
4569 2005-10-10  Andy Wingo  <wingo@pobox.com>
4570
4571         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4572
4573         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4574         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4575         issue.
4576
4577 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4578
4579         * gst/gstiterator.c: (gst_iterator_new):
4580           Fix my previous commit: GTypes passed to gst_iterator_new()
4581           can be fundamental types.
4582
4583 2005-10-10  Wim Taymans  <wim@fluendo.com>
4584
4585         * gst/gstelement.c: (gst_element_iterate_pad_list),
4586         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4587         (gst_element_iterate_sink_pads):
4588         Use src/sink pads lists for the respective iterators instead
4589         of filtering.
4590
4591 2005-10-10  Andy Wingo  <wingo@pobox.com>
4592
4593         Merged in popt removal + GOption addition patch from Ronald, bug
4594         #169772.
4595
4596         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4597         GstElement macros around, remove popt-related symbols, add goption
4598         stuff.
4599
4600         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4601         
4602         * docs/gst/Makefile.am:
4603         * docs/libs/Makefile.am: No POPT_CFLAGS.
4604         
4605         * examples/manual/Makefile.am:
4606         * docs/manual/basics-init.xml: Doc updates with an example.
4607         
4608         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4609         (gst_init), (parse_one_option), (parse_goption_arg):
4610         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4611         bit of hand merging and debugging to get the GOption stuff working
4612         tho.
4613         
4614         * tests/Makefile.am:
4615         * tools/Makefile.am:
4616         * tools/gst-inspect.c: (main):
4617         * tools/gst-launch.c: (main):
4618         * tools/gst-run.c: (main):
4619         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4620
4621 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4622
4623         * gst/gstiterator.c: (gst_iterator_new):
4624           Add assertions to make sure passed GType is likely to really
4625           be a GType (as the compiler won't catch it if the size and
4626           GType arguments get mixed up, see #318447).
4627
4628 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4629
4630         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4631
4632         * gst/gstbin.c: (gst_bin_iterate_sorted):
4633           Pass GType and size arguments to gst_iterator_new() in the right
4634           order (maybe we should make _new() take the GType as first argument
4635           just like _new_list()?) (#318447).
4636           
4637
4638 2005-10-10  Wim Taymans  <wim@fluendo.com>
4639
4640         * gst/gstelement.c: (gst_element_finalize):
4641         And free the GStaticRecMutex too
4642
4643 2005-10-10  Andy Wingo  <wingo@pobox.com>
4644
4645         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4646         Allocate and free the mutex properly.
4647
4648         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4649         New macros.
4650         (GstElement): The state_lock is now recursive. Rebuild your
4651         plugins, suckers. Old macros adapted.
4652
4653         * docs/gst/gstreamer-sections.txt: Doc updates.
4654
4655         * gst/gstutils.h:
4656         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4657         (g_static_rec_cond_wait): Ported from state changes patch, while
4658         we wait on bug #317802 to be solved in a well-distributed GLib.
4659
4660         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4661         gst_element_change_state, variable name changes.
4662         (gst_element_change_state): Split out of gst_element_set_state in
4663         preparation for the state change merge. Doesn't pay attention to
4664         the 'transition' argument.
4665         (gst_element_set_state): Updates, hopefully purely cosmetic.
4666         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4667         state change patch.
4668         (gst_element_get_state_func): Renamed from get_state, cosmetic
4669         changes.
4670
4671 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4672
4673         * gst/elements/gstelements.c:
4674         * win32/GStreamer.vcproj:
4675         * win32/config.h:
4676         * win32/dirent.c: (_tseekdir):
4677         * win32/gst-inspect.vcproj:
4678         * win32/gst-launch.vcproj:
4679         * win32/gstconfig.h:
4680         * win32/gstelements.vcproj:
4681         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4682         * win32/gstreamer.def:
4683         * win32/msvc71.sln:
4684           updates for the win32 build (patch from Sebastien Moutte)
4685
4686 2005-10-10  Andy Wingo  <wingo@pobox.com>
4687
4688         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4689         gst_bin_get_state, cleaned up (but no logic changes).
4690         (bin_element_is_sink): Comment updates.
4691         (sink_iterator_filter): Remove needless cast.
4692         (gst_bin_iterate_sinks): Doc update.
4693         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4694         cleaned up (but no logic changes).
4695
4696         * check/states/sinks.c (test_src_sink): Cleanups from the state
4697         change patch.
4698         (test_livesrc_sink): Sync on the state.
4699
4700         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4701         the state change patch.
4702
4703         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4704         change patch.
4705
4706         * check/gst/gstbin.c: Merge in some style fixes and additional
4707         checks from Wim's state change patch.
4708
4709 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4710
4711         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4712         (gst_type_find_helper):
4713           Check whether we have the requested data already in our list of
4714           cached buffers before pulling a new buffer; also make the buffer
4715           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4716
4717 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4718
4719         * gst/gstcaps.c:
4720         * gst/gstevent.c:
4721           doc updates
4722         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4723           don't use long long, it's not portable.  Replacing with
4724           gint64 seems to work; let's hope no skeletons fall out of the closet.
4725
4726 2005-10-10  Andy Wingo  <wingo@pobox.com>
4727
4728         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4729
4730 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4731
4732         * docs/gst/gstreamer-sections.txt:
4733         * gst/gstevent.c:
4734         * gst/gstevent.h:
4735         * gst/gstinfo.c:
4736         * gst/gstinfo.h:
4737         * gst/gstmessage.c: (gst_message_parse_state_changed):
4738         * gst/gstpad.c:
4739         * gst/gstpad.h:
4740           more docs, fix compilation
4741
4742 2005-10-09  Philippe Khalaf <burger@speedy.org>
4743         * gst/gstmessage.c:
4744           Fixed a few forgotten variables on previous commit
4745
4746 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4747
4748         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4749           Fix evil typefind crasher: getrange() might return a short
4750           buffer at the end of a file, but gst_type_find_peek() must
4751           either return the full data as requested or NULL, but
4752           never a short buffer.
4753
4754 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4755
4756         * gst/gstmessage.c: (gst_message_new_state_changed),
4757         (gst_message_parse_state_changed):
4758         * gst/gstmessage.h:
4759           don't use "new", it's a C++ keyword
4760
4761 2005-10-08  Wim Taymans  <wim@fluendo.com>
4762
4763         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4764         * gst/gstelement.c: (gst_element_post_message):
4765         * gst/gstpipeline.c: (gst_pipeline_change_state):
4766         Small docs and debug updates.
4767
4768 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4769
4770         * docs/gst/gstreamer-sections.txt:
4771         * gst/gstelementfactory.c:
4772         * gst/gstevent.c:
4773         * gst/gsttaglist.c:
4774           more docs
4775
4776 2005-10-08  Wim Taymans  <wim@fluendo.com>
4777
4778         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4779         (gst_bin_dispose), (bin_bus_handler):
4780         Fix typos, add comments.
4781         Clear EOS list when going to PAUSED from any direction and do it
4782         in a threadsafe way.
4783         Get base time in a threadsafe way too.
4784         Fix confusing debug in the change_state function.
4785         Various other small cleanups.
4786         
4787         * gst/gstelement.c: (gst_element_post_message):
4788         Fix very verbose bus posting code.
4789
4790         * gst/gstpipeline.c: (gst_pipeline_class_init),
4791         (gst_pipeline_set_property), (gst_pipeline_get_property),
4792         (gst_pipeline_change_state):
4793         Small ARG_ -> PROP_ cleanup
4794
4795 2005-10-08  Wim Taymans  <wim@fluendo.com>
4796
4797         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4798         Do a less CPU demanding EOS check because we can.
4799
4800 2005-10-08  Wim Taymans  <wim@fluendo.com>
4801
4802         * libs/gst/dataprotocol/dataprotocol.c:
4803         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4804         (gst_dp_packet_from_event):
4805         * libs/gst/dataprotocol/dataprotocol.h:
4806         * libs/gst/dataprotocol/dp-private.h:
4807         It's about time we bump the version number.
4808         Since event types don't fit in the guint8 anymore describing
4809         the payload type, make payload type 16 bits wide.
4810
4811 2005-10-08  Wim Taymans  <wim@fluendo.com>
4812
4813         * docs/design/part-TODO.txt:
4814         * docs/design/part-clocks.txt:
4815         * docs/design/part-events.txt:
4816         * docs/design/part-gstbin.txt:
4817         * docs/design/part-gstelement.txt:
4818         * docs/design/part-gstpipeline.txt:
4819         * docs/design/part-live-source.txt:
4820         * docs/design/part-messages.txt:
4821         * docs/design/part-overview.txt:
4822         * docs/design/part-states.txt:
4823         Many doc updates.
4824
4825 2005-10-08  Wim Taymans  <wim@fluendo.com>
4826
4827         * gst/gstevent.c:
4828         * gst/gstevent.h:
4829         Fix event quark registration.
4830         Add some space between events so we can insert them in the
4831         right groups.
4832
4833 2005-10-08  Wim Taymans  <wim@fluendo.com>
4834
4835         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4836         (gst_base_sink_handle_buffer):
4837         Better log message.
4838
4839         * gst/gstbus.h:
4840         * gst/gstelement.h:
4841         More docs.
4842
4843         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4844         (gst_queue_set_property), (gst_queue_get_property):
4845         * gst/gstqueue.h:
4846         Remove old unused properties.
4847
4848 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4849         * docs/gst/gstreamer-sections.txt:
4850         * gst/gstmessage.c:
4851         * gst/gstmessage.h:
4852         * gst/gstminiobject.c:
4853         * gst/gstminiobject.h:
4854         * gst/gstobject.h:
4855         * gst/gstpad.h:
4856         * gst/gstutils.h:
4857           lots of new docs and doc fixes
4858
4859 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4860
4861         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4862         * gst/gstplugin.h:
4863         * gst/gstregistry.c: (gst_registry_lookup_locked),
4864         (gst_registry_scan_path_level):
4865         * gst/gstregistryxml.c: (load_plugin):
4866           Only ever load one plugin for a given plugin basename.
4867           This ensures correct overriding of GST_PLUGIN_PATH over
4868           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4869           system installed plugins.
4870
4871 2005-10-08  Wim Taymans  <wim@fluendo.com>
4872
4873         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4874         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4875         Prepare for doing QOS.
4876
4877 2005-10-08  Wim Taymans  <wim@fluendo.com>
4878
4879         * check/gst/gstbin.c: (GST_START_TEST):
4880         * check/pipelines/cleanup.c: (GST_START_TEST):
4881         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4882         Allow new clock message too.
4883
4884 2005-10-08  Wim Taymans  <wim@fluendo.com>
4885
4886         * gst/gstmessage.c: (gst_message_new_error),
4887         (gst_message_new_warning), (gst_message_new_tag),
4888         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4889         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4890         (gst_message_new_segment_start), (gst_message_new_segment_done),
4891         (gst_message_parse_state_changed),
4892         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4893         (gst_message_parse_new_clock):
4894         * gst/gstmessage.h:
4895         Also carry the clock in question.
4896
4897 2005-10-08  Wim Taymans  <wim@fluendo.com>
4898
4899         * gst/gstmessage.c: (gst_message_new_custom),
4900         (gst_message_new_eos), (gst_message_new_error),
4901         (gst_message_new_warning), (gst_message_new_tag),
4902         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4903         (gst_message_new_new_clock), (gst_message_new_segment_start),
4904         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4905         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4906         * gst/gstmessage.h:
4907         Clean up.
4908         Added clock related messages.
4909
4910         * gst/gstpipeline.c: (gst_pipeline_change_state):
4911         Post message when the clock changed.
4912
4913         * tools/gst-launch.c: (event_loop):
4914         Print new clock.
4915
4916 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4917
4918         * tools/gst-inspect.c: (print_element_properties_info):
4919           Can't pass NULL strings to g_print() on windows.
4920
4921 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4922
4923         * docs/Makefile.am:
4924         * docs/gst/Makefile.am:
4925         * docs/gst/gstreamer-docs.sgml:
4926         * docs/gst/running.xml:
4927         * docs/version.entities.in:
4928           add a chapter on running GStreamer.
4929           document GST_DEBUG and GST_PLUGIN* env vars
4930
4931 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4932
4933         * Makefile.am:
4934           remove include dir
4935         * configure.ac:
4936           remove PLUGINS_BUILDDIR stuff
4937         * gst/gst.c: (init_post):
4938           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4939         * idiottest.mak:
4940           remove, it was condescending and not needed
4941
4942 2005-10-08  Wim Taymans  <wim@fluendo.com>
4943
4944         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4945         (gst_base_sink_handle_object), (gst_base_sink_event),
4946         (gst_base_sink_wait), (gst_base_sink_handle_event),
4947         (gst_base_sink_change_state):
4948         * gst/base/gstbasesink.h:
4949         Repost EOS message while going to PLAYING if still EOS.
4950         Make sure that when receiving a FLUSH_START we don't attempt
4951         to sync on the clock anymore.
4952
4953 2005-10-08  Wim Taymans  <wim@fluendo.com>
4954
4955         * tools/gst-launch.c: (event_loop):
4956         Better message printout.
4957
4958 2005-10-08  Wim Taymans  <wim@fluendo.com>
4959
4960         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4961         (gst_bin_child_proxy_get_children_count):
4962         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4963         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4964         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4965         (gst_child_proxy_set_valist):
4966         * gst/parse/grammar.y:
4967         Make ChildProxy threadsafe and fix mem leaks.
4968
4969 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4970
4971         * gst/gst.c: (init_post):
4972           debug the GST_PLUGIN_ env vars
4973
4974 2005-10-08  Wim Taymans  <wim@fluendo.com>
4975
4976         * check/gst/gstbin.c: (GST_START_TEST):
4977         * check/gst/gstmessage.c: (GST_START_TEST):
4978         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4979         * gst/gstelement.c: (gst_element_commit_state),
4980         (gst_element_lost_state):
4981         * gst/gstmessage.c: (gst_message_new_state_changed),
4982         (gst_message_parse_state_changed):
4983         * gst/gstmessage.h:
4984         * tools/gst-launch.c: (event_loop):
4985         Added extra field to STATE_CHANGE message with the pending
4986         state, which will be different from the new state soon.
4987
4988 2005-10-08  Wim Taymans  <wim@fluendo.com>
4989
4990         * gst/gstbus.c: (gst_bus_pop):
4991         * gst/gstclock.c:
4992         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4993         Small cleanups and doc updates.
4994
4995 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4996
4997         * gst/gst.c: (init_pre):
4998         * gst/gstbin.c: (gst_bin_add_func):
4999           log distributing clocks and base time
5000         * gst/gstregistry.c: (gst_registry_add_plugin),
5001         (gst_registry_scan_path_level), (gst_registry_scan_path):
5002           clean up the debugging output a little
5003         * gst/gstutils.c: (gst_element_state_get_name):
5004           warn about a memleak (I've actually seen this be used, though
5005           it was probably a bug)
5006
5007 2005-10-07  Wim Taymans  <wim@fluendo.com>
5008
5009         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5010         (gst_base_src_init), (gst_base_src_default_newsegment),
5011         (gst_base_src_newsegment), (gst_base_src_do_seek),
5012         (gst_base_src_loop), (gst_base_src_start):
5013         * gst/base/gstbasesrc.h:
5014         Make the newsegment event customizable by subclasses.
5015
5016 2005-10-07  Wim Taymans  <wim@fluendo.com>
5017
5018         * gst/gstevent.c: (gst_event_new_buffersize),
5019         (gst_event_parse_buffersize):
5020         * gst/gstevent.h:
5021         New event for future idea.
5022
5023 2005-10-07  Andy Wingo  <wingo@pobox.com>
5024
5025         * gst/gstelement.c (gst_element_post_message): Doc update.
5026
5027         * docs/gst/gstreamer-sections.txt: Update.
5028
5029         * gst/gstmessage.c (gst_message_new_application): Made into a
5030         function like honest API calls.
5031         (gst_message_new_element): New message type.
5032
5033         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5034
5035         * check/elements/fakesrc.c (test_no_preroll): New check, checks
5036         that setting a live fakesrc to PAUSED returns NO_PREROLL both
5037         times.
5038
5039         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5040         NO_PREROLL from gst_element_change_state to fall through.
5041
5042 2005-10-07  Wim Taymans  <wim@fluendo.com>
5043
5044         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5045         (gst_ghost_pad_do_activate_push):
5046         Activating a ghostpad with no internal pad in push mode
5047         is ok.
5048
5049 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5050
5051         * gst/gstobject.h:
5052           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5053           Fixes compilation on Windows.
5054
5055 2005-10-07  Michael Smith <msmith@fluendo.com>
5056
5057         * tools/gst-inspect.c:
5058           Print out feature and plugin count at the end when printing out
5059           all features.
5060
5061 2005-10-04  Michael Smith <msmith@fluendo.com>
5062
5063         * gst/gsterror.c: (_gst_stream_errors_init):
5064           Add another error string used in a few existing plugins.
5065
5066         * gst/gstplugin.c:
5067         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5068         * tools/gst-inspect.c: (print_element_info):
5069           When a feature disappears from a plugin (and the feature exists in
5070           the cached registry file), things went horribly wrong. This isn't a
5071           complete fix, we should actually be removing the 'missing' features
5072           from the features list when we load the actual plugin. That's not
5073           yet implemented. 
5074
5075 2005-10-04  Johan Dahlin  <johan@gnome.org>
5076
5077         * check/gst/gstiterator.c: (GST_START_TEST):
5078         * gst/gstbin.c: (gst_bin_iterate_elements),
5079         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5080         * gst/gstelement.c: (gst_element_iterate_pads):
5081         * gst/gstformat.c: (gst_format_iterate_definitions):
5082         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5083         (gst_iterator_new_list), (gst_iterator_filter):
5084         * gst/gstiterator.h:
5085         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5086         Add a GType to GstIterator, update callsites and tests.
5087
5088 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5089
5090         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5091           give events a chance to be handled by event probes when the pad
5092           is not linked
5093
5094 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5095
5096         * gst/gstevent.c: (gst_event_type_get_name),
5097         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5098         * gst/gstevent.h:
5099           add string representations for event types
5100
5101 2005-10-06  Wim Taymans  <wim@fluendo.com>
5102
5103         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5104         Don't use NULL pointers.
5105
5106 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5107
5108         * gst/gst_private.h:
5109         * gst/gstbus.c:
5110         * gst/gstelement.c:
5111         * gst/gstinfo.c:
5112         * gst/gstpluginfeature.c:
5113           widen the debug category in output to fit the biggest one we have
5114           add a bus category and use it
5115           play with the colors
5116           fix up some categories
5117
5118 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5119
5120         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5121           add push activation of sink ghost pads.
5122           Andye, please verify
5123
5124 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5125
5126         * gst/gstutils.c: (gst_element_link_pads):
5127           fix a bug in the case where neither element has a pad
5128         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5129           add a test for that case
5130
5131 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5132
5133         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5134           emit have-data before checking for peers.  This allows
5135           for probe handlers to connect elements.  This helps autopluggers.
5136         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5137         (gst_pad_suite):
5138           add six checks, linked/unlinked with no/true/false probe
5139
5140 2005-10-04  Wim Taymans  <wim@fluendo.com>
5141
5142         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5143         (gst_fake_sink_event), (gst_fake_sink_preroll),
5144         (gst_fake_sink_render), (gst_fake_sink_change_state):
5145         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5146         (gst_fake_src_get_property), (gst_fake_src_create),
5147         (gst_fake_src_stop):
5148         * gst/elements/gstidentity.c: (gst_identity_stop):
5149         Protect last_message with lock.
5150
5151 2005-10-04  Edward Hervey  <edward@fluendo.com>
5152
5153         * gst/gstformat.h: 
5154         Added precision in the comments for GST_FORMAT_DEFAULT
5155
5156 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5157
5158         * tools/gst-launch.c: (main):
5159           Don't try to run erroneous pipelines.
5160
5161 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5162
5163         * gst/gstbus.c: We don't need this header.
5164
5165 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5166
5167         * configure.ac:
5168           back to development
5169
5170 === release 0.9.3 ===
5171
5172 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5173
5174         * README:
5175         * configure.ac:
5176           Releasing 0.9.3, "Unregistered"
5177
5178 2005-10-03  Andy Wingo  <wingo@pobox.com>
5179
5180         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5181         whereby calling a pad's activatepush() function can start a thread
5182         that starts to push or pull before the pad gets the FLUSHING flag
5183         unset. Hack around it by holding the stream lock until the flag is
5184         set. Need to replace this with a proper solution. Together with
5185         the ghost pad fixes, this fixes mp3 playing/tagreading.
5186
5187         * docs/design/part-gstghostpad.txt: Add a note about activation of
5188         proxy pads outside of ghost pads.
5189
5190         * gst/gstghostpad.c: Implement the ghost pad activation design.
5191
5192 2005-10-02  Andy Wingo  <wingo@pobox.com>
5193
5194         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5195         It is volatile, after all.
5196
5197         * docs/design/part-gstghostpad.txt: Flesh out activation with
5198         ghost pads.
5199
5200         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5201         GST_DEBUG_FUNCPTR.
5202
5203 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5204
5205         * configure.ac:
5206           Fix (unused) AM_CONDITIONAL tests.
5207
5208 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5209
5210         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5211
5212         * gst/gstutils.c: (gst_pad_query_convert):
5213           Add assertion that makes sure src_val is >=0, just like
5214           gst_query_new_convert() has. (#315895)
5215
5216 2005-09-30  Edward Hervey  <edward@fluendo.com>
5217
5218         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5219         Let's not iterate pads we're not interested in, it avoids getting 
5220         sky-high refcounts on sinkpad.
5221
5222 2005-09-30  Wim Taymans  <wim@fluendo.com>
5223
5224         * gst/gstelement.c: (gst_element_set_state),
5225         (gst_element_change_state):
5226         Small tweak, element in ASYNC remains ASYNC.
5227
5228 2005-09-30  Wim Taymans  <wim@fluendo.com>
5229
5230         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5231         Only error is an error.
5232
5233         * gst/gstbin.c: (gst_bin_change_state):
5234         Better debugging.
5235
5236         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5237         Also call pad_block in pad alloc.
5238
5239         * gst/gstutils.c: (gst_flow_get_name):
5240         Better debugging.
5241
5242 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5243
5244         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5245         (gst_base_src_get_range):
5246           Fix documentation typos. Add some more debug info.
5247
5248 2005-09-29  David Schleef  <ds@schleef.org>
5249
5250         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5251           more end-user friendly.
5252         * tools/gst-inspect.c: (main): Check if command-line argument is
5253           a file and attempt to load that file as a plugin.
5254
5255 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5256
5257         * check/gst/gstbin.c:
5258         * check/states/sinks.c:
5259           fix tests for the new warning
5260         * check/gst/gstpipeline.c:
5261           add a test for pipeline and bus interaction
5262         * gst/gstelement.c:
5263           elements should be NULL if they get disposed; add a warning if not
5264
5265 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5266
5267         * gst/gstobject.c:
5268           for 2.6 refcounting, make debug log more correct by printing
5269           the actual refcounts at the time of swap (Wim)
5270
5271 2005-09-29  Andy Wingo  <wingo@pobox.com>
5272
5273         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5274         removes signal watches previously added via
5275         gst_bus_add_signal_watch.
5276         (gst_bus_add_signal_watch): Don't return the source id, just store
5277         it on the bus if there wasn't an id already.
5278
5279         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5280         add_signal_watch and remove_signal_watch.
5281
5282 2005-09-29  Edward Hervey  <edward@fluendo.com>
5283
5284         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5285         Better if we actually iterate the list :)
5286
5287 2005-09-29  Wim Taymans  <wim@fluendo.com>
5288
5289         * check/gst/gstbin.c: (GST_START_TEST):
5290         Change for new bus API.
5291
5292         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5293         (send_messages), (GST_START_TEST), (gstbus_suite):
5294         Change for new bus signal API.
5295
5296         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5297         (gst_bus_source_prepare), (gst_bus_source_check),
5298         (gst_bus_create_watch), (gst_bus_add_watch_full),
5299         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5300         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5301         * gst/gstbus.h:
5302         Remove support for multiple GSources operating on different
5303         message types as it is too complex and unneeded when using
5304         signals.
5305         Added support for receiving signals from the bus.
5306
5307 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5308
5309         * docs/libs/tmpl/gstdataprotocol.sgml:
5310         * docs/manual/advanced-dataaccess.xml:
5311         * gst/elements/gstcapsfilter.c:
5312         * gst/gstutils.c:
5313           rename filter-caps to caps property
5314
5315 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5316
5317         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5318           More robust fraction string parsing.
5319
5320         * docs/pwg/appendix-porting.xml:
5321           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5322
5323 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5324
5325         * gst/gstcaps.c: (gst_caps_do_simplify):
5326           Thou shalt not free a structure and then continue using it
5327           in the next loop iteration.
5328
5329         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5330         (gst_caps_suite):
5331           Add test case for caps simplification.
5332
5333 2005-09-29  Wim Taymans  <wim@fluendo.com>
5334
5335         * check/gst/gstbin.c: (GST_START_TEST):
5336         Oops.
5337
5338 2005-09-29  Wim Taymans  <wim@fluendo.com>
5339
5340         * check/gst/gstbin.c: (GST_START_TEST):
5341         Add bus to bin.
5342
5343         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5344         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5345         (find_element), (gst_bin_sort_iterator_next),
5346         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5347         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5348         (gst_bin_change_state), (gst_bin_dispose):
5349         A bin does not have a bus, it gets the bus from the parent.
5350
5351         * gst/gstelement.c: (gst_element_requires_clock),
5352         (gst_element_provides_clock), (gst_element_is_indexable),
5353         (gst_element_is_locked_state), (gst_element_change_state),
5354         (gst_element_set_bus_func):
5355         Small cleanups.
5356
5357         * gst/gstpipeline.c: (gst_pipeline_class_init),
5358         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5359         The pipeline provides a bus.
5360
5361 2005-09-28  Johan Dahlin  <johan@gnome.org>
5362
5363         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5364         gst_structure_get_enum instead of gst_structure_get_int
5365
5366         * gst/gststructure.c (gst_structure_get_enum): Impl.
5367
5368         * gst/gststructure.h (gst_structure_get_enum): Add
5369
5370         * docs/gst/gstreamer-sections.txt: Ditto
5371
5372         * gst/gstmessage.c (gst_message_new_state_changed): Use
5373         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5374         which does introspection.
5375         Reviewed by Christian Schaller
5376
5377 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5378
5379         * gst/gstinfo.c: (gst_debug_log_default):
5380           don't do dummy g_strdup()s
5381         * libs/gst/controller/gstcontroller.c:
5382         (on_object_controlled_property_changed),
5383         (gst_controlled_property_new), (gst_controller_new_valist),
5384         (gst_controller_new_list),
5385         (gst_controller_remove_properties_valist), (gst_controller_set),
5386         (gst_controller_get), (gst_controller_sync_values),
5387         (gst_controller_get_value_array), (_gst_controller_class_init),
5388         (gst_controller_get_type):
5389         * libs/gst/controller/gstcontroller.h:
5390         * libs/gst/controller/gstinterpolation.c:
5391         (gst_controlled_property_find_timed_value_node):
5392           convert // to /**/ comments
5393
5394 2005-09-28  Wim Taymans  <wim@fluendo.com>
5395
5396         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5397         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5398         (gst_bus_sync_signal_handler):
5399         * gst/gstbus.h:
5400         Added async-message and sync-message signals to the bus.
5401         Added helper BusFunc to emit signals for all posted messages.
5402
5403         * gst/gstmessage.c: (gst_message_type_get_name),
5404         (gst_message_type_to_quark), (gst_message_get_type):
5405         * gst/gstmessage.h:
5406         Register quarks for message names.
5407
5408 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5409
5410         * docs/libs/gstreamer-libs-sections.txt:
5411         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5412         (gst_controller_new_list):
5413         * libs/gst/controller/gstcontroller.h:
5414           added another constructor for language bindings
5415
5416 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5417
5418         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5419           add another check
5420         * gst/gstbus.c:
5421           add some doc
5422         * gst/gstinfo.c: (_gst_debug_init):
5423           slightly more readable color for refcount debugging
5424
5425 2005-09-28  Wim Taymans  <wim@fluendo.com>
5426
5427         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5428         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5429         (find_element), (gst_bin_sort_iterator_next),
5430         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5431         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5432         (gst_bin_change_state), (gst_bin_dispose):
5433         Small doc fixes. get_clock -> provide_clock.
5434
5435         * gst/gstelement.c: (gst_element_class_init),
5436         (gst_element_provides_clock), (gst_element_provide_clock),
5437         (gst_element_get_clock), (gst_element_commit_state),
5438         (gst_element_lost_state):
5439         * gst/gstelement.h:
5440         Make get/set_clock() symetric. Add provide_clock vmethod since
5441         that is actually what this function does.
5442
5443         * gst/gstpipeline.c: (gst_pipeline_class_init),
5444         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5445         (gst_pipeline_get_clock):
5446         get_clock -> provide_clock.
5447
5448 2005-09-28  Andy Wingo  <wingo@pobox.com>
5449
5450         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5451         lieu of real docs...
5452
5453         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5454
5455 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5456
5457         * gst/elements/gstcapsfilter.c:
5458         * gst/elements/gstfakesink.c:
5459         * gst/elements/gstfakesrc.c:
5460         * gst/elements/gstfdsink.c:
5461         * gst/elements/gstfdsrc.c:
5462         * gst/elements/gstfilesink.c:
5463         * gst/elements/gstfilesrc.c:
5464         * gst/elements/gstidentity.c:
5465         * gst/elements/gsttee.c:
5466         * gst/elements/gsttypefindelement.c:
5467           Make element details static.
5468
5469 2005-09-28  Wim Taymans  <wim@fluendo.com>
5470
5471         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5472         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5473         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5474         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5475         (gst_bin_change_state), (gst_bin_dispose):
5476         Some documentation updates.
5477         Clean up dispose handlers.
5478
5479         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5480         * gst/gstpad.c: (gst_pad_dispose):
5481         Clean up dispose handler.
5482
5483         * gst/gstpipeline.c: (gst_pipeline_change_state):
5484         Removed spurious UNLOCK.
5485
5486 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5487
5488         * docs/gst/gstreamer-sections.txt:
5489         * gst/base/gstbasesrc.h:
5490         * gst/gstelement.h:
5491         * gst/gstevent.h:
5492         * gst/gstobject.h:
5493         * gst/gstpad.h:
5494         * gst/gstpipeline.c:
5495         * gst/gstpipeline.h:
5496         * gst/gstutils.h:
5497         * gst/gstxml.h:
5498           added two new functions to the docs
5499                 documents all undocumented GstXXXFlags
5500                 completed some incomplete docs 
5501
5502 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5503
5504         * gst/gstbin.c: (gst_bin_dispose):
5505         * gst/gstelement.c: (gst_element_dispose):
5506           remove now useless and leaky resurrection code in dispose
5507         * gst/base/gstbasesrc.c: (gst_base_src_init):
5508         * gst/gstelementfactory.c: (gst_element_factory_create):
5509         * gst/gstobject.c: (gst_object_set_parent):
5510           add some debugging
5511
5512 2005-09-27  Wim Taymans  <wim@fluendo.com>
5513
5514         * docs/design/part-TODO.txt:
5515         Update TODO.
5516
5517         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5518         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5519         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5520         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5521         (gst_bin_change_state):
5522         * gst/gstelement.h:
5523         Remove element variable, we keep element info in the iterator now.
5524
5525 2005-09-27  Andy Wingo  <wingo@pobox.com>
5526
5527         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5528         values.
5529
5530 2005-09-27  Wim Taymans  <wim@fluendo.com>
5531
5532         * check/gst/gstbin.c: (GST_START_TEST):
5533         Enable check that works now.
5534
5535         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5536         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5537         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5538         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5539         (gst_bin_change_state):
5540         * gst/gstbin.h:
5541         Redid the state change algorithm using a topological sort algo.
5542         Handles all cases correctly.
5543         Exposed iterator for state change order.
5544
5545         * gst/gstelement.h:
5546         Temp storage for state changes. Need to get rid of this soon.
5547
5548 2005-09-27  Wim Taymans  <wim@fluendo.com>
5549
5550         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5551         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5552         (link_fold_func), (gst_pad_proxy_setcaps):
5553         Leak fixes, the fold functions need to unref the passed object and
5554         _get_parent_*() returns ref to parent.
5555
5556 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5557
5558         * check/gst/gstbuffer.c: (test_make_writable):
5559           Plug leak in test case and fix 'make check-valgrind'
5560
5561 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5562
5563         * gst/gstbuffer.c: (gst_subbuffer_init):
5564           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5565           works correctly in all circumstances (we could have just copied
5566           the parent buffer's readonly flag, but conceptually it seems
5567           cleaner to mark all subbuffers as read-only). (based on patch
5568           by Alessandro Decina, #314710).
5569         
5570         * check/gst/gstbuffer.c: (create_read_only_buffer),
5571         (test_make_writable), (test_subbuffer_make_writable),
5572         (gst_test_suite):
5573           Add some tests for gst_buffer_make_writable().
5574
5575 2005-09-27  Wim Taymans  <wim@fluendo.com>
5576
5577         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5578         use gst_object_has_ancestor().
5579
5580         * gst/gstobject.c: (gst_object_has_ancestor):
5581         * gst/gstobject.h:
5582         gst_object_has_ancestor() copied from gstbin.c as it is a
5583         usefull function.
5584
5585         * tests/instantiate/create.c: (create_all_elements):
5586         * tests/lat.c: (handoff_src), (handoff_sink):
5587         * tests/sched/runxml.c: (main):
5588         * tests/seeking/seeking1.c: (main):
5589         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5590         (main):
5591         Fix compilation of some tests.
5592
5593 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5594
5595         * gst/gsterror.h:
5596           Remove comment. GST_TYPE_G_ERROR is here to stay,
5597           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5598           (#316961, #300610).
5599
5600 2005-09-26  Wim Taymans  <wim@fluendo.com>
5601
5602         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5603         Added check that shows error in state change order.
5604
5605 2005-09-26  Wim Taymans  <wim@fluendo.com>
5606
5607         * gst/gstbin.c: (gst_bin_change_state):
5608         Make state change function use 3 queues again, we were
5609         adding elements in the wrong order.
5610
5611         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5612         Some debug info,
5613
5614         * gst/gstpad.c: (gst_pad_dispose):
5615         Added some debug info first.
5616
5617 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5618
5619         * docs/design/draft-push-pull.txt:
5620         * docs/design/part-events.txt:
5621         * docs/design/part-overview.txt:
5622         * docs/design/part-scheduling.txt:
5623           Replace all _pull_region() with _pull_range()
5624           
5625 2005-09-26  Andy Wingo  <wingo@pobox.com>
5626
5627         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5628
5629         * check/gst-libs/controller.c: Update for controller api change.
5630
5631         * configure.ac: 
5632         * tests/Makefile.am:
5633         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5634         over by GLib bug 118439.
5635         
5636         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5637         routines to a function.
5638
5639         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5640
5641         * libs/gst/controller/gsthelper.c:
5642         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5643         (gst_object_sync_values): Renamed from sink_values. Ugh.
5644
5645         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5646
5647         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5648         Renamed from controller_key, as it is exported.
5649
5650         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5651
5652 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5653
5654         * gst/Makefile.am:
5655         * gst/gst.h:
5656         * gst/gstpad.h:
5657         * gst/gstpadtemplate.h:
5658         * gst/gstquery.c:
5659         * gst/gstquery.h:
5660         * gst/gstqueryutils.c:
5661         * gst/gstqueryutils.h:
5662           remove queryutils headers after moving the two used functions
5663           to gstquery.  also fixes build problem for gstsiddec
5664
5665 2005-09-26  Michael Smith <msmith@fluendo.com>
5666
5667         * tools/gst-launch.1.in:
5668         Correct documentation in manpage of debug syntax
5669
5670 2005-09-26  Wim Taymans  <wim@fluendo.com>
5671
5672         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5673         (gst_base_src_is_seekable), (gst_base_src_change_state):
5674         Some more debugging info.
5675
5676 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5677
5678         * docs/gst/gstreamer-sections.txt:
5679         * gst/base/gstbasetransform.h:
5680         * gst/gstindex.h:
5681           added more docs
5682
5683 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5684
5685         * docs/gst/.cvsignore:
5686         * docs/gst/tmpl/.cvsignore:
5687         * docs/gst/tmpl/gstpipeline.sgml:
5688         * docs/gst/tmpl/gstplugin.sgml:
5689         * gst/gstpipeline.c:
5690         * gst/gstplugin.c:
5691         * gst/gstplugin.h:
5692           inlined the last two docs files
5693           removed the tmpl directory from cvs (no more conflicts here!)
5694
5695 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5696
5697         * docs/gst/gstreamer-sections.txt:
5698         * docs/gst/tmpl/.cvsignore:
5699         * docs/gst/tmpl/gstpad.sgml:
5700         * docs/gst/tmpl/gstpadtemplate.sgml:
5701         * gst/Makefile.am:
5702         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5703         (gst_pad_finalize), (gst_pad_set_pad_template):
5704         * gst/gstpad.h:
5705         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5706         (gst_pad_template_class_init), (gst_pad_template_init),
5707         (gst_pad_template_dispose), (name_is_valid),
5708         (gst_static_pad_template_get), (gst_pad_template_new),
5709         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5710         (gst_pad_template_pad_created):
5711         * gst/gstpadtemplate.h:
5712           inlined two more docs
5713           factored gstpadtemplate out of gstpad
5714
5715 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5716
5717         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5718         (test_children_state_change_order_semi_sink):
5719           Fix test case: we can't rely on a fixed state change order when
5720           going from READY => PAUSED because the sink might commit its 
5721           new state first when the first buffer created by the source 
5722           reaches the sink before the source has finished its change state.
5723           (Test case still fails at times, see #316856, comment 5 onwards)
5724
5725 2005-09-24  Wim Taymans  <wim@fluendo.com>
5726
5727         * docs/design/part-events.txt:
5728         * docs/design/part-gstbus.txt:
5729         * docs/design/part-gstpipeline.txt:
5730         * docs/design/part-messages.txt:
5731         * docs/design/part-overview.txt:
5732         * docs/design/part-segments.txt:
5733         * gst/gstbin.c:
5734         * gst/gstbuffer.c:
5735         * gst/gstclock.c:
5736         * gst/gstelement.c:
5737         * gst/gstevent.c:
5738         * gst/gstfilter.c:
5739         * gst/gstiterator.c:
5740         Various documentation updates.
5741
5742 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5743
5744         * gst/gstclock.h:
5745           Well, that's embarassing.  Luckily we weren't using
5746           GST_CLOCK_DIFF anywhere.
5747
5748 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5749
5750         * common/gtk-doc.mak:
5751           don't fail on building XML, FC4 slave shows a bunch of doc
5752           missing bits that I don't get
5753         * gst/gstpad.c:
5754         * gst/gstpipeline.c:
5755         * gst/gststructure.c:
5756           some doc updates
5757
5758 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5759
5760         * docs/design/part-gstbin.txt:
5761         * docs/design/part-gstbus.txt:
5762         * gst/gstbus.c:
5763           Add blurb about how the bus goes into flushing mode and
5764           drops all messages when its bin goes from READY into NULL 
5765           state.
5766
5767 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5768
5769         * docs/gst/gstreamer-sections.txt:
5770         * gst/gststructure.c: (gst_structure_get_clock_time):
5771         * gst/gststructure.h:
5772           add a method to get a GstClockTime out of a structure
5773
5774 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5775
5776         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5777         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5778           Added test to check state change order in bins (can still be made
5779           to fail here under heavy disk load; bails out with 'Push on pad
5780           fakesink:sink0, but it was not activated in push mode').
5781
5782         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5783           Fix state change order when there is only a semi sink (#316856)
5784
5785         * gst/gstbus.c: (gst_bus_class_init):
5786           Use _class_peek_parent(), not _class_ref(); fix docs to say
5787           'default main context' instead of 'mainloop' where that is
5788           what's meant.
5789
5790         * gst/gstelement.c: (gst_element_commit_state),
5791         (gst_element_set_state):
5792           Fix typos in debug messages
5793
5794 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5795
5796         * docs/README:
5797         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5798         * gst/gstpluginfeature.c:
5799         * gst/gstutils.c:
5800           various doc updates
5801         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5802           change an assert into an error until it gets fixed properly
5803
5804 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5805
5806         * docs/gst/gstreamer-sections.txt:
5807         * docs/gst/tmpl/.cvsignore:
5808         * docs/gst/tmpl/gstelement.sgml:
5809         * docs/gst/tmpl/gstinfo.sgml:
5810         * docs/gst/tmpl/gstobject.sgml:
5811         * gst/gstelement.c:
5812         * gst/gstelement.h:
5813         * gst/gstinfo.c:
5814         * gst/gstinfo.h:
5815         * gst/gstobject.c: (gst_object_class_init):
5816         * gst/gstobject.h:
5817           inlined 3 more biiiig doc files and added some missing docs on the fly
5818
5819 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5820
5821         * check/gst/.cvsignore:
5822         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5823         * gst/gstregistryxml.c: (load_plugin),
5824         (gst_registry_xml_save_plugin):
5825           put back source in registry.  add checks for find_plugin.
5826         * testsuite/states/bin.c: (assert_state), (empty_bin),
5827         (test_adding_one_element), (main):
5828         * testsuite/states/locked.c: (main):
5829           some compile/run fixes
5830
5831 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5832
5833         * check/gst/gstvalue.c: (GST_START_TEST):
5834           fix leaks in the test itself
5835
5836 2005-09-22  Wim Taymans  <wim@fluendo.com>
5837
5838         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5839         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5840         (gst_base_sink_query):
5841         Prepare for more accurate position reporting and query
5842         handling.
5843
5844         * gst/gstelement.c: (gst_element_send_event),
5845         (gst_element_set_state):
5846         Add some comment.
5847
5848 2005-09-22  Wim Taymans  <wim@fluendo.com>
5849
5850         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5851         (gst_query_parse_segment):
5852         * gst/gstquery.h:
5853         More documentation.
5854         Add segment query for future use.
5855
5856 2005-09-22  Wim Taymans  <wim@fluendo.com>
5857
5858         * gst/gstbin.c: (gst_bin_add_func):
5859         Some more debug info.
5860
5861         * gst/gstelement.c: (gst_element_send_event):
5862         Simplify send_event
5863
5864         * gst/gstelement.h:
5865         Don't know how flags got broken.
5866
5867         * gst/gstquery.h:
5868         Added new query.
5869
5870 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5871
5872         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5873           Add simplistic test suite for GST_TYPE_DATE serialisation and
5874           deserialisation.
5875
5876 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5877
5878         * docs/gst/gstreamer-sections.txt:
5879         * gst/gststructure.c: (gst_structure_set_valist),
5880         (gst_structure_get_date):
5881         * gst/gststructure.h:
5882         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5883         (gst_date_copy), (gst_value_compare_date),
5884         (gst_value_serialize_date), (gst_value_deserialize_date),
5885         (gst_value_transform_date_string),
5886         (gst_value_transform_string_date), (_gst_value_initialize):
5887         * gst/gstvalue.h:
5888           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5889           bunch of utility functions along with a hack that checks that
5890           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5891           is required. Part of the grand scheme in #170777.
5892
5893 2005-09-22  Andy Wingo  <wingo@pobox.com>
5894
5895         * gst/gstconfig.h.in: Psych out gtk-doc.
5896
5897         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5898
5899         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5900
5901         * tools/gst-inspect.c (print_element_list): Plug some
5902         inconsequential leaks.
5903
5904         * gst/gstregistry.c (gst_registry_get_default): Doc.
5905
5906         * check/gst/gstplugin.c: 
5907         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5908         * gst/gstelementfactory.c (gst_element_factory_create): 
5909         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5910         refcount changes.
5911
5912         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5913         (gst_plugin_feature_load): Doc, don't eat refs.
5914
5915         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5916         (gst_plugin_list_free): Doc.
5917         (gst_plugin_load_file): Doc updates.
5918
5919         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5920         accessors returning refcounted objects, return a ref.
5921
5922         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5923         accessor for caps. IDEMPOTENCE. Oh yes.
5924
5925 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5926
5927         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5928
5929         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5930         (_gst_debug_register_funcptr):
5931           Add mutex to serialise access to the hash table with
5932           the function pointer => function name string mapping;
5933           make that hash table static scope (#316809).
5934
5935         * gst/registries/.cvsignore:
5936           Remove left-over file.
5937
5938 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5939
5940         * docs/pwg/appendix-porting.xml:
5941           And something about newsegment events and caps-on-buffers to
5942           the porting guide (feel free to improve).
5943
5944 2005-09-21  Andy Wingo  <wingo@pobox.com>
5945
5946         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5947         data and event probes on the same pad.
5948         (test_buffer_probe_once): Test that removing probes from within
5949         the probe functions works.
5950
5951 2005-09-21  Andy Wingo  <wingo@pobox.com>
5952
5953         * check/gst/gstutils.c: New file.
5954         (test_buffer_probe_n_times): A simple buffer probe test. More to
5955         come, foolios.
5956
5957         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5958         have-data::buffer, not have-data.
5959         (gst_pad_add_event_probe): Likewise for have-data::event.
5960         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5961         peer' isn't quite right yet though.
5962         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5963         (gst_pad_remove_data_probe): Change to take the guint handler_id
5964         as their arg, not the function+data, which is more glib-like.
5965
5966         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5967         the signal emission to indicate if the data is a buffer or an
5968         event.
5969         (gst_pad_get_type): Initialize buffer and event quarks.
5970         (gst_pad_class_init): have-data is now a detailed signal, yes it
5971         is.
5972
5973 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5974
5975         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5976         * gst/gstutils.c: (gst_util_set_value_from_string),
5977         (gst_util_set_object_arg):
5978           Don't put functional code in g_return_if_fail() or
5979           g_return_val_if_fail() statements, otherwise things will 
5980           break when G_DISABLE_CHECKS is defined during compilation.
5981
5982 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5983
5984         * docs/gst/tmpl/.cvsignore:
5985         * docs/gst/tmpl/gstvalue.sgml:
5986         * gst/gstvalue.c:
5987         * gst/gstvalue.h:
5988           inlied another one and added  some obvious docs
5989
5990 2005-09-21  Wim Taymans  <wim@fluendo.com>
5991
5992         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5993         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5994         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5995         (gst_fdsrc_get_property), (gst_fdsrc_create):
5996         * gst/elements/gstfdsrc.h:
5997         Properly implement fdsrc. Removed signal and timeout,
5998         better implemented somewhere else.
5999
6000 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6001
6002         * docs/gst/tmpl/.cvsignore:
6003         * docs/gst/tmpl/gstimplementsinterface.sgml:
6004         * gst/gstinterface.c:
6005           inlined more docs
6006
6007 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6008
6009         * docs/gst/gstreamer-sections.txt:
6010         * docs/gst/tmpl/.cvsignore:
6011         * docs/gst/tmpl/gstenumtypes.sgml:
6012           remove obsolete doc file
6013
6014 2005-09-21  David Schleef  <ds@schleef.org>
6015
6016         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6017         little beer, fix a little leak.
6018
6019 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6020
6021         * docs/gst/gstreamer-docs.sgml:
6022         * docs/gst/gstreamer-sections.txt:
6023         * docs/gst/tmpl/.cvsignore:
6024         * gst/Makefile.am:
6025         * gst/gst.h:
6026         * gst/gstbin.c:
6027         * gst/gstelement.h:
6028         * gst/gstindex.c: (gst_index_class_init):
6029         * gst/gstindex.h:
6030         * gst/gstindexfactory.c: (gst_index_factory_get_type),
6031         (gst_index_factory_class_init), (gst_index_factory_init),
6032         (gst_index_factory_finalize), (gst_index_factory_new),
6033         (gst_index_factory_destroy), (gst_index_factory_find),
6034         (gst_index_factory_create), (gst_index_factory_make):
6035         * gst/gstindexfactory.h:
6036         * gst/gstpluginfeature.c:
6037         * gst/gstpluginfeature.h:
6038         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6039           more docs inlined, splitted gstindex.{c,h}
6040
6041 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6042
6043         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6044           fix a leak
6045
6046 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6047
6048         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6049           Set sync to FALSE by default.
6050
6051 2005-09-20  Wim Taymans  <wim@fluendo.com>
6052
6053         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6054         (gst_base_sink_init):
6055         Make sync property settable from subclass.
6056
6057         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6058         (gst_fake_sink_change_state):
6059         Set sync to FALSE by default.
6060
6061 2005-09-20  Wim Taymans  <wim@fluendo.com>
6062
6063         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6064         * tools/gst-launch.c: (main):
6065         The timeout handler should have lower priority than the source
6066         so we don't timeout before popping a message with 0 timeout.
6067         Dump error messages after failed state change.
6068
6069 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6070
6071         * tools/gst-inspect.c: (print_element_properties_info):
6072           Fix two typos.
6073
6074 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6075
6076         * check/gst/gstevent.c:
6077         * gst/elements/gstfakesink.c:
6078         * gst/elements/gstfakesink.h:
6079           remove the sync property from fakesink.
6080           has the side effect of setting sync TRUE
6081           for fakesink, which is a change.  Anyone who knows how
6082           to fix this nicely in a GObject-y way, feel free.
6083
6084 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6085
6086         * docs/gst/gstreamer-docs.sgml:
6087           remove probe refsection
6088
6089 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6090
6091         * check/Makefile.am:
6092           disable valgrinding the controller test again
6093         * docs/gst/gstreamer-sections.txt:
6094           update for api-changes
6095
6096 2005-09-20  Wim Taymans  <wim@fluendo.com>
6097
6098         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6099         (gst_base_sink_set_property), (gst_base_sink_get_property),
6100         (gst_base_sink_do_sync):
6101         * gst/base/gstbasesink.h:
6102         Added sync property to basesink to disable clock sync.
6103
6104 2005-09-20  Andy Wingo  <wingo@pobox.com>
6105
6106         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6107         eating the caller's refcount.
6108
6109         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6110         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6111         refcount.
6112
6113         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6114         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6115         of GLib 2.8 public, so we can know which refcount to check in
6116         tests.
6117
6118         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6119         (gst_object_init): Only set the gst refcount if we're going ahead
6120         with the refcount hack.
6121
6122 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6123
6124         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6125         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6126           more leaks plumbed, added more debug-logging
6127         * gst/gstmacros.h:
6128           whitespace fix
6129
6130 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6131
6132         * gst/gstmessage.c:
6133           remove include of gstmemchunk.h
6134
6135 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6136
6137         * gst/gstclock.c: (_gst_clock_id_free):
6138           Commit from the Political Party For More Atomic CVS Commits,
6139           so that people don't waste too much of their day fishing
6140           out obvious leaks out of massive commits.
6141           Oh, and fix a pretty damn obvious leak in the memchunk
6142           removal code.
6143
6144 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6145
6146         * check/Makefile.am:
6147         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6148           plug mem-leak, re-add to valgrindable tests
6149
6150 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6151
6152         * gst/gstplugin.h:
6153           unbreak the build for those who have chronic arthritis
6154           and typing "make check" is just too taxing on the hands
6155
6156 2005-09-20  Andy Wingo  <wingo@pobox.com>
6157
6158         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6159         really want it out, you should fix plugins at the same time.
6160
6161 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6162
6163         * configure.ac:
6164         * docs/gst/gstreamer-sections.txt:
6165         * gst/gstobject.c:
6166           added missing symbols to api docs
6167           disable ref-count hack if we have glib >= 2.8
6168
6169 2005-09-19  David Schleef  <ds@schleef.org>
6170
6171         * docs/gst/Makefile.am: Ignore a few more internal headers
6172         * docs/gst/gstreamer-docs.sgml: Remove old sections
6173         * docs/gst/gstreamer-sections.txt: Remove old sections
6174         * docs/gst/tmpl/gstobject.sgml: update
6175         * docs/gst/tmpl/gstplugin.sgml: update
6176         * docs/gst/tmpl/gstpluginfeature.sgml: update
6177         * docs/random/ds/0.9-suggested-changes: update.
6178         * gst/Makefile.am: remove memchunk and trashstack, since they're
6179           not used.
6180         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6181         * gst/gst.h: don't include some headers
6182         * gst/gstchildproxy.c: add gstmarshal.h
6183         * gst/gstclock.c: Don't use memchunks
6184         * gst/gstminiobject.c: Add some docs
6185         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6186         * gst/gstobject.h: same
6187         * gst/gstplugin.c: include gstmacros.h
6188         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6189         * gst/gstquery.c: don't use memchunks
6190         * gst/gstregistry.c: rename gst_registry_deinit()
6191         * gst/gstregistry.h: same
6192
6193 2005-09-19  David Schleef  <ds@schleef.org>
6194
6195         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6196         * docs/libs/gstreamer-libs-sections.txt:
6197         * docs/libs/tmpl/gstgetbits.sgml:
6198         * docs/libs/tmpl/gstputbits.sgml:
6199
6200 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6201
6202         * win32/gstenumtypes.c:
6203         * win32/gstenumtypes.h:
6204           Update.
6205
6206 2005-09-19  Wim Taymans  <wim@fluendo.com>
6207
6208         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6209         Automatically PAUSE and RESUME a pipeline when a flushing seek
6210         is performed.
6211
6212 2005-09-19  Andy Wingo  <wingo@pobox.com>
6213
6214         * gst/gstregistry.h: Spacing fixen.
6215
6216 2005-09-19  Wim Taymans  <wim@fluendo.com>
6217
6218         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6219         Handle state change failure more correctly.
6220
6221 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6222
6223         * check/Makefile.am:
6224         * check/pipelines/cleanup.c: (run_pipeline):
6225         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6226         (GST_START_TEST):
6227           enable cleanup again after fixing the leak
6228         * docs/README:
6229           some more info on docs
6230
6231 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6232
6233         * check/Makefile.am:
6234           re-enable tests now that leaks are plugged
6235         * check/gst/gst.c:
6236         * check/gst/gstbin.c:
6237         * check/gst/gstpipeline.c:
6238           add some more tests while fixing leaks
6239         * common/check.mak:
6240           make sure binaries are uptodate when valgrinding/gdbing
6241         * gst/gst.c:
6242         * gst/gstelementfactory.c:
6243           remove a ref too many, and add a FIXME for when we get
6244           round to disposing of classes
6245         * gst/gstplugin.c:
6246           fix the refcounting when loading a plugin from a file and
6247           the code pretends that the pointer is the same even though
6248           of course it can change
6249         * gst/gstpluginfeature.c:
6250           unref plugins marked cached (a bit confusing as a name)
6251           as the docs state should be done
6252           various doc additions to explain refcounting
6253         * gst/gstregistry.c:
6254         * gst/gstregistryxml.c:
6255           debugging
6256
6257 2005-09-19  Wim Taymans  <wim@fluendo.com>
6258
6259         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6260         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6261         (send_messages), (GST_START_TEST), (gstbus_suite):
6262         * check/gst/gstpipeline.c: (GST_START_TEST):
6263         * check/pipelines/cleanup.c: (run_pipeline):
6264         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6265         (GST_START_TEST):
6266         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6267         (gst_bus_source_check), (gst_bus_source_dispatch),
6268         (gst_bus_create_watch), (gst_bus_add_watch_full),
6269         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6270         * gst/gstbus.h:
6271         * tools/gst-launch.c: (event_loop):
6272         * tools/gst-md5sum.c: (event_loop):
6273         GstBusHandler -> GstBusFunc, return value has the same meaning as
6274         any other GSource (FALSE == remove source).
6275         _add_watch() and _add_watch_full() now take a MessageType mask to
6276         only handle specific types of messages.
6277         _poll() returns the GstMessage instead of the message type to avoid
6278         race conditions.
6279         _have_pending() takes a MessageType mask now too.
6280         Added testsuite for multiple bus watches.
6281         Fix testsuites and applications for new bus API.
6282
6283 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6284
6285         * check/Makefile.am:
6286           mark a bunch of the tests as to fix until we fix them
6287
6288 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6289
6290         * common/check.mak:
6291           use GST_PLUGIN settings for valgrind tests as well, so we're
6292           valgrinding the correct thing
6293         * gst/gst.c: (init_post):
6294           plug another leak
6295
6296 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6297
6298         * gst/gst.c: (init_post), (gst_deinit):
6299         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6300         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6301         * gst/gstindex.c: (gst_index_factory_class_init),
6302         (gst_index_factory_finalize):
6303         * gst/gstobject.c: (gst_object_dispose):
6304         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6305         (gst_plugin_load_file), (gst_plugin_desc_free):
6306         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6307         (gst_plugin_feature_finalize):
6308         * gst/gstregistry.c: (gst_registry_class_init),
6309         (gst_registry_init), (gst_registry_finalize),
6310         (gst_registry_get_default), (gst_registry_deinit):
6311         * gst/gstregistry.h:
6312         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6313           various cleanups and memleak plugging.  make valgrind is happy now.
6314
6315 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6316
6317         * common/check.mak:
6318           add a check-valgrind target
6319
6320 2005-09-18  David Schleef  <ds@schleef.org>
6321
6322         * tools/gst-inspect.c: Revert the GOption code.
6323
6324 2005-09-17  David Schleef  <ds@schleef.org>
6325
6326         * check/Makefile.am: Fix environment variables.
6327         * check/gst/gstplugin.c: Fix for API changes.
6328         * tools/gst-inspect.c: Fix for API changes.
6329         * tools/gst-xmlinspect.c: Fix for API changes.
6330         * gst/gstelementfactory.c:
6331         * gst/gstplugin.c:
6332         * gst/gstplugin.h:
6333         * gst/gstpluginfeature.c:
6334         * gst/gstpluginfeature.h:
6335         * gst/gstregistry.c:
6336         * gst/gstregistry.h:
6337         * gst/gstregistryxml.c:
6338         * gst/gsttypefind.c:
6339         * gst/gsttypefindfactory.c:
6340         * gst/indexers/gstfileindex.c:
6341         * gst/indexers/gstmemindex.c:
6342         * gst/schedulers/Makefile.am:
6343           Change registry to keep track of both plugins and features,
6344           removing the feature tracking from plugins themselves.
6345
6346 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6347
6348         * check/Makefile.am:
6349         * tools/gst-register.1.in:
6350           remove gst-register
6351
6352 2005-09-15  David Schleef  <ds@schleef.org>
6353
6354         * check/gst/gstplugin.c:
6355         * gst/gstelementfactory.c:
6356         * gst/gstplugin.c:
6357         * gst/gstpluginfeature.c:
6358         * gst/gstregistry.c:
6359           Getting tired of debugging.  Disabled all the unreffing of
6360           plugins and features, which fixes the segfaults, but of
6361           course leaks like crazy.  At least playbin works.
6362
6363 2005-09-15  David Schleef  <ds@schleef.org>
6364
6365         * check/gst/gstplugin.c: (register_check_elements),
6366         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6367         More testing
6368         * gst/elements/gsttypefindelement.c: Fix refcounting.
6369         * gst/gsttypefind.c:
6370         * gst/gsttypefindfactory.c:
6371         * gst/gsttypefindfactory.h:
6372
6373 2005-09-15  David Schleef  <ds@schleef.org>
6374
6375         * gst/gstindex.c: get refcounting correct.
6376         * gst/gstregistry.c: Handle the case where a feature/plugin is
6377           not found.
6378
6379 2005-09-15  David Schleef  <ds@schleef.org>
6380
6381         * check/Makefile.am:
6382         * check/gst/gstplugin.c: Add test
6383         * gst/gstplugin.c: Fix problems noticed by testsuite
6384         * gst/gstplugin.h:
6385         * gst/gstregistry.c: 
6386         * gst/gstregistry.h:
6387
6388 2005-09-15  David Schleef  <ds@schleef.org>
6389
6390         * gst/gstplugin.c: Implement semi-decent recounting and locking
6391           in plugins and plugin features.
6392         * gst/gstplugin.h:
6393         * gst/gstpluginfeature.c:
6394         * gst/gstpluginfeature.h:
6395         * gst/gstregistry.c:
6396
6397 2005-09-15  Michael Smith <msmith@fluendo.com>
6398
6399         * gst/gstregistry.c: (gst_registry_get_feature_list):
6400           Implement this. Makes oggdemux work; decodebin still broken.
6401
6402 2005-09-14  David Schleef  <ds@schleef.org>
6403
6404         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6405           #316076)
6406         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6407         * gst/check/Makefile.am:
6408         * libs/gst/controller/Makefile.am:
6409         * libs/gst/dataprotocol/Makefile.am:
6410
6411 2005-09-14  David Schleef  <ds@schleef.org>
6412
6413         * configure.ac: Remove getbits library.  Nothing uses it, and
6414           it should be in something like liboil if someone did want
6415           to use it.
6416         * libs/gst/Makefile.am:
6417         * libs/gst/getbits/Makefile.am:
6418         * libs/gst/getbits/gbtest.c:
6419         * libs/gst/getbits/getbits.c:
6420         * libs/gst/getbits/getbits.h:
6421         * libs/gst/getbits/gstgetbits_generic.c:
6422         * libs/gst/getbits/gstgetbits_i386.s:
6423         * libs/gst/getbits/gstgetbits_inl.h:
6424
6425 2005-09-14  David Schleef  <ds@schleef.org>
6426
6427         * gst/Makefile.am: Dist glib-compat.h
6428
6429 2005-09-14  David Schleef  <ds@schleef.org>
6430
6431         * configure.ac: Remove gst/registries, since it's no longer used.
6432         * gst/registries/Makefile.am:
6433         * gst/registries/gstlibxmlregistry.c:
6434         * gst/registries/gstlibxmlregistry.h:
6435         * gst/registries/gstxmlregistry.c:
6436         * gst/registries/gstxmlregistry.h:
6437         * gst/registries/registrytest.c:
6438
6439 2005-09-14  David Schleef  <ds@schleef.org>
6440
6441         * gst/glib-compat.h:
6442         * gst/gstregistryxml.c:
6443           Convergence is near.  Seriously.
6444
6445 2005-09-14  David Schleef  <ds@schleef.org>
6446
6447         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6448         * gst/glib-compat.h:
6449           Attempt #4 to appease the buildbots.
6450
6451 2005-09-14  David Schleef  <ds@schleef.org>
6452
6453         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6454           Attempt #3.
6455
6456 2005-09-14  David Schleef  <ds@schleef.org>
6457
6458         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6459         Attempt #2.
6460
6461 2005-09-14  David Schleef  <ds@schleef.org>
6462
6463         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6464           the new functions.
6465
6466 2005-09-14  David Schleef  <ds@schleef.org>
6467
6468         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6469         * gst/glib-compat.h: Add some functions that are in newer versions
6470           of glib than we care to require.
6471         * gst/gstregistryxml.c: Use them.
6472
6473 2005-09-14  David Schleef  <ds@schleef.org>
6474
6475         * po/POTFILES.in: remove gst-register.c
6476
6477 2005-09-14  David Schleef  <ds@schleef.org>
6478
6479         * docs/gst/gstreamer-docs.sgml:
6480         * docs/gst/gstreamer-sections.txt:
6481         * docs/gst/gstreamer.types:
6482         * docs/gst/tmpl/gstelement.sgml:
6483         * docs/gst/tmpl/gstplugin.sgml:
6484         * docs/gst/tmpl/gstpluginfeature.sgml:
6485           Documentation updates for registry changes.
6486
6487 2005-09-14  David Schleef  <ds@schleef.org>
6488
6489         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6490           because we don't require glib-2.8.
6491
6492 2005-09-14  David Schleef  <ds@schleef.org>
6493
6494         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6495           registries directory.
6496
6497 2005-09-14  David Schleef  <ds@schleef.org>
6498
6499         * check/Makefile.am:
6500         * check/generic/states.c:
6501         * gst/Makefile.am:
6502         * gst/gst.c:
6503         * gst/gst.h:
6504         * gst/gst_private.h:
6505         * gst/gstelementfactory.c:
6506         * gst/gstindex.c:
6507         * gst/gstinfo.c:
6508         * gst/gstplugin.c:
6509         * gst/gstplugin.h:
6510         * gst/gstpluginfeature.c:
6511         * gst/gstpluginfeature.h:
6512         * gst/gstregistry.c:
6513         * gst/gstregistry.h:
6514         * gst/gstregistrypool.c: remove
6515         * gst/gstregistrypool.h: remove
6516         * gst/gsttypefind.c:
6517         * gst/gsttypefindfactory.c:
6518         * gst/gsturi.c:
6519         * tools/Makefile.am:
6520         * tools/gst-compprep.c:
6521         * tools/gst-inspect.c:
6522         * tools/gst-register.c: remove
6523         * tools/gst-xmlinspect.c:
6524           Registry rewrite.  Changes registry from being a file created
6525           by a tool into a simple cache file created automatically by 
6526           libgstreamer.  Removed gst-register (because it's no longer
6527           needed).  Remove registry pools, because we only have one
6528           registry implementation (XML).  Fix up other subsystems as
6529           necessary.
6530
6531 2005-09-13  Michael Smith <msmith@fluendo.com>
6532
6533         * gst/gstconfig.h.in:
6534           Don't Use windows linking attributes for MinGW. Fixes #316157
6535
6536 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6537
6538         * gst/gstutils.c: (set_state_async_thread_func),
6539         (gst_element_set_state_async):
6540           Apparently people think it's better if this function doesn't
6541           try to set the state to whatever state was asked for on the first
6542           call to this function for any object.  Seriously.
6543
6544 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6545
6546         * check/gst/gstpipeline.c: (GST_START_TEST):
6547         * docs/gst/gstreamer-sections.txt:
6548         * gst/gstutils.c: (set_state_async_thread_func),
6549         (gst_element_set_state_async):
6550         * gst/gstutils.h:
6551           add a "gst_element_set_state_async" method that
6552           sets the state and starts a thread to make sure the state
6553           change completes as best as it can
6554
6555 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6556
6557         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6558           codify design+behaviour in testsuite after discussion
6559
6560 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6561
6562         * docs/gst/tmpl/gstelement.sgml:
6563         * docs/manual/appendix-quotes.xml:
6564           add a quote
6565         * gst/gstelement.c: (gst_element_set_state):
6566           add some debug
6567
6568 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6569
6570         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6571         (gst_base_transform_prepare_output_buf),
6572         (gst_base_transform_handle_buffer):
6573         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6574         (gst_capsfilter_prepare_buf):
6575           Remove the requirement for sub-classes to call the parent
6576           implementation of prepare_output_buffer with a wrapper function.
6577           
6578         * gst/gsttaglist.h:
6579         * gst/gsttagsetter.h:
6580           Fix #define wrapper
6581
6582 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6583
6584         * docs/gst/gstreamer-sections.txt:
6585           more doc cleanups
6586
6587 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6588
6589         * docs/gst/gstreamer-sections.txt:
6590         * docs/gst/tmpl/gstelement.sgml:
6591         * docs/gst/tmpl/gstplugin.sgml:
6592         * gst/gstminiobject.c:
6593         * gst/gstvalue.h:
6594           docs now stop throwing warnings
6595
6596 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6597
6598         * docs/gst/gstreamer-sections.txt:
6599         * docs/gst/gstreamer.types:
6600         * docs/gst/tmpl/gstpad.sgml:
6601         * docs/gst/tmpl/gsttypes.sgml:
6602         * gst/base/gstadapter.h:
6603         * gst/base/gstbasesink.h:
6604         * gst/base/gstbasesrc.h:
6605         * gst/gstbin.h:
6606         * gst/gstbuffer.h:
6607         * gst/gstbus.h:
6608         * gst/gstcaps.h:
6609         * gst/gstclock.h:
6610         * gst/gstelement.h:
6611         * gst/gstevent.h:
6612         * gst/gstmessage.h:
6613         * gst/gstpad.h:
6614         * gst/gststructure.c:
6615         * gst/registries/gstlibxmlregistry.h:
6616           various documentation fixes
6617
6618 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6619
6620         * docs/gst/gstreamer-sections.txt:
6621         * docs/gst/tmpl/gstvalue.sgml:
6622           rearrange gstvalue section
6623         * gst/gstutils.c: (gst_element_state_get_name):
6624           NONE -> VOID
6625         * gst/gstvalue.c: (_gst_value_initialize):
6626         * gst/gstvalue.h:
6627           doc updates
6628
6629 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6630
6631         * check/gst-libs/controller.c:
6632           Header include fix.
6633         * gst/base/gstbasetransform.c:
6634         (gst_base_transform_default_prepare_buf),
6635         (gst_base_transform_handle_buffer):
6636         * gst/base/gstbasetransform.h:
6637           Some more basetransform changes and fixes to enable sub-classes
6638           that modify buffer metadata only.
6639         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6640         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6641         (gst_capsfilter_prepare_buf):
6642           If the output pad has fixed allowed caps and input buffers 
6643           don't have any, set the fixed caps on outgoing buffers.
6644
6645 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6646         * check/elements/identity.c: (GST_START_TEST):
6647           Make the error a little clearer when the test fails because
6648           identity made a copy of the buffer.
6649         * docs/gst/gstreamer-sections.txt:
6650           New symbols in gstbasetransform.h
6651         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6652         (gst_base_transform_init), (gst_base_transform_transform_size),
6653         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6654         (gst_base_transform_default_prepare_buf),
6655         (gst_base_transform_get_unit_size),
6656         (gst_base_transform_buffer_alloc),
6657         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6658         (gst_base_transform_change_state),
6659         (gst_base_transform_set_passthrough),
6660         (gst_base_transform_set_in_place),
6661         (gst_base_transform_is_in_place):
6662         * gst/base/gstbasetransform.h:
6663           Change BaseTransform to separate in_place operate from same_caps
6664           output. in_place implies that the element can perform the transform
6665           on incoming buffers in-place, even if the caps on the output are
6666           different.
6667           Sub-class elements can now implement special buffer allocation
6668           methods for outgoing buffers if they wish to.
6669           Big documentation addition.
6670         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6671         * gst/elements/gstelements.c:
6672           Changes for basetransform modifications.
6673         * gst/elements/Makefile.am:
6674         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6675           Compile fix. Extra debug output.
6676
6677 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6678
6679         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6680         (gst_pad_suite):
6681           add tests for valid pad naming
6682         * gst/check/gstcheck.c: (gst_check_log_message_func),
6683         (gst_check_log_critical_func):
6684           add ASSERT_WARNING
6685           remove printing of code, it is fragile when the code contains
6686           % and the line number is enough info
6687         * gst/check/gstcheck.h:
6688         * gst/gstpad.c: (gst_pad_template_new):
6689           fix memleaks
6690
6691 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6692
6693         * configure.ac:
6694           say what CHECK flags we use
6695         * docs/libs/gstreamer-libs.types:
6696         * libs/gst/controller/Makefile.am:
6697         * libs/gst/controller/gst-controller.c:
6698         * libs/gst/controller/gst-controller.h:
6699         * libs/gst/controller/gst-helper.c:
6700         * libs/gst/controller/gst-interpolation.c:
6701         * libs/gst/controller/gstcontroller.c:
6702         * libs/gst/controller/gsthelper.c:
6703         * libs/gst/controller/gstinterpolation.c:
6704         * tools/gst-inspect.c: (print_plugin_info):
6705           we don't use dashes in header names
6706
6707 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6708
6709         * check/Makefile.am:
6710         * check/gst/.cvsignore:
6711         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6712         (gst_pipeline_suite), (main):
6713           adding a test for pipelines and state changes
6714         * gst/gstutils.c: (get_state_func):
6715           add some debugging
6716         * gstreamer.spec.in:
6717           fix up spec file
6718
6719 2005-09-08  Michael Smith <msmith@fluendo.com>
6720
6721         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6722         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6723         (gst_file_src_is_seekable), (gst_file_src_get_size),
6724         (gst_file_src_start):
6725         * gst/elements/gstfilesrc.h:
6726           Various fixes for unseekable, unmmapable, and non-normal files, so
6727           that fallback to read() rather than mmap() works.
6728         * gst/gstevent.c: (gst_event_new_newsegment):
6729           Allow newsegment events with segment_start == segment_end, as will
6730           correctly happen if you use filesrc on a zero-size file, for
6731           example.
6732
6733 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6734
6735         * gst/gstplugin.c: (gst_plugin_load_file):
6736           Call g_module_close when we don't load the module
6737
6738         * gst/registries/gstlibxmlregistry.c:
6739         (gst_xml_registry_get_property):
6740           Port leak fix from 0.8
6741
6742 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6743
6744         * docs/gst/gstreamer-docs.sgml:
6745         * docs/gst/tmpl/.cvsignore:
6746         * docs/gst/tmpl/gsttrace.sgml:
6747         * docs/gst/tmpl/gsttrashstack.sgml:
6748         * gst/Makefile.am:
6749         * gst/gst.h:
6750         * gst/gstelement.h:
6751         * gst/gstevent.h:
6752         * gst/gstmessage.c:
6753         * gst/gstmessage.h:
6754         * gst/gsttag.c:
6755         * gst/gsttag.h:
6756         * gst/gsttaginterface.c:
6757         * gst/gsttaginterface.h:
6758         * gst/gsttaglist.c:
6759         * gst/gsttaglist.h:
6760         * gst/gsttagsetter.c:
6761         * gst/gsttagsetter.h:
6762         * gst/gsttrace.c:
6763         * gst/gsttrace.h:
6764         * gst/gsttrashstack.c:
6765           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6766           inlined docs for gsttrace, gsttrashstack
6767
6768 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6769
6770         * gst/Makefile.am:
6771         * gst/elements/gstbufferstore.h:
6772         * gst/elements/gsttypefindelement.c:
6773         * gst/elements/gsttypefindelement.h:
6774         * gst/gst.h:
6775         * gst/gsttypefind.c:
6776         * gst/gsttypefind.h:
6777         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6778         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6779         (gst_type_find_factory_dispose),
6780         (gst_type_find_factory_unload_thyself),
6781         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6782         (gst_type_find_factory_get_caps),
6783         (gst_type_find_factory_get_extensions),
6784         (gst_type_find_factory_call_function):
6785         * gst/gsttypefindfactory.h:
6786         * gst/registries/gstlibxmlregistry.c:
6787         * gst/registries/gstxmlregistry.c:
6788           splitted gsttypefind into gsttypefind, gsttypefindfactory
6789
6790 2005-09-07  Andy Wingo  <wingo@pobox.com>
6791
6792         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6793         condition whereby the pad's task function is entered before the
6794         pad_mode variable was set.
6795
6796 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6797
6798         * gst/gstpad.c: (gst_pad_alloc_buffer):
6799           Catch misbehaving pad_alloc functions that don't
6800           set up caps and do it for them.
6801
6802 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6803
6804         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6805           test for pipe!=NULL
6806         * docs/gst/tmpl/.cvsignore:
6807         * docs/gst/tmpl/gstmemchunk.sgml:
6808         * docs/gst/tmpl/gstparse.sgml:
6809         * docs/gst/tmpl/gsttaglist.sgml:
6810         * docs/gst/tmpl/gsttagsetter.sgml:
6811         * docs/gst/tmpl/gsttypefind.sgml:
6812         * docs/gst/tmpl/gsttypefindfactory.sgml:
6813         * gst/gstmemchunk.c:
6814         * gst/gstparse.c:
6815         * gst/gsttag.c:
6816         * gst/gsttaginterface.c:
6817         * gst/gsttypefind.c:
6818         * gst/gsttypefind.h:
6819           inlined more docs
6820
6821 === release 0.9.2 ===
6822
6823 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6824
6825         * NEWS:
6826         * RELEASE:
6827         * configure.ac:
6828           releasing 0.9.2, "South"
6829
6830 2005-09-05  Andy Wingo  <wingo@pobox.com>
6831
6832         * gst/registries/gstxmlregistry.h:
6833         * gst/registries/gstxmlregistry.c: Um... resurrect...
6834         
6835         * gst/registries/gstxmlregistry.h:
6836         * gst/registries/gstxmlregistry.c: and update to newer API.
6837         Incidentally they should be a bit faster now that they don't have
6838         to parse the caps.
6839         
6840 2005-09-05  Andy Wingo  <wingo@pobox.com>
6841
6842         * gst/registries/gstxmlregistry.h:
6843         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6844         replaced by the libxml registry a while back
6845
6846 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6847
6848         * docs/gst/tmpl/gstplugin.sgml:
6849         * gst/elements/gstelements.c:
6850         * gst/gst.c:
6851         * gst/gstplugin.c: (gst_plugin_register_func),
6852         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6853         (gst_plugin_get_source):
6854         * gst/gstplugin.h:
6855         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6856         (gst_xml_registry_save_plugin):
6857         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6858         (gst_xml_registry_save_plugin):
6859         * tools/gst-inspect.c: (print_plugin_info):
6860           add a "source" plugin description field, to represent the source
6861           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6862           will set it to PACKAGE, which is automake's idea of the name of
6863           the source project.
6864
6865 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6866
6867         * Makefile.am:
6868         * autogen.sh:
6869         * configure.ac:
6870         * docs/Makefile.am:
6871         * docs/faq/Makefile.am:
6872         * docs/gst/tmpl/gstelement.sgml:
6873         * docs/gst/tmpl/gsttypes.sgml:
6874         * docs/htmlinstall.mak:
6875         * docs/manual/Makefile.am:
6876         * docs/pwg/Makefile.am:
6877           reorganize doc build a little
6878           split out docbook and gtk-doc stuff
6879           have two separate --enable's and enable them through autogen
6880           but disable by default in configure (to be similar to other
6881           projects)
6882         * gstreamer.spec.in:
6883           clean up docs install
6884         * po/af.po:
6885         * po/az.po:
6886         * po/ca.po:
6887         * po/cs.po:
6888         * po/de.po:
6889         * po/en_GB.po:
6890         * po/fr.po:
6891         * po/it.po:
6892         * po/nb.po:
6893         * po/nl.po:
6894         * po/ru.po:
6895         * po/sq.po:
6896         * po/sr.po:
6897         * po/sv.po:
6898         * po/tr.po:
6899         * po/uk.po:
6900         * po/vi.po:
6901           translation updates
6902
6903 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6904
6905         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6906           Add comment.
6907           
6908         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6909         (gst_fake_sink_change_state):
6910           Make state change function thread-safe.
6911           
6912         * gst/gstpad.c: (gst_pad_alloc_buffer):
6913           Set offset on generic buffer allocated by fallback.
6914
6915 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6916
6917         * docs/gst/gstreamer-sections.txt:
6918         * docs/gst/tmpl/gstelement.sgml:
6919         * gst/gstpad.c:
6920         * libs/gst/controller/gst-controller.c:
6921         (gst_controlled_property_set_interpolation_mode),
6922         (gst_controlled_property_new),
6923         (gst_controller_find_controlled_property):
6924          run the wingo-magic script against the docs
6925
6926 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6927
6928         * docs/gst/gstreamer-docs.sgml:
6929         * docs/gst/gstreamer-sections.txt:
6930         * docs/gst/tmpl/.cvsignore:
6931         * docs/gst/tmpl/gstelementdetails.sgml:
6932         * docs/gst/tmpl/gstelementfactory.sgml:
6933         * gst/gst.c:
6934         * gst/gstbus.c:
6935         * gst/gstelementfactory.c:
6936         * gst/gstelementfactory.h:
6937           merged elementdetails docs into elementfactory docs
6938           inlined both
6939
6940 2005-09-02  Andy Wingo  <wingo@pobox.com>
6941
6942         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6943         consider this enum an enum and not a flags.
6944
6945 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6946
6947         * docs/gst/gstreamer-docs.sgml:
6948         * docs/gst/tmpl/.cvsignore:
6949         * docs/gst/tmpl/gstghostpad.sgml:
6950         * docs/gst/tmpl/gstiterator.sgml:
6951         * docs/gst/tmpl/gstmacros.sgml:
6952         * docs/gst/tmpl/gstrealpad.sgml:
6953         * docs/gst/tmpl/gstregistry.sgml:
6954         * docs/gst/tmpl/gstregistrypool.sgml:
6955         * docs/gst/tmpl/gststructure.sgml:
6956         * docs/gst/tmpl/gstsystemclock.sgml:
6957         * docs/gst/tmpl/gsttrace.sgml:
6958         * gst/gstghostpad.c:
6959         * gst/gstmacros.h:
6960         * gst/gstmemchunk.c:
6961         * gst/gstmemchunk.h:
6962         * gst/gstqueue.c:
6963         * gst/gstregistry.c:
6964         * gst/gstregistrypool.c:
6965         * gst/gststructure.c:
6966         * gst/gstsystemclock.c:
6967           more docs inlined
6968
6969 2005-09-02  Andy Wingo  <wingo@pobox.com>
6970
6971         * gst/gstelement.h (GstState): Renamed from GstElementState,
6972         changed to be a normal enum instead of flags.
6973         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6974         munged to be GST_STATE_CHANGE_*.
6975         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6976         work with the new state representation.
6977         (GstStateChange): New enumeration of possible state transitions.
6978         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6979         (GstElementClass::change_state): Pass the GstStateChange along as
6980         an argument. Helps language bindings, so they don't have to use
6981         tricky lock-needing macros like GST_STATE_CHANGE ().
6982
6983         * scripts/update-states (file): New script. Run it on a file to
6984         update it for state naming and API changes. Updates files in
6985         place.
6986
6987         * All files updated for the new API.
6988
6989 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6990
6991         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6992         * gst/gstutils.c: (gst_util_set_value_from_string),
6993         (gst_util_set_object_arg):
6994           fix a bunch of unchecked return values
6995         * tools/gst-complete.c: (main):
6996         * gstreamer.spec.in:
6997           clean up a little
6998
6999 2005-09-01  Wim Taymans  <wim@fluendo.com>
7000
7001         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7002         (gst_base_sink_event), (gst_base_sink_do_sync),
7003         (gst_base_sink_handle_event):
7004         * gst/base/gstbasesink.h:
7005         Handle newsegments more correctly.
7006
7007         * gst/gstbus.c:
7008         Fix docs.
7009
7010         * gst/gstevent.c: (gst_event_new_newsegment):
7011         A newsegment cannot have a start_time of -1
7012
7013 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7014
7015         * win32/gstenumtypes.c:
7016         * win32/gstenumtypes.h:
7017           Update
7018
7019 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7020
7021         * libs/gst/controller/gst-controller.c:
7022         (gst_controlled_property_set_interpolation_mode),
7023         (gst_controlled_property_new):
7024          fixed boolean again
7025
7026 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
7027
7028         * docs/faq/gst-uninstalled:
7029           add -good
7030         * gst/gstevent.c:
7031         * gst/gstevent.h:
7032           remove wrong docs
7033         * gst/gstutils.c: (gst_element_link_filtered):
7034         * gst/gstutils.h:
7035           add gst_element_link_filtered
7036
7037 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7038
7039         * docs/gst/gstreamer-docs.sgml:
7040         * docs/gst/gstreamer-sections.txt:
7041         * docs/gst/tmpl/.cvsignore:
7042         * docs/gst/tmpl/gsterror.sgml:
7043         * docs/gst/tmpl/gstfilter.sgml:
7044         * docs/gst/tmpl/gsturihandler.sgml:
7045         * docs/gst/tmpl/gsturitype.sgml:
7046         * docs/gst/tmpl/gstutils.sgml:
7047         * docs/gst/tmpl/gstxml.sgml:
7048         * gst/gsterror.c:
7049         * gst/gsterror.h:
7050         * gst/gstfilter.c:
7051         * gst/gsturi.c:
7052         * gst/gsturitype.c:
7053         * gst/gstutils.c:
7054         * gst/gstxml.c:
7055           inlined more docs, fixed double id-ref
7056
7057 2005-08-31  Wim Taymans  <wim@fluendo.com>
7058
7059         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7060         (gst_base_transform_handle_buffer):
7061         Passthrough elements don't need the caps as they don't care.
7062
7063 2005-08-31  Wim Taymans  <wim@fluendo.com>
7064
7065         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7066         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7067         Don't leak refcounts on buffers.
7068
7069 2005-08-31  Wim Taymans  <wim@fluendo.com>
7070
7071         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7072         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7073         (gst_base_transform_chain), (gst_base_transform_change_state):
7074         * gst/base/gstbasetransform.h:
7075         Handle the case where we are not negotiated more gracefully.
7076
7077 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7078
7079         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7080         (gst_file_src_map_region):
7081           Set READONLY flag on mmap'ed buffers, otherwise
7082           gst_buffer_make_writable() won't work properly (#314708).
7083
7084 2005-08-31  Wim Taymans  <wim@fluendo.com>
7085
7086         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7087         passthrough elements can even do inplace on non writable
7088         buffers (as they don't touch them).
7089
7090 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7091
7092         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7093         (gst_test_mono_source_set_property),
7094         (gst_test_mono_source_class_init), (GST_START_TEST),
7095         (gst_controller_suite):
7096           more tests (hehe I have the most)
7097         * gst/gstbus.c:
7098           describe popping messages whenusing mulltiple sources
7099         * libs/gst/controller/gst-controller.c:
7100         (gst_controlled_property_set_interpolation_mode),
7101         (gst_controlled_property_new):
7102         * libs/gst/controller/gst-controller.h:
7103         * libs/gst/controller/gst-interpolation.c:
7104           implement boolean properties
7105
7106 2005-08-31  Wim Taymans  <wim@fluendo.com>
7107
7108         * gst/gstminiobject.c: (gst_mini_object_ref):
7109         Cannot assert that the refcount has to be positive
7110         since a disposed object can be resurrected.
7111
7112 2005-08-31  Wim Taymans  <wim@fluendo.com>
7113
7114         * gst/gstpad.c: (gst_pad_init):
7115         Revert change, need to first fix badly behaving 
7116         apps.
7117
7118 2005-08-30  Wim Taymans  <wim@fluendo.com>
7119
7120         * check/elements/fakesrc.c: (setup_fakesrc):
7121         * check/elements/identity.c: (setup_identity):
7122         Activate pads before using them.
7123
7124 2005-08-30  Wim Taymans  <wim@fluendo.com>
7125
7126         * gst/base/gstadapter.c: (gst_adapter_flush):
7127         Flushing out 0 bytes is ok for this function.
7128
7129         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7130         no newsegment gives a warning and sets the start/stop to 
7131         invalid.
7132
7133         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7134         (gst_base_transform_set_passthrough):
7135         Some debug info.
7136
7137         * gst/gstminiobject.c: (gst_mini_object_ref):
7138         Check refcount here too.
7139
7140         * gst/gstpad.c: (gst_pad_init):
7141         Pads are initially flushing and refusing data.
7142
7143         * gst/gstutils.c: (gst_element_link_pads_filtered):
7144         When adding a capsfilter element make sure it has the
7145         same state as the parent bin.
7146
7147 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7148
7149         * docs/gst/tmpl/.cvsignore:
7150         * docs/gst/tmpl/gstformat.sgml:
7151         * docs/gst/tmpl/gstversion.sgml:
7152         * gst/gstbus.h:
7153         * gst/gstformat.c:
7154         * gst/gstformat.h:
7155         * gst/gstversion.h.in:
7156           more docs and two more inlined
7157
7158 2005-08-30  Wim Taymans  <wim@fluendo.com>
7159
7160         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7161         Don't sync to clock.
7162
7163 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7164
7165         * docs/gst/gstreamer-sections.txt:
7166           ultral33t func10ns deserve to appear in the docs actually
7167         * docs/gst/tmpl/.cvsignore:
7168         * docs/gst/tmpl/gstcompat.sgml:
7169         * docs/gst/tmpl/gstconfig.sgml:
7170         * gst/check/gstcheck.c:
7171         * gst/gstcompat.h:
7172         * gst/gstconfig.h.in:
7173           inlined more docs
7174
7175 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7176
7177         * docs/gst/tmpl/.cvsignore:
7178         * docs/gst/tmpl/gstquery.sgml:
7179         * docs/gst/tmpl/gstutils.sgml:
7180         * gst/gstquery.c:
7181         * gst/gstquery.h:
7182           inlined and extended docs
7183
7184 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7185
7186         * check/gst-libs/controller.c: (GST_START_TEST),
7187         (gst_controller_suite):
7188           more tests
7189         * docs/gst/tmpl/gstutils.sgml:
7190         * docs/libs/gstreamer-libs-sections.txt:
7191         * docs/libs/tmpl/gstdataprotocol.sgml:
7192           include path fixes
7193         * examples/controller/audio-example.c: (main):
7194           controller example works now
7195         * gst/gstclock.h:
7196           doc fixes
7197         * tools/gst-inspect.c: (print_element_properties_info):
7198           show param spec flags
7199
7200 2005-08-29  Andy Wingo  <wingo@pobox.com>
7201
7202         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7203
7204 2005-08-28  Andy Wingo  <wingo@pobox.com>
7205
7206         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7207         as having two arguments instead of just one. Allows superclasses
7208         to access information on subclasses -- see the terrible for() loop
7209         in gtype.c:g_type_create_instance for the reason why. All callers
7210         changed.
7211
7212 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7213
7214         * docs/design/part-messages.txt:
7215           update info
7216         * docs/gst/tmpl/.cvsignore:
7217         * docs/gst/tmpl/gstcaps.sgml:
7218         * docs/gst/tmpl/gstclock.sgml:
7219         * gst/gstbus.c:
7220         * gst/gstcaps.c:
7221         * gst/gstcaps.h:
7222         * gst/gstclock.c:
7223         * gst/gstclock.h:
7224         * gst/gstmessage.c:
7225           added descriptions for bus and message
7226           inline caps and clock docs
7227
7228 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7229
7230         * gst/gstmessage.c:
7231         * gst/gstmessage.h:
7232           doc fixes
7233
7234 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7235
7236         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7237           fix div-by-zero
7238
7239 2005-08-26  Andy Wingo  <wingo@pobox.com>
7240
7241         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7242         element_set_state's return val.
7243         (test_2_elements): Add test that's been disabled for months.
7244
7245         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7246         can-activate-pull properties.
7247
7248         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7249         can-activate-pull properties. Implement is_seekable so fakesrc can
7250         operate in pull mode.
7251
7252         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7253         properties.
7254         (gst_base_sink_activate, gst_base_sink_activate_pull)
7255         (gst_base_sink_activate_push): Make activation mode choosing work.
7256         Cleanups.
7257         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7258         is right. Make pull mode work. Post an eos before pausing in pull
7259         mode.
7260         (gst_base_sink_change_state): Pay attention to the core's
7261         change_state() return val.
7262         
7263         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7264         has-getrange properties. Cleanups.
7265         
7266         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7267         has_getrange and replace with can_activate_pull and
7268         can_activate_push.
7269
7270         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7271         locking comments. Remove has_loop, has_chain and replace with
7272         can_activate_pull and can_activate_push.
7273
7274 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7275
7276         * configure.ac:
7277         * examples/Makefile.am:
7278         * examples/metadata/Makefile.am:
7279         * examples/metadata/read-metadata.c: (message_loop),
7280         (have_pad_handler), (make_pipeline), (print_tag), (main):
7281           Add metadata reading example that loops over a list of filenames,
7282           dumping any tags found.
7283
7284         * gst/gstbus.c: (gst_bus_dispose):
7285         * gst/gstelement.c: (gst_element_dispose):
7286           Release a few potentially-held references in dispose.
7287
7288 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7289
7290         * docs/gst/tmpl/gstminiobject.sgml:
7291           do *not* add tmpl/*.sgml files to CVS!
7292
7293 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7294
7295         * libs/gst/bytestream/.cvsignore:
7296         * libs/gst/bytestream/Makefile.am:
7297         * libs/gst/bytestream/adapter.c:
7298         * libs/gst/bytestream/adapter.h:
7299         * libs/gst/bytestream/bytestream.c:
7300         * libs/gst/bytestream/bytestream.h:
7301         * libs/gst/bytestream/filepad.c:
7302         * libs/gst/bytestream/filepad.h:
7303           removing obsolete files
7304
7305 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7306
7307         * docs/gst/gstreamer-docs.sgml:
7308         * docs/libs/gstreamer-libs-docs.sgml:
7309           disabed additional index entries again, as this makes docs-gen just
7310           slow and they aren't useful yet
7311         * docs/libs/gstreamer-libs-sections.txt:
7312           little -section.txt cleanup for libs
7313
7314 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7315
7316         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7317         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7318           fix up some debugging
7319         (gst_base_transform_get_unit_size),
7320         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7321         (gst_base_transform_handle_buffer):
7322         * gst/base/gstbasetransform.h:
7323           handle and store timed NEWSEGMENT events so that subclasses that
7324           calculate time by counting samples have a segment_start time they
7325           need to add to their timestamps - see audioresample
7326
7327 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7328
7329         * gst/gstbin.h:
7330           removed ';' from the end of macro defs
7331         * docs/gst/gstreamer-docs.sgml:
7332         * docs/gst/gstreamer-sections.txt:
7333         * docs/gst/tmpl/.cvsignore:
7334         * gst/gstbus.h:
7335         * gst/gstelement.c: (gst_element_class_init),
7336         (gst_element_set_state), (activate_pads),
7337         (gst_element_save_thyself):
7338         * gst/gstevent.c: (gst_event_new_newsegment):
7339         * gst/gstevent.h:
7340         * gst/gstiterator.c:
7341         * gst/gstiterator.h:
7342         * gst/gstpad.c:
7343         * gst/gstprobe.h:
7344         * gst/gstutils.c: (gst_pad_query_convert):
7345         * gst/gstutils.h:
7346           fixed parameter name mismatches between source, header and docs
7347           added some more docs, resolved the last batch of unused elements in
7348           docs (now someone needs to doc them)
7349
7350 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7351
7352         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7353         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7354           don't walk through the plugins backwards.  Where is all this
7355           reversed logic coming from ?
7356
7357 2005-08-25  Wim Taymans  <wim@fluendo.com>
7358
7359         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7360         (gst_base_transform_transform_size),
7361         (gst_base_transform_configure_caps),
7362         (gst_base_transform_get_unit_size),
7363         (gst_base_transform_buffer_alloc),
7364         (gst_base_transform_change_state):
7365         * gst/base/gstbasetransform.h:
7366         Cache caps unit_size.
7367         Make sure we cannot negotiate up and downstream at the
7368         same time.
7369
7370 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7371
7372         * gst/gst.c: (init_pre), (init_post):
7373           register the installed plugin path after the env var
7374         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7375         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7376           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7377           directories, so the tests can prefer uninstalled over installed
7378
7379 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7380
7381         * gst/base/gstbasetransform.h:
7382           comment
7383         * gst/gstpad.c:
7384           add to docs
7385
7386 2005-08-25  Wim Taymans  <wim@fluendo.com>
7387
7388         * gst/gstbin.c: (bin_bus_handler):
7389         Be a bit more conservative about the posted message.
7390         
7391         * gst/gstbus.c: (gst_bus_post):
7392         Some cleanups, warn wrong return values.
7393
7394 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7395
7396         * check/gst/gstbin.c: (GST_START_TEST):
7397         * gst/gstbin.c: (bin_bus_handler):
7398         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7399         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7400         (gst_message_new_warning), (gst_message_new_tag),
7401         (gst_message_new_state_changed), (gst_message_new_segment_start),
7402         (gst_message_new_segment_done), (gst_message_new_custom):
7403         * gst/gstmessage.h:
7404         * tools/gst-launch.c: (event_loop):
7405         * tools/gst-md5sum.c: (event_loop):
7406           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7407
7408 2005-08-25  Wim Taymans  <wim@fluendo.com>
7409
7410         * check/generic/states.c: (GST_START_TEST):
7411         Cleanup can be done at the end.
7412
7413         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7414         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7415         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7416         Oh boy.. Thanks for finding this, Thomas. 
7417
7418 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7419
7420         * docs/gst/gstreamer.types:
7421           added missing types
7422
7423 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7424
7425         * docs/gst/gstreamer-docs.sgml:
7426         * docs/gst/gstreamer-sections.txt:
7427         * docs/gst/tmpl/.cvsignore:
7428         * gst/gstbin.c:
7429         * gst/gstiterator.c:
7430         * gst/gstutils.c:
7431         * gst/registries/gstxmlregistry.h:
7432           added missing classes and symbols (123 more to go)
7433           removed removed symbols from section file
7434           fixed many doc-comments
7435
7436 2005-08-24  Wim Taymans  <wim@fluendo.com>
7437
7438         * check/generic/states.c: (GST_START_TEST):
7439         Make sure all tasks are stopped.
7440
7441         * check/gst/gstbin.c: (GST_START_TEST):
7442         Unref after usage for proper valgrinding.
7443
7444         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7445         Really wait for the task to stop before destroying the
7446         mutex.
7447
7448         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7449         (gst_queue_src_activate_push):
7450         Small cleanups. Don't stop the task when we did not start
7451         it.
7452
7453         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7454         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7455         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7456         (gst_task_join):
7457         * gst/gsttask.h:
7458         Protect the stream lock with the object lock.
7459         Disallow setting the stream lock when running.
7460         Add cleanup_all to wait for the threadpool to finish.
7461         Remove code to autoallocate a mutex if none was provided.
7462         Add _join() to wait for a task to stop.
7463         Protect the thread pool with a global lock.
7464
7465 2005-08-24  Wim Taymans  <wim@fluendo.com>
7466
7467         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7468         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7469         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7470         * gst/base/gstbasesink.h:
7471         Handle newsegment events correctly.
7472         Drop buffers out of the segment range.
7473
7474 2005-08-22  Andy Wingo  <wingo@pobox.com>
7475
7476         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7477         macro, implements an interface and gstimplementsinterface for a
7478         new type.
7479
7480 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7481
7482         * check/Makefile.am:
7483         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7484           add a test that does a bunch of state changes on elements
7485           needs some fixing for valgrind
7486         * check/states/sinks.c: (gst_object_suite):
7487           whitespace
7488         * gst/gstcaps.h:
7489           add prototype for gst_caps_is_equal_fixed
7490         * gst/gstplugin.c:
7491         * gst/gstregistrypool.c:
7492           doc fixes
7493
7494 2005-08-24  Andy Wingo  <wingo@pobox.com>
7495
7496         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7497         convert a negative value. Doesn't make much sense. Mostly this is
7498         here to force callers to ensure -1 maps to -1.
7499
7500 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7501
7502         * docs/pwg/advanced-types.xml:
7503           Well done to Michael for catching my deliberate introduction
7504           of this spelling mistake. 
7505         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7506         * gst/gstelement.h:
7507           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7508           unlink pads before removing the element from the bin.
7509
7510 2005-08-24  Andy Wingo  <wingo@pobox.com>
7511
7512         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7513         the same thing as GST_DEBUG=*:4.
7514         (parse_debug_level, parse_debug_category): New helper parsers.
7515
7516 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7517
7518         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7519         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7520         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7521         (gst_base_transform_buffer_alloc),
7522         (gst_base_transform_handle_buffer):
7523           use gboolean return values and pointers to size so we can use the
7524           full GST_BUFFER_SIZE range (guint) for buffer sizes
7525           use GstPadDirection for transform_caps
7526         * gst/base/gstbasetransform.h:
7527           rename get_size to get_unit_size since that's what it is
7528         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7529           use GstPadDirection for transform_caps
7530         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7531         * gst/gstutils.h:
7532           cleanup and debugging
7533
7534 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7535
7536         * gst/gstelement.c: (gst_element_class_init),
7537         (gst_element_set_state), (activate_pads),
7538         (gst_element_save_thyself):
7539         * tools/gst-compprep.c: (main):
7540         * tools/gst-inspect.c: (print_element_properties_info):
7541         * tools/gst-xmlinspect.c: (print_element_properties):
7542           Fixed long standing mem-leak
7543
7544 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7545
7546         * check/gst/gstbin.c: (GST_START_TEST):
7547         * gst/gstbin.c: (bin_bus_handler):
7548         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7549         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7550         (gst_message_new_warning), (gst_message_new_tag),
7551         (gst_message_new_state_changed), (gst_message_new_segment_start),
7552         (gst_message_new_segment_done), (gst_message_new_custom):
7553         * gst/gstmessage.h:
7554         * tools/gst-launch.c: (event_loop):
7555         * tools/gst-md5sum.c: (event_loop):
7556           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7557           that applications can sensibly post custom messages with references
7558           to their own objects.
7559
7560 2005-08-24  Andy Wingo  <wingo@pobox.com>
7561
7562         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7563         already.
7564
7565 2005-08-24  Wim Taymans  <wim@fluendo.com>
7566
7567         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7568         (gst_base_transform_transform_caps),
7569         (gst_base_transform_transform_size),
7570         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7571         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7572         (gst_base_transform_handle_buffer):
7573         * gst/base/gstbasetransform.h:
7574         Many fixes and new features added by Thomas. Can now also do
7575         transforms with variable sizes and a custom fixate_caps function.
7576
7577 2005-08-24  Wim Taymans  <wim@fluendo.com>
7578
7579         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7580         Some debugging.
7581
7582         * gst/gstclock.h:
7583         Cast to ClockTime before formatting to time.
7584
7585         * gst/gstutils.h:
7586         Cleanups.
7587
7588 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7589
7590         * check/gst-libs/controller.c: (GST_START_TEST),
7591         (gst_controller_suite):
7592         * docs/gst/tmpl/gstcaps.sgml:
7593         * docs/gst/tmpl/gstghostpad.sgml:
7594         * docs/gst/tmpl/gstquery.sgml:
7595         * docs/gst/tmpl/gstutils.sgml:
7596         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7597         (gst_object_sink_values), (gst_object_get_value_arrays),
7598         (gst_object_get_value_array):
7599           gracefully handle helper method calls to objects that are not beeing
7600           controlled, added test case for that          
7601
7602 2005-08-23  Wim Taymans  <wim@fluendo.com>
7603
7604         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7605         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7606         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7607         (gst_event_parse_qos), (gst_event_new_seek),
7608         (gst_event_parse_seek):
7609         * gst/gstevent.h:
7610         Some more debugging output and doc cleanups.
7611
7612         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7613         Fix possible deadlock.
7614
7615 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7616
7617         * docs/gst/gstreamer-docs.sgml:
7618         * docs/gst/gstreamer-sections.txt:
7619         * docs/gst/gstreamer.types:
7620         * docs/gst/tmpl/.cvsignore:
7621         * gst/gstbin.h:
7622         * gst/gstbus.c:
7623         * gst/gstelement.c:
7624         * gst/gstevent.h:
7625           added 100 symbols from gstreamer-unused.txt to the right sections
7626           fixed more broken comments
7627           added GstBus to docs
7628
7629 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7630
7631         * docs/gst/gstreamer-sections.txt:
7632         * docs/gst/tmpl/.cvsignore:
7633         * docs/gst/tmpl/gstbin.sgml:
7634         * docs/gst/tmpl/gstbuffer.sgml:
7635         * gst/base/gstbasesrc.c:
7636         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7637         * gst/gstbuffer.c:
7638         * gst/gstbuffer.h:
7639         * tools/gst-launch.1.in:
7640           inlined more doc comments, added missing comments and fixed comments
7641           fixed typos
7642
7643 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7644
7645         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7646           some debugging
7647         * gst/gstcaps.h:
7648           whitespace fixes
7649         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7650           more debugging
7651         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7652         * gst/gststructure.h:
7653           add a fixate function for booleans; add a FIXME that these func
7654           names should probably be gst_structure_fixate_*
7655
7656 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7657
7658         * docs/gst/gstreamer-docs.sgml:
7659         * docs/gst/gstreamer-sections.txt:
7660         * gst/Makefile.am:
7661         * gst/gstbin.c: (gst_bin_get_type),
7662         (gst_bin_child_proxy_get_child_by_index),
7663         (gst_bin_child_proxy_get_children_count),
7664         (gst_bin_child_proxy_init):
7665         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7666         (gst_child_proxy_get_child_by_index),
7667         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7668         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7669         (gst_child_proxy_get), (gst_child_proxy_set_property),
7670         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7671         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7672         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7673         * gst/gstchildproxy.h:
7674         * gst/parse/grammar.y:
7675         * tools/gst-inspect.c: (print_interfaces),
7676         (print_element_properties_info), (print_element_info):
7677           ported gstchildproxy over from 0.8
7678           ported gst-inspect fixes and enhancements over from 0.8
7679
7680 2005-08-22  Wim Taymans  <wim@fluendo.com>
7681
7682         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7683         (gst_base_transform_handle_buffer):
7684         Also call the transform function if we have ANY caps.
7685
7686         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7687         Fix debug info.
7688
7689 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7690
7691         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7692           Don't pretend to handle seek events if the source is not seekable
7693
7694 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7695
7696         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7697           Remove extra parameter to debug output
7698
7699         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7700         (gst_base_src_do_seek), (gst_base_src_activate_push):
7701           Fix seek event handling.
7702
7703         * gst/gstpipeline.c: (gst_pipeline_change_state):
7704         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7705         (gst_queue_src_activate_push):
7706           Don't start the src pad task on FLUSH_STOP if the pad
7707           isn't linked.
7708           Debug changes.
7709
7710 2005-08-22  Wim Taymans  <wim@fluendo.com>
7711
7712         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7713         Added check for gst_static_caps_get() refcounting.
7714
7715 2005-08-22  Wim Taymans  <wim@fluendo.com>
7716
7717         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7718         Make _static_caps_get() refcounting sane.
7719         
7720         * gst/gstelement.c: (gst_element_set_state):
7721         Add g_return_val_if_fail() to protect against segfaults.
7722
7723 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7724
7725         * docs/gst/tmpl/gstevent.sgml:
7726         * gst/gstevent.c:
7727         * gst/gstevent.h:
7728           inlined remaining docs, added missing doc comments
7729
7730 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7731
7732         * check/gst/gstbin.c: (GST_START_TEST):
7733           since we don't know when preroll is done, use refcount range
7734           check for the sink
7735         * gst/check/gstcheck.h:
7736           add macro for checking refcount range
7737
7738 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7739
7740         * check/Makefile.am:
7741           clean up environment for when registry gets built versus
7742           when actual tests are run; valgrind seems to not report
7743           leaks if GST_PLUGIN_PATH is set to some specific values
7744         * check/gst/gstbin.c: (GST_START_TEST):
7745           add more refcounting checks; maybe this exposes a
7746           preroll lock bug ?
7747         * common/check.mak:
7748         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7749         * gst/check/gstcheck.h:
7750         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7751         (gst_bin_change_state):
7752         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7753           add/fix debugging/whitespace
7754
7755 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7756
7757         * check/gst/gstevent.c: (event_probe), (test_event),
7758         (GST_START_TEST):
7759          Er, don't call gst_bin_watch_for_state_change you idiot.
7760
7761 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7762
7763         * check/Makefile.am:
7764           Use CHECK_CFLAGS and CHECK_LIBS
7765         * check/gst/gstevent.c: (event_probe), (test_event),
7766         (GST_START_TEST):
7767           Don't leak events.
7768         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7769         (gst_base_src_start), (gst_base_src_stop),
7770         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7771         (gst_base_src_change_state):
7772           Sprinkle gst_base_src_stop liberally around error paths to fix
7773           problems reusing a source after failed state changes.
7774         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7775         (helper_find_suggest), (gst_type_find_helper):
7776           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7777         * gst/gstevent.h:
7778         * docs/gst/tmpl/gstevent.sgml:
7779           Migrate part of the docs from the SGML file. Wait for ensonic to
7780           tell me how I did it wrong ;)
7781         * tools/gst-typefind.c: (main):
7782           Extra robustness to state changes between files.
7783
7784 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7785
7786         * check/Makefile.am:
7787           don't valgrind the controller test - it's leaking - Stefan, HELP
7788         * gst/check/gstcheck.c: (gst_check_message_error),
7789         (gst_check_chain_func), (gst_check_setup_element),
7790         (gst_check_teardown_element), (gst_check_setup_src_pad),
7791         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7792         (gst_check_teardown_sink_pad):
7793         * gst/check/gstcheck.h:
7794           add a bunch of methods to set up elements, and src and sink pads
7795         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7796         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7797         (GST_START_TEST):
7798           use them
7799         * gst/gstmessage.c:
7800         * gst/gsttag.h:
7801           whitespace/doc fixes
7802
7803 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7804
7805         * gst/gstelement.h:
7806           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7807           be handled by the application and not always printed as well
7808
7809 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7810
7811         * check/Makefile.am:
7812           set GST_TOOLS_DIR
7813         * gst/check/gstcheck.c: (gst_check_message_error):
7814         * gst/check/gstcheck.h:
7815           add a fail_unless_equals_int
7816           add fail_unless for error messages
7817
7818 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7819
7820         * check/Makefile.am:
7821         * check/gst.supp:
7822         * common/Makefile.am:
7823         * common/check.mak:
7824         * common/gst.supp:
7825           factor out some of the common stuff so we can use it
7826
7827 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7828
7829         * check/Makefile.am:
7830         * check/gst/gstiterator.c: (GST_START_TEST):
7831         * check/gst/gstsystemclock.c: (GST_START_TEST),
7832         (gst_systemclock_suite):
7833         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7834         * gst/gstclock.c:
7835           valgrind more tests
7836
7837 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7838
7839         * check/elements/.cvsignore:
7840         * check/elements/gstfakesrc.c:
7841           rename to name of element
7842         * check/elements/identity.c: (chain_func), (event_func),
7843         (setup_identity), (cleanup_identity), (GST_START_TEST),
7844         (identity_suite), (main):
7845           add a test for identity
7846         * check/Makefile.am:
7847         * pkgconfig/Makefile.am:
7848         * pkgconfig/gstreamer-check.pc.in:
7849         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7850         * gst/check:
7851         * gst/Makefile.am:
7852         * configure.ac:
7853           move the check stuff to a library that gets installed
7854         * check/gst-libs/controller.c: (GST_START_TEST):
7855         * check/gst-libs/gdp.c:
7856         * check/gst/gst.c: (GST_START_TEST):
7857         * check/gst/gstbin.c:
7858         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7859         * check/gst/gstbus.c:
7860         * check/gst/gstcaps.c: (GST_START_TEST):
7861         * check/gst/gstelement.c:
7862         * check/gst/gstghostpad.c:
7863         * check/gst/gstiterator.c:
7864         * check/gst/gstmessage.c:
7865         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7866         * check/gst/gstobject.c:
7867         * check/gst/gstpad.c: (GST_START_TEST):
7868         * check/gst/gststructure.c: (GST_START_TEST):
7869         * check/gst/gstsystemclock.c: (GST_START_TEST),
7870         (gst_systemclock_suite):
7871         * check/gst/gsttag.c: (gst_tag_suite):
7872         * check/gst/gstvalue.c:
7873         * check/pipelines/cleanup.c:
7874         * check/pipelines/simple_launch_lines.c:
7875         * check/states/sinks.c:
7876           change include statement
7877
7878         * docs/gst/gstreamer-sections.txt:
7879         * docs/gst/tmpl/gstpad.sgml:
7880           document more pad stuff
7881         * gst/gstminiobject.c: (gst_mini_object_ref),
7882         (gst_mini_object_unref):
7883           debug refcounting
7884
7885 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7886
7887         * docs/gst/tmpl/gst.sgml:
7888         * gst/gst.c:
7889           eliminate another tmpl file, fix spelling in the long-description
7890
7891 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7892
7893         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7894         (test_event), (timediff), (gstevents_suite):
7895           Should fix build on 64-bit arch's
7896
7897 2005-08-18  Andy Wingo  <wingo@pobox.com>
7898
7899         Make sure that when a pipeline goes to PLAYING, that data has
7900         actually hit the sink.
7901
7902         * check/states/sinks.c (test_sink): A sink that doesn't get any
7903         data shouldn't return SUCCESS for going to either PLAYING or
7904         PAUSED. Test also the return values on the way back down.
7905
7906         * gst/gstelement.c (gst_element_set_state): When changing the
7907         state of an element currently changing state asynchronously, go to
7908         lost-state after commiting the pending state. Makes future calls
7909         to get_state continue to return ASYNC.
7910
7911         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7912         ASYNC when going to PLAYING if we still don't have preroll, as can
7913         happen with live sources.
7914
7915 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7916
7917         * docs/pwg/advanced-types.xml:
7918           Hack long paragraph into 2 chunks as a workaround for buggy
7919           jadetex version in sid and breezy that loops infinitely and
7920           eats all RAM.
7921
7922 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7923
7924         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7925         (test_event), (timediff), (gstevents_suite):
7926           Provide more error margin in clock measurements to allow for 
7927           g_get_current_time inaccuracies.
7928
7929 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7930
7931         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7932         (test_event), (timediff), (gstevents_suite):
7933            Fix error message output so I might be able to tell why the
7934            test works here but fails on the build farm.
7935
7936 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7937
7938         * check/Makefile.am:
7939         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7940         (test_event), (timediff), (gstevents_suite), (main):
7941           I wrote a test!
7942
7943         * docs/design/part-seeking.txt:
7944           Spelling correction
7945
7946         * docs/gst/tmpl/gstevent.sgml:
7947         * docs/gst/tmpl/gstfakesrc.sgml:
7948           Docs updates.
7949
7950         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7951           Treat a buffer-without-newsegment the same as a receiving 
7952           a newsegment not in time format, and disable syncing to the clock
7953           with a warning.
7954
7955         * gst/gstbus.c: (gst_bus_set_sync_handler):
7956           Assert if anyone tries to replace the existing sync_handler for bus, 
7957           as only the owner should be setting it.
7958
7959         * gst/gstevent.h:
7960           Have a fixed set of custom event enums with events identified by
7961           their structure name (as in 0.8), rather than a free-for-all
7962           allowing collisions between enum values from different plugins.
7963
7964         * gst/gstpad.c: (gst_pad_class_init):
7965           Docs change.
7966           
7967         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7968           Handle out-of-band downstream events from the sending thread.
7969
7970 2005-08-17  Andy Wingo  <wingo@pobox.com>
7971
7972         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7973         play-timeout==0 to mean no timeout at all. In that case, don't
7974         bother with a get_state or a warning, just return directly, even
7975         if it's ASYNC.
7976
7977         * gst/base/gstbasetransform.c: Debug changes.
7978
7979         * gst/gstutils.h:
7980         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7981         ensure bins post state change messages. A bit of a hack but I can't
7982         think of a way to avoid it.
7983
7984         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7985
7986 2005-08-16  Andy Wingo  <wingo@pobox.com>
7987
7988         * gst/base/gstadapter.h:
7989         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7990         peek() but you own the data. Not terribly efficient atm.
7991
7992 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7993
7994         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7995         (gst_element_found_tags):
7996         * gst/gstutils.h:
7997           Add two utility functions for tag handling.
7998
7999 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8000
8001         * docs/manual/advanced-dataaccess.xml:
8002         * docs/manual/basics-helloworld.xml:
8003           Fix docs to use _bin_add() before _link(), which fixes the examples
8004           with recent core versions (reported by Madhan Raj M
8005           <raj_madan@rediffmail.com>, #313199).
8006
8007 2005-08-16  Wim Taymans  <wim@fluendo.com>
8008
8009         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8010         Added subtract checks.
8011
8012         * docs/design/part-events.txt:
8013         Some more docs about newsegment
8014
8015         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8016         Fix FIXME
8017
8018         * gst/gstcaps.c: (gst_caps_to_string):
8019         Add comments, cleanups.
8020         
8021         * gst/gstelement.c: (gst_element_save_thyself):
8022         cleanups
8023         
8024         * gst/gstvalue.c: (gst_value_collect_int_range),
8025         (gst_string_unwrap), (gst_value_union_int_int_range),
8026         (gst_value_union_int_range_int_range),
8027         (gst_value_intersect_int_int_range),
8028         (gst_value_intersect_int_range_int_range),
8029         (gst_value_intersect_double_double_range),
8030         (gst_value_intersect_double_range_double_range),
8031         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8032         (gst_value_subtract_int_range_int),
8033         (gst_value_subtract_double_range_double),
8034         (gst_value_subtract_double_range_double_range),
8035         (gst_value_subtract_from_list), (gst_value_subtract_list),
8036         (gst_value_can_compare), (gst_value_compare_fraction):
8037         Cleanups, add comments, remove unneeded asserts.
8038
8039 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8040
8041         * tools/gst-launch.c: (event_loop):
8042           don't convert NULL structures to strings
8043
8044 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
8045
8046         * docs/gst/gstreamer-sections.txt:
8047           made some defines private
8048         * docs/gst/tmpl/gstconfig.sgml:
8049         * docs/gst/tmpl/gstqueue.sgml:
8050         * docs/gst/tmpl/gsttaglist.sgml:
8051         * docs/gst/tmpl/gsttypes.sgml:
8052         * docs/gst/tmpl/gstutils.sgml:
8053         * docs/pwg/appendix-porting.xml:
8054         * gst/base/gstbasesink.h:
8055         * gst/base/gstbasesrc.c:
8056         * gst/base/gstbasesrc.h:
8057         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8058         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8059         * gst/gstelement.c: (gst_element_class_init):
8060         * gst/gstpad.c: (gst_pad_class_init):
8061         * gst/gstqueue.c: (gst_queue_class_init):
8062         * gst/gstxml.c: (gst_xml_class_init):
8063           documented all undocumented signal inline
8064         * libs/gst/controller/gst-controller.h:
8065           added padding
8066
8067 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8068
8069         * docs/pwg/appendix-porting.xml:
8070           Document _set_link_function -> _set_setcaps_function.
8071
8072 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8073
8074         * check/Makefile.am:
8075           add a .check target for running the check
8076         * check/gst-libs/controller.c: (GST_START_TEST):
8077           cosmetic fixups
8078         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8079           complete checks for gstbuffer; would be nice if I could get the
8080           gcov stuff to work so I can see if I actually completed gstbuffer.c
8081         * check/gstcheck.h:
8082           add ASSERT_BUFFER_REFCOUNT
8083
8084 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8085
8086         * docs/gst/gstreamer-sections.txt:
8087         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8088         * gst/gsttag.h:
8089           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8090           spew out a warning if a tag that is already registered
8091           is re-registered, unless it is re-registered with a 
8092           different type (#308438).
8093
8094 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8095
8096         * docs/pwg/appendix-porting.xml:
8097         * docs/pwg/building-state.xml:
8098           Add some paragraphs about state changes in 0.9 to the PWG
8099           and the porting guide, in particular about the new meaning
8100           of GST_STATE_PAUSED and how to write state change functions
8101           with concurrent access by multiple threads in mind.
8102
8103 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8104
8105         * docs/gst/gstreamer-docs.sgml:
8106         * docs/libs/gstreamer-libs-docs.sgml:
8107           added deprecation and since indexes
8108         * libs/gst/controller/gst-controller.c:
8109         * libs/gst/controller/gst-helper.c:
8110           added since tags
8111
8112
8113 2005-08-11  Wim Taymans  <wim@fluendo.com>
8114
8115         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8116         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8117         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8118         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8119         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8120         (gst_ghost_pad_set_target):
8121         Actually implement (re)setting the target on a ghostpad
8122         as described in the docs.
8123
8124 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8125
8126         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8127           Check whether GST_DEBUG_NO_COLOR environment variable is
8128           set and disable coloured debug output if that is the case.
8129
8130 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8131
8132         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8133         (gst_type_find_helper):
8134           The memory returned by gst_type_find_peek() needs to
8135           stay valid until the end of a typefind function, and
8136           typefind functions may keep results from different 
8137           offsets around, so we can't just unref the buffer from
8138           the previous _peek(), but have to save all buffers 
8139           returned by _peek() until typefinding is done and only
8140           free them then.
8141
8142 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8143
8144         * docs/gst/gstreamer-sections.txt:
8145         * gst/gstutils.h:
8146           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8147
8148 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8149
8150         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8151           Fix a pretty good memleak.
8152
8153 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8154
8155         * gst/gstiterator.h:
8156           Fix wrong include and 'make distcheck'.
8157
8158 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8159
8160         * gst/gstbin.c: (bin_bus_handler):
8161           Use gst_element_post_message() instead.
8162
8163 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8164
8165         * gst/base/gstadapter.h:
8166         * gst/base/gstbasesink.h:
8167         * gst/base/gstbasesrc.h:
8168         * gst/base/gstbasetransform.h:
8169         * gst/base/gstcollectpads.h:
8170         * gst/base/gstpushsrc.h:
8171         * gst/gstiterator.h:
8172           Add padding to our base elements' class and instance structs and
8173           to GstIterator (you will need to rebuild all plugins and apps!)
8174
8175 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8176
8177         * gst/gstbin.c: (bin_bus_handler):
8178           Make default message forwarding from child->bus to bin->bus
8179           threadsafe and make it not emit warnings if the parent has no bus.
8180
8181 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8182
8183         * gst/gstelement.c: (activate_pads):
8184           On paused->ready, set pad->caps to NULL, as is the documented
8185           behaviour in this state change. Fixes playback of series of
8186           media files when visualization is enabled in Totem.
8187
8188 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8189
8190         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8191           Allow NULL as filter-caps (which means "any").
8192
8193 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8194
8195         * docs/libs/gstreamer-libs-sections.txt:
8196         * libs/gst/controller/gst-controller.c:
8197         * libs/gst/controller/gst-controller.h:
8198         * libs/gst/controller/gst-helper.c:
8199           adding more entries to the docs and fix small doc-bugs
8200
8201 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8202
8203         * docs/gst/gstreamer-docs.sgml:
8204         * docs/gst/gstreamer-sections.txt:
8205         * docs/gst/gstreamer.types:
8206         * docs/gst/tmpl/gstbasesink.sgml:
8207         * docs/gst/tmpl/gstbasesrc.sgml:
8208         * docs/gst/tmpl/gstbasetransform.sgml:
8209         * docs/gst/tmpl/gstfakesrc.sgml:
8210         * gst/base/gstcollectpads.c:
8211         * gst/base/gstcollectpads.h:
8212         * libs/gst/controller/gst-controller.c:
8213         * libs/gst/controller/gst-controller.h:
8214         * libs/gst/controller/gst-helper.c:
8215         * libs/gst/controller/gst-interpolation.c:
8216         * libs/gst/controller/lib.c:
8217           added long/short desc for controller docs
8218           added collectpads base class docs
8219           added correct includes to base-class docs
8220
8221 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8222
8223         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8224         (gst_test_mono_source_set_property),
8225         (gst_test_mono_source_class_init), (GST_START_TEST),
8226         (gst_controller_suite):
8227         * docs/gst/gstreamer-docs.sgml:
8228         * docs/gst/gstreamer-sections.txt:
8229         * docs/gst/gstreamer.types:
8230         * docs/libs/gstreamer-libs-docs.sgml:
8231         * docs/libs/gstreamer-libs-sections.txt:
8232         * gst/base/gstadapter.c:
8233         * libs/gst/controller/gst-controller.c:
8234         (gst_controlled_property_new), (gst_controlled_property_free),
8235         (gst_controller_new_valist),
8236         (gst_controller_remove_properties_valist),
8237         (gst_controller_sink_values), (_gst_controller_finalize):
8238         * libs/gst/controller/gst-controller.h:
8239         * libs/gst/controller/gst-helper.c:
8240         (gst_object_control_properties), (gst_object_uncontrol_properties),
8241         (gst_object_get_controller), (gst_object_set_controller),
8242         (gst_object_sink_values), (gst_object_get_value_arrays),
8243         (gst_object_get_value_array):
8244           more tests (and fixes) for the controller
8245           more docs for the controller
8246           integrated companies docs for the adapter 
8247
8248 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8249
8250         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8251         (GST_START_TEST), (fakesrc_suite):
8252           add tests for sizetype
8253
8254 2005-08-04  Andy Wingo  <wingo@pobox.com>
8255
8256         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8257         fixes buffer_alloc proxying among other things.
8258
8259         * gst/base/gstbasetransform.c:
8260         * gst/base/gstbasetransform.h:
8261         Revert patch to gstbasetransform from 7-28 removing
8262         delay_configure.
8263
8264         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8265         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8266         Semantics changed, should return not the size of the output buffer
8267         but the byte size of a buffer with a given caps.
8268
8269         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8270         debug object.
8271         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8272         out) are not the pad caps until setcaps finishes.
8273         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8274         not-in-place case as well. Deal with changing from in-place to
8275         not-in-place within calling pad_alloc_buffer. Still a bit
8276         concerned about the overhead here...
8277
8278 2005-08-03  Andy Wingo  <wingo@pobox.com>
8279
8280         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8281         fixating is an error.
8282
8283 2005-08-04  Edward Hervey  <edward@fluendo.com>
8284
8285         * gst/base/gstadapter.h: 
8286         Added gst_adapter_get_type() to the header
8287
8288 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8289
8290         * check/Makefile.am:
8291         * check/gst-libs/controller.c:
8292         * libs/gst/controller/gst-controller.c:
8293         (gst_controller_new_valist):
8294           added check test suite for the controller
8295         * gst/base/gstpushsrc.c:
8296           fixed a doc typo
8297
8298 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8299
8300         * docs/gst/Makefile.am:
8301         * docs/gst/gstreamer-docs.sgml:
8302         * docs/gst/gstreamer-sections.txt:
8303         * docs/gst/gstreamer.types:
8304         * docs/gst/tmpl/gstfakesrc.sgml:
8305         * gst/base/README:
8306         * gst/base/gstbasesink.c:
8307         * gst/base/gstbasesink.h:
8308         * gst/base/gstbasesrc.c:
8309         * gst/base/gstbasesrc.h:
8310         * gst/base/gstbasetransform.c:
8311         * gst/base/gstpushsrc.c:
8312         * gst/base/gstpushsrc.h:
8313           add short/long description docs to base classes
8314           add pushsrc to the docs
8315           remove consolidated doc fragments
8316
8317 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8318
8319         * configure.ac:
8320         * docs/libs/Makefile.am:
8321         * docs/libs/gstreamer-libs-docs.sgml:
8322         * docs/libs/gstreamer-libs-sections.txt:
8323         * docs/libs/gstreamer-libs.types:
8324         * examples/Makefile.am:
8325         * examples/controller/.cvsignore:
8326         * examples/controller/Makefile.am:
8327         * examples/controller/audio-example.c: (main):
8328         * libs/gst/Makefile.am:
8329         * libs/gst/controller/.cvsignore:
8330         * libs/gst/controller/Makefile.am:
8331         * libs/gst/controller/gst-controller.c:
8332         (on_object_controlled_property_changed), (gst_timed_value_compare),
8333         (gst_timed_value_find),
8334         (gst_controlled_property_set_interpolation_mode),
8335         (gst_controlled_property_new), (gst_controlled_property_free),
8336         (gst_controller_find_controlled_property),
8337         (gst_controller_new_valist), (gst_controller_new),
8338         (gst_controller_remove_properties_valist),
8339         (gst_controller_remove_properties), (gst_controller_set),
8340         (gst_controller_set_from_list), (gst_controller_unset),
8341         (gst_controller_get), (gst_controller_get_all),
8342         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8343         (gst_controller_get_value_array),
8344         (gst_controller_set_interpolation_mode),
8345         (_gst_controller_finalize), (_gst_controller_init),
8346         (_gst_controller_class_init), (gst_controller_get_type):
8347         * libs/gst/controller/gst-controller.h:
8348         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8349         (g_object_uncontrol_properties), (g_object_get_controller),
8350         (g_object_set_controller), (g_object_sink_values),
8351         (g_object_get_value_arrays), (g_object_get_value_array):
8352         * libs/gst/controller/gst-interpolation.c:
8353         (gst_controlled_property_find_timed_value_node),
8354         (interpolate_none_get), (interpolate_trigger_get),
8355         (interpolate_trigger_get_value_array):
8356         * libs/gst/controller/lib.c: (gst_controller_init):
8357         * pkgconfig/Makefile.am:
8358         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8359         * pkgconfig/gstreamer-control.pc.in:
8360         * testsuite/Makefile.am:
8361         * testsuite/controller/.cvsignore:
8362         * testsuite/controller/Makefile.am:
8363         * testsuite/controller/interpolator.c: (main):
8364           added controller code
8365           removed dparam pc files
8366
8367 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8368         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8369         (gst_collectpads_stop):
8370           Broadcast the condition when shutting down, to make sure we wake all
8371           threads up. Shut down pads on finalize, for safety.
8372
8373 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8374         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8375         (gst_base_transform_handle_buffer),
8376         (gst_base_transform_change_state):
8377           Handle PAUSED->READY->PAUSED transition after negotiation
8378           occurred already.
8379         * gst/gstmessage.c: (gst_message_init):
8380           Extra piece of debug for new messages.
8381
8382 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8383
8384         * configure.ac:
8385         * docs/gst/tmpl/gstbasesrc.sgml:
8386         * docs/gst/tmpl/gstelement.sgml:
8387         * docs/gst/tmpl/gstevent.sgml:
8388         * docs/gst/tmpl/gstfakesrc.sgml:
8389         * docs/gst/tmpl/gstformat.sgml:
8390         * docs/gst/tmpl/gstghostpad.sgml:
8391         * docs/gst/tmpl/gstpad.sgml:
8392         * docs/gst/tmpl/gstquery.sgml:
8393         * docs/gst/tmpl/gststructure.sgml:
8394         * docs/gst/tmpl/gsttaglist.sgml:
8395         * docs/gst/tmpl/gstvalue.sgml:
8396         * docs/libs/gstreamer-libs-docs.sgml:
8397         * docs/libs/gstreamer-libs-sections.txt:
8398         * docs/libs/gstreamer-libs.types:
8399         * libs/gst/Makefile.am:
8400         * libs/gst/control/.cvsignore:
8401         * libs/gst/control/Makefile.am:
8402         * libs/gst/control/control.c:
8403         * libs/gst/control/control.h:
8404         * libs/gst/control/dparam.c:
8405         * libs/gst/control/dparam.h:
8406         * libs/gst/control/dparam_smooth.c:
8407         * libs/gst/control/dparam_smooth.h:
8408         * libs/gst/control/dparamcommon.h:
8409         * libs/gst/control/dparammanager.c:
8410         * libs/gst/control/dparammanager.h:
8411         * libs/gst/control/dplinearinterp.c:
8412         * libs/gst/control/dplinearinterp.h:
8413         * libs/gst/control/unitconvert.c:
8414         * libs/gst/control/unitconvert.h:
8415         * testsuite/Makefile.am:
8416         * testsuite/dynparams/.cvsignore:
8417         * testsuite/dynparams/Makefile.am:
8418         * testsuite/dynparams/dparamstest.c:
8419         * tools/Makefile.am:
8420         * tools/gst-inspect.c: (print_element_info), (main):
8421         * tools/gst-xmlinspect.c: (print_element_info), (main):
8422           deactivate and remove dparams (libgstcontrol)
8423
8424 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8425
8426         * gst/elements/gsttypefindelement.c:
8427         (gst_type_find_element_have_type), (gst_type_find_element_init),
8428         (stop_typefinding), (gst_type_find_element_handle_event),
8429         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8430         * gst/elements/gsttypefindelement.h:
8431           Set caps on all outgoing buffers, not just the first one.
8432
8433 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8434
8435         * gst/elements/gsttypefindelement.c:
8436         (gst_type_find_element_have_type),
8437         (gst_type_find_element_check_set_buffer_caps),
8438         (gst_type_find_element_init), (stop_typefinding),
8439         (gst_type_find_element_handle_event),
8440         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8441         * gst/elements/gsttypefindelement.h:
8442           Set caps on first outgoing buffer when we've found the type.
8443
8444 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8445
8446         * docs/gst/gstreamer-docs.sgml:
8447         * docs/gst/gstreamer-sections.txt:
8448         * docs/gst/tmpl/gstscheduler.sgml:
8449         * docs/gst/tmpl/gstschedulerfactory.sgml:
8450           Remove some old cruft from docs.
8451
8452 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8453
8454         * gst/gstpad.h:
8455           Fix inline docs for GstPadLinkReturn.
8456           
8457         * gst/gststructure.c: (gst_structure_has_name):
8458         * gst/gststructure.h:
8459         * docs/gst/gstreamer-sections.txt:
8460           New API: gst_structure_has_name().
8461
8462 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8463
8464         * configure.ac:
8465           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8466           and _LARGEFILE_SOURCE in config.h as required. Do not 
8467           export those flags in our .pc files any longer (#142209).
8468
8469           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8470
8471         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8472         (gst_file_sink_do_seek), (gst_file_sink_event),
8473         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8474           Redo seek/tell calls with large file support in mind; add some
8475           debugging messages; add log message that tells us when large
8476           file support is unavailable or not enabled for some reason.
8477
8478         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8479           Add log message that tells us when large file support 
8480           is unavailable or not enabled for some reason.
8481
8482 2005-07-29  Wim Taymans  <wim@fluendo.com>
8483
8484         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8485         Added test for removing an element with ghostpad from a bin.
8486         Fixed test as current implementation does the right thing.
8487
8488         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8489         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8490         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8491         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8492         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8493         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8494         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8495         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8496         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8497         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8498         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8499         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8500         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8501         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8502         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8503         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8504         * gst/gstghostpad.h:
8505         Clean up ghostpads, remove properties for internal stuff.
8506         Make threadsafe.
8507         Fix refcounting.
8508         Prepare for switching targets, not all use cases work yet.
8509
8510 2005-07-29  Wim Taymans  <wim@fluendo.com>
8511
8512         * docs/design/part-gstghostpad.txt:
8513         Small update.
8514
8515         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8516         (gst_bin_remove_func):
8517         Unlinking pads while holding the bin LOCK is not a good
8518         idea.
8519
8520         * gst/gstpad.c: (gst_pad_class_init),
8521         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8522         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8523         No prob setting template after creating the pad.
8524
8525 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8526
8527         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8528         (gst_bus_peek), (gst_bus_source_dispatch),
8529         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8530         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8531           gst_bus_poll may be called from other threads. Handle
8532           this nicely by not making poll_data disappear off the
8533           stack once gst_bus_poll returns.
8534           gst_bus_peek now increments the refcount on the returned
8535           message.
8536
8537 2005-07-29  Wim Taymans  <wim@fluendo.com>
8538
8539         * docs/design/part-gstghostpad.txt:
8540         Overview of current GhostPad datastructures and use
8541         cases for changing the target.
8542
8543 2005-07-28  Wim Taymans  <wim@fluendo.com>
8544
8545         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8546         Added checks for hierarchy consistency whan adding linked
8547         elements to bins.
8548
8549         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8550         Added check to test element scheduling without bin/pipeline.
8551
8552         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8553         First add elements to bin, then link.
8554         
8555         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8556         (gst_bin_remove_func):
8557         Unlink pads from elements added/removed from bin to maintain
8558         hierarchy consistency.
8559
8560 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8561
8562         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8563         (gst_base_transform_handle_buffer):
8564         * gst/base/gstbasetransform.h:
8565           Remove broken delay_configure (fixes renegotiation of software
8566           scaling pipelines); remove some leftover printf()s.
8567
8568 2005-07-28  Wim Taymans  <wim@fluendo.com>
8569
8570         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8571         Added some more tests for wrong hierarchy
8572
8573         * docs/design/part-overview.txt:
8574         Some updates.
8575
8576         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8577         Cleanups.
8578
8579         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8580         (gst_element_dispose):
8581         Some more cleanups.
8582
8583         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8584         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8585         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8586         (gst_pad_set_caps), (gst_pad_send_event):
8587         Check for correct hierarchy when linking pads. Moving to
8588         strict requirement for ghostpads when linking elements in
8589         different bins.
8590
8591         * gst/gstpad.h:
8592         Clean ups. Added WRONG_HIERARCHY return value.
8593
8594 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8595
8596         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8597           Better debug if no transform is possible.
8598
8599 2005-07-27  Wim Taymans  <wim@fluendo.com>
8600
8601         * docs/random/wtay/network-transp:
8602         Some old doc I had.
8603
8604 2005-07-27  Wim Taymans  <wim@fluendo.com>
8605
8606         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8607         (gst_dp_event_from_packet):
8608         Fix serialization of seek events.
8609
8610 2005-07-27  Wim Taymans  <wim@fluendo.com>
8611
8612         * check/gst-libs/gdp.c: (GST_START_TEST):
8613         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8614         Fix compilation and fix event serialization.
8615
8616 2005-07-27  Wim Taymans  <wim@fluendo.com>
8617
8618         * CHANGES-0.9:
8619         * docs/design/part-TODO.txt:
8620         * docs/design/part-events.txt:
8621         Some docs updates
8622
8623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8624         (gst_base_sink_event), (gst_base_sink_do_sync),
8625         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8626         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8627         (gst_base_src_do_seek), (gst_base_src_event_handler),
8628         (gst_base_src_loop):
8629         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8630         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8631         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8632         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8633         (gst_base_transform_set_passthrough),
8634         (gst_base_transform_is_passthrough):
8635         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8636         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8637         Event updates.
8638
8639         * gst/gstbuffer.h:
8640         Use faster casts.
8641
8642         * gst/gstelement.c: (gst_element_seek):
8643         * gst/gstelement.h:
8644         Update gst_element_seek.
8645
8646         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8647         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8648         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8649         (gst_event_new_eos), (gst_event_new_newsegment),
8650         (gst_event_parse_newsegment), (gst_event_new_tag),
8651         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8652         (gst_event_parse_qos), (gst_event_new_seek),
8653         (gst_event_parse_seek), (gst_event_new_navigation):
8654         * gst/gstevent.h:
8655         Make GstEvent use GstStructure. Add parsing code, make sure the
8656         API is sufficiently generic.
8657         Mark possible directions of events and serialization.
8658
8659         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8660         (_gst_message_copy), (gst_message_new_segment_start),
8661         (gst_message_new_segment_done), (gst_message_new_custom),
8662         (gst_message_parse_segment_start),
8663         (gst_message_parse_segment_done):
8664         Small cleanups.
8665
8666         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8667         (gst_pad_set_caps), (gst_pad_send_event):
8668         Update for new events. 
8669         Catch events sent in wrong directions.
8670
8671         * gst/gstqueue.c: (gst_queue_link_src),
8672         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8673         (gst_queue_handle_src_query):
8674         Event updates.
8675
8676         * gst/gsttag.c:
8677         * gst/gsttag.h:
8678         Remove event code from this file.
8679
8680         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8681         (gst_dp_event_from_packet):
8682         Event updates.
8683
8684 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8685
8686         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8687         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8688         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8689           Make debugging actually useful.
8690
8691 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8692
8693         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8694         (gst_pad_fixate_caps):
8695           Implement default fixation once again, so that gst_pad_fixate()
8696           actually does anything at all. This probably needs to be some
8697           sort of a last resort, and use profile-based fixation first, but
8698           since that doesn't exist yet, this is the best we have. Fixes
8699           visualization in Totem.
8700
8701 2005-07-22  Wim Taymans  <wim@fluendo.com>
8702
8703         * docs/design/part-events.txt:
8704         Small update.
8705
8706         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8707         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8708         (gst_base_sink_activate_pull):
8709         Some more comments.
8710
8711         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8712         (gst_fake_src_create):
8713         Fix handoff marshall.
8714
8715         * gst/elements/gstidentity.c: (gst_identity_class_init),
8716         (gst_identity_transform_ip):
8717         We're a real inplace element.
8718
8719         * gst/gstbus.c: (gst_bus_post):
8720         Added some comments.
8721
8722         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8723         * tests/muxing/case1.c: (main):
8724         * tests/sched/dynamic-pipeline.c: (main):
8725         * tests/sched/interrupt1.c: (main):
8726         * tests/sched/interrupt2.c: (main):
8727         * tests/sched/interrupt3.c: (main):
8728         * tests/sched/runxml.c: (main):
8729         * tests/sched/sched-stress.c: (main):
8730         * tests/seeking/seeking1.c: (event_received), (main):
8731         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8732         (main):
8733         * tests/threadstate/threadstate3.c: (main):
8734         * tests/threadstate/threadstate4.c: (main):
8735         * tests/threadstate/threadstate5.c: (main):
8736         Fix the tests.
8737
8738 2005-07-21  Wim Taymans  <wim@fluendo.com>
8739
8740         * docs/design/part-seeking.txt:
8741         Some small additions.
8742
8743         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8744         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8745         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8746         * gst/base/gstbasesink.h:
8747         discont values are gint64, handle the math correctly.
8748
8749         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8750         Make the basesrc report error if the source pad is not linked.
8751
8752         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8753         (gst_queue_loop), (gst_queue_handle_src_query),
8754         (gst_queue_src_activate_push):
8755         Make queue collect data even if the srcpad is not linked.
8756         Start pushing out data as soon as it is linked.
8757
8758         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8759         * gst/gstutils.h:
8760         Added gst_flow_get_name() to ease error reporting.
8761
8762 2005-07-20  Wim Taymans  <wim@fluendo.com>
8763
8764         * gst/gstmessage.c: (gst_message_new_segment_start),
8765         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8766         (gst_message_parse_segment_done):
8767         * gst/gstmessage.h:
8768         Added a bunch of messages for advanced seeking.
8769
8770         * gst/parse/grammar.y:
8771         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8772         (gst_dpman_state_changed):
8773         Fix some new-pad -> pad-added signals
8774
8775 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8776
8777         * docs/manual/appendix-porting.xml:
8778         * docs/pwg/appendix-porting.xml:
8779           Document new-pad/state-change signal renames and the FixedList
8780           type rename.
8781
8782 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8783
8784         * docs/manual/advanced-autoplugging.xml:
8785         * docs/manual/basics-helloworld.xml:
8786         * docs/manual/basics-pads.xml:
8787         * docs/random/ds/0.9-suggested-changes:
8788         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8789         * gst/gstelement.h:
8790         * gst/gstevent.h:
8791         * gst/gstformat.h:
8792         * gst/gstquery.h:
8793         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8794         (gst_structure_parse_array), (gst_structure_parse_value):
8795         * gst/gstvalue.c: (gst_type_is_fixed),
8796         (gst_value_list_prepend_value), (gst_value_list_append_value),
8797         (gst_value_list_get_size), (gst_value_list_get_value),
8798         (gst_value_transform_array_string), (gst_value_serialize_array),
8799         (gst_value_deserialize_array), (gst_value_intersect_array),
8800         (gst_value_is_fixed), (_gst_value_initialize):
8801         * gst/gstvalue.h:
8802           GstElement::new-pad -> pad-added, GstElement::state-change ->
8803           state-changed, GstValueFixedList -> GstValueArray, add format and
8804           flags as their own arguments in gst_element_seek() (should improve
8805           "bindeability"), remove function generators since they don't work
8806           under a whole bunch of compilers (they were deprecated already
8807           anyway).
8808
8809 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8810
8811         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8812         (_gst_debug_register_funcptr):
8813         * gst/gstinfo.h:
8814           Fix illegal cast on some platforms (#309253).
8815
8816 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8817
8818         * gst/gstmessage.c: (gst_message_new_custom):
8819         * gst/gstmessage.h:
8820           Add _new_custom, make _new_application a macro to _new_custom.
8821
8822 2005-07-20  Wim Taymans  <wim@fluendo.com>
8823
8824         * gst/base/gstbasesrc.c: (gst_base_src_init),
8825         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8826         * gst/base/gstbasesrc.h:
8827         Add a gboolean to decide when to push out a discont.
8828
8829         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8830         (gst_queue_loop), (gst_queue_handle_src_query),
8831         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8832         (gst_queue_set_property), (gst_queue_get_property):
8833         Some cleanups.
8834
8835         * tests/threadstate/threadstate1.c: (main):
8836         Make a thread test compile and run... very silly..
8837
8838
8839 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8840
8841         * docs/manual/appendix-porting.xml:
8842           Mention removal of libgstgconf-0.9.la and existence of gconf
8843           elements.
8844
8845 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8846
8847         * docs/pwg/advanced-clock.xml:
8848         * docs/pwg/appendix-porting.xml:
8849         * docs/pwg/intro-preface.xml:
8850         * docs/pwg/other-base.xml:
8851         * docs/pwg/other-manager.xml:
8852         * docs/pwg/other-nton.xml:
8853         * docs/pwg/other-ntoone.xml:
8854         * docs/pwg/other-oneton.xml:
8855         * docs/pwg/pwg.xml:
8856           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8857           demuxer), remove n-to-n (was never written), fix some code examples
8858           and links and update the porting section to include all this.
8859
8860 2005-07-19  Wim Taymans  <wim@fluendo.com>
8861
8862         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8863         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8864         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8865         (gst_queue_src_activate_push), (gst_queue_change_state),
8866         (gst_queue_get_property):
8867         * gst/gstqueue.h:
8868         Propagate GstFlowReturn more intelligently upstream and output
8869         an ERROR/EOS when streaming stopped due to fatal error.
8870
8871 2005-07-19  Wim Taymans  <wim@fluendo.com>
8872
8873         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8874         Don't block forever for the state change to complete, the
8875         pipeline already did with a sensible timeout.
8876
8877 2005-07-19  Wim Taymans  <wim@fluendo.com>
8878
8879         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8880         Make sure we never call the create function is we
8881         got deactivated.
8882
8883 2005-07-19  Andy Wingo  <wingo@pobox.com>
8884
8885         * gst/parse/parse.l: Attempt to solve bug #172815.
8886
8887 2005-07-19  Wim Taymans  <wim@fluendo.com>
8888
8889         * docs/design/part-clocks.txt:
8890         * docs/design/part-events.txt:
8891         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8892         Small docs updates.
8893         Only update the seeking values when we are not
8894         busy streaming.
8895
8896 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8897
8898         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8899           Oops, ignore the result of gst_pad_push_event here.
8900
8901 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8902
8903         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8904         (gst_base_src_activate_push):
8905           Send discont event from the loop function, as pads
8906           aren't activated yet in the activate_push handler.
8907
8908         * gst/gstbin.c: (bin_bus_handler):
8909           Don't leak element name.
8910
8911 2005-07-18  Andy Wingo  <wingo@pobox.com>
8912
8913         * configure.ac: Use AS_LIBTOOL_TAGS.
8914
8915 2005-07-18  Wim Taymans  <wim@fluendo.com>
8916
8917         * docs/gst/gstreamer.types:
8918         Remove deleted types.
8919
8920 2005-07-18  Wim Taymans  <wim@fluendo.com>
8921
8922         * check/elements/gstfakesrc.c: (GST_START_TEST):
8923         * configure.ac:
8924         * gst/Makefile.am:
8925         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8926         (init_popt_callback):
8927         * gst/gst.h:
8928         * gst/gst_private.h:
8929         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8930         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8931         * gst/gstbin.h:
8932         * gst/gstbus.h:
8933         * gst/gstconfig.h.in:
8934         * gst/gstelement.c: (gst_element_class_init),
8935         (gst_element_set_base_time), (gst_element_get_base_time),
8936         (iterator_fold_with_resync), (gst_element_change_state),
8937         (gst_element_dispose), (gst_element_get_bus):
8938         * gst/gstelement.h:
8939         * gst/gstelementfactory.h:
8940         * gst/gsterror.c: (_gst_core_errors_init):
8941         * gst/gsterror.h:
8942         * gst/gstevent.h:
8943         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8944         * gst/gstindex.c:
8945         * gst/gstinfo.c: (_gst_debug_init):
8946         * gst/gstmessage.c: (_gst_message_copy):
8947         * gst/gstmessage.h:
8948         * gst/gstminiobject.h:
8949         * gst/gstobject.c:
8950         * gst/gstobject.h:
8951         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8952         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8953         * gst/gstpad.h:
8954         * gst/gstparse.h:
8955         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8956         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8957         (gst_pipeline_get_last_stream_time):
8958         * gst/gstpipeline.h:
8959         * gst/gstpluginfeature.h:
8960         * gst/gstquery.h:
8961         * gst/gstscheduler.c:
8962         * gst/gstscheduler.h:
8963         * gst/gststructure.h:
8964         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8965         (gst_task_finalize), (gst_task_func), (gst_task_create),
8966         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8967         (gst_task_stop), (gst_task_pause):
8968         * gst/gsttask.h:
8969         * gst/gsttypefind.h:
8970         * gst/gsttypes.h:
8971         * gst/registries/gstlibxmlregistry.c: (load_feature),
8972         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8973         * gst/registries/gstxmlregistry.c:
8974         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8975         * gst/schedulers/threadscheduler.c:
8976         * libs/gst/control/dparammanager.h:
8977         * tools/gst-inspect.c: (print_element_list),
8978         (print_plugin_features), (print_element_features):
8979         * tools/gst-xmlinspect.c: (print_element_list),
8980         (print_plugin_info), (main):
8981         Removed plugable schedulers.
8982         Removed Scheduler/Manager from elements.
8983         Removed gsttypes.h, rearranged includes.
8984         Removed dependency pad<->element, element<>pipeline, and
8985         various others,  fix includes.
8986         implement gst_pad_get_parent() with gst_object_get_parent()
8987         Make GstTask sefcontained.
8988         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8989         timeout.
8990         Fix endless loop in iterator_fold_with_resync.
8991
8992
8993 2005-07-18  Wim Taymans  <wim@fluendo.com>
8994
8995         * gst/Makefile.am:
8996         * gst/gstarch.h:
8997         Remove old file.
8998
8999 2005-07-18  Wim Taymans  <wim@fluendo.com>
9000
9001         * gst/Makefile.am:
9002         No more cothreads.h
9003
9004 2005-07-18  Wim Taymans  <wim@fluendo.com>
9005
9006         * gst/cothreads.c:
9007         * gst/cothreads.h:
9008         Let's remove these.
9009
9010 2005-07-18  Wim Taymans  <wim@fluendo.com>
9011
9012         * docs/design/part-dynamic.txt:
9013         * docs/design/part-events.txt:
9014         * docs/design/part-seeking.txt:
9015         Some more docs in the works.
9016
9017         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9018         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9019         (gst_base_transform_setcaps), (gst_base_transform_get_size),
9020         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9021         (gst_base_transform_handle_buffer),
9022         (gst_base_transform_sink_activate_push),
9023         (gst_base_transform_src_activate_pull),
9024         (gst_base_transform_set_passthrough),
9025         (gst_base_transform_is_passthrough):
9026         Refcounting fixes.
9027
9028         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9029         Cleanups.
9030
9031         * gst/gstevent.c: (gst_event_finalize):
9032         Set SRC to NULL.
9033
9034         * gst/gstutils.c: (gst_element_unlink),
9035         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9036         (gst_pad_proxy_setcaps):
9037         * gst/gstutils.h:
9038         Add _get_parent_element() to get a pads parent as an element.
9039
9040 2005-07-18  Wim Taymans  <wim@fluendo.com>
9041
9042         * check/gst/gstbin.c: (GST_START_TEST):
9043         Remove bogus test.
9044
9045 2005-07-18  Wim Taymans  <wim@fluendo.com>
9046
9047         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9048         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9049         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9050         (gst_base_sink_event), (gst_base_sink_do_sync),
9051         (gst_base_sink_chain), (gst_base_sink_loop),
9052         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9053         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9054         Refcounting fixes.
9055         Fix logic for returning ASYNC when not prerolled.
9056
9057 2005-07-18  Wim Taymans  <wim@fluendo.com>
9058
9059         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9060         Fix nasty refcount bug.
9061
9062 2005-07-16 Philippe Khalaf <burger@speedy.org>
9063
9064         * gst/elements/gstfdsrc.c:
9065         * gst/elements/gstfdsrc.h:
9066         * gst/elements/gstelements.c:
9067         * gst/elements/Makefile.am:
9068         Ported fdsrc to 0.9.
9069
9070 2005-07-16  Wim Taymans  <wim@fluendo.com>
9071
9072         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9073         (gst_base_sink_do_sync):
9074         Fix compile error.
9075
9076 2005-07-16  Wim Taymans  <wim@fluendo.com>
9077
9078         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9079         (gst_base_sink_event), (gst_base_sink_get_times),
9080         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9081         * gst/base/gstbasesink.h:
9082         Store and use discont values when syncing buffers as described
9083         in design docs.
9084         
9085         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9086         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9087         (gst_base_src_activate_push):
9088         Push discont event when starting.
9089
9090         * gst/elements/gstidentity.c: (gst_identity_transform):
9091         Small cleanups.
9092
9093         * gst/gstbin.c: (gst_bin_change_state):
9094         Small cleanups in base_time  distribution.
9095
9096         * gst/gstelement.c: (gst_element_set_base_time),
9097         (gst_element_get_base_time), (gst_element_change_state):
9098         * gst/gstelement.h:
9099         Added methods for the base_time of the element.
9100         Some MT fixes.
9101
9102         * gst/gstpipeline.c: (gst_pipeline_send_event),
9103         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9104         (gst_pipeline_get_last_stream_time):
9105         * gst/gstpipeline.h:
9106         MT fixes.
9107         Handle seeking as described in design doc, remove stream_time
9108         hack.
9109         Cleanups clock and stream_time selection code. Added accessors
9110         for the stream_time.
9111         
9112
9113 2005-07-16  Andy Wingo  <wingo@pobox.com>
9114
9115         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9116         (#305291).
9117
9118 2005-07-16  Wim Taymans  <wim@fluendo.com>
9119
9120         * check/gst/gstbin.c: (GST_START_TEST):
9121         Make elements silent as the deep_notify refs the
9122         parent, which might make the test fail.
9123
9124         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9125         Don't hold the lock for too long.
9126
9127 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9128
9129         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9130           Don't unref the caps we passed to gst_caps_make_writable() after
9131           passing them. gst_caps_make_writable() will do that for us.
9132
9133 2005-07-15  Andy Wingo  <wingo@pobox.com>
9134
9135         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9136         (#157311).
9137
9138         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9139         own marshalling function for the handoff signal. Properly type the
9140         buffer as a buffer. Fixes some warnings. Should do a more general
9141         solution.
9142         (gst_identity_class_init): Plug into the right marshaller.
9143
9144 2005-07-15  Wim Taymans  <wim@fluendo.com>
9145
9146         * docs/design/part-TODO.txt:
9147         * docs/design/part-clocks.txt:
9148         * docs/design/part-element-sink.txt:
9149         * docs/design/part-events.txt:
9150         * docs/design/part-gstpipeline.txt:
9151         Updated docs, mostly DISCONT related.
9152
9153 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9154
9155         * docs/pwg/building-pads.xml:
9156           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9157
9158 2005-07-15  Andy Wingo  <wingo@pobox.com>
9159
9160         * tools/gst-typefind.c: Update, add copyright block.
9161
9162         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9163         Normalize and truncate caps before fixation.
9164
9165         * gst/gstcaps.h:
9166         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9167         discards all but the first structure from its argument.
9168
9169 2005-07-15  Wim Taymans  <wim@fluendo.com>
9170
9171         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9172         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9173         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9174         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9175         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9176         (gst_base_transform_chain), (gst_base_transform_change_state),
9177         (gst_base_transform_set_passthrough),
9178         (gst_base_transform_is_passthrough):
9179         * gst/base/gstbasetransform.h:
9180         Make passthrough work using the bufferpools.
9181         Changed API a bit, subclasses have to write into a buffer
9182         provided by the base class.
9183         More debug info in nego functions.
9184         
9185         * gst/elements/gstidentity.c: (gst_identity_init),
9186         (gst_identity_transform):
9187         Port to new base class.
9188
9189 2005-07-15  Wim Taymans  <wim@fluendo.com>
9190
9191         * gst/gstmessage.c: (gst_message_new_state_changed):
9192         * tools/gst-launch.c: (event_loop), (main):
9193         Totally dump messages in -launch with the -m option.
9194         Fix message name for State messages,
9195
9196 2005-07-14  Wim Taymans  <wim@fluendo.com>
9197
9198         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9199         Post error messages on errors.
9200
9201 2005-07-14  Wim Taymans  <wim@fluendo.com>
9202
9203         * gst/gstcaps.c: (gst_caps_do_simplify):
9204         Remove debug info.
9205
9206         * gst/gsterror.h:
9207         Define error for stream stopped.
9208
9209         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9210         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9211         Do proper return values.
9212
9213         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9214         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9215         (gst_pad_get_range):
9216         Better return values.
9217
9218         * gst/gstpad.h:
9219         Reorganise return values, add macro to check for fatal errors.
9220
9221         * gst/gstqueue.c: (gst_queue_chain):
9222         Return proper GstFlowReturn values,
9223
9224 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9225
9226         * docs/gst/gstreamer-sections.txt:
9227         * docs/gst/gstreamer.types:
9228         * docs/gst/tmpl/gst.sgml:
9229         * docs/gst/tmpl/gstbasesink.sgml:
9230         * docs/gst/tmpl/gstbasesrc.sgml:
9231         * docs/gst/tmpl/gstbasetransform.sgml:
9232         * docs/gst/tmpl/gstbin.sgml:
9233         * docs/gst/tmpl/gstbuffer.sgml:
9234         * docs/gst/tmpl/gstcaps.sgml:
9235         * docs/gst/tmpl/gstclock.sgml:
9236         * docs/gst/tmpl/gstcompat.sgml:
9237         * docs/gst/tmpl/gstconfig.sgml:
9238         * docs/gst/tmpl/gstelement.sgml:
9239         * docs/gst/tmpl/gstelementdetails.sgml:
9240         * docs/gst/tmpl/gstelementfactory.sgml:
9241         * docs/gst/tmpl/gstenumtypes.sgml:
9242         * docs/gst/tmpl/gsterror.sgml:
9243         * docs/gst/tmpl/gstevent.sgml:
9244         * docs/gst/tmpl/gstfakesink.sgml:
9245         * docs/gst/tmpl/gstfakesrc.sgml:
9246         * docs/gst/tmpl/gstfilesink.sgml:
9247         * docs/gst/tmpl/gstfilesrc.sgml:
9248         * docs/gst/tmpl/gstfilter.sgml:
9249         * docs/gst/tmpl/gstformat.sgml:
9250         * docs/gst/tmpl/gstghostpad.sgml:
9251         * docs/gst/tmpl/gstimplementsinterface.sgml:
9252         * docs/gst/tmpl/gstindex.sgml:
9253         * docs/gst/tmpl/gstindexfactory.sgml:
9254         * docs/gst/tmpl/gstinfo.sgml:
9255         * docs/gst/tmpl/gstiterator.sgml:
9256         * docs/gst/tmpl/gstmacros.sgml:
9257         * docs/gst/tmpl/gstmemchunk.sgml:
9258         * docs/gst/tmpl/gstminiobject.sgml:
9259         * docs/gst/tmpl/gstobject.sgml:
9260         * docs/gst/tmpl/gstpad.sgml:
9261         * docs/gst/tmpl/gstpadtemplate.sgml:
9262         * docs/gst/tmpl/gstparse.sgml:
9263         * docs/gst/tmpl/gstpipeline.sgml:
9264         * docs/gst/tmpl/gstplugin.sgml:
9265         * docs/gst/tmpl/gstpluginfeature.sgml:
9266         * docs/gst/tmpl/gstquery.sgml:
9267         * docs/gst/tmpl/gstqueue.sgml:
9268         * docs/gst/tmpl/gstregistry.sgml:
9269         * docs/gst/tmpl/gstregistrypool.sgml:
9270         * docs/gst/tmpl/gstscheduler.sgml:
9271         * docs/gst/tmpl/gstschedulerfactory.sgml:
9272         * docs/gst/tmpl/gststructure.sgml:
9273         * docs/gst/tmpl/gstsystemclock.sgml:
9274         * docs/gst/tmpl/gsttaglist.sgml:
9275         * docs/gst/tmpl/gsttagsetter.sgml:
9276         * docs/gst/tmpl/gsttrace.sgml:
9277         * docs/gst/tmpl/gsttrashstack.sgml:
9278         * docs/gst/tmpl/gsttypefind.sgml:
9279         * docs/gst/tmpl/gsttypefindfactory.sgml:
9280         * docs/gst/tmpl/gsttypes.sgml:
9281         * docs/gst/tmpl/gsturihandler.sgml:
9282         * docs/gst/tmpl/gsturitype.sgml:
9283         * docs/gst/tmpl/gstutils.sgml:
9284         * docs/gst/tmpl/gstvalue.sgml:
9285         * docs/gst/tmpl/gstversion.sgml:
9286         * docs/gst/tmpl/gstxml.sgml:
9287         * docs/libs/tmpl/gstcontrol.sgml:
9288         * docs/libs/tmpl/gstdataprotocol.sgml:
9289         * docs/libs/tmpl/gstdparam.sgml:
9290         * docs/libs/tmpl/gstdplinint.sgml:
9291         * docs/libs/tmpl/gstdpman.sgml:
9292         * docs/libs/tmpl/gstdpsmooth.sgml:
9293         * docs/libs/tmpl/gstgetbits.sgml:
9294         * docs/libs/tmpl/gstunitconvert.sgml:
9295         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9296         (gst_push_src_base_init), (gst_push_src_class_init),
9297         (gst_push_src_init), (gst_push_src_create):
9298         * gst/base/gstpushsrc.h:
9299         * gst/elements/gstelements.c:
9300         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9301         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9302         (gst_fake_sink_init), (gst_fake_sink_set_property),
9303         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9304         (gst_fake_sink_event), (gst_fake_sink_preroll),
9305         (gst_fake_sink_render), (gst_fake_sink_change_state):
9306         * gst/elements/gstfakesink.h:
9307         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9308         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9309         (gst_fake_src_base_init), (gst_fake_src_class_init),
9310         (gst_fake_src_init), (gst_fake_src_event_handler),
9311         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9312         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9313         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9314         (gst_fake_src_create_buffer), (gst_fake_src_create),
9315         (gst_fake_src_start), (gst_fake_src_stop):
9316         * gst/elements/gstfakesrc.h:
9317         * gst/elements/gstfilesink.c: (_do_init),
9318         (gst_file_sink_base_init), (gst_file_sink_class_init),
9319         (gst_file_sink_init), (gst_file_sink_dispose),
9320         (gst_file_sink_set_location), (gst_file_sink_set_property),
9321         (gst_file_sink_get_property), (gst_file_sink_open_file),
9322         (gst_file_sink_close_file), (gst_file_sink_query),
9323         (gst_file_sink_event), (gst_file_sink_render),
9324         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9325         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9326         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9327         * gst/elements/gstfilesink.h:
9328         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9329         (gst_file_src_class_init), (gst_file_src_init),
9330         (gst_file_src_finalize), (gst_file_src_set_location),
9331         (gst_file_src_set_property), (gst_file_src_get_property),
9332         (gst_file_src_map_region), (gst_file_src_map_small_region),
9333         (gst_file_src_create_mmap), (gst_file_src_create_read),
9334         (gst_file_src_create), (gst_file_src_is_seekable),
9335         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9336         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9337         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9338         (gst_file_src_uri_handler_init):
9339         * gst/elements/gstfilesrc.h:
9340           more autistic cleanliness in functions/names/defines
9341
9342 2005-07-13  Andy Wingo  <wingo@pobox.com>
9343
9344         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9345         source couldn't negotiate.
9346
9347         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9348         connections again.
9349
9350         * gst/gstutils.h:
9351         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9352         function. I am channeling Hades. Put your boots on suckers!!!
9353
9354 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9355
9356         * testsuite/caps/Makefile.am:
9357         * testsuite/caps/value_compare.c:
9358         * testsuite/caps/value_intersect.c:
9359         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9360           move two testsuite apps over to the check dir
9361
9362 2005-07-12  Wim Taymans  <wim@fluendo.com>
9363
9364         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9365         Added more debug info in the negotiate process.
9366
9367         * gst/gstmessage.h:
9368         Prepare for segment playback.
9369
9370         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9371         Better debugging.
9372
9373         * gst/gstutils.c:
9374         Some more docs.
9375
9376         * tools/gst-launch.c: (main):
9377         NULL pipeline on errors.
9378
9379 2005-07-12  Andy Wingo  <wingo@pobox.com>
9380
9381         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9382         not it comes from a malloc region. Make sure our copy gets freed.
9383
9384 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9385
9386         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9387         * check/gst/gstmessage.c: (GST_START_TEST):
9388         * check/gst/gststructure.c: (GST_START_TEST),
9389         (gst_structure_suite), (main):
9390           more testing
9391         * gst/gstelement.c: (gst_element_message_full):
9392           clean up GError and debug string now that they get copied
9393         * gst/gstmessage.c: (gst_message_new_error),
9394         (gst_message_new_warning), (gst_message_parse_error),
9395         (gst_message_parse_warning):
9396           use GST_TYPE_G_ERROR for structure_new, and take copies of
9397           arguments, so that we don't mess up refcounting
9398
9399 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9400
9401         * check/Makefile.am:
9402           add per-test valgrind targets
9403         * check/gst-libs/gdp.c: (GST_START_TEST),
9404         (gst_data_protocol_suite), (main):
9405           clean up
9406
9407 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9408
9409         * check/Makefile.am:
9410           instate more valgrindable tests
9411         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9412         (GST_START_TEST), (fakesrc_suite):
9413         * check/gst/gstpad.c: (GST_START_TEST):
9414         * check/gst/gststructure.c: (GST_START_TEST):
9415           fix test leaks
9416         * docs/gst/tmpl/gstminiobject.sgml:
9417         * gst/gstpad.c: (gst_pad_finalize):
9418           fix the static mutex leak
9419
9420 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9421
9422         * check/Makefile.am:
9423           add two more tests for valgrinding
9424         * check/gst/gstvalue.c: (GST_START_TEST):
9425           test refcount of deserialized buffer, found a leak
9426         * docs/gst/gstreamer-docs.sgml:
9427         * docs/gst/gstreamer-sections.txt:
9428         * docs/gst/gstreamer.types:
9429         * docs/gst/tmpl/gstminiobject.sgml:
9430           add miniobject to docs
9431         * gst/gstminiobject.c:
9432           add some docs
9433         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9434         (gst_string_unwrap):
9435           fix a hard-to-find invalid write for one of the tests
9436           fix a leak for deserialized buffers
9437
9438 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9439
9440         * docs/pwg/advanced-events.xml:
9441         * docs/pwg/advanced-request.xml:
9442         * docs/pwg/advanced-scheduling.xml:
9443         * docs/pwg/appendix-porting.xml:
9444         * docs/pwg/building-boiler.xml:
9445         * docs/pwg/intro-preface.xml:
9446         * docs/pwg/other-ntoone.xml:
9447           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9448           of example code and explanation for pad activation, loop() and
9449           getrange() functions and a bit more. Remove old comments pointing
9450           to loop-functions.
9451         * examples/pwg/Makefile.am:
9452           Add loop/getrange examples.
9453
9454 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9455
9456         * configure.ac:
9457           check for valgrind binary + some fixes
9458         * check/gst.supp:
9459           valgrind suppressions for the tests
9460         * check/Makefile.am:
9461           add a valgrind: target that valgrinds the unit tests
9462         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9463         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9464         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9465         * check/gst/gstghostpad.c:
9466           added some cleanup
9467         * check/gst/gstdata.c:
9468           removed
9469         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9470         (thread_unref), (gst_mini_object_suite), (main):
9471           added
9472         * gst/gst.c: (gst_deinit):
9473         * gst/gst.h:
9474           add a method to clean up.
9475         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9476         (gst_system_clock_obtain):
9477           allow for disposing the system clock.
9478         * tools/gst-launch.c: (main):
9479           deinit
9480
9481 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9482
9483         * docs/gst/tmpl/gstbasesrc.sgml:
9484         * docs/gst/tmpl/gstfakesrc.sgml:
9485         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9486         (gst_base_src_init), (gst_base_src_set_property),
9487         (gst_base_src_get_property), (gst_base_src_get_range),
9488         (gst_base_src_start):
9489         * gst/base/gstbasesrc.h:
9490           add num-buffers property
9491         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9492         (gst_fakesrc_init), (gst_fakesrc_set_property),
9493         (gst_fakesrc_get_property), (gst_fakesrc_create),
9494         (gst_fakesrc_start):
9495           remove num-buffers property
9496
9497 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9498
9499         * docs/gst/gstreamer-sections.txt:
9500         * docs/gst/tmpl/gstbasesink.sgml:
9501         * docs/gst/tmpl/gstbasesrc.sgml:
9502         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9503         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9504         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9505         (gst_base_sink_set_property), (gst_base_sink_get_property),
9506         (gst_base_sink_handle_object), (gst_base_sink_event),
9507         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9508         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9509         (gst_base_sink_loop), (gst_base_sink_deactivate),
9510         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9511         (gst_base_sink_change_state):
9512         * gst/base/gstbasesink.h:
9513         * gst/base/gstbasesrc.h:
9514         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9515         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9516         (gst_filesink_init):
9517           more macro splitting
9518
9519 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9520
9521         * gst/gstelement.c: (gst_element_get_bus):
9522           add debug
9523         * tools/gst-launch.c: (check_intr), (event_loop):
9524           fix bus leaks
9525
9526 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9527
9528         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9529           fix a caps leak
9530
9531 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9532
9533         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9534         (gst_base_src_finalize):
9535           add finalize method and clean up properly
9536         * gst/gstpipeline.c: (gst_pipeline_dispose):
9537           add debug
9538
9539 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9540
9541         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9542         (gst_bin_suite):
9543           add more things to check
9544         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9545         * gst/gstelement.c:
9546           more debug
9547
9548 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9549
9550         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9551         (GST_START_TEST), (fakesrc_suite):
9552         * check/gst-libs/gdp.c: (GST_START_TEST):
9553         * check/gst/gst.c: (GST_START_TEST):
9554         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9555         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9556         * check/gst/gstbus.c: (GST_START_TEST):
9557         * check/gst/gstcaps.c: (GST_START_TEST):
9558         * check/gst/gstdata.c: (GST_START_TEST):
9559         * check/gst/gstelement.c: (GST_START_TEST):
9560         * check/gst/gstghostpad.c: (GST_START_TEST):
9561         * check/gst/gstiterator.c: (GST_START_TEST):
9562         * check/gst/gstmessage.c: (GST_START_TEST):
9563         * check/gst/gstobject.c: (GST_START_TEST):
9564         * check/gst/gstpad.c: (GST_START_TEST):
9565         * check/gst/gststructure.c: (GST_START_TEST):
9566         * check/gst/gstsystemclock.c: (GST_START_TEST),
9567         (gst_systemclock_suite):
9568         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9569         * check/gst/gstvalue.c: (GST_START_TEST):
9570         * check/pipelines/cleanup.c: (GST_START_TEST):
9571         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9572         * check/states/sinks.c: (GST_START_TEST):
9573         * check/gstcheck.c: (gst_check_init):
9574         * check/gstcheck.h:
9575           add debugging category
9576           use GST_START_TEST now, so we add a debug line
9577
9578 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9579
9580         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9581           add test for state change message on a bin
9582         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9583           add another test
9584         * gst/gstbin.c: (gst_bin_init):
9585         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9586         * gst/gstelement.c: (gst_element_post_message),
9587         (gst_element_set_state):
9588         * gst/gstelementfactory.c: (gst_element_factory_create):
9589         * gst/gstmessage.c: (gst_message_new):
9590         * gst/gstscheduler.c:
9591           various debugging additions and cleanups
9592
9593 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9594
9595         * check/Makefile.am:
9596         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9597         (main):
9598           adding tests for elements
9599         * gst/gstelement.c: (gst_element_dispose):
9600
9601 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9602
9603         * gst/registries/gstlibxmlregistry.c: (load_feature):
9604           plug more leaks.  A simple gst_init() now is leakfree, yay.
9605
9606 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9607
9608         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9609         (gst_xml_registry_load):
9610           plug another memleak
9611
9612 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9613
9614         * configure.ac:
9615           use GST_SET_ERROR_CFLAGS
9616         * docs/faq/cvs.xml:
9617           change to ERROR_CFLAGS
9618
9619 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9620
9621         * configure.ac:
9622           make GST_ERROR_CFLAGS overridable and re-enable Werror
9623         * docs/faq/cvs.xml:
9624           add a note about error CFLAGS
9625         * docs/gst/tmpl/gstfakesrc.sgml:
9626         * gst/elements/gstfakesrc.c:
9627           comment out some unused code
9628         * gst/gst.c: (split_and_iterate):
9629         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9630         (load_feature):
9631           plug some memleaks
9632
9633 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9634
9635         * common/Makefile.am:
9636         * common/gtk-doc.mak:
9637         * docs/gst/Makefile.am:
9638           factor out gtk-doc.mak
9639
9640 2005-07-07  Wim Taymans  <wim@fluendo.com>
9641
9642         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9643         (gst_thread_scheduler_dispose):
9644         Unlock the STREAM_LOCK completely.
9645
9646 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9647
9648         * check/Makefile.am:
9649         * check/elements/.cvsignore:
9650         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9651         (START_TEST), (fakesrc_suite), (main):
9652         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9653         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9654         (gst_fakesrc_create), (gst_fakesrc_start):
9655         * gst/elements/gstfakesrc.h:
9656           adding a first element test
9657
9658 2005-07-07  Andy Wingo  <wingo@pobox.com>
9659
9660         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9661         debug message.
9662
9663 2005-07-07  Wim Taymans  <wim@fluendo.com>
9664
9665         * gst/gstquery.c:
9666         * gst/gstquery.h:
9667         Remove old types
9668
9669 2005-07-07  Wim Taymans  <wim@fluendo.com>
9670
9671         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9672         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9673         Allow subclasses to implement their own negotiation.
9674
9675 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9676
9677         * docs/design/part-gstbin.txt:
9678         * docs/design/part-gstpipeline.txt:
9679           Update design notes to reflect the movement of
9680           responsibility for bus handling from GstPipeline to
9681           GstBin
9682
9683 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9684
9685         * configure.ac:
9686           Remove unnecessary queue2/3/4 examples.
9687
9688 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9689
9690         * examples/Makefile.am:
9691         * examples/helloworld/helloworld.c: (event_loop), (main):
9692         * examples/queue/queue.c: (event_loop), (main):
9693         * examples/queue2/queue2.c: (main):
9694           Update a couple of the examples to work again.
9695
9696         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9697         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9698          Spelling corrections and extra debug.
9699         
9700         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9701         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9702         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9703         * gst/gstbin.h:
9704         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9705         (gst_pipeline_change_state):
9706         * gst/gstpipeline.h:
9707           Move the bus handler for children to the GstBin, and create a
9708           separate bus for receiving messages from children to the one the
9709           bus sends 'upwards' on.
9710
9711 2005-07-06  Wim Taymans  <wim@fluendo.com>
9712
9713         * gst/base/README:
9714         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9715         (gst_base_sink_handle_object), (gst_base_sink_loop),
9716         (gst_base_sink_change_state):
9717         * gst/base/gstbasesink.h:
9718         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9719         (gst_base_src_init), (gst_base_src_setcaps),
9720         (gst_base_src_getcaps), (gst_base_src_loop),
9721         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9722         (gst_base_src_start), (gst_base_src_change_state):
9723         * gst/base/gstbasesrc.h:
9724         Make basesrc negotiate.
9725         Handle the case where preroll fails in basesink.
9726         Update README.
9727
9728 2005-07-06  Wim Taymans  <wim@fluendo.com>
9729
9730         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9731         Implement the fixate function.
9732         Clean up acceptcaps.
9733
9734 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9735
9736         * docs/pwg/building-filterfactory.xml:
9737         * docs/pwg/pwg.xml:
9738           Remove never-written filter-factory chapter; I'll add the various
9739           base classes to part 4 ("other element types") later on.
9740
9741 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9742
9743         * docs/pwg/advanced-negotiation.xml:
9744         * docs/pwg/building-boiler.xml:
9745         * docs/pwg/building-pads.xml:
9746         * docs/pwg/pwg.xml:
9747         * examples/pwg/Makefile.am:
9748           Add a chapter on caps negotiation, simplify the original code
9749           samples a bit w.r.t. caps negotiation, add link to the advanced
9750           section. Add a bunch of examples showing different use cases of
9751           different types of caps negotiation. Upstream renegotiation isn't
9752           fully documented yet since nobody knows how that works.
9753
9754 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9755
9756         * check/gst/gstpad.c:
9757         * check/gstcheck.c:
9758         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9759           if pad has no parent, return NULL as list of internal links
9760
9761 2005-07-05  Andy Wingo  <wingo@pobox.com>
9762
9763         * gst/elements/gstfilesrc.c:
9764         * gst/elements/gstfakesrc.c: 
9765         * gst/base/gstpushsrc.c:
9766         * gst/base/gstbasesrc.h: 
9767         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9768         
9769 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9770
9771         * Makefile.am:
9772           better report generation target (lcov needs a patch)
9773
9774 2005-07-05  Andy Wingo  <wingo@pobox.com>
9775
9776         * gst/elements, testsuite: Null if we got it...
9777
9778 2005-07-05  Wim Taymans  <wim@fluendo.com>
9779
9780         * configure.ac:
9781         * libs/gst/dataprotocol/Makefile.am:
9782         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9783         * libs/gst/dataprotocol/dataprotocol.h:
9784         * pkgconfig/Makefile.am:
9785         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9786         * pkgconfig/gstreamer-dataprotocol.pc.in:
9787         Ported dataprotol to 0.9. 
9788         Added pkgconfig files.
9789
9790 2005-07-05  Andy Wingo  <wingo@pobox.com>
9791
9792         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9793         Default to returning TRUE for the case when tranform_caps returns
9794         a fixed caps, like for identity or volume.
9795
9796         * check/gst/gstbus.c (pound_bus_with_messages): 
9797         * check/gst/gstmessage.c (START_TEST): 
9798         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9799         message API change.
9800
9801         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9802         logic weaks here: always run transform_caps, trying passthrough
9803         operation only if the original caps intersects with the transform.
9804
9805         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9806         source and sink caps.
9807
9808         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9809         Intersect the peer caps with the pad template before going into
9810         transform_caps.
9811         (gst_base_transform_transform_caps): More debugging.
9812
9813         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9814         src argument.
9815
9816 2005-07-04  Edward Hervey  <edward@fluendo.com>
9817
9818         * gst/gstutils.c:
9819         * gst/gstutils.h:
9820         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9821         in bindings.
9822
9823 2005-07-04  Andy Wingo  <wingo@pobox.com>
9824
9825         * check/gst/gstpad.c: Only set explicit caps on pads.
9826
9827 2005-07-01  Andy Wingo  <wingo@pobox.com>
9828
9829         * tests/network-clock.scm: Commentary update.
9830
9831         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9832         Didn't really make sense, not implementable with basetransform,
9833         etc.
9834         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9835         attempt at implementing the sync property, needs an unlock method.
9836
9837         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9838         New func, by default returns the same caps (the identity
9839         transformation).
9840         (gst_base_transform_getcaps): Uses transform_caps to return
9841         something sensible.
9842         (gst_base_transform_setcaps): Complicated logic to get caps on
9843         both pads, even if they are different, and to call set_caps once
9844         for every time both pads get their caps set.
9845         (gst_base_transform_handle_buffer): Give the ref to the transform
9846         function. Allows in-place modification of the buffer.
9847
9848         * gst/base/gstbasetransform.h (transform_caps): New class method.
9849         Given caps on one side, what can I do on the other.
9850         (set_caps): Take two caps, one for each side of the element.
9851
9852         * gst/gstpad.h:
9853         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9854         caps in place. This is safe because we can check the mutability of
9855         the caps, and a good idea because fixate functions are just called
9856         as a matter of last resort. (Not actually implemented.)
9857         (gst_pad_set_caps): If the caps we're setting is actually the same
9858         as the existing pad caps, just update the pointer without calling
9859         setcaps. Assert that caps is either NULL or fixed, as per the
9860         docs.
9861
9862         * gst/gstghostpad.c: Update for fixate changes.
9863
9864 2005-07-02  Andy Wingo  <wingo@pobox.com>
9865
9866         * gst/gstcaps.c:
9867         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9868         two refcounts makes it immutable, which is enough. Doc more.
9869
9870 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9871
9872         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9873           Put the mini_object into GValue as a mini_object,
9874           not a gpointer, since that's how we declared
9875           the signal.
9876
9877 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9878
9879         * examples/pwg/Makefile.am:
9880           Fix buildbot again.
9881
9882 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9883
9884         * docs/pwg/building-testapp.xml:
9885           Add extra check.
9886         * examples/pwg/Makefile.am:
9887           Fix buildbot.
9888
9889 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9890
9891         * configure.ac:
9892         * examples/Makefile.am:
9893         * examples/pwg/Makefile.am:
9894         * examples/pwg/extract.pl:
9895           Enable building the PWG examples.
9896         * docs/pwg/advanced-interfaces.xml:
9897           Add URI interface stub.
9898         * docs/pwg/advanced-types.xml:
9899         * docs/pwg/other-autoplugger.xml:
9900         * docs/pwg/appendix-porting.xml:
9901         * docs/pwg/pwg.xml:
9902           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9903         * docs/pwg/building-boiler.xml:
9904         * docs/pwg/building-chainfn.xml:
9905         * docs/pwg/building-pads.xml:
9906         * docs/pwg/building-props.xml:
9907         * docs/pwg/building-state.xml:
9908         * docs/pwg/building-testapp.xml:
9909           Update the building-*.xml parts for 0.9 changes. All examples
9910           code blocks compile in examples/pwg/*.
9911
9912 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9913
9914         * docs/manual/advanced-autoplugging.xml:
9915         * docs/manual/appendix-checklist.xml:
9916         * docs/manual/appendix-integration.xml:
9917         * docs/manual/highlevel-components.xml:
9918           Fix playbin/decodebin examples, update docs a bit, mention bus
9919           instead of signals in various places, mention kmplayer and
9920           kaffeine since they have a working GStreamer backend in the KDE
9921           section.
9922
9923 2005-06-30  Wim Taymans  <wim@fluendo.com>
9924
9925         * CHANGES-0.9:
9926         * docs/design/draft-ghostpads.txt:
9927         * docs/design/draft-push-pull.txt:
9928         * docs/design/draft-query.txt:
9929         * docs/design/part-TODO.txt:
9930         * docs/design/part-query.txt:
9931         Added CHANGES-0.9 doc, updated status of other docs.
9932         
9933         * gst/gstquery.h:
9934         Remove "hmm" macro
9935
9936 2005-06-30  Wim Taymans  <wim@fluendo.com>
9937
9938         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9939         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9940         (gst_base_sink_change_state):
9941         * gst/base/gstbasesink.h:
9942         Some tweaks, only EOS and a buffer complete a preroll.
9943
9944 2005-06-30  Andy Wingo  <wingo@pobox.com>
9945
9946         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9947         activate_push down to the internal pad as well.
9948
9949 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9950
9951         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9952
9953         * gst/gsttaginterface.c:
9954           Some documentation fixes (#307394 and #307397).
9955
9956 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9957
9958         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9959
9960         * gst/gstvalue.c: (gst_value_intersect_list):
9961           Fix memleak (#309125).
9962
9963 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9964
9965         * docs/manual/advanced-dataaccess.xml:
9966           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9967         * docs/manual/basics-pads.xml:
9968           Add reference for filtered caps to above chapter.
9969
9970 2005-06-30  Wim Taymans  <wim@fluendo.com>
9971
9972         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9973         (gst_bin_change_state):
9974         Probes are gone.
9975         Lame attempt at making the state change function a bit
9976         more readable.
9977
9978 2005-06-30  Wim Taymans  <wim@fluendo.com>
9979
9980         * docs/design/part-clocks.txt:
9981         * docs/design/part-element-sink.txt:
9982         * docs/design/part-events.txt:
9983         * docs/design/part-preroll.txt:
9984         * docs/design/part-states.txt:
9985         Some more tweeks and additions to the docs.
9986
9987 2005-06-30  Wim Taymans  <wim@fluendo.com>
9988
9989         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9990         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9991         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9992         (gst_pad_check_pull_range), (gst_pad_get_range),
9993         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9994         * gst/gstpad.h:
9995         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9996         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9997         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9998         (gst_pad_remove_buffer_probe):
9999         Removed atomic operations, use existing LOCK.
10000         Move exception handling out of main code path.
10001
10002 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10003
10004         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10005         (silly_return_true_function), (gst_pad_class_init),
10006         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10007         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10008         (gst_pad_send_event):
10009           Fix accumulator, add default value by using _emitv() instead
10010           of _emit() for signal emission.
10011
10012 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10013
10014         * docs/manual/advanced-dataaccess.xml:
10015         * examples/manual/Makefile.am:
10016           Add probe example.
10017         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10018           Make work (??).
10019
10020 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
10021
10022         * gst/elements/gstfilesink.c: (gst_filesink_render):
10023           Simplify code so that we don't have to handle short
10024           writes and return GST_FLOW_ERROR if an error occured.
10025
10026 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10027
10028         * docs/gst/gstreamer-docs.sgml:
10029           Remove probes more.
10030
10031 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10032
10033         * docs/gst/gstreamer-sections.txt:
10034         * docs/gst/tmpl/gstpad.sgml:
10035         * docs/gst/tmpl/gstprobe.sgml:
10036         * gst/Makefile.am:
10037         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10038         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10039         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10040         (gst_pad_push_event), (gst_pad_send_event):
10041         * gst/gstpad.h:
10042         * gst/gstutils.c: (gst_pad_add_data_probe),
10043         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10044         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10045         (gst_pad_remove_buffer_probe):
10046         * gst/gstutils.h:
10047           Remove old probes, add new g-signal-based probes and some utility
10048           functions.
10049
10050 2005-06-29  Edward Hervey  <edward@fluendo.com>
10051
10052         * gst/gstelementfactory.c:
10053         * gst/gstutils.h:
10054         * gst/gstutils.c:
10055         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10056         the definition to the header file.
10057
10058 2005-06-29  Andy Wingo  <wingo@pobox.com>
10059
10060         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10061         plugins from the source directory.
10062
10063 2005-06-29  Wim Taymans  <wim@fluendo.com>
10064
10065         * docs/gst/tmpl/gstbuffer.sgml:
10066         * docs/gst/tmpl/gstclock.sgml:
10067         Some fixings for blantently wrong text.
10068
10069 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10070
10071         * check/Makefile.am:
10072         * gst/gst.c: (add_path_func), (init_pre):
10073         * gst/gstregistry.c: (gst_registry_add_path):
10074           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10075           only scan the GST_PLUGIN_PATH locations, and not add
10076           system locations
10077
10078 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10079
10080         * docs/gst/gstreamer-sections.txt:
10081         * docs/gst/tmpl/gstbasesrc.sgml:
10082         * gst/gstelement.c:
10083         * gst/gstelement.h:
10084         * gst/gstevent.c:
10085         * gst/gstutils.c:
10086           doc fixes
10087
10088 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10089
10090         * docs/manual/advanced-autoplugging.xml:
10091           Fix autoplugging example.
10092
10093 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10094
10095         * docs/manual/advanced-autoplugging.xml:
10096         * docs/manual/mime-world.fig:
10097           Try to get autoplugging working, fix type detection. Fix text
10098           in hello-world image.
10099
10100 2005-06-29  Wim Taymans  <wim@fluendo.com>
10101
10102         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10103         (gst_base_sink_change_state):
10104         Small debug line.
10105
10106         * gst/gstclock.h:
10107         map SIGNAL and BROADCAST to the right function.
10108
10109         * gst/gstobject.h:
10110         Remove redundant braces.
10111
10112         * gst/gstpad.c: (gst_pad_set_caps):
10113         Don't call setcaps function when reseting caps to NULL.
10114
10115         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10116         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10117         (gst_system_clock_id_unschedule):
10118         Use BROADCAST as this is what we do.
10119
10120 2005-06-29  Wim Taymans  <wim@fluendo.com>
10121
10122         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10123         We are actually prerolling before commiting the state
10124         change. 
10125
10126 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10127
10128         * docs/manual/advanced-clocks.xml:
10129         * docs/manual/advanced-interfaces.xml:
10130         * docs/manual/advanced-metadata.xml:
10131         * docs/manual/advanced-position.xml:
10132         * docs/manual/advanced-schedulers.xml:
10133         * docs/manual/advanced-threads.xml:
10134         * docs/manual/appendix-porting.xml:
10135         * docs/manual/basics-bins.xml:
10136         * docs/manual/basics-bus.xml:
10137         * docs/manual/basics-elements.xml:
10138         * docs/manual/basics-helloworld.xml:
10139         * docs/manual/basics-pads.xml:
10140         * docs/manual/highlevel-components.xml:
10141         * docs/manual/manual.xml:
10142         * docs/manual/thread.fig:
10143           Update (until threads/scheduling) Application Development Manual;
10144           remove GstThread, add GstBus, add simple porting checklist, add
10145           documentation for tag writing, clocks, make all examples until this
10146           part compile and run.
10147         * examples/manual/Makefile.am:
10148           Update from changes to Application Development Manual; add bus
10149           example, remove thread example.
10150
10151 2005-06-28  Wim Taymans  <wim@fluendo.com>
10152
10153         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10154         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10155         (gst_bus_source_dispatch):
10156         Add debugging messages.
10157         Make internal methods static.
10158         Handle the case where the bus is flushed in the handler.
10159         
10160         * gst/gstelement.c: (gst_element_get_bus):
10161         Fix refcount in _get_bus();
10162
10163         * gst/gstpipeline.c: (gst_pipeline_change_state),
10164         (gst_pipeline_get_clock_func):
10165         Clock refcounting fixes.
10166         Handle the case where preroll timed out more gracefully.
10167         
10168         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10169         Clean up the internal thread in dispose. This is needed
10170         for subclasses that actually get disposed.
10171         
10172         * gst/schedulers/threadscheduler.c:
10173         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10174         (gst_thread_scheduler_dispose):
10175         Free thread pool in dispose.
10176
10177 2005-06-28  Andy Wingo  <wingo@pobox.com>
10178
10179         * tests/network-clock-utils.scm (debug, print-event): New utils.
10180
10181         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10182         (*packet-loss*): Unified loss probability.
10183         (network-time): Report out-of-band events.
10184
10185         * tests/plot-data: Add support for out-of-band events. Hack it
10186         into this script instead of passing it down the pipe; should fix
10187         this later.
10188
10189 2005-06-28  Wim Taymans  <wim@fluendo.com>
10190
10191         * docs/gst/gstreamer.types:
10192         * docs/gst/tmpl/gstbasesrc.sgml:
10193         * docs/gst/tmpl/gstpad.sgml:
10194         Docs fixes.
10195
10196 2005-06-28  Wim Taymans  <wim@fluendo.com>
10197
10198         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10199         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10200         (gst_proxy_pad_do_fixatecaps):
10201         Correctly proxy the check_pull_range function.
10202
10203 2005-06-28  Andy Wingo  <wingo@pobox.com>
10204
10205         * tests/network-clock.scm: Removed need for slib.
10206         
10207 2005-06-28  Wim Taymans  <wim@fluendo.com>
10208
10209         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10210         (gst_basesink_preroll_queue_flush):
10211         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10212         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10213         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10214         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10215         (gst_proxy_pad_set_property):
10216         * gst/gstpad.c:
10217         * gst/gstpad.h:
10218         * gst/gstqueue.c: (gst_queue_init):
10219         The deprecated pad loop function is removed now.
10220
10221 2005-06-28  Andy Wingo  <wingo@pobox.com>
10222
10223         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10224         New parameters, simulate network packet loss.
10225
10226         * tests/network-clock-utils.scm: Initialize the RNG.
10227
10228 2005-06-28  Wim Taymans  <wim@fluendo.com>
10229
10230         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10231         (gst_basesink_event), (gst_basesink_deactivate):
10232         Flushing the preroll queue always needs to unlock the waiters.
10233
10234 2005-06-28  Edward Hervey  <edward@fluendo.com>
10235
10236         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10237         Wheen a seek was successful on a pipeline, set the stream_time to the
10238         seek offset in order to have a synchronized stream_time.
10239
10240 2005-06-28  Wim Taymans  <wim@fluendo.com>
10241
10242         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10243         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10244         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10245         (gst_proxy_pad_do_fixatecaps):
10246         Call wrapper function instead of just calling the function
10247         pointers. This takes care of any locking and whatmore.
10248
10249 2005-06-28  Wim Taymans  <wim@fluendo.com>
10250
10251         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10252         (gst_pad_pull_range):
10253         * gst/gstpad.h:
10254         CONNECTED -> LINKED.
10255
10256 2005-06-28  Andy Wingo  <wingo@pobox.com>
10257
10258         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10259         source-munging commit!!!
10260
10261         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10262         (gst_object_sink): Take gpointer arguments, not GstObject --
10263         avoids casts. Like GLib.
10264
10265         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10266         activate.
10267
10268 2005-06-27  Andy Wingo  <wingo@pobox.com>
10269
10270         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10271         remaining buffer.
10272
10273         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10274         returns a sorted copy of the trace list.
10275         (gst_alloc_trace_print_live): New API, only prints traces with
10276         live objects. Sort the list.
10277         (gst_alloc_trace_print_all): Sort the list.
10278         (gst_alloc_trace_print): Align columns.
10279
10280         * gst/elements/gstttypefindelement.c:
10281         * gst/elements/gsttee.c:
10282         * gst/base/gstbasesrc.c:
10283         * gst/base/gstbasesink.c:
10284         * gst/base/gstbasetransform.c:
10285         * gst/gstqueue.c: Adapt for pad activation changes.
10286
10287         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10288         sched.
10289         (gst_pipeline_dispose): Drop ref on sched.
10290
10291         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10292         (gst_pad_activate_default): Push mode by default.
10293         (pre_activate_switch, post_activate_switch): New stubs, things to
10294         do before and after switching activation modes on pads.
10295         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10296         the pad's activate function to choose which mode to activate.
10297         Shortcut on deactivation and call the right function directly.
10298         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10299         mode.
10300         (gst_pad_activate_push): New API, same for push mode.
10301         (gst_pad_set_activate_function) 
10302         (gst_pad_set_activatepull_function) 
10303         (gst_pad_set_activatepush_function): Setters for new API.
10304
10305         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10306         Trace all miniobjects.
10307         (gst_mini_object_make_writable): Unref the arg if we copy, like
10308         gst_caps_make_writable.
10309
10310         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10311
10312         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10313         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10314         Adapt for new pad API.
10315
10316         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10317
10318         * gst/gstelement.h:
10319         * gst/gstelement.c (gst_element_iterate_src_pads) 
10320         (gst_element_iterate_sink_pads): New API functions.
10321         
10322         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10323         should fold into gstiterator.c in some form.
10324         (gst_element_pads_activate): Simplified via use of fold and
10325         delegation of decisions to gstpad->activate.
10326
10327         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10328         help in debugging.
10329
10330         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10331         class once in init, like gstmessage. Didn't run into this issue
10332         but it seems correct. Don't initialize a trace, gstminiobject does
10333         that.
10334
10335         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10336         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10337         to the bus.
10338         (assert_live_count): New util function, uses alloc traces to check
10339         cleanup.
10340
10341         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10342         To be modified when unlink drops the internal pad.
10343
10344 2005-06-27  Wim Taymans  <wim@fluendo.com>
10345
10346         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10347         (gst_bin_change_state):
10348         Cleanup the get_state() function a little, make sure it
10349         iterates the same set of elements.
10350         Added stub iterate_state_order().
10351
10352 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10353
10354         * docs/gst/gstreamer-docs.sgml:
10355         * docs/gst/gstreamer-sections.txt:
10356         * docs/gst/gstreamer.types:
10357         * docs/gst/tmpl/gstbasesink.sgml:
10358         * docs/gst/tmpl/gstbasesrc.sgml:
10359         * docs/gst/tmpl/gstbasetransform.sgml:
10360         * docs/gst/tmpl/gstelement.sgml:
10361         * docs/gst/tmpl/gstiterator.sgml:
10362         * gst/base/gstbasesrc.c:
10363         * gst/base/gstbasesrc.h:
10364         * gst/base/gstbasetransform.h:
10365         * gst/gstelement.c:
10366         * gst/gstiterator.h:
10367           adding basetransform and iterator docs
10368
10369 2005-06-27  Andy Wingo  <wingo@pobox.com>
10370
10371         * docs/design/part-activation.txt: Notes on how activation should
10372         work -- not quite implemented yet.
10373
10374 2005-06-25  Wim Taymans  <wim@fluendo.com>
10375
10376         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10377         At least get the chain function correct, needs more
10378         fixing.
10379
10380 2005-06-25  Wim Taymans  <wim@fluendo.com>
10381
10382         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10383         (gst_basesink_handle_object), (gst_basesink_event),
10384         (gst_basesink_do_sync), (gst_basesink_handle_event),
10385         (gst_basesink_change_state):
10386         * gst/gsttask.h:
10387         Right, two problems here: ghostpads don't take locks and
10388         glib _rec_mutex_lock_full() with depth==0 still locks.
10389         Catch illegal locking and g_warn them.
10390
10391 2005-06-25  Wim Taymans  <wim@fluendo.com>
10392
10393         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10394         Have to check for completion now...
10395
10396 2005-06-25  Wim Taymans  <wim@fluendo.com>
10397
10398         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10399         (gst_basesink_handle_object), (gst_basesink_event),
10400         (gst_basesink_do_sync), (gst_basesink_handle_event),
10401         (gst_basesink_change_state):
10402         * gst/gstpad.h:
10403         Unlock STREAM_LOCK whatever the recursion was.
10404
10405 2005-06-25  Wim Taymans  <wim@fluendo.com>
10406
10407         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10408         (gst_basesink_preroll_queue_empty),
10409         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10410         (gst_basesink_event), (gst_basesink_do_sync),
10411         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10412         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10413         (gst_basesink_change_state):
10414         Reworked the base sink, handle event and buffer serialisation
10415         correctly and removed possible deadlock.
10416         Handle EOS correctly.
10417
10418 2005-06-25  Wim Taymans  <wim@fluendo.com>
10419
10420         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10421         (gst_pipeline_change_state):
10422         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10423         Allow elements to post EOS in the state change function.
10424         Fix up -launch, make it exit the poll loop when the
10425         pipeline actually changed state.
10426         Fix up warning parsing in -launch.
10427
10428 2005-06-25  Wim Taymans  <wim@fluendo.com>
10429
10430         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10431         (gst_tee_sink_activate):
10432         Core takes STREAM_LOCK for us now.
10433
10434 2005-06-25  Wim Taymans  <wim@fluendo.com>
10435
10436         * gst/gstelement.c: (gst_element_get_state_func),
10437         (gst_element_set_state):
10438         * gst/gstelement.h:
10439         * gst/gstmessage.c: (gst_message_parse_error),
10440         (gst_message_parse_warning):
10441         Keep track of current target state while performing a state
10442         change so that subclasses can do something interesting.
10443         Fix parsing of warning/error messages when GError is NULL.
10444
10445 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10446
10447         * docs/gst/Makefile.am:
10448         * docs/gst/gstreamer-docs.sgml:
10449         * docs/gst/gstreamer-sections.txt:
10450         * docs/gst/gstreamer.types:
10451         * docs/gst/tmpl/gstbasesink.sgml:
10452         * docs/gst/tmpl/gstbasesrc.sgml:
10453         * docs/gst/tmpl/gstbin.sgml:
10454         * docs/gst/tmpl/gstcompat.sgml:
10455         * docs/gst/tmpl/gstfakesink.sgml:
10456         * docs/gst/tmpl/gstfakesrc.sgml:
10457         * docs/gst/tmpl/gstfilesink.sgml:
10458         * docs/gst/tmpl/gstfilesrc.sgml:
10459         * docs/gst/tmpl/gstindex.sgml:
10460         * docs/manual/appendix-quotes.xml:
10461         * gst/base/gstbasesrc.h:
10462         * gst/elements/gstfakesrc.h:
10463         * gst/gstmessage.h:
10464           start pulling in base classes and elements in our docs
10465
10466 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10467
10468         * docs/gst/Makefile.am:
10469         * docs/libs/Makefile.am:
10470           fixed make distcheck with gtk-doc 1.3
10471
10472 2005-06-23  Wim Taymans  <wim@fluendo.com>
10473
10474         * gst/gstelement.c: (gst_element_get_state_func),
10475         (gst_element_set_state), (gst_element_change_state):
10476         When the state did not change, also report NO_PREROLL
10477         when it matters.
10478
10479 2005-06-23  Wim Taymans  <wim@fluendo.com>
10480
10481         * gst/gstpad.c: (gst_pad_event_default):
10482         * gst/gstqueue.c: (gst_queue_loop):
10483         No unsafe task pausing please.
10484
10485 2005-06-23  Wim Taymans  <wim@fluendo.com>
10486
10487         * gst/schedulers/threadscheduler.c:
10488         (gst_thread_scheduler_task_start),
10489         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10490         Ref the task before pushing it on the threadpool. This
10491         makes sure that we have a ref when the threadfunction is
10492         actually called.
10493
10494 2005-06-23  Andy Wingo  <wingo@pobox.com>
10495
10496         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10497         offset is greater than the file's size.
10498
10499         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10500         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10501         * gst/gstobject.c (gst_object_class_init): Make the class lock
10502         recursive. Wim won't let me drop deep_notify. Decodebin works
10503         again, whoopdy doo.
10504
10505         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10506         internal pad, and hacks accordingly. Doesn't do it on the target
10507         pad because we change its caps. Probably catches all cases of
10508         interest tho.
10509         (gst_ghost_pad_set_property): Connect to notify::caps as
10510         appropritate.
10511
10512         * tests/network-clock.scm (plot-simulation): Pipe data to the
10513         elite python skript.
10514
10515         * tests/network-clock-utils.scm (define-parameter): New macro,
10516         defines a parameter that can be set via the command line.
10517         (set-parameter!, parse-parameter-arguments): Command line args
10518         parser.
10519
10520         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10521         stdin.
10522
10523 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10524
10525         * gst/elements/gsttypefindelement.c:
10526         (gst_type_find_element_handle_event):
10527           Don't restart typefinding on a discont.
10528         * gst/gstelement.c: (gst_element_set_state):
10529           Debug spelling fix.
10530         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10531           Allow changing mode of an active pad.
10532           Debug output fixes.
10533         * gst/registries/gstlibxmlregistry.c: (load_feature):
10534           Don't cast a static pad template to a normal pad template.
10535
10536 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10537
10538         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10539         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10540           remove gst_strtoll completely, since it didn't actually do
10541           anything more than what g_ascii_strtoull already does.
10542           check for range errors when deserializing
10543           do a cast for the unsigned cases; but further fixing needs
10544           a decision on what the interpretation of "(int)" and
10545           deserialization should be for values that fall outside the
10546           type's boundaries (ie, refuse, or interpret as casting)
10547
10548 2005-06-23  Wim Taymans  <wim@fluendo.com>
10549
10550         * check/Makefile.am:
10551         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10552         * docs/design/part-live-source.txt:
10553         * docs/design/part-states.txt:
10554         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10555         (gst_basesrc_set_live), (gst_basesrc_is_live),
10556         (gst_basesrc_get_range), (gst_basesrc_activate),
10557         (gst_basesrc_change_state):
10558         * gst/base/gstbasesrc.h:
10559         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10560         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10561         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10562         * gst/gstelement.c: (gst_element_get_state_func),
10563         (gst_element_set_state):
10564         * gst/gstelement.h:
10565         * gst/gsttypes.h:
10566         * tools/gst-launch.c: (event_loop), (main):
10567         Added support for live sources and other elements that
10568         cannot do preroll.
10569         Updated design docs, added live-source design doc.
10570         Implemented live source functionality in basesrc
10571         Fix error condition in _bin_get_state()
10572         Implement live source handling in -launch.
10573         Added check for live sources.
10574         Fixed case in GstBin where elements were changed state
10575         multiple times.
10576
10577
10578 2005-06-23  Andy Wingo  <wingo@pobox.com>
10579
10580         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10581         borken refcounting.
10582
10583         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10584         gst_caps_replace takes care of this for us.
10585
10586         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10587         gst_pad_set_caps on the target, not just its setcaps() function.
10588
10589         * tests/network-clock.scm: 
10590         * tests/network-clock-utils.scm: A network clock simulator.
10591         Something of an algorithmic testbed before doing something in C.
10592
10593 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10594
10595         * check/Makefile.am:
10596         * check/gst/capslist.h:
10597           copy over from 0.8, and add two with bitmasks specified with
10598           (int) 0xFF...
10599         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10600           add test to parse everything from capslist.h
10601         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10602         (main):
10603           add test for structure deserialization
10604         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10605           add tests for deserialization of strings to int types
10606         * gst/gststructure.c: (gst_structure_nth_field_name):
10607         * gst/gststructure.h:
10608           add a way to get the name of a field referenced by index
10609         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10610           instead of checking if the resulting long long lies between
10611           min and max, we check if the long long would fit into
10612           a number of bytes for the final type.
10613           This fixes cases where a string represents 2^32 - 1, which
10614           when cast to int would be the (valid) -1, but is bigger than
10615           G_MAXINT
10616
10617 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10618
10619         * gst/parse/grammar.y:
10620           add a log line for type deserialization
10621
10622 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10623
10624         * check/gst/gstvalue.c: (START_TEST):
10625         * gst/gstvalue.c: (gst_value_deserialize):
10626           return long long, not int, so gint64 deserialization actually
10627           works.  Is there any flag that makes the compiler check this ?
10628           Fixes #308559
10629
10630 2005-06-22  Wim Taymans  <wim@fluendo.com>
10631
10632         * gst/gstbuffer.h:
10633         Added convenience macros for setting buffers in GValue.
10634
10635 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10636
10637         * check/gst/.cvsignore:
10638         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10639           add a test deserializing int64, and comment part out because
10640           it fails, yay !
10641
10642 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10643
10644         * check/Makefile.am:
10645         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10646         * testsuite/Makefile.am:
10647         * testsuite/caps/Makefile.am:
10648         * testsuite/caps/value_serialize.c:
10649         * testsuite/test_gst_init.c:
10650           move a value_serialize test over
10651
10652 2005-06-20  Wim Taymans  <wim@fluendo.com>
10653
10654         * gst/gstpad.c:
10655         Small doc updates.
10656         
10657         * gst/gstvalue.c: (gst_value_compare_buffer),
10658         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10659         (gst_value_compare_flags), (gst_value_serialize_flags),
10660         (gst_value_deserialize_flags), (_gst_value_initialize):
10661         Fix serialisation of buffers, they are not boxed types anymore
10662
10663 2005-06-20  Wim Taymans  <wim@fluendo.com>
10664
10665         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10666         Testcase to show error in buffer-on-caps serialisation.
10667
10668 2005-06-20  Andy Wingo  <wingo@pobox.com>
10669
10670         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10671         will be adding to later.
10672
10673         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10674         if its socks fill with rocks.
10675         (gst_system_clock_obtain): Set the name on object construction.
10676         Avoid double-checked locking.
10677
10678 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10679
10680         * gst/gsturi.c: (gst_element_make_from_uri):
10681           Fix potential endless loop.
10682
10683 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10684
10685         * check/Makefile.am:
10686           add gsttag
10687         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10688         (main):
10689           move over from testsuite dir and clean up
10690         * configure.ac:
10691         * gst/gsttag.c:
10692         * testsuite/Makefile.am:
10693         * testsuite/tags/.cvsignore:
10694         * testsuite/tags/Makefile.am:
10695         * testsuite/tags/merge.c:
10696           remove testsuite/tags
10697
10698 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10699
10700         * docs/gst/gstreamer-sections.txt:
10701         * docs/gst/tmpl/gstenumtypes.sgml:
10702         * win32/gstenumtypes.c:
10703           clean up documentation build a little
10704
10705 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10706
10707         * check/gstcheck.h:
10708           add macros for checking refcounts on objects and caps
10709         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10710           add some more unit tests
10711         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10712         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10713           fix leaked refcounts (I hope :)) so unittest works
10714         * gst/gstpad.h:
10715           whitespace removal
10716
10717 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10718
10719         * configure.ac: back to HEAD
10720
10721 === release 0.9.1 ===
10722
10723 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10724
10725         * NEWS:
10726         * RELEASE:
10727           updated
10728
10729 2005-06-17  Andy Wingo  <wingo@pobox.com>
10730
10731         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10732         assert; it's always possible that the pad gets deactivated in
10733         between the checks in gstpad.c and the implementation. Rely on
10734         finish_preroll() to return a FLUSHING or similar instead of on the
10735         assert.
10736         
10737         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10738         clock and post an EOS message if we come out of finish_preroll in
10739         the playing state.
10740
10741 2005-06-16  David Schleef  <ds@schleef.org>
10742
10743         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10744         (gst_capsfilter_set_property): Allow NULL as possible value
10745         for filter_caps property, indicating GST_CAPS_ANY.
10746
10747 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10748
10749         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10750           fix debug output
10751         * gst/schedulers/Makefile.am:
10752           use libgst prefix
10753         * gstreamer.spec.in:
10754           fix spec for it
10755
10756 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10757
10758         * gstreamer.spec.in:
10759           clean up
10760
10761 2005-06-08  Andy Wingo  <wingo@pobox.com>
10762
10763         * gst/gstutils.c: RPAD fixes all around.
10764         (gst_element_link_pads): Refcounting fixes.
10765
10766         * tools/gst-inspect.c:
10767         * tools/gst-xmlinspect.c:
10768         * parse/grammar.y:
10769         * gst/base/gsttypefindhelper.c:
10770         * gst/base/gstbasesink.c:
10771         * gst/gstqueue.c: RPAD fixes.
10772
10773         * gst/gstghostpad.h:
10774         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10775         pads. The tricky thing is they provide both source and sink
10776         interfaces, since they proxy the internal pad for the external
10777         pad, and vice versa. Implement with lower-level ProxyPad objects,
10778         with the interior proxy pad as a child of the exterior ghost pad.
10779         Should write a doc on this.
10780         
10781         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10782         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10783         gst_object API.
10784         
10785         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10786         pads are real pads. No ghost pads in this file. Not documenting
10787         the myriad s/RPAD/PAD/ and REALIZE fixes.
10788         (gst_pad_class_init): Add properties for "direction" and
10789         "template". Both are construct-only, so they can't change during
10790         the life of the pad. Fixes properly deriving from GstPad.
10791         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10792         derived objects, just set properties when creating the objects via
10793         g_object_new.
10794         (gst_pad_get_parent): Implement as a function, return NULL if the
10795         parent is not an element.
10796         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10797         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10798         
10799         * gst/gstobject.c (gst_object_class_init): Make name a construct
10800         property. Don't set it in the object init.
10801
10802         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10803         with UNKNOWN direction.
10804         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10805         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10806         (gst_element_remove_pad): Remove ghost-pad special cases.
10807         (gst_element_pads_activate): Remove rpad cruft.
10808
10809         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10810         catch the pad's-parent-not-an-element case.
10811
10812         * gst/gst.h: Include gstghostpad.h.
10813
10814         * gst/gst.c (init_post): No more real, ghost pads.
10815
10816         * gst/Makefile.am: Add gstghostpad.[ch].
10817
10818         * check/Makefile.am:
10819         * check/gst/gstbin.c:
10820         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10821         into a bin creates ghost pads, and that the refcounts are right.
10822         Partly moved from gstbin.c.
10823
10824 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10825
10826         * check/gst-libs/.cvsignore:
10827         * check/gst/.cvsignore:
10828         * check/pipelines/.cvsignore:
10829           ignore more
10830         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10831         (START_TEST), (cleanup_suite), (main):
10832           add some tests related to cleanup after running pipelines
10833
10834 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10835
10836         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10837           add a testsuite for GstBuffer
10838
10839 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10840
10841         * gst/gstminiobject.h:
10842           add defines for accessing the refcount
10843
10844 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10845
10846         * Makefile.am: added support for html unit test coverage reports
10847
10848 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10849
10850         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10851           Free existing caps if the capsfilter changes. Add a FIXME about
10852           setting those caps on the pads.
10853
10854         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10855           Before adding a ghost pad to a parent bin, check that there isn't
10856           already one for the element on the bin. Prevents infinite recursion
10857           when using decodebin in parse pipelines. Andy says he'll rewrite the
10858           way this works anyway, so ignore the hack.
10859
10860 2005-06-02  Andy Wingo  <wingo@pobox.com>
10861
10862         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10863         file size, pass it on to the type find helper.
10864
10865         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10866         segment_start and segment_end properly according to the seek
10867         method. Segment_end is still a bit flaky because offset can be
10868         negative for CUR and END cases, but it takes -1 as an "unset"
10869         value.
10870
10871 2005-06-02  Wim Taymans  <wim@fluendo.com>
10872
10873         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10874         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10875         (gst_basesink_activate):
10876         * gst/base/gstbasesink.h:
10877         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10878         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10879         (gst_pad_query), (gst_pad_start_task):
10880         * gst/gstpad.h:
10881         * gst/gstqueue.c: (gst_queue_bufferalloc),
10882         (gst_queue_handle_sink_event), (gst_queue_chain):
10883         Bufferalloc: return GstFlowReturn to more accuratly report
10884         why allocation failed.
10885
10886 2005-06-02  Wim Taymans  <wim@fluendo.com>
10887
10888         * gst/gstpipeline.c: (gst_pipeline_send_event):
10889         Take snapshot of state without blocking.
10890
10891 2005-06-02  Wim Taymans  <wim@fluendo.com>
10892
10893         * docs/design/part-TODO.txt:
10894         * docs/design/part-caps.txt:
10895         * docs/design/part-clocks.txt:
10896         * docs/design/part-negotiation.txt:
10897         * docs/design/part-preroll.txt:
10898         Small doc updates 
10899
10900 2005-05-30  Wim Taymans  <wim@fluendo.com>
10901
10902         * gst/elements/gstidentity.c: (gst_identity_event),
10903         (gst_identity_transform), (gst_identity_get_property):
10904         Protect last_message property as it is accessed from
10905         multiple threads.
10906
10907 2005-05-30  Wim Taymans  <wim@fluendo.com>
10908
10909         * gst/gstelement.c: (gst_element_init),
10910         (gst_element_pads_activate), (gst_element_change_state):
10911         Slicker pad activation code.
10912
10913 2005-05-30  Wim Taymans  <wim@fluendo.com>
10914
10915         * gst/Makefile.am:
10916         * gst/gstelement.h:
10917         * gst/gstelementfactory.h:
10918         * gst/gsttypes.h:
10919         Move elementfactory methods to separate .h file.
10920
10921 2005-05-30  Wim Taymans  <wim@fluendo.com>
10922
10923         * docs/design/part-overview.txt:
10924         * gst/gstsystemclock.h:
10925         Small typo fixes, doc updates.
10926
10927 2005-05-30  Wim Taymans  <wim@fluendo.com>
10928
10929         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10930         (init_popt_callback):
10931         Remove cpu-opt flag.
10932
10933 2005-05-30  Wim Taymans  <wim@fluendo.com>
10934
10935         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10936         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10937         * gst/gstbuffer.h:
10938         Avoid typechecking in places where not needed.
10939         Added accessor for malloc_data.
10940
10941 2005-05-30  Wim Taymans  <wim@fluendo.com>
10942
10943         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10944         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10945         (gst_pad_configure_sink), (gst_pad_configure_src),
10946         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10947         (gst_pad_start_task):
10948         Propagate errors from _set_caps() in configure_src/sink
10949         functions instead of returning TRUE.
10950         FLUSH events can travel up and downstream
10951
10952
10953 2005-05-30  Wim Taymans  <wim@fluendo.com>
10954
10955         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10956         (gst_basesink_activate):
10957         Handle EOS in preroll.
10958
10959 2005-05-30  Wim Taymans  <wim@fluendo.com>
10960
10961         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10962         (gst_queue_loop), (gst_queue_handle_src_event):
10963         Remove old pieces of code
10964         Flushing the queue in an upstream event is a very bad idea.
10965
10966 2005-05-26  Andy Wingo  <wingo@pobox.com>
10967
10968         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10969         gst_value_set_mini_object so as to add a ref on the object (which
10970         will be removed when the value is unset).
10971
10972         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10973         arg type in ::handoff.
10974
10975         * gst/gstelement.c (gst_element_change_state): Also deactivate
10976         pads in READY->NULL, just in case the element didn't make it to
10977         PAUSED. Wingo tested, Wim approved.
10978
10979 2005-05-26  Wim Taymans  <wim@fluendo.com>
10980
10981         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10982         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10983         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10984         A flushing pad cannot be used to alloc_buffer from.
10985
10986 2005-05-26  Wim Taymans  <wim@fluendo.com>
10987
10988         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10989         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10990         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10991         (gst_bus_create_watch), (gst_bus_add_watch_full):
10992         * gst/gstbus.h:
10993         Implement a real GSource and use g_main_context_wakeup() to
10994         signal new messages instead of the socketpair.
10995
10996 2005-05-25  Wim Taymans  <wim@fluendo.com>
10997
10998         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10999         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11000         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11001         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11002         (gst_pad_send_event), (gst_pad_start_task):
11003         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11004         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11005         (gst_queue_sink_activate), (gst_queue_src_activate),
11006         (gst_queue_change_state):
11007         * gst/gstqueue.h:
11008         Fix state changes for non sinks. We now change sinks, then elements
11009         with unconnected srcpads, then the rest.
11010         More efficient queue unlocking in flush and state changes.
11011         Set the pad activate mode even if it does not have an activate
11012         function.
11013
11014 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11015
11016         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11017           Don't go in pull mode for non-seekable sources.
11018         * gst/elements/gsttypefindelement.h:
11019         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11020         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11021         (free_entry), (stop_typefinding),
11022         (gst_type_find_element_handle_event), (find_peek),
11023         (gst_type_find_element_chain), (do_pull_typefind),
11024         (gst_type_find_element_change_state):
11025           Allow typefinding (w/o seeking) in push-mode, simplified version
11026           of what was in 0.8.
11027         * gst/gstutils.c: (gst_buffer_join):
11028         * gst/gstutils.h:
11029           gst_buffer_join() from 0.8.
11030
11031 2005-05-25  Wim Taymans  <wim@fluendo.com>
11032
11033         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11034         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11035         (gst_pad_send_event), (gst_pad_start_task):
11036         Disable attempt at mode switching until it is figured out.
11037
11038 2005-05-25  Wim Taymans  <wim@fluendo.com>
11039
11040         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11041         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11042         (gst_basesink_finish_preroll), (gst_basesink_chain),
11043         (gst_basesink_loop), (gst_basesink_activate),
11044         (gst_basesink_change_state):
11045         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11046         (gst_basesrc_get_range), (gst_basesrc_loop),
11047         (gst_basesrc_activate):
11048         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11049         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11050         (gst_real_pad_init), (gst_real_pad_set_property),
11051         (gst_real_pad_get_property), (gst_pad_set_active),
11052         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11053         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11054         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11055         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11056         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11057         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11058         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11059         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11060         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11061         (gst_pad_stop_task):
11062         * gst/gstpad.h:
11063         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11064         (gst_queue_loop), (gst_queue_src_activate):
11065         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11066         (gst_task_get_state):
11067         * gst/gsttask.h:
11068         * gst/schedulers/threadscheduler.c:
11069         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11070         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11071         in task function.
11072         Remove ACTIVE pad flag, use FLUSHING everywhere
11073         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11074         functions.
11075         Add locks around IS_FLUSHING when reading.
11076         Take STREAM lock in chain(), get_range() functions so plugins
11077         don't need to take it anymore.
11078         
11079
11080
11081 2005-05-25  Wim Taymans  <wim@fluendo.com>
11082
11083         * tools/gst-launch.c: (event_loop):
11084         Unref message after using its contents instead of
11085         before.
11086
11087 2005-05-24  Wim Taymans  <wim@fluendo.com>
11088
11089         * docs/design/draft-ghostpads.txt:
11090         * docs/design/draft-push-pull.txt:
11091         * docs/design/draft-query.txt:
11092         * docs/design/part-overview.txt:
11093         Docs updates, added general overview doc.
11094
11095 2005-05-21  David Schleef  <ds@schleef.org>
11096
11097         * docs/gst/tmpl/old/GstBin.sgml:
11098         * docs/gst/tmpl/old/GstBuffer.sgml:
11099         * docs/gst/tmpl/old/GstCaps.sgml:
11100         * docs/gst/tmpl/old/GstClock.sgml:
11101         * docs/gst/tmpl/old/GstCompat.sgml:
11102         * docs/gst/tmpl/old/GstData.sgml:
11103         * docs/gst/tmpl/old/GstElement.sgml:
11104         * docs/gst/tmpl/old/GstEvent.sgml:
11105         * docs/gst/tmpl/old/GstIndex.sgml:
11106         * docs/gst/tmpl/old/GstStructure.sgml:
11107         * docs/gst/tmpl/old/GstTag.sgml:
11108         * docs/gst/tmpl/old/cothreads.sgml:
11109         * docs/gst/tmpl/old/cothreads_compat.sgml:
11110         * docs/gst/tmpl/old/gettext.sgml:
11111         * docs/gst/tmpl/old/gobject2gtk.sgml:
11112         * docs/gst/tmpl/old/grammar.tab.sgml:
11113         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11114         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11115         * docs/gst/tmpl/old/gst_private.sgml:
11116         * docs/gst/tmpl/old/gstaggregator.sgml:
11117         * docs/gst/tmpl/old/gstarch.sgml:
11118         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11119         * docs/gst/tmpl/old/gstbufferstore.sgml:
11120         * docs/gst/tmpl/old/gstdata_private.sgml:
11121         * docs/gst/tmpl/old/gstdisksink.sgml:
11122         * docs/gst/tmpl/old/gstdisksrc.sgml:
11123         * docs/gst/tmpl/old/gstelementfactory.sgml:
11124         * docs/gst/tmpl/old/gstextratypes.sgml:
11125         * docs/gst/tmpl/old/gstfakesink.sgml:
11126         * docs/gst/tmpl/old/gstfakesrc.sgml:
11127         * docs/gst/tmpl/old/gstfdsink.sgml:
11128         * docs/gst/tmpl/old/gstfdsrc.sgml:
11129         * docs/gst/tmpl/old/gstfilesink.sgml:
11130         * docs/gst/tmpl/old/gstfilesrc.sgml:
11131         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11132         * docs/gst/tmpl/old/gstidentity.sgml:
11133         * docs/gst/tmpl/old/gstindexfactory.sgml:
11134         * docs/gst/tmpl/old/gstmarshal.sgml:
11135         * docs/gst/tmpl/old/gstmd5sink.sgml:
11136         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11137         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11138         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11139         * docs/gst/tmpl/old/gstpipefilter.sgml:
11140         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11141         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11142         * docs/gst/tmpl/old/gstshaper.sgml:
11143         * docs/gst/tmpl/old/gstspider.sgml:
11144         * docs/gst/tmpl/old/gstspideridentity.sgml:
11145         * docs/gst/tmpl/old/gststatistics.sgml:
11146         * docs/gst/tmpl/old/gsttee.sgml:
11147         * docs/gst/tmpl/old/gsttimecache.sgml:
11148         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11149         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11150         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11151         * docs/gst/tmpl/old/types.sgml:
11152           I didn't intend to add these or check them in.
11153
11154 2005-05-19  David Schleef  <ds@schleef.org>
11155
11156         * configure.ac: Use -no-common everywhere.  In a sane world, it
11157           would be the default in libtool, because without it, you can't
11158           build DLLs on Windows.
11159         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11160         * docs/gst/gstreamer-sections.txt:
11161         * docs/gst/tmpl/gstcpu.sgml:
11162         * docs/gst/tmpl/gstdata.sgml:
11163         * docs/gst/tmpl/gstthread.sgml:
11164
11165 2005-05-19  David Schleef  <ds@schleef.org>
11166
11167         * gst/gstminiobject.c: (gst_value_set_mini_object),
11168         (gst_value_take_mini_object), (gst_value_get_mini_object):
11169         * gst/gstminiobject.h: Add GValue set/get functions.
11170
11171 2005-05-19  Wim Taymans  <wim@fluendo.com>
11172
11173         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11174         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11175         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11176         * gst/gstbuffer.h:
11177         * gst/gstbus.c: (gst_bus_post):
11178         * gst/gstelement.c: (gst_element_get_random_pad):
11179         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11180         Make subbufer unref the parent in finalize.
11181         some more debugging info.
11182
11183
11184 2005-05-19  Wim Taymans  <wim@fluendo.com>
11185
11186         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11187         (gst_basesink_init), (gst_basesink_finalize),
11188         (gst_basesink_activate), (gst_basesink_change_state):
11189         Don't free preroll queue too early.
11190
11191 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11192
11193         * gst/Makefile.am:
11194         * gst/ROADMAP:
11195           Hi, I'm outdated. Please shoot me.
11196
11197 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11198
11199         * gst/gstpipeline.c: (gst_pipeline_send_event):
11200           Do not access variables after they have been deleted.
11201
11202 2005-05-19  Wim Taymans  <wim@fluendo.com>
11203
11204         * tools/gst-inspect.c: (print_plugin_features):
11205         A plugin feature does unfortunatly not use the
11206         object name yet...
11207
11208 2005-05-18  Wim Taymans  <wim@fluendo.com>
11209
11210         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11211         Port _span() functions to new subbuffers.
11212
11213 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11214
11215         * gst/gstbin.c: (gst_bin_add_func):
11216           Fix clock settery in bins when adding kids after the clock has
11217           been selected.
11218
11219 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11220
11221         * gst/elements/gstidentity.c: (gst_identity_class_init):
11222           Workaround until signals support GstMiniObject.
11223
11224 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11225
11226         * gst/gstbuffer.c:
11227         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11228
11229 2005-05-18  Wim Taymans  <wim@fluendo.com>
11230
11231         * gst/base/Makefile.am:
11232         * gst/base/gstadapter.c: (gst_adapter_base_init),
11233         (gst_adapter_class_init), (gst_adapter_init),
11234         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11235         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11236         (gst_adapter_flush), (gst_adapter_available),
11237         (gst_adapter_available_fast):
11238         * gst/base/gstadapter.h:
11239         Ported and added adapter to the base classes.
11240
11241 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11242
11243         * gst/gst.c:
11244         * gst/gstmessage.c:
11245           Make sure the class is reffed/unreffed once before threads can be
11246           used.  Fixes #304551.
11247
11248 2005-05-17  Wim Taymans  <wim@fluendo.com>
11249
11250         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11251         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11252         * gst/gstminiobject.c: (gst_mini_object_get_type),
11253         (gst_mini_object_free):
11254         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11255         (gst_pad_push), (gst_pad_push_event):
11256         * gst/gstqueue.c: (gst_queue_change_state):
11257         Don't queue buffers in basesink when we are flushing.
11258         Unref buffer when flushing in basesink.
11259         Flush queue when going to READY
11260         Unref buffer when _push() returns an error.
11261         Don't free MiniObject instance when refcount is incremented
11262         in _finalize() so that we can recover objects.
11263
11264 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11265
11266         * docs/manual/advanced-schedulers.xml:
11267         * docs/manual/appendix-checklist.xml:
11268         * docs/pwg/advanced-clock.xml:
11269         * docs/pwg/advanced-interfaces.xml:
11270         * docs/pwg/advanced-request.xml:
11271         * docs/pwg/advanced-types.xml:
11272         * docs/pwg/intro-preface.xml:
11273         * examples/plugins/example.c: (gst_example_get_type),
11274         (gst_example_class_init), (gst_example_chain),
11275         (gst_example_set_property), (gst_example_get_property),
11276         (gst_example_change_state), (plugin_init):
11277         * examples/plugins/example.h:
11278           small doc fixes
11279
11280 2005-05-17  Wim Taymans  <wim@fluendo.com>
11281
11282         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11283         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11284         * gst/gstqueue.c: (gst_queue_change_state):
11285         Clear queue when going to READY.
11286         Remove IN_SETCAPS flag too.
11287
11288 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11289
11290         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11291           Remove implicit cast from gboolean to GstElementStateReturn;
11292           make sure we still return failure in paused => ready case if
11293           the parent class fails to change state and our own stop 
11294           vfunc succeeds.
11295
11296 2005-05-17  Wim Taymans  <wim@fluendo.com>
11297
11298         * tools/gst-launch.c: (event_loop):
11299         Message was unreffed too soon.
11300
11301 2005-05-16  Andy Wingo  <wingo@pobox.com>
11302
11303         * gst/gstbin.c (sink_iterator_filter): Err... um...
11304
11305         * check/gst/gstbin.c (test_ghost_pads): New test for the
11306         ghosting-if-elements-not-in-same-bin behavior.
11307
11308 2005-05-16  David Schleef  <ds@schleef.org>
11309
11310         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11311         accessing refcount directly.
11312
11313 2005-05-15  David Schleef  <ds@schleef.org>
11314
11315         * check/Makefile.am: remove GstData checks
11316         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11317         * gst/Makefile.am: add miniobject, remove data
11318         * gst/gst.h: add miniobject, remove data
11319         * gst/gstdata.c: remove
11320         * gst/gstdata.h: remove
11321         * gst/gstdata_private.h: remove
11322         * gst/gsttypes.h: remove GstEvent and GstMessage
11323         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11324         * gst/gstmarshal.list: change BOXED -> OBJECT
11325
11326         Implement GstMiniObject.
11327         * gst/gstminiobject.c:
11328         * gst/gstminiobject.h:
11329
11330         Modify to be subclasses of GstMiniObject.
11331         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11332         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11333         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11334         (gst_subbuffer_get_type), (gst_subbuffer_init),
11335         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11336         (gst_buffer_span):
11337         * gst/gstbuffer.h:
11338         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11339         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11340         (_gst_event_copy), (gst_event_new):
11341         * gst/gstevent.h:
11342         * gst/gstmessage.c: (_gst_message_initialize),
11343         (gst_message_get_type), (gst_message_class_init),
11344         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11345         (gst_message_new), (gst_message_new_error),
11346         (gst_message_new_warning), (gst_message_new_tag),
11347         (gst_message_new_state_changed), (gst_message_new_application):
11348         * gst/gstmessage.h:
11349         * gst/gstprobe.c: (gst_probe_perform),
11350         (gst_probe_dispatcher_dispatch):
11351         * gst/gstprobe.h:
11352         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11353         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11354         (_gst_query_copy), (gst_query_new):
11355
11356         Update elements for GstData -> GstMiniObject changes
11357         * gst/gstquery.h:
11358         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11359         (gst_queue_chain), (gst_queue_loop):
11360         * gst/elements/gstbufferstore.c:
11361         (gst_buffer_store_add_buffer_func),
11362         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11363         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11364         (gst_fakesink_render):
11365         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11366         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11367         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11368         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11369         (gst_filesrc_create_read):
11370         * gst/elements/gstidentity.c: (gst_identity_class_init):
11371         * gst/elements/gsttypefindelement.c:
11372         (gst_type_find_element_src_event), (free_entry_buffers),
11373         (gst_type_find_element_handle_event):
11374         * libs/gst/dataprotocol/dataprotocol.c:
11375         (gst_dp_header_from_buffer):
11376         * libs/gst/dataprotocol/dataprotocol.h:
11377         * libs/gst/dataprotocol/dp-private.h:
11378
11379 2005-05-15  David Schleef  <ds@schleef.org>
11380
11381         * gst/elements/gstelements.c: Don't include headers that were
11382         just removed.
11383
11384 2005-05-15  David Schleef  <ds@schleef.org>
11385
11386         * gst/elements/Makefile.am: Remove some elements that don't
11387         need to be in the core (or even exist at all).
11388         * gst/elements/gstaggregator.c:
11389         * gst/elements/gstaggregator.h:
11390         * gst/elements/gstmd5sink.c:
11391         * gst/elements/gstmd5sink.h:
11392         * gst/elements/gstmultifilesrc.c:
11393         * gst/elements/gstmultifilesrc.h:
11394         * gst/elements/gstpipefilter.c:
11395         * gst/elements/gstpipefilter.h:
11396         * gst/elements/gstshaper.c:
11397         * gst/elements/gstshaper.h:
11398         * gst/elements/gststatistics.c:
11399         * gst/elements/gststatistics.h:
11400         * po/POTFILES.in: Remove above files.
11401
11402 2005-05-14  Andy Wingo  <wingo@pobox.com>
11403
11404         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11405         so as to get the refs right.
11406         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11407         unreffing objects that don't pass the filter.
11408
11409         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11410         gst_element_set_bus.
11411         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11412         normal cases, this will destroy the bus.
11413
11414         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11415         object.
11416
11417         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11418         has no sinks.
11419
11420 2005-05-13  Andy Wingo  <wingo@pobox.com>
11421
11422         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11423         gst_pad_link, call pad_link_maybe_ghosting,
11424         (pad_link_maybe_ghosting): Links pads, making sure that the
11425         elements being linked are in the same bin.
11426         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11427         Helpers for pad_link_maybe_ghosting.
11428
11429 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11430
11431         * configure.ac:
11432           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11433
11434 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11435
11436         * docs/design/part-element-source.txt:
11437           Mention GstPushSrc
11438
11439 2005-05-12  Wim Taymans  <wim@fluendo.com>
11440
11441         * gst/base/gstbasesink.c: (gst_basesink_init),
11442         (gst_basesink_activate):
11443         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11444         (gst_basesrc_is_seekable):
11445         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11446         (bin_element_is_sink), (gst_bin_change_state):
11447         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11448         * gst/gstelement.h:
11449         Identify sinks by their flag to avoid overly complicated
11450         checks (fow now).
11451         Do state changes even for elements not reachable from the
11452         sinks.
11453         BaseSink is a sink now :)
11454         Some more debugging info in the basesrc.
11455
11456
11457 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11458
11459         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11460           Implement _query on a bin, similar to _send_event.
11461
11462 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11463
11464         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11465           Discont event offset format should be GST_FORMAT_BYTES,
11466           not GST_FORMAT_TIME.
11467
11468 2005-05-12  Wim Taymans  <wim@fluendo.com>
11469
11470         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11471         Same fix as Ronald's but without the signal. 
11472
11473 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11474
11475         * gst/gstutils.c: (gst_element_query_position):
11476           No, an element is not a pad.
11477
11478 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11479
11480         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11481         (gst_bin_get_state):
11482           If a child is removed from a bin while we remove the child from
11483           the bin and while we're retrieving its state, signal this to the
11484           get_state function so we abort the wait (instead of waiting for
11485           a timeout) and can immediately re-iterate over all other elements.
11486
11487 2005-05-12  Wim Taymans  <wim@fluendo.com>
11488
11489         * gst/base/Makefile.am:
11490         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11491         (gst_basesrc_start):
11492         * gst/base/gstbasesrc.h:
11493         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11494         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11495         (gst_pushsrc_init), (gst_pushsrc_create):
11496         * gst/base/gstpushsrc.h:
11497         Added is_seekable to BaseSrc
11498         Added simple PushSrc.
11499
11500 2005-05-11  Wim Taymans  <wim@fluendo.com>
11501
11502         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11503         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11504         (gst_element_link_pads), (gst_element_query_position),
11505         (gst_element_query_convert), (intersect_caps_func),
11506         (gst_pad_query_position), (gst_pad_query_convert):
11507         Fix refcounting in utils function.
11508         No point in trying to activate a pad when it's added, it could
11509         be added from the state change function and then we deadlock, the
11510         element has to decide what to do.
11511
11512 2005-05-10  Andy Wingo  <wingo@pobox.com>
11513
11514         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11515         *all* the arguments.
11516
11517         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11518         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11519         lock (according to the docs -- if this is wrong change the docs).
11520
11521         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11522         flush messages in the NULL state.
11523
11524         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11525         message immediately and return.
11526         (gst_bus_set_flushing): New function. If a bus is flushing, it
11527         flushes out any queued messages and immediately unrefs new
11528         messages. This is so when an element goes to NULL, all of the
11529         unhandled messages coming from it can be freed, and their
11530         references to the element dropped. In other words: message source
11531         ref considered harmful :P
11532
11533         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11534         we're finished with it.
11535
11536         * gst/gstmessage.c (gst_message_new_state_changed): 
11537
11538 2005-05-10  Wim Taymans  <wim@fluendo.com>
11539
11540         * gst/gstvalue.c: (gst_value_compare_flags),
11541         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11542         (_gst_value_initialize):
11543         Added flags serialize/deserialize/compare code.
11544
11545 2005-05-09  Andy Wingo  <wingo@pobox.com>
11546
11547         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11548         Intersect the peer's caps with our caps.
11549
11550 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11551
11552         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11553         * gst/elements/gsttypefindelement.c: (find_peek):
11554           Handle negative offsets better. Fixes decodebin.
11555
11556 2005-05-09  Wim Taymans  <wim@fluendo.com>
11557
11558         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11559         (gst_base_transform_event):
11560         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11561         Implement accept_caps.
11562         Fix silly lock/unlock mismatch in base class.
11563
11564 2005-05-09  Wim Taymans  <wim@fluendo.com>
11565
11566         * docs/design/draft-push-pull.txt:
11567         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11568         * gst/elements/gstfilesink.c: (gst_filesink_init),
11569         (gst_filesink_query):
11570         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11571         (gst_type_find_handle_src_query), (find_element_get_length):
11572         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11573         * gst/gstelement.h:
11574         * gst/gstmessage.c:
11575         * gst/gstmessage.h:
11576         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11577         (gst_real_pad_get_caps_unlocked),
11578         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11579         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11580         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11581         (gst_real_pad_dispose), (gst_real_pad_finalize),
11582         (gst_pad_load_and_link), (gst_pad_save_thyself),
11583         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11584         (gst_pad_check_pull_range), (gst_pad_pull_range),
11585         (gst_pad_template_get_type), (gst_pad_template_class_init),
11586         (gst_pad_template_init), (gst_pad_template_dispose),
11587         (name_is_valid), (gst_static_pad_template_get),
11588         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11589         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11590         (gst_pad_get_element_private), (gst_pad_start_task),
11591         (gst_pad_pause_task), (gst_pad_stop_task),
11592         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11593         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11594         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11595         (gst_ghost_pad_new):
11596         * gst/gstpad.h:
11597         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11598         (gst_query_new_position), (gst_query_set_position),
11599         (gst_query_parse_position), (gst_query_new_convert),
11600         (gst_query_set_convert), (gst_query_parse_convert):
11601         * gst/gstquery.h:
11602         * gst/gstqueryutils.c:
11603         * gst/gstqueryutils.h:
11604         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11605         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11606         (gst_queue_handle_src_query):
11607         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11608         (gst_element_query_position), (gst_element_query_convert),
11609         (intersect_caps_func), (gst_pad_query_position),
11610         (gst_pad_query_convert):
11611         * gst/gstutils.h:
11612         * tools/gst-inspect.c: (print_pad_info):
11613         * tools/gst-xmlinspect.c: (print_element_info):
11614         Remove old query functions. Ported old code.
11615         Added position/convert helper functions to gstutils.
11616         Reordered gstpad.c code, grouping relevant things.
11617         Remove gst_message_new(), always need to speficy a specific
11618         message.
11619
11620
11621 2005-05-09  Andy Wingo  <wingo@pobox.com>
11622
11623         * gst/gstiterator.h: Add some includes.
11624
11625         * gst/gstqueryutils.h: Include more headers.
11626
11627         * gst/gstpad.h:
11628         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11629         some uses of gst_pad_query.
11630
11631         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11632         NULL out parameters.
11633         (gst_query_new_position): New proc, allocates a new position
11634         query.
11635
11636         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11637         gstqueryutils.c to the build.
11638
11639         * gst/gststructure.c (gst_structure_set_valist): Implement with
11640         the generic G_VALUE_COLLECT.
11641         
11642 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11643
11644         * gst/Makefile.am: (gst_headers):
11645         Added gstqueryutils.h to the list of headers to install, that was
11646         a 'nachty' move wingo :)
11647
11648 2005-05-06  Andy Wingo  <wingo@pobox.com>
11649
11650         * gst/gstquery.h
11651         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11652         GstData, init a memchunk.
11653         (standard_definitions): Add a few query types, deprecate a few.
11654         (gst_query_get_type): New proc.
11655         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11656         implementation.
11657         (gst_query_new_application, gst_query_get_structure): New public
11658         procs.
11659
11660         * docs/design/draft-query.txt: Removed LINKS from the query types,
11661         because all the rest can be dispatched to other pads -- seemed
11662         ugly to have a query that couldn't be dispatched. internal_links
11663         is fine as a pad method.
11664
11665         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11666         in gstpad.c, but maintain binary compatibility for the moment.
11667         Will fix before 0.9 is out.
11668
11669         * gst/gstqueryutils.c: 
11670         * gst/gstqueryutils.h: New files, implement 3 methods for each
11671         query type: parse_query, parse_response, and set. Probably need an
11672         allocator as well.
11673
11674         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11675
11676         * gst/elements/gstfilesink.c (gst_filesink_query2):
11677         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11678         query_types, and formats methods.
11679
11680         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11681         (gst_pad_set_query2_function): New functions.
11682         (gst_real_pad_init): Set query2_default as the default query2
11683         function. Basically just dispatches to internally linked pads.
11684
11685         Needs review!
11686         
11687         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11688         without using the atomic operations. Only one thread can possibly
11689         be accessing the data at this point. Changed so as to avoid
11690         gst_atomic operations.
11691
11692 2005-05-06  Wim Taymans  <wim@fluendo.com>
11693
11694         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11695         Also set caps if we use the fallback buffer alloc.
11696
11697 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11698
11699         * docs/gst/Makefile.am:
11700         * docs/gst/gstreamer-docs.sgml:
11701         * docs/gst/gstreamer-sections.txt:
11702         * docs/gst/tmpl/gstatomic.sgml:
11703         * docs/gst/tmpl/gstmemchunk.sgml:
11704         * testsuite/elements/struct_i386.h:
11705         * win32/GStreamer.vcproj:
11706         * win32/Makefile:
11707           Purge GstAtomic stuff from docs and win32 makefiles as well
11708
11709 2005-05-06  Wim Taymans  <wim@fluendo.com>
11710
11711         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11712         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11713         * gst/gstpad.c: (gst_pad_peer_get_caps):
11714         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11715         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11716         (gst_queue_src_activate), (gst_queue_change_state):
11717         * gst/gstqueue.h:
11718         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11719         (intersect_caps_func):
11720         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11721         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11722         Some fixes for the peer_get_caps() change.
11723
11724 2005-05-06  Wim Taymans  <wim@fluendo.com>
11725
11726         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11727         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11728         (gst_basesink_activate):
11729         Actually do something with error codes returned from the push
11730         functions.
11731
11732 2005-05-06  Wim Taymans  <wim@fluendo.com>
11733
11734         * docs/design/part-element-sink.txt:
11735         * docs/design/part-element-source.txt:
11736         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11737         (gst_basesink_event), (gst_basesink_activate):
11738         * gst/base/gstbasesink.h:
11739         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11740         (gst_basesrc_activate):
11741         * gst/base/gstbasesrc.h:
11742         * gst/gstelement.c: (gst_element_pads_activate):
11743         Some more documentation.
11744         Fixed scheduling decision in _pads_activate().
11745
11746 2005-05-05  Andy Wingo  <wingo@pobox.com>
11747
11748         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11749         the test suite.
11750
11751 2005-05-05  Wim Taymans  <wim@fluendo.com>
11752
11753         * gst/base/Makefile.am:
11754         * gst/base/gstbasesink.h:
11755         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11756         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11757         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11758         (gst_collectpads_class_init), (gst_collectpads_init),
11759         (gst_collectpads_finalize), (gst_collectpads_new),
11760         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11761         (find_pad), (gst_collectpads_remove_pad),
11762         (gst_collectpads_is_active), (gst_collectpads_collect),
11763         (gst_collectpads_collect_range), (gst_collectpads_start),
11764         (gst_collectpads_stop), (gst_collectpads_peek),
11765         (gst_collectpads_pop), (gst_collectpads_available),
11766         (gst_collectpads_read), (gst_collectpads_flush),
11767         (gst_collectpads_chain):
11768         * gst/base/gstcollectpads.h:
11769         * gst/elements/Makefile.am:
11770         * gst/elements/gstelements.c:
11771         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11772         (gst_fakesink_get_times), (gst_fakesink_event),
11773         (gst_fakesink_preroll), (gst_fakesink_render):
11774         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11775         (gst_filesink_init), (gst_filesink_set_location),
11776         (gst_filesink_open_file), (gst_filesink_close_file),
11777         (gst_filesink_pad_query), (gst_filesink_event),
11778         (gst_filesink_render), (gst_filesink_change_state):
11779         * gst/elements/gstfilesink.h:
11780         Added object to help in making collect pad based elements.
11781         Ported filesink.
11782         Make event function in sink baseclass return gboolean.
11783
11784 2005-05-05  Wim Taymans  <wim@fluendo.com>
11785
11786         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11787         (gst_bin_get_by_name):
11788         * gst/gstbuffer.h:
11789         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11790         (gst_clock_finalize):
11791         * gst/gstdata.c: (gst_data_replace):
11792         * gst/gstdata.h:
11793         * gst/gstelement.c: (gst_element_request_pad),
11794         (gst_element_pads_activate):
11795         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11796         (gst_object_unref):
11797         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11798         (gst_pad_set_checkgetrange_function),
11799         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11800         (gst_pad_check_pull_range), (gst_pad_pull_range),
11801         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11802         (gst_pad_pause_task), (gst_pad_stop_task):
11803         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11804         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11805         Fix name lookup in GstBin.
11806         Added _data_replace() function and _buffer_replace()
11807         Use finalize method to clean up clock.
11808         Fix refcounting on request pads.
11809         Fix pad schedule mode error.
11810         Some more object refcounting debug info,
11811
11812
11813 2005-05-04  Andy Wingo <wingo@pobox.com>
11814
11815         * check/Makefile.am:
11816         * docs/gst/tmpl/gstatomic.sgml:
11817         * docs/gst/tmpl/gstplugin.sgml:
11818         * gst/base/gstbasesink.c: (gst_basesink_activate):
11819         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11820         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11821         (gst_basesrc_query), (gst_basesrc_set_property),
11822         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11823         (gst_basesrc_activate):
11824         * gst/base/gstbasesrc.h:
11825         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11826         (gst_base_transform_src_activate):
11827         * gst/elements/gstelements.c:
11828         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11829         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11830         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11831         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11832         (gst_type_find_element_checkgetrange),
11833         (gst_type_find_element_activate):
11834         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11835         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11836         (gst_caps_load_thyself):
11837         * gst/gstelement.c: (gst_element_pads_activate),
11838         (gst_element_save_thyself), (gst_element_restore_thyself):
11839         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11840         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11841         * gst/gstpad.h:
11842         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11843         (gst_xml_parse_file), (gst_xml_parse_memory),
11844         (gst_xml_get_element), (gst_xml_make_element):
11845         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11846         (_file_index_id_save_xml), (gst_file_index_commit):
11847         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11848         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11849         (load_paths):
11850         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11851         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11852         * tools/gst-complete.c: (main):
11853         * tools/gst-compprep.c: (main):
11854         * tools/gst-inspect.c: (print_element_properties_info):
11855         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11856         * tools/gst-xmlinspect.c: (print_element_properties):
11857         GCC 4 fixen.
11858         
11859 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11860
11861         * gst/gstplugin.c: (gst_plugin_check_module),
11862         (gst_plugin_check_file), (gst_plugin_load_file):
11863             apply patch from #172526 to make register work on MacOSX
11864
11865 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11866
11867         * docs/gst/tmpl/gstconfig.sgml:
11868         * gst/gstconfig.h.in:
11869           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11870         * testsuite/debug/printf_extension.c: (main):
11871           Do not use GST_PTR_FORMAT on pointers to types with
11872           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11873         * testsuite/elements/property.h:
11874           use correct printf format
11875
11876 2005-05-02  Wim Taymans  <wim@fluendo.com>
11877
11878         * docs/design/draft-push-pull.txt:
11879         * docs/design/draft-query.txt:
11880         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11881         (gst_basesrc_start):
11882         Added draft for new query API.
11883         Added draft for better selecting scheduling methods.
11884         Make basesrc ignore length if the subclass does not support
11885         it.
11886
11887 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11888
11889         * gst/Makefile.am:
11890           possible fixes for automake-1.5 - _LIBADD is reserved
11891
11892 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11893
11894         * docs/faq/Makefile.am:
11895         * docs/manual/Makefile.am:
11896         * docs/manuals.mak:
11897         * docs/pwg/Makefile.am:
11898         * gst/Makefile.am:
11899           possible fixes for automake-1.5
11900
11901 2005-04-28  Wim Taymans  <wim@fluendo.com>
11902
11903         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11904         (gst_basesink_pad_getcaps), (gst_basesink_init),
11905         (gst_basesink_do_sync):
11906         * gst/gstclock.c: (gst_clock_entry_new):
11907         * gst/gstevent.c: (gst_event_discont_get_value):
11908         * gst/gstpipeline.c: (pipeline_bus_handler),
11909         (gst_pipeline_change_state):
11910         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11911         Better debugging of clocking info.
11912         Allow NULL values when getting discont values.
11913
11914 2005-04-27  Wim Taymans  <wim@fluendo.com>
11915
11916         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11917         * check/gst/gstpad.c: (gst_pad_suite):
11918         Increase timeout for checks.
11919
11920 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11921
11922         * check/Makefile.am:
11923           fix the broken rule for cleanup.  Apparently this rule is
11924           only needed on FC2, so maybe this warrants further autotool
11925           inspection.
11926
11927 2005-04-26  Wim Taymans  <wim@fluendo.com>
11928
11929         * gst/gsttrashstack.h:
11930         Ooohh. a nasty one! After having a failed pop() from the stack,
11931         it's possible that the stack is empty. In that case, don't
11932         follow the NULL pointer.
11933
11934 2005-04-25  Wim Taymans  <wim@fluendo.com>
11935
11936         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11937         (gst_pad_set_checkgetrange_function),
11938         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11939         (gst_pad_check_pull_range), (gst_pad_pull_range),
11940         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11941         (gst_pad_pause_task), (gst_pad_stop_task):
11942         * gst/gstplugin.c: (gst_plugin_load):
11943         * gst/gstplugin.h:
11944         Remove gst_library_load as it does more harm than good with
11945         the new g_module flags.
11946         Revert bogus caps template check in pad linking, pad caps
11947         are important when linking not the template, which is more
11948         general than the current caps.
11949
11950 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11951
11952         * gst/autoplug/.cvsignore:
11953         * gst/autoplug/Makefile.am:
11954         * gst/autoplug/gstsearchfuncs.c:
11955         * gst/autoplug/gstsearchfuncs.h:
11956         * gst/autoplug/gstspider.c:
11957         * gst/autoplug/gstspider.h:
11958         * gst/autoplug/gstspideridentity.c:
11959         * gst/autoplug/gstspideridentity.h:
11960         * gst/autoplug/spidertest.c:
11961           Die, spider, die.
11962
11963 2005-04-25  Wim Taymans  <wim@fluendo.com>
11964
11965         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11966         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11967         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11968         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11969         * gst/gstpad.h:
11970         Added stubs for unimplemented functions. 
11971
11972 2005-04-24  David Schleef  <ds@schleef.org>
11973
11974         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11975         please fix.
11976
11977 2005-04-24  David Schleef  <ds@schleef.org>
11978
11979         Convert everything from GstAtomicInt to g_atomic_int_*, and
11980         remove gstatomic.
11981         * gst/Makefile.am:
11982         * gst/gstatomic.c:
11983         * gst/gstatomic.h:
11984         * gst/gstatomic_impl.h:
11985         * gst/gstbuffer.c:
11986         * gst/gstcaps.c:
11987         * gst/gstcaps.h:
11988         * gst/gstclock.c:
11989         * gst/gstclock.h:
11990         * gst/gstdata.c:
11991         * gst/gstdata.h:
11992         * gst/gstdata_private.h:
11993         * gst/gstevent.c:
11994         * gst/gstinfo.c:
11995         * gst/gstinfo.h:
11996         * gst/gstmessage.c:
11997         * gst/gstobject.c:
11998         * gst/gstobject.h:
11999         * gst/gststructure.c:
12000         * gst/gststructure.h:
12001         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12002         * gst/gstutils.h:
12003
12004 2005-04-24  David Schleef  <ds@schleef.org>
12005
12006         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12007         make the regressions tests work.  Remove some code that is no
12008         longer true.
12009         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12010         Disable warning for pads without templates.
12011
12012 2005-04-24  David Schleef  <ds@schleef.org>
12013
12014         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
12015         functions that handle filtered links.
12016         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12017         removed functions.
12018         * gst/gstutils.c: Fix/remove utility functions that handle
12019         filtered caps.
12020         * gst/gstutils.h:
12021         * gst/gstvalue.c: Add serialization/deserialization of caps
12022         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
12023         requires fixing so that the filter caps notation creates
12024         a capsfilter element and sets the filter_caps property.  I
12025         think everyone probably wants to keep the shorthand notation.
12026         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12027         * docs/gst/tmpl/gstpad.sgml:
12028
12029         * gst/elements/gstelements.c: Register capsfilter element.
12030         * gst/Makefile.am: fix spacing
12031         * docs/random/ds/0.9-suggested-changes: random
12032
12033 2005-04-23  David Schleef  <ds@schleef.org>
12034
12035         * gst/elements/Makefile.am:
12036         * gst/elements/gstcapsfilter.c: New element that acts like an
12037         identity, but filters caps.  Will eventually replace filtered
12038         caps in pad linking.
12039         * gst/gstutils.c: (gst_element_create_all_pads): New function
12040         to create all the ALWAYS pads that are registered with an
12041         element class.  This functionality should eventually be
12042         merged in with GstElement initialization.
12043         * gst/gstutils.h:
12044         * testsuite/trigger/README: part of trigger test code that should
12045         have been checked in a long time ago.
12046
12047 2005-04-23  David Schleef  <ds@schleef.org>
12048
12049         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12050         needed with new versions of libtool (nobody will confirm this),
12051         and hard to carry around.
12052         * gst/autoplug/Makefile.am:
12053         * gst/base/Makefile.am:
12054         * gst/elements/Makefile.am:
12055         * gst/indexers/Makefile.am:
12056         * gst/schedulers/Makefile.am:
12057         * libs/gst/bytestream/Makefile.am:
12058         * libs/gst/control/Makefile.am:
12059         * libs/gst/dataprotocol/Makefile.am:
12060         * libs/gst/getbits/Makefile.am:
12061
12062 2005-04-21  Wim Taymans  <wim@fluendo.com>
12063
12064         * docs/design/draft-push-pull.txt:
12065         * docs/design/part-MT-refcounting.txt:
12066         * docs/design/part-TODO.txt:
12067         * docs/design/part-caps.txt:
12068         * docs/design/part-events.txt:
12069         * docs/design/part-gstbus.txt:
12070         * docs/design/part-gstpipeline.txt:
12071         * docs/design/part-messages.txt:
12072         * docs/design/part-push-pull.txt:
12073         * docs/design/part-query.txt:
12074         Some more docs.
12075
12076 2005-04-21  Wim Taymans  <wim@fluendo.com>
12077
12078         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12079         (gst_message_new), (gst_message_new_error),
12080         (gst_message_new_warning), (gst_message_new_tag),
12081         (gst_message_new_state_changed), (gst_message_new_application),
12082         (gst_message_get_structure):
12083         * gst/gstmessage.h:
12084         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12085         (gst_structure_copy_conditional):
12086         Use parent refcount in GstMessage to ensure GstStructure
12087         consistency.
12088         Cleaned up headers a bit.
12089         
12090
12091 2005-04-20  Wim Taymans  <wim@fluendo.com>
12092
12093         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12094         (gst_basesink_pad_getcaps), (gst_basesink_init),
12095         (gst_basesink_chain_unlocked):
12096         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12097         (gst_type_find_helper):
12098         * gst/elements/gsttypefindelement.c:
12099         (gst_type_find_element_have_type), (gst_type_find_element_init),
12100         (stop_typefinding), (gst_type_find_element_handle_event),
12101         (find_suggest), (gst_type_find_element_chain),
12102         (gst_type_find_element_checkgetrange),
12103         (gst_type_find_element_getrange), (do_typefind),
12104         (gst_type_find_element_activate):
12105         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12106         (gst_buffer_default_free), (gst_buffer_default_copy),
12107         (gst_buffer_set_caps):
12108         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12109         (gst_caps_replace):
12110         * gst/gstmessage.c: (gst_message_new),
12111         (gst_message_new_state_changed):
12112         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12113         (gst_pad_set_checkgetrange_function),
12114         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12115         (gst_pad_set_caps), (gst_pad_check_pull_range),
12116         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12117         * gst/gstpad.h:
12118         * gst/gsttypefind.c: (gst_type_find_register):
12119         Make gst_caps_replace() work like other _replace() functions.
12120         Use _caps_replace() where possible.
12121         Make sure _message_new() initialises its field.
12122         Add gst_static_pad_template_get_caps()
12123
12124
12125 2005-04-18  Andy Wingo  <wingo@pobox.com>
12126
12127         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12128         on the peer, not the pad. I think that was a typo. Pass an extra
12129         arg to see if random access is possible. Activate the pads as
12130         PULL_RANGE if possible.
12131
12132         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12133
12134         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12135         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12136         to PROP_....
12137
12138 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12139
12140         * docs/faq/using.xml:
12141           Add note on gstreamer-properties (#154996).
12142
12143 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12144
12145         * docs/random/bbb/optional-properties:
12146           Some analysis on optional properties.
12147
12148 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12149
12150         * docs/gst/tmpl/gstelementfactory.sgml:
12151         * gst/gstelement.h:
12152         * gst/gstelementfactory.c: (gst_element_factory_init),
12153         (gst_element_factory_cleanup), (gst_element_register),
12154         (__gst_element_factory_add_static_pad_template),
12155         (gst_element_factory_get_static_pad_templates),
12156         (gst_element_factory_can_src_caps),
12157         (gst_element_factory_can_sink_caps):
12158         * gst/registries/Makefile.am:
12159         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12160         (gst_xml_registry_class_init), (gst_xml_registry_init),
12161         (gst_xml_registry_new), (gst_xml_registry_set_property),
12162         (gst_xml_registry_get_property), (get_time), (make_dir),
12163         (gst_xml_registry_get_perms_func),
12164         (plugin_times_older_than_recurse), (plugin_times_older_than),
12165         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12166         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12167         (add_to_char_array), (read_string), (read_uint), (read_enum),
12168         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12169         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12170         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12171         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12172         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12173         (gst_xml_registry_rebuild):
12174         * gst/registries/gstlibxmlregistry.h:
12175         * tools/gst-compprep.c: (main):
12176         * tools/gst-inspect.c: (print_pad_templates_info):
12177         * tools/gst-xmlinspect.c: (print_element_info):
12178           Use libxml2 for registry parsing, use staticpadtemplates in
12179           elementfactories. Makes gst_init() +/- 10x faster.
12180
12181 2005-04-12  Wim Taymans  <wim@fluendo.com>
12182
12183         * gst/base/Makefile.am:
12184         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12185         (gst_basesink_pad_getcaps), (gst_basesink_init),
12186         (gst_basesink_event), (gst_basesink_change_state):
12187         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12188         (gst_basesrc_init), (gst_basesrc_query),
12189         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12190         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12191         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12192         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12193         (gst_basesrc_stop), (gst_basesrc_activate),
12194         (gst_basesrc_change_state):
12195         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12196         (helper_find_suggest), (gst_type_find_helper):
12197         * gst/base/gsttypefindhelper.h:
12198         * gst/elements/Makefile.am:
12199         * gst/elements/gstelements.c:
12200         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12201         (gst_fakesink_get_times), (gst_fakesink_event),
12202         (gst_fakesink_preroll), (gst_fakesink_render):
12203         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12204         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12205         (gst_fakesrc_get_property), (gst_fakesrc_create),
12206         (gst_fakesrc_start), (gst_fakesrc_stop):
12207         * gst/elements/gstfakesrc.h:
12208         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12209         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12210         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12211         (gst_filesrc_create_read), (gst_filesrc_create),
12212         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12213         (gst_filesrc_start):
12214         * gst/elements/gsttypefindelement.c:
12215         (gst_type_find_element_have_type), (gst_type_find_element_init),
12216         (start_typefinding), (stop_typefinding), (push_buffer_store),
12217         (gst_type_find_element_handle_event),
12218         (gst_type_find_element_chain),
12219         (gst_type_find_element_checkgetrange),
12220         (gst_type_find_element_getrange), (do_typefind),
12221         (gst_type_find_element_activate),
12222         (gst_type_find_element_change_state):
12223         * gst/elements/gsttypefindelement.h:
12224         * gst/gstpipeline.c: (pipeline_bus_handler):
12225         Added typefind helper.
12226         Small preroll fix in the base sink.
12227         Disable typefind code in basesrc.
12228         Crude port of typefindelement.
12229         Fakesrc cleanups.
12230
12231
12232 2005-04-11  Wim Taymans  <wim@fluendo.com>
12233
12234         * check/gst/gstbus.c: (gstbus_suite):
12235         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12236         * check/gstcheck.h:
12237           Fix up the timeout so that the test does not fail.
12238
12239 2005-04-06  Wim Taymans  <wim@fluendo.com>
12240
12241         * gst/base/README:
12242         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12243         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12244         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12245         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12246         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12247         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12248         (gst_basesrc_stop), (gst_basesrc_activate),
12249         (gst_basesrc_change_state), (basesrc_find_peek),
12250         (basesrc_find_suggest), (gst_basesrc_type_find):
12251         * gst/base/gstbasesrc.h:
12252         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12253         (gst_filesrc_class_init), (gst_filesrc_init),
12254         (gst_filesrc_finalize), (gst_filesrc_set_location),
12255         (gst_filesrc_set_property), (gst_filesrc_get_property),
12256         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12257         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12258         (gst_filesrc_create_read), (gst_filesrc_create),
12259         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12260         * gst/elements/gstfilesrc.h:
12261         * gst/gstelement.c: (gst_element_get_state_func),
12262         (gst_element_lost_state), (gst_element_pads_activate):
12263         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12264         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12265         (gst_pad_pull_range):
12266         * gst/gstpad.h:
12267         More work on the generic source base class, implement seeking,
12268         query.
12269         Make filesrc extend the base source class.
12270         Added gst_pad_set_checkgetrange_function to GstPad.
12271
12272 2005-04-06  Andy Wingo  <wingo@pobox.com>
12273
12274         * pkgconfig/gstreamer-base.pc.in:
12275         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12276
12277         * pkgconfig/Makefile.am:
12278         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12279
12280 2005-04-04  Wim Taymans  <wim@fluendo.com>
12281
12282         * gst/base/Makefile.am:
12283         * gst/base/README:
12284         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12285         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12286         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12287         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12288         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12289         (gst_basesrc_base_init), (gst_basesrc_class_init),
12290         (gst_basesrc_init), (gst_basesrc_get_formats),
12291         (gst_basesrc_get_query_types), (gst_basesrc_query),
12292         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12293         (gst_basesrc_set_property), (gst_basesrc_get_property),
12294         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12295         (gst_basesrc_loop), (gst_basesrc_activate),
12296         (gst_basesrc_change_state):
12297         * gst/base/gstbasesrc.h:
12298         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12299         (gst_fakesrc_class_init), (gst_fakesrc_init),
12300         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12301         (gst_fakesrc_get_property), (gst_fakesrc_create):
12302         * gst/elements/gstfakesrc.h:
12303         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12304         (gst_filesrc_open_file), (gst_filesrc_loop),
12305         (gst_filesrc_activate), (filesrc_find_peek),
12306         (gst_filesrc_type_find):
12307         Made base source class, make fakesrc extend it.
12308         Add comments to basesink class.
12309         Some filesrc cleanup.
12310
12311 2005-03-31  David Schleef  <ds@schleef.org>
12312
12313         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12314         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12315         expected to link against libgstreamer.
12316         * gst/base/Makefile.am: link against libgstreamer
12317         * gst/elements/Makefile.am: same
12318
12319 2005-03-31  Andy Wingo  <wingo@pobox.com>
12320
12321         * tests/instantiate/Makefile.am:
12322         * tests/instantiate/caps.c: Add test to test speed of caps copy
12323         and free.
12324
12325         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12326         GMemChunk to be fair.
12327
12328         * gst/gsttrashstack.h: Remove warning about using the fallback
12329         trash stack implementation, it's still faster than malloc.
12330
12331 2005-03-30  Andy Wingo  <wingo@pobox.com>
12332
12333         * tests/complexity.c: Add a copyright.
12334
12335 2005-03-31  Wim Taymans  <wim@fluendo.com>
12336
12337         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12338         (gst_base_transform_class_init), (gst_base_transform_init),
12339         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12340         (gst_base_transform_get_property),
12341         (gst_base_transform_sink_activate),
12342         (gst_base_transform_src_activate),
12343         (gst_base_transform_change_state):
12344         * gst/base/gstbasetransform.h:
12345         * gst/elements/gstidentity.c: (gst_identity_class_init),
12346         (gst_identity_event), (gst_identity_check_perfect),
12347         (gst_identity_transform), (gst_identity_start),
12348         (gst_identity_stop):
12349         Added start/stop methods to transform base class so subclasses 
12350         don't need to deal with state changes even.
12351
12352 2005-03-31  Wim Taymans  <wim@fluendo.com>
12353
12354         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12355         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12356         * gst/gstevent.h:
12357         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12358         (gst_pad_pull_range):
12359         Added rate to the discont event to prepare for variable speed
12360         and reverse playback.
12361
12362 2005-03-29  David Schleef  <ds@schleef.org>
12363
12364         * configure.ac:
12365         * testsuite/trigger/Makefile.am:
12366         * testsuite/trigger/trigger.c: A little example program to show
12367         how trigger-based elements can work.
12368
12369 2005-03-29  Wim Taymans  <wim@fluendo.com>
12370
12371         * gst/base/Makefile.am:
12372         * gst/base/README:
12373         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12374         (gst_basesink_base_init), (gst_basesink_class_init),
12375         (gst_basesink_pad_getcaps), (gst_basesink_init),
12376         (gst_basesink_activate), (gst_basesink_change_state):
12377         * gst/base/gstbasesink.h:
12378         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12379         (gst_base_transform_base_init), (gst_base_transform_finalize),
12380         (gst_base_transform_class_init), (gst_base_transform_init),
12381         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12382         (gst_base_transform_event), (gst_base_transform_getrange),
12383         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12384         (gst_base_transform_set_property),
12385         (gst_base_transform_get_property),
12386         (gst_base_transform_sink_activate),
12387         (gst_base_transform_src_activate),
12388         (gst_base_transform_change_state):
12389         * gst/base/gstbasetransform.h:
12390         * gst/elements/gstidentity.c: (gst_identity_finalize),
12391         (gst_identity_class_init), (gst_identity_init),
12392         (gst_identity_event), (gst_identity_check_perfect),
12393         (gst_identity_transform), (gst_identity_set_property),
12394         (gst_identity_get_property), (gst_identity_change_state):
12395         * gst/elements/gstidentity.h:
12396         * gst/gstelement.c: (gst_element_get_state_func),
12397         (gst_element_lost_state), (gst_element_pads_activate):
12398         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12399         (gst_pad_check_pull_range), (gst_pad_pull_range):
12400         * gst/gstpad.h:
12401         Simplify pad activation.
12402         Added function to check if pull_range can be performed.
12403         Error out when pulling inactive or flushing pads.
12404         Removed const from refcounted types as it does not make sense.
12405         Simplify pad templates in basesink
12406         Added base class for simple 1-to-1 transforms.
12407         Make identity subclass the base transform.
12408
12409 2005-03-29  Andy Wingo  <wingo@pobox.com>
12410
12411         * docs/libs/gstreamer-libs-overrides.txt: 
12412         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12413         really don't understand what's going on, but like whatever. I want
12414         green buildbot!
12415
12416         * docs/gst/Makefile.am:
12417         * docs/libs/Makefile.am: Dist the overrides files.
12418
12419         * check/Makefile.am (clean-local): Remove .libs directories.
12420
12421         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12422         elements to EXTRA_DIST, so po/ files are happy.
12423
12424         * po/POTFILES.in: Er, remove it here.
12425
12426         * po/POTFILES: Remove gstspider.c.
12427
12428         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12429
12430         * docs/libs/gstreamer-libs-docs.sgml: 
12431         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12432         bytestream.
12433
12434         * tests/complexity.c (main): Set the length of the preroll queue
12435         on the sinks to prevent a lockup.
12436
12437         * libs/gst/dataprotocol/Makefile.am: 
12438         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12439         the same as the one in check/gst-libs/gdp.c.
12440
12441         * po/, docs/gst/: Commit automatic changes to docs and po files.
12442
12443         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12444         the versioned libgstbase.
12445
12446         * check/Makefile.am: Depend on an unversioned gst-register, seems
12447         to make autoconf happier.
12448
12449         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12450
12451 2005-03-28  Wim Taymans  <wim@fluendo.com>
12452
12453         * configure.ac:
12454         * docs/design/part-gstelement.txt:
12455         * docs/design/part-negotiation.txt:
12456         * docs/design/part-preroll.txt:
12457         * docs/design/part-scheduling.txt:
12458         * docs/design/part-states.txt:
12459         * gst/Makefile.am:
12460         * gst/base/Makefile.am:
12461         * gst/base/README:
12462         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12463         (gst_basesink_base_init), (gst_basesink_class_init),
12464         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12465         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12466         (gst_basesink_set_pad_functions),
12467         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12468         (gst_basesink_set_property), (gst_basesink_get_property),
12469         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12470         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12471         (gst_basesink_preroll_queue_push),
12472         (gst_basesink_preroll_queue_empty),
12473         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12474         (gst_basesink_event), (gst_basesink_get_times),
12475         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12476         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12477         (gst_basesink_loop), (gst_basesink_activate),
12478         (gst_basesink_change_state):
12479         * gst/base/gstbasesink.h:
12480         * gst/elements/Makefile.am:
12481         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12482         (gst_fakesink_class_init), (gst_fakesink_init),
12483         (gst_fakesink_set_property), (gst_fakesink_get_property),
12484         (gst_fakesink_get_times), (gst_fakesink_event),
12485         (gst_fakesink_preroll), (gst_fakesink_render),
12486         (gst_fakesink_change_state):
12487         * gst/elements/gstfakesink.h:
12488         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12489         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12490         * gst/gstelement.c: (gst_element_add_pad),
12491         (gst_element_get_state_func), (gst_element_abort_state),
12492         (gst_element_commit_state), (gst_element_lost_state),
12493         (gst_element_set_state), (gst_element_pads_activate):
12494         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12495         * gst/gstpipeline.c: (gst_pipeline_send_event),
12496         (gst_pipeline_change_state):
12497         Added state change code.
12498         Added/updated docs.
12499         Added sink base class, make fakesink extend the base class.
12500         Small cleanups in GstPipeline.
12501
12502 2005-03-26  David Schleef  <ds@schleef.org>
12503
12504         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12505         is broken and should be implemented in a different library.
12506         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12507         * gst/gst.h: remove gstcpu.h
12508         * gst/gstcpu.c: remove
12509         * gst/gstcpu.h: remove
12510         * gst/Makefile.am.future: Remove this file.  It's ancient.
12511
12512 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12513
12514         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12515         (gst_bin_send_event):
12516           Add default event/set_manager handlers. The set_manager handler
12517           takes care that the manager is distributed over kids that were
12518           already in the bin before the manager was set. The event handler
12519           is a utility virtual function that sends the event over all sinks,
12520           so that gst_element_send_event (bin, event); has the expected
12521           behaviour.
12522         * gst/gstpad.c: (gst_pad_event_default):
12523           Re-install default event handling for discontinuities, so that
12524           seeking works without requiring hacks in applications or extra
12525           code in sinks.
12526         * gst/gstpipeline.c: (gst_pipeline_class_init),
12527         (gst_pipeline_send_event):
12528           Half hack, half utility: set a pipeline to PAUSED for seek events,
12529           since that is the only way we can guarantee a/v sync. Means that
12530           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12531           and it "just works".
12532
12533 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12534
12535         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12536           Lock/unlock mismatch.
12537
12538 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12539
12540         * docs/faq/gst-uninstalled:
12541           add gst-plugins-base
12542         * docs/gst/Makefile.am:
12543           don't error out until docs are fixed
12544         * docs/gst/gstreamer.types:
12545           remove thread
12546
12547 2005-03-22  Wim Taymans  <wim@fluendo.com>
12548
12549         * check/Makefile.am:
12550         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12551         * gst/gststructure.c: (gst_structure_set_valist),
12552         (gst_structure_copy_conditional):
12553         Activated more tests.
12554         Added message test.
12555         Added G_TYPE_POINTER to GstStructure.
12556         
12557
12558 2005-03-22  Wim Taymans  <wim@fluendo.com>
12559
12560         * docs/design/part-TODO.txt:
12561         * docs/design/part-events.txt:
12562         * docs/design/part-gstbin.txt:
12563         * docs/design/part-gstbus.txt:
12564         * docs/design/part-gstpipeline.txt:
12565         * docs/design/part-messages.txt:
12566         * gst/gstbus.c:
12567         * gst/gstmessage.c:
12568         Docs updates
12569
12570 2005-03-21  Wim Taymans  <wim@fluendo.com>
12571
12572         * gst/gstbus.c: (gst_bus_post):
12573         Fix copy-and-paste error.
12574
12575 2005-03-21  Wim Taymans  <wim@fluendo.com>
12576
12577         * check/Makefile.am:
12578         * gst/Makefile.am:
12579         * gst/elements/Makefile.am:
12580         * gst/elements/gstelements.c:
12581         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12582         (gst_fakesink_event), (gst_fakesink_chain):
12583         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12584         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12585         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12586         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12587         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12588         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12589         (gst_fakesrc_loop), (gst_fakesrc_activate),
12590         (gst_fakesrc_change_state):
12591         * gst/elements/gstfakesrc.h:
12592         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12593         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12594         (gst_filesrc_open_file), (gst_filesrc_loop),
12595         (gst_filesrc_activate), (gst_filesrc_change_state),
12596         (filesrc_find_peek), (filesrc_find_suggest),
12597         (gst_filesrc_type_find):
12598         * gst/elements/gstidentity.c: (gst_identity_finalize),
12599         (gst_identity_class_init), (gst_identity_init),
12600         (gst_identity_proxy_getcaps), (identity_queue_push),
12601         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12602         (gst_identity_getrange), (gst_identity_chain),
12603         (gst_identity_sink_loop), (gst_identity_src_loop),
12604         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12605         (gst_identity_set_property), (gst_identity_get_property),
12606         (gst_identity_change_state):
12607         * gst/elements/gstidentity.h:
12608         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12609         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12610         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12611         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12612         (gst_tee_sink_activate):
12613         * gst/elements/gsttee.h:
12614         * gst/gst.c: (gst_register_core_elements), (init_post):
12615         * gst/gst.h:
12616         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12617         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12618         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12619         (gst_bin_change_state):
12620         * gst/gstbin.h:
12621         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12622         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12623         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12624         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12625         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12626         (bus_watch_callback), (bus_watch_destroy),
12627         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12628         (poll_timeout), (gst_bus_poll):
12629         * gst/gstbus.h:
12630         * gst/gstcaps.h:
12631         * gst/gstdata.h:
12632         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12633         (gst_element_post_message), (gst_element_message_full),
12634         (gst_element_get_state_func), (gst_element_get_state),
12635         (gst_element_abort_state), (gst_element_commit_state),
12636         (gst_element_lost_state), (gst_element_set_state),
12637         (gst_element_pads_activate), (gst_element_change_state),
12638         (gst_element_dispose), (gst_element_set_manager_func),
12639         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12640         (gst_element_set_manager), (gst_element_get_manager),
12641         (gst_element_set_bus), (gst_element_get_bus),
12642         (gst_element_set_scheduler), (gst_element_get_scheduler):
12643         * gst/gstelement.h:
12644         * gst/gstevent.c: (gst_event_new_segment_seek),
12645         (gst_event_new_flush):
12646         * gst/gstevent.h:
12647         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12648         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12649         (gst_message_new_eos), (gst_message_new_error),
12650         (gst_message_new_warning), (gst_message_new_tag),
12651         (gst_message_new_state_changed), (gst_message_new_application),
12652         (gst_message_get_structure), (gst_message_parse_tag),
12653         (gst_message_parse_state_changed), (gst_message_parse_error),
12654         (gst_message_parse_warning):
12655         * gst/gstmessage.h:
12656         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12657         (gst_real_pad_set_property), (gst_pad_set_active),
12658         (gst_pad_is_active), (gst_pad_set_blocked_async),
12659         (gst_pad_set_blocked), (gst_pad_is_blocked),
12660         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12661         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12662         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12663         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12664         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12665         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12666         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12667         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12668         (gst_pad_set_caps), (gst_pad_configure_sink),
12669         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12670         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12671         (gst_real_pad_dispose), (gst_real_pad_finalize),
12672         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12673         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12674         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12675         * gst/gstpad.h:
12676         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12677         (pipeline_bus_handler), (gst_pipeline_change_state),
12678         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12679         * gst/gstpipeline.h:
12680         * gst/gstprobe.h:
12681         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12682         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12683         (gst_queue_link_src), (gst_queue_bufferalloc),
12684         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12685         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12686         (gst_queue_loop), (gst_queue_handle_src_event),
12687         (gst_queue_handle_src_query), (gst_queue_src_activate),
12688         (gst_queue_change_state):
12689         * gst/gstqueue.h:
12690         * gst/gstscheduler.c: (gst_scheduler_init),
12691         (gst_scheduler_dispose), (gst_scheduler_create_task),
12692         (gst_scheduler_factory_create):
12693         * gst/gstscheduler.h:
12694         * gst/gststructure.c: (gst_structure_get_type),
12695         (gst_structure_copy_conditional):
12696         * gst/gststructure.h:
12697         * gst/gsttaginterface.h:
12698         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12699         (gst_task_init), (gst_task_dispose), (gst_task_create),
12700         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12701         (gst_task_pause):
12702         * gst/gsttask.h:
12703         * gst/gstthread.c:
12704         * gst/gstthread.h:
12705         * gst/gsttypes.h:
12706         * gst/schedulers/Makefile.am:
12707         * gst/schedulers/cothreads_compat.h:
12708         * gst/schedulers/entryscheduler.c:
12709         * gst/schedulers/faircothreads.c:
12710         * gst/schedulers/faircothreads.h:
12711         * gst/schedulers/fairscheduler.c:
12712         * gst/schedulers/gstbasicscheduler.c:
12713         * gst/schedulers/gstoptimalscheduler.c:
12714         * gst/schedulers/gthread-cothreads.h:
12715         * gst/schedulers/threadscheduler.c:
12716         (gst_thread_scheduler_task_get_type),
12717         (gst_thread_scheduler_task_class_init),
12718         (gst_thread_scheduler_task_init),
12719         (gst_thread_scheduler_task_start),
12720         (gst_thread_scheduler_task_stop),
12721         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12722         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12723         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12724         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12725         (plugin_init):
12726         * libs/gst/Makefile.am:
12727         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12728         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12729         (gst_file_pad_parent_set):
12730         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12731         (gst_dp_event_from_packet):
12732         * tests/complexity.c: (main):
12733         * tests/mass_elements.c: (main):
12734         * testsuite/states/locked.c: (message_received), (main):
12735         * testsuite/states/parent.c: (main):
12736         * tools/gst-inspect.c: (print_element_flag_info),
12737         (print_implementation_info), (print_pad_info):
12738         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12739         (main):
12740         * tools/gst-md5sum.c: (event_loop), (main):
12741         * tools/gst-typefind.c: (main):
12742         * tools/gst-xmlinspect.c: (print_element_info):
12743         Next big merge.
12744         Added GstBus for mainloop integration.
12745         Added GstMessage for sending notifications on the bus.
12746         Added GstTask as an abstraction for pipeline entry points.
12747         Removed GstThread.
12748         Removed Schedulers.
12749         Simplified GstQueue for multithreaded core.
12750         Made _link threadsafe, removed old capsnego.
12751         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12752         Added pad blocking functions.
12753         Reworked scheduling functions in GstPad to prepare for
12754         scheduling updates soon.
12755         Moved events out of data stream.
12756         Simplified GstEvent types.
12757         Added return values to push/pull.
12758         Removed clocking from GstElement.
12759         Added prototypes for state change function for next merge.
12760         Removed iterate from bins and state change management.
12761         Fixed some elements, disabled others for now.
12762         Fixed -inspect and -launch.
12763         Added check for GstBus.
12764
12765 2005-03-10  Wim Taymans  <wim@fluendo.com>
12766
12767         * docs/design/part-MT-refcounting.txt:
12768         * docs/design/part-clocks.txt:
12769         * docs/design/part-gstelement.txt:
12770         * docs/design/part-gstobject.txt:
12771         * docs/design/part-standards.txt:
12772         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12773         (gst_bin_remove_func), (gst_bin_remove):
12774         * gst/gstbin.h:
12775         * gst/gstbuffer.c:
12776         * gst/gstcaps.h:
12777         * testsuite/clock/clock1.c: (main):
12778         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12779         (main):
12780         * testsuite/dlopen/loadgst.c: (do_test):
12781         * testsuite/refcounting/bin.c: (add_remove_test1),
12782         (add_remove_test2), (main):
12783         * testsuite/refcounting/element.c: (main):
12784         * testsuite/refcounting/element_pad.c: (main):
12785         * testsuite/refcounting/pad.c: (main):
12786         * tools/gst-launch.c: (sigint_handler_sighandler):
12787         * tools/gst-typefind.c: (main):
12788         Doc updates.
12789         Added doc about clock.
12790         removed gst_bin_iterate_recurse_up(), marked methods
12791         for removal.
12792         Fix more testsuites.
12793
12794 2005-03-09  Wim Taymans  <wim@fluendo.com>
12795
12796         * gst/gstpad.c: (gst_pad_get_direction),
12797         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12798         (gst_pad_collect_valist):
12799         * testsuite/bins/interface.c: (main):
12800         * testsuite/caps/audioscale.c: (test_caps):
12801         * testsuite/caps/caps.c: (test1), (test2), (test3):
12802         * testsuite/caps/deserialize.c: (main):
12803         * testsuite/caps/enumcaps.c: (main):
12804         * testsuite/caps/filtercaps.c: (main):
12805         * testsuite/caps/intersect2.c: (main):
12806         * testsuite/caps/random.c: (main):
12807         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12808         * testsuite/caps/sets.c: (check_caps):
12809         * testsuite/caps/simplify.c: (check_caps), (main):
12810         * testsuite/caps/subtract.c: (check_caps):
12811         Fix _pad_get_direction wrt ghostpads.
12812         Fix caps testsuite.
12813
12814 2005-03-09  Wim Taymans  <wim@fluendo.com>
12815
12816         * check/Makefile.am:
12817         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12818         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12819         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12820         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12821         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12822         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12823         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12824         (bin_element_is_sink), (gst_bin_iterate_sinks),
12825         (gst_bin_iterate_all_by_interface):
12826         * gst/gstbin.h:
12827         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12828         (gst_element_change_state), (gst_element_dispose),
12829         (gst_element_finalize), (gst_element_set_loop_function):
12830         * gst/gstelement.h:
12831         * gst/gstiterator.c: (find_custom_fold_func):
12832         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12833         (gst_pad_collectv), (gst_pad_collect_valist),
12834         (gst_pad_template_new):
12835         * gst/gstpipeline.c: (gst_pipeline_class_init),
12836         (gst_pipeline_dispose), (gst_pipeline_set_property),
12837         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12838         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12839         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12840         * gst/gstutils.h:
12841         * gst/schedulers/entryscheduler.c:
12842         * gst/schedulers/gstbasicscheduler.c:
12843         (gst_basic_scheduler_cothreaded_chain),
12844         (gst_basic_scheduler_chain_add_element):
12845         * testsuite/bins/interface.c: (main):
12846         Added GstBin test.
12847         Added GstSystemClock test.
12848         Implemented clock distribution code in GstBin.
12849         Implemented iterate sinks method for future use.
12850         Rearranged gstelement.h
12851         Fix GstIterator comparison bug.
12852         Moved some code to GstPipeline, mostly clocking related.
12853
12854 2005-03-09  Wim Taymans  <wim@fluendo.com>
12855
12856         * configure.ac:
12857         * gst/gst_private.h:
12858         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12859         (gst_bin_remove_func), (gst_bin_remove),
12860         (gst_bin_get_by_name_recurse_up):
12861         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12862         (gst_clock_id_compare_func), (gst_clock_id_wait),
12863         (gst_clock_id_wait_async), (gst_clock_init),
12864         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12865         * gst/gstelement.h:
12866         * gst/gstinfo.c: (_gst_debug_init):
12867         * gst/gstobject.h:
12868         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12869         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12870         * gst/gstpad.h:
12871         Bump version number, we're now 0.9.0
12872         Add future debugging category.
12873         Fix NULL _unref() in _get_by_name_recurse_up
12874         Rearrange gstpad.h.
12875         Update some docs.
12876
12877 2005-03-08  Wim Taymans  <wim@fluendo.com>
12878
12879         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12880         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12881         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12882         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12883         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12884         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12885         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12886         * gst/elements/gstidentity.c: (gst_identity_class_init):
12887         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12888         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12889         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12890         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12891         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12892         (gst_tee_link):
12893         * gst/gstelement.c: (gst_element_class_init),
12894         (gst_element_base_class_init), (gst_element_init),
12895         (gst_element_get_random_pad), (gst_element_wait_state_change),
12896         (gst_element_change_state), (gst_element_dispose),
12897         (gst_element_finalize), (gst_element_set_loop_function):
12898         * gst/gstelement.h:
12899         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12900         * gst/gstthread.c: (gst_thread_class_init),
12901         (gst_thread_release_children_locks), (gst_thread_change_state):
12902         * gst/schedulers/gstbasicscheduler.c:
12903         (gst_basic_scheduler_loopfunc_wrapper),
12904         (gst_basic_scheduler_chain_wrapper),
12905         (gst_basic_scheduler_src_wrapper),
12906         (gst_basic_scheduler_remove_element):
12907         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12908         Remove threadsafe properties. Fix elements because GObject
12909         complains when installing a property before declaring a
12910         set/get_property handler.
12911         Rearrange gstelement.h file, use STATE macros for state locks.
12912         Free mutexes in the finalize method instead of dispose.
12913
12914 2005-03-08  Wim Taymans  <wim@fluendo.com>
12915
12916         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12917         * gst/gstthread.c: (gst_thread_release_children_locks):
12918         Added parentage check.
12919         Fix build og GstThread again.
12920
12921 2005-03-08  Wim Taymans  <wim@fluendo.com>
12922
12923         * docs/design/part-MT-refcounting.txt:
12924         * docs/design/part-conventions.txt:
12925         * docs/design/part-gstobject.txt:
12926         * docs/design/part-relations.txt:
12927         * docs/design/part-standards.txt:
12928         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12929         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12930         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12931         (gst_bin_iterate_all_by_interface):
12932         * gst/gstbuffer.h:
12933         * gst/gstclock.h:
12934         * gst/gstelement.c: (gst_element_class_init),
12935         (gst_element_change_state), (gst_element_set_loop_function):
12936         * gst/gstelement.h:
12937         * gst/gstiterator.c:
12938         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12939         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12940         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12941         (gst_object_set_parent), (gst_object_unparent),
12942         (gst_object_check_uniqueness):
12943         * gst/gstobject.h:
12944         Docs updates, clean up some headers.
12945
12946 2005-03-07  Wim Taymans  <wim@fluendo.com>
12947
12948         * check/.cvsignore:
12949         * check/Makefile.am:
12950         * check/gst-libs/.cvsignore:
12951         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12952         * check/gst/.cvsignore:
12953         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12954         (START_TEST), (gstbus_suite), (main):
12955         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12956         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12957         (gst_data_suite), (main):
12958         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12959         (add_fold_func), (gstiterator_suite), (main):
12960         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12961         (thread_name_object), (thread_name_object_default),
12962         (gst_object_name_compare), (gst_object_suite), (main):
12963         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12964         (gst_pad_suite), (main):
12965         * check/gstcheck.c: (gst_check_log_message_func),
12966         (gst_check_log_critical_func), (gst_check_init):
12967         * check/gstcheck.h:
12968         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12969         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12970         Added checks.
12971
12972 2005-03-07  Wim Taymans  <wim@fluendo.com>
12973
12974         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12975         (gst_list_iterator_next), (gst_list_iterator_resync),
12976         (gst_list_iterator_free), (gst_iterator_new_list),
12977         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12978         (gst_iterator_free), (gst_iterator_push), (filter_next),
12979         (filter_resync), (filter_uninit), (filter_free),
12980         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12981         (gst_iterator_foreach), (find_custom_fold_func),
12982         (gst_iterator_find_custom):
12983         * gst/gstiterator.h:
12984         Added missing files.
12985
12986 2005-03-07  Wim Taymans  <wim@fluendo.com>
12987
12988         * Makefile.am:
12989         * configure.ac:
12990         * docs/design/part-MT-refcounting.txt:
12991         * docs/design/part-conventions.txt:
12992         * docs/design/part-gstobject.txt:
12993         * docs/design/part-relations.txt:
12994         * examples/mixer/mixer.c: (main):
12995         * examples/thread/thread.c: (eos), (main):
12996         * gst/Makefile.am:
12997         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12998         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12999         (gst_spider_plug_from_srcpad):
13000         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13001         (gst_spider_identity_change_state),
13002         (gst_spider_identity_sink_loop_type_finding):
13003         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13004         * gst/elements/gstidentity.c: (gst_identity_init):
13005         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13006         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13007         * gst/elements/gsttypefindelement.c: (free_entry):
13008         * gst/gst.c:
13009         * gst/gst.h:
13010         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13011         (gst_bin_set_clock_func), (gst_bin_auto_clock),
13012         (gst_bin_set_index), (gst_bin_set_element_sched),
13013         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13014         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13015         (gst_bin_iterate_elements), (iterate_child_recurse),
13016         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13017         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13018         (compare_interface), (gst_bin_get_by_interface),
13019         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13020         * gst/gstbin.h:
13021         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13022         (gst_buffer_default_free), (gst_buffer_default_copy),
13023         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13024         (gst_buffer_create_sub):
13025         * gst/gstbuffer.h:
13026         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13027         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13028         (gst_caps_unref), (gst_static_caps_get),
13029         (gst_caps_remove_and_get_structure), (gst_caps_append),
13030         (gst_caps_append_structure), (gst_caps_remove_structure),
13031         (gst_caps_copy_nth), (gst_caps_set_simple),
13032         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13033         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13034         (gst_caps_structure_intersect_field), (gst_caps_intersect),
13035         (gst_caps_structure_subtract_field), (gst_caps_subtract),
13036         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13037         (gst_caps_structure_figure_out_union),
13038         (gst_caps_switch_structures), (gst_caps_do_simplify),
13039         (gst_caps_replace), (gst_caps_from_string),
13040         (gst_caps_copy_conditional):
13041         * gst/gstcaps.h:
13042         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13043         (_gst_clock_id_free), (gst_clock_id_unref),
13044         (gst_clock_id_compare_func), (gst_clock_id_wait),
13045         (gst_clock_id_wait_async), (gst_clock_class_init),
13046         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13047         (gst_clock_get_time), (gst_clock_set_time_adjust),
13048         (gst_clock_set_property), (gst_clock_get_property):
13049         * gst/gstclock.h:
13050         * gst/gstcompat.h:
13051         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13052         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13053         * gst/gstdata.h:
13054         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13055         (gst_element_requires_clock), (gst_element_provides_clock),
13056         (gst_element_set_clock), (gst_element_clock_wait),
13057         (gst_element_wait), (gst_element_set_time_delay),
13058         (gst_element_is_indexable), (gst_element_add_pad),
13059         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13060         (pad_compare_name), (gst_element_get_static_pad),
13061         (gst_element_request_pad), (gst_element_get_request_pad),
13062         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13063         (gst_element_class_get_pad_template_list),
13064         (gst_element_class_get_pad_template), (gst_element_error_func),
13065         (gst_element_get_random_pad), (gst_element_get_event_masks),
13066         (gst_element_send_event), (gst_element_seek),
13067         (gst_element_get_query_types), (gst_element_query),
13068         (gst_element_get_formats), (gst_element_convert),
13069         (gst_element_is_locked_state), (gst_element_set_locked_state),
13070         (gst_element_sync_state_with_parent), (gst_element_change_state),
13071         (gst_element_finalize), (gst_element_yield),
13072         (gst_element_interrupt), (gst_element_set_scheduler),
13073         (gst_element_get_scheduler), (gst_element_set_loop_function):
13074         * gst/gstelement.h:
13075         * gst/gstevent.h:
13076         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13077         (gst_format_get_by_nick), (gst_format_get_details),
13078         (gst_format_iterate_definitions):
13079         * gst/gstformat.h:
13080         * gst/gstindex.c: (gst_index_gtype_resolver):
13081         * gst/gstinfo.c:
13082         * gst/gstinfo.h:
13083         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13084         (gst_mem_chunk_free):
13085         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13086         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13087         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13088         (gst_object_dispatch_properties_changed),
13089         (gst_object_set_name_default), (gst_object_set_name),
13090         (gst_object_get_name), (gst_object_set_name_prefix),
13091         (gst_object_get_name_prefix), (gst_object_set_parent),
13092         (gst_object_get_parent), (gst_object_unparent),
13093         (gst_object_check_uniqueness), (gst_object_save_thyself),
13094         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13095         (gst_object_set_property), (gst_object_get_property),
13096         (gst_object_get_path_string):
13097         * gst/gstobject.h:
13098         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13099         (gst_real_pad_init), (gst_real_pad_get_property),
13100         (gst_pad_custom_new), (gst_pad_get_direction),
13101         (gst_pad_set_active), (gst_pad_is_active),
13102         (gst_pad_set_event_function), (gst_pad_is_linked),
13103         (gst_pad_link_free), (gst_pad_link_intersect),
13104         (gst_pad_link_fixate), (gst_pad_set_caps),
13105         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13106         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13107         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13108         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13109         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13110         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13111         (gst_pad_realize), (gst_pad_get_allowed_caps),
13112         (gst_real_pad_dispose), (gst_real_pad_finalize),
13113         (gst_pad_collectv), (gst_pad_collect_valist),
13114         (gst_pad_template_dispose), (gst_pad_template_new),
13115         (gst_pad_get_internal_links):
13116         * gst/gstpad.h:
13117         * gst/gstpipeline.c: (gst_pipeline_dispose),
13118         (gst_pipeline_change_state):
13119         * gst/gstpipeline.h:
13120         * gst/gstplugin.c:
13121         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13122         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13123         * gst/gstpluginfeature.h:
13124         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13125         * gst/gstquery.c: (_gst_query_type_initialize),
13126         (gst_query_type_register), (gst_query_type_get_by_nick),
13127         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13128         * gst/gstquery.h:
13129         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13130         * gst/gstscheduler.c: (gst_scheduler_add_element),
13131         (gst_scheduler_factory_create):
13132         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13133         (gst_structure_free), (gst_structure_set_name),
13134         (gst_structure_id_set_value), (gst_structure_set_value),
13135         (gst_structure_set_valist), (gst_structure_remove_field),
13136         (gst_structure_remove_fields),
13137         (gst_structure_remove_fields_valist),
13138         (gst_structure_remove_all_fields), (gst_structure_foreach),
13139         (gst_structure_map_in_place),
13140         (gst_caps_structure_fixate_field_nearest_int),
13141         (gst_caps_structure_fixate_field_nearest_double):
13142         * gst/gststructure.h:
13143         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13144         (gst_system_clock_init), (gst_system_clock_dispose),
13145         (gst_system_clock_async_thread),
13146         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13147         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13148         * gst/gstsystemclock.h:
13149         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13150         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13151         * gst/gsttaginterface.c:
13152         * gst/gstthread.c: (gst_thread_dispose),
13153         (gst_thread_release_children_locks), (gst_thread_change_state),
13154         (gst_thread_main_loop):
13155         * gst/gsttrashstack.h:
13156         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13157         * gst/gsttypes.h:
13158         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13159         (gst_element_request_pad), (gst_element_get_pad_from_template),
13160         (gst_element_request_compatible_pad),
13161         (gst_element_get_compatible_pad_filtered),
13162         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13163         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13164         (gst_element_link_many), (gst_element_link),
13165         (gst_element_link_pads), (gst_element_unlink_pads),
13166         (gst_element_unlink_many), (gst_element_unlink),
13167         (gst_pad_can_link_filtered), (gst_pad_can_link),
13168         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13169         (gst_object_default_error), (gst_bin_add_many),
13170         (gst_bin_remove_many), (gst_element_populate_std_props),
13171         (gst_element_class_install_std_props), (gst_buffer_merge),
13172         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13173         (link_fold_func), (gst_pad_proxy_setcaps):
13174         * gst/gstutils.h:
13175         * gst/gstvalue.c: (gst_value_deserialize_string):
13176         * gst/parse/grammar.y:
13177         * gst/schedulers/gstbasicscheduler.c:
13178         (gst_basic_scheduler_cothreaded_chain),
13179         (gst_basic_scheduler_chain_recursive_add),
13180         (gst_basic_scheduler_pad_link):
13181         * gst/schedulers/gstoptimalscheduler.c:
13182         (get_group_schedule_function),
13183         (gst_opt_scheduler_state_transition),
13184         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13185         * libs/gst/bytestream/bytestream.c:
13186         * libs/gst/dataprotocol/dataprotocol.c:
13187         (gst_dp_header_from_buffer):
13188         * po/nb.po:
13189         * po/ru.po:
13190         * tests/threadstate/threadstate2.c: (eos):
13191         * tools/gst-compprep.c: (main):
13192         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13193         (print_pad_info), (print_children_info):
13194         * tools/gst-launch.c: (idle_func), (main):
13195         * tools/gst-md5sum.c: (idle_func), (main):
13196         * tools/gst-xmlinspect.c: (print_element_info):
13197         First THREADED backport attempt, focusing on adding locks and
13198         making sure the API is threadsafe. Needs more work. More docs
13199         follow this week.
13200
13201 2005-02-24  Andy Wingo  <wingo@pobox.com>
13202
13203         * tests/bench-complexity.scm:
13204         * tests/complexity.gnuplot: New files, good for running complexity
13205         benchmarks.
13206
13207         * tests/Makefile.am:
13208         * tests/complexity.c: New test, sets up N elements, at each level
13209         teeing into M streams per element. Eeeenteresting.
13210
13211         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13212         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13213         running bench-mass_elements.scm.
13214
13215         * tests/bench-mass_elements.scm: New script, runs mass_elements
13216         for various numbers of identities, outputting the results to a
13217         file. Requires guile 1.6. Just for testing.
13218
13219 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13220
13221         * gst/schedulers/fairscheduler.c:
13222           compile with debug disabled
13223
13224 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13225
13226         * configure.ac:
13227           hunting season on 0.9 is now OPEN