libs/gst/base/gstcollectpads.c: Change debug category to 'collectpads' from 'collect_...
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
4           Change debug category to 'collectpads' from 'collect_pads'
5           (fixes #323250).
6
7 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
8
9         patch by: Sebastien Moutte
10
11         * libs/gst/controller/gstinterpolation.c:
12           use convert function for uint64/double
13         * win32/vs6/libgstcontroller.dsp:
14           link to GLib
15
16 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17
18         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
20         * gst/gstutils.h:
21         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
22           add tests that seem to show that the guint64/gdouble conversions
23           are correct.
24
25 2005-12-02  Wim Taymans  <wim@fluendo.com>
26
27         * gst/gstregistry.c: (gst_registry_add_path):
28         * gst/gstregistry.h:
29         * gst/gstregistryxml.c:
30         Fix docs again.
31
32 2005-12-02  Wim Taymans  <wim@fluendo.com>
33
34         * gst/gstutils.c: (gst_util_uint64_scale_int64),
35         (gst_util_uint64_scale_int):
36         Small cleanup.
37
38         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
39         Add debug log line.
40
41         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
42         Add FIXME.
43
44 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
45
46         * win32/MANIFEST:
47         * win32/common/config.h:
48         * win32/vs6/gstreamer.dsw:
49         * win32/vs6/libgstcoreelements.dsp:
50         * win32/vs6/libgstelements.dsp:
51           renamed core elements plugin
52
53 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
54
55         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
56         (get_candidates):
57           do piece-wise major/minor comparison so 0.9 < 0.10
58           also allow .exe extensions for tools
59
60 2005-12-02  Michael Smith  <msmith@fluendo.com>
61
62         * gst/gst.c:
63           Escape a % to make gtkdoc happier; bug 322958.
64
65 === release 0.9.7 ===
66
67 2005-12-01   <thomas (at) apestaart (dot) org>
68
69         * configure.ac:
70           releasing 0.9.7, "My Dog Has No Nose"
71
72 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
73
74         * common/gst-xmlinspect.py:
75         * configure.ac:
76         * docs/libs/tmpl/gstdataprotocol.sgml:
77         * docs/random/release:
78         * po/af.po:
79         * po/az.po:
80         * po/bg.po:
81         * po/ca.po:
82         * po/cs.po:
83         * po/de.po:
84         * po/en_GB.po:
85         * po/fr.po:
86         * po/it.po:
87         * po/nb.po:
88         * po/nl.po:
89         * po/ru.po:
90         * po/sq.po:
91         * po/sr.po:
92         * po/sv.po:
93         * po/tr.po:
94         * po/uk.po:
95         * po/vi.po:
96         * win32/common/config.h:
97         * win32/common/config.h.in:
98         * win32/vs6/gst_inspect.dsp:
99         * win32/vs6/gst_launch.dsp:
100         * win32/vs6/libgstbase.dsp:
101         * win32/vs6/libgstelements.dsp:
102         * win32/vs6/libgstreamer.dsp:
103         * win32/vs7/GStreamer.vcproj:
104         * win32/vs7/gst-inspect.vcproj:
105         * win32/vs7/gst-launch.vcproj:
106         * win32/vs7/libgstbase.vcproj:
107           bump GST_MAJORMINOR to 0.10
108           reset libtool version
109
110 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
111
112         * po/LINGUAS:
113         * po/bg.po:
114           Added Bulgarian translation by (Alexander Shopov)
115
116 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
117
118         * tests/check/gst/gstplugin.c:
119           fix test
120
121 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
122
123         * common/gst-xmlinspect.py:
124         * common/gtk-doc-plugins.mak:
125         * configure.ac:
126         * docs/Makefile.am:
127         * docs/gst/Makefile.am:
128         * docs/gst/gstreamer-docs.sgml:
129         * docs/gst/gstreamer-sections.txt:
130         * docs/gst/gstreamer.types:
131         * docs/gst/gstreamer.types.in:
132         * docs/plugins/Makefile.am:
133         * docs/plugins/gstreamer-plugins-docs.sgml:
134         * docs/plugins/gstreamer-plugins-sections.txt:
135         * docs/plugins/gstreamer-plugins.types:
136         * docs/plugins/inspect.stamp:
137         * docs/plugins/inspect/plugin-coreelements.xml:
138         * docs/plugins/inspect/plugin-coreindexers.xml:
139         * docs/plugins/scanobj-build.stamp:
140         * gstreamer.spec.in:
141         * plugins/elements/Makefile.am:
142         * plugins/elements/gstelements.c:
143         * plugins/elements/gstfakesink.c:
144         * plugins/elements/gstfakesrc.c:
145         * plugins/elements/gstfilesink.c:
146         * plugins/elements/gstfilesrc.c:
147         * plugins/elements/gstqueue.c:
148         * plugins/indexers/Makefile.am:
149         * plugins/indexers/gstindexers.c:
150           document core plugins in a separate document just like all the
151           others
152           rename these plugins to something starting with core
153
154 2005-12-01  Andy Wingo  <wingo@pobox.com>
155
156         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
157         padding here before, but it missed the commit.
158
159 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
160
161         * libs/gst/controller/gstinterpolation.c:
162           whitespace prices have crashed, we should feel free to use some now
163           use gst_guint64_to_gdouble
164
165 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
166
167         * libs/gst/controller/gstcontroller.c:
168         * libs/gst/controller/gsthelper.c:
169         * libs/gst/controller/gstinterpolation.c:
170         * libs/gst/controller/lib.c:
171           wrap config.h include
172
173 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
174
175         * docs/gst/gstreamer-sections.txt:
176           update docs
177
178 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
179
180         * plugins/elements/gstelements.c:
181         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
182         (gst_fd_sink__class_init), (gst_fd_sink__init),
183         (gst_fd_sink__chain), (gst_fd_sink__set_property),
184         (gst_fd_sink__get_property):
185         * plugins/elements/gstfdsink.h:
186         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
187         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
188         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
189         (gst_fd_src_unlock), (gst_fd_src_set_property),
190         (gst_fd_src_get_property), (gst_fd_src_create),
191         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
192         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
193         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
194         (gst_fd_src_uri_handler_init):
195         * plugins/elements/gstfdsrc.h:
196         * plugins/elements/gstqueue.c: (gst_queue_get_type):
197           more anal cleanup
198
199 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
200
201         * docs/gst/Makefile.am:
202         * docs/gst/gstreamer.types.in:
203         * gst/Makefile.am:
204           fix the docs build
205
206 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
207
208         * configure.ac:
209         * gst/Makefile.am:
210         * gst/gst.c:
211         * gst/gstplugin.h:
212         * gst/gstregistry.h:
213         * tests/benchmarks/complexity.c:
214         * tests/benchmarks/mass-elements.c:
215         * tests/check/Makefile.am:
216         * tools/Makefile.am:
217         * tools/gst-inspect.c:
218         * tools/gst-xmlinspect.c:
219           various fixes to make
220           --disable-nls --disable-registry --disable-loadsave
221           --disable-parse --disable-gst-debug
222           work and get the core .so down to 360444 bytes after stripping
223
224 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
225
226         * Makefile.am:
227         * configure.ac:
228           descend into tests
229         * docs/random/thomasvs/TODO:
230         * tests/Makefile.am:
231         * tests/README:
232           add a README
233
234 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
235
236         * win32/GStreamer.vcproj:
237         * win32/MANIFEST:
238         * win32/Makefile:
239         * win32/Makefile.inspect:
240         * win32/Makefile.launch:
241         * win32/Makefile.register:
242         * win32/README.txt:
243         * win32/gst-inspect.vcproj:
244         * win32/gst-launch.vcproj:
245         * win32/gst-register.vcproj:
246         * win32/gstelements.vcproj:
247         * win32/gstgetbits.def:
248         * win32/gstgetbits.vcproj:
249         * win32/gstreamer-dbg.def:
250         * win32/gstreamer.def:
251         * win32/libgstbase.def:
252         * win32/libgstbase.vcproj:
253         * win32/link_oldruntime.c:
254         * win32/mman.c:
255         * win32/mman.h:
256         * win32/mman.inl:
257         * win32/msvc71.sln:
258           move even more stuff, win32/ is nice and clean now
259
260 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
261
262         * libs/gst/control/.cvsignore:
263         * win32/MANIFEST:
264         * win32/config.h:
265         * win32/dirent.c:
266         * win32/dirent.h:
267         * win32/gstbytestream.def:
268         * win32/gstbytestream.vcproj:
269         * win32/gstconfig.h:
270         * win32/gstenumtypes.c:
271         * win32/gstenumtypes.h:
272         * win32/gstoptimalscheduler.vcproj:
273         * win32/gstversion.h:
274         * win32/gtchar.h:
275         * win32/testsuite/bins.vcproj:
276         * win32/testsuite/bytestream.vcproj:
277         * win32/testsuite/caps.vcproj:
278         * win32/testsuite/cleanup.vcproj:
279         * win32/testsuite/clock.vcproj:
280         * win32/testsuite/debug.vcproj:
281         * win32/testsuite/dlopen.vcproj:
282         * win32/testsuite/dynparams.vcproj:
283         * win32/testsuite/elements.vcproj:
284         * win32/testsuite/ghostpads.vcproj:
285         * win32/testsuite/indexers.vcproj:
286         * win32/testsuite/negotiation.vcproj:
287         * win32/testsuite/parse.vcproj:
288         * win32/testsuite/plugin.vcproj:
289         * win32/testsuite/refcounting.vcproj:
290         * win32/testsuite/schedulers.vcproj:
291         * win32/testsuite/states.vcproj:
292         * win32/testsuite/tags.vcproj:
293         * win32/testsuite/threads.vcproj:
294           remove old win32 stuff that isn't maintained and should be
295           reorganized
296
297 2005-11-30  Andy Wingo  <wingo@pobox.com>
298
299         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
300         loading the gst.interfaces python module bork.
301
302         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
303         available since GLib 2.2. Fixes #318031.
304
305 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
306
307         * Makefile.am:
308         * check/.cvsignore:
309         * check/Makefile.am:
310         * check/elements/.cvsignore:
311         * check/elements/fakesrc.c:
312         * check/elements/fdsrc.c:
313         * check/elements/identity.c:
314         * check/generic/.cvsignore:
315         * check/generic/states.c:
316         * check/gst-libs/.cvsignore:
317         * check/gst-libs/controller.c:
318         * check/gst-libs/gdp.c:
319         * check/gst/.cvsignore:
320         * check/gst/capslist.h:
321         * check/gst/gst.c:
322         * check/gst/gstbin.c:
323         * check/gst/gstbuffer.c:
324         * check/gst/gstbus.c:
325         * check/gst/gstcaps.c:
326         * check/gst/gstelement.c:
327         * check/gst/gstevent.c:
328         * check/gst/gstghostpad.c:
329         * check/gst/gstiterator.c:
330         * check/gst/gstmessage.c:
331         * check/gst/gstminiobject.c:
332         * check/gst/gstobject.c:
333         * check/gst/gstpad.c:
334         * check/gst/gstpipeline.c:
335         * check/gst/gstplugin.c:
336         * check/gst/gstsegment.c:
337         * check/gst/gststructure.c:
338         * check/gst/gstsystemclock.c:
339         * check/gst/gsttag.c:
340         * check/gst/gstutils.c:
341         * check/gst/gstvalue.c:
342         * check/net/.cvsignore:
343         * check/net/gstnetclientclock.c:
344         * check/net/gstnettimeprovider.c:
345         * check/pipelines/.cvsignore:
346         * check/pipelines/cleanup.c:
347         * check/pipelines/simple_launch_lines.c:
348         * check/pipelines/stress.c:
349         * check/states/.cvsignore:
350         * check/states/sinks.c:
351         * configure.ac:
352         * examples/Makefile.am:
353         * examples/appreader/.cvsignore:
354         * examples/appreader/Makefile.am:
355         * examples/appreader/appreader.c:
356         * examples/controller/.cvsignore:
357         * examples/controller/Makefile.am:
358         * examples/controller/audio-example.c:
359         * examples/cutter/.cvsignore:
360         * examples/cutter/Makefile.am:
361         * examples/cutter/cutter.c:
362         * examples/cutter/cutter.h:
363         * examples/events/Makefile.am:
364         * examples/events/seek.c:
365         * examples/helloworld/.cvsignore:
366         * examples/helloworld/Makefile.am:
367         * examples/helloworld/helloworld.c:
368         * examples/helloworld2/.cvsignore:
369         * examples/helloworld2/Makefile.am:
370         * examples/helloworld2/helloworld2.c:
371         * examples/launch/.cvsignore:
372         * examples/launch/Makefile.am:
373         * examples/launch/mp3parselaunch.c:
374         * examples/launch/mp3play:
375         * examples/manual/.cvsignore:
376         * examples/manual/Makefile.am:
377         * examples/manual/extract.pl:
378         * examples/metadata/Makefile.am:
379         * examples/metadata/read-metadata.c:
380         * examples/mixer/.cvsignore:
381         * examples/mixer/Makefile.am:
382         * examples/mixer/mixer.c:
383         * examples/mixer/mixer.h:
384         * examples/pingpong/.cvsignore:
385         * examples/pingpong/Makefile.am:
386         * examples/pingpong/pingpong.c:
387         * examples/plugins/.cvsignore:
388         * examples/plugins/Makefile.am:
389         * examples/plugins/example.c:
390         * examples/plugins/example.h:
391         * examples/pwg/.cvsignore:
392         * examples/pwg/Makefile.am:
393         * examples/pwg/extract.pl:
394         * examples/queue/.cvsignore:
395         * examples/queue/Makefile.am:
396         * examples/queue/queue.c:
397         * examples/queue2/.cvsignore:
398         * examples/queue2/Makefile.am:
399         * examples/queue2/queue2.c:
400         * examples/queue3/.cvsignore:
401         * examples/queue3/Makefile.am:
402         * examples/queue3/queue3.c:
403         * examples/queue4/.cvsignore:
404         * examples/queue4/Makefile.am:
405         * examples/queue4/queue4.c:
406         * examples/retag/.cvsignore:
407         * examples/retag/Makefile.am:
408         * examples/retag/retag.c:
409         * examples/retag/transcode.c:
410         * examples/thread/.cvsignore:
411         * examples/thread/Makefile.am:
412         * examples/thread/thread.c:
413         * examples/typefind/.cvsignore:
414         * examples/typefind/Makefile.am:
415         * examples/typefind/typefind.c:
416         * examples/xml/.cvsignore:
417         * examples/xml/Makefile.am:
418         * examples/xml/createxml.c:
419         * examples/xml/runxml.c:
420         * tests/Makefile.am:
421         * tests/check/Makefile.am:
422         * testsuite/.cvsignore:
423         * testsuite/Makefile.am:
424         * testsuite/Rules:
425         * testsuite/caps/.cvsignore:
426         * testsuite/caps/Makefile.am:
427         * testsuite/caps/app_fixate.c:
428         * testsuite/caps/audioscale.c:
429         * testsuite/caps/caps.c:
430         * testsuite/caps/caps.h:
431         * testsuite/caps/caps_strings:
432         * testsuite/caps/compatibility.c:
433         * testsuite/caps/deserialize.c:
434         * testsuite/caps/enumcaps.c:
435         * testsuite/caps/eratosthenes.c:
436         * testsuite/caps/filtercaps.c:
437         * testsuite/caps/fixed.c:
438         * testsuite/caps/fraction-convert.c:
439         * testsuite/caps/fraction-multiply-and-zero.c:
440         * testsuite/caps/intersect2.c:
441         * testsuite/caps/intersection.c:
442         * testsuite/caps/normalisation.c:
443         * testsuite/caps/random.c:
444         * testsuite/caps/renegotiate.c:
445         * testsuite/caps/sets.c:
446         * testsuite/caps/simplify.c:
447         * testsuite/caps/string-conversions.c:
448         * testsuite/caps/structure.c:
449         * testsuite/caps/subtract.c:
450         * testsuite/caps/union.c:
451         * testsuite/debug/.cvsignore:
452         * testsuite/debug/Makefile.am:
453         * testsuite/debug/category.c:
454         * testsuite/debug/commandline.c:
455         * testsuite/debug/global.c:
456         * testsuite/debug/output.c:
457         * testsuite/debug/printf_extension.c:
458         * testsuite/dlopen/.cvsignore:
459         * testsuite/dlopen/Makefile.am:
460         * testsuite/dlopen/dlopen_gst.c:
461         * testsuite/dlopen/loadgst.c:
462         * testsuite/elements/.cvsignore:
463         * testsuite/elements/Makefile.am:
464         * testsuite/elements/gst-inspect-check.in:
465         * testsuite/elements/struct_i386.h:
466         * testsuite/elements/struct_size.c:
467         * testsuite/indexers/.cvsignore:
468         * testsuite/indexers/Makefile.am:
469         * testsuite/indexers/cache1.c:
470         * testsuite/indexers/indexdump.c:
471         * testsuite/parse/.cvsignore:
472         * testsuite/parse/Makefile.am:
473         * testsuite/parse/parse1.c:
474         * testsuite/parse/parse2.c:
475         * testsuite/plugin/.cvsignore:
476         * testsuite/plugin/Makefile.am:
477         * testsuite/plugin/README:
478         * testsuite/plugin/dynamic.c:
479         * testsuite/plugin/linked.c:
480         * testsuite/plugin/loading.c:
481         * testsuite/plugin/registry.c:
482         * testsuite/plugin/static.c:
483         * testsuite/plugin/static2.c:
484         * testsuite/plugin/testplugin.c:
485         * testsuite/plugin/testplugin2.c:
486         * testsuite/plugin/testplugin2_s.c:
487         * testsuite/plugin/testplugin_s.c:
488         * testsuite/refcounting/.cvsignore:
489         * testsuite/refcounting/Makefile.am:
490         * testsuite/refcounting/bin.c:
491         * testsuite/refcounting/element.c:
492         * testsuite/refcounting/element_pad.c:
493         * testsuite/refcounting/mainloop.c:
494         * testsuite/refcounting/mem.c:
495         * testsuite/refcounting/mem.h:
496         * testsuite/refcounting/object.c:
497         * testsuite/refcounting/pad.c:
498         * testsuite/refcounting/sched.c:
499         * testsuite/refcounting/thread.c:
500         * testsuite/states/.cvsignore:
501         * testsuite/states/Makefile.am:
502         * testsuite/states/bin.c:
503         * testsuite/states/locked.c:
504         * testsuite/states/parent.c:
505         * testsuite/threads/.cvsignore:
506         * testsuite/threads/159566.c:
507         * testsuite/threads/159852.c:
508         * testsuite/threads/Makefile.am:
509         * testsuite/threads/queue.c:
510         * testsuite/threads/signals.c:
511         * testsuite/threads/staticrec.c:
512         * testsuite/threads/thread.c:
513         * testsuite/threads/threadb.c:
514         * testsuite/threads/threadc.c:
515         * testsuite/threads/threadd.c:
516         * testsuite/threads/threade.c:
517         * testsuite/threads/threadf.c:
518         * testsuite/threads/threadg.c:
519         * testsuite/threads/threadh.c:
520         * testsuite/threads/threadi.c:
521           move all of these under tests
522
523 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
524
525         * configure.ac:
526         * tests/Makefile.am:
527           fix distcheck
528
529 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
530
531         * docs/gst/gstreamer-sections.txt:
532         * tests/sched/.cvsignore:
533         * tests/sched/Makefile.am:
534         * tests/sched/cases/(fs-fs).xml:
535         * tests/sched/cases/(fs-i-fs).xml:
536         * tests/sched/cases/(fs-i-i-fs).xml:
537         * tests/sched/cases/(fs-i-q[i-fs]).xml:
538         * tests/sched/dynamic-pipeline.c:
539         * tests/sched/interrupt1.c:
540         * tests/sched/interrupt2.c:
541         * tests/sched/interrupt3.c:
542         * tests/sched/runtestcases:
543         * tests/sched/runxml.c:
544         * tests/sched/sched-stress.c:
545         * tests/sched/sort.c:
546         * tests/sched/testcases:
547         * tests/sched/testcases1.tc:
548         * tests/seeking/.cvsignore:
549         * tests/seeking/Makefile.am:
550         * tests/seeking/seeking1.c:
551         * tests/threadstate/.cvsignore:
552         * tests/threadstate/Makefile.am:
553         * tests/threadstate/test1.c:
554         * tests/threadstate/test2.c:
555         * tests/threadstate/threadstate1.c:
556         * tests/threadstate/threadstate2.c:
557         * tests/threadstate/threadstate3.c:
558         * tests/threadstate/threadstate4.c:
559         * tests/threadstate/threadstate5.c:
560           remove obsolete tests
561         * configure.ac:
562         * tests/bench-complexity.scm:
563         * tests/bench-mass_elements.scm:
564         * tests/complexity.c:
565         * tests/complexity.gnuplot:
566         * tests/instantiate/.cvsignore:
567         * tests/instantiate/Makefile.am:
568         * tests/instantiate/caps.c:
569         * tests/mass_elements.c:
570         * tests/network-clock-utils.scm:
571         * tests/network-clock.scm:
572         * tests/plot-data:
573         First pass at cleaning up tests/ dir before moving the rest
574         Combined with CVS surgery
575
576 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
577
578         * po/POTFILES.in:
579           queue has moved, update
580
581 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
582
583         * docs/gst/gstreamer-sections.txt:
584           remove double entries from the docs
585         * gst/gst_private.h:
586         * gst/gstinfo.c: (_gst_debug_init):
587           remove the THREAD debug category
588         * gst/Makefile.am:
589         * gst/gstqueue.c:
590         * gst/gstqueue.h:
591         * docs/gst/gstreamer.types:
592         * plugins/elements/gstqueue.c: (gst_queue_get_type),
593         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
594           completely move queue and fix up debugging categories
595
596 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
597
598         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
599           make initialization portable, using LL is not
600
601 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
602
603         * win32/common/gstconfig.h:
604           add large padding
605
606 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
607
608         * win32/common/libgstreamer.def:
609           rename symbols; sort base section
610
611 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
612
613         * gst/gstclock.c: (do_linear_regression):
614           remove crack non-portable handrolled DEBUG macro
615
616 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
617
618         * docs/random/release:
619           update notes
620         * win32/common/gstenumtypes.c: (register_gst_object_flags),
621         (gst_object_flags_get_type), (register_gst_bin_flags),
622         (gst_bin_flags_get_type), (register_gst_buffer_flag),
623         (gst_buffer_flag_get_type), (register_gst_bus_flags),
624         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
625         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
626         (gst_caps_flags_get_type), (register_gst_clock_return),
627         (gst_clock_return_get_type), (register_gst_clock_entry_type),
628         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
629         (gst_clock_flags_get_type), (register_gst_state),
630         (gst_state_get_type), (register_gst_state_change_return),
631         (gst_state_change_return_get_type), (register_gst_state_change),
632         (gst_state_change_get_type), (register_gst_element_flags),
633         (gst_element_flags_get_type), (register_gst_core_error),
634         (gst_core_error_get_type), (register_gst_library_error),
635         (gst_library_error_get_type), (register_gst_resource_error),
636         (gst_resource_error_get_type), (register_gst_stream_error),
637         (gst_stream_error_get_type), (register_gst_event_type_flags),
638         (gst_event_type_flags_get_type), (register_gst_event_type),
639         (gst_event_type_get_type), (register_gst_seek_type),
640         (gst_seek_type_get_type), (register_gst_seek_flags),
641         (gst_seek_flags_get_type), (register_gst_format),
642         (gst_format_get_type), (register_gst_index_certainty),
643         (gst_index_certainty_get_type), (register_gst_index_entry_type),
644         (gst_index_entry_type_get_type),
645         (register_gst_index_lookup_method),
646         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
647         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
648         (gst_index_resolver_method_get_type), (register_gst_index_flags),
649         (gst_index_flags_get_type), (register_gst_debug_level),
650         (gst_debug_level_get_type), (register_gst_debug_color_flags),
651         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
652         (gst_iterator_result_get_type), (register_gst_iterator_item),
653         (gst_iterator_item_get_type), (register_gst_message_type),
654         (gst_message_type_get_type), (register_gst_mini_object_flags),
655         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
656         (gst_pad_link_return_get_type), (register_gst_flow_return),
657         (gst_flow_return_get_type), (register_gst_activate_mode),
658         (gst_activate_mode_get_type), (register_gst_pad_direction),
659         (gst_pad_direction_get_type), (register_gst_pad_flags),
660         (gst_pad_flags_get_type), (register_gst_pad_presence),
661         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
662         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
663         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
664         (gst_plugin_error_get_type), (register_gst_plugin_flags),
665         (gst_plugin_flags_get_type), (register_gst_rank),
666         (gst_rank_get_type), (register_gst_query_type),
667         (gst_query_type_get_type), (register_gst_tag_merge_mode),
668         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
669         (gst_tag_flag_get_type), (register_gst_task_state),
670         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
671         (gst_alloc_trace_flags_get_type),
672         (register_gst_type_find_probability),
673         (gst_type_find_probability_get_type), (register_gst_uri_type),
674         (gst_uri_type_get_type), (register_gst_parse_error),
675         (gst_parse_error_get_type):
676         * win32/common/gstenumtypes.h:
677         * win32/common/gstversion.h:
678           update visual studio generated files
679
680 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
681
682         * win32/vs6/libgstbase.dsp:
683         * win32/vs6/libgstelements.dsp:
684           update project files for new locations
685
686 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
687
688         * Makefile.am:
689           remove some files
690         * README:
691           reinstate and update
692         * DEVEL:
693         * REQUIREMENTS:
694           removed
695         * LICENSE:
696         * docs/random/LICENSE:
697           moved to random
698
699 2005-11-30  Edward Hervey  <edward@fluendo.com>
700
701         * gst/gsttypefind.c: (gst_type_find_register):
702         * gst/gsttypefind.h:
703         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
704         (gst_type_find_factory_dispose):
705         * gst/gsttypefindfactory.h:
706         Fix memory leak in GstTypeFindFactory.
707
708 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
709
710         * gst/gst.c:
711         * plugins/elements/Makefile.am:
712         * plugins/elements/gstelements.c:
713         * plugins/elements/gstqueue.c:
714           move queue from core to the elements plugin
715
716 2005-11-29  Andy Wingo  <wingo@pobox.com>
717
718         * libs/gst/base/gstbasetransform.h: 
719         * libs/gst/base/gstbasesrc.h: 
720         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
721
722         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
723         of pointers by which to pad very extensible base classes (like the
724         ones in libs/gst/base).
725
726 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
727
728         * docs/gst/gstreamer-docs.sgml:
729         * docs/gst/gstreamer-sections.txt:
730         * docs/libs/gstreamer-libs-docs.sgml:
731         * docs/libs/gstreamer-libs-sections.txt:
732           moving documentation from core to lib
733
734 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
735
736         * check/Makefile.am:
737         * configure.ac:
738         * docs/gst/Makefile.am:
739         * gst/Makefile.am:
740         * gst/base/.cvsignore:
741         * gst/base/Makefile.am:
742         * gst/base/README:
743         * gst/base/gstadapter.c:
744         * gst/base/gstadapter.h:
745         * gst/base/gstbasesink.c:
746         * gst/base/gstbasesink.h:
747         * gst/base/gstbasesrc.c:
748         * gst/base/gstbasesrc.h:
749         * gst/base/gstbasetransform.c:
750         * gst/base/gstbasetransform.h:
751         * gst/base/gstcollectpads.c:
752         * gst/base/gstcollectpads.h:
753         * gst/base/gstpushsrc.c:
754         * gst/base/gstpushsrc.h:
755         * gst/base/gsttypefindhelper.c:
756         * gst/base/gsttypefindhelper.h:
757         * gst/check/Makefile.am:
758         * gst/check/gstcheck.c:
759         * gst/check/gstcheck.h:
760         * gst/net/Makefile.am:
761         * gst/net/gstnet.h:
762         * gst/net/gstnetclientclock.c:
763         * gst/net/gstnetclientclock.h:
764         * gst/net/gstnettimepacket.c:
765         * gst/net/gstnettimepacket.h:
766         * gst/net/gstnettimeprovider.c:
767         * gst/net/gstnettimeprovider.h:
768         * libs/gst/Makefile.am:
769         * libs/gst/base/Makefile.am:
770         * libs/gst/base/gstbasetransform.c:
771         * libs/gst/check/Makefile.am:
772         * plugins/elements/Makefile.am:
773         * po/POTFILES.in:
774           CVS surgery + support to move base, check, and net out of gst
775           and into libs/gst
776
777 2005-11-29  Andy Wingo  <wingo@pobox.com>
778
779         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
780
781         * gst/gststructure.h (struct _GstStructure): Only one pointer of
782         padding.
783
784         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
785
786         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
787
788         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
789
790         * gst/gstobject.h: (struct _GstObject): Only one pointer of
791         padding; reduces object size by about 30%. We don't expect
792         anything else to go into gstobject.
793
794         * gst/gstminiobject.h (struct _GstMiniObject)
795         (struct _GstMiniObjectClass): Only one pointer of padding; the
796         payload is only a pointer and two ints anyway. For the class there
797         are only two methods as well.
798         
799         * gst/gstelement.h (struct _GstElementClass): Removed
800         the state_changed signal callback, it is not used.
801
802 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
803
804         * docs/gst/gstreamer.types:
805           fix includes, though they are a little dinky
806
807 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
808
809         * check/Makefile.am:
810           look in the right place for elements, a lot more chance of
811           success
812         * gst/Makefile.am:
813           remove indexers and elements subdirs
814         * plugins/Makefile.am:
815           make indexers conditional
816
817 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
818
819         * Makefile.am:
820         * configure.ac:
821         * plugins/elements/Makefile.am:
822         * plugins/elements/gstcapsfilter.c:
823         * plugins/elements/gstfilesink.c:
824         * plugins/elements/gstfilesrc.c:
825         * plugins/elements/gstidentity.c:
826         * plugins/indexers/Makefile.am:
827           do CVS surgery and related build fixery to move elements
828           and indexers in a new gstreamer/plugins directory, out of the
829           gst/ directory
830
831 2005-11-29  Andy Wingo  <wingo@pobox.com>
832
833         * check/Makefile.am:
834         * pkgconfig/gstreamer-net-uninstalled.pc.in:
835         * pkgconfig/gstreamer-net.pc.in:
836         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
837         #322257.
838
839 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
840
841         * tools/Makefile.am:
842         * tools/gst-complete.1.in:
843         * tools/gst-complete.c:
844         * tools/gst-compprep.1.in:
845         * tools/gst-compprep.c:
846           removing -compprep and -complete
847
848 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
849
850         * gst/gstevent.c: (gst_event_new_new_segment),
851         (gst_event_parse_new_segment):
852         * gst/gstevent.h:
853           fix #320529 - clean up new_segment API and structure.
854           Let's hope everyone was using the methods, and not the structure.
855
856 2005-11-29  Edward Hervey  <edward@fluendo.com>
857
858         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
859         (gst_base_sink_event), (gst_base_sink_do_sync),
860         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
861         Properly handle non GST_FORMAT_TIME segment
862         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
863         Properly handle non GST_FORMAT_TIME segment
864         * gst/gstsegment.c:
865         This function is valid if the accumulator is 0 and the format
866         is different from the requested format.
867         
868 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
869
870         * docs/gst/gstreamer-sections.txt:
871         Add gst_query_new_seeking and gst_query_parse_seeking to the
872         docs.
873
874 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
875
876         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
877           Treat a pad alloc with new caps the same as if we were not
878           negotiated, in order to allow a changing upstream output
879           to produce a new format of data.
880
881 2005-11-29  Edward Hervey  <edward@fluendo.com>
882
883         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
884         (gst_base_transform_event), (gst_base_transform_eventfunc):
885         The event virtual method is now properly implemented, with a default
886         handler
887         Sub classes should call the parent_class event method. They should
888         return FALSE if they had a problem handling the given event, or don't
889         want GstBaseTransform to send that even downstream
890         * gst/elements/gstidentity.c: (gst_identity_class_init),
891         (gst_identity_init), (gst_identity_event),
892         (gst_identity_transform_ip), (gst_identity_set_property),
893         (gst_identity_get_property):
894         * gst/elements/gstidentity.h:
895         Added the single-segment boolean property.
896         If set to TRUE, it will output a single segment of data, starting from
897         0, will eat up all incoming newsegment, and modify the timestamp of the
898         buffers accordingly
899
900 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
901
902         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
903           Don't ref NULL target pad (#322751). Improve docs.
904
905 2005-11-29  Michael Smith  <msmith@fluendo.com>
906
907         * gst/gstregistryxml.c: (load_plugin):
908           Don't crash if we failed to load a feature from a plugin. 
909
910 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
911
912         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
913         (GST_START_TEST):
914           use more check API and less GLib API
915
916 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
917
918         * Makefile.am:
919           don't run checks if we don't have check
920         * common/check.mak:
921           remove the registry when running make torture
922         * docs/gst/gstreamer-sections.txt:
923           remove second multiply
924         * gst/gstqueue.c: (gst_queue_loop):
925           fix a compile warning when disabling debug
926
927 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
928
929         * gst/gstinfo.h:
930         Hey! Let's print the pad name if the pointer != NULL instead
931         of when it == NULL :-)
932
933 2005-11-28  Wim Taymans  <wim@fluendo.com>
934
935         * check/gst/gstutils.c: (GST_START_TEST):
936         Updated check, add some scaling accuracy checking code.
937
938         * gst/gstutils.c: (gst_util_div128_64),
939         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
940         (gst_util_uint64_scale_int):
941         Fix 6 times faster division code. Optimize for common 
942         1/1 and less common X/1 cases.
943
944 2005-11-28  Wim Taymans  <wim@fluendo.com>
945
946         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
947         More checks.
948
949         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
950         (do_linear_regression), (gst_clock_add_observation):
951         Cleanups.
952         Release lock when the clock cannot be slaved.
953         Catch the case where the regression returned an invalid denominator.
954
955         * gst/gstutils.c: (gst_util_div128_64_iterate),
956         (gst_util_div128_64), (gst_util_uint64_scale_int64),
957         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
958         Add protentially more performant non-iterative 128/64 divide function
959         that unfortunatly does not work yet.
960         Shortcut the trivial 0/X = 0 case.
961         Remove the warnings on overflow.
962
963 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
964
965         * gst/gstplugin.c: (gst_plugin_register_func):
966           everything causing a plugin not to load should be at least a WARNING
967
968 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
969
970         * docs/random/ensonic/dparams.txt:
971           some TODOs for the next dev cycle
972         * libs/gst/controller/gstcontroller.c:
973         (gst_controlled_property_set_interpolation_mode),
974         (gst_controlled_property_new):
975         * libs/gst/controller/gstcontroller.h:
976           use base type to assign acccessor functions
977
978 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
979
980         * check/Makefile.am:
981         Oops, that should have been top_srcdir
982
983 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
984
985         * check/Makefile.am:
986         * check/elements/fdsrc.c: (GST_START_TEST):
987         Use a cmdline define to specify the location of a file to use for
988         testing, to avoid breaking distcheck.
989
990 2005-11-28  Andy Wingo  <wingo@pobox.com>
991
992         * gst/gstpad.c (fixate_value): Use array functions for arrays.
993
994 2005-11-28  Edward Hervey  <edward@fluendo.com>
995
996         * tools/gst-launch.c: (main):
997         Clarify the output strings, makes it easier to translate.
998         Fixes #322626
999
1000 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1001
1002         * gst/Makefile.am:
1003           don't try and build net if we don't even have <sys/socket.h>
1004
1005 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1006
1007         * check/Makefile.am:
1008         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1009         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1010           Add tests for fdsrc seekability
1011
1012         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1013         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1014         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1015         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1016         * gst/elements/gstfdsrc.h:
1017           fdsrc should not be a 'live' source.
1018           Implement seeking on seekable fd's.
1019
1020         * gst/gstquery.c: (gst_query_new_seeking),
1021         (gst_query_parse_seeking):
1022         * gst/gstquery.h:
1023           Implement SEEKING query functions: 
1024             *_new_seeking and *_parse_seeking
1025
1026 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1027
1028         * gst/gstelement.c: (gst_element_dispose):
1029           don't loop forever
1030
1031         * gst/gstiterator.c:
1032         * gst/gststructure.c:
1033           doc fixes
1034
1035         * libs/gst/controller/gstcontroller.c:
1036         (gst_controlled_property_set_interpolation_mode):
1037         * libs/gst/controller/gstcontroller.h:
1038         * libs/gst/controller/gstinterpolation.c:
1039         (interpolate_none_get_enum_value_array):
1040           support controlling enums
1041
1042 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1043
1044         * gst/gstvalue.c:
1045           Improve documentation for gst_value_union().
1046
1047         * gst/gstvalue.h:
1048           Change return value for union, intersect and subtract functions
1049           from gint to gboolean.
1050
1051 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1052
1053         * gst/gstvalue.c: (gst_value_serialize_any_list),
1054         (gst_value_transform_any_list_string),
1055         (gst_value_deserialize_list), (gst_value_deserialize_array),
1056         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1057         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1058         (gst_value_set_fraction_range_full),
1059         (gst_value_deserialize_fraction_range),
1060         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1061         (gst_value_deserialize_boolean),
1062         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1063         (gst_value_serialize_float), (gst_value_deserialize_float),
1064         (gst_string_wrap), (gst_value_deserialize_string),
1065         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1066         (gst_value_union_int_range_int_range),
1067         (gst_value_intersect_int_range_int_range),
1068         (gst_value_intersect_double_range_double_range),
1069         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1070         (gst_value_subtract_int_range_int_range),
1071         (gst_value_subtract_double_double_range),
1072         (gst_value_subtract_double_range_double_range),
1073         (gst_value_deserialize_fraction):
1074         * gst/gstvalue.h:
1075           Use gint, gdouble and gchar in our API instead of int, double and
1076           char (and make usage in gstvalue.c more consistent).
1077
1078 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1079
1080         * check/Makefile.am:
1081         * libs/gst/controller/Makefile.am:
1082         * libs/gst/dataprotocol/Makefile.am:
1083           fix up Makefile.am and remove GST_ENABLE_NEW
1084
1085 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1086
1087         * configure.ac:
1088         * gst/Makefile.am:
1089         * gst/base/Makefile.am:
1090         * gst/check/Makefile.am:
1091         * gst/elements/Makefile.am:
1092         * gst/net/Makefile.am:
1093           update LDFLAGS use some more
1094
1095 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1096
1097         * common/m4/gst-doc.m4:
1098           Fixes #312589
1099
1100 2005-11-26  Edward Hervey  <edward@fluendo.com>
1101
1102         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1103         This shouldn't issue a g_warning since it returns NULL if it
1104         couldn't find the plugin, and all functions using this behave
1105         properly on a NULL return. Switching to a GST_WARNING.
1106
1107 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1108
1109         * gst/gstbin.c: (gst_bin_handle_message_func):
1110         Don't leak clock messages.
1111
1112 2005-11-25  Wim Taymans  <wim@fluendo.com>
1113
1114         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1115         (gst_util_uint64_scale_int):
1116         Optimisations, remove unneeded vars.
1117
1118 2005-11-25  Wim Taymans  <wim@fluendo.com>
1119
1120         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1121         Added more checks for the high precision uint64 cases.
1122
1123         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1124         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1125         Implement high precision (guint64 * guint64) / guint64.
1126
1127 2005-11-24  Wim Taymans  <wim@fluendo.com>
1128
1129         * gst/base/gstbasesrc.c: (gst_base_src_query):
1130         Fix wrong percentage query.
1131
1132         * gst/gstutils.c: (gst_util_uint64_scale),
1133         (gst_util_uint64_scale_int):
1134         Add some more common cases that can be handled 
1135         efficiently to _scale.
1136
1137 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1138
1139         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1140         (gst_mini_object_suite):
1141           don't use check calls from threads; check probably isn't
1142           threadsafe and using a lock to make it threadsafe would
1143           defeat the purpose of this check
1144         * gst/check/gstcheck.c:
1145         * gst/check/gstcheck.h:
1146           use GST_DEBUG some more
1147
1148 2005-11-24  Wim Taymans  <wim@fluendo.com>
1149
1150         * gst/gstutils.c: (gst_util_uint64_scale),
1151         (gst_util_uint64_scale_int):
1152         Chain trivial case to _scale_int.
1153
1154 2005-11-24  Wim Taymans  <wim@fluendo.com>
1155
1156         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1157         Added test for scaling.
1158
1159         * gst/gstclock.h:
1160         Small doc fix.
1161
1162         * gst/gstutils.c: (gst_util_uint64_scale_int):
1163         Implemented high precision scaling code.
1164
1165 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1166
1167         * gst/gstinfo.h:
1168           do not crash on pad==NULL
1169
1170 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1171
1172         Patch by: Stefan Kost
1173
1174         * common/gtk-doc.mak:
1175         * docs/gst/Makefile.am:
1176         * docs/libs/Makefile.am:
1177           Fix distcheck issues for the libraries docs build
1178           Closes #319599.
1179
1180 2005-11-24  Michael Smith <msmith@fluendo.com>
1181
1182         * docs/manual/basics-helloworld.xml:
1183           Fix bug #315027: memory leak in example code in docs.
1184
1185 2005-11-24  Michael Smith <msmith@fluendo.com>
1186
1187         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1188           Unlock the PREROLL_LOCK in a failure case.
1189
1190 2005-11-24  Wim Taymans  <wim@fluendo.com>
1191
1192         * docs/gst/gstreamer-sections.txt:
1193         * gst/base/gstadapter.h:
1194         * gst/base/gstbasesink.h:
1195         * gst/base/gstbasesrc.h:
1196         * gst/base/gstbasetransform.h:
1197         * gst/base/gstpushsrc.h:
1198         * gst/elements/gstfakesink.h:
1199         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1200         * gst/elements/gstfakesrc.h:
1201         * gst/elements/gstfilesink.h:
1202         * gst/elements/gstfilesrc.h:
1203         * gst/gst.c:
1204         * gst/gstbin.c:
1205         * gst/gstbuffer.c: (_gst_buffer_copy):
1206         * gst/gstbus.h:
1207         * gst/gstcaps.c:
1208         * gst/gstchildproxy.c:
1209         * gst/gstclock.c:
1210         * gst/gstelement.c:
1211         * gst/gstelementfactory.c:
1212         * gst/gstelementfactory.h:
1213         * gst/gstevent.c:
1214         * gst/gstghostpad.h:
1215         * gst/gstindex.h:
1216         * gst/gstinterface.h:
1217         * gst/gstminiobject.c:
1218         * gst/gstminiobject.h:
1219         * gst/gstpad.c:
1220         * gst/gstpad.h:
1221         * gst/gstpadtemplate.h:
1222         * gst/gstpipeline.h:
1223         * gst/gstpluginfeature.h:
1224         * gst/gstquery.h:
1225         * gst/gstqueue.h:
1226         * gst/gsttaglist.c:
1227         * gst/gsttaglist.h:
1228         * gst/gsttagsetter.c:
1229         * gst/gsttagsetter.h:
1230         * gst/gsttrace.c:
1231         * gst/gsttrace.h:
1232         * gst/gsttypefind.h:
1233         * gst/gsturi.h:
1234         * gst/gstvalue.c:
1235         * gst/net/gstnetclientclock.c:
1236         * gst/net/gstnetclientclock.h:
1237         * gst/net/gstnettimepacket.c:
1238         * gst/net/gstnettimeprovider.c:
1239         * gst/net/gstnettimeprovider.h:
1240         Doc fixes.
1241
1242 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1243
1244         * configure.ac: back to HEAD
1245
1246 === release 0.9.6 ===
1247
1248 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1249
1250         * configure.ac:
1251           releasing 0.9.6, "Always On Time"
1252
1253 2005-11-23  Wim Taymans  <wim@fluendo.com>
1254
1255         * docs/gst/gstreamer-sections.txt:
1256         * gst/glib-compat.c:
1257         * gst/gsttagsetter.c:
1258         * gst/gstvalue.c:
1259         * gst/net/gstnetclientclock.c:
1260         * gst/net/gstnettimepacket.h:
1261         Doc updates.
1262
1263 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1264
1265         * docs/faq/using.xml:
1266         * docs/libs/tmpl/gstcontrol.sgml:
1267         * docs/manual/advanced-dparams.xml:
1268         * docs/manual/appendix-checklist.xml:
1269         * docs/manual/basics-elements.xml:
1270         * docs/pwg/other-source.xml:
1271         * docs/random/moving-plugins:
1272         * gst/gstpad.c:
1273         * tools/gst-launch.1.in:
1274           remove mentions of sinesrc
1275
1276 2005-11-23  Michael Smith <msmith@fluendo.com>
1277
1278         * docs/gst/gstreamer-sections.txt:
1279           Update for new API and API changes.
1280         * gst/gstobject.h:
1281           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1282         * gst/gstvalue.c:
1283           Documentation typo fix.
1284         * gst/net/gstnettimepacket.c:
1285           Documentation fixes for arguments.
1286
1287 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1288
1289         * gst/gststructure.c: (gst_structure_get_fraction),
1290         (gst_structure_parse_value),
1291         (gst_structure_fixate_field_nearest_fraction):
1292         * gst/gststructure.h:
1293         * gst/gstutils.c: (gst_util_uint64_scale_int):
1294         * gst/gstutils.h:
1295         * scripts/update-funcnames:
1296         API Changes. 
1297         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1298         Make gst_structure_fixate_field_nearest_fraction take a numerator
1299         and denominator argument instead of a GValue
1300         add gst_structure_get_fraction helper function.
1301
1302 2005-11-23  Wim Taymans  <wim@fluendo.com>
1303
1304         * docs/design/part-TODO.txt:
1305         Update TODO.
1306
1307         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1308         * gst/net/gstnetclientclock.h:
1309         Use parent fields for timeout and window_size.
1310
1311 2005-11-23  Andy Wingo  <wingo@pobox.com>
1312
1313         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1314         rate_num/rate_denom change.
1315
1316         * gst/net/gstnetclientclock.c
1317         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1318         OBJECT_LOCK. Don't call add_observation with the lock.
1319
1320         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1321         fraction.
1322         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1323         rate fraction.
1324         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1325         deal with rate as a fraction whose numerator and denominator are
1326         GstClockTime values.
1327         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1328         master; the other fields are protected by the SLAVE_LOCK.
1329         (do_linear_regression): Note that this must be called with the
1330         SLAVE_LOCK.
1331         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1332         OBJECT_LOCK. Call set_calibration instead of touching the
1333         variables directly.
1334         (gst_clock_set_property, gst_clock_get_property): Protect
1335         master/slave parameters with the SLAVE_LOCK.
1336
1337         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1338         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1339         note that all of the instance variables that add_observation and
1340         the set_master functions use are protected by that lock and not
1341         the OBJECT_LOCK.
1342         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1343
1344         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1345         the caller to take the object lock.
1346
1347 2005-11-23  Wim Taymans  <wim@fluendo.com>
1348
1349         * gst/gsterror.c: (_gst_core_errors_init):
1350         * gst/gsterror.h:
1351         Add error for clock stuff.
1352
1353         * gst/gstpipeline.c: (gst_pipeline_change_state),
1354         (gst_pipeline_set_clock):
1355         Post clock error when clock cannot be used in a pipeline.
1356
1357 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1358
1359         * docs/gst/gstreamer-sections.txt:
1360           make two symbols from gstinfo private for the docs
1361         * gst/base/gstcollectpads.h:
1362         * gst/gstutils.c:
1363           fix doc typos, update docs
1364
1365 2005-11-22  Wim Taymans  <wim@fluendo.com>
1366
1367         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1368         (gst_base_sink_wait), (gst_base_sink_do_sync),
1369         (gst_base_sink_handle_event):
1370         * gst/base/gstbasesink.h:
1371         No need to store the clock, the parent element class already
1372         has it.
1373
1374         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1375         Updates for clock_set returning a gboolean
1376
1377         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1378         (gst_clock_id_wait_async), (gst_clock_class_init),
1379         (gst_clock_init), (gst_clock_finalize),
1380         (gst_clock_get_internal_time), (gst_clock_get_time),
1381         (gst_clock_slave_callback), (gst_clock_set_master),
1382         (gst_clock_get_master), (do_linear_regression),
1383         (gst_clock_add_observation), (gst_clock_set_property),
1384         (gst_clock_get_property):
1385         * gst/gstclock.h:
1386         Implement master/slave. When setting a clock as a slave, a
1387         periodic timeout is scheduled to sample master and slave times.
1388         Then the slave clock is recalibrated to match offset and rate
1389         of the master clock.
1390         Update logging a bit.
1391         Add flag so that a clock can state that is cannot be slaved to
1392         another clock.
1393
1394         * gst/gstelement.c: (gst_element_set_clock):
1395         * gst/gstelement.h:
1396         The set clock returns a gboolean for when an element cannot
1397         deal with the selected clock in the pipeline. 
1398
1399         * gst/gstpipeline.c: (gst_pipeline_change_state),
1400         (gst_pipeline_set_clock):
1401         * gst/gstpipeline.h:
1402         Handle the case where the selected clock cannot be set on
1403         the pipeline.
1404
1405         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1406         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1407         (gst_net_client_clock_set_property),
1408         (gst_net_client_clock_get_property),
1409         (gst_net_client_clock_observe_times):
1410         * gst/net/gstnetclientclock.h:
1411         Use regression code in GstClock parent, remove duplicated
1412         functionality.
1413
1414 2005-11-22  Michael Smith <msmith@fluendo.com>
1415
1416         * gst/gstutils.c: (gst_util_clock_time_scale):
1417         * gst/gstutils.h:
1418         * docs/gst/gstreamer-sections.txt:
1419           Rename method to have extra underscore.
1420
1421 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1422
1423         * gst/elements/Makefile.am:
1424         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1425         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1426         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1427         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1428         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1429         * gst/elements/gstfakesrc.h:
1430         * gst/gstqueue.c: (queue_leaky_get_type):
1431           correctly fix GEnumValues so that nick is the short lowercase
1432           dashed tag
1433         * tools/gst-inspect.c: (print_element_properties_info):
1434           also show the nick, since it's useful to use from parse_launch
1435           syntax
1436           Fixes #322139
1437
1438 2005-11-22  Michael Smith <msmith@fluendo.com>
1439
1440         * gst/gstutils.c: (gst_util_clocktime_scale):
1441         * gst/gstutils.h:
1442         * docs/gst/gstreamer-sections.txt:
1443           Add util method for scaling a clocktime by a fraction. Useful 
1444           implementation is left as an exercise for the reader.
1445
1446 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1447
1448         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1449         If needed, allocate storage in the destination value during
1450         collection.
1451
1452 2005-11-22  Edward Hervey  <edward@fluendo.com>
1453
1454         * docs/gst/gstreamer-sections.txt:
1455         * gst/Makefile.am:
1456         * gst/gst.h:
1457         * gst/gsturitype.c:
1458         * gst/gsturitype.h:
1459         * gst/gstutils.c: (gst_util_set_object_arg):
1460         * tools/gst-compprep.c: (main):
1461         * tools/gst-inspect.c: (print_element_properties_info):
1462         Removed GstURI, closes bug #321061
1463
1464 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1465
1466         * check/gst/gststructure.c: (GST_START_TEST):
1467         * gst/gststructure.c: (gst_structure_parse_value):
1468           Oops, broke automatic string type parsing.
1469           Add a test to catch it in future.
1470
1471 2005-11-22  Andy Wingo  <wingo@pobox.com>
1472
1473         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1474         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1475         Actually rename the function implementations. Grr.
1476
1477 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1478
1479         * check/gst/capslist.h:
1480           Comment test cases
1481         * check/gst/gststructure.c: (GST_START_TEST),
1482         (gst_structure_suite):
1483           Test automatic value type detection in gst_structure_from_string.
1484         * gst/gststructure.c: (gst_structure_parse_value):
1485           Add fraction as a type we try and guess automatically in
1486           caps/structure strings.
1487
1488 2005-11-22  Andy Wingo  <wingo@pobox.com>
1489
1490         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1491
1492         * gst/gsttagsetter.h:
1493         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1494         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1495         (gst_tag_setter_add_tag_valist)
1496         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1497         _add_values, _add_valist, and _add_valist_values. Since this is an
1498         interface the function suffixes should be more explicit so
1499         language binding don't end up with element.add_valist ->
1500         gst_tag_setter_add_valist, for example. Fixes #322069.
1501
1502 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1503
1504         * check/gst/gstcaps.c: (GST_START_TEST):
1505           Extend caps string tests to check that a caps to string
1506           conversion is reversible and produces the same caps.
1507
1508         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1509           Output "fraction" as the generic type fraction range, so caps
1510           serialisation and deserialisation works.
1511         * check/gst/capslist.h:
1512         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1513           Support 'MIN' and 'MAX' for deserialising fractions.
1514
1515 2005-11-22  Andy Wingo  <wingo@pobox.com>
1516
1517         * gst/gstevent.h (gst_event_new_new_segment)
1518         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1519         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1520         Renamed from *_newsegment, *_buffersize, *_notarget.
1521
1522         * scripts/update-funcnames: New script, performs the changes
1523         listed above.
1524
1525 2005-11-22  Wim Taymans  <wim@fluendo.com>
1526
1527         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1528         Make sure the GstFlowReturn is returned.
1529
1530         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1531         (gst_bus_add_signal_watch):
1532         * gst/gstbus.h:
1533         add gst_bus_add_signal_watch_full.
1534
1535         * gst/gstplugin.c: (gst_plugin_load_file):
1536         Small style cleanup.
1537
1538 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1539
1540         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1541           Block the fakesrc srcpad when we send an event, to avoid
1542           contention on the stream_lock causing random test failures.
1543
1544 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1545
1546         * check/gst/gstvalue.c: (GST_START_TEST):
1547         * gst/gstvalue.c: (gst_value_fraction_subtract):
1548           Fix subtraction.
1549
1550 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1551
1552         * gst/gst.h:
1553           include "gstchildproxy.h"
1554         * gst/gstchildproxy.h:
1555         * libs/gst/controller/gstcontroller.h:
1556           use G_GNUC_NULL_TERMINATED
1557
1558 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1559
1560         * check/gst/capslist.h:
1561         * check/gst/gstcaps.c: (GST_START_TEST):
1562         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1563         * gst/gststructure.c: (gst_structure_parse_range),
1564         (gst_structure_fixate_field_nearest_fraction):
1565         * gst/gststructure.h:
1566         * gst/gstvalue.c: (gst_value_init_fraction_range),
1567         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1568         (gst_value_collect_fraction_range),
1569         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1570         (gst_value_set_fraction_range_full),
1571         (gst_value_get_fraction_range_min),
1572         (gst_value_get_fraction_range_max),
1573         (gst_value_serialize_fraction_range),
1574         (gst_value_transform_fraction_range_string),
1575         (gst_value_compare_fraction_range),
1576         (gst_value_deserialize_fraction_range),
1577         (gst_value_intersect_fraction_fraction_range),
1578         (gst_value_intersect_fraction_range_fraction_range),
1579         (gst_value_subtract_fraction_fraction_range),
1580         (gst_value_subtract_fraction_range_fraction),
1581         (gst_value_subtract_fraction_range_fraction_range),
1582         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1583         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1584         (gst_value_transform_string_fraction), (_gst_value_initialize):
1585         * gst/gstvalue.h:
1586           Implement fraction ranges and extend GstFraction to support
1587           arithmetic subtraction, as well as deserialization from integer
1588           strings such as "100"
1589           Add a testsuite as for int and double range set operations
1590
1591 2005-11-21  Andy Wingo  <wingo@pobox.com>
1592
1593         * gst/gsttaglist.h: 
1594         * gst/gstcaps.h: 
1595         * gst/gststructure.h: Add glib-compat.h.
1596
1597 2005-11-21  Wim Taymans  <wim@fluendo.com>
1598
1599         * gst/gstbin.c: (gst_bin_change_state_func):
1600         Fix for #321595
1601
1602 2005-11-21  Wim Taymans  <wim@fluendo.com>
1603
1604         * gst/gstsegment.h:
1605         And add a nice define too.
1606
1607 2005-11-21  Wim Taymans  <wim@fluendo.com>
1608
1609         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1610         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1611         (gst_segment_set_duration), (gst_segment_set_last_stop),
1612         (gst_segment_set_seek), (gst_segment_set_newsegment),
1613         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1614         (gst_segment_clip):
1615         * gst/gstsegment.h:
1616         Make binding friendly.
1617
1618 2005-11-21  Andy Wingo  <wingo@pobox.com>
1619
1620         * gst/gsttagsetter.h: 
1621         * gst/gsttaglist.h: 
1622         * gst/gststructure.h: 
1623         * gst/gstcaps.h: 
1624         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1625         #319940.
1626
1627         * gst/gsterror.c (_gst_core_errors_init):
1628         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1629         category.
1630
1631         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1632         (noinst_HEADERS): noinst the -private.
1633
1634 2005-11-21  Michael Smith <msmith@fluendo.com>
1635
1636         * gst/gstplugin.h:
1637         * gst/gstregistry.h:
1638           Remove unimplemented declarations for which we can see no sensible
1639           use.
1640
1641 2005-11-21  Andy Wingo  <wingo@pobox.com>
1642
1643         * gst/gst.h: Include glib-compat.h.
1644
1645         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1646
1647         * gst/glib-compat.c: Include the public and the private header.
1648
1649         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1650
1651         * gst/gstvalue.c: 
1652         * gst/gstpad.c: 
1653         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1654
1655         * check/gst/gstevent.c (create_custom_events): Check that
1656         FLUSH_STOP is serialized.
1657
1658         * check/elements/identity.c (event_func): 
1659         * check/elements/fakesrc.c (event_func): No stream lock, the core
1660         takes it.
1661
1662         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1663         stream lock taking, yay.
1664
1665         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1666         ensure that core takes the stream lock.
1667
1668         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1669         lock name change.
1670
1671         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1672         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1673         it already. For the flush start we do take it though so we get the
1674         right preroll state change messages.
1675
1676         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1677         the stream lock here, the core does it for us.
1678
1679         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1680         GST_STREAM_GET_LOCK.
1681         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1682         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1683         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1684         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1685         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1686         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1687
1688         * gst/gstpad.c: Update for stream lock name change.
1689
1690         * gst/base/gstbasesink.c: Update for preroll lock name change.
1691
1692 2005-11-21  Wim Taymans  <wim@fluendo.com>
1693
1694         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1695         (gst_clock_get_master):
1696         * gst/gstclock.h:
1697         * gst/gstsystemclock.c: (gst_system_clock_init):
1698         Convert Clock flags to object flags.
1699         Added methods to manage master/slave clocks.
1700
1701 2005-11-21  Wim Taymans  <wim@fluendo.com>
1702
1703         * check/gst/gstsegment.c: (GST_START_TEST):
1704         * docs/design/part-TODO.txt:
1705         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1706         (gst_base_sink_event), (gst_base_sink_do_sync),
1707         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1708         (gst_base_sink_query), (gst_base_sink_change_state):
1709         * gst/base/gstbasesink.h:
1710         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1711         (gst_base_src_default_newsegment),
1712         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1713         (gst_base_src_get_range), (gst_base_src_loop),
1714         (gst_base_src_change_state):
1715         * gst/base/gstbasesrc.h:
1716         * gst/base/gstbasetransform.c:
1717         (gst_base_transform_prepare_output_buf),
1718         (gst_base_transform_event), (gst_base_transform_change_state):
1719         * gst/base/gstbasetransform.h:
1720         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1721         (gst_collect_pads_event):
1722         * gst/base/gstcollectpads.h:
1723         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1724         (gst_fake_src_create):
1725         * gst/elements/gstfakesrc.h:
1726         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1727         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1728         (gst_segment_set_last_stop), (gst_segment_set_seek),
1729         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1730         (gst_segment_to_running_time), (gst_segment_clip):
1731         * gst/gstsegment.h:
1732         More segment updates, replace code in plugins with segment
1733         helper functions.
1734
1735 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1736
1737         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1738         Don't ignore sscanf results
1739
1740 2005-11-21  Andy Wingo  <wingo@pobox.com>
1741
1742         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1743
1744         * *.h:
1745         * *.c: Ran scripts/update-macros. Oh yes.
1746
1747         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1748         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1749         GST_GET_LOCK, etc.
1750
1751         * scripts/update-macros: New script. Run it on your files to
1752         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1753         well.
1754
1755 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1756
1757         * docs/gst/Makefile.am:
1758         * docs/gst/gstreamer-docs.sgml:
1759         * docs/gst/gstreamer-sections.txt:
1760         * docs/gst/gstreamer.types:
1761         * gst/gstinfo.h:
1762           more docs fixes, add new api to the docs
1763
1764 2005-11-21  Andy Wingo  <wingo@pobox.com>
1765
1766         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1767         state_broadcast call.
1768
1769         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1770
1771 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1772
1773         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1774         function calls for arrays.
1775
1776 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1777
1778         * docs/random/ensonic/media-device-daemon.txt:
1779           wild idea, can this be done?
1780         * docs/gst/gstreamer-sections.txt:
1781         * gst/gsterror.h:
1782         * gst/gstfilter.c:
1783         * gst/gstfilter.h:
1784         * gst/gstplugin.h:
1785         * gst/gstpluginfeature.c:
1786         * gst/gsttrace.c:
1787         * gst/gstvalue.c:
1788         * gst/gstvalue.h:
1789           doc fixes and additions
1790
1791 2005-11-21  Andy Wingo  <wingo@pobox.com>
1792
1793         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1794         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1795         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1796         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1797         private to the basesrc implementation.
1798
1799         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1800         behalf of event function if necessary. It should no longer be
1801         necessary to take the stream lock in pad's event functions. Fixes
1802         #320299.
1803
1804 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1805         * docs/gst/gstreamer-sections.txt:
1806         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1807         (gst_structure_fixate_field_nearest_double),
1808         (gst_structure_fixate_field_boolean):
1809         * gst/gststructure.h:
1810         * win32/common/libgstreamer.def:
1811         * win32/gstreamer.def:
1812
1813         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1814         (#322027)
1815
1816 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1817
1818         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1819         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1820         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1821         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1822         (gst_fdsrc_uri_handler_init):
1823         * gst/elements/gstfdsrc.h:
1824           Port fd:// URI handler from 0.8 to fdsrc
1825
1826 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1827
1828         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1829         (gst_value_serialize_fourcc):
1830         * gst/gstvalue.h:
1831           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1832           consistent with our other format defines (#320324).
1833
1834 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1835
1836         * gst/gstvalue.c: (gst_value_is_fixed):
1837           Revert previous commit. Value lists are by definition
1838           not fixed, as they are a list of possible values.
1839
1840 2005-11-21  Andy Wingo  <wingo@pobox.com>
1841
1842         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1843         during the stable series if we need it. Fixes #319178.
1844
1845         * gst/gstevent.c (gst_event_new_filler): Removed.
1846
1847         * check/gst/gstevent.c: Update comment about filler events.
1848
1849 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1850
1851         * gst/gstvalue.c: (gst_value_is_fixed):
1852           Should handle both value arrays and value lists.
1853
1854 2005-11-21  Andy Wingo  <wingo@pobox.com>
1855
1856         patch by: Alessandro Dessina <alessandro nnva org>
1857
1858         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1859         functions to access arrays. Fixes #321962.
1860
1861 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1862
1863         * docs/gst/gstreamer.types:
1864           gst_collectpads_get_type => gst_collect_pads_get_type.
1865           
1866         * gst/base/gstbasetransform.c:
1867           Remove unused SIGNAL_HANDOFF enum.
1868
1869 2005-11-21  Andy Wingo  <wingo@pobox.com>
1870
1871         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1872         the event type (upstream, downstream, serialized). Renamed
1873         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1874         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1875         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1876
1877         * gst/gstevent.c: Update for new CUSTOM event names.
1878
1879         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1880
1881         * gst/gstevent.h:
1882         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1883         bug #319392.
1884
1885 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1886
1887         * docs/gst/gstreamer-sections.txt:
1888         * win32/common/libgstbase.def:
1889         * win32/libgstbase.def:
1890         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1891         (gst_collect_pads_class_init), (gst_collect_pads_init),
1892         (gst_collect_pads_finalize), (gst_collect_pads_new),
1893         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1894         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1895         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1896         (gst_collect_pads_start), (gst_collect_pads_stop),
1897         (gst_collect_pads_peek), (gst_collect_pads_pop),
1898         (gst_collect_pads_available), (gst_collect_pads_read),
1899         (gst_collect_pads_flush), (gst_collect_pads_event),
1900         (gst_collect_pads_chain):
1901         * gst/base/gstcollectpads.h:
1902           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1903           unimplemented functions as unimplemented. Add padding to
1904           GstCollectData. (#320766, #320423)
1905
1906 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1907
1908         * gst/gstmessage.c:
1909           Improve docs for DURATION message (usage of duration parameter)
1910           (#320113)
1911
1912 2005-11-20  Wim Taymans  <wim@fluendo.com>
1913
1914         * check/Makefile.am:
1915         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1916         (main):
1917         * gst/Makefile.am:
1918         * gst/gst.h:
1919         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1920         (gst_segment_set_seek), (gst_segment_set_newsegment),
1921         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1922         (gst_segment_clip):
1923         * gst/gstsegment.h:
1924         Added segment helper structure and methods. Not fully implemented
1925         yet.
1926         Added segment check.
1927
1928 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1929
1930         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1931           Add a deserialisation test for fractions
1932         * examples/metadata/read-metadata.c: (message_loop),
1933         (make_pipeline), (main):
1934           Fix up metadata reading sample.
1935         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1936           Debug format fix
1937         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1938           Don't try and fixate empty caps
1939         * gst/gst_private.h:
1940           Wrap in G_BEGIN_DECLS/G_END_DECLS
1941         * gst/gstvalue.c: (gst_value_collect_fraction),
1942         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1943         (gst_value_transform_string_fraction),
1944         (gst_value_compare_fraction):
1945           Add some extra guards to ensure that we don't end up 
1946           with an invalid denominator of 0 in a gstfraction and
1947           that fractions always get reduced.
1948
1949 2005-11-20  Wim Taymans  <wim@fluendo.com>
1950
1951         * docs/gst/gstreamer-sections.txt:
1952         * gst/gstbuffer.h:
1953         * gst/gstelement.c:
1954         * gst/gstformat.c:
1955         * gst/gstformat.h:
1956         * gst/gstindex.h:
1957         * gst/gstquery.c:
1958         * gst/gstquery.h:
1959         * gst/gstvalue.c:
1960         Doc fixes.
1961
1962 2005-11-20  Wim Taymans  <wim@fluendo.com>
1963
1964         * docs/design/part-TODO.txt:
1965         * gst/gstcaps.h:
1966         Make a proper enum of the flag.
1967
1968 2005-11-19  Wim Taymans  <wim@fluendo.com>
1969
1970         * docs/design/part-TODO.txt:
1971         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1972         (gst_format_to_quark), (gst_format_register):
1973         * gst/gstformat.h:
1974         * gst/gstquery.c: (_gst_query_initialize),
1975         (gst_query_type_get_name), (gst_query_type_to_quark),
1976         (gst_query_type_register):
1977         * gst/gstquery.h:
1978         Add type to quark and type to string conversions.
1979
1980 2005-11-19  Andy Wingo  <wingo@pobox.com>
1981
1982         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1983         #320097.
1984
1985 2005-11-19  Wim Taymans  <wim@fluendo.com>
1986
1987         * docs/design/part-TODO.txt:
1988         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1989         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1990         (gst_bin_handle_message_func):
1991         * gst/gstbin.h:
1992         Make message handling overridable.
1993
1994 2005-11-19  Andy Wingo  <wingo@pobox.com>
1995
1996         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1997
1998         * gst/gstclock.h:
1999         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2000         be a GstClockTime.
2001         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2002         is a GstClockTime. Fixes #321710.
2003
2004         * gst/gstclock.h (GstClock): Remove offset property. Add
2005         internal_calibration and external_calibration. Fix padding. Pad
2006         also by GstClockTime so we don't run into problems.
2007
2008         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2009         (gst_clock_get_rate_offset): Remove.
2010         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2011
2012         * gst/gstutils.h:
2013         * gst/gstutils.c (g_static_rec_cond_wait)
2014         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2015
2016         * gst/gstbin.c: Remove terrible continue_state prototype.
2017
2018         * gst/gstelement.h (gst_element_continue_state): Make public.
2019
2020         * gst/gstelement.h:
2021         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2022         by continue_state. Fixes #319389.
2023
2024         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2025         Really fixes #168438. However I don't see anywhere where the
2026         filter function is called... stupid GStreamer...
2027         
2028         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2029         don't have a dispose function, so it won't get called when the
2030         object is unreffed, but oh well!
2031
2032         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2033         allows a destroy function to be set so user_data can be freed.
2034         Fixes #168438.
2035         (gst_index_set_filter): Call gst_index_set_filter_full.
2036
2037         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2038
2039         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2040         string should produce an error, given the lack of a way to
2041         represent NULL strings. Fixes #165650.
2042         
2043         * gst/gstvalue.h: 
2044         * gst/gstvalue.c (gst_value_array_append_value) 
2045         (gst_value_array_prepend_value, gst_value_array_get_size) 
2046         (gst_value_array_get_value): New API, copied from
2047         gst_value_list_*, only operates on arrays.
2048         (gst_value_list_append_value, gst_value_list_prepend_value) 
2049         (gst_value_list_concat, gst_value_list_get_size) 
2050         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2051
2052         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2053         init_list, because it works on both.
2054         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2055         (gst_value_copy_list_or_array): Renamed from copy_list.
2056         (gst_value_free_list_or_array): Renamed from free_list.
2057         (gst_value_collect_list_or_array): Renamed from collect_list.
2058         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2059         (gst_value_list_or_array_peek_pointer): Renamed from
2060         list_peek_pointer.
2061         (_gst_value_array_value_table, _gst_value_list_value_table):
2062         Update value table functions.
2063         (gst_value_compare_list_or_array): Renamed from compare_list.
2064
2065         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2066         some constness.
2067
2068         * gst/gsttaglist.c:
2069         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2070         GstTagList*. Fixes #143472.
2071
2072         * gst/gststructure.h: Clarify what the foreach/map functions can
2073         or can't do to their arguments.
2074
2075 2005-11-18  Wim Taymans  <wim@fluendo.com>
2076
2077         * gst/gstclock.c: (gst_clock_set_calibration),
2078         (gst_clock_get_calibration):
2079         Doc and API fixes.
2080         Calibration can be set with internal time equal to current
2081         internal time too.
2082
2083 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2084
2085         * gst/gsterror.c:
2086         * gst/gsterror.h:
2087           document
2088
2089 2005-11-18  Andy Wingo  <wingo@pobox.com>
2090
2091         * configure.ac: 
2092         * pkgconfig/gstreamer-net.pc.in:
2093         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2094         * pkgconfig/Makefile.am: Add net pkgconfig files.
2095
2096 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2097
2098         * gst/gstcaps.c:
2099         * gst/gstghostpad.c:
2100         * gst/gsttrace.c:
2101         * gst/gstvalue.c:
2102         * gst/gstvalue.h:
2103           docs fixes
2104
2105 2005-11-18  Andy Wingo  <wingo@pobox.com>
2106
2107         * gst/net/gstnetclientclock.c: Turn off debugging.
2108
2109         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2110         times connverge somewhat. Can't make a real test.
2111
2112         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2113         integer arithmetic. Return the minimum of the domain, which can be
2114         set as "internal" for gst_clock_set_calibration.
2115         (gst_net_client_clock_observe_times): Call _set_calibration.
2116         (gst_net_client_clock_new): Call _set_calibration instead of
2117         rate_offset.
2118
2119         * check/net/gstnetclientclock.c (test_functioning): Use the right
2120         adjustment api.
2121
2122         * gst/gstclock.h:
2123         * gst/gstclock.c (gst_clock_get_calibration) 
2124         (gst_clock_set_calibration): New functions, obsolete the ones I
2125         added yesterday. Doh. Precision issues mean we have to extrapolate
2126         from a point in the more recent past than 1970.
2127         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2128         obsolete.
2129         (gst_clock_adjust_unlocked): Use the right calibration data.
2130
2131 2005-11-18  Edward Hervey  <edward@fluendo.com>
2132
2133         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2134         Also reset the ->current_* values in READY->PAUSED
2135
2136 2005-11-18  Andy Wingo  <wingo@pobox.com>
2137
2138         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2139         Whoops, check the right fd. Also add some debugging.
2140         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2141         (do_linear_regression): Add a crapload of debugging. Subtract off
2142         the minimum values from the input series to discard unneeded bits.
2143         Use only int arithmetic. There is still double arithmetic when
2144         calculating the intercept that needs fixing. Return boolean to
2145         indicate success; FALSE would mean the domain or range is too
2146         great. Still needs fixes.
2147
2148 2005-11-18  Wim Taymans  <wim@fluendo.com>
2149
2150         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2151         For the current position in stream time, we need to subtract
2152         accumulated time.
2153         
2154         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2155         Release lock before calling the callback function of async
2156         entries.
2157
2158 2005-11-18  Andy Wingo  <wingo@pobox.com>
2159
2160         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2161         Port goes all the way to MAXUINT16.
2162
2163         * gst/net/gstnettimeprovider.c: Make the port range the same as
2164         for the kernel: 0 assigns, otherwise ports are less than
2165         MAXUINT16.
2166
2167         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2168         port change.
2169
2170         * check/net/gstnetclientclock.c (test_functioning): Add the start
2171         of another test. 
2172
2173 2005-11-18  Wim Taymans  <wim@fluendo.com>
2174
2175         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2176         (gst_bin_remove_func), (bin_bus_handler):
2177         * gst/gstbin.h:
2178         Removing a clock provider from a bin, triggers a clock lost message
2179         so that a new clock will be selected.
2180         Adding a clock to a bin triggers a clock provider message.
2181         Make sure we reselect a clock when we received a clock lost message.
2182         Keep a reference to the element that provided the clock.
2183
2184 2005-11-18  Andy Wingo  <wingo@pobox.com>
2185
2186         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2187         the clock initially so it produces values around the base time.
2188         (gst_net_client_clock_class_init): Typo fix.
2189         (gst_net_client_clock_thread): Add note on when the socket gets
2190         closed.
2191
2192 2005-11-17  Wim Taymans  <wim@fluendo.com>
2193
2194         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2195         Free remote and local time arrays.
2196
2197 2005-11-17  Wim Taymans  <wim@fluendo.com>
2198
2199         * gst/net/gstnetclientclock.c: (do_linear_regression),
2200         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2201         Fix compilation, uninitialized vars and a forgotten continue.
2202
2203 2005-11-17  Andy Wingo  <wingo@pobox.com>
2204
2205         * check/Makefile.am (check_PROGRAMS): 
2206         * check/net/gstnetclientclock.c: Add a most minimal test for the
2207         net client clock. More to come later.
2208
2209         * gst/net/gstnet.h: 
2210         * gst/net/Makefile.am: Add netclientclock.
2211
2212         * gst/net/gstnetclientclock.h:
2213         * gst/net/gstnetclientclock.c: New files, implement an untested
2214         GstClock that takes its time from a network time provider.
2215         Implements the algorithm in network-clock.scm.
2216
2217         * tests/network-clock.scm (*window-size*): Rename from
2218         *queue-length*.
2219         * tests/network-clock.scm (network-time): 
2220         * tests/network-clock-utils.scm (q-push): Update callers.
2221
2222 2005-11-17  Wim Taymans  <wim@fluendo.com>
2223
2224         * gst/gstbin.c: (gst_bin_provide_clock_func),
2225         (gst_bin_sort_iterator_new):
2226         And unref the child too..
2227
2228 2005-11-17  Wim Taymans  <wim@fluendo.com>
2229
2230         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2231         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2232         Refactor the sort iterator so it can be used while holding the
2233         LOCK too.
2234         Make clock selection select a clock closest to the source.
2235
2236 2005-11-17  Michael Smith <msmith@fluendo.com>
2237
2238         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2239         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2240         * gst/gstclock.h:
2241           Anonymous structs are a gcc (and some other compilers) extension, so
2242           don't use them. Since this is only for ABI-compatibility, and our
2243           API/ABI freeze is over in a few days, this whole thing will only
2244           last a few days, so don't bother trying to think up a meaningful
2245           name for the struct.
2246
2247 2005-11-17  Andy Wingo  <wingo@pobox.com>
2248
2249         * gst/gstclock.h (GstClock): Add rate and offset properties,
2250         preserving ABI stability. Add rate/offset accessors. Will file bug
2251         for the freeze break.
2252
2253         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2254         and offset, trying to keep precision and avoiding
2255         underflow/overflow.
2256         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2257         functions. Make gst_clock_set_time_adjust obsolete.
2258         (gst_clock_set_time_adjust): Note that this function is obsolete.
2259         Will file bug soon.
2260
2261         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2262         greppable by using GST_PADDING-1+1.
2263
2264 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2265
2266         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2267
2268         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2269           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2270
2271         * gst/gstpadtemplate.h:
2272         * gst/gstpluginfeature.h:
2273           Don't use c++ style comments in headers (#321638).
2274
2275 2005-11-16  Andy Wingo  <wingo@pobox.com>
2276
2277         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2278         buffer.
2279
2280         * check/net/gstnettimeprovider.c: Check to see that the time
2281         provider actually provides times. Works, yo!
2282
2283 2005-11-16  Wim Taymans  <wim@fluendo.com>
2284
2285         * check/Makefile.am:
2286         Enable more tests.
2287
2288         * check/elements/fakesrc.c: (GST_START_TEST):
2289         Set element to NULL before disposing it.
2290
2291 2005-11-16  Andy Wingo  <wingo@pobox.com>
2292
2293         * gst/net/Makefile.am:
2294         * gst/net/gstnet.h:
2295         * gst/net/gstnettimeprovider.c: 
2296         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2297         provider, include it from gstnet.h, and add it to the build.
2298
2299         * gst/net/gstnettimepacket.h: 
2300         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2301         sending and receiving.
2302
2303 2005-11-16  Wim Taymans  <wim@fluendo.com>
2304
2305         * check/Makefile.am:
2306         Enable valgrind check.
2307
2308         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2309         (gst_fake_src_alloc_buffer):
2310         Fix memleak.
2311
2312 2005-11-16  Wim Taymans  <wim@fluendo.com>
2313
2314         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2315         Call parent finalize too.
2316
2317 2005-11-16  Wim Taymans  <wim@fluendo.com>
2318
2319         * check/Makefile.am:
2320         Enable valgrind check that should work fine now.
2321
2322         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2323         * gst/gstqueue.c: (gst_queue_init):
2324         Fix memleaks in pad allocation.
2325
2326 2005-11-16  Andy Wingo  <wingo@pobox.com>
2327
2328         * gst/net/Makefile.am:
2329         * gst/net/gstnet.h: New part of core to hold network elements and
2330         objects. Put in core because it exposes API that applications want
2331         to use. The library is named libgstnet-tempname right now because
2332         of the existing libgstnet in gst-plugins-base. Solution is
2333         probably to rename the one in plugins-base; will file a bug for
2334         the freeze break.
2335
2336         * gst/net/gstnettimeprovider.c: 
2337         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2338         get_time call over the network.
2339
2340         * configure.ac: 
2341         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2342
2343         * check/Makefile.am:
2344         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2345         get additions shortly.
2346
2347 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2348
2349         * gst/gstpad.c: (gst_pad_new_from_static_template):
2350         * gst/gstpad.h:
2351           add gst_pad_new_from_static_template functions
2352         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2353         (gst_check_setup_sink_pad):
2354         * gst/elements/gsttee.c: (gst_tee_init):
2355           and use them
2356
2357 2005-11-16  Wim Taymans  <wim@fluendo.com>
2358
2359         * gst/gstpad.c: (gst_pad_pause_task):
2360         Removed warning, it's not really an error either.
2361
2362 2005-11-16  Wim Taymans  <wim@fluendo.com>
2363
2364         * gst/base/gstbasetransform.c:
2365         (gst_base_transform_prepare_output_buf),
2366         (gst_base_transform_event):
2367         Check if the caps are NULL, this can happen if the element
2368         is shutting down and the pad caps are set to NULL.
2369
2370 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2371
2372         * gst/elements/gsttee.c: (gst_tee_init):
2373           fix pad template leak in tee
2374
2375 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2376
2377         * gst/glib-compat.c: (g_value_dup_gst_object):
2378         * gst/glib-compat.h:
2379         * gst/gstpad.c: (gst_pad_set_property):
2380           use gst_object_ref when setting the pad template; this will
2381           trigger the pad template leaks on GLib 2.6 and the slaves
2382
2383 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2384
2385         * gst/glib-compat.c: (gst_flags_get_first_value):
2386         * gst/glib-compat.h:
2387         * gst/gstregistryxml.c:
2388           remove functions copied from GLib 2.6
2389
2390 2005-11-16  Michael Smith <msmith@fluendo.com>
2391
2392         * gst/Makefile.am:
2393           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2394           do, but only breaks with newer valgrind versions. We're not a
2395           valgrind tool, we have no link-time dependencies on libcoregrind.
2396
2397 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2398
2399         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2400           some debug changes
2401         * gst/gstmessage.h:
2402           typo fixes
2403
2404 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2405
2406         * gst/base/gstbasesrc.c: (gst_base_src_init):
2407         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2408         * gst/gstqueue.c: (gst_queue_init):
2409         * gst/gstregistryxml.c: (load_feature):
2410           Revert all these unrefs, they don't even pass make check !
2411
2412 2005-11-15  Johan Dahlin  <johan@gnome.org>
2413
2414         * gst/base/gstbasesrc.c: (gst_base_src_init):
2415         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2416         * gst/gstqueue.c: (gst_queue_init): 
2417         Free pad templates, fixes a couple of leaks.
2418
2419 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2420
2421         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2422
2423         * gst/gstpad.c: (gst_pad_get_property):
2424           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2425           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2426           (#321452)
2427
2428 2005-11-15  Wim Taymans  <wim@fluendo.com>
2429
2430         * gst/gstevent.c:
2431         Small doc update.
2432
2433 2005-11-15  Andy Wingo  <wingo@pobox.com>
2434
2435         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2436
2437         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2438         using GST_CLOCK_TIME_NONE to disable base time management.
2439         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2440         time if it was NONE before.
2441         (gst_pipeline_change_state): Only munge the base time if
2442         stream_time != GST_CLOCK_TIME_NONE.
2443
2444         * check/gst/gstpipeline.c (test_base_time): Punt around the
2445         problem of the probe not being called, because that's not the
2446         issue I'm looking at. Add a check that setting stream_time to NONE
2447         disables base time management.
2448         
2449 2005-11-15  Wim Taymans  <wim@fluendo.com>
2450
2451         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2452         segment_stop == -1 at startup.
2453
2454         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2455         (gst_base_transform_change_state):
2456         Init segment values at start.
2457
2458 2005-11-15  Wim Taymans  <wim@fluendo.com>
2459
2460         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2461         0 segment values are 0 in any format.
2462
2463         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2464         * gst/base/gstbasetransform.h:
2465         Parse newsegment correctly in basetransform
2466
2467         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2468         Sync to clock using updated segment values.
2469
2470 2005-11-15  Andy Wingo  <wingo@pobox.com>
2471
2472         * check/gst/gstpipeline.c (test_base_time): Add check that the
2473         base time and stream time are reset correctly.
2474
2475 2005-11-15  Wim Taymans  <wim@fluendo.com>
2476
2477         * docs/design/part-TODO.txt:
2478         Some more TODO items.
2479
2480 2005-11-15  Andy Wingo  <wingo@pobox.com>
2481
2482         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2483         error if the user selected "no clock" as the clocking method.
2484
2485         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2486         timestamps with live capture.
2487
2488         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2489         is 0 but we are a live source, timestamp the buffers using the
2490         element's clock.
2491
2492 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2493
2494         * docs/gst/gstreamer-sections.txt:
2495         * gst/gsterror.c:
2496         * gst/gstghostpad.c:
2497         * gst/gstobject.h:
2498         * gst/gstxml.c:
2499           more section docs
2500
2501 2005-11-14  Wim Taymans  <wim@fluendo.com>
2502
2503         * common/gst.supp:
2504           add suppressions from Wim's Debian machine
2505
2506 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2507
2508         * common/gst.supp:
2509           add suppressions from Andy's AMD64 Ubuntu machine
2510
2511 2005-11-14  Andy Wingo  <wingo@pobox.com>
2512
2513         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2514         STATE_LOCK not necessary. Fixes #311489.
2515
2516         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2517         #305291.
2518
2519         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2520         this function is not implemented.
2521
2522 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2523
2524         * gst/base/gstbasetransform.c:
2525         (gst_base_transform_prepare_output_buf):
2526         Ref the source pad caps while we need them.
2527         Fixes (#321386)
2528
2529 2005-11-11  Wim Taymans  <wim@fluendo.com>
2530
2531         * docs/gst/gstreamer-sections.txt:
2532         Added some docs for GstCollectData.
2533
2534         * gst/base/gstadapter.c:
2535         Some small code example fix.
2536
2537         * gst/base/gstcollectpads.c:
2538         * gst/base/gstcollectpads.h:
2539         Document some more.
2540
2541 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2542
2543         * configure.ac: back to HEAD
2544
2545 === release 0.9.5 ===
2546
2547 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2548
2549         * configure.ac:
2550           releasing 0.9.5, "Bike Lunch Day"
2551
2552 2005-11-11  Wim Taymans  <wim@fluendo.com>
2553
2554         * gst/gstbuffer.c: (_gst_buffer_copy):
2555         Copy more flags.
2556
2557         * gst/gstcaps.c: (gst_caps_is_equal):
2558         Fix some docs.
2559         Make _is_equal fast in the trivial cases.
2560
2561         * gst/gstminiobject.c:
2562         * gst/gstminiobject.h:
2563         More docs. Spifify .h file.
2564
2565         * gst/gstutils.c:
2566         Small doc update.
2567
2568 2005-11-11  Wim Taymans  <wim@fluendo.com>
2569
2570         * gst/base/gstbasetransform.c:
2571         (gst_base_transform_prepare_output_buf),
2572         (gst_base_transform_handle_buffer):
2573         Small cleanups.
2574         If we're processing a buffer and need to allocate an output
2575         buffer, we cannot accept a format change. If we did get a 
2576         format change, we have to alloc a buffer ourselves of the 
2577         right size.
2578
2579 2005-11-11  Wim Taymans  <wim@fluendo.com>
2580
2581         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2582         While checking the flag for reentrancy in the gstcaps function
2583         is nice to detect recursive invocations, it also makes it 
2584         impossible to call getcaps from multiple threads, which must be
2585         possible. So, checking for recursive calls has to go.
2586
2587 2005-11-11  Michael Smith <msmith@fluendo.com>
2588
2589         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2590           Don't sync on buffers that fall partially outside our current
2591           segment. Prevents an assertion failure/abort playing some files.
2592
2593 2005-11-10  Andy Wingo  <wingo@pobox.com>
2594
2595         * check/gst/gstbin.c (test_message_state_changed_children): Style
2596         fix..
2597
2598         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2599         gst_bus_poll with the signal watch. Ensures that poll and a signal
2600         watch see the same messages.
2601
2602         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2603         a poll and a watch at the same time get the same messages.
2604
2605 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2606
2607         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2608         * gst/gstcaps.c: (gst_caps_intersect):
2609           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2610           and it's not needed.
2611
2612 2005-11-10  Wim Taymans  <wim@fluendo.com>
2613
2614         * docs/design/part-TODO.txt:
2615         Updated todo.
2616
2617 2005-11-10  Wim Taymans  <wim@fluendo.com>
2618
2619         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2620         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2621         (gst_base_src_do_sync), (gst_base_src_get_range):
2622         Implement clock sync in base class.
2623
2624 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2625
2626         patch by: Tim-Philipp Müller <tim at centricular dot net>
2627
2628         * gst/gststructure.c: (gst_structure_parse_field),
2629         (gst_structure_from_string):
2630           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2631           so that gst_parse_launch() can deal with spaces in filtered link
2632           caps (fixes #164479)
2633         * check/gst/capslist.h:
2634         * check/gst/gststructure.c: (GST_START_TEST):
2635           add unit tests for this change
2636
2637 2005-11-10  Wim Taymans  <wim@fluendo.com>
2638
2639         * docs/gst/gstreamer-sections.txt:
2640         * gst/gstelement.c:
2641         * gst/gstelement.h:
2642         Fix docs, move some STATE macros to private.
2643
2644 2005-11-10  Wim Taymans  <wim@fluendo.com>
2645
2646         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2647         Added check for bug #317341
2648
2649         * gst/gstbuffer.c:
2650         * gst/gstbuffer.h:
2651         Some more spiffifying.
2652
2653         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2654         Call peer linkfunction if we are a source pad. Totally fixes
2655         #317341
2656
2657         * gst/gstpad.c:
2658         Update docs, source pads should call the peer linkfunction
2659         so they can atomically perform the pad link.
2660
2661 2005-11-09  Wim Taymans  <wim@fluendo.com>
2662
2663         * gst/gstbuffer.c:
2664         * gst/gstbuffer.h:
2665         Uber-spiffy-spiffify some more.
2666
2667 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2668
2669         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2670         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2671         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2672         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2673         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2674         * gst/gstpad.c: (gst_pad_init):
2675           Use GST_DEBUG_FUNCPTR() more extensively.
2676
2677 2005-11-09  Wim Taymans  <wim@fluendo.com>
2678
2679         * gst/gstobject.c: (gst_object_class_init):
2680         * gst/gstobject.h:
2681         Documentation fixes.
2682
2683 2005-11-09  Edward Hervey  <edward@fluendo.com>
2684
2685         * gst/gsttypefindfactory.c:
2686         Fix docs.
2687         
2688 2005-11-09  Edward Hervey  <edward@fluendo.com>
2689
2690         * gst/base/gsttypefindhelper.c:
2691         * gst/gsttypefind.c:
2692         * gst/gsttypefind.h:
2693         Fix docs.
2694
2695 2005-11-09  Wim Taymans  <wim@fluendo.com>
2696
2697         * gst/gstiterator.c:
2698         Fix revision data.
2699
2700         * gst/gsttask.c:
2701         * gst/gsttask.h:
2702         Fix docs.
2703
2704 2005-11-09  Wim Taymans  <wim@fluendo.com>
2705
2706         * gst/gstevent.h:
2707         * gst/gsturi.h:
2708         Fix docs.
2709
2710 2005-11-09  Wim Taymans  <wim@fluendo.com>
2711
2712         * docs/gst/gstreamer-sections.txt:
2713         Moved the message async delivery private lock and cond
2714         to the private section.
2715
2716         * gst/gstmessage.c:
2717         * gst/gstmessage.h:
2718         Fixed docs.
2719
2720 2005-11-09  Edward Hervey  <edward@fluendo.com>
2721
2722         * docs/gst/gstreamer-sections.txt:
2723         * gst/gsturi.c:
2724         * gst/gsturi.h:
2725         Document GstURIHandler
2726
2727 2005-11-09  Wim Taymans  <wim@fluendo.com>
2728
2729         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2730         (gst_iterator_find_custom):
2731         * gst/gstiterator.h:
2732         Fix iterator docs.
2733
2734 2005-11-09  Wim Taymans  <wim@fluendo.com>
2735
2736         * gst/gstbin.h:
2737         Document another field.
2738
2739         * gst/gststructure.c:
2740         * gst/gststructure.h:
2741         Document.
2742
2743 2005-11-09  Wim Taymans  <wim@fluendo.com>
2744
2745         * gst/gstbin.h:
2746         Documented structs.
2747
2748 2005-11-09  Wim Taymans  <wim@fluendo.com>
2749
2750         * docs/gst/gstreamer-sections.txt:
2751         Added some new macros.
2752
2753         * gst/gstclock.c:
2754         * gst/gstclock.h:
2755         * gst/gstobject.h:
2756         Docs updates.
2757
2758 2005-11-09  Wim Taymans  <wim@fluendo.com>
2759
2760         * docs/design/part-TODO.txt:
2761         Some more items for the TODO
2762
2763         * gst/gstcaps.c:
2764         * gst/gstcaps.h:
2765         Document GstCaps.
2766
2767 2005-11-09  Andy Wingo  <wingo@pobox.com>
2768
2769         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2770         to work on something else now tho...
2771
2772         * gst/base/gstadapter.c: More adapter docs.
2773
2774         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2775         (gst_file_sink_stop): New functions, replace the state change
2776         handler.
2777         (gst_file_sink_class_init): Hook up the start and stop functions.
2778         (gst_file_sink_base_init): Don't set the state change handler any
2779         more. It was a bit ugly too, being set from here...
2780         (gst_file_sink_get_property, gst_file_sink_set_property):
2781         Cleanups...
2782         (gst_file_sink_set_location): More robust check that doesn't call
2783         GST_STATE. Ugggggg.
2784
2785 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2786
2787         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2788           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2789
2790 2005-11-08  Wim Taymans  <wim@fluendo.com>
2791
2792         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2793         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2794         (gst_base_sink_chain), (gst_base_sink_change_state):
2795         * gst/base/gstbasesink.h:
2796         * gst/base/gstbasesrc.h:
2797         * gst/gstelement.h:
2798         * gst/gstevent.h:
2799         Avoid excessive typechecking in macros.
2800
2801         * gst/gstminiobject.c: (gst_mini_object_get_type),
2802         (gst_mini_object_init), (gst_mini_object_new),
2803         (gst_mini_object_free):
2804         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2805         (gst_object_finalize):
2806         Remove cruft code, optimize alloc_trace.
2807
2808 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2809
2810         * docs/faq/gst-uninstalled:
2811           fix up PS1 for systems that try to reset it
2812
2813 2005-11-07  Wim Taymans  <wim@fluendo.com>
2814
2815         * gst/base/gstbasesrc.c: (gst_base_src_init),
2816         (gst_base_src_get_range):
2817         Set the segment_end to -1 initially. Fixed typefind.
2818
2819 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2820
2821         * gst/base/gstadapter.c:
2822           Debug category should be 'adapter', not 'GstAdapter'.
2823           
2824         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2825         (gst_collectpads_class_init), (gst_collectpads_init),
2826         (gst_collectpads_peek), (gst_collectpads_pop),
2827         (gst_collectpads_event), (gst_collectpads_chain):
2828           Add debug category and some debugging output. Use boilerplate
2829           macros. Remove some extraneous words from docs.
2830
2831 2005-11-05  Andy Wingo  <wingo@pobox.com>
2832
2833         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2834         macro.
2835
2836 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2837
2838         * docs/gst/gstreamer-sections.txt:
2839         * gst/gstcaps.h:
2840         * gst/gstinfo.c:
2841         * gst/gstminiobject.h:
2842         * gst/gstobject.h:
2843         * gst/gstutils.h:
2844           more docs added
2845
2846 2005-11-04  Wim Taymans  <wim@fluendo.com>
2847
2848         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2849         Small update to stop at the configured segment_end
2850         position.
2851
2852 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2853
2854         * gst/gstregistry.c:
2855         * gst/gstregistry.h:
2856           added missing docs
2857
2858 2005-11-04  Edward Hervey  <edward@fluendo.com>
2859
2860         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2861         Check if we are doing a segment seek and have arrived at the
2862         end of that segment.
2863
2864 2005-11-04  Wim Taymans  <wim@fluendo.com>
2865
2866         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2867         Don't leak a mutex unlock in case of an error.
2868
2869         * gst/gstbus.h:
2870         Doc fixes.
2871
2872 2005-11-04  Wim Taymans  <wim@fluendo.com>
2873
2874         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2875         (gst_bus_post):
2876         Get the context to wake up only once.
2877
2878 2005-11-03  Wim Taymans  <wim@fluendo.com>
2879
2880         * check/states/sinks.c: (GST_START_TEST):
2881         Uncomment fixed check.
2882
2883         * docs/design/part-TODO.txt:
2884         Updated TODO.
2885
2886         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2887         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2888         (gst_base_sink_get_position):
2889         If we are going to PLAYING, post the right pending state
2890         when we post the intermediate paused message.
2891
2892         * gst/gstelement.c: (gst_element_continue_state),
2893         (gst_element_set_state_func), (gst_element_change_state):
2894         Don't post state changes that were between the same state
2895         and were not ASYNC.
2896
2897 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2898
2899         * docs/gst/gstreamer-sections.txt:
2900         * gst/gstcaps.h:
2901         * gst/gstinfo.c:
2902         * gst/gstminiobject.h:
2903         * gst/gstobject.h:
2904         * gst/gstutils.h:
2905           more docs and doc style fixes
2906
2907 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2908
2909         * docs/gst/gstreamer-sections.txt:
2910         * gst/gstelement.c:
2911         * gst/gstminiobject.c:
2912         doc fixes
2913
2914 2005-11-03  Andy Wingo  <wingo@pobox.com>
2915
2916         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2917         state-changed messages actually have the right order and the right
2918         values.
2919
2920 2005-11-03  Wim Taymans  <wim@fluendo.com>
2921
2922         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2923         Added some more checks. Specifically the case where NO_PREROLL
2924         elements are in the pipeline.
2925
2926         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2927         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2928         (gst_base_sink_get_position):
2929         Post READY->PAUSED state change messages too.
2930         Fix bug where VOID was posted as pending state...
2931
2932         * gst/gstbin.c: (gst_bin_recalc_state):
2933         use _element_continue_state() to continue the state change.
2934
2935         * gst/gstelement.c: (gst_element_continue_state),
2936         (gst_element_commit_state), (gst_element_set_state_func),
2937         (gst_element_change_state), (gst_element_change_state_func):
2938         Lots of state change cleanups, assign the STATE_RETURN in
2939         a new continue_state() function that also propagates the
2940         last return value from a state change to the app.
2941         Update some debug statements with proper category.
2942
2943 2005-11-03  Wim Taymans  <wim@fluendo.com>
2944
2945         * docs/design/part-events.txt:
2946         * docs/design/part-gstpipeline.txt:
2947         * docs/design/part-messages.txt:
2948         * docs/design/part-overview.txt:
2949         * docs/design/part-seeking.txt:
2950         * docs/design/part-states.txt:
2951         * docs/design/part-trickmodes.txt:
2952         * docs/manual/advanced-position.xml:
2953         Small docs updates.
2954
2955         * gst/gstobject.h:
2956         People think !! is ugly, this looks better.
2957
2958         * gst/gstpad.c: (gst_pad_set_blocked_async):
2959         Remove !! since it's fixed elsewhere now.
2960
2961 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2962
2963         * gst/gstminiobject.h:
2964         * gst/gstobject.h:
2965           Add !! to _FLAG_IS_SET macros to make the result boolean.
2966
2967 2005-11-03  Edward Hervey  <edward@fluendo.com>
2968
2969         * gst/gstpad.c: (gst_pad_set_blocked_async):
2970         comparing a flag and a gboolean rarely returns coherent results...
2971         Added two characters (!!) to make that work correctly.
2972         
2973 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2974
2975         * gst/gstbus.c: (gst_bus_class_init):
2976           Fix some typos.
2977           
2978         * gst/gstqueue.c: (gst_queue_loop):
2979           Don't assume a miniobject that isn't a buffer is an
2980           event (it could be that there is a refcounting
2981           problem somewhere and the pointer is stale and
2982           refers to an already destroyed miniobject).
2983
2984 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2985
2986         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2987
2988 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2989
2990         * docs/manual/advanced-position.xml:
2991           Update seek example and explanations to current 0.9 API.
2992
2993         * gst/elements/gsttypefindelement.c:
2994         (gst_type_find_element_activate):
2995           Remove FIXME comment now that the found caps
2996           are unreffed.
2997
2998 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2999
3000         * gst/gstregistryxml.c: (load_feature):
3001           Add another GST_STR_NULL instance
3002
3003 2005-11-02  Edward Hervey  <edward@fluendo.com>
3004
3005         * gst/gstpad.c: (handle_pad_block):
3006         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3007         
3008 2005-11-02  Wim Taymans  <wim@fluendo.com>
3009
3010         * gst/gstbin.c:
3011         Fix typo in docs.
3012
3013         * gst/gstelement.c: (gst_element_commit_state):
3014         Remove unused value.
3015
3016         * gst/gstiterator.c:
3017         Mention that the returned element is reffed in the docs.
3018
3019 2005-11-02  Wim Taymans  <wim@fluendo.com>
3020
3021         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3022         (gst_pad_push), (gst_pad_push_event):
3023         Unlock blocked pads when they are flushed.
3024
3025 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3026
3027         * docs/README:
3028         * docs/gst/gstreamer-sections.txt:
3029         * gst/gstbin.c:
3030           doc updates
3031         * gst/gstregistry.c: (gst_registry_scan_path_level):
3032           fix for a nasty little missed situation where an installed plug-in
3033           which was in the cache did not get overridden by an uninstalled one
3034           which was earlier in the plugin path because the newly created plugin
3035           for the uninstalled one (not in the registry) didn't get its
3036           ->registered set to TRUE
3037
3038 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3039
3040         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3041         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3042         (gst_collectpads_is_active), (gst_collectpads_collect),
3043         (gst_collectpads_collect_range), (gst_collectpads_start),
3044         (gst_collectpads_stop), (gst_collectpads_peek),
3045         (gst_collectpads_pop), (gst_collectpads_available),
3046         (gst_collectpads_read), (gst_collectpads_flush):
3047           Guard public API with assertions.
3048         
3049         * gst/gstpad.c:
3050           Fix docs for gst_pad_set_link_function().
3051
3052 2005-11-02  Johan Dahlin  <johan@gnome.org>
3053
3054         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3055         Unref found_caps after we used it.
3056
3057 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3058
3059         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3060           Don't try to ref NULL.
3061
3062 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3063
3064         * win32/common/config.h.in:
3065           provide a GST_FUNCTION that just gives a string for now
3066
3067 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3068
3069         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3070         (gst_object_flags_get_type), (register_gst_bin_flags),
3071         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3072         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3073         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3074         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3075         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3076         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3077         (gst_clock_flags_get_type), (register_gst_state),
3078         (gst_state_get_type), (register_gst_state_change_return),
3079         (gst_state_change_return_get_type), (register_gst_state_change),
3080         (gst_state_change_get_type), (register_gst_element_flags),
3081         (gst_element_flags_get_type), (register_gst_core_error),
3082         (gst_core_error_get_type), (register_gst_library_error),
3083         (gst_library_error_get_type), (register_gst_resource_error),
3084         (gst_resource_error_get_type), (register_gst_stream_error),
3085         (gst_stream_error_get_type), (register_gst_event_type),
3086         (gst_event_type_get_type), (register_gst_seek_type),
3087         (gst_seek_type_get_type), (register_gst_seek_flags),
3088         (gst_seek_flags_get_type), (register_gst_format),
3089         (gst_format_get_type), (register_gst_index_certainty),
3090         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3091         (gst_index_entry_type_get_type),
3092         (register_gst_index_lookup_method),
3093         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3094         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3095         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3096         (gst_index_flags_get_type), (register_gst_debug_level),
3097         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3098         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3099         (gst_iterator_result_get_type), (register_gst_iterator_item),
3100         (gst_iterator_item_get_type), (register_gst_message_type),
3101         (gst_message_type_get_type), (register_gst_mini_object_flags),
3102         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3103         (gst_pad_link_return_get_type), (register_gst_flow_return),
3104         (gst_flow_return_get_type), (register_gst_activate_mode),
3105         (gst_activate_mode_get_type), (register_gst_pad_direction),
3106         (gst_pad_direction_get_type), (register_gst_pad_flags),
3107         (gst_pad_flags_get_type), (register_gst_pad_presence),
3108         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3109         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3110         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3111         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3112         (gst_plugin_flags_get_type), (register_gst_rank),
3113         (gst_rank_get_type), (register_gst_query_type),
3114         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3115         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3116         (gst_tag_flag_get_type), (register_gst_task_state),
3117         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3118         (gst_alloc_trace_flags_get_type),
3119         (register_gst_type_find_probability),
3120         (gst_type_find_probability_get_type), (register_gst_uri_type),
3121         (gst_uri_type_get_type), (register_gst_parse_error),
3122         (gst_parse_error_get_type):
3123         * win32/common/gstversion.h:
3124           update win32 copies
3125
3126 2005-11-01  Luca Ognibene  <luogni@tin.it>
3127
3128         * gst/gst.c:
3129           fix docs. popt is dead, long live GOption.
3130
3131 2005-10-31  Wim Taymans  <wim@fluendo.com>
3132
3133         * gst/gstbuffer.h:
3134         Small doc fix.
3135
3136 2005-10-31  Andy Wingo  <wingo@pobox.com>
3137
3138         * Boo!
3139
3140         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3141
3142         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3143         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3144         the possibility of deadlocks here if code calling notify() or
3145         set() has a lock that can be taken in another notify handler (ABBA
3146         with class lock and e.g. python GIL state lock).
3147
3148 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3149
3150         * gst/gstbus.c: Doc updates.
3151
3152 2005-10-28  Wim Taymans  <wim@fluendo.com>
3153
3154         * docs/design/part-TODO.txt:
3155         * gst/gstiterator.c:
3156         * gst/gstsystemclock.c:
3157         * gst/gstsystemclock.h:
3158         Doc updates.
3159
3160 2005-10-28  Edward Hervey  <edward@fluendo.com>
3161
3162         * docs/gst/gstreamer-docs.sgml:
3163         * docs/gst/gstreamer-sections.txt:
3164         the GstURIType documentation page is private, it only defines GstURIType
3165         which should be defined in the GstURIHandler page
3166         
3167 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3168
3169         * gst/gstbin.c: (gst_bin_class_init):
3170         * gst/gstbin.h:
3171         * gst/gstutils.c:
3172         Documentation updates.
3173
3174 2005-10-28  Wim Taymans  <wim@fluendo.com>
3175
3176         * docs/gst/gstreamer-sections.txt:
3177         * gst/gstclock.c:
3178         * gst/gstclock.h:
3179         Documented the clocks.
3180
3181 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3182
3183         * docs/gst/gstreamer-sections.txt:
3184           move some macros to private sections
3185         * gst/gstminiobject.c:
3186         * gst/gstminiobject.h:
3187           add descriptions provided by ds and some more
3188         * gst/gstpad.h:
3189           mark macro as to be removed
3190
3191 2005-10-28  Wim Taymans  <wim@fluendo.com>
3192
3193         * docs/design/part-TODO.txt:
3194         Add an item to TODO.
3195
3196         * gst/gstiterator.c: (gst_iterator_fold),
3197         (gst_iterator_find_custom):
3198         * gst/gstiterator.h:
3199         Add iterator docs.
3200
3201 2005-10-28  Wim Taymans  <wim@fluendo.com>
3202
3203         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3204         (gst_base_transform_init):
3205         Don't leak class.
3206
3207         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3208         An EOS event marks the queue as completely filled.
3209
3210 2005-10-27  Wim Taymans  <wim@fluendo.com>
3211
3212         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3213         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3214         Some more debugging.
3215
3216         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3217         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3218         (gst_base_transform_event), (gst_base_transform_getrange),
3219         (gst_base_transform_chain):
3220         * gst/base/gstbasetransform.h:
3221         Fix debugging,
3222         Protect transform and concurrent buffer alloc with a new lock.
3223         Try not to break ABI/API.
3224
3225 2005-10-27  Wim Taymans  <wim@fluendo.com>
3226
3227         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3228         (gst_base_src_init), (gst_base_src_query),
3229         (gst_base_src_default_newsegment),
3230         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3231         (gst_base_src_send_event), (gst_base_src_event_handler),
3232         (gst_base_src_pad_get_range), (gst_base_src_loop),
3233         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3234         (gst_base_src_start), (gst_base_src_deactivate),
3235         (gst_base_src_activate_push), (gst_base_src_change_state):
3236         Move some stuff around and cleanup things.
3237
3238 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3239
3240         * gst/base/gstbasesrc.c: (gst_base_src_query):
3241           Add missing break statements.
3242
3243 2005-10-27  Wim Taymans  <wim@fluendo.com>
3244
3245         * check/gst/gstbin.c: (GST_START_TEST):
3246         An extra refcount is taken in basesrc.
3247
3248         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3249         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3250         (gst_base_src_loop):
3251         Small cleanups, check for flushing after being unlocked from the 
3252         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3253         Don't send out EOS when going to READY.
3254
3255 2005-10-27  Wim Taymans  <wim@fluendo.com>
3256
3257         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3258         (gst_base_sink_get_position):
3259         Some more debug.
3260
3261         * gst/gstbin.c: (message_check), (bin_replace_message),
3262         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3263         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3264         (bin_query_duration_init), (bin_query_duration_fold),
3265         (bin_query_duration_done), (bin_query_generic_fold),
3266         (gst_bin_query):
3267         * tools/gst-launch.c: (main):
3268         Remove old option.
3269
3270 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3271
3272         * examples/controller/audio-example.c: (main):
3273         * examples/queue/queue.c: (event_loop):
3274         * gst/base/gstbasetransform.h:
3275         * gst/gstelement.c: (gst_element_send_event):
3276         * gst/gstevent.h:
3277         * gst/gstpad.c: (gst_pad_send_event):
3278           fixing examples
3279           fixing docs typos
3280           changing log priority in error situations
3281
3282 2005-10-25  Wim Taymans  <wim@fluendo.com>
3283
3284         * gst/gstbin.c: (message_check), (bin_replace_message),
3285         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3286         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3287         (bin_query_duration_init), (bin_query_duration_fold),
3288         (bin_query_duration_done), (bin_query_generic_fold),
3289         (gst_bin_query):
3290         Some doc and debug updates.
3291         Cache previously requested query DURATION for speed. invalidate
3292         cached duration if element posts a DURATION message.
3293
3294 2005-10-25  Wim Taymans  <wim@fluendo.com>
3295
3296         * docs/design/part-TODO.txt:
3297         Update TODO.
3298
3299         * gst/gstbin.c: (message_check), (bin_replace_message),
3300         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3301         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3302         (bin_query_duration_init), (bin_query_duration_fold),
3303         (bin_query_duration_done), (bin_query_generic_fold),
3304         (gst_bin_query):
3305         Handle SEGMENT_START/DONE messages correctly.
3306         More evolved query algorithm that handles duration queries
3307         correctly.
3308
3309         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3310         (gst_element_get_state_func), (gst_element_abort_state),
3311         (gst_element_commit_state), (gst_element_lost_state):
3312         Some more debugging.
3313
3314         * gst/gstmessage.h:
3315         Added doc.
3316
3317 2005-10-25  Wim Taymans  <wim@fluendo.com>
3318
3319         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3320         Don't use invalid stream_time.
3321
3322         * gst/gstevent.c: (gst_event_new_newsegment):
3323         stream_time in newsegment cannot be undefined.
3324
3325 2005-10-24  Wim Taymans  <wim@fluendo.com>
3326
3327         * gst/gstbus.c:
3328         Doc fix.
3329
3330         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3331         (gst_queue_loop):
3332         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3333
3334 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3335
3336         * docs/libs/tmpl/gstdparam.sgml:
3337         * docs/libs/tmpl/gstdplinint.sgml:
3338         * docs/libs/tmpl/gstdpman.sgml:
3339         * docs/libs/tmpl/gstdpsmooth.sgml:
3340         * docs/libs/tmpl/gstunitconvert.sgml:
3341           these are obsolete
3342
3343 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3344
3345         * configure.ac:
3346           back to HEAD
3347
3348 === release 0.9.4 ===
3349
3350 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3351
3352         * configure.ac:
3353           releasing 0.9.4, "Tyrannosaurus Rex"
3354
3355 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3356
3357         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3358         (gst_file_sink_get_current_offset):
3359           Use fseeko() and ftello() if available. When falling back on
3360           lseek() to get the current offset, fflush() first to make sure
3361           everything is up-to-date and we get the right offset.
3362
3363 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3364
3365         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3366         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3367         * gst/gsterror.c: (_gst_stream_errors_init):
3368         * gst/gsterror.h:
3369         * gst/gstqueue.c: (gst_queue_loop):
3370         * po/POTFILES.in:
3371           remove prematurely added error category and clean up the instances
3372
3373 2005-10-21  Wim Taymans  <wim@fluendo.com>
3374
3375         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3376         (gst_base_sink_get_position), (gst_base_sink_query),
3377         (gst_base_sink_change_state):
3378         Simply set the right flag when going to playing, that's all
3379         we need to do instead of calling a function inside the object
3380         lock (that could take the lock as well and deadlock)
3381
3382 2005-10-21  Wim Taymans  <wim@fluendo.com>
3383
3384         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3385         (gst_base_src_loop):
3386         Don't warn, the peer element knows what to do best when
3387         the seek failed, it might try something else.
3388
3389 2005-10-21  Wim Taymans  <wim@fluendo.com>
3390
3391         * gst/base/gstbasesrc.c: (gst_base_src_init),
3392         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3393         Fix seeking.
3394
3395 2005-10-21  Wim Taymans  <wim@fluendo.com>
3396
3397         * docs/design/part-segments.txt:
3398         More docs.
3399
3400         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3401         Correctly set caps, even on the subbufer.
3402
3403 2005-10-21  Wim Taymans  <wim@fluendo.com>
3404
3405         * docs/gst/gstreamer-docs.sgml:
3406         * docs/gst/gstreamer-sections.txt:
3407         * gst/gstelement.h:
3408         * gst/gstevent.c:
3409         * gst/gstevent.h:
3410         * gst/gstmessage.h:
3411         * gst/gstpad.h:
3412         * gst/gstparse.h:
3413         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3414         * gst/gsttask.h:
3415         * gst/gstutils.c:
3416         * gst/gstutils.h:
3417         And 2% more doc coverage.
3418
3419 2005-10-21  Andy Wingo  <wingo@pobox.com>
3420
3421         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3422         position reporting.
3423
3424 2005-10-20  Wim Taymans  <wim@fluendo.com>
3425
3426         * gst/gsterror.c: (gst_error_get_message):
3427         * gst/gstparse.h:
3428         * gst/gstquery.h:
3429         * gst/gststructure.c:
3430         * gst/gsttrace.c:
3431         * gst/gstutils.c:
3432         More docs.
3433
3434 2005-10-20  Wim Taymans  <wim@fluendo.com>
3435
3436         * gst/gstbuffer.h:
3437         * gst/gstpad.c:
3438         * gst/gstparse.c:
3439         Another 1% more coverage.
3440
3441 2005-10-20  Wim Taymans  <wim@fluendo.com>
3442
3443         * docs/gst/gstreamer-sections.txt:
3444         * gst/gstelement.c: (gst_element_get_state_func),
3445         (gst_element_abort_state), (gst_element_commit_state),
3446         (gst_element_lost_state):
3447         * gst/gstevent.h:
3448         * gst/gstquery.c: (gst_query_set_position),
3449         (gst_query_parse_position), (gst_query_set_duration),
3450         (gst_query_parse_duration), (gst_query_new_convert):
3451         * gst/gstutils.c:
3452         Yay! 1% more docs coverage.
3453
3454 2005-10-20  Wim Taymans  <wim@fluendo.com>
3455
3456         * gst/gstpad.h:
3457         * gst/gstquery.c: (gst_query_set_position),
3458         (gst_query_parse_position), (gst_query_set_duration),
3459         (gst_query_parse_duration), (gst_query_new_convert):
3460         * gst/gstquery.h:
3461         * gst/gstutils.c: (gst_element_query_convert):
3462         * gst/gstutils.h:
3463         Docs and consistency fixes.
3464
3465 2005-10-20  Wim Taymans  <wim@fluendo.com>
3466
3467         * gst/gsttask.c:
3468         * gst/gsttask.h:
3469         More docs.
3470
3471 2005-10-20  Wim Taymans  <wim@fluendo.com>
3472
3473         * gst/gstbin.c: (message_check), (bin_replace_message),
3474         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3475         (update_degree), (gst_bin_sort_iterator_next),
3476         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3477         Reworked the message handling a bit, cache the messages instead of
3478         only the senders. alows us to do more in the future.
3479
3480 2005-10-20  Wim Taymans  <wim@fluendo.com>
3481
3482         * docs/design/part-TODO.txt:
3483         Update TODO
3484
3485         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3486         (gst_base_sink_query):
3487         Don't use clock time to report position when in EOS.
3488
3489 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3490
3491         * tools/gst-inspect.c: (print_interfaces),
3492         (print_element_properties_info), (print_element_info):
3493           Fix interface output with gst-inspect -a; don't print
3494           newlines after double/float properties.
3495
3496 2005-10-20  Wim Taymans  <wim@fluendo.com>
3497
3498         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3499         (gst_base_sink_query):
3500         Speed up current position calculation.
3501
3502         * gst/base/gstbasesrc.c: (gst_base_src_query),
3503         (gst_base_src_default_newsegment):
3504         Correctly set stream position in newsegment.
3505
3506         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3507         (update_degree), (gst_bin_sort_iterator_next),
3508         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3509         * gst/gstmessage.c: (gst_message_new_custom):
3510         Clean up debugging info
3511
3512         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3513         (gst_queue_loop), (gst_queue_handle_src_query):
3514         Pause task faster.
3515
3516 2005-10-19  Wim Taymans  <wim@fluendo.com>
3517
3518         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3519         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3520         Fix query handling again.
3521
3522 2005-10-19  Wim Taymans  <wim@fluendo.com>
3523
3524         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3525         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3526         * gst/base/gstbasesrc.c: (gst_base_src_query):
3527         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3528         * gst/elements/gsttypefindelement.c:
3529         (gst_type_find_handle_src_query), (find_element_get_length),
3530         (gst_type_find_element_activate):
3531         API change fix.
3532
3533         * gst/gstquery.c: (gst_query_new_position),
3534         (gst_query_set_position), (gst_query_parse_position),
3535         (gst_query_new_duration), (gst_query_set_duration),
3536         (gst_query_parse_duration), (gst_query_set_segment),
3537         (gst_query_parse_segment):
3538         * gst/gstquery.h:
3539         Bundling query position/duration is not a good idea since duration
3540         does not change much and we don't want to recalculate it for every
3541         position query, so they are separated again..
3542         Base value in segment query is not needed.
3543
3544         * gst/gstqueue.c: (gst_queue_handle_src_query):
3545         * gst/gstutils.c: (gst_element_query_position),
3546         (gst_element_query_duration), (gst_pad_query_position),
3547         (gst_pad_query_duration):
3548         * gst/gstutils.h:
3549         Updates for query API change.
3550         Added some docs here and there.
3551
3552 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3553
3554         * check/gst/gstbin.c: (GST_START_TEST):
3555         * check/gst/gstghostpad.c: (GST_START_TEST):
3556         * check/pipelines/cleanup.c: (GST_START_TEST):
3557           wait on thread to die so we can check refcount correctly
3558
3559 2005-10-18  Wim Taymans  <wim@fluendo.com>
3560
3561         * check/pipelines/stress.c: (GST_START_TEST):
3562         Make check a little more time consuming.
3563
3564 2005-10-18  Wim Taymans  <wim@fluendo.com>
3565
3566         * check/Makefile.am:
3567         * check/pipelines/stress.c: (GST_START_TEST),
3568         (simple_launch_lines_suite), (main):
3569         Small state change torture test.
3570
3571         * docs/design/part-states.txt:
3572         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3573         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3574         (gst_base_sink_change_state):
3575         Never take state lock from streaming thread, clean up ugly
3576         hacks. Unfortunatly core does not yet support nice ways to
3577         async commit state.
3578         
3579         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3580         (bin_bus_handler):
3581         Start state recalc if a STATE_DIRTY message is posted, but only
3582         on the toplevel bin.
3583
3584         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3585         (gst_element_get_state_func), (gst_element_abort_state),
3586         (gst_element_commit_state), (gst_element_lost_state),
3587         (gst_element_set_state_func), (gst_element_change_state):
3588         * gst/gstelement.h:
3589         State variables are now protected with the LOCK, the state
3590         lock is only used to serialize _set_state().
3591
3592 2005-10-18  Wim Taymans  <wim@fluendo.com>
3593
3594         * check/gst/gstbin.c: (GST_START_TEST):
3595         * check/gst/gstmessage.c: (GST_START_TEST):
3596         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3597         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3598         (bin_bus_handler):
3599         * gst/gstelement.c: (gst_element_abort_state),
3600         (gst_element_commit_state), (gst_element_lost_state):
3601         * gst/gstmessage.c: (gst_message_new_state_changed),
3602         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3603         (gst_message_new_segment_done), (gst_message_new_duration),
3604         (gst_message_parse_state_changed),
3605         (gst_message_parse_segment_start),
3606         (gst_message_parse_segment_done), (gst_message_parse_duration):
3607         * gst/gstmessage.h:
3608         * tools/gst-launch.c: (event_loop):
3609         Seriously, this is better than a previous commit as we only need
3610         to notify the fact that an element changed state in a streaming
3611         thread, marking the state of the parents dirty, hence the 
3612         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3613         message.
3614
3615 2005-10-18  Wim Taymans  <wim@fluendo.com>
3616
3617         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3618         (gst_bin_recalc_func):
3619         * gst/gstelement.c: (gst_element_set_clock),
3620         (gst_element_abort_state), (gst_element_lost_state):
3621         Cleanups, prepare for state change fixes.
3622
3623 2005-10-18  Wim Taymans  <wim@fluendo.com>
3624
3625         * gst/gstbin.h:
3626         * gst/gstelement.c: (gst_element_class_init),
3627         (gst_element_set_state), (gst_element_set_state_func):
3628         * gst/gstelement.h:
3629         Pending ABI changes.
3630         GThreadPool in GstBinClass to monitor async state changes.
3631         state_cookie in GstElement to detect concurrent gst/set state.
3632         set_state is now virtual too in case a very complicated element
3633         has to be constructed.
3634
3635 2005-10-18  Wim Taymans  <wim@fluendo.com>
3636
3637         * check/gst/gstbin.c: (GST_START_TEST):
3638         * check/gst/gstmessage.c: (GST_START_TEST):
3639         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3640         * gst/gstbin.c: (bin_bus_handler):
3641         * gst/gstelement.c: (gst_element_commit_state),
3642         (gst_element_lost_state):
3643         * gst/gstmessage.c: (gst_message_new_state_changed),
3644         (gst_message_new_segment_start), (gst_message_new_segment_done),
3645         (gst_message_new_duration), (gst_message_parse_state_changed),
3646         (gst_message_parse_segment_start),
3647         (gst_message_parse_segment_done), (gst_message_parse_duration):
3648         * gst/gstmessage.h:
3649         * tools/gst-launch.c: (event_loop):
3650         Make messages future proof.
3651         state-change gets a flag if it was a message comming from the
3652         streaming thread.
3653         segment-start/stop can also be specified in other formats.
3654         A message to notify an app that a pipeline changed playback 
3655         duration.
3656         Also fix a GstMessage leak in -launch
3657
3658 2005-10-18  Andy Wingo  <wingo@pobox.com>
3659
3660         * gst/gstelement.c (gst_element_dispose): More helpful message.
3661
3662 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3663
3664         reviewed by: <delete if not using a buddy>
3665
3666         * common/gtk-doc.mak:
3667
3668 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3669
3670         * gst/gstregistry.c: (gst_registry_scan_path_level):
3671           unref a plug-in we get that was already initialized
3672
3673 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3674
3675         * docs/gst/gstreamer-sections.txt:
3676         * docs/libs/gstreamer-libs-sections.txt:
3677         * gst/gstelement.h:
3678           add new api entries
3679           hide internal macro
3680
3681 2005-10-17  Andy Wingo  <wingo@pobox.com>
3682
3683         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3684         cleanup.
3685
3686         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3687
3688         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3689
3690         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3691         (gst_element_get_state_func): Better debug message.
3692         (gst_element_commit_state): s/INFO/DEBUG/.
3693         (gst_element_lost_state, gst_element_change_state): 
3694
3695         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3696         (gst_message_new_custom): s/INFO/LOG/.
3697
3698 2005-10-17  Michael Smith <msmith@fluendo.com>
3699
3700         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3701           Check if end time is valid using end time, not start time.
3702
3703 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3704
3705         * check/gst-libs/controller.c: (GST_START_TEST),
3706         (gst_controller_suite):
3707         * libs/gst/controller/gstcontroller.c:
3708         (gst_controlled_property_set_interpolation_mode):
3709         * libs/gst/controller/gstcontroller.h:
3710         * libs/gst/controller/gstinterpolation.c:
3711         * testsuite/controller/.cvsignore:
3712         * testsuite/controller/Makefile.am:
3713         * testsuite/controller/interpolator.c:
3714           merge controller testsuites
3715           fix broken tests
3716           remove mem-chunk from docs
3717
3718 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3719
3720         * gst/gstmemchunk.c:
3721         * gst/gstmemchunk.h:
3722         * gst/gsttrashstack.c:
3723         * gst/gsttrashstack.h:
3724           out.  get out.  you're fired.  to the Attic !
3725
3726 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3727
3728         * gst/gstcaps.c: (gst_caps_intersect):
3729           fix signedness issues in a (hopefully) correct way
3730         * gst/gstelement.c: (gst_element_pads_activate):
3731           some debugging
3732         * gst/gstobject.c: (gst_object_set_parent):
3733           some debugging
3734
3735 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3736
3737         * gst/gstvalue.h: Fix prototypes.
3738
3739 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3740
3741         * docs/gst/gstreamer-sections.txt:
3742         * gst/gst.c: (gst_version_string):
3743         * gst/gst.h:
3744         * gst/gstversion.h.in:
3745         * win32/common/libgstreamer.def:
3746           add gst_version_string ()
3747
3748 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3749
3750         * configure.ac:
3751           clean up further
3752         * gst/gst.c: (init_post):
3753         * win32/common/config.h.in:
3754           it's PLUGINDIR now
3755         * gst/gstcaps.c: (gst_caps_intersect):
3756           use gint64, the range could be bigger than a guint
3757
3758 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3759
3760         * gst/gstclock.h:
3761           document potential problem in 2038
3762
3763 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3764
3765         * gst/gstcaps.c: (gst_caps_intersect):
3766           Fix guint j diving under 0
3767
3768 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3769
3770         * configure.ac:
3771         * win32/common/config.h:
3772         * win32/common/config.h.in:
3773           check for process.h, declares getpid() on Windows
3774         * gst/gstinfo.c:
3775           include process.h if we have it
3776         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3777         * gst/gstmemchunk.h:
3778           fix signedness issues
3779         * win32/common/libgstreamer.def:
3780           fix get_type's
3781
3782 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3783
3784         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3785         fix. Because of unsigned ints, caps intersection was going nuts and
3786         trying to access structures with G_MAXUINT index. That fixes
3787         videotestsrc ! ffmpegcolorspace ! fakesink
3788         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3789         consistency.
3790
3791 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3792
3793         * configure.ac:
3794           use the gettext macro
3795         * gst/elements/gstelements.c:
3796         * gst/gst.c:
3797         * gst/indexers/gstindexers.c:
3798           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3799         * win32/common/config.h:
3800           updated config.h
3801         * win32/common/config.h.in:
3802           add the template to generate config.h
3803         * win32/common/gstenumtypes.c:
3804         * win32/common/gstversion.h:
3805           updated copies
3806
3807 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3808
3809         * gst/gst.c: (gst_version):
3810         * gst/gstversion.h.in:
3811           add the nano
3812
3813 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3814
3815         * gst/gstevent.h:
3816           Oops, add missing closing bracket.
3817
3818 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3819
3820         * configure.ac:
3821           use common m4's for argument checking
3822
3823 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3824
3825         * docs/gst/gstreamer-sections.txt:
3826         * gst/gstevent.h:
3827           Add GST_EVENT_TYPE_NAME() macro.
3828
3829 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3830
3831         * gst/gstinfo.c:
3832         * gst/gstpluginfeature.c:
3833         * gst/gsttask.c:
3834           privatize more symbols
3835
3836 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3837
3838         * configure.ac:
3839           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3840           everything that uses GStreamer API should have the includes
3841
3842 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3843
3844         * docs/gst/gstreamer-sections.txt:
3845         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3846         * gst/gstvalue.h:
3847           give each value a _get_type, removes the DATA exports
3848
3849 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3850
3851         * gst/gst.c:
3852         * gst/gst.h:
3853           remove _gst_registry_auto_load, not used anymore
3854         * gst/gstbin.c: (gst_bin_get_type):
3855         * gst/gstbin.h:
3856         * gst/gstelement.c: (gst_element_get_type):
3857         * gst/gstelement.h:
3858         * gst/gstobject.c: (gst_object_get_type):
3859         * gst/gstobject.h:
3860         * gst/gstpad.c: (gst_pad_get_type):
3861         * gst/gstpad.h:
3862           make _get_type functions similar, fixes data export from library
3863
3864 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3865
3866         * configure.ac:
3867           correctly make conditionals
3868         * gst/elements/Makefile.am:
3869         * gst/elements/gstelements.c:
3870           fix typo causing fdsrc not to build
3871
3872 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3873
3874         * testsuite/Makefile.am:
3875         * testsuite/bytestream/.cvsignore:
3876         * testsuite/bytestream/Makefile.am:
3877         * testsuite/bytestream/filepadsink.c:
3878         * testsuite/bytestream/gstbstest.c:
3879         * testsuite/bytestream/test1.c:
3880         * testsuite/bytestream/testfile1:
3881         * testsuite/caps/normalisation.c:
3882         * testsuite/caps/random.c: (main):
3883         * testsuite/cleanup/.cvsignore:
3884         * testsuite/cleanup/Makefile.am:
3885         * testsuite/cleanup/cleanup1.c:
3886         * testsuite/cleanup/cleanup2.c:
3887         * testsuite/cleanup/cleanup3.c:
3888         * testsuite/cleanup/cleanup4.c:
3889         * testsuite/cleanup/cleanup5.c:
3890         * testsuite/controller/interpolator.c:
3891         * testsuite/debug/printf_extension.c: (main):
3892         * testsuite/elements/tee.c:
3893         * testsuite/negotiation/.cvsignore:
3894         * testsuite/negotiation/Makefile.am:
3895         * testsuite/negotiation/pad_link.c:
3896         * testsuite/pad/Makefile.am:
3897         * testsuite/pad/chainnopull.c:
3898         * testsuite/pad/getnopush.c:
3899         * testsuite/pad/link.c:
3900         * testsuite/refcounting/sched.c: (create_pipeline):
3901         * testsuite/registry/Makefile.am:
3902         * testsuite/registry/gst-print-formats.c:
3903         * testsuite/schedulers/.cvsignore:
3904         * testsuite/schedulers/142183-2.c:
3905         * testsuite/schedulers/142183.c:
3906         * testsuite/schedulers/143777-2.c:
3907         * testsuite/schedulers/143777.c:
3908         * testsuite/schedulers/147713.c:
3909         * testsuite/schedulers/147819.c:
3910         * testsuite/schedulers/147894-2.c:
3911         * testsuite/schedulers/147894.c:
3912         * testsuite/schedulers/Makefile.am:
3913         * testsuite/schedulers/group_link.c:
3914         * testsuite/schedulers/queue_link.c:
3915         * testsuite/schedulers/relink.c:
3916         * testsuite/schedulers/unlink.c:
3917         * testsuite/schedulers/unref.c:
3918         * testsuite/schedulers/useless_iteration.c:
3919         * testsuite/states/bin.c:
3920           clean out/remove some stuff from the testsuite directories
3921
3922 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3923
3924         * configure.ac:
3925           check for some headers
3926         * gst/elements/Makefile.am:
3927         * gst/elements/gstelements.c:
3928           don't compile fdsrc without sys/socket.h
3929         * gst/indexers/Makefile.am:
3930         * gst/indexers/gstindexers.c: (plugin_init):
3931           don't compile fileindex without mmap
3932
3933 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3934
3935         * configure.ac:
3936           reorganize
3937           clean up
3938           document more
3939           remove cruft
3940         * check/Makefile.am:
3941         * docs/gst/Makefile.am:
3942         * examples/helloworld/Makefile.am:
3943         * gst/Makefile.am:
3944         * gst/base/Makefile.am:
3945         * gst/check/Makefile.am:
3946         * gst/elements/Makefile.am:
3947         * gst/indexers/Makefile.am:
3948         * gst/parse/Makefile.am:
3949         * libs/gst/controller/Makefile.am:
3950         * libs/gst/dataprotocol/Makefile.am:
3951         * examples/helloworld/helloworld.c: (event_loop):
3952           compile fixes, though it's not being compiled currently
3953
3954 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3955
3956         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3957           Add some simple tests for the new taglist date API.
3958
3959 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3960
3961         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3962         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3963           Beautify 'last-message' output: print 'none' for buffer timestamps
3964           and durations if none is set; improve alignment with next messages.
3965
3966 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3967
3968         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3969         * gst/gstpluginfeature.h:
3970         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3971         * gst/gstregistry.h:
3972         * docs/gst/gstreamer-sections.txt:
3973           Add new API to check plugin feature version requirements.
3974
3975         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3976           Some basic tests for the above.         
3977
3978 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3979
3980         * gst/gststructure.c: (gst_structure_to_string):
3981           guard against NULL printf - happens when for example
3982           a message structure with GstClock gets serialized
3983
3984 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3985
3986         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3987           Fix presumable copy'n'pasto.
3988
3989 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3990
3991         * gst/elements/gstfakesrc.h:
3992         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3993         * gst/elements/gsttypefindelement.c:
3994           fix some signedness
3995         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3996           I wonder if this could actually write +2GB files before
3997
3998 2005-10-13  Andy Wingo  <wingo@pobox.com>
3999
4000         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4001         Fix Timmeke Waymans bug.
4002         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4003         string of the proper length to gst_caps_from_string. There's a
4004         potential for, before this fix, that this could cause someone
4005         connecting over the network to cause a segfault if the payload is
4006         not NUL-terminated.
4007
4008 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4009
4010         * docs/design/draft-push-pull.txt:
4011         * docs/design/part-overview.txt:
4012         * docs/random/TODO-pre-0.9:
4013         * docs/random/old/ChangeLog.gstreamer:
4014         * gst/base/gstpushsrc.c:
4015         * gst/gstclock.c:
4016           fixed typos
4017
4018 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4019
4020         * gst/glib-compat.c: (gst_flags_get_first_value):
4021         * gst/glib-compat.h:
4022         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4023         (gst_value_compare_double), (gst_value_serialize_flags):
4024           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4025           infinite loop
4026
4027 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4028
4029         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4030         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4031           fix up debugging
4032         * tools/gst-launch.c: (event_loop):
4033           print out clock nicely
4034
4035 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4036
4037         * docs/gst/gstreamer-sections.txt:
4038         * gst/gsttaglist.h:
4039         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4040         (gst_tag_list_get_date_index):
4041           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4042           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4043
4044 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4045
4046         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4047         (gst_collectpads_chain):
4048         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4049         in CollectData.
4050
4051 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4052
4053         * docs/gst/gstreamer-sections.txt:
4054         * gst/gst.c:
4055         * gst/gsterror.h:
4056         * tools/gst-inspect.c: (main):
4057         * tools/gst-launch.c: (main):
4058         * tools/gst-run.c: (main):
4059         * tools/gst-xmlinspect.c: (main):
4060           fix GOption context leaks
4061           doc fixes
4062
4063 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4064
4065         * gst/gstbus.c:
4066           use HAVE_UNISTD_H
4067         * win32/common/config.h:
4068           update config
4069         * win32/vs6/grammar.dsp:
4070         * win32/vs6/libgstelements.dsp:
4071         * win32/vs6/libgstreamer.dsp:
4072           update vs6 files
4073
4074 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4075
4076         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4077         * gst/base/gstbasesrc.c: (gst_base_src_query):
4078           fix more guint64<->gdouble conversions
4079
4080 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4081
4082         * Makefile.am:
4083           add win32-update target
4084         * win32/common/gstconfig.h:
4085         * win32/common/gstenumtypes.c:
4086         * win32/common/gstenumtypes.h:
4087         * win32/common/gstversion.h:
4088           add files that visual studio can't generate
4089
4090 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4091
4092         * Makefile.am:
4093           add a win32-update target
4094         * configure.ac:
4095
4096 2005-10-12  Wim Taymans  <wim@fluendo.com>
4097
4098         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4099         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4100         * gst/gstelement.c: (gst_element_commit_state),
4101         (gst_element_set_state):
4102         Protect flags with proper lock.
4103         unref provided cached clock in dispose.
4104
4105 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4106
4107         * gst/gst.c:
4108         * gst/gstminiobject.h:
4109         * gst/gstpad.h:
4110         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4111           removed unused flags from miniobject
4112           doc fixes
4113
4114 2005-10-12  Wim Taymans  <wim@fluendo.com>
4115
4116         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4117         (gst_file_sink_event), (gst_file_sink_render):
4118         Flush before seeking.
4119
4120 2005-10-12  Andy Wingo  <wingo@pobox.com>
4121
4122         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4123         always been the case.
4124
4125 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4126
4127         * check/gst/gstbin.c: (GST_START_TEST):
4128         * docs/gst/gstreamer-sections.txt:
4129         * gst/base/gstbasesink.c: (gst_base_sink_init):
4130         * gst/base/gstbasesrc.c: (gst_base_src_init),
4131         (gst_base_src_get_range), (gst_base_src_check_get_range),
4132         (gst_base_src_start), (gst_base_src_stop):
4133         * gst/base/gstbasesrc.h:
4134         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4135         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4136         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4137         (bin_bus_handler):
4138         * gst/gstbin.h:
4139         * gst/gstbuffer.h:
4140         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4141         * gst/gstbus.h:
4142         * gst/gstelement.c: (gst_element_is_locked_state),
4143         (gst_element_set_locked_state), (gst_element_commit_state),
4144         (gst_element_set_state):
4145         * gst/gstelement.h:
4146         * gst/gstindex.c: (gst_index_init):
4147         * gst/gstindex.h:
4148         * gst/gstminiobject.h:
4149         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4150         (gst_object_set_parent):
4151         * gst/gstobject.h:
4152         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4153         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4154         * gst/gstpad.h:
4155         * gst/gstpadtemplate.h:
4156         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4157         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4158         * gst/gstpipeline.h:
4159         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4160         (gst_file_index_commit):
4161         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4162         * testsuite/pad/link.c: (gst_test_src_init),
4163         (gst_test_filter_init), (gst_test_sink_init):
4164         * testsuite/states/locked.c: (main):
4165           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4166           moved bitshift from macro to enum definition
4167
4168 2005-10-12  Wim Taymans  <wim@fluendo.com>
4169
4170         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4171         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4172         (gst_file_sink_render):
4173         Some more debugging info.
4174
4175 2005-10-12  Wim Taymans  <wim@fluendo.com>
4176
4177         * docs/design/part-states.txt:
4178         * tools/gst-launch.c: (main):
4179         Some doc updates.
4180         Revert non-intentional change.
4181
4182 2005-10-12  Wim Taymans  <wim@fluendo.com>
4183
4184         * check/gst/gstbin.c: (GST_START_TEST):
4185         * check/gst/gstelement.c: (GST_START_TEST):
4186         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4187         * check/gst/gstghostpad.c: (GST_START_TEST):
4188         * check/gst/gstpipeline.c: (GST_START_TEST):
4189         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4190         * check/states/sinks.c: (GST_START_TEST):
4191         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4192         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4193         (gst_bin_remove_func), (gst_bin_get_state_func),
4194         (gst_bin_recalc_state), (gst_bin_change_state_func),
4195         (bin_bus_handler):
4196         * gst/gstelement.c: (gst_element_get_state_func),
4197         (gst_element_get_state), (gst_element_abort_state),
4198         (gst_element_commit_state), (gst_element_set_state),
4199         (gst_element_change_state), (gst_element_change_state_func):
4200         * gst/gstelement.h:
4201         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4202         (gst_pipeline_provide_clock_func):
4203         * gst/gstutils.c: (gst_element_link_pads_filtered):
4204         * tools/gst-launch.c: (main):
4205         * tools/gst-typefind.c: (main):
4206         Use GstClockTime in _get_state() instead of GTimeVal.
4207         Remove old code in gstutils.c
4208
4209 2005-10-12  Andy Wingo  <wingo@pobox.com>
4210
4211         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4212         removed.
4213
4214         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4215         there is no task. Shouldn't affect any code, as nothing in our
4216         plugins checks this return value.
4217         (gst_pad_stop_task): Also take the stream lock if the pad has no
4218         task. Docs updated.
4219
4220 2005-10-12  Wim Taymans  <wim@fluendo.com>
4221
4222         * gst/gstpad.c: (pre_activate), (post_activate),
4223         (gst_pad_activate_pull), (gst_pad_activate_push):
4224         Cleanup activation code. Reset old state if
4225         activation failed.
4226
4227 2005-10-12  Wim Taymans  <wim@fluendo.com>
4228
4229         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4230         (gst_base_sink_change_state):
4231         No need to prerol after receiving EOS.
4232
4233         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4234         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4235         * gst/elements/gstidentity.c: (gst_identity_event):
4236         Print events more verbosely.
4237
4238 2005-10-12  Wim Taymans  <wim@fluendo.com>
4239
4240         * check/Makefile.am:
4241         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4242         * check/states/sinks2.c:
4243         Moved sinks2 testcode in sinks check.
4244
4245         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4246         (gst_bin_remove_func), (gst_bin_recalc_state),
4247         (gst_bin_change_state_func), (bin_bus_handler):
4248         Fix potential race condition when _get_state() iterated over an
4249         ASYNC element right before it posted a state completion.
4250
4251         * gst/gstclock.h:
4252         Do proper cast here.
4253
4254         * gst/gstevent.c: (gst_event_new_newsegment),
4255         (gst_event_parse_newsegment):
4256         A playback rate of 0.0 is not allowed.
4257
4258 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4259
4260         * win32/common/config.h:
4261         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4262         (_trewinddir), (_ttelldir), (_tseekdir):
4263         * win32/common/dirent.h:
4264         * win32/common/gtchar.h:
4265         * win32/common/libgstbase.def:
4266         * win32/common/libgstreamer.def:
4267         * win32/vs6/grammar.dsp:
4268         * win32/vs6/gst_inspect.dsp:
4269         * win32/vs6/gst_launch.dsp:
4270         * win32/vs6/gstreamer.dsw:
4271         * win32/vs6/libgstbase.dsp:
4272         * win32/vs6/libgstelements.dsp:
4273         * win32/vs6/libgstreamer.dsp:
4274           Visual Studio 6 project files, and a new common directory.
4275           Phear.
4276
4277 2005-10-11  Wim Taymans  <wim@fluendo.com>
4278
4279         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4280         (gst_base_sink_do_sync), (gst_base_sink_query),
4281         (gst_base_sink_change_state):
4282         * gst/base/gstbasesink.h:
4283         Correctly parse newsegment info.
4284
4285 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4286
4287         * gst/gst.c: (init_post):
4288           split plugin paths correctly
4289
4290 2005-10-11  Wim Taymans  <wim@fluendo.com>
4291
4292         * check/gst/gstevent.c: (GST_START_TEST):
4293         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4294         (gst_base_sink_change_state):
4295         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4296         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4297         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4298         * gst/gstevent.c: (gst_event_new_newsegment),
4299         (gst_event_parse_newsegment):
4300         * gst/gstevent.h:
4301         Added extra flag to newsegment for future API freeze.
4302         Updated check and base elements.
4303
4304 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4305
4306         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4307         (gst_collectpads_add_pad), (gst_collectpads_pop),
4308         (gst_collectpads_event), (gst_collectpads_chain):
4309         * gst/base/gstcollectpads.h: Handle EOS correctly.
4310
4311 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4312
4313         * tools/gst-launch.c: (main):
4314           more null protecting
4315
4316 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4317
4318         * gst/gst-i18n-lib.h:
4319           check for ENABLE_NLS, not GETTEXT_PACKAGE
4320         * gst/gstregistry.c: (gst_registry_add_plugin),
4321         (gst_registry_scan_path_level),
4322         (_gst_registry_remove_cache_plugins):
4323           protect possibly NULL strings
4324         * gst/parse/types.h:
4325           config.h already included before
4326         * tools/gst-inspect.c: (main):
4327           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4328           check for ENABLE_NLS, not GETTEXT_PACKAGE
4329         * tools/gst-launch.c: (main):
4330           check for ENABLE_NLS, not GETTEXT_PACKAGE
4331
4332 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4333
4334         * configure.ac:
4335           if we don't have glib, fail before testing 2.8
4336         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4337           fix a leak, should fix plugins-base testsuite
4338
4339 2005-10-11  Andy Wingo  <wingo@pobox.com>
4340
4341         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4342         take the mode we're going to as an arg. Go head and set the mode
4343         and flushing flags now, so that if the activate function starts a
4344         thread all the flags will be in the right state.
4345         (post_activate): Renamed also. Just handle making sure streaming
4346         finishes for the deactivation case, and setting the deactivated
4347         mode.
4348         (gst_pad_set_active): Complain loudly if deactivation fails.
4349         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4350         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4351         remove the terrible hack.
4352
4353 2005-10-11  Wim Taymans  <wim@fluendo.com>
4354
4355         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4356         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4357         (gst_bin_recalc_state), (gst_bin_change_state_func),
4358         (gst_bin_dispose), (bin_bus_handler):
4359         * gst/gstbin.h:
4360         Prepare to make current EOS message queue more generic.
4361         Fix some typos.
4362
4363         * gst/gstevent.c: (gst_event_new_newsegment),
4364         (gst_event_parse_newsegment):
4365         * gst/gstevent.h:
4366         Rename base to stream_time.
4367
4368         * gst/gstmessage.h:
4369         Fix typo in docs.
4370
4371 2005-10-11  Wim Taymans  <wim@fluendo.com>
4372
4373         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4374         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4375         (gst_bin_change_state_func), (bin_bus_handler):
4376         * gst/gstbin.h:
4377         Work on proper clock selection.
4378
4379 2005-10-11  Edward Hervey  <edward@fluendo.com>
4380
4381         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4382         * libs/gst/controller/gstcontroller.h:
4383         Added GList* version of _remove_properties() in order to be able to wrap
4384         it in bindings.
4385
4386 2005-10-11  Wim Taymans  <wim@fluendo.com>
4387
4388         * docs/design/part-states.txt:
4389         Some more docs.
4390
4391         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4392         (gst_bin_change_state_func), (bin_bus_handler):
4393         Doc updates. Don't distribute the same clock over and over again.
4394
4395         * gst/gstclock.c:
4396         * gst/gstclock.h:
4397         Doc updates.
4398
4399         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4400         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4401         (gst_pad_send_event):
4402         * gst/gstpad.h:
4403         Make probe emission threadsafe again.
4404         Register quarks and move _get_name() from utils.
4405         Doc updates.
4406
4407         * gst/gstpipeline.c: (gst_pipeline_class_init),
4408         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4409         Only redistribute the clock of it changed.
4410
4411         * gst/gstsystemclock.h:
4412         Doc updates. 
4413
4414         * gst/gstutils.c:
4415         * gst/gstutils.h:
4416         Moved the _flow_get_name() to GstPad.
4417
4418 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4419
4420         * check/gst-libs/gdp.c: (GST_START_TEST):
4421         * check/gst/gstcaps.c: (GST_START_TEST):
4422         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4423         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4424         (gst_dp_packet_from_caps):
4425           fix more valgrind warnings before turning up the heat
4426
4427 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4428
4429         * gst/parse/grammar.y:
4430           some cleanup before the hacking
4431
4432 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4433
4434         * gst/base/gstbasesrc.c: (gst_base_src_query):
4435           use conversions
4436         * gst/gstutils.c: (gst_guint64_to_gdouble),
4437         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4438         * gst/gstutils.h:
4439           externalize, basesrc uses it
4440           obviously the implementation needs testing
4441
4442 2005-10-10  Wim Taymans  <wim@fluendo.com>
4443
4444         * tests/sched/Makefile.am:
4445         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4446         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4447
4448 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4449
4450         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4451           apparently converting from guint64 to double is not implemented
4452           on MSVC
4453
4454 2005-10-10  Wim Taymans  <wim@fluendo.com>
4455
4456         * check/Makefile.am:
4457         * check/generic/states.c: (GST_START_TEST):
4458         * check/gst/gstbin.c: (GST_START_TEST):
4459         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4460         * check/states/sinks.c: (GST_START_TEST):
4461         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4462         (main):
4463         Check fixes, use API as stated in design docs, remove hacks.
4464
4465         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4466         (gst_base_sink_change_state):
4467         Catch stopping our task while we're shutting down.
4468
4469         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4470         (gst_bin_remove_func), (gst_bin_get_state_func),
4471         (gst_bin_recalc_state), (gst_bin_change_state_func),
4472         (bin_bus_handler):
4473         * gst/gstbin.h:
4474         * gst/gstelement.c: (gst_element_init),
4475         (gst_element_get_state_func), (gst_element_abort_state),
4476         (gst_element_commit_state), (gst_element_lost_state),
4477         (gst_element_set_state), (gst_element_change_state),
4478         (gst_element_change_state_func):
4479         * gst/gstelement.h:
4480         New state change algorithm (see #318116)
4481
4482         * gst/gstpipeline.c: (gst_pipeline_class_init),
4483         (gst_pipeline_init), (gst_pipeline_set_property),
4484         (gst_pipeline_get_property), (do_pipeline_seek),
4485         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4486         * gst/gstpipeline.h:
4487         Remove crude state change hacks.
4488
4489         * gst/gstutils.h:
4490         Remove crude hacks.
4491
4492         * tools/gst-launch.c: (main):
4493         Fixes for state change. Needs some more work to fully use the
4494         new stuff.
4495
4496 2005-10-10  Andy Wingo  <wingo@pobox.com>
4497
4498         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4499
4500         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4501         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4502         issue.
4503
4504 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4505
4506         * gst/gstiterator.c: (gst_iterator_new):
4507           Fix my previous commit: GTypes passed to gst_iterator_new()
4508           can be fundamental types.
4509
4510 2005-10-10  Wim Taymans  <wim@fluendo.com>
4511
4512         * gst/gstelement.c: (gst_element_iterate_pad_list),
4513         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4514         (gst_element_iterate_sink_pads):
4515         Use src/sink pads lists for the respective iterators instead
4516         of filtering.
4517
4518 2005-10-10  Andy Wingo  <wingo@pobox.com>
4519
4520         Merged in popt removal + GOption addition patch from Ronald, bug
4521         #169772.
4522
4523         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4524         GstElement macros around, remove popt-related symbols, add goption
4525         stuff.
4526
4527         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4528         
4529         * docs/gst/Makefile.am:
4530         * docs/libs/Makefile.am: No POPT_CFLAGS.
4531         
4532         * examples/manual/Makefile.am:
4533         * docs/manual/basics-init.xml: Doc updates with an example.
4534         
4535         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4536         (gst_init), (parse_one_option), (parse_goption_arg):
4537         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4538         bit of hand merging and debugging to get the GOption stuff working
4539         tho.
4540         
4541         * tests/Makefile.am:
4542         * tools/Makefile.am:
4543         * tools/gst-inspect.c: (main):
4544         * tools/gst-launch.c: (main):
4545         * tools/gst-run.c: (main):
4546         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4547
4548 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4549
4550         * gst/gstiterator.c: (gst_iterator_new):
4551           Add assertions to make sure passed GType is likely to really
4552           be a GType (as the compiler won't catch it if the size and
4553           GType arguments get mixed up, see #318447).
4554
4555 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4556
4557         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4558
4559         * gst/gstbin.c: (gst_bin_iterate_sorted):
4560           Pass GType and size arguments to gst_iterator_new() in the right
4561           order (maybe we should make _new() take the GType as first argument
4562           just like _new_list()?) (#318447).
4563           
4564
4565 2005-10-10  Wim Taymans  <wim@fluendo.com>
4566
4567         * gst/gstelement.c: (gst_element_finalize):
4568         And free the GStaticRecMutex too
4569
4570 2005-10-10  Andy Wingo  <wingo@pobox.com>
4571
4572         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4573         Allocate and free the mutex properly.
4574
4575         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4576         New macros.
4577         (GstElement): The state_lock is now recursive. Rebuild your
4578         plugins, suckers. Old macros adapted.
4579
4580         * docs/gst/gstreamer-sections.txt: Doc updates.
4581
4582         * gst/gstutils.h:
4583         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4584         (g_static_rec_cond_wait): Ported from state changes patch, while
4585         we wait on bug #317802 to be solved in a well-distributed GLib.
4586
4587         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4588         gst_element_change_state, variable name changes.
4589         (gst_element_change_state): Split out of gst_element_set_state in
4590         preparation for the state change merge. Doesn't pay attention to
4591         the 'transition' argument.
4592         (gst_element_set_state): Updates, hopefully purely cosmetic.
4593         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4594         state change patch.
4595         (gst_element_get_state_func): Renamed from get_state, cosmetic
4596         changes.
4597
4598 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4599
4600         * gst/elements/gstelements.c:
4601         * win32/GStreamer.vcproj:
4602         * win32/config.h:
4603         * win32/dirent.c: (_tseekdir):
4604         * win32/gst-inspect.vcproj:
4605         * win32/gst-launch.vcproj:
4606         * win32/gstconfig.h:
4607         * win32/gstelements.vcproj:
4608         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4609         * win32/gstreamer.def:
4610         * win32/msvc71.sln:
4611           updates for the win32 build (patch from Sebastien Moutte)
4612
4613 2005-10-10  Andy Wingo  <wingo@pobox.com>
4614
4615         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4616         gst_bin_get_state, cleaned up (but no logic changes).
4617         (bin_element_is_sink): Comment updates.
4618         (sink_iterator_filter): Remove needless cast.
4619         (gst_bin_iterate_sinks): Doc update.
4620         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4621         cleaned up (but no logic changes).
4622
4623         * check/states/sinks.c (test_src_sink): Cleanups from the state
4624         change patch.
4625         (test_livesrc_sink): Sync on the state.
4626
4627         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4628         the state change patch.
4629
4630         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4631         change patch.
4632
4633         * check/gst/gstbin.c: Merge in some style fixes and additional
4634         checks from Wim's state change patch.
4635
4636 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4637
4638         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4639         (gst_type_find_helper):
4640           Check whether we have the requested data already in our list of
4641           cached buffers before pulling a new buffer; also make the buffer
4642           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4643
4644 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4645
4646         * gst/gstcaps.c:
4647         * gst/gstevent.c:
4648           doc updates
4649         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4650           don't use long long, it's not portable.  Replacing with
4651           gint64 seems to work; let's hope no skeletons fall out of the closet.
4652
4653 2005-10-10  Andy Wingo  <wingo@pobox.com>
4654
4655         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4656
4657 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4658
4659         * docs/gst/gstreamer-sections.txt:
4660         * gst/gstevent.c:
4661         * gst/gstevent.h:
4662         * gst/gstinfo.c:
4663         * gst/gstinfo.h:
4664         * gst/gstmessage.c: (gst_message_parse_state_changed):
4665         * gst/gstpad.c:
4666         * gst/gstpad.h:
4667           more docs, fix compilation
4668
4669 2005-10-09  Philippe Khalaf <burger@speedy.org>
4670         * gst/gstmessage.c:
4671           Fixed a few forgotten variables on previous commit
4672
4673 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4674
4675         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4676           Fix evil typefind crasher: getrange() might return a short
4677           buffer at the end of a file, but gst_type_find_peek() must
4678           either return the full data as requested or NULL, but
4679           never a short buffer.
4680
4681 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4682
4683         * gst/gstmessage.c: (gst_message_new_state_changed),
4684         (gst_message_parse_state_changed):
4685         * gst/gstmessage.h:
4686           don't use "new", it's a C++ keyword
4687
4688 2005-10-08  Wim Taymans  <wim@fluendo.com>
4689
4690         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4691         * gst/gstelement.c: (gst_element_post_message):
4692         * gst/gstpipeline.c: (gst_pipeline_change_state):
4693         Small docs and debug updates.
4694
4695 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4696
4697         * docs/gst/gstreamer-sections.txt:
4698         * gst/gstelementfactory.c:
4699         * gst/gstevent.c:
4700         * gst/gsttaglist.c:
4701           more docs
4702
4703 2005-10-08  Wim Taymans  <wim@fluendo.com>
4704
4705         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4706         (gst_bin_dispose), (bin_bus_handler):
4707         Fix typos, add comments.
4708         Clear EOS list when going to PAUSED from any direction and do it
4709         in a threadsafe way.
4710         Get base time in a threadsafe way too.
4711         Fix confusing debug in the change_state function.
4712         Various other small cleanups.
4713         
4714         * gst/gstelement.c: (gst_element_post_message):
4715         Fix very verbose bus posting code.
4716
4717         * gst/gstpipeline.c: (gst_pipeline_class_init),
4718         (gst_pipeline_set_property), (gst_pipeline_get_property),
4719         (gst_pipeline_change_state):
4720         Small ARG_ -> PROP_ cleanup
4721
4722 2005-10-08  Wim Taymans  <wim@fluendo.com>
4723
4724         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4725         Do a less CPU demanding EOS check because we can.
4726
4727 2005-10-08  Wim Taymans  <wim@fluendo.com>
4728
4729         * libs/gst/dataprotocol/dataprotocol.c:
4730         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4731         (gst_dp_packet_from_event):
4732         * libs/gst/dataprotocol/dataprotocol.h:
4733         * libs/gst/dataprotocol/dp-private.h:
4734         It's about time we bump the version number.
4735         Since event types don't fit in the guint8 anymore describing
4736         the payload type, make payload type 16 bits wide.
4737
4738 2005-10-08  Wim Taymans  <wim@fluendo.com>
4739
4740         * docs/design/part-TODO.txt:
4741         * docs/design/part-clocks.txt:
4742         * docs/design/part-events.txt:
4743         * docs/design/part-gstbin.txt:
4744         * docs/design/part-gstelement.txt:
4745         * docs/design/part-gstpipeline.txt:
4746         * docs/design/part-live-source.txt:
4747         * docs/design/part-messages.txt:
4748         * docs/design/part-overview.txt:
4749         * docs/design/part-states.txt:
4750         Many doc updates.
4751
4752 2005-10-08  Wim Taymans  <wim@fluendo.com>
4753
4754         * gst/gstevent.c:
4755         * gst/gstevent.h:
4756         Fix event quark registration.
4757         Add some space between events so we can insert them in the
4758         right groups.
4759
4760 2005-10-08  Wim Taymans  <wim@fluendo.com>
4761
4762         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4763         (gst_base_sink_handle_buffer):
4764         Better log message.
4765
4766         * gst/gstbus.h:
4767         * gst/gstelement.h:
4768         More docs.
4769
4770         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4771         (gst_queue_set_property), (gst_queue_get_property):
4772         * gst/gstqueue.h:
4773         Remove old unused properties.
4774
4775 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4776         * docs/gst/gstreamer-sections.txt:
4777         * gst/gstmessage.c:
4778         * gst/gstmessage.h:
4779         * gst/gstminiobject.c:
4780         * gst/gstminiobject.h:
4781         * gst/gstobject.h:
4782         * gst/gstpad.h:
4783         * gst/gstutils.h:
4784           lots of new docs and doc fixes
4785
4786 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4787
4788         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4789         * gst/gstplugin.h:
4790         * gst/gstregistry.c: (gst_registry_lookup_locked),
4791         (gst_registry_scan_path_level):
4792         * gst/gstregistryxml.c: (load_plugin):
4793           Only ever load one plugin for a given plugin basename.
4794           This ensures correct overriding of GST_PLUGIN_PATH over
4795           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4796           system installed plugins.
4797
4798 2005-10-08  Wim Taymans  <wim@fluendo.com>
4799
4800         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4801         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4802         Prepare for doing QOS.
4803
4804 2005-10-08  Wim Taymans  <wim@fluendo.com>
4805
4806         * check/gst/gstbin.c: (GST_START_TEST):
4807         * check/pipelines/cleanup.c: (GST_START_TEST):
4808         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4809         Allow new clock message too.
4810
4811 2005-10-08  Wim Taymans  <wim@fluendo.com>
4812
4813         * gst/gstmessage.c: (gst_message_new_error),
4814         (gst_message_new_warning), (gst_message_new_tag),
4815         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4816         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4817         (gst_message_new_segment_start), (gst_message_new_segment_done),
4818         (gst_message_parse_state_changed),
4819         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4820         (gst_message_parse_new_clock):
4821         * gst/gstmessage.h:
4822         Also carry the clock in question.
4823
4824 2005-10-08  Wim Taymans  <wim@fluendo.com>
4825
4826         * gst/gstmessage.c: (gst_message_new_custom),
4827         (gst_message_new_eos), (gst_message_new_error),
4828         (gst_message_new_warning), (gst_message_new_tag),
4829         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4830         (gst_message_new_new_clock), (gst_message_new_segment_start),
4831         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4832         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4833         * gst/gstmessage.h:
4834         Clean up.
4835         Added clock related messages.
4836
4837         * gst/gstpipeline.c: (gst_pipeline_change_state):
4838         Post message when the clock changed.
4839
4840         * tools/gst-launch.c: (event_loop):
4841         Print new clock.
4842
4843 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4844
4845         * tools/gst-inspect.c: (print_element_properties_info):
4846           Can't pass NULL strings to g_print() on windows.
4847
4848 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4849
4850         * docs/Makefile.am:
4851         * docs/gst/Makefile.am:
4852         * docs/gst/gstreamer-docs.sgml:
4853         * docs/gst/running.xml:
4854         * docs/version.entities.in:
4855           add a chapter on running GStreamer.
4856           document GST_DEBUG and GST_PLUGIN* env vars
4857
4858 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4859
4860         * Makefile.am:
4861           remove include dir
4862         * configure.ac:
4863           remove PLUGINS_BUILDDIR stuff
4864         * gst/gst.c: (init_post):
4865           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4866         * idiottest.mak:
4867           remove, it was condescending and not needed
4868
4869 2005-10-08  Wim Taymans  <wim@fluendo.com>
4870
4871         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4872         (gst_base_sink_handle_object), (gst_base_sink_event),
4873         (gst_base_sink_wait), (gst_base_sink_handle_event),
4874         (gst_base_sink_change_state):
4875         * gst/base/gstbasesink.h:
4876         Repost EOS message while going to PLAYING if still EOS.
4877         Make sure that when receiving a FLUSH_START we don't attempt
4878         to sync on the clock anymore.
4879
4880 2005-10-08  Wim Taymans  <wim@fluendo.com>
4881
4882         * tools/gst-launch.c: (event_loop):
4883         Better message printout.
4884
4885 2005-10-08  Wim Taymans  <wim@fluendo.com>
4886
4887         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4888         (gst_bin_child_proxy_get_children_count):
4889         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4890         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4891         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4892         (gst_child_proxy_set_valist):
4893         * gst/parse/grammar.y:
4894         Make ChildProxy threadsafe and fix mem leaks.
4895
4896 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4897
4898         * gst/gst.c: (init_post):
4899           debug the GST_PLUGIN_ env vars
4900
4901 2005-10-08  Wim Taymans  <wim@fluendo.com>
4902
4903         * check/gst/gstbin.c: (GST_START_TEST):
4904         * check/gst/gstmessage.c: (GST_START_TEST):
4905         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4906         * gst/gstelement.c: (gst_element_commit_state),
4907         (gst_element_lost_state):
4908         * gst/gstmessage.c: (gst_message_new_state_changed),
4909         (gst_message_parse_state_changed):
4910         * gst/gstmessage.h:
4911         * tools/gst-launch.c: (event_loop):
4912         Added extra field to STATE_CHANGE message with the pending
4913         state, which will be different from the new state soon.
4914
4915 2005-10-08  Wim Taymans  <wim@fluendo.com>
4916
4917         * gst/gstbus.c: (gst_bus_pop):
4918         * gst/gstclock.c:
4919         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4920         Small cleanups and doc updates.
4921
4922 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4923
4924         * gst/gst.c: (init_pre):
4925         * gst/gstbin.c: (gst_bin_add_func):
4926           log distributing clocks and base time
4927         * gst/gstregistry.c: (gst_registry_add_plugin),
4928         (gst_registry_scan_path_level), (gst_registry_scan_path):
4929           clean up the debugging output a little
4930         * gst/gstutils.c: (gst_element_state_get_name):
4931           warn about a memleak (I've actually seen this be used, though
4932           it was probably a bug)
4933
4934 2005-10-07  Wim Taymans  <wim@fluendo.com>
4935
4936         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4937         (gst_base_src_init), (gst_base_src_default_newsegment),
4938         (gst_base_src_newsegment), (gst_base_src_do_seek),
4939         (gst_base_src_loop), (gst_base_src_start):
4940         * gst/base/gstbasesrc.h:
4941         Make the newsegment event customizable by subclasses.
4942
4943 2005-10-07  Wim Taymans  <wim@fluendo.com>
4944
4945         * gst/gstevent.c: (gst_event_new_buffersize),
4946         (gst_event_parse_buffersize):
4947         * gst/gstevent.h:
4948         New event for future idea.
4949
4950 2005-10-07  Andy Wingo  <wingo@pobox.com>
4951
4952         * gst/gstelement.c (gst_element_post_message): Doc update.
4953
4954         * docs/gst/gstreamer-sections.txt: Update.
4955
4956         * gst/gstmessage.c (gst_message_new_application): Made into a
4957         function like honest API calls.
4958         (gst_message_new_element): New message type.
4959
4960         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4961
4962         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4963         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4964         times.
4965
4966         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4967         NO_PREROLL from gst_element_change_state to fall through.
4968
4969 2005-10-07  Wim Taymans  <wim@fluendo.com>
4970
4971         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4972         (gst_ghost_pad_do_activate_push):
4973         Activating a ghostpad with no internal pad in push mode
4974         is ok.
4975
4976 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4977
4978         * gst/gstobject.h:
4979           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4980           Fixes compilation on Windows.
4981
4982 2005-10-07  Michael Smith <msmith@fluendo.com>
4983
4984         * tools/gst-inspect.c:
4985           Print out feature and plugin count at the end when printing out
4986           all features.
4987
4988 2005-10-04  Michael Smith <msmith@fluendo.com>
4989
4990         * gst/gsterror.c: (_gst_stream_errors_init):
4991           Add another error string used in a few existing plugins.
4992
4993         * gst/gstplugin.c:
4994         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4995         * tools/gst-inspect.c: (print_element_info):
4996           When a feature disappears from a plugin (and the feature exists in
4997           the cached registry file), things went horribly wrong. This isn't a
4998           complete fix, we should actually be removing the 'missing' features
4999           from the features list when we load the actual plugin. That's not
5000           yet implemented. 
5001
5002 2005-10-04  Johan Dahlin  <johan@gnome.org>
5003
5004         * check/gst/gstiterator.c: (GST_START_TEST):
5005         * gst/gstbin.c: (gst_bin_iterate_elements),
5006         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5007         * gst/gstelement.c: (gst_element_iterate_pads):
5008         * gst/gstformat.c: (gst_format_iterate_definitions):
5009         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5010         (gst_iterator_new_list), (gst_iterator_filter):
5011         * gst/gstiterator.h:
5012         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5013         Add a GType to GstIterator, update callsites and tests.
5014
5015 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5016
5017         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5018           give events a chance to be handled by event probes when the pad
5019           is not linked
5020
5021 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5022
5023         * gst/gstevent.c: (gst_event_type_get_name),
5024         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5025         * gst/gstevent.h:
5026           add string representations for event types
5027
5028 2005-10-06  Wim Taymans  <wim@fluendo.com>
5029
5030         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5031         Don't use NULL pointers.
5032
5033 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5034
5035         * gst/gst_private.h:
5036         * gst/gstbus.c:
5037         * gst/gstelement.c:
5038         * gst/gstinfo.c:
5039         * gst/gstpluginfeature.c:
5040           widen the debug category in output to fit the biggest one we have
5041           add a bus category and use it
5042           play with the colors
5043           fix up some categories
5044
5045 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5046
5047         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5048           add push activation of sink ghost pads.
5049           Andye, please verify
5050
5051 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5052
5053         * gst/gstutils.c: (gst_element_link_pads):
5054           fix a bug in the case where neither element has a pad
5055         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5056           add a test for that case
5057
5058 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5059
5060         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5061           emit have-data before checking for peers.  This allows
5062           for probe handlers to connect elements.  This helps autopluggers.
5063         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5064         (gst_pad_suite):
5065           add six checks, linked/unlinked with no/true/false probe
5066
5067 2005-10-04  Wim Taymans  <wim@fluendo.com>
5068
5069         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5070         (gst_fake_sink_event), (gst_fake_sink_preroll),
5071         (gst_fake_sink_render), (gst_fake_sink_change_state):
5072         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5073         (gst_fake_src_get_property), (gst_fake_src_create),
5074         (gst_fake_src_stop):
5075         * gst/elements/gstidentity.c: (gst_identity_stop):
5076         Protect last_message with lock.
5077
5078 2005-10-04  Edward Hervey  <edward@fluendo.com>
5079
5080         * gst/gstformat.h: 
5081         Added precision in the comments for GST_FORMAT_DEFAULT
5082
5083 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5084
5085         * tools/gst-launch.c: (main):
5086           Don't try to run erroneous pipelines.
5087
5088 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5089
5090         * gst/gstbus.c: We don't need this header.
5091
5092 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5093
5094         * configure.ac:
5095           back to development
5096
5097 === release 0.9.3 ===
5098
5099 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5100
5101         * README:
5102         * configure.ac:
5103           Releasing 0.9.3, "Unregistered"
5104
5105 2005-10-03  Andy Wingo  <wingo@pobox.com>
5106
5107         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5108         whereby calling a pad's activatepush() function can start a thread
5109         that starts to push or pull before the pad gets the FLUSHING flag
5110         unset. Hack around it by holding the stream lock until the flag is
5111         set. Need to replace this with a proper solution. Together with
5112         the ghost pad fixes, this fixes mp3 playing/tagreading.
5113
5114         * docs/design/part-gstghostpad.txt: Add a note about activation of
5115         proxy pads outside of ghost pads.
5116
5117         * gst/gstghostpad.c: Implement the ghost pad activation design.
5118
5119 2005-10-02  Andy Wingo  <wingo@pobox.com>
5120
5121         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5122         It is volatile, after all.
5123
5124         * docs/design/part-gstghostpad.txt: Flesh out activation with
5125         ghost pads.
5126
5127         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5128         GST_DEBUG_FUNCPTR.
5129
5130 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5131
5132         * configure.ac:
5133           Fix (unused) AM_CONDITIONAL tests.
5134
5135 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5136
5137         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5138
5139         * gst/gstutils.c: (gst_pad_query_convert):
5140           Add assertion that makes sure src_val is >=0, just like
5141           gst_query_new_convert() has. (#315895)
5142
5143 2005-09-30  Edward Hervey  <edward@fluendo.com>
5144
5145         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5146         Let's not iterate pads we're not interested in, it avoids getting 
5147         sky-high refcounts on sinkpad.
5148
5149 2005-09-30  Wim Taymans  <wim@fluendo.com>
5150
5151         * gst/gstelement.c: (gst_element_set_state),
5152         (gst_element_change_state):
5153         Small tweak, element in ASYNC remains ASYNC.
5154
5155 2005-09-30  Wim Taymans  <wim@fluendo.com>
5156
5157         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5158         Only error is an error.
5159
5160         * gst/gstbin.c: (gst_bin_change_state):
5161         Better debugging.
5162
5163         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5164         Also call pad_block in pad alloc.
5165
5166         * gst/gstutils.c: (gst_flow_get_name):
5167         Better debugging.
5168
5169 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5170
5171         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5172         (gst_base_src_get_range):
5173           Fix documentation typos. Add some more debug info.
5174
5175 2005-09-29  David Schleef  <ds@schleef.org>
5176
5177         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5178           more end-user friendly.
5179         * tools/gst-inspect.c: (main): Check if command-line argument is
5180           a file and attempt to load that file as a plugin.
5181
5182 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5183
5184         * check/gst/gstbin.c:
5185         * check/states/sinks.c:
5186           fix tests for the new warning
5187         * check/gst/gstpipeline.c:
5188           add a test for pipeline and bus interaction
5189         * gst/gstelement.c:
5190           elements should be NULL if they get disposed; add a warning if not
5191
5192 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5193
5194         * gst/gstobject.c:
5195           for 2.6 refcounting, make debug log more correct by printing
5196           the actual refcounts at the time of swap (Wim)
5197
5198 2005-09-29  Andy Wingo  <wingo@pobox.com>
5199
5200         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5201         removes signal watches previously added via
5202         gst_bus_add_signal_watch.
5203         (gst_bus_add_signal_watch): Don't return the source id, just store
5204         it on the bus if there wasn't an id already.
5205
5206         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5207         add_signal_watch and remove_signal_watch.
5208
5209 2005-09-29  Edward Hervey  <edward@fluendo.com>
5210
5211         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5212         Better if we actually iterate the list :)
5213
5214 2005-09-29  Wim Taymans  <wim@fluendo.com>
5215
5216         * check/gst/gstbin.c: (GST_START_TEST):
5217         Change for new bus API.
5218
5219         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5220         (send_messages), (GST_START_TEST), (gstbus_suite):
5221         Change for new bus signal API.
5222
5223         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5224         (gst_bus_source_prepare), (gst_bus_source_check),
5225         (gst_bus_create_watch), (gst_bus_add_watch_full),
5226         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5227         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5228         * gst/gstbus.h:
5229         Remove support for multiple GSources operating on different
5230         message types as it is too complex and unneeded when using
5231         signals.
5232         Added support for receiving signals from the bus.
5233
5234 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5235
5236         * docs/libs/tmpl/gstdataprotocol.sgml:
5237         * docs/manual/advanced-dataaccess.xml:
5238         * gst/elements/gstcapsfilter.c:
5239         * gst/gstutils.c:
5240           rename filter-caps to caps property
5241
5242 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5243
5244         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5245           More robust fraction string parsing.
5246
5247         * docs/pwg/appendix-porting.xml:
5248           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5249
5250 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5251
5252         * gst/gstcaps.c: (gst_caps_do_simplify):
5253           Thou shalt not free a structure and then continue using it
5254           in the next loop iteration.
5255
5256         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5257         (gst_caps_suite):
5258           Add test case for caps simplification.
5259
5260 2005-09-29  Wim Taymans  <wim@fluendo.com>
5261
5262         * check/gst/gstbin.c: (GST_START_TEST):
5263         Oops.
5264
5265 2005-09-29  Wim Taymans  <wim@fluendo.com>
5266
5267         * check/gst/gstbin.c: (GST_START_TEST):
5268         Add bus to bin.
5269
5270         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5271         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5272         (find_element), (gst_bin_sort_iterator_next),
5273         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5274         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5275         (gst_bin_change_state), (gst_bin_dispose):
5276         A bin does not have a bus, it gets the bus from the parent.
5277
5278         * gst/gstelement.c: (gst_element_requires_clock),
5279         (gst_element_provides_clock), (gst_element_is_indexable),
5280         (gst_element_is_locked_state), (gst_element_change_state),
5281         (gst_element_set_bus_func):
5282         Small cleanups.
5283
5284         * gst/gstpipeline.c: (gst_pipeline_class_init),
5285         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5286         The pipeline provides a bus.
5287
5288 2005-09-28  Johan Dahlin  <johan@gnome.org>
5289
5290         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5291         gst_structure_get_enum instead of gst_structure_get_int
5292
5293         * gst/gststructure.c (gst_structure_get_enum): Impl.
5294
5295         * gst/gststructure.h (gst_structure_get_enum): Add
5296
5297         * docs/gst/gstreamer-sections.txt: Ditto
5298
5299         * gst/gstmessage.c (gst_message_new_state_changed): Use
5300         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5301         which does introspection.
5302         Reviewed by Christian Schaller
5303
5304 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5305
5306         * gst/gstinfo.c: (gst_debug_log_default):
5307           don't do dummy g_strdup()s
5308         * libs/gst/controller/gstcontroller.c:
5309         (on_object_controlled_property_changed),
5310         (gst_controlled_property_new), (gst_controller_new_valist),
5311         (gst_controller_new_list),
5312         (gst_controller_remove_properties_valist), (gst_controller_set),
5313         (gst_controller_get), (gst_controller_sync_values),
5314         (gst_controller_get_value_array), (_gst_controller_class_init),
5315         (gst_controller_get_type):
5316         * libs/gst/controller/gstcontroller.h:
5317         * libs/gst/controller/gstinterpolation.c:
5318         (gst_controlled_property_find_timed_value_node):
5319           convert // to /**/ comments
5320
5321 2005-09-28  Wim Taymans  <wim@fluendo.com>
5322
5323         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5324         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5325         (gst_bus_sync_signal_handler):
5326         * gst/gstbus.h:
5327         Added async-message and sync-message signals to the bus.
5328         Added helper BusFunc to emit signals for all posted messages.
5329
5330         * gst/gstmessage.c: (gst_message_type_get_name),
5331         (gst_message_type_to_quark), (gst_message_get_type):
5332         * gst/gstmessage.h:
5333         Register quarks for message names.
5334
5335 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5336
5337         * docs/libs/gstreamer-libs-sections.txt:
5338         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5339         (gst_controller_new_list):
5340         * libs/gst/controller/gstcontroller.h:
5341           added another constructor for language bindings
5342
5343 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5344
5345         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5346           add another check
5347         * gst/gstbus.c:
5348           add some doc
5349         * gst/gstinfo.c: (_gst_debug_init):
5350           slightly more readable color for refcount debugging
5351
5352 2005-09-28  Wim Taymans  <wim@fluendo.com>
5353
5354         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5355         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5356         (find_element), (gst_bin_sort_iterator_next),
5357         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5358         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5359         (gst_bin_change_state), (gst_bin_dispose):
5360         Small doc fixes. get_clock -> provide_clock.
5361
5362         * gst/gstelement.c: (gst_element_class_init),
5363         (gst_element_provides_clock), (gst_element_provide_clock),
5364         (gst_element_get_clock), (gst_element_commit_state),
5365         (gst_element_lost_state):
5366         * gst/gstelement.h:
5367         Make get/set_clock() symetric. Add provide_clock vmethod since
5368         that is actually what this function does.
5369
5370         * gst/gstpipeline.c: (gst_pipeline_class_init),
5371         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5372         (gst_pipeline_get_clock):
5373         get_clock -> provide_clock.
5374
5375 2005-09-28  Andy Wingo  <wingo@pobox.com>
5376
5377         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5378         lieu of real docs...
5379
5380         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5381
5382 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5383
5384         * gst/elements/gstcapsfilter.c:
5385         * gst/elements/gstfakesink.c:
5386         * gst/elements/gstfakesrc.c:
5387         * gst/elements/gstfdsink.c:
5388         * gst/elements/gstfdsrc.c:
5389         * gst/elements/gstfilesink.c:
5390         * gst/elements/gstfilesrc.c:
5391         * gst/elements/gstidentity.c:
5392         * gst/elements/gsttee.c:
5393         * gst/elements/gsttypefindelement.c:
5394           Make element details static.
5395
5396 2005-09-28  Wim Taymans  <wim@fluendo.com>
5397
5398         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5399         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5400         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5401         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5402         (gst_bin_change_state), (gst_bin_dispose):
5403         Some documentation updates.
5404         Clean up dispose handlers.
5405
5406         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5407         * gst/gstpad.c: (gst_pad_dispose):
5408         Clean up dispose handler.
5409
5410         * gst/gstpipeline.c: (gst_pipeline_change_state):
5411         Removed spurious UNLOCK.
5412
5413 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5414
5415         * docs/gst/gstreamer-sections.txt:
5416         * gst/base/gstbasesrc.h:
5417         * gst/gstelement.h:
5418         * gst/gstevent.h:
5419         * gst/gstobject.h:
5420         * gst/gstpad.h:
5421         * gst/gstpipeline.c:
5422         * gst/gstpipeline.h:
5423         * gst/gstutils.h:
5424         * gst/gstxml.h:
5425           added two new functions to the docs
5426                 documents all undocumented GstXXXFlags
5427                 completed some incomplete docs 
5428
5429 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5430
5431         * gst/gstbin.c: (gst_bin_dispose):
5432         * gst/gstelement.c: (gst_element_dispose):
5433           remove now useless and leaky resurrection code in dispose
5434         * gst/base/gstbasesrc.c: (gst_base_src_init):
5435         * gst/gstelementfactory.c: (gst_element_factory_create):
5436         * gst/gstobject.c: (gst_object_set_parent):
5437           add some debugging
5438
5439 2005-09-27  Wim Taymans  <wim@fluendo.com>
5440
5441         * docs/design/part-TODO.txt:
5442         Update TODO.
5443
5444         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5445         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5446         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5447         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5448         (gst_bin_change_state):
5449         * gst/gstelement.h:
5450         Remove element variable, we keep element info in the iterator now.
5451
5452 2005-09-27  Andy Wingo  <wingo@pobox.com>
5453
5454         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5455         values.
5456
5457 2005-09-27  Wim Taymans  <wim@fluendo.com>
5458
5459         * check/gst/gstbin.c: (GST_START_TEST):
5460         Enable check that works now.
5461
5462         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5463         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5464         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5465         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5466         (gst_bin_change_state):
5467         * gst/gstbin.h:
5468         Redid the state change algorithm using a topological sort algo.
5469         Handles all cases correctly.
5470         Exposed iterator for state change order.
5471
5472         * gst/gstelement.h:
5473         Temp storage for state changes. Need to get rid of this soon.
5474
5475 2005-09-27  Wim Taymans  <wim@fluendo.com>
5476
5477         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5478         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5479         (link_fold_func), (gst_pad_proxy_setcaps):
5480         Leak fixes, the fold functions need to unref the passed object and
5481         _get_parent_*() returns ref to parent.
5482
5483 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5484
5485         * check/gst/gstbuffer.c: (test_make_writable):
5486           Plug leak in test case and fix 'make check-valgrind'
5487
5488 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5489
5490         * gst/gstbuffer.c: (gst_subbuffer_init):
5491           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5492           works correctly in all circumstances (we could have just copied
5493           the parent buffer's readonly flag, but conceptually it seems
5494           cleaner to mark all subbuffers as read-only). (based on patch
5495           by Alessandro Decina, #314710).
5496         
5497         * check/gst/gstbuffer.c: (create_read_only_buffer),
5498         (test_make_writable), (test_subbuffer_make_writable),
5499         (gst_test_suite):
5500           Add some tests for gst_buffer_make_writable().
5501
5502 2005-09-27  Wim Taymans  <wim@fluendo.com>
5503
5504         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5505         use gst_object_has_ancestor().
5506
5507         * gst/gstobject.c: (gst_object_has_ancestor):
5508         * gst/gstobject.h:
5509         gst_object_has_ancestor() copied from gstbin.c as it is a
5510         usefull function.
5511
5512         * tests/instantiate/create.c: (create_all_elements):
5513         * tests/lat.c: (handoff_src), (handoff_sink):
5514         * tests/sched/runxml.c: (main):
5515         * tests/seeking/seeking1.c: (main):
5516         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5517         (main):
5518         Fix compilation of some tests.
5519
5520 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5521
5522         * gst/gsterror.h:
5523           Remove comment. GST_TYPE_G_ERROR is here to stay,
5524           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5525           (#316961, #300610).
5526
5527 2005-09-26  Wim Taymans  <wim@fluendo.com>
5528
5529         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5530         Added check that shows error in state change order.
5531
5532 2005-09-26  Wim Taymans  <wim@fluendo.com>
5533
5534         * gst/gstbin.c: (gst_bin_change_state):
5535         Make state change function use 3 queues again, we were
5536         adding elements in the wrong order.
5537
5538         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5539         Some debug info,
5540
5541         * gst/gstpad.c: (gst_pad_dispose):
5542         Added some debug info first.
5543
5544 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5545
5546         * docs/design/draft-push-pull.txt:
5547         * docs/design/part-events.txt:
5548         * docs/design/part-overview.txt:
5549         * docs/design/part-scheduling.txt:
5550           Replace all _pull_region() with _pull_range()
5551           
5552 2005-09-26  Andy Wingo  <wingo@pobox.com>
5553
5554         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5555
5556         * check/gst-libs/controller.c: Update for controller api change.
5557
5558         * configure.ac: 
5559         * tests/Makefile.am:
5560         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5561         over by GLib bug 118439.
5562         
5563         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5564         routines to a function.
5565
5566         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5567
5568         * libs/gst/controller/gsthelper.c:
5569         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5570         (gst_object_sync_values): Renamed from sink_values. Ugh.
5571
5572         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5573
5574         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5575         Renamed from controller_key, as it is exported.
5576
5577         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5578
5579 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5580
5581         * gst/Makefile.am:
5582         * gst/gst.h:
5583         * gst/gstpad.h:
5584         * gst/gstpadtemplate.h:
5585         * gst/gstquery.c:
5586         * gst/gstquery.h:
5587         * gst/gstqueryutils.c:
5588         * gst/gstqueryutils.h:
5589           remove queryutils headers after moving the two used functions
5590           to gstquery.  also fixes build problem for gstsiddec
5591
5592 2005-09-26  Michael Smith <msmith@fluendo.com>
5593
5594         * tools/gst-launch.1.in:
5595         Correct documentation in manpage of debug syntax
5596
5597 2005-09-26  Wim Taymans  <wim@fluendo.com>
5598
5599         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5600         (gst_base_src_is_seekable), (gst_base_src_change_state):
5601         Some more debugging info.
5602
5603 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5604
5605         * docs/gst/gstreamer-sections.txt:
5606         * gst/base/gstbasetransform.h:
5607         * gst/gstindex.h:
5608           added more docs
5609
5610 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5611
5612         * docs/gst/.cvsignore:
5613         * docs/gst/tmpl/.cvsignore:
5614         * docs/gst/tmpl/gstpipeline.sgml:
5615         * docs/gst/tmpl/gstplugin.sgml:
5616         * gst/gstpipeline.c:
5617         * gst/gstplugin.c:
5618         * gst/gstplugin.h:
5619           inlined the last two docs files
5620           removed the tmpl directory from cvs (no more conflicts here!)
5621
5622 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5623
5624         * docs/gst/gstreamer-sections.txt:
5625         * docs/gst/tmpl/.cvsignore:
5626         * docs/gst/tmpl/gstpad.sgml:
5627         * docs/gst/tmpl/gstpadtemplate.sgml:
5628         * gst/Makefile.am:
5629         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5630         (gst_pad_finalize), (gst_pad_set_pad_template):
5631         * gst/gstpad.h:
5632         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5633         (gst_pad_template_class_init), (gst_pad_template_init),
5634         (gst_pad_template_dispose), (name_is_valid),
5635         (gst_static_pad_template_get), (gst_pad_template_new),
5636         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5637         (gst_pad_template_pad_created):
5638         * gst/gstpadtemplate.h:
5639           inlined two more docs
5640           factored gstpadtemplate out of gstpad
5641
5642 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5643
5644         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5645         (test_children_state_change_order_semi_sink):
5646           Fix test case: we can't rely on a fixed state change order when
5647           going from READY => PAUSED because the sink might commit its 
5648           new state first when the first buffer created by the source 
5649           reaches the sink before the source has finished its change state.
5650           (Test case still fails at times, see #316856, comment 5 onwards)
5651
5652 2005-09-24  Wim Taymans  <wim@fluendo.com>
5653
5654         * docs/design/part-events.txt:
5655         * docs/design/part-gstbus.txt:
5656         * docs/design/part-gstpipeline.txt:
5657         * docs/design/part-messages.txt:
5658         * docs/design/part-overview.txt:
5659         * docs/design/part-segments.txt:
5660         * gst/gstbin.c:
5661         * gst/gstbuffer.c:
5662         * gst/gstclock.c:
5663         * gst/gstelement.c:
5664         * gst/gstevent.c:
5665         * gst/gstfilter.c:
5666         * gst/gstiterator.c:
5667         Various documentation updates.
5668
5669 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5670
5671         * gst/gstclock.h:
5672           Well, that's embarassing.  Luckily we weren't using
5673           GST_CLOCK_DIFF anywhere.
5674
5675 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5676
5677         * common/gtk-doc.mak:
5678           don't fail on building XML, FC4 slave shows a bunch of doc
5679           missing bits that I don't get
5680         * gst/gstpad.c:
5681         * gst/gstpipeline.c:
5682         * gst/gststructure.c:
5683           some doc updates
5684
5685 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5686
5687         * docs/design/part-gstbin.txt:
5688         * docs/design/part-gstbus.txt:
5689         * gst/gstbus.c:
5690           Add blurb about how the bus goes into flushing mode and
5691           drops all messages when its bin goes from READY into NULL 
5692           state.
5693
5694 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5695
5696         * docs/gst/gstreamer-sections.txt:
5697         * gst/gststructure.c: (gst_structure_get_clock_time):
5698         * gst/gststructure.h:
5699           add a method to get a GstClockTime out of a structure
5700
5701 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5702
5703         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5704         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5705           Added test to check state change order in bins (can still be made
5706           to fail here under heavy disk load; bails out with 'Push on pad
5707           fakesink:sink0, but it was not activated in push mode').
5708
5709         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5710           Fix state change order when there is only a semi sink (#316856)
5711
5712         * gst/gstbus.c: (gst_bus_class_init):
5713           Use _class_peek_parent(), not _class_ref(); fix docs to say
5714           'default main context' instead of 'mainloop' where that is
5715           what's meant.
5716
5717         * gst/gstelement.c: (gst_element_commit_state),
5718         (gst_element_set_state):
5719           Fix typos in debug messages
5720
5721 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5722
5723         * docs/README:
5724         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5725         * gst/gstpluginfeature.c:
5726         * gst/gstutils.c:
5727           various doc updates
5728         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5729           change an assert into an error until it gets fixed properly
5730
5731 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5732
5733         * docs/gst/gstreamer-sections.txt:
5734         * docs/gst/tmpl/.cvsignore:
5735         * docs/gst/tmpl/gstelement.sgml:
5736         * docs/gst/tmpl/gstinfo.sgml:
5737         * docs/gst/tmpl/gstobject.sgml:
5738         * gst/gstelement.c:
5739         * gst/gstelement.h:
5740         * gst/gstinfo.c:
5741         * gst/gstinfo.h:
5742         * gst/gstobject.c: (gst_object_class_init):
5743         * gst/gstobject.h:
5744           inlined 3 more biiiig doc files and added some missing docs on the fly
5745
5746 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5747
5748         * check/gst/.cvsignore:
5749         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5750         * gst/gstregistryxml.c: (load_plugin),
5751         (gst_registry_xml_save_plugin):
5752           put back source in registry.  add checks for find_plugin.
5753         * testsuite/states/bin.c: (assert_state), (empty_bin),
5754         (test_adding_one_element), (main):
5755         * testsuite/states/locked.c: (main):
5756           some compile/run fixes
5757
5758 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5759
5760         * check/gst/gstvalue.c: (GST_START_TEST):
5761           fix leaks in the test itself
5762
5763 2005-09-22  Wim Taymans  <wim@fluendo.com>
5764
5765         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5766         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5767         (gst_base_sink_query):
5768         Prepare for more accurate position reporting and query
5769         handling.
5770
5771         * gst/gstelement.c: (gst_element_send_event),
5772         (gst_element_set_state):
5773         Add some comment.
5774
5775 2005-09-22  Wim Taymans  <wim@fluendo.com>
5776
5777         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5778         (gst_query_parse_segment):
5779         * gst/gstquery.h:
5780         More documentation.
5781         Add segment query for future use.
5782
5783 2005-09-22  Wim Taymans  <wim@fluendo.com>
5784
5785         * gst/gstbin.c: (gst_bin_add_func):
5786         Some more debug info.
5787
5788         * gst/gstelement.c: (gst_element_send_event):
5789         Simplify send_event
5790
5791         * gst/gstelement.h:
5792         Don't know how flags got broken.
5793
5794         * gst/gstquery.h:
5795         Added new query.
5796
5797 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5798
5799         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5800           Add simplistic test suite for GST_TYPE_DATE serialisation and
5801           deserialisation.
5802
5803 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5804
5805         * docs/gst/gstreamer-sections.txt:
5806         * gst/gststructure.c: (gst_structure_set_valist),
5807         (gst_structure_get_date):
5808         * gst/gststructure.h:
5809         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5810         (gst_date_copy), (gst_value_compare_date),
5811         (gst_value_serialize_date), (gst_value_deserialize_date),
5812         (gst_value_transform_date_string),
5813         (gst_value_transform_string_date), (_gst_value_initialize):
5814         * gst/gstvalue.h:
5815           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5816           bunch of utility functions along with a hack that checks that
5817           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5818           is required. Part of the grand scheme in #170777.
5819
5820 2005-09-22  Andy Wingo  <wingo@pobox.com>
5821
5822         * gst/gstconfig.h.in: Psych out gtk-doc.
5823
5824         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5825
5826         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5827
5828         * tools/gst-inspect.c (print_element_list): Plug some
5829         inconsequential leaks.
5830
5831         * gst/gstregistry.c (gst_registry_get_default): Doc.
5832
5833         * check/gst/gstplugin.c: 
5834         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5835         * gst/gstelementfactory.c (gst_element_factory_create): 
5836         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5837         refcount changes.
5838
5839         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5840         (gst_plugin_feature_load): Doc, don't eat refs.
5841
5842         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5843         (gst_plugin_list_free): Doc.
5844         (gst_plugin_load_file): Doc updates.
5845
5846         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5847         accessors returning refcounted objects, return a ref.
5848
5849         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5850         accessor for caps. IDEMPOTENCE. Oh yes.
5851
5852 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5853
5854         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5855
5856         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5857         (_gst_debug_register_funcptr):
5858           Add mutex to serialise access to the hash table with
5859           the function pointer => function name string mapping;
5860           make that hash table static scope (#316809).
5861
5862         * gst/registries/.cvsignore:
5863           Remove left-over file.
5864
5865 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5866
5867         * docs/pwg/appendix-porting.xml:
5868           And something about newsegment events and caps-on-buffers to
5869           the porting guide (feel free to improve).
5870
5871 2005-09-21  Andy Wingo  <wingo@pobox.com>
5872
5873         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5874         data and event probes on the same pad.
5875         (test_buffer_probe_once): Test that removing probes from within
5876         the probe functions works.
5877
5878 2005-09-21  Andy Wingo  <wingo@pobox.com>
5879
5880         * check/gst/gstutils.c: New file.
5881         (test_buffer_probe_n_times): A simple buffer probe test. More to
5882         come, foolios.
5883
5884         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5885         have-data::buffer, not have-data.
5886         (gst_pad_add_event_probe): Likewise for have-data::event.
5887         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5888         peer' isn't quite right yet though.
5889         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5890         (gst_pad_remove_data_probe): Change to take the guint handler_id
5891         as their arg, not the function+data, which is more glib-like.
5892
5893         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5894         the signal emission to indicate if the data is a buffer or an
5895         event.
5896         (gst_pad_get_type): Initialize buffer and event quarks.
5897         (gst_pad_class_init): have-data is now a detailed signal, yes it
5898         is.
5899
5900 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5901
5902         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5903         * gst/gstutils.c: (gst_util_set_value_from_string),
5904         (gst_util_set_object_arg):
5905           Don't put functional code in g_return_if_fail() or
5906           g_return_val_if_fail() statements, otherwise things will 
5907           break when G_DISABLE_CHECKS is defined during compilation.
5908
5909 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5910
5911         * docs/gst/tmpl/.cvsignore:
5912         * docs/gst/tmpl/gstvalue.sgml:
5913         * gst/gstvalue.c:
5914         * gst/gstvalue.h:
5915           inlied another one and added  some obvious docs
5916
5917 2005-09-21  Wim Taymans  <wim@fluendo.com>
5918
5919         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5920         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5921         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5922         (gst_fdsrc_get_property), (gst_fdsrc_create):
5923         * gst/elements/gstfdsrc.h:
5924         Properly implement fdsrc. Removed signal and timeout,
5925         better implemented somewhere else.
5926
5927 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5928
5929         * docs/gst/tmpl/.cvsignore:
5930         * docs/gst/tmpl/gstimplementsinterface.sgml:
5931         * gst/gstinterface.c:
5932           inlined more docs
5933
5934 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5935
5936         * docs/gst/gstreamer-sections.txt:
5937         * docs/gst/tmpl/.cvsignore:
5938         * docs/gst/tmpl/gstenumtypes.sgml:
5939           remove obsolete doc file
5940
5941 2005-09-21  David Schleef  <ds@schleef.org>
5942
5943         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5944         little beer, fix a little leak.
5945
5946 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5947
5948         * docs/gst/gstreamer-docs.sgml:
5949         * docs/gst/gstreamer-sections.txt:
5950         * docs/gst/tmpl/.cvsignore:
5951         * gst/Makefile.am:
5952         * gst/gst.h:
5953         * gst/gstbin.c:
5954         * gst/gstelement.h:
5955         * gst/gstindex.c: (gst_index_class_init):
5956         * gst/gstindex.h:
5957         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5958         (gst_index_factory_class_init), (gst_index_factory_init),
5959         (gst_index_factory_finalize), (gst_index_factory_new),
5960         (gst_index_factory_destroy), (gst_index_factory_find),
5961         (gst_index_factory_create), (gst_index_factory_make):
5962         * gst/gstindexfactory.h:
5963         * gst/gstpluginfeature.c:
5964         * gst/gstpluginfeature.h:
5965         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5966           more docs inlined, splitted gstindex.{c,h}
5967
5968 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5969
5970         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5971           fix a leak
5972
5973 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5974
5975         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5976           Set sync to FALSE by default.
5977
5978 2005-09-20  Wim Taymans  <wim@fluendo.com>
5979
5980         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5981         (gst_base_sink_init):
5982         Make sync property settable from subclass.
5983
5984         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5985         (gst_fake_sink_change_state):
5986         Set sync to FALSE by default.
5987
5988 2005-09-20  Wim Taymans  <wim@fluendo.com>
5989
5990         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5991         * tools/gst-launch.c: (main):
5992         The timeout handler should have lower priority than the source
5993         so we don't timeout before popping a message with 0 timeout.
5994         Dump error messages after failed state change.
5995
5996 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5997
5998         * tools/gst-inspect.c: (print_element_properties_info):
5999           Fix two typos.
6000
6001 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6002
6003         * check/gst/gstevent.c:
6004         * gst/elements/gstfakesink.c:
6005         * gst/elements/gstfakesink.h:
6006           remove the sync property from fakesink.
6007           has the side effect of setting sync TRUE
6008           for fakesink, which is a change.  Anyone who knows how
6009           to fix this nicely in a GObject-y way, feel free.
6010
6011 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6012
6013         * docs/gst/gstreamer-docs.sgml:
6014           remove probe refsection
6015
6016 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6017
6018         * check/Makefile.am:
6019           disable valgrinding the controller test again
6020         * docs/gst/gstreamer-sections.txt:
6021           update for api-changes
6022
6023 2005-09-20  Wim Taymans  <wim@fluendo.com>
6024
6025         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6026         (gst_base_sink_set_property), (gst_base_sink_get_property),
6027         (gst_base_sink_do_sync):
6028         * gst/base/gstbasesink.h:
6029         Added sync property to basesink to disable clock sync.
6030
6031 2005-09-20  Andy Wingo  <wingo@pobox.com>
6032
6033         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6034         eating the caller's refcount.
6035
6036         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6037         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6038         refcount.
6039
6040         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6041         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6042         of GLib 2.8 public, so we can know which refcount to check in
6043         tests.
6044
6045         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6046         (gst_object_init): Only set the gst refcount if we're going ahead
6047         with the refcount hack.
6048
6049 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6050
6051         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6052         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6053           more leaks plumbed, added more debug-logging
6054         * gst/gstmacros.h:
6055           whitespace fix
6056
6057 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6058
6059         * gst/gstmessage.c:
6060           remove include of gstmemchunk.h
6061
6062 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6063
6064         * gst/gstclock.c: (_gst_clock_id_free):
6065           Commit from the Political Party For More Atomic CVS Commits,
6066           so that people don't waste too much of their day fishing
6067           out obvious leaks out of massive commits.
6068           Oh, and fix a pretty damn obvious leak in the memchunk
6069           removal code.
6070
6071 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6072
6073         * check/Makefile.am:
6074         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6075           plug mem-leak, re-add to valgrindable tests
6076
6077 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6078
6079         * gst/gstplugin.h:
6080           unbreak the build for those who have chronic arthritis
6081           and typing "make check" is just too taxing on the hands
6082
6083 2005-09-20  Andy Wingo  <wingo@pobox.com>
6084
6085         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6086         really want it out, you should fix plugins at the same time.
6087
6088 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6089
6090         * configure.ac:
6091         * docs/gst/gstreamer-sections.txt:
6092         * gst/gstobject.c:
6093           added missing symbols to api docs
6094           disable ref-count hack if we have glib >= 2.8
6095
6096 2005-09-19  David Schleef  <ds@schleef.org>
6097
6098         * docs/gst/Makefile.am: Ignore a few more internal headers
6099         * docs/gst/gstreamer-docs.sgml: Remove old sections
6100         * docs/gst/gstreamer-sections.txt: Remove old sections
6101         * docs/gst/tmpl/gstobject.sgml: update
6102         * docs/gst/tmpl/gstplugin.sgml: update
6103         * docs/gst/tmpl/gstpluginfeature.sgml: update
6104         * docs/random/ds/0.9-suggested-changes: update.
6105         * gst/Makefile.am: remove memchunk and trashstack, since they're
6106           not used.
6107         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6108         * gst/gst.h: don't include some headers
6109         * gst/gstchildproxy.c: add gstmarshal.h
6110         * gst/gstclock.c: Don't use memchunks
6111         * gst/gstminiobject.c: Add some docs
6112         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6113         * gst/gstobject.h: same
6114         * gst/gstplugin.c: include gstmacros.h
6115         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6116         * gst/gstquery.c: don't use memchunks
6117         * gst/gstregistry.c: rename gst_registry_deinit()
6118         * gst/gstregistry.h: same
6119
6120 2005-09-19  David Schleef  <ds@schleef.org>
6121
6122         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6123         * docs/libs/gstreamer-libs-sections.txt:
6124         * docs/libs/tmpl/gstgetbits.sgml:
6125         * docs/libs/tmpl/gstputbits.sgml:
6126
6127 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6128
6129         * win32/gstenumtypes.c:
6130         * win32/gstenumtypes.h:
6131           Update.
6132
6133 2005-09-19  Wim Taymans  <wim@fluendo.com>
6134
6135         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6136         Automatically PAUSE and RESUME a pipeline when a flushing seek
6137         is performed.
6138
6139 2005-09-19  Andy Wingo  <wingo@pobox.com>
6140
6141         * gst/gstregistry.h: Spacing fixen.
6142
6143 2005-09-19  Wim Taymans  <wim@fluendo.com>
6144
6145         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6146         Handle state change failure more correctly.
6147
6148 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6149
6150         * check/Makefile.am:
6151         * check/pipelines/cleanup.c: (run_pipeline):
6152         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6153         (GST_START_TEST):
6154           enable cleanup again after fixing the leak
6155         * docs/README:
6156           some more info on docs
6157
6158 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6159
6160         * check/Makefile.am:
6161           re-enable tests now that leaks are plugged
6162         * check/gst/gst.c:
6163         * check/gst/gstbin.c:
6164         * check/gst/gstpipeline.c:
6165           add some more tests while fixing leaks
6166         * common/check.mak:
6167           make sure binaries are uptodate when valgrinding/gdbing
6168         * gst/gst.c:
6169         * gst/gstelementfactory.c:
6170           remove a ref too many, and add a FIXME for when we get
6171           round to disposing of classes
6172         * gst/gstplugin.c:
6173           fix the refcounting when loading a plugin from a file and
6174           the code pretends that the pointer is the same even though
6175           of course it can change
6176         * gst/gstpluginfeature.c:
6177           unref plugins marked cached (a bit confusing as a name)
6178           as the docs state should be done
6179           various doc additions to explain refcounting
6180         * gst/gstregistry.c:
6181         * gst/gstregistryxml.c:
6182           debugging
6183
6184 2005-09-19  Wim Taymans  <wim@fluendo.com>
6185
6186         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6187         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6188         (send_messages), (GST_START_TEST), (gstbus_suite):
6189         * check/gst/gstpipeline.c: (GST_START_TEST):
6190         * check/pipelines/cleanup.c: (run_pipeline):
6191         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6192         (GST_START_TEST):
6193         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6194         (gst_bus_source_check), (gst_bus_source_dispatch),
6195         (gst_bus_create_watch), (gst_bus_add_watch_full),
6196         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6197         * gst/gstbus.h:
6198         * tools/gst-launch.c: (event_loop):
6199         * tools/gst-md5sum.c: (event_loop):
6200         GstBusHandler -> GstBusFunc, return value has the same meaning as
6201         any other GSource (FALSE == remove source).
6202         _add_watch() and _add_watch_full() now take a MessageType mask to
6203         only handle specific types of messages.
6204         _poll() returns the GstMessage instead of the message type to avoid
6205         race conditions.
6206         _have_pending() takes a MessageType mask now too.
6207         Added testsuite for multiple bus watches.
6208         Fix testsuites and applications for new bus API.
6209
6210 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6211
6212         * check/Makefile.am:
6213           mark a bunch of the tests as to fix until we fix them
6214
6215 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6216
6217         * common/check.mak:
6218           use GST_PLUGIN settings for valgrind tests as well, so we're
6219           valgrinding the correct thing
6220         * gst/gst.c: (init_post):
6221           plug another leak
6222
6223 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6224
6225         * gst/gst.c: (init_post), (gst_deinit):
6226         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6227         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6228         * gst/gstindex.c: (gst_index_factory_class_init),
6229         (gst_index_factory_finalize):
6230         * gst/gstobject.c: (gst_object_dispose):
6231         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6232         (gst_plugin_load_file), (gst_plugin_desc_free):
6233         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6234         (gst_plugin_feature_finalize):
6235         * gst/gstregistry.c: (gst_registry_class_init),
6236         (gst_registry_init), (gst_registry_finalize),
6237         (gst_registry_get_default), (gst_registry_deinit):
6238         * gst/gstregistry.h:
6239         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6240           various cleanups and memleak plugging.  make valgrind is happy now.
6241
6242 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6243
6244         * common/check.mak:
6245           add a check-valgrind target
6246
6247 2005-09-18  David Schleef  <ds@schleef.org>
6248
6249         * tools/gst-inspect.c: Revert the GOption code.
6250
6251 2005-09-17  David Schleef  <ds@schleef.org>
6252
6253         * check/Makefile.am: Fix environment variables.
6254         * check/gst/gstplugin.c: Fix for API changes.
6255         * tools/gst-inspect.c: Fix for API changes.
6256         * tools/gst-xmlinspect.c: Fix for API changes.
6257         * gst/gstelementfactory.c:
6258         * gst/gstplugin.c:
6259         * gst/gstplugin.h:
6260         * gst/gstpluginfeature.c:
6261         * gst/gstpluginfeature.h:
6262         * gst/gstregistry.c:
6263         * gst/gstregistry.h:
6264         * gst/gstregistryxml.c:
6265         * gst/gsttypefind.c:
6266         * gst/gsttypefindfactory.c:
6267         * gst/indexers/gstfileindex.c:
6268         * gst/indexers/gstmemindex.c:
6269         * gst/schedulers/Makefile.am:
6270           Change registry to keep track of both plugins and features,
6271           removing the feature tracking from plugins themselves.
6272
6273 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6274
6275         * check/Makefile.am:
6276         * tools/gst-register.1.in:
6277           remove gst-register
6278
6279 2005-09-15  David Schleef  <ds@schleef.org>
6280
6281         * check/gst/gstplugin.c:
6282         * gst/gstelementfactory.c:
6283         * gst/gstplugin.c:
6284         * gst/gstpluginfeature.c:
6285         * gst/gstregistry.c:
6286           Getting tired of debugging.  Disabled all the unreffing of
6287           plugins and features, which fixes the segfaults, but of
6288           course leaks like crazy.  At least playbin works.
6289
6290 2005-09-15  David Schleef  <ds@schleef.org>
6291
6292         * check/gst/gstplugin.c: (register_check_elements),
6293         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6294         More testing
6295         * gst/elements/gsttypefindelement.c: Fix refcounting.
6296         * gst/gsttypefind.c:
6297         * gst/gsttypefindfactory.c:
6298         * gst/gsttypefindfactory.h:
6299
6300 2005-09-15  David Schleef  <ds@schleef.org>
6301
6302         * gst/gstindex.c: get refcounting correct.
6303         * gst/gstregistry.c: Handle the case where a feature/plugin is
6304           not found.
6305
6306 2005-09-15  David Schleef  <ds@schleef.org>
6307
6308         * check/Makefile.am:
6309         * check/gst/gstplugin.c: Add test
6310         * gst/gstplugin.c: Fix problems noticed by testsuite
6311         * gst/gstplugin.h:
6312         * gst/gstregistry.c: 
6313         * gst/gstregistry.h:
6314
6315 2005-09-15  David Schleef  <ds@schleef.org>
6316
6317         * gst/gstplugin.c: Implement semi-decent recounting and locking
6318           in plugins and plugin features.
6319         * gst/gstplugin.h:
6320         * gst/gstpluginfeature.c:
6321         * gst/gstpluginfeature.h:
6322         * gst/gstregistry.c:
6323
6324 2005-09-15  Michael Smith <msmith@fluendo.com>
6325
6326         * gst/gstregistry.c: (gst_registry_get_feature_list):
6327           Implement this. Makes oggdemux work; decodebin still broken.
6328
6329 2005-09-14  David Schleef  <ds@schleef.org>
6330
6331         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6332           #316076)
6333         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6334         * gst/check/Makefile.am:
6335         * libs/gst/controller/Makefile.am:
6336         * libs/gst/dataprotocol/Makefile.am:
6337
6338 2005-09-14  David Schleef  <ds@schleef.org>
6339
6340         * configure.ac: Remove getbits library.  Nothing uses it, and
6341           it should be in something like liboil if someone did want
6342           to use it.
6343         * libs/gst/Makefile.am:
6344         * libs/gst/getbits/Makefile.am:
6345         * libs/gst/getbits/gbtest.c:
6346         * libs/gst/getbits/getbits.c:
6347         * libs/gst/getbits/getbits.h:
6348         * libs/gst/getbits/gstgetbits_generic.c:
6349         * libs/gst/getbits/gstgetbits_i386.s:
6350         * libs/gst/getbits/gstgetbits_inl.h:
6351
6352 2005-09-14  David Schleef  <ds@schleef.org>
6353
6354         * gst/Makefile.am: Dist glib-compat.h
6355
6356 2005-09-14  David Schleef  <ds@schleef.org>
6357
6358         * configure.ac: Remove gst/registries, since it's no longer used.
6359         * gst/registries/Makefile.am:
6360         * gst/registries/gstlibxmlregistry.c:
6361         * gst/registries/gstlibxmlregistry.h:
6362         * gst/registries/gstxmlregistry.c:
6363         * gst/registries/gstxmlregistry.h:
6364         * gst/registries/registrytest.c:
6365
6366 2005-09-14  David Schleef  <ds@schleef.org>
6367
6368         * gst/glib-compat.h:
6369         * gst/gstregistryxml.c:
6370           Convergence is near.  Seriously.
6371
6372 2005-09-14  David Schleef  <ds@schleef.org>
6373
6374         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6375         * gst/glib-compat.h:
6376           Attempt #4 to appease the buildbots.
6377
6378 2005-09-14  David Schleef  <ds@schleef.org>
6379
6380         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6381           Attempt #3.
6382
6383 2005-09-14  David Schleef  <ds@schleef.org>
6384
6385         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6386         Attempt #2.
6387
6388 2005-09-14  David Schleef  <ds@schleef.org>
6389
6390         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6391           the new functions.
6392
6393 2005-09-14  David Schleef  <ds@schleef.org>
6394
6395         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6396         * gst/glib-compat.h: Add some functions that are in newer versions
6397           of glib than we care to require.
6398         * gst/gstregistryxml.c: Use them.
6399
6400 2005-09-14  David Schleef  <ds@schleef.org>
6401
6402         * po/POTFILES.in: remove gst-register.c
6403
6404 2005-09-14  David Schleef  <ds@schleef.org>
6405
6406         * docs/gst/gstreamer-docs.sgml:
6407         * docs/gst/gstreamer-sections.txt:
6408         * docs/gst/gstreamer.types:
6409         * docs/gst/tmpl/gstelement.sgml:
6410         * docs/gst/tmpl/gstplugin.sgml:
6411         * docs/gst/tmpl/gstpluginfeature.sgml:
6412           Documentation updates for registry changes.
6413
6414 2005-09-14  David Schleef  <ds@schleef.org>
6415
6416         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6417           because we don't require glib-2.8.
6418
6419 2005-09-14  David Schleef  <ds@schleef.org>
6420
6421         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6422           registries directory.
6423
6424 2005-09-14  David Schleef  <ds@schleef.org>
6425
6426         * check/Makefile.am:
6427         * check/generic/states.c:
6428         * gst/Makefile.am:
6429         * gst/gst.c:
6430         * gst/gst.h:
6431         * gst/gst_private.h:
6432         * gst/gstelementfactory.c:
6433         * gst/gstindex.c:
6434         * gst/gstinfo.c:
6435         * gst/gstplugin.c:
6436         * gst/gstplugin.h:
6437         * gst/gstpluginfeature.c:
6438         * gst/gstpluginfeature.h:
6439         * gst/gstregistry.c:
6440         * gst/gstregistry.h:
6441         * gst/gstregistrypool.c: remove
6442         * gst/gstregistrypool.h: remove
6443         * gst/gsttypefind.c:
6444         * gst/gsttypefindfactory.c:
6445         * gst/gsturi.c:
6446         * tools/Makefile.am:
6447         * tools/gst-compprep.c:
6448         * tools/gst-inspect.c:
6449         * tools/gst-register.c: remove
6450         * tools/gst-xmlinspect.c:
6451           Registry rewrite.  Changes registry from being a file created
6452           by a tool into a simple cache file created automatically by 
6453           libgstreamer.  Removed gst-register (because it's no longer
6454           needed).  Remove registry pools, because we only have one
6455           registry implementation (XML).  Fix up other subsystems as
6456           necessary.
6457
6458 2005-09-13  Michael Smith <msmith@fluendo.com>
6459
6460         * gst/gstconfig.h.in:
6461           Don't Use windows linking attributes for MinGW. Fixes #316157
6462
6463 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6464
6465         * gst/gstutils.c: (set_state_async_thread_func),
6466         (gst_element_set_state_async):
6467           Apparently people think it's better if this function doesn't
6468           try to set the state to whatever state was asked for on the first
6469           call to this function for any object.  Seriously.
6470
6471 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6472
6473         * check/gst/gstpipeline.c: (GST_START_TEST):
6474         * docs/gst/gstreamer-sections.txt:
6475         * gst/gstutils.c: (set_state_async_thread_func),
6476         (gst_element_set_state_async):
6477         * gst/gstutils.h:
6478           add a "gst_element_set_state_async" method that
6479           sets the state and starts a thread to make sure the state
6480           change completes as best as it can
6481
6482 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6483
6484         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6485           codify design+behaviour in testsuite after discussion
6486
6487 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6488
6489         * docs/gst/tmpl/gstelement.sgml:
6490         * docs/manual/appendix-quotes.xml:
6491           add a quote
6492         * gst/gstelement.c: (gst_element_set_state):
6493           add some debug
6494
6495 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6496
6497         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6498         (gst_base_transform_prepare_output_buf),
6499         (gst_base_transform_handle_buffer):
6500         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6501         (gst_capsfilter_prepare_buf):
6502           Remove the requirement for sub-classes to call the parent
6503           implementation of prepare_output_buffer with a wrapper function.
6504           
6505         * gst/gsttaglist.h:
6506         * gst/gsttagsetter.h:
6507           Fix #define wrapper
6508
6509 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6510
6511         * docs/gst/gstreamer-sections.txt:
6512           more doc cleanups
6513
6514 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6515
6516         * docs/gst/gstreamer-sections.txt:
6517         * docs/gst/tmpl/gstelement.sgml:
6518         * docs/gst/tmpl/gstplugin.sgml:
6519         * gst/gstminiobject.c:
6520         * gst/gstvalue.h:
6521           docs now stop throwing warnings
6522
6523 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6524
6525         * docs/gst/gstreamer-sections.txt:
6526         * docs/gst/gstreamer.types:
6527         * docs/gst/tmpl/gstpad.sgml:
6528         * docs/gst/tmpl/gsttypes.sgml:
6529         * gst/base/gstadapter.h:
6530         * gst/base/gstbasesink.h:
6531         * gst/base/gstbasesrc.h:
6532         * gst/gstbin.h:
6533         * gst/gstbuffer.h:
6534         * gst/gstbus.h:
6535         * gst/gstcaps.h:
6536         * gst/gstclock.h:
6537         * gst/gstelement.h:
6538         * gst/gstevent.h:
6539         * gst/gstmessage.h:
6540         * gst/gstpad.h:
6541         * gst/gststructure.c:
6542         * gst/registries/gstlibxmlregistry.h:
6543           various documentation fixes
6544
6545 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6546
6547         * docs/gst/gstreamer-sections.txt:
6548         * docs/gst/tmpl/gstvalue.sgml:
6549           rearrange gstvalue section
6550         * gst/gstutils.c: (gst_element_state_get_name):
6551           NONE -> VOID
6552         * gst/gstvalue.c: (_gst_value_initialize):
6553         * gst/gstvalue.h:
6554           doc updates
6555
6556 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6557
6558         * check/gst-libs/controller.c:
6559           Header include fix.
6560         * gst/base/gstbasetransform.c:
6561         (gst_base_transform_default_prepare_buf),
6562         (gst_base_transform_handle_buffer):
6563         * gst/base/gstbasetransform.h:
6564           Some more basetransform changes and fixes to enable sub-classes
6565           that modify buffer metadata only.
6566         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6567         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6568         (gst_capsfilter_prepare_buf):
6569           If the output pad has fixed allowed caps and input buffers 
6570           don't have any, set the fixed caps on outgoing buffers.
6571
6572 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6573         * check/elements/identity.c: (GST_START_TEST):
6574           Make the error a little clearer when the test fails because
6575           identity made a copy of the buffer.
6576         * docs/gst/gstreamer-sections.txt:
6577           New symbols in gstbasetransform.h
6578         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6579         (gst_base_transform_init), (gst_base_transform_transform_size),
6580         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6581         (gst_base_transform_default_prepare_buf),
6582         (gst_base_transform_get_unit_size),
6583         (gst_base_transform_buffer_alloc),
6584         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6585         (gst_base_transform_change_state),
6586         (gst_base_transform_set_passthrough),
6587         (gst_base_transform_set_in_place),
6588         (gst_base_transform_is_in_place):
6589         * gst/base/gstbasetransform.h:
6590           Change BaseTransform to separate in_place operate from same_caps
6591           output. in_place implies that the element can perform the transform
6592           on incoming buffers in-place, even if the caps on the output are
6593           different.
6594           Sub-class elements can now implement special buffer allocation
6595           methods for outgoing buffers if they wish to.
6596           Big documentation addition.
6597         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6598         * gst/elements/gstelements.c:
6599           Changes for basetransform modifications.
6600         * gst/elements/Makefile.am:
6601         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6602           Compile fix. Extra debug output.
6603
6604 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6605
6606         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6607         (gst_pad_suite):
6608           add tests for valid pad naming
6609         * gst/check/gstcheck.c: (gst_check_log_message_func),
6610         (gst_check_log_critical_func):
6611           add ASSERT_WARNING
6612           remove printing of code, it is fragile when the code contains
6613           % and the line number is enough info
6614         * gst/check/gstcheck.h:
6615         * gst/gstpad.c: (gst_pad_template_new):
6616           fix memleaks
6617
6618 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6619
6620         * configure.ac:
6621           say what CHECK flags we use
6622         * docs/libs/gstreamer-libs.types:
6623         * libs/gst/controller/Makefile.am:
6624         * libs/gst/controller/gst-controller.c:
6625         * libs/gst/controller/gst-controller.h:
6626         * libs/gst/controller/gst-helper.c:
6627         * libs/gst/controller/gst-interpolation.c:
6628         * libs/gst/controller/gstcontroller.c:
6629         * libs/gst/controller/gsthelper.c:
6630         * libs/gst/controller/gstinterpolation.c:
6631         * tools/gst-inspect.c: (print_plugin_info):
6632           we don't use dashes in header names
6633
6634 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6635
6636         * check/Makefile.am:
6637         * check/gst/.cvsignore:
6638         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6639         (gst_pipeline_suite), (main):
6640           adding a test for pipelines and state changes
6641         * gst/gstutils.c: (get_state_func):
6642           add some debugging
6643         * gstreamer.spec.in:
6644           fix up spec file
6645
6646 2005-09-08  Michael Smith <msmith@fluendo.com>
6647
6648         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6649         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6650         (gst_file_src_is_seekable), (gst_file_src_get_size),
6651         (gst_file_src_start):
6652         * gst/elements/gstfilesrc.h:
6653           Various fixes for unseekable, unmmapable, and non-normal files, so
6654           that fallback to read() rather than mmap() works.
6655         * gst/gstevent.c: (gst_event_new_newsegment):
6656           Allow newsegment events with segment_start == segment_end, as will
6657           correctly happen if you use filesrc on a zero-size file, for
6658           example.
6659
6660 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6661
6662         * gst/gstplugin.c: (gst_plugin_load_file):
6663           Call g_module_close when we don't load the module
6664
6665         * gst/registries/gstlibxmlregistry.c:
6666         (gst_xml_registry_get_property):
6667           Port leak fix from 0.8
6668
6669 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6670
6671         * docs/gst/gstreamer-docs.sgml:
6672         * docs/gst/tmpl/.cvsignore:
6673         * docs/gst/tmpl/gsttrace.sgml:
6674         * docs/gst/tmpl/gsttrashstack.sgml:
6675         * gst/Makefile.am:
6676         * gst/gst.h:
6677         * gst/gstelement.h:
6678         * gst/gstevent.h:
6679         * gst/gstmessage.c:
6680         * gst/gstmessage.h:
6681         * gst/gsttag.c:
6682         * gst/gsttag.h:
6683         * gst/gsttaginterface.c:
6684         * gst/gsttaginterface.h:
6685         * gst/gsttaglist.c:
6686         * gst/gsttaglist.h:
6687         * gst/gsttagsetter.c:
6688         * gst/gsttagsetter.h:
6689         * gst/gsttrace.c:
6690         * gst/gsttrace.h:
6691         * gst/gsttrashstack.c:
6692           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6693           inlined docs for gsttrace, gsttrashstack
6694
6695 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6696
6697         * gst/Makefile.am:
6698         * gst/elements/gstbufferstore.h:
6699         * gst/elements/gsttypefindelement.c:
6700         * gst/elements/gsttypefindelement.h:
6701         * gst/gst.h:
6702         * gst/gsttypefind.c:
6703         * gst/gsttypefind.h:
6704         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6705         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6706         (gst_type_find_factory_dispose),
6707         (gst_type_find_factory_unload_thyself),
6708         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6709         (gst_type_find_factory_get_caps),
6710         (gst_type_find_factory_get_extensions),
6711         (gst_type_find_factory_call_function):
6712         * gst/gsttypefindfactory.h:
6713         * gst/registries/gstlibxmlregistry.c:
6714         * gst/registries/gstxmlregistry.c:
6715           splitted gsttypefind into gsttypefind, gsttypefindfactory
6716
6717 2005-09-07  Andy Wingo  <wingo@pobox.com>
6718
6719         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6720         condition whereby the pad's task function is entered before the
6721         pad_mode variable was set.
6722
6723 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6724
6725         * gst/gstpad.c: (gst_pad_alloc_buffer):
6726           Catch misbehaving pad_alloc functions that don't
6727           set up caps and do it for them.
6728
6729 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6730
6731         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6732           test for pipe!=NULL
6733         * docs/gst/tmpl/.cvsignore:
6734         * docs/gst/tmpl/gstmemchunk.sgml:
6735         * docs/gst/tmpl/gstparse.sgml:
6736         * docs/gst/tmpl/gsttaglist.sgml:
6737         * docs/gst/tmpl/gsttagsetter.sgml:
6738         * docs/gst/tmpl/gsttypefind.sgml:
6739         * docs/gst/tmpl/gsttypefindfactory.sgml:
6740         * gst/gstmemchunk.c:
6741         * gst/gstparse.c:
6742         * gst/gsttag.c:
6743         * gst/gsttaginterface.c:
6744         * gst/gsttypefind.c:
6745         * gst/gsttypefind.h:
6746           inlined more docs
6747
6748 === release 0.9.2 ===
6749
6750 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6751
6752         * NEWS:
6753         * RELEASE:
6754         * configure.ac:
6755           releasing 0.9.2, "South"
6756
6757 2005-09-05  Andy Wingo  <wingo@pobox.com>
6758
6759         * gst/registries/gstxmlregistry.h:
6760         * gst/registries/gstxmlregistry.c: Um... resurrect...
6761         
6762         * gst/registries/gstxmlregistry.h:
6763         * gst/registries/gstxmlregistry.c: and update to newer API.
6764         Incidentally they should be a bit faster now that they don't have
6765         to parse the caps.
6766         
6767 2005-09-05  Andy Wingo  <wingo@pobox.com>
6768
6769         * gst/registries/gstxmlregistry.h:
6770         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6771         replaced by the libxml registry a while back
6772
6773 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6774
6775         * docs/gst/tmpl/gstplugin.sgml:
6776         * gst/elements/gstelements.c:
6777         * gst/gst.c:
6778         * gst/gstplugin.c: (gst_plugin_register_func),
6779         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6780         (gst_plugin_get_source):
6781         * gst/gstplugin.h:
6782         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6783         (gst_xml_registry_save_plugin):
6784         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6785         (gst_xml_registry_save_plugin):
6786         * tools/gst-inspect.c: (print_plugin_info):
6787           add a "source" plugin description field, to represent the source
6788           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6789           will set it to PACKAGE, which is automake's idea of the name of
6790           the source project.
6791
6792 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6793
6794         * Makefile.am:
6795         * autogen.sh:
6796         * configure.ac:
6797         * docs/Makefile.am:
6798         * docs/faq/Makefile.am:
6799         * docs/gst/tmpl/gstelement.sgml:
6800         * docs/gst/tmpl/gsttypes.sgml:
6801         * docs/htmlinstall.mak:
6802         * docs/manual/Makefile.am:
6803         * docs/pwg/Makefile.am:
6804           reorganize doc build a little
6805           split out docbook and gtk-doc stuff
6806           have two separate --enable's and enable them through autogen
6807           but disable by default in configure (to be similar to other
6808           projects)
6809         * gstreamer.spec.in:
6810           clean up docs install
6811         * po/af.po:
6812         * po/az.po:
6813         * po/ca.po:
6814         * po/cs.po:
6815         * po/de.po:
6816         * po/en_GB.po:
6817         * po/fr.po:
6818         * po/it.po:
6819         * po/nb.po:
6820         * po/nl.po:
6821         * po/ru.po:
6822         * po/sq.po:
6823         * po/sr.po:
6824         * po/sv.po:
6825         * po/tr.po:
6826         * po/uk.po:
6827         * po/vi.po:
6828           translation updates
6829
6830 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6831
6832         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6833           Add comment.
6834           
6835         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6836         (gst_fake_sink_change_state):
6837           Make state change function thread-safe.
6838           
6839         * gst/gstpad.c: (gst_pad_alloc_buffer):
6840           Set offset on generic buffer allocated by fallback.
6841
6842 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6843
6844         * docs/gst/gstreamer-sections.txt:
6845         * docs/gst/tmpl/gstelement.sgml:
6846         * gst/gstpad.c:
6847         * libs/gst/controller/gst-controller.c:
6848         (gst_controlled_property_set_interpolation_mode),
6849         (gst_controlled_property_new),
6850         (gst_controller_find_controlled_property):
6851          run the wingo-magic script against the docs
6852
6853 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6854
6855         * docs/gst/gstreamer-docs.sgml:
6856         * docs/gst/gstreamer-sections.txt:
6857         * docs/gst/tmpl/.cvsignore:
6858         * docs/gst/tmpl/gstelementdetails.sgml:
6859         * docs/gst/tmpl/gstelementfactory.sgml:
6860         * gst/gst.c:
6861         * gst/gstbus.c:
6862         * gst/gstelementfactory.c:
6863         * gst/gstelementfactory.h:
6864           merged elementdetails docs into elementfactory docs
6865           inlined both
6866
6867 2005-09-02  Andy Wingo  <wingo@pobox.com>
6868
6869         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6870         consider this enum an enum and not a flags.
6871
6872 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6873
6874         * docs/gst/gstreamer-docs.sgml:
6875         * docs/gst/tmpl/.cvsignore:
6876         * docs/gst/tmpl/gstghostpad.sgml:
6877         * docs/gst/tmpl/gstiterator.sgml:
6878         * docs/gst/tmpl/gstmacros.sgml:
6879         * docs/gst/tmpl/gstrealpad.sgml:
6880         * docs/gst/tmpl/gstregistry.sgml:
6881         * docs/gst/tmpl/gstregistrypool.sgml:
6882         * docs/gst/tmpl/gststructure.sgml:
6883         * docs/gst/tmpl/gstsystemclock.sgml:
6884         * docs/gst/tmpl/gsttrace.sgml:
6885         * gst/gstghostpad.c:
6886         * gst/gstmacros.h:
6887         * gst/gstmemchunk.c:
6888         * gst/gstmemchunk.h:
6889         * gst/gstqueue.c:
6890         * gst/gstregistry.c:
6891         * gst/gstregistrypool.c:
6892         * gst/gststructure.c:
6893         * gst/gstsystemclock.c:
6894           more docs inlined
6895
6896 2005-09-02  Andy Wingo  <wingo@pobox.com>
6897
6898         * gst/gstelement.h (GstState): Renamed from GstElementState,
6899         changed to be a normal enum instead of flags.
6900         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6901         munged to be GST_STATE_CHANGE_*.
6902         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6903         work with the new state representation.
6904         (GstStateChange): New enumeration of possible state transitions.
6905         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6906         (GstElementClass::change_state): Pass the GstStateChange along as
6907         an argument. Helps language bindings, so they don't have to use
6908         tricky lock-needing macros like GST_STATE_CHANGE ().
6909
6910         * scripts/update-states (file): New script. Run it on a file to
6911         update it for state naming and API changes. Updates files in
6912         place.
6913
6914         * All files updated for the new API.
6915
6916 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6917
6918         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6919         * gst/gstutils.c: (gst_util_set_value_from_string),
6920         (gst_util_set_object_arg):
6921           fix a bunch of unchecked return values
6922         * tools/gst-complete.c: (main):
6923         * gstreamer.spec.in:
6924           clean up a little
6925
6926 2005-09-01  Wim Taymans  <wim@fluendo.com>
6927
6928         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6929         (gst_base_sink_event), (gst_base_sink_do_sync),
6930         (gst_base_sink_handle_event):
6931         * gst/base/gstbasesink.h:
6932         Handle newsegments more correctly.
6933
6934         * gst/gstbus.c:
6935         Fix docs.
6936
6937         * gst/gstevent.c: (gst_event_new_newsegment):
6938         A newsegment cannot have a start_time of -1
6939
6940 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6941
6942         * win32/gstenumtypes.c:
6943         * win32/gstenumtypes.h:
6944           Update
6945
6946 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6947
6948         * libs/gst/controller/gst-controller.c:
6949         (gst_controlled_property_set_interpolation_mode),
6950         (gst_controlled_property_new):
6951          fixed boolean again
6952
6953 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6954
6955         * docs/faq/gst-uninstalled:
6956           add -good
6957         * gst/gstevent.c:
6958         * gst/gstevent.h:
6959           remove wrong docs
6960         * gst/gstutils.c: (gst_element_link_filtered):
6961         * gst/gstutils.h:
6962           add gst_element_link_filtered
6963
6964 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6965
6966         * docs/gst/gstreamer-docs.sgml:
6967         * docs/gst/gstreamer-sections.txt:
6968         * docs/gst/tmpl/.cvsignore:
6969         * docs/gst/tmpl/gsterror.sgml:
6970         * docs/gst/tmpl/gstfilter.sgml:
6971         * docs/gst/tmpl/gsturihandler.sgml:
6972         * docs/gst/tmpl/gsturitype.sgml:
6973         * docs/gst/tmpl/gstutils.sgml:
6974         * docs/gst/tmpl/gstxml.sgml:
6975         * gst/gsterror.c:
6976         * gst/gsterror.h:
6977         * gst/gstfilter.c:
6978         * gst/gsturi.c:
6979         * gst/gsturitype.c:
6980         * gst/gstutils.c:
6981         * gst/gstxml.c:
6982           inlined more docs, fixed double id-ref
6983
6984 2005-08-31  Wim Taymans  <wim@fluendo.com>
6985
6986         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6987         (gst_base_transform_handle_buffer):
6988         Passthrough elements don't need the caps as they don't care.
6989
6990 2005-08-31  Wim Taymans  <wim@fluendo.com>
6991
6992         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6993         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6994         Don't leak refcounts on buffers.
6995
6996 2005-08-31  Wim Taymans  <wim@fluendo.com>
6997
6998         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6999         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7000         (gst_base_transform_chain), (gst_base_transform_change_state):
7001         * gst/base/gstbasetransform.h:
7002         Handle the case where we are not negotiated more gracefully.
7003
7004 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7005
7006         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7007         (gst_file_src_map_region):
7008           Set READONLY flag on mmap'ed buffers, otherwise
7009           gst_buffer_make_writable() won't work properly (#314708).
7010
7011 2005-08-31  Wim Taymans  <wim@fluendo.com>
7012
7013         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7014         passthrough elements can even do inplace on non writable
7015         buffers (as they don't touch them).
7016
7017 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7018
7019         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7020         (gst_test_mono_source_set_property),
7021         (gst_test_mono_source_class_init), (GST_START_TEST),
7022         (gst_controller_suite):
7023           more tests (hehe I have the most)
7024         * gst/gstbus.c:
7025           describe popping messages whenusing mulltiple sources
7026         * libs/gst/controller/gst-controller.c:
7027         (gst_controlled_property_set_interpolation_mode),
7028         (gst_controlled_property_new):
7029         * libs/gst/controller/gst-controller.h:
7030         * libs/gst/controller/gst-interpolation.c:
7031           implement boolean properties
7032
7033 2005-08-31  Wim Taymans  <wim@fluendo.com>
7034
7035         * gst/gstminiobject.c: (gst_mini_object_ref):
7036         Cannot assert that the refcount has to be positive
7037         since a disposed object can be resurrected.
7038
7039 2005-08-31  Wim Taymans  <wim@fluendo.com>
7040
7041         * gst/gstpad.c: (gst_pad_init):
7042         Revert change, need to first fix badly behaving 
7043         apps.
7044
7045 2005-08-30  Wim Taymans  <wim@fluendo.com>
7046
7047         * check/elements/fakesrc.c: (setup_fakesrc):
7048         * check/elements/identity.c: (setup_identity):
7049         Activate pads before using them.
7050
7051 2005-08-30  Wim Taymans  <wim@fluendo.com>
7052
7053         * gst/base/gstadapter.c: (gst_adapter_flush):
7054         Flushing out 0 bytes is ok for this function.
7055
7056         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7057         no newsegment gives a warning and sets the start/stop to 
7058         invalid.
7059
7060         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7061         (gst_base_transform_set_passthrough):
7062         Some debug info.
7063
7064         * gst/gstminiobject.c: (gst_mini_object_ref):
7065         Check refcount here too.
7066
7067         * gst/gstpad.c: (gst_pad_init):
7068         Pads are initially flushing and refusing data.
7069
7070         * gst/gstutils.c: (gst_element_link_pads_filtered):
7071         When adding a capsfilter element make sure it has the
7072         same state as the parent bin.
7073
7074 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7075
7076         * docs/gst/tmpl/.cvsignore:
7077         * docs/gst/tmpl/gstformat.sgml:
7078         * docs/gst/tmpl/gstversion.sgml:
7079         * gst/gstbus.h:
7080         * gst/gstformat.c:
7081         * gst/gstformat.h:
7082         * gst/gstversion.h.in:
7083           more docs and two more inlined
7084
7085 2005-08-30  Wim Taymans  <wim@fluendo.com>
7086
7087         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7088         Don't sync to clock.
7089
7090 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7091
7092         * docs/gst/gstreamer-sections.txt:
7093           ultral33t func10ns deserve to appear in the docs actually
7094         * docs/gst/tmpl/.cvsignore:
7095         * docs/gst/tmpl/gstcompat.sgml:
7096         * docs/gst/tmpl/gstconfig.sgml:
7097         * gst/check/gstcheck.c:
7098         * gst/gstcompat.h:
7099         * gst/gstconfig.h.in:
7100           inlined more docs
7101
7102 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7103
7104         * docs/gst/tmpl/.cvsignore:
7105         * docs/gst/tmpl/gstquery.sgml:
7106         * docs/gst/tmpl/gstutils.sgml:
7107         * gst/gstquery.c:
7108         * gst/gstquery.h:
7109           inlined and extended docs
7110
7111 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7112
7113         * check/gst-libs/controller.c: (GST_START_TEST),
7114         (gst_controller_suite):
7115           more tests
7116         * docs/gst/tmpl/gstutils.sgml:
7117         * docs/libs/gstreamer-libs-sections.txt:
7118         * docs/libs/tmpl/gstdataprotocol.sgml:
7119           include path fixes
7120         * examples/controller/audio-example.c: (main):
7121           controller example works now
7122         * gst/gstclock.h:
7123           doc fixes
7124         * tools/gst-inspect.c: (print_element_properties_info):
7125           show param spec flags
7126
7127 2005-08-29  Andy Wingo  <wingo@pobox.com>
7128
7129         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7130
7131 2005-08-28  Andy Wingo  <wingo@pobox.com>
7132
7133         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7134         as having two arguments instead of just one. Allows superclasses
7135         to access information on subclasses -- see the terrible for() loop
7136         in gtype.c:g_type_create_instance for the reason why. All callers
7137         changed.
7138
7139 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7140
7141         * docs/design/part-messages.txt:
7142           update info
7143         * docs/gst/tmpl/.cvsignore:
7144         * docs/gst/tmpl/gstcaps.sgml:
7145         * docs/gst/tmpl/gstclock.sgml:
7146         * gst/gstbus.c:
7147         * gst/gstcaps.c:
7148         * gst/gstcaps.h:
7149         * gst/gstclock.c:
7150         * gst/gstclock.h:
7151         * gst/gstmessage.c:
7152           added descriptions for bus and message
7153           inline caps and clock docs
7154
7155 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7156
7157         * gst/gstmessage.c:
7158         * gst/gstmessage.h:
7159           doc fixes
7160
7161 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7162
7163         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7164           fix div-by-zero
7165
7166 2005-08-26  Andy Wingo  <wingo@pobox.com>
7167
7168         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7169         element_set_state's return val.
7170         (test_2_elements): Add test that's been disabled for months.
7171
7172         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7173         can-activate-pull properties.
7174
7175         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7176         can-activate-pull properties. Implement is_seekable so fakesrc can
7177         operate in pull mode.
7178
7179         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7180         properties.
7181         (gst_base_sink_activate, gst_base_sink_activate_pull)
7182         (gst_base_sink_activate_push): Make activation mode choosing work.
7183         Cleanups.
7184         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7185         is right. Make pull mode work. Post an eos before pausing in pull
7186         mode.
7187         (gst_base_sink_change_state): Pay attention to the core's
7188         change_state() return val.
7189         
7190         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7191         has-getrange properties. Cleanups.
7192         
7193         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7194         has_getrange and replace with can_activate_pull and
7195         can_activate_push.
7196
7197         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7198         locking comments. Remove has_loop, has_chain and replace with
7199         can_activate_pull and can_activate_push.
7200
7201 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7202
7203         * configure.ac:
7204         * examples/Makefile.am:
7205         * examples/metadata/Makefile.am:
7206         * examples/metadata/read-metadata.c: (message_loop),
7207         (have_pad_handler), (make_pipeline), (print_tag), (main):
7208           Add metadata reading example that loops over a list of filenames,
7209           dumping any tags found.
7210
7211         * gst/gstbus.c: (gst_bus_dispose):
7212         * gst/gstelement.c: (gst_element_dispose):
7213           Release a few potentially-held references in dispose.
7214
7215 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7216
7217         * docs/gst/tmpl/gstminiobject.sgml:
7218           do *not* add tmpl/*.sgml files to CVS!
7219
7220 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7221
7222         * libs/gst/bytestream/.cvsignore:
7223         * libs/gst/bytestream/Makefile.am:
7224         * libs/gst/bytestream/adapter.c:
7225         * libs/gst/bytestream/adapter.h:
7226         * libs/gst/bytestream/bytestream.c:
7227         * libs/gst/bytestream/bytestream.h:
7228         * libs/gst/bytestream/filepad.c:
7229         * libs/gst/bytestream/filepad.h:
7230           removing obsolete files
7231
7232 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7233
7234         * docs/gst/gstreamer-docs.sgml:
7235         * docs/libs/gstreamer-libs-docs.sgml:
7236           disabed additional index entries again, as this makes docs-gen just
7237           slow and they aren't useful yet
7238         * docs/libs/gstreamer-libs-sections.txt:
7239           little -section.txt cleanup for libs
7240
7241 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7242
7243         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7244         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7245           fix up some debugging
7246         (gst_base_transform_get_unit_size),
7247         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7248         (gst_base_transform_handle_buffer):
7249         * gst/base/gstbasetransform.h:
7250           handle and store timed NEWSEGMENT events so that subclasses that
7251           calculate time by counting samples have a segment_start time they
7252           need to add to their timestamps - see audioresample
7253
7254 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7255
7256         * gst/gstbin.h:
7257           removed ';' from the end of macro defs
7258         * docs/gst/gstreamer-docs.sgml:
7259         * docs/gst/gstreamer-sections.txt:
7260         * docs/gst/tmpl/.cvsignore:
7261         * gst/gstbus.h:
7262         * gst/gstelement.c: (gst_element_class_init),
7263         (gst_element_set_state), (activate_pads),
7264         (gst_element_save_thyself):
7265         * gst/gstevent.c: (gst_event_new_newsegment):
7266         * gst/gstevent.h:
7267         * gst/gstiterator.c:
7268         * gst/gstiterator.h:
7269         * gst/gstpad.c:
7270         * gst/gstprobe.h:
7271         * gst/gstutils.c: (gst_pad_query_convert):
7272         * gst/gstutils.h:
7273           fixed parameter name mismatches between source, header and docs
7274           added some more docs, resolved the last batch of unused elements in
7275           docs (now someone needs to doc them)
7276
7277 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7278
7279         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7280         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7281           don't walk through the plugins backwards.  Where is all this
7282           reversed logic coming from ?
7283
7284 2005-08-25  Wim Taymans  <wim@fluendo.com>
7285
7286         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7287         (gst_base_transform_transform_size),
7288         (gst_base_transform_configure_caps),
7289         (gst_base_transform_get_unit_size),
7290         (gst_base_transform_buffer_alloc),
7291         (gst_base_transform_change_state):
7292         * gst/base/gstbasetransform.h:
7293         Cache caps unit_size.
7294         Make sure we cannot negotiate up and downstream at the
7295         same time.
7296
7297 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7298
7299         * gst/gst.c: (init_pre), (init_post):
7300           register the installed plugin path after the env var
7301         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7302         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7303           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7304           directories, so the tests can prefer uninstalled over installed
7305
7306 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7307
7308         * gst/base/gstbasetransform.h:
7309           comment
7310         * gst/gstpad.c:
7311           add to docs
7312
7313 2005-08-25  Wim Taymans  <wim@fluendo.com>
7314
7315         * gst/gstbin.c: (bin_bus_handler):
7316         Be a bit more conservative about the posted message.
7317         
7318         * gst/gstbus.c: (gst_bus_post):
7319         Some cleanups, warn wrong return values.
7320
7321 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7322
7323         * check/gst/gstbin.c: (GST_START_TEST):
7324         * gst/gstbin.c: (bin_bus_handler):
7325         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7326         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7327         (gst_message_new_warning), (gst_message_new_tag),
7328         (gst_message_new_state_changed), (gst_message_new_segment_start),
7329         (gst_message_new_segment_done), (gst_message_new_custom):
7330         * gst/gstmessage.h:
7331         * tools/gst-launch.c: (event_loop):
7332         * tools/gst-md5sum.c: (event_loop):
7333           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7334
7335 2005-08-25  Wim Taymans  <wim@fluendo.com>
7336
7337         * check/generic/states.c: (GST_START_TEST):
7338         Cleanup can be done at the end.
7339
7340         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7341         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7342         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7343         Oh boy.. Thanks for finding this, Thomas. 
7344
7345 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7346
7347         * docs/gst/gstreamer.types:
7348           added missing types
7349
7350 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7351
7352         * docs/gst/gstreamer-docs.sgml:
7353         * docs/gst/gstreamer-sections.txt:
7354         * docs/gst/tmpl/.cvsignore:
7355         * gst/gstbin.c:
7356         * gst/gstiterator.c:
7357         * gst/gstutils.c:
7358         * gst/registries/gstxmlregistry.h:
7359           added missing classes and symbols (123 more to go)
7360           removed removed symbols from section file
7361           fixed many doc-comments
7362
7363 2005-08-24  Wim Taymans  <wim@fluendo.com>
7364
7365         * check/generic/states.c: (GST_START_TEST):
7366         Make sure all tasks are stopped.
7367
7368         * check/gst/gstbin.c: (GST_START_TEST):
7369         Unref after usage for proper valgrinding.
7370
7371         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7372         Really wait for the task to stop before destroying the
7373         mutex.
7374
7375         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7376         (gst_queue_src_activate_push):
7377         Small cleanups. Don't stop the task when we did not start
7378         it.
7379
7380         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7381         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7382         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7383         (gst_task_join):
7384         * gst/gsttask.h:
7385         Protect the stream lock with the object lock.
7386         Disallow setting the stream lock when running.
7387         Add cleanup_all to wait for the threadpool to finish.
7388         Remove code to autoallocate a mutex if none was provided.
7389         Add _join() to wait for a task to stop.
7390         Protect the thread pool with a global lock.
7391
7392 2005-08-24  Wim Taymans  <wim@fluendo.com>
7393
7394         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7395         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7396         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7397         * gst/base/gstbasesink.h:
7398         Handle newsegment events correctly.
7399         Drop buffers out of the segment range.
7400
7401 2005-08-22  Andy Wingo  <wingo@pobox.com>
7402
7403         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7404         macro, implements an interface and gstimplementsinterface for a
7405         new type.
7406
7407 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7408
7409         * check/Makefile.am:
7410         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7411           add a test that does a bunch of state changes on elements
7412           needs some fixing for valgrind
7413         * check/states/sinks.c: (gst_object_suite):
7414           whitespace
7415         * gst/gstcaps.h:
7416           add prototype for gst_caps_is_equal_fixed
7417         * gst/gstplugin.c:
7418         * gst/gstregistrypool.c:
7419           doc fixes
7420
7421 2005-08-24  Andy Wingo  <wingo@pobox.com>
7422
7423         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7424         convert a negative value. Doesn't make much sense. Mostly this is
7425         here to force callers to ensure -1 maps to -1.
7426
7427 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7428
7429         * docs/pwg/advanced-types.xml:
7430           Well done to Michael for catching my deliberate introduction
7431           of this spelling mistake. 
7432         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7433         * gst/gstelement.h:
7434           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7435           unlink pads before removing the element from the bin.
7436
7437 2005-08-24  Andy Wingo  <wingo@pobox.com>
7438
7439         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7440         the same thing as GST_DEBUG=*:4.
7441         (parse_debug_level, parse_debug_category): New helper parsers.
7442
7443 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7444
7445         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7446         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7447         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7448         (gst_base_transform_buffer_alloc),
7449         (gst_base_transform_handle_buffer):
7450           use gboolean return values and pointers to size so we can use the
7451           full GST_BUFFER_SIZE range (guint) for buffer sizes
7452           use GstPadDirection for transform_caps
7453         * gst/base/gstbasetransform.h:
7454           rename get_size to get_unit_size since that's what it is
7455         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7456           use GstPadDirection for transform_caps
7457         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7458         * gst/gstutils.h:
7459           cleanup and debugging
7460
7461 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7462
7463         * gst/gstelement.c: (gst_element_class_init),
7464         (gst_element_set_state), (activate_pads),
7465         (gst_element_save_thyself):
7466         * tools/gst-compprep.c: (main):
7467         * tools/gst-inspect.c: (print_element_properties_info):
7468         * tools/gst-xmlinspect.c: (print_element_properties):
7469           Fixed long standing mem-leak
7470
7471 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7472
7473         * check/gst/gstbin.c: (GST_START_TEST):
7474         * gst/gstbin.c: (bin_bus_handler):
7475         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7476         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7477         (gst_message_new_warning), (gst_message_new_tag),
7478         (gst_message_new_state_changed), (gst_message_new_segment_start),
7479         (gst_message_new_segment_done), (gst_message_new_custom):
7480         * gst/gstmessage.h:
7481         * tools/gst-launch.c: (event_loop):
7482         * tools/gst-md5sum.c: (event_loop):
7483           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7484           that applications can sensibly post custom messages with references
7485           to their own objects.
7486
7487 2005-08-24  Andy Wingo  <wingo@pobox.com>
7488
7489         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7490         already.
7491
7492 2005-08-24  Wim Taymans  <wim@fluendo.com>
7493
7494         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7495         (gst_base_transform_transform_caps),
7496         (gst_base_transform_transform_size),
7497         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7498         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7499         (gst_base_transform_handle_buffer):
7500         * gst/base/gstbasetransform.h:
7501         Many fixes and new features added by Thomas. Can now also do
7502         transforms with variable sizes and a custom fixate_caps function.
7503
7504 2005-08-24  Wim Taymans  <wim@fluendo.com>
7505
7506         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7507         Some debugging.
7508
7509         * gst/gstclock.h:
7510         Cast to ClockTime before formatting to time.
7511
7512         * gst/gstutils.h:
7513         Cleanups.
7514
7515 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7516
7517         * check/gst-libs/controller.c: (GST_START_TEST),
7518         (gst_controller_suite):
7519         * docs/gst/tmpl/gstcaps.sgml:
7520         * docs/gst/tmpl/gstghostpad.sgml:
7521         * docs/gst/tmpl/gstquery.sgml:
7522         * docs/gst/tmpl/gstutils.sgml:
7523         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7524         (gst_object_sink_values), (gst_object_get_value_arrays),
7525         (gst_object_get_value_array):
7526           gracefully handle helper method calls to objects that are not beeing
7527           controlled, added test case for that          
7528
7529 2005-08-23  Wim Taymans  <wim@fluendo.com>
7530
7531         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7532         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7533         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7534         (gst_event_parse_qos), (gst_event_new_seek),
7535         (gst_event_parse_seek):
7536         * gst/gstevent.h:
7537         Some more debugging output and doc cleanups.
7538
7539         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7540         Fix possible deadlock.
7541
7542 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7543
7544         * docs/gst/gstreamer-docs.sgml:
7545         * docs/gst/gstreamer-sections.txt:
7546         * docs/gst/gstreamer.types:
7547         * docs/gst/tmpl/.cvsignore:
7548         * gst/gstbin.h:
7549         * gst/gstbus.c:
7550         * gst/gstelement.c:
7551         * gst/gstevent.h:
7552           added 100 symbols from gstreamer-unused.txt to the right sections
7553           fixed more broken comments
7554           added GstBus to docs
7555
7556 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7557
7558         * docs/gst/gstreamer-sections.txt:
7559         * docs/gst/tmpl/.cvsignore:
7560         * docs/gst/tmpl/gstbin.sgml:
7561         * docs/gst/tmpl/gstbuffer.sgml:
7562         * gst/base/gstbasesrc.c:
7563         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7564         * gst/gstbuffer.c:
7565         * gst/gstbuffer.h:
7566         * tools/gst-launch.1.in:
7567           inlined more doc comments, added missing comments and fixed comments
7568           fixed typos
7569
7570 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7571
7572         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7573           some debugging
7574         * gst/gstcaps.h:
7575           whitespace fixes
7576         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7577           more debugging
7578         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7579         * gst/gststructure.h:
7580           add a fixate function for booleans; add a FIXME that these func
7581           names should probably be gst_structure_fixate_*
7582
7583 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7584
7585         * docs/gst/gstreamer-docs.sgml:
7586         * docs/gst/gstreamer-sections.txt:
7587         * gst/Makefile.am:
7588         * gst/gstbin.c: (gst_bin_get_type),
7589         (gst_bin_child_proxy_get_child_by_index),
7590         (gst_bin_child_proxy_get_children_count),
7591         (gst_bin_child_proxy_init):
7592         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7593         (gst_child_proxy_get_child_by_index),
7594         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7595         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7596         (gst_child_proxy_get), (gst_child_proxy_set_property),
7597         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7598         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7599         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7600         * gst/gstchildproxy.h:
7601         * gst/parse/grammar.y:
7602         * tools/gst-inspect.c: (print_interfaces),
7603         (print_element_properties_info), (print_element_info):
7604           ported gstchildproxy over from 0.8
7605           ported gst-inspect fixes and enhancements over from 0.8
7606
7607 2005-08-22  Wim Taymans  <wim@fluendo.com>
7608
7609         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7610         (gst_base_transform_handle_buffer):
7611         Also call the transform function if we have ANY caps.
7612
7613         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7614         Fix debug info.
7615
7616 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7617
7618         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7619           Don't pretend to handle seek events if the source is not seekable
7620
7621 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7622
7623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7624           Remove extra parameter to debug output
7625
7626         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7627         (gst_base_src_do_seek), (gst_base_src_activate_push):
7628           Fix seek event handling.
7629
7630         * gst/gstpipeline.c: (gst_pipeline_change_state):
7631         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7632         (gst_queue_src_activate_push):
7633           Don't start the src pad task on FLUSH_STOP if the pad
7634           isn't linked.
7635           Debug changes.
7636
7637 2005-08-22  Wim Taymans  <wim@fluendo.com>
7638
7639         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7640         Added check for gst_static_caps_get() refcounting.
7641
7642 2005-08-22  Wim Taymans  <wim@fluendo.com>
7643
7644         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7645         Make _static_caps_get() refcounting sane.
7646         
7647         * gst/gstelement.c: (gst_element_set_state):
7648         Add g_return_val_if_fail() to protect against segfaults.
7649
7650 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7651
7652         * docs/gst/tmpl/gstevent.sgml:
7653         * gst/gstevent.c:
7654         * gst/gstevent.h:
7655           inlined remaining docs, added missing doc comments
7656
7657 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7658
7659         * check/gst/gstbin.c: (GST_START_TEST):
7660           since we don't know when preroll is done, use refcount range
7661           check for the sink
7662         * gst/check/gstcheck.h:
7663           add macro for checking refcount range
7664
7665 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7666
7667         * check/Makefile.am:
7668           clean up environment for when registry gets built versus
7669           when actual tests are run; valgrind seems to not report
7670           leaks if GST_PLUGIN_PATH is set to some specific values
7671         * check/gst/gstbin.c: (GST_START_TEST):
7672           add more refcounting checks; maybe this exposes a
7673           preroll lock bug ?
7674         * common/check.mak:
7675         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7676         * gst/check/gstcheck.h:
7677         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7678         (gst_bin_change_state):
7679         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7680           add/fix debugging/whitespace
7681
7682 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7683
7684         * check/gst/gstevent.c: (event_probe), (test_event),
7685         (GST_START_TEST):
7686          Er, don't call gst_bin_watch_for_state_change you idiot.
7687
7688 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7689
7690         * check/Makefile.am:
7691           Use CHECK_CFLAGS and CHECK_LIBS
7692         * check/gst/gstevent.c: (event_probe), (test_event),
7693         (GST_START_TEST):
7694           Don't leak events.
7695         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7696         (gst_base_src_start), (gst_base_src_stop),
7697         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7698         (gst_base_src_change_state):
7699           Sprinkle gst_base_src_stop liberally around error paths to fix
7700           problems reusing a source after failed state changes.
7701         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7702         (helper_find_suggest), (gst_type_find_helper):
7703           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7704         * gst/gstevent.h:
7705         * docs/gst/tmpl/gstevent.sgml:
7706           Migrate part of the docs from the SGML file. Wait for ensonic to
7707           tell me how I did it wrong ;)
7708         * tools/gst-typefind.c: (main):
7709           Extra robustness to state changes between files.
7710
7711 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7712
7713         * check/Makefile.am:
7714           don't valgrind the controller test - it's leaking - Stefan, HELP
7715         * gst/check/gstcheck.c: (gst_check_message_error),
7716         (gst_check_chain_func), (gst_check_setup_element),
7717         (gst_check_teardown_element), (gst_check_setup_src_pad),
7718         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7719         (gst_check_teardown_sink_pad):
7720         * gst/check/gstcheck.h:
7721           add a bunch of methods to set up elements, and src and sink pads
7722         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7723         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7724         (GST_START_TEST):
7725           use them
7726         * gst/gstmessage.c:
7727         * gst/gsttag.h:
7728           whitespace/doc fixes
7729
7730 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7731
7732         * gst/gstelement.h:
7733           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7734           be handled by the application and not always printed as well
7735
7736 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7737
7738         * check/Makefile.am:
7739           set GST_TOOLS_DIR
7740         * gst/check/gstcheck.c: (gst_check_message_error):
7741         * gst/check/gstcheck.h:
7742           add a fail_unless_equals_int
7743           add fail_unless for error messages
7744
7745 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7746
7747         * check/Makefile.am:
7748         * check/gst.supp:
7749         * common/Makefile.am:
7750         * common/check.mak:
7751         * common/gst.supp:
7752           factor out some of the common stuff so we can use it
7753
7754 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7755
7756         * check/Makefile.am:
7757         * check/gst/gstiterator.c: (GST_START_TEST):
7758         * check/gst/gstsystemclock.c: (GST_START_TEST),
7759         (gst_systemclock_suite):
7760         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7761         * gst/gstclock.c:
7762           valgrind more tests
7763
7764 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7765
7766         * check/elements/.cvsignore:
7767         * check/elements/gstfakesrc.c:
7768           rename to name of element
7769         * check/elements/identity.c: (chain_func), (event_func),
7770         (setup_identity), (cleanup_identity), (GST_START_TEST),
7771         (identity_suite), (main):
7772           add a test for identity
7773         * check/Makefile.am:
7774         * pkgconfig/Makefile.am:
7775         * pkgconfig/gstreamer-check.pc.in:
7776         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7777         * gst/check:
7778         * gst/Makefile.am:
7779         * configure.ac:
7780           move the check stuff to a library that gets installed
7781         * check/gst-libs/controller.c: (GST_START_TEST):
7782         * check/gst-libs/gdp.c:
7783         * check/gst/gst.c: (GST_START_TEST):
7784         * check/gst/gstbin.c:
7785         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7786         * check/gst/gstbus.c:
7787         * check/gst/gstcaps.c: (GST_START_TEST):
7788         * check/gst/gstelement.c:
7789         * check/gst/gstghostpad.c:
7790         * check/gst/gstiterator.c:
7791         * check/gst/gstmessage.c:
7792         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7793         * check/gst/gstobject.c:
7794         * check/gst/gstpad.c: (GST_START_TEST):
7795         * check/gst/gststructure.c: (GST_START_TEST):
7796         * check/gst/gstsystemclock.c: (GST_START_TEST),
7797         (gst_systemclock_suite):
7798         * check/gst/gsttag.c: (gst_tag_suite):
7799         * check/gst/gstvalue.c:
7800         * check/pipelines/cleanup.c:
7801         * check/pipelines/simple_launch_lines.c:
7802         * check/states/sinks.c:
7803           change include statement
7804
7805         * docs/gst/gstreamer-sections.txt:
7806         * docs/gst/tmpl/gstpad.sgml:
7807           document more pad stuff
7808         * gst/gstminiobject.c: (gst_mini_object_ref),
7809         (gst_mini_object_unref):
7810           debug refcounting
7811
7812 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7813
7814         * docs/gst/tmpl/gst.sgml:
7815         * gst/gst.c:
7816           eliminate another tmpl file, fix spelling in the long-description
7817
7818 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7819
7820         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7821         (test_event), (timediff), (gstevents_suite):
7822           Should fix build on 64-bit arch's
7823
7824 2005-08-18  Andy Wingo  <wingo@pobox.com>
7825
7826         Make sure that when a pipeline goes to PLAYING, that data has
7827         actually hit the sink.
7828
7829         * check/states/sinks.c (test_sink): A sink that doesn't get any
7830         data shouldn't return SUCCESS for going to either PLAYING or
7831         PAUSED. Test also the return values on the way back down.
7832
7833         * gst/gstelement.c (gst_element_set_state): When changing the
7834         state of an element currently changing state asynchronously, go to
7835         lost-state after commiting the pending state. Makes future calls
7836         to get_state continue to return ASYNC.
7837
7838         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7839         ASYNC when going to PLAYING if we still don't have preroll, as can
7840         happen with live sources.
7841
7842 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7843
7844         * docs/pwg/advanced-types.xml:
7845           Hack long paragraph into 2 chunks as a workaround for buggy
7846           jadetex version in sid and breezy that loops infinitely and
7847           eats all RAM.
7848
7849 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7850
7851         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7852         (test_event), (timediff), (gstevents_suite):
7853           Provide more error margin in clock measurements to allow for 
7854           g_get_current_time inaccuracies.
7855
7856 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7857
7858         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7859         (test_event), (timediff), (gstevents_suite):
7860            Fix error message output so I might be able to tell why the
7861            test works here but fails on the build farm.
7862
7863 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7864
7865         * check/Makefile.am:
7866         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7867         (test_event), (timediff), (gstevents_suite), (main):
7868           I wrote a test!
7869
7870         * docs/design/part-seeking.txt:
7871           Spelling correction
7872
7873         * docs/gst/tmpl/gstevent.sgml:
7874         * docs/gst/tmpl/gstfakesrc.sgml:
7875           Docs updates.
7876
7877         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7878           Treat a buffer-without-newsegment the same as a receiving 
7879           a newsegment not in time format, and disable syncing to the clock
7880           with a warning.
7881
7882         * gst/gstbus.c: (gst_bus_set_sync_handler):
7883           Assert if anyone tries to replace the existing sync_handler for bus, 
7884           as only the owner should be setting it.
7885
7886         * gst/gstevent.h:
7887           Have a fixed set of custom event enums with events identified by
7888           their structure name (as in 0.8), rather than a free-for-all
7889           allowing collisions between enum values from different plugins.
7890
7891         * gst/gstpad.c: (gst_pad_class_init):
7892           Docs change.
7893           
7894         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7895           Handle out-of-band downstream events from the sending thread.
7896
7897 2005-08-17  Andy Wingo  <wingo@pobox.com>
7898
7899         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7900         play-timeout==0 to mean no timeout at all. In that case, don't
7901         bother with a get_state or a warning, just return directly, even
7902         if it's ASYNC.
7903
7904         * gst/base/gstbasetransform.c: Debug changes.
7905
7906         * gst/gstutils.h:
7907         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7908         ensure bins post state change messages. A bit of a hack but I can't
7909         think of a way to avoid it.
7910
7911         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7912
7913 2005-08-16  Andy Wingo  <wingo@pobox.com>
7914
7915         * gst/base/gstadapter.h:
7916         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7917         peek() but you own the data. Not terribly efficient atm.
7918
7919 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7920
7921         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7922         (gst_element_found_tags):
7923         * gst/gstutils.h:
7924           Add two utility functions for tag handling.
7925
7926 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7927
7928         * docs/manual/advanced-dataaccess.xml:
7929         * docs/manual/basics-helloworld.xml:
7930           Fix docs to use _bin_add() before _link(), which fixes the examples
7931           with recent core versions (reported by Madhan Raj M
7932           <raj_madan@rediffmail.com>, #313199).
7933
7934 2005-08-16  Wim Taymans  <wim@fluendo.com>
7935
7936         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7937         Added subtract checks.
7938
7939         * docs/design/part-events.txt:
7940         Some more docs about newsegment
7941
7942         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7943         Fix FIXME
7944
7945         * gst/gstcaps.c: (gst_caps_to_string):
7946         Add comments, cleanups.
7947         
7948         * gst/gstelement.c: (gst_element_save_thyself):
7949         cleanups
7950         
7951         * gst/gstvalue.c: (gst_value_collect_int_range),
7952         (gst_string_unwrap), (gst_value_union_int_int_range),
7953         (gst_value_union_int_range_int_range),
7954         (gst_value_intersect_int_int_range),
7955         (gst_value_intersect_int_range_int_range),
7956         (gst_value_intersect_double_double_range),
7957         (gst_value_intersect_double_range_double_range),
7958         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7959         (gst_value_subtract_int_range_int),
7960         (gst_value_subtract_double_range_double),
7961         (gst_value_subtract_double_range_double_range),
7962         (gst_value_subtract_from_list), (gst_value_subtract_list),
7963         (gst_value_can_compare), (gst_value_compare_fraction):
7964         Cleanups, add comments, remove unneeded asserts.
7965
7966 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7967
7968         * tools/gst-launch.c: (event_loop):
7969           don't convert NULL structures to strings
7970
7971 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7972
7973         * docs/gst/gstreamer-sections.txt:
7974           made some defines private
7975         * docs/gst/tmpl/gstconfig.sgml:
7976         * docs/gst/tmpl/gstqueue.sgml:
7977         * docs/gst/tmpl/gsttaglist.sgml:
7978         * docs/gst/tmpl/gsttypes.sgml:
7979         * docs/gst/tmpl/gstutils.sgml:
7980         * docs/pwg/appendix-porting.xml:
7981         * gst/base/gstbasesink.h:
7982         * gst/base/gstbasesrc.c:
7983         * gst/base/gstbasesrc.h:
7984         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7985         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7986         * gst/gstelement.c: (gst_element_class_init):
7987         * gst/gstpad.c: (gst_pad_class_init):
7988         * gst/gstqueue.c: (gst_queue_class_init):
7989         * gst/gstxml.c: (gst_xml_class_init):
7990           documented all undocumented signal inline
7991         * libs/gst/controller/gst-controller.h:
7992           added padding
7993
7994 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7995
7996         * docs/pwg/appendix-porting.xml:
7997           Document _set_link_function -> _set_setcaps_function.
7998
7999 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8000
8001         * check/Makefile.am:
8002           add a .check target for running the check
8003         * check/gst-libs/controller.c: (GST_START_TEST):
8004           cosmetic fixups
8005         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8006           complete checks for gstbuffer; would be nice if I could get the
8007           gcov stuff to work so I can see if I actually completed gstbuffer.c
8008         * check/gstcheck.h:
8009           add ASSERT_BUFFER_REFCOUNT
8010
8011 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8012
8013         * docs/gst/gstreamer-sections.txt:
8014         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8015         * gst/gsttag.h:
8016           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8017           spew out a warning if a tag that is already registered
8018           is re-registered, unless it is re-registered with a 
8019           different type (#308438).
8020
8021 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8022
8023         * docs/pwg/appendix-porting.xml:
8024         * docs/pwg/building-state.xml:
8025           Add some paragraphs about state changes in 0.9 to the PWG
8026           and the porting guide, in particular about the new meaning
8027           of GST_STATE_PAUSED and how to write state change functions
8028           with concurrent access by multiple threads in mind.
8029
8030 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8031
8032         * docs/gst/gstreamer-docs.sgml:
8033         * docs/libs/gstreamer-libs-docs.sgml:
8034           added deprecation and since indexes
8035         * libs/gst/controller/gst-controller.c:
8036         * libs/gst/controller/gst-helper.c:
8037           added since tags
8038
8039
8040 2005-08-11  Wim Taymans  <wim@fluendo.com>
8041
8042         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8043         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8044         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8045         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8046         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8047         (gst_ghost_pad_set_target):
8048         Actually implement (re)setting the target on a ghostpad
8049         as described in the docs.
8050
8051 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8052
8053         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8054           Check whether GST_DEBUG_NO_COLOR environment variable is
8055           set and disable coloured debug output if that is the case.
8056
8057 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8058
8059         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8060         (gst_type_find_helper):
8061           The memory returned by gst_type_find_peek() needs to
8062           stay valid until the end of a typefind function, and
8063           typefind functions may keep results from different 
8064           offsets around, so we can't just unref the buffer from
8065           the previous _peek(), but have to save all buffers 
8066           returned by _peek() until typefinding is done and only
8067           free them then.
8068
8069 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8070
8071         * docs/gst/gstreamer-sections.txt:
8072         * gst/gstutils.h:
8073           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8074
8075 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8076
8077         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8078           Fix a pretty good memleak.
8079
8080 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8081
8082         * gst/gstiterator.h:
8083           Fix wrong include and 'make distcheck'.
8084
8085 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8086
8087         * gst/gstbin.c: (bin_bus_handler):
8088           Use gst_element_post_message() instead.
8089
8090 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8091
8092         * gst/base/gstadapter.h:
8093         * gst/base/gstbasesink.h:
8094         * gst/base/gstbasesrc.h:
8095         * gst/base/gstbasetransform.h:
8096         * gst/base/gstcollectpads.h:
8097         * gst/base/gstpushsrc.h:
8098         * gst/gstiterator.h:
8099           Add padding to our base elements' class and instance structs and
8100           to GstIterator (you will need to rebuild all plugins and apps!)
8101
8102 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8103
8104         * gst/gstbin.c: (bin_bus_handler):
8105           Make default message forwarding from child->bus to bin->bus
8106           threadsafe and make it not emit warnings if the parent has no bus.
8107
8108 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8109
8110         * gst/gstelement.c: (activate_pads):
8111           On paused->ready, set pad->caps to NULL, as is the documented
8112           behaviour in this state change. Fixes playback of series of
8113           media files when visualization is enabled in Totem.
8114
8115 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8116
8117         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8118           Allow NULL as filter-caps (which means "any").
8119
8120 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8121
8122         * docs/libs/gstreamer-libs-sections.txt:
8123         * libs/gst/controller/gst-controller.c:
8124         * libs/gst/controller/gst-controller.h:
8125         * libs/gst/controller/gst-helper.c:
8126           adding more entries to the docs and fix small doc-bugs
8127
8128 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8129
8130         * docs/gst/gstreamer-docs.sgml:
8131         * docs/gst/gstreamer-sections.txt:
8132         * docs/gst/gstreamer.types:
8133         * docs/gst/tmpl/gstbasesink.sgml:
8134         * docs/gst/tmpl/gstbasesrc.sgml:
8135         * docs/gst/tmpl/gstbasetransform.sgml:
8136         * docs/gst/tmpl/gstfakesrc.sgml:
8137         * gst/base/gstcollectpads.c:
8138         * gst/base/gstcollectpads.h:
8139         * libs/gst/controller/gst-controller.c:
8140         * libs/gst/controller/gst-controller.h:
8141         * libs/gst/controller/gst-helper.c:
8142         * libs/gst/controller/gst-interpolation.c:
8143         * libs/gst/controller/lib.c:
8144           added long/short desc for controller docs
8145           added collectpads base class docs
8146           added correct includes to base-class docs
8147
8148 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8149
8150         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8151         (gst_test_mono_source_set_property),
8152         (gst_test_mono_source_class_init), (GST_START_TEST),
8153         (gst_controller_suite):
8154         * docs/gst/gstreamer-docs.sgml:
8155         * docs/gst/gstreamer-sections.txt:
8156         * docs/gst/gstreamer.types:
8157         * docs/libs/gstreamer-libs-docs.sgml:
8158         * docs/libs/gstreamer-libs-sections.txt:
8159         * gst/base/gstadapter.c:
8160         * libs/gst/controller/gst-controller.c:
8161         (gst_controlled_property_new), (gst_controlled_property_free),
8162         (gst_controller_new_valist),
8163         (gst_controller_remove_properties_valist),
8164         (gst_controller_sink_values), (_gst_controller_finalize):
8165         * libs/gst/controller/gst-controller.h:
8166         * libs/gst/controller/gst-helper.c:
8167         (gst_object_control_properties), (gst_object_uncontrol_properties),
8168         (gst_object_get_controller), (gst_object_set_controller),
8169         (gst_object_sink_values), (gst_object_get_value_arrays),
8170         (gst_object_get_value_array):
8171           more tests (and fixes) for the controller
8172           more docs for the controller
8173           integrated companies docs for the adapter 
8174
8175 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8176
8177         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8178         (GST_START_TEST), (fakesrc_suite):
8179           add tests for sizetype
8180
8181 2005-08-04  Andy Wingo  <wingo@pobox.com>
8182
8183         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8184         fixes buffer_alloc proxying among other things.
8185
8186         * gst/base/gstbasetransform.c:
8187         * gst/base/gstbasetransform.h:
8188         Revert patch to gstbasetransform from 7-28 removing
8189         delay_configure.
8190
8191         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8192         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8193         Semantics changed, should return not the size of the output buffer
8194         but the byte size of a buffer with a given caps.
8195
8196         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8197         debug object.
8198         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8199         out) are not the pad caps until setcaps finishes.
8200         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8201         not-in-place case as well. Deal with changing from in-place to
8202         not-in-place within calling pad_alloc_buffer. Still a bit
8203         concerned about the overhead here...
8204
8205 2005-08-03  Andy Wingo  <wingo@pobox.com>
8206
8207         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8208         fixating is an error.
8209
8210 2005-08-04  Edward Hervey  <edward@fluendo.com>
8211
8212         * gst/base/gstadapter.h: 
8213         Added gst_adapter_get_type() to the header
8214
8215 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8216
8217         * check/Makefile.am:
8218         * check/gst-libs/controller.c:
8219         * libs/gst/controller/gst-controller.c:
8220         (gst_controller_new_valist):
8221           added check test suite for the controller
8222         * gst/base/gstpushsrc.c:
8223           fixed a doc typo
8224
8225 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8226
8227         * docs/gst/Makefile.am:
8228         * docs/gst/gstreamer-docs.sgml:
8229         * docs/gst/gstreamer-sections.txt:
8230         * docs/gst/gstreamer.types:
8231         * docs/gst/tmpl/gstfakesrc.sgml:
8232         * gst/base/README:
8233         * gst/base/gstbasesink.c:
8234         * gst/base/gstbasesink.h:
8235         * gst/base/gstbasesrc.c:
8236         * gst/base/gstbasesrc.h:
8237         * gst/base/gstbasetransform.c:
8238         * gst/base/gstpushsrc.c:
8239         * gst/base/gstpushsrc.h:
8240           add short/long description docs to base classes
8241           add pushsrc to the docs
8242           remove consolidated doc fragments
8243
8244 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8245
8246         * configure.ac:
8247         * docs/libs/Makefile.am:
8248         * docs/libs/gstreamer-libs-docs.sgml:
8249         * docs/libs/gstreamer-libs-sections.txt:
8250         * docs/libs/gstreamer-libs.types:
8251         * examples/Makefile.am:
8252         * examples/controller/.cvsignore:
8253         * examples/controller/Makefile.am:
8254         * examples/controller/audio-example.c: (main):
8255         * libs/gst/Makefile.am:
8256         * libs/gst/controller/.cvsignore:
8257         * libs/gst/controller/Makefile.am:
8258         * libs/gst/controller/gst-controller.c:
8259         (on_object_controlled_property_changed), (gst_timed_value_compare),
8260         (gst_timed_value_find),
8261         (gst_controlled_property_set_interpolation_mode),
8262         (gst_controlled_property_new), (gst_controlled_property_free),
8263         (gst_controller_find_controlled_property),
8264         (gst_controller_new_valist), (gst_controller_new),
8265         (gst_controller_remove_properties_valist),
8266         (gst_controller_remove_properties), (gst_controller_set),
8267         (gst_controller_set_from_list), (gst_controller_unset),
8268         (gst_controller_get), (gst_controller_get_all),
8269         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8270         (gst_controller_get_value_array),
8271         (gst_controller_set_interpolation_mode),
8272         (_gst_controller_finalize), (_gst_controller_init),
8273         (_gst_controller_class_init), (gst_controller_get_type):
8274         * libs/gst/controller/gst-controller.h:
8275         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8276         (g_object_uncontrol_properties), (g_object_get_controller),
8277         (g_object_set_controller), (g_object_sink_values),
8278         (g_object_get_value_arrays), (g_object_get_value_array):
8279         * libs/gst/controller/gst-interpolation.c:
8280         (gst_controlled_property_find_timed_value_node),
8281         (interpolate_none_get), (interpolate_trigger_get),
8282         (interpolate_trigger_get_value_array):
8283         * libs/gst/controller/lib.c: (gst_controller_init):
8284         * pkgconfig/Makefile.am:
8285         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8286         * pkgconfig/gstreamer-control.pc.in:
8287         * testsuite/Makefile.am:
8288         * testsuite/controller/.cvsignore:
8289         * testsuite/controller/Makefile.am:
8290         * testsuite/controller/interpolator.c: (main):
8291           added controller code
8292           removed dparam pc files
8293
8294 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8295         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8296         (gst_collectpads_stop):
8297           Broadcast the condition when shutting down, to make sure we wake all
8298           threads up. Shut down pads on finalize, for safety.
8299
8300 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8301         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8302         (gst_base_transform_handle_buffer),
8303         (gst_base_transform_change_state):
8304           Handle PAUSED->READY->PAUSED transition after negotiation
8305           occurred already.
8306         * gst/gstmessage.c: (gst_message_init):
8307           Extra piece of debug for new messages.
8308
8309 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8310
8311         * configure.ac:
8312         * docs/gst/tmpl/gstbasesrc.sgml:
8313         * docs/gst/tmpl/gstelement.sgml:
8314         * docs/gst/tmpl/gstevent.sgml:
8315         * docs/gst/tmpl/gstfakesrc.sgml:
8316         * docs/gst/tmpl/gstformat.sgml:
8317         * docs/gst/tmpl/gstghostpad.sgml:
8318         * docs/gst/tmpl/gstpad.sgml:
8319         * docs/gst/tmpl/gstquery.sgml:
8320         * docs/gst/tmpl/gststructure.sgml:
8321         * docs/gst/tmpl/gsttaglist.sgml:
8322         * docs/gst/tmpl/gstvalue.sgml:
8323         * docs/libs/gstreamer-libs-docs.sgml:
8324         * docs/libs/gstreamer-libs-sections.txt:
8325         * docs/libs/gstreamer-libs.types:
8326         * libs/gst/Makefile.am:
8327         * libs/gst/control/.cvsignore:
8328         * libs/gst/control/Makefile.am:
8329         * libs/gst/control/control.c:
8330         * libs/gst/control/control.h:
8331         * libs/gst/control/dparam.c:
8332         * libs/gst/control/dparam.h:
8333         * libs/gst/control/dparam_smooth.c:
8334         * libs/gst/control/dparam_smooth.h:
8335         * libs/gst/control/dparamcommon.h:
8336         * libs/gst/control/dparammanager.c:
8337         * libs/gst/control/dparammanager.h:
8338         * libs/gst/control/dplinearinterp.c:
8339         * libs/gst/control/dplinearinterp.h:
8340         * libs/gst/control/unitconvert.c:
8341         * libs/gst/control/unitconvert.h:
8342         * testsuite/Makefile.am:
8343         * testsuite/dynparams/.cvsignore:
8344         * testsuite/dynparams/Makefile.am:
8345         * testsuite/dynparams/dparamstest.c:
8346         * tools/Makefile.am:
8347         * tools/gst-inspect.c: (print_element_info), (main):
8348         * tools/gst-xmlinspect.c: (print_element_info), (main):
8349           deactivate and remove dparams (libgstcontrol)
8350
8351 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8352
8353         * gst/elements/gsttypefindelement.c:
8354         (gst_type_find_element_have_type), (gst_type_find_element_init),
8355         (stop_typefinding), (gst_type_find_element_handle_event),
8356         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8357         * gst/elements/gsttypefindelement.h:
8358           Set caps on all outgoing buffers, not just the first one.
8359
8360 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8361
8362         * gst/elements/gsttypefindelement.c:
8363         (gst_type_find_element_have_type),
8364         (gst_type_find_element_check_set_buffer_caps),
8365         (gst_type_find_element_init), (stop_typefinding),
8366         (gst_type_find_element_handle_event),
8367         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8368         * gst/elements/gsttypefindelement.h:
8369           Set caps on first outgoing buffer when we've found the type.
8370
8371 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8372
8373         * docs/gst/gstreamer-docs.sgml:
8374         * docs/gst/gstreamer-sections.txt:
8375         * docs/gst/tmpl/gstscheduler.sgml:
8376         * docs/gst/tmpl/gstschedulerfactory.sgml:
8377           Remove some old cruft from docs.
8378
8379 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8380
8381         * gst/gstpad.h:
8382           Fix inline docs for GstPadLinkReturn.
8383           
8384         * gst/gststructure.c: (gst_structure_has_name):
8385         * gst/gststructure.h:
8386         * docs/gst/gstreamer-sections.txt:
8387           New API: gst_structure_has_name().
8388
8389 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8390
8391         * configure.ac:
8392           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8393           and _LARGEFILE_SOURCE in config.h as required. Do not 
8394           export those flags in our .pc files any longer (#142209).
8395
8396           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8397
8398         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8399         (gst_file_sink_do_seek), (gst_file_sink_event),
8400         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8401           Redo seek/tell calls with large file support in mind; add some
8402           debugging messages; add log message that tells us when large
8403           file support is unavailable or not enabled for some reason.
8404
8405         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8406           Add log message that tells us when large file support 
8407           is unavailable or not enabled for some reason.
8408
8409 2005-07-29  Wim Taymans  <wim@fluendo.com>
8410
8411         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8412         Added test for removing an element with ghostpad from a bin.
8413         Fixed test as current implementation does the right thing.
8414
8415         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8416         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8417         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8418         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8419         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8420         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8421         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8422         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8423         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8424         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8425         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8426         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8427         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8428         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8429         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8430         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8431         * gst/gstghostpad.h:
8432         Clean up ghostpads, remove properties for internal stuff.
8433         Make threadsafe.
8434         Fix refcounting.
8435         Prepare for switching targets, not all use cases work yet.
8436
8437 2005-07-29  Wim Taymans  <wim@fluendo.com>
8438
8439         * docs/design/part-gstghostpad.txt:
8440         Small update.
8441
8442         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8443         (gst_bin_remove_func):
8444         Unlinking pads while holding the bin LOCK is not a good
8445         idea.
8446
8447         * gst/gstpad.c: (gst_pad_class_init),
8448         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8449         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8450         No prob setting template after creating the pad.
8451
8452 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8453
8454         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8455         (gst_bus_peek), (gst_bus_source_dispatch),
8456         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8457         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8458           gst_bus_poll may be called from other threads. Handle
8459           this nicely by not making poll_data disappear off the
8460           stack once gst_bus_poll returns.
8461           gst_bus_peek now increments the refcount on the returned
8462           message.
8463
8464 2005-07-29  Wim Taymans  <wim@fluendo.com>
8465
8466         * docs/design/part-gstghostpad.txt:
8467         Overview of current GhostPad datastructures and use
8468         cases for changing the target.
8469
8470 2005-07-28  Wim Taymans  <wim@fluendo.com>
8471
8472         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8473         Added checks for hierarchy consistency whan adding linked
8474         elements to bins.
8475
8476         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8477         Added check to test element scheduling without bin/pipeline.
8478
8479         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8480         First add elements to bin, then link.
8481         
8482         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8483         (gst_bin_remove_func):
8484         Unlink pads from elements added/removed from bin to maintain
8485         hierarchy consistency.
8486
8487 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8488
8489         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8490         (gst_base_transform_handle_buffer):
8491         * gst/base/gstbasetransform.h:
8492           Remove broken delay_configure (fixes renegotiation of software
8493           scaling pipelines); remove some leftover printf()s.
8494
8495 2005-07-28  Wim Taymans  <wim@fluendo.com>
8496
8497         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8498         Added some more tests for wrong hierarchy
8499
8500         * docs/design/part-overview.txt:
8501         Some updates.
8502
8503         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8504         Cleanups.
8505
8506         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8507         (gst_element_dispose):
8508         Some more cleanups.
8509
8510         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8511         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8512         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8513         (gst_pad_set_caps), (gst_pad_send_event):
8514         Check for correct hierarchy when linking pads. Moving to
8515         strict requirement for ghostpads when linking elements in
8516         different bins.
8517
8518         * gst/gstpad.h:
8519         Clean ups. Added WRONG_HIERARCHY return value.
8520
8521 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8522
8523         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8524           Better debug if no transform is possible.
8525
8526 2005-07-27  Wim Taymans  <wim@fluendo.com>
8527
8528         * docs/random/wtay/network-transp:
8529         Some old doc I had.
8530
8531 2005-07-27  Wim Taymans  <wim@fluendo.com>
8532
8533         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8534         (gst_dp_event_from_packet):
8535         Fix serialization of seek events.
8536
8537 2005-07-27  Wim Taymans  <wim@fluendo.com>
8538
8539         * check/gst-libs/gdp.c: (GST_START_TEST):
8540         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8541         Fix compilation and fix event serialization.
8542
8543 2005-07-27  Wim Taymans  <wim@fluendo.com>
8544
8545         * CHANGES-0.9:
8546         * docs/design/part-TODO.txt:
8547         * docs/design/part-events.txt:
8548         Some docs updates
8549
8550         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8551         (gst_base_sink_event), (gst_base_sink_do_sync),
8552         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8553         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8554         (gst_base_src_do_seek), (gst_base_src_event_handler),
8555         (gst_base_src_loop):
8556         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8557         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8558         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8559         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8560         (gst_base_transform_set_passthrough),
8561         (gst_base_transform_is_passthrough):
8562         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8563         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8564         Event updates.
8565
8566         * gst/gstbuffer.h:
8567         Use faster casts.
8568
8569         * gst/gstelement.c: (gst_element_seek):
8570         * gst/gstelement.h:
8571         Update gst_element_seek.
8572
8573         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8574         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8575         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8576         (gst_event_new_eos), (gst_event_new_newsegment),
8577         (gst_event_parse_newsegment), (gst_event_new_tag),
8578         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8579         (gst_event_parse_qos), (gst_event_new_seek),
8580         (gst_event_parse_seek), (gst_event_new_navigation):
8581         * gst/gstevent.h:
8582         Make GstEvent use GstStructure. Add parsing code, make sure the
8583         API is sufficiently generic.
8584         Mark possible directions of events and serialization.
8585
8586         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8587         (_gst_message_copy), (gst_message_new_segment_start),
8588         (gst_message_new_segment_done), (gst_message_new_custom),
8589         (gst_message_parse_segment_start),
8590         (gst_message_parse_segment_done):
8591         Small cleanups.
8592
8593         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8594         (gst_pad_set_caps), (gst_pad_send_event):
8595         Update for new events. 
8596         Catch events sent in wrong directions.
8597
8598         * gst/gstqueue.c: (gst_queue_link_src),
8599         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8600         (gst_queue_handle_src_query):
8601         Event updates.
8602
8603         * gst/gsttag.c:
8604         * gst/gsttag.h:
8605         Remove event code from this file.
8606
8607         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8608         (gst_dp_event_from_packet):
8609         Event updates.
8610
8611 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8612
8613         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8614         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8615         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8616           Make debugging actually useful.
8617
8618 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8619
8620         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8621         (gst_pad_fixate_caps):
8622           Implement default fixation once again, so that gst_pad_fixate()
8623           actually does anything at all. This probably needs to be some
8624           sort of a last resort, and use profile-based fixation first, but
8625           since that doesn't exist yet, this is the best we have. Fixes
8626           visualization in Totem.
8627
8628 2005-07-22  Wim Taymans  <wim@fluendo.com>
8629
8630         * docs/design/part-events.txt:
8631         Small update.
8632
8633         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8634         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8635         (gst_base_sink_activate_pull):
8636         Some more comments.
8637
8638         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8639         (gst_fake_src_create):
8640         Fix handoff marshall.
8641
8642         * gst/elements/gstidentity.c: (gst_identity_class_init),
8643         (gst_identity_transform_ip):
8644         We're a real inplace element.
8645
8646         * gst/gstbus.c: (gst_bus_post):
8647         Added some comments.
8648
8649         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8650         * tests/muxing/case1.c: (main):
8651         * tests/sched/dynamic-pipeline.c: (main):
8652         * tests/sched/interrupt1.c: (main):
8653         * tests/sched/interrupt2.c: (main):
8654         * tests/sched/interrupt3.c: (main):
8655         * tests/sched/runxml.c: (main):
8656         * tests/sched/sched-stress.c: (main):
8657         * tests/seeking/seeking1.c: (event_received), (main):
8658         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8659         (main):
8660         * tests/threadstate/threadstate3.c: (main):
8661         * tests/threadstate/threadstate4.c: (main):
8662         * tests/threadstate/threadstate5.c: (main):
8663         Fix the tests.
8664
8665 2005-07-21  Wim Taymans  <wim@fluendo.com>
8666
8667         * docs/design/part-seeking.txt:
8668         Some small additions.
8669
8670         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8671         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8672         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8673         * gst/base/gstbasesink.h:
8674         discont values are gint64, handle the math correctly.
8675
8676         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8677         Make the basesrc report error if the source pad is not linked.
8678
8679         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8680         (gst_queue_loop), (gst_queue_handle_src_query),
8681         (gst_queue_src_activate_push):
8682         Make queue collect data even if the srcpad is not linked.
8683         Start pushing out data as soon as it is linked.
8684
8685         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8686         * gst/gstutils.h:
8687         Added gst_flow_get_name() to ease error reporting.
8688
8689 2005-07-20  Wim Taymans  <wim@fluendo.com>
8690
8691         * gst/gstmessage.c: (gst_message_new_segment_start),
8692         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8693         (gst_message_parse_segment_done):
8694         * gst/gstmessage.h:
8695         Added a bunch of messages for advanced seeking.
8696
8697         * gst/parse/grammar.y:
8698         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8699         (gst_dpman_state_changed):
8700         Fix some new-pad -> pad-added signals
8701
8702 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8703
8704         * docs/manual/appendix-porting.xml:
8705         * docs/pwg/appendix-porting.xml:
8706           Document new-pad/state-change signal renames and the FixedList
8707           type rename.
8708
8709 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8710
8711         * docs/manual/advanced-autoplugging.xml:
8712         * docs/manual/basics-helloworld.xml:
8713         * docs/manual/basics-pads.xml:
8714         * docs/random/ds/0.9-suggested-changes:
8715         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8716         * gst/gstelement.h:
8717         * gst/gstevent.h:
8718         * gst/gstformat.h:
8719         * gst/gstquery.h:
8720         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8721         (gst_structure_parse_array), (gst_structure_parse_value):
8722         * gst/gstvalue.c: (gst_type_is_fixed),
8723         (gst_value_list_prepend_value), (gst_value_list_append_value),
8724         (gst_value_list_get_size), (gst_value_list_get_value),
8725         (gst_value_transform_array_string), (gst_value_serialize_array),
8726         (gst_value_deserialize_array), (gst_value_intersect_array),
8727         (gst_value_is_fixed), (_gst_value_initialize):
8728         * gst/gstvalue.h:
8729           GstElement::new-pad -> pad-added, GstElement::state-change ->
8730           state-changed, GstValueFixedList -> GstValueArray, add format and
8731           flags as their own arguments in gst_element_seek() (should improve
8732           "bindeability"), remove function generators since they don't work
8733           under a whole bunch of compilers (they were deprecated already
8734           anyway).
8735
8736 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8737
8738         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8739         (_gst_debug_register_funcptr):
8740         * gst/gstinfo.h:
8741           Fix illegal cast on some platforms (#309253).
8742
8743 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8744
8745         * gst/gstmessage.c: (gst_message_new_custom):
8746         * gst/gstmessage.h:
8747           Add _new_custom, make _new_application a macro to _new_custom.
8748
8749 2005-07-20  Wim Taymans  <wim@fluendo.com>
8750
8751         * gst/base/gstbasesrc.c: (gst_base_src_init),
8752         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8753         * gst/base/gstbasesrc.h:
8754         Add a gboolean to decide when to push out a discont.
8755
8756         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8757         (gst_queue_loop), (gst_queue_handle_src_query),
8758         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8759         (gst_queue_set_property), (gst_queue_get_property):
8760         Some cleanups.
8761
8762         * tests/threadstate/threadstate1.c: (main):
8763         Make a thread test compile and run... very silly..
8764
8765
8766 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8767
8768         * docs/manual/appendix-porting.xml:
8769           Mention removal of libgstgconf-0.9.la and existence of gconf
8770           elements.
8771
8772 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8773
8774         * docs/pwg/advanced-clock.xml:
8775         * docs/pwg/appendix-porting.xml:
8776         * docs/pwg/intro-preface.xml:
8777         * docs/pwg/other-base.xml:
8778         * docs/pwg/other-manager.xml:
8779         * docs/pwg/other-nton.xml:
8780         * docs/pwg/other-ntoone.xml:
8781         * docs/pwg/other-oneton.xml:
8782         * docs/pwg/pwg.xml:
8783           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8784           demuxer), remove n-to-n (was never written), fix some code examples
8785           and links and update the porting section to include all this.
8786
8787 2005-07-19  Wim Taymans  <wim@fluendo.com>
8788
8789         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8790         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8791         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8792         (gst_queue_src_activate_push), (gst_queue_change_state),
8793         (gst_queue_get_property):
8794         * gst/gstqueue.h:
8795         Propagate GstFlowReturn more intelligently upstream and output
8796         an ERROR/EOS when streaming stopped due to fatal error.
8797
8798 2005-07-19  Wim Taymans  <wim@fluendo.com>
8799
8800         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8801         Don't block forever for the state change to complete, the
8802         pipeline already did with a sensible timeout.
8803
8804 2005-07-19  Wim Taymans  <wim@fluendo.com>
8805
8806         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8807         Make sure we never call the create function is we
8808         got deactivated.
8809
8810 2005-07-19  Andy Wingo  <wingo@pobox.com>
8811
8812         * gst/parse/parse.l: Attempt to solve bug #172815.
8813
8814 2005-07-19  Wim Taymans  <wim@fluendo.com>
8815
8816         * docs/design/part-clocks.txt:
8817         * docs/design/part-events.txt:
8818         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8819         Small docs updates.
8820         Only update the seeking values when we are not
8821         busy streaming.
8822
8823 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8824
8825         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8826           Oops, ignore the result of gst_pad_push_event here.
8827
8828 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8829
8830         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8831         (gst_base_src_activate_push):
8832           Send discont event from the loop function, as pads
8833           aren't activated yet in the activate_push handler.
8834
8835         * gst/gstbin.c: (bin_bus_handler):
8836           Don't leak element name.
8837
8838 2005-07-18  Andy Wingo  <wingo@pobox.com>
8839
8840         * configure.ac: Use AS_LIBTOOL_TAGS.
8841
8842 2005-07-18  Wim Taymans  <wim@fluendo.com>
8843
8844         * docs/gst/gstreamer.types:
8845         Remove deleted types.
8846
8847 2005-07-18  Wim Taymans  <wim@fluendo.com>
8848
8849         * check/elements/gstfakesrc.c: (GST_START_TEST):
8850         * configure.ac:
8851         * gst/Makefile.am:
8852         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8853         (init_popt_callback):
8854         * gst/gst.h:
8855         * gst/gst_private.h:
8856         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8857         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8858         * gst/gstbin.h:
8859         * gst/gstbus.h:
8860         * gst/gstconfig.h.in:
8861         * gst/gstelement.c: (gst_element_class_init),
8862         (gst_element_set_base_time), (gst_element_get_base_time),
8863         (iterator_fold_with_resync), (gst_element_change_state),
8864         (gst_element_dispose), (gst_element_get_bus):
8865         * gst/gstelement.h:
8866         * gst/gstelementfactory.h:
8867         * gst/gsterror.c: (_gst_core_errors_init):
8868         * gst/gsterror.h:
8869         * gst/gstevent.h:
8870         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8871         * gst/gstindex.c:
8872         * gst/gstinfo.c: (_gst_debug_init):
8873         * gst/gstmessage.c: (_gst_message_copy):
8874         * gst/gstmessage.h:
8875         * gst/gstminiobject.h:
8876         * gst/gstobject.c:
8877         * gst/gstobject.h:
8878         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8879         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8880         * gst/gstpad.h:
8881         * gst/gstparse.h:
8882         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8883         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8884         (gst_pipeline_get_last_stream_time):
8885         * gst/gstpipeline.h:
8886         * gst/gstpluginfeature.h:
8887         * gst/gstquery.h:
8888         * gst/gstscheduler.c:
8889         * gst/gstscheduler.h:
8890         * gst/gststructure.h:
8891         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8892         (gst_task_finalize), (gst_task_func), (gst_task_create),
8893         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8894         (gst_task_stop), (gst_task_pause):
8895         * gst/gsttask.h:
8896         * gst/gsttypefind.h:
8897         * gst/gsttypes.h:
8898         * gst/registries/gstlibxmlregistry.c: (load_feature),
8899         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8900         * gst/registries/gstxmlregistry.c:
8901         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8902         * gst/schedulers/threadscheduler.c:
8903         * libs/gst/control/dparammanager.h:
8904         * tools/gst-inspect.c: (print_element_list),
8905         (print_plugin_features), (print_element_features):
8906         * tools/gst-xmlinspect.c: (print_element_list),
8907         (print_plugin_info), (main):
8908         Removed plugable schedulers.
8909         Removed Scheduler/Manager from elements.
8910         Removed gsttypes.h, rearranged includes.
8911         Removed dependency pad<->element, element<>pipeline, and
8912         various others,  fix includes.
8913         implement gst_pad_get_parent() with gst_object_get_parent()
8914         Make GstTask sefcontained.
8915         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8916         timeout.
8917         Fix endless loop in iterator_fold_with_resync.
8918
8919
8920 2005-07-18  Wim Taymans  <wim@fluendo.com>
8921
8922         * gst/Makefile.am:
8923         * gst/gstarch.h:
8924         Remove old file.
8925
8926 2005-07-18  Wim Taymans  <wim@fluendo.com>
8927
8928         * gst/Makefile.am:
8929         No more cothreads.h
8930
8931 2005-07-18  Wim Taymans  <wim@fluendo.com>
8932
8933         * gst/cothreads.c:
8934         * gst/cothreads.h:
8935         Let's remove these.
8936
8937 2005-07-18  Wim Taymans  <wim@fluendo.com>
8938
8939         * docs/design/part-dynamic.txt:
8940         * docs/design/part-events.txt:
8941         * docs/design/part-seeking.txt:
8942         Some more docs in the works.
8943
8944         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8945         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8946         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8947         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8948         (gst_base_transform_handle_buffer),
8949         (gst_base_transform_sink_activate_push),
8950         (gst_base_transform_src_activate_pull),
8951         (gst_base_transform_set_passthrough),
8952         (gst_base_transform_is_passthrough):
8953         Refcounting fixes.
8954
8955         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8956         Cleanups.
8957
8958         * gst/gstevent.c: (gst_event_finalize):
8959         Set SRC to NULL.
8960
8961         * gst/gstutils.c: (gst_element_unlink),
8962         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8963         (gst_pad_proxy_setcaps):
8964         * gst/gstutils.h:
8965         Add _get_parent_element() to get a pads parent as an element.
8966
8967 2005-07-18  Wim Taymans  <wim@fluendo.com>
8968
8969         * check/gst/gstbin.c: (GST_START_TEST):
8970         Remove bogus test.
8971
8972 2005-07-18  Wim Taymans  <wim@fluendo.com>
8973
8974         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8975         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8976         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8977         (gst_base_sink_event), (gst_base_sink_do_sync),
8978         (gst_base_sink_chain), (gst_base_sink_loop),
8979         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8980         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8981         Refcounting fixes.
8982         Fix logic for returning ASYNC when not prerolled.
8983
8984 2005-07-18  Wim Taymans  <wim@fluendo.com>
8985
8986         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8987         Fix nasty refcount bug.
8988
8989 2005-07-16 Philippe Khalaf <burger@speedy.org>
8990
8991         * gst/elements/gstfdsrc.c:
8992         * gst/elements/gstfdsrc.h:
8993         * gst/elements/gstelements.c:
8994         * gst/elements/Makefile.am:
8995         Ported fdsrc to 0.9.
8996
8997 2005-07-16  Wim Taymans  <wim@fluendo.com>
8998
8999         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9000         (gst_base_sink_do_sync):
9001         Fix compile error.
9002
9003 2005-07-16  Wim Taymans  <wim@fluendo.com>
9004
9005         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9006         (gst_base_sink_event), (gst_base_sink_get_times),
9007         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9008         * gst/base/gstbasesink.h:
9009         Store and use discont values when syncing buffers as described
9010         in design docs.
9011         
9012         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9013         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9014         (gst_base_src_activate_push):
9015         Push discont event when starting.
9016
9017         * gst/elements/gstidentity.c: (gst_identity_transform):
9018         Small cleanups.
9019
9020         * gst/gstbin.c: (gst_bin_change_state):
9021         Small cleanups in base_time  distribution.
9022
9023         * gst/gstelement.c: (gst_element_set_base_time),
9024         (gst_element_get_base_time), (gst_element_change_state):
9025         * gst/gstelement.h:
9026         Added methods for the base_time of the element.
9027         Some MT fixes.
9028
9029         * gst/gstpipeline.c: (gst_pipeline_send_event),
9030         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9031         (gst_pipeline_get_last_stream_time):
9032         * gst/gstpipeline.h:
9033         MT fixes.
9034         Handle seeking as described in design doc, remove stream_time
9035         hack.
9036         Cleanups clock and stream_time selection code. Added accessors
9037         for the stream_time.
9038         
9039
9040 2005-07-16  Andy Wingo  <wingo@pobox.com>
9041
9042         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9043         (#305291).
9044
9045 2005-07-16  Wim Taymans  <wim@fluendo.com>
9046
9047         * check/gst/gstbin.c: (GST_START_TEST):
9048         Make elements silent as the deep_notify refs the
9049         parent, which might make the test fail.
9050
9051         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9052         Don't hold the lock for too long.
9053
9054 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9055
9056         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9057           Don't unref the caps we passed to gst_caps_make_writable() after
9058           passing them. gst_caps_make_writable() will do that for us.
9059
9060 2005-07-15  Andy Wingo  <wingo@pobox.com>
9061
9062         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9063         (#157311).
9064
9065         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9066         own marshalling function for the handoff signal. Properly type the
9067         buffer as a buffer. Fixes some warnings. Should do a more general
9068         solution.
9069         (gst_identity_class_init): Plug into the right marshaller.
9070
9071 2005-07-15  Wim Taymans  <wim@fluendo.com>
9072
9073         * docs/design/part-TODO.txt:
9074         * docs/design/part-clocks.txt:
9075         * docs/design/part-element-sink.txt:
9076         * docs/design/part-events.txt:
9077         * docs/design/part-gstpipeline.txt:
9078         Updated docs, mostly DISCONT related.
9079
9080 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9081
9082         * docs/pwg/building-pads.xml:
9083           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9084
9085 2005-07-15  Andy Wingo  <wingo@pobox.com>
9086
9087         * tools/gst-typefind.c: Update, add copyright block.
9088
9089         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9090         Normalize and truncate caps before fixation.
9091
9092         * gst/gstcaps.h:
9093         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9094         discards all but the first structure from its argument.
9095
9096 2005-07-15  Wim Taymans  <wim@fluendo.com>
9097
9098         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9099         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9100         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9101         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9102         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9103         (gst_base_transform_chain), (gst_base_transform_change_state),
9104         (gst_base_transform_set_passthrough),
9105         (gst_base_transform_is_passthrough):
9106         * gst/base/gstbasetransform.h:
9107         Make passthrough work using the bufferpools.
9108         Changed API a bit, subclasses have to write into a buffer
9109         provided by the base class.
9110         More debug info in nego functions.
9111         
9112         * gst/elements/gstidentity.c: (gst_identity_init),
9113         (gst_identity_transform):
9114         Port to new base class.
9115
9116 2005-07-15  Wim Taymans  <wim@fluendo.com>
9117
9118         * gst/gstmessage.c: (gst_message_new_state_changed):
9119         * tools/gst-launch.c: (event_loop), (main):
9120         Totally dump messages in -launch with the -m option.
9121         Fix message name for State messages,
9122
9123 2005-07-14  Wim Taymans  <wim@fluendo.com>
9124
9125         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9126         Post error messages on errors.
9127
9128 2005-07-14  Wim Taymans  <wim@fluendo.com>
9129
9130         * gst/gstcaps.c: (gst_caps_do_simplify):
9131         Remove debug info.
9132
9133         * gst/gsterror.h:
9134         Define error for stream stopped.
9135
9136         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9137         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9138         Do proper return values.
9139
9140         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9141         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9142         (gst_pad_get_range):
9143         Better return values.
9144
9145         * gst/gstpad.h:
9146         Reorganise return values, add macro to check for fatal errors.
9147
9148         * gst/gstqueue.c: (gst_queue_chain):
9149         Return proper GstFlowReturn values,
9150
9151 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9152
9153         * docs/gst/gstreamer-sections.txt:
9154         * docs/gst/gstreamer.types:
9155         * docs/gst/tmpl/gst.sgml:
9156         * docs/gst/tmpl/gstbasesink.sgml:
9157         * docs/gst/tmpl/gstbasesrc.sgml:
9158         * docs/gst/tmpl/gstbasetransform.sgml:
9159         * docs/gst/tmpl/gstbin.sgml:
9160         * docs/gst/tmpl/gstbuffer.sgml:
9161         * docs/gst/tmpl/gstcaps.sgml:
9162         * docs/gst/tmpl/gstclock.sgml:
9163         * docs/gst/tmpl/gstcompat.sgml:
9164         * docs/gst/tmpl/gstconfig.sgml:
9165         * docs/gst/tmpl/gstelement.sgml:
9166         * docs/gst/tmpl/gstelementdetails.sgml:
9167         * docs/gst/tmpl/gstelementfactory.sgml:
9168         * docs/gst/tmpl/gstenumtypes.sgml:
9169         * docs/gst/tmpl/gsterror.sgml:
9170         * docs/gst/tmpl/gstevent.sgml:
9171         * docs/gst/tmpl/gstfakesink.sgml:
9172         * docs/gst/tmpl/gstfakesrc.sgml:
9173         * docs/gst/tmpl/gstfilesink.sgml:
9174         * docs/gst/tmpl/gstfilesrc.sgml:
9175         * docs/gst/tmpl/gstfilter.sgml:
9176         * docs/gst/tmpl/gstformat.sgml:
9177         * docs/gst/tmpl/gstghostpad.sgml:
9178         * docs/gst/tmpl/gstimplementsinterface.sgml:
9179         * docs/gst/tmpl/gstindex.sgml:
9180         * docs/gst/tmpl/gstindexfactory.sgml:
9181         * docs/gst/tmpl/gstinfo.sgml:
9182         * docs/gst/tmpl/gstiterator.sgml:
9183         * docs/gst/tmpl/gstmacros.sgml:
9184         * docs/gst/tmpl/gstmemchunk.sgml:
9185         * docs/gst/tmpl/gstminiobject.sgml:
9186         * docs/gst/tmpl/gstobject.sgml:
9187         * docs/gst/tmpl/gstpad.sgml:
9188         * docs/gst/tmpl/gstpadtemplate.sgml:
9189         * docs/gst/tmpl/gstparse.sgml:
9190         * docs/gst/tmpl/gstpipeline.sgml:
9191         * docs/gst/tmpl/gstplugin.sgml:
9192         * docs/gst/tmpl/gstpluginfeature.sgml:
9193         * docs/gst/tmpl/gstquery.sgml:
9194         * docs/gst/tmpl/gstqueue.sgml:
9195         * docs/gst/tmpl/gstregistry.sgml:
9196         * docs/gst/tmpl/gstregistrypool.sgml:
9197         * docs/gst/tmpl/gstscheduler.sgml:
9198         * docs/gst/tmpl/gstschedulerfactory.sgml:
9199         * docs/gst/tmpl/gststructure.sgml:
9200         * docs/gst/tmpl/gstsystemclock.sgml:
9201         * docs/gst/tmpl/gsttaglist.sgml:
9202         * docs/gst/tmpl/gsttagsetter.sgml:
9203         * docs/gst/tmpl/gsttrace.sgml:
9204         * docs/gst/tmpl/gsttrashstack.sgml:
9205         * docs/gst/tmpl/gsttypefind.sgml:
9206         * docs/gst/tmpl/gsttypefindfactory.sgml:
9207         * docs/gst/tmpl/gsttypes.sgml:
9208         * docs/gst/tmpl/gsturihandler.sgml:
9209         * docs/gst/tmpl/gsturitype.sgml:
9210         * docs/gst/tmpl/gstutils.sgml:
9211         * docs/gst/tmpl/gstvalue.sgml:
9212         * docs/gst/tmpl/gstversion.sgml:
9213         * docs/gst/tmpl/gstxml.sgml:
9214         * docs/libs/tmpl/gstcontrol.sgml:
9215         * docs/libs/tmpl/gstdataprotocol.sgml:
9216         * docs/libs/tmpl/gstdparam.sgml:
9217         * docs/libs/tmpl/gstdplinint.sgml:
9218         * docs/libs/tmpl/gstdpman.sgml:
9219         * docs/libs/tmpl/gstdpsmooth.sgml:
9220         * docs/libs/tmpl/gstgetbits.sgml:
9221         * docs/libs/tmpl/gstunitconvert.sgml:
9222         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9223         (gst_push_src_base_init), (gst_push_src_class_init),
9224         (gst_push_src_init), (gst_push_src_create):
9225         * gst/base/gstpushsrc.h:
9226         * gst/elements/gstelements.c:
9227         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9228         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9229         (gst_fake_sink_init), (gst_fake_sink_set_property),
9230         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9231         (gst_fake_sink_event), (gst_fake_sink_preroll),
9232         (gst_fake_sink_render), (gst_fake_sink_change_state):
9233         * gst/elements/gstfakesink.h:
9234         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9235         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9236         (gst_fake_src_base_init), (gst_fake_src_class_init),
9237         (gst_fake_src_init), (gst_fake_src_event_handler),
9238         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9239         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9240         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9241         (gst_fake_src_create_buffer), (gst_fake_src_create),
9242         (gst_fake_src_start), (gst_fake_src_stop):
9243         * gst/elements/gstfakesrc.h:
9244         * gst/elements/gstfilesink.c: (_do_init),
9245         (gst_file_sink_base_init), (gst_file_sink_class_init),
9246         (gst_file_sink_init), (gst_file_sink_dispose),
9247         (gst_file_sink_set_location), (gst_file_sink_set_property),
9248         (gst_file_sink_get_property), (gst_file_sink_open_file),
9249         (gst_file_sink_close_file), (gst_file_sink_query),
9250         (gst_file_sink_event), (gst_file_sink_render),
9251         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9252         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9253         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9254         * gst/elements/gstfilesink.h:
9255         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9256         (gst_file_src_class_init), (gst_file_src_init),
9257         (gst_file_src_finalize), (gst_file_src_set_location),
9258         (gst_file_src_set_property), (gst_file_src_get_property),
9259         (gst_file_src_map_region), (gst_file_src_map_small_region),
9260         (gst_file_src_create_mmap), (gst_file_src_create_read),
9261         (gst_file_src_create), (gst_file_src_is_seekable),
9262         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9263         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9264         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9265         (gst_file_src_uri_handler_init):
9266         * gst/elements/gstfilesrc.h:
9267           more autistic cleanliness in functions/names/defines
9268
9269 2005-07-13  Andy Wingo  <wingo@pobox.com>
9270
9271         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9272         source couldn't negotiate.
9273
9274         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9275         connections again.
9276
9277         * gst/gstutils.h:
9278         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9279         function. I am channeling Hades. Put your boots on suckers!!!
9280
9281 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9282
9283         * testsuite/caps/Makefile.am:
9284         * testsuite/caps/value_compare.c:
9285         * testsuite/caps/value_intersect.c:
9286         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9287           move two testsuite apps over to the check dir
9288
9289 2005-07-12  Wim Taymans  <wim@fluendo.com>
9290
9291         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9292         Added more debug info in the negotiate process.
9293
9294         * gst/gstmessage.h:
9295         Prepare for segment playback.
9296
9297         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9298         Better debugging.
9299
9300         * gst/gstutils.c:
9301         Some more docs.
9302
9303         * tools/gst-launch.c: (main):
9304         NULL pipeline on errors.
9305
9306 2005-07-12  Andy Wingo  <wingo@pobox.com>
9307
9308         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9309         not it comes from a malloc region. Make sure our copy gets freed.
9310
9311 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9312
9313         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9314         * check/gst/gstmessage.c: (GST_START_TEST):
9315         * check/gst/gststructure.c: (GST_START_TEST),
9316         (gst_structure_suite), (main):
9317           more testing
9318         * gst/gstelement.c: (gst_element_message_full):
9319           clean up GError and debug string now that they get copied
9320         * gst/gstmessage.c: (gst_message_new_error),
9321         (gst_message_new_warning), (gst_message_parse_error),
9322         (gst_message_parse_warning):
9323           use GST_TYPE_G_ERROR for structure_new, and take copies of
9324           arguments, so that we don't mess up refcounting
9325
9326 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9327
9328         * check/Makefile.am:
9329           add per-test valgrind targets
9330         * check/gst-libs/gdp.c: (GST_START_TEST),
9331         (gst_data_protocol_suite), (main):
9332           clean up
9333
9334 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9335
9336         * check/Makefile.am:
9337           instate more valgrindable tests
9338         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9339         (GST_START_TEST), (fakesrc_suite):
9340         * check/gst/gstpad.c: (GST_START_TEST):
9341         * check/gst/gststructure.c: (GST_START_TEST):
9342           fix test leaks
9343         * docs/gst/tmpl/gstminiobject.sgml:
9344         * gst/gstpad.c: (gst_pad_finalize):
9345           fix the static mutex leak
9346
9347 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9348
9349         * check/Makefile.am:
9350           add two more tests for valgrinding
9351         * check/gst/gstvalue.c: (GST_START_TEST):
9352           test refcount of deserialized buffer, found a leak
9353         * docs/gst/gstreamer-docs.sgml:
9354         * docs/gst/gstreamer-sections.txt:
9355         * docs/gst/gstreamer.types:
9356         * docs/gst/tmpl/gstminiobject.sgml:
9357           add miniobject to docs
9358         * gst/gstminiobject.c:
9359           add some docs
9360         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9361         (gst_string_unwrap):
9362           fix a hard-to-find invalid write for one of the tests
9363           fix a leak for deserialized buffers
9364
9365 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9366
9367         * docs/pwg/advanced-events.xml:
9368         * docs/pwg/advanced-request.xml:
9369         * docs/pwg/advanced-scheduling.xml:
9370         * docs/pwg/appendix-porting.xml:
9371         * docs/pwg/building-boiler.xml:
9372         * docs/pwg/intro-preface.xml:
9373         * docs/pwg/other-ntoone.xml:
9374           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9375           of example code and explanation for pad activation, loop() and
9376           getrange() functions and a bit more. Remove old comments pointing
9377           to loop-functions.
9378         * examples/pwg/Makefile.am:
9379           Add loop/getrange examples.
9380
9381 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9382
9383         * configure.ac:
9384           check for valgrind binary + some fixes
9385         * check/gst.supp:
9386           valgrind suppressions for the tests
9387         * check/Makefile.am:
9388           add a valgrind: target that valgrinds the unit tests
9389         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9390         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9391         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9392         * check/gst/gstghostpad.c:
9393           added some cleanup
9394         * check/gst/gstdata.c:
9395           removed
9396         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9397         (thread_unref), (gst_mini_object_suite), (main):
9398           added
9399         * gst/gst.c: (gst_deinit):
9400         * gst/gst.h:
9401           add a method to clean up.
9402         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9403         (gst_system_clock_obtain):
9404           allow for disposing the system clock.
9405         * tools/gst-launch.c: (main):
9406           deinit
9407
9408 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9409
9410         * docs/gst/tmpl/gstbasesrc.sgml:
9411         * docs/gst/tmpl/gstfakesrc.sgml:
9412         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9413         (gst_base_src_init), (gst_base_src_set_property),
9414         (gst_base_src_get_property), (gst_base_src_get_range),
9415         (gst_base_src_start):
9416         * gst/base/gstbasesrc.h:
9417           add num-buffers property
9418         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9419         (gst_fakesrc_init), (gst_fakesrc_set_property),
9420         (gst_fakesrc_get_property), (gst_fakesrc_create),
9421         (gst_fakesrc_start):
9422           remove num-buffers property
9423
9424 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9425
9426         * docs/gst/gstreamer-sections.txt:
9427         * docs/gst/tmpl/gstbasesink.sgml:
9428         * docs/gst/tmpl/gstbasesrc.sgml:
9429         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9430         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9431         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9432         (gst_base_sink_set_property), (gst_base_sink_get_property),
9433         (gst_base_sink_handle_object), (gst_base_sink_event),
9434         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9435         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9436         (gst_base_sink_loop), (gst_base_sink_deactivate),
9437         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9438         (gst_base_sink_change_state):
9439         * gst/base/gstbasesink.h:
9440         * gst/base/gstbasesrc.h:
9441         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9442         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9443         (gst_filesink_init):
9444           more macro splitting
9445
9446 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9447
9448         * gst/gstelement.c: (gst_element_get_bus):
9449           add debug
9450         * tools/gst-launch.c: (check_intr), (event_loop):
9451           fix bus leaks
9452
9453 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9454
9455         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9456           fix a caps leak
9457
9458 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9459
9460         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9461         (gst_base_src_finalize):
9462           add finalize method and clean up properly
9463         * gst/gstpipeline.c: (gst_pipeline_dispose):
9464           add debug
9465
9466 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9467
9468         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9469         (gst_bin_suite):
9470           add more things to check
9471         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9472         * gst/gstelement.c:
9473           more debug
9474
9475 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9476
9477         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9478         (GST_START_TEST), (fakesrc_suite):
9479         * check/gst-libs/gdp.c: (GST_START_TEST):
9480         * check/gst/gst.c: (GST_START_TEST):
9481         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9482         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9483         * check/gst/gstbus.c: (GST_START_TEST):
9484         * check/gst/gstcaps.c: (GST_START_TEST):
9485         * check/gst/gstdata.c: (GST_START_TEST):
9486         * check/gst/gstelement.c: (GST_START_TEST):
9487         * check/gst/gstghostpad.c: (GST_START_TEST):
9488         * check/gst/gstiterator.c: (GST_START_TEST):
9489         * check/gst/gstmessage.c: (GST_START_TEST):
9490         * check/gst/gstobject.c: (GST_START_TEST):
9491         * check/gst/gstpad.c: (GST_START_TEST):
9492         * check/gst/gststructure.c: (GST_START_TEST):
9493         * check/gst/gstsystemclock.c: (GST_START_TEST),
9494         (gst_systemclock_suite):
9495         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9496         * check/gst/gstvalue.c: (GST_START_TEST):
9497         * check/pipelines/cleanup.c: (GST_START_TEST):
9498         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9499         * check/states/sinks.c: (GST_START_TEST):
9500         * check/gstcheck.c: (gst_check_init):
9501         * check/gstcheck.h:
9502           add debugging category
9503           use GST_START_TEST now, so we add a debug line
9504
9505 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9506
9507         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9508           add test for state change message on a bin
9509         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9510           add another test
9511         * gst/gstbin.c: (gst_bin_init):
9512         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9513         * gst/gstelement.c: (gst_element_post_message),
9514         (gst_element_set_state):
9515         * gst/gstelementfactory.c: (gst_element_factory_create):
9516         * gst/gstmessage.c: (gst_message_new):
9517         * gst/gstscheduler.c:
9518           various debugging additions and cleanups
9519
9520 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9521
9522         * check/Makefile.am:
9523         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9524         (main):
9525           adding tests for elements
9526         * gst/gstelement.c: (gst_element_dispose):
9527
9528 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9529
9530         * gst/registries/gstlibxmlregistry.c: (load_feature):
9531           plug more leaks.  A simple gst_init() now is leakfree, yay.
9532
9533 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9534
9535         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9536         (gst_xml_registry_load):
9537           plug another memleak
9538
9539 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9540
9541         * configure.ac:
9542           use GST_SET_ERROR_CFLAGS
9543         * docs/faq/cvs.xml:
9544           change to ERROR_CFLAGS
9545
9546 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9547
9548         * configure.ac:
9549           make GST_ERROR_CFLAGS overridable and re-enable Werror
9550         * docs/faq/cvs.xml:
9551           add a note about error CFLAGS
9552         * docs/gst/tmpl/gstfakesrc.sgml:
9553         * gst/elements/gstfakesrc.c:
9554           comment out some unused code
9555         * gst/gst.c: (split_and_iterate):
9556         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9557         (load_feature):
9558           plug some memleaks
9559
9560 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9561
9562         * common/Makefile.am:
9563         * common/gtk-doc.mak:
9564         * docs/gst/Makefile.am:
9565           factor out gtk-doc.mak
9566
9567 2005-07-07  Wim Taymans  <wim@fluendo.com>
9568
9569         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9570         (gst_thread_scheduler_dispose):
9571         Unlock the STREAM_LOCK completely.
9572
9573 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9574
9575         * check/Makefile.am:
9576         * check/elements/.cvsignore:
9577         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9578         (START_TEST), (fakesrc_suite), (main):
9579         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9580         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9581         (gst_fakesrc_create), (gst_fakesrc_start):
9582         * gst/elements/gstfakesrc.h:
9583           adding a first element test
9584
9585 2005-07-07  Andy Wingo  <wingo@pobox.com>
9586
9587         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9588         debug message.
9589
9590 2005-07-07  Wim Taymans  <wim@fluendo.com>
9591
9592         * gst/gstquery.c:
9593         * gst/gstquery.h:
9594         Remove old types
9595
9596 2005-07-07  Wim Taymans  <wim@fluendo.com>
9597
9598         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9599         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9600         Allow subclasses to implement their own negotiation.
9601
9602 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9603
9604         * docs/design/part-gstbin.txt:
9605         * docs/design/part-gstpipeline.txt:
9606           Update design notes to reflect the movement of
9607           responsibility for bus handling from GstPipeline to
9608           GstBin
9609
9610 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9611
9612         * configure.ac:
9613           Remove unnecessary queue2/3/4 examples.
9614
9615 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9616
9617         * examples/Makefile.am:
9618         * examples/helloworld/helloworld.c: (event_loop), (main):
9619         * examples/queue/queue.c: (event_loop), (main):
9620         * examples/queue2/queue2.c: (main):
9621           Update a couple of the examples to work again.
9622
9623         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9624         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9625          Spelling corrections and extra debug.
9626         
9627         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9628         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9629         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9630         * gst/gstbin.h:
9631         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9632         (gst_pipeline_change_state):
9633         * gst/gstpipeline.h:
9634           Move the bus handler for children to the GstBin, and create a
9635           separate bus for receiving messages from children to the one the
9636           bus sends 'upwards' on.
9637
9638 2005-07-06  Wim Taymans  <wim@fluendo.com>
9639
9640         * gst/base/README:
9641         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9642         (gst_base_sink_handle_object), (gst_base_sink_loop),
9643         (gst_base_sink_change_state):
9644         * gst/base/gstbasesink.h:
9645         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9646         (gst_base_src_init), (gst_base_src_setcaps),
9647         (gst_base_src_getcaps), (gst_base_src_loop),
9648         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9649         (gst_base_src_start), (gst_base_src_change_state):
9650         * gst/base/gstbasesrc.h:
9651         Make basesrc negotiate.
9652         Handle the case where preroll fails in basesink.
9653         Update README.
9654
9655 2005-07-06  Wim Taymans  <wim@fluendo.com>
9656
9657         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9658         Implement the fixate function.
9659         Clean up acceptcaps.
9660
9661 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9662
9663         * docs/pwg/building-filterfactory.xml:
9664         * docs/pwg/pwg.xml:
9665           Remove never-written filter-factory chapter; I'll add the various
9666           base classes to part 4 ("other element types") later on.
9667
9668 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9669
9670         * docs/pwg/advanced-negotiation.xml:
9671         * docs/pwg/building-boiler.xml:
9672         * docs/pwg/building-pads.xml:
9673         * docs/pwg/pwg.xml:
9674         * examples/pwg/Makefile.am:
9675           Add a chapter on caps negotiation, simplify the original code
9676           samples a bit w.r.t. caps negotiation, add link to the advanced
9677           section. Add a bunch of examples showing different use cases of
9678           different types of caps negotiation. Upstream renegotiation isn't
9679           fully documented yet since nobody knows how that works.
9680
9681 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9682
9683         * check/gst/gstpad.c:
9684         * check/gstcheck.c:
9685         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9686           if pad has no parent, return NULL as list of internal links
9687
9688 2005-07-05  Andy Wingo  <wingo@pobox.com>
9689
9690         * gst/elements/gstfilesrc.c:
9691         * gst/elements/gstfakesrc.c: 
9692         * gst/base/gstpushsrc.c:
9693         * gst/base/gstbasesrc.h: 
9694         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9695         
9696 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9697
9698         * Makefile.am:
9699           better report generation target (lcov needs a patch)
9700
9701 2005-07-05  Andy Wingo  <wingo@pobox.com>
9702
9703         * gst/elements, testsuite: Null if we got it...
9704
9705 2005-07-05  Wim Taymans  <wim@fluendo.com>
9706
9707         * configure.ac:
9708         * libs/gst/dataprotocol/Makefile.am:
9709         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9710         * libs/gst/dataprotocol/dataprotocol.h:
9711         * pkgconfig/Makefile.am:
9712         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9713         * pkgconfig/gstreamer-dataprotocol.pc.in:
9714         Ported dataprotol to 0.9. 
9715         Added pkgconfig files.
9716
9717 2005-07-05  Andy Wingo  <wingo@pobox.com>
9718
9719         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9720         Default to returning TRUE for the case when tranform_caps returns
9721         a fixed caps, like for identity or volume.
9722
9723         * check/gst/gstbus.c (pound_bus_with_messages): 
9724         * check/gst/gstmessage.c (START_TEST): 
9725         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9726         message API change.
9727
9728         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9729         logic weaks here: always run transform_caps, trying passthrough
9730         operation only if the original caps intersects with the transform.
9731
9732         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9733         source and sink caps.
9734
9735         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9736         Intersect the peer caps with the pad template before going into
9737         transform_caps.
9738         (gst_base_transform_transform_caps): More debugging.
9739
9740         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9741         src argument.
9742
9743 2005-07-04  Edward Hervey  <edward@fluendo.com>
9744
9745         * gst/gstutils.c:
9746         * gst/gstutils.h:
9747         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9748         in bindings.
9749
9750 2005-07-04  Andy Wingo  <wingo@pobox.com>
9751
9752         * check/gst/gstpad.c: Only set explicit caps on pads.
9753
9754 2005-07-01  Andy Wingo  <wingo@pobox.com>
9755
9756         * tests/network-clock.scm: Commentary update.
9757
9758         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9759         Didn't really make sense, not implementable with basetransform,
9760         etc.
9761         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9762         attempt at implementing the sync property, needs an unlock method.
9763
9764         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9765         New func, by default returns the same caps (the identity
9766         transformation).
9767         (gst_base_transform_getcaps): Uses transform_caps to return
9768         something sensible.
9769         (gst_base_transform_setcaps): Complicated logic to get caps on
9770         both pads, even if they are different, and to call set_caps once
9771         for every time both pads get their caps set.
9772         (gst_base_transform_handle_buffer): Give the ref to the transform
9773         function. Allows in-place modification of the buffer.
9774
9775         * gst/base/gstbasetransform.h (transform_caps): New class method.
9776         Given caps on one side, what can I do on the other.
9777         (set_caps): Take two caps, one for each side of the element.
9778
9779         * gst/gstpad.h:
9780         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9781         caps in place. This is safe because we can check the mutability of
9782         the caps, and a good idea because fixate functions are just called
9783         as a matter of last resort. (Not actually implemented.)
9784         (gst_pad_set_caps): If the caps we're setting is actually the same
9785         as the existing pad caps, just update the pointer without calling
9786         setcaps. Assert that caps is either NULL or fixed, as per the
9787         docs.
9788
9789         * gst/gstghostpad.c: Update for fixate changes.
9790
9791 2005-07-02  Andy Wingo  <wingo@pobox.com>
9792
9793         * gst/gstcaps.c:
9794         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9795         two refcounts makes it immutable, which is enough. Doc more.
9796
9797 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9798
9799         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9800           Put the mini_object into GValue as a mini_object,
9801           not a gpointer, since that's how we declared
9802           the signal.
9803
9804 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9805
9806         * examples/pwg/Makefile.am:
9807           Fix buildbot again.
9808
9809 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9810
9811         * docs/pwg/building-testapp.xml:
9812           Add extra check.
9813         * examples/pwg/Makefile.am:
9814           Fix buildbot.
9815
9816 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9817
9818         * configure.ac:
9819         * examples/Makefile.am:
9820         * examples/pwg/Makefile.am:
9821         * examples/pwg/extract.pl:
9822           Enable building the PWG examples.
9823         * docs/pwg/advanced-interfaces.xml:
9824           Add URI interface stub.
9825         * docs/pwg/advanced-types.xml:
9826         * docs/pwg/other-autoplugger.xml:
9827         * docs/pwg/appendix-porting.xml:
9828         * docs/pwg/pwg.xml:
9829           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9830         * docs/pwg/building-boiler.xml:
9831         * docs/pwg/building-chainfn.xml:
9832         * docs/pwg/building-pads.xml:
9833         * docs/pwg/building-props.xml:
9834         * docs/pwg/building-state.xml:
9835         * docs/pwg/building-testapp.xml:
9836           Update the building-*.xml parts for 0.9 changes. All examples
9837           code blocks compile in examples/pwg/*.
9838
9839 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9840
9841         * docs/manual/advanced-autoplugging.xml:
9842         * docs/manual/appendix-checklist.xml:
9843         * docs/manual/appendix-integration.xml:
9844         * docs/manual/highlevel-components.xml:
9845           Fix playbin/decodebin examples, update docs a bit, mention bus
9846           instead of signals in various places, mention kmplayer and
9847           kaffeine since they have a working GStreamer backend in the KDE
9848           section.
9849
9850 2005-06-30  Wim Taymans  <wim@fluendo.com>
9851
9852         * CHANGES-0.9:
9853         * docs/design/draft-ghostpads.txt:
9854         * docs/design/draft-push-pull.txt:
9855         * docs/design/draft-query.txt:
9856         * docs/design/part-TODO.txt:
9857         * docs/design/part-query.txt:
9858         Added CHANGES-0.9 doc, updated status of other docs.
9859         
9860         * gst/gstquery.h:
9861         Remove "hmm" macro
9862
9863 2005-06-30  Wim Taymans  <wim@fluendo.com>
9864
9865         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9866         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9867         (gst_base_sink_change_state):
9868         * gst/base/gstbasesink.h:
9869         Some tweaks, only EOS and a buffer complete a preroll.
9870
9871 2005-06-30  Andy Wingo  <wingo@pobox.com>
9872
9873         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9874         activate_push down to the internal pad as well.
9875
9876 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9877
9878         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9879
9880         * gst/gsttaginterface.c:
9881           Some documentation fixes (#307394 and #307397).
9882
9883 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9884
9885         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9886
9887         * gst/gstvalue.c: (gst_value_intersect_list):
9888           Fix memleak (#309125).
9889
9890 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9891
9892         * docs/manual/advanced-dataaccess.xml:
9893           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9894         * docs/manual/basics-pads.xml:
9895           Add reference for filtered caps to above chapter.
9896
9897 2005-06-30  Wim Taymans  <wim@fluendo.com>
9898
9899         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9900         (gst_bin_change_state):
9901         Probes are gone.
9902         Lame attempt at making the state change function a bit
9903         more readable.
9904
9905 2005-06-30  Wim Taymans  <wim@fluendo.com>
9906
9907         * docs/design/part-clocks.txt:
9908         * docs/design/part-element-sink.txt:
9909         * docs/design/part-events.txt:
9910         * docs/design/part-preroll.txt:
9911         * docs/design/part-states.txt:
9912         Some more tweeks and additions to the docs.
9913
9914 2005-06-30  Wim Taymans  <wim@fluendo.com>
9915
9916         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9917         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9918         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9919         (gst_pad_check_pull_range), (gst_pad_get_range),
9920         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9921         * gst/gstpad.h:
9922         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9923         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9924         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9925         (gst_pad_remove_buffer_probe):
9926         Removed atomic operations, use existing LOCK.
9927         Move exception handling out of main code path.
9928
9929 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9930
9931         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9932         (silly_return_true_function), (gst_pad_class_init),
9933         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9934         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9935         (gst_pad_send_event):
9936           Fix accumulator, add default value by using _emitv() instead
9937           of _emit() for signal emission.
9938
9939 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9940
9941         * docs/manual/advanced-dataaccess.xml:
9942         * examples/manual/Makefile.am:
9943           Add probe example.
9944         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9945           Make work (??).
9946
9947 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9948
9949         * gst/elements/gstfilesink.c: (gst_filesink_render):
9950           Simplify code so that we don't have to handle short
9951           writes and return GST_FLOW_ERROR if an error occured.
9952
9953 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9954
9955         * docs/gst/gstreamer-docs.sgml:
9956           Remove probes more.
9957
9958 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9959
9960         * docs/gst/gstreamer-sections.txt:
9961         * docs/gst/tmpl/gstpad.sgml:
9962         * docs/gst/tmpl/gstprobe.sgml:
9963         * gst/Makefile.am:
9964         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9965         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9966         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9967         (gst_pad_push_event), (gst_pad_send_event):
9968         * gst/gstpad.h:
9969         * gst/gstutils.c: (gst_pad_add_data_probe),
9970         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9971         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9972         (gst_pad_remove_buffer_probe):
9973         * gst/gstutils.h:
9974           Remove old probes, add new g-signal-based probes and some utility
9975           functions.
9976
9977 2005-06-29  Edward Hervey  <edward@fluendo.com>
9978
9979         * gst/gstelementfactory.c:
9980         * gst/gstutils.h:
9981         * gst/gstutils.c:
9982         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9983         the definition to the header file.
9984
9985 2005-06-29  Andy Wingo  <wingo@pobox.com>
9986
9987         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9988         plugins from the source directory.
9989
9990 2005-06-29  Wim Taymans  <wim@fluendo.com>
9991
9992         * docs/gst/tmpl/gstbuffer.sgml:
9993         * docs/gst/tmpl/gstclock.sgml:
9994         Some fixings for blantently wrong text.
9995
9996 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9997
9998         * check/Makefile.am:
9999         * gst/gst.c: (add_path_func), (init_pre):
10000         * gst/gstregistry.c: (gst_registry_add_path):
10001           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10002           only scan the GST_PLUGIN_PATH locations, and not add
10003           system locations
10004
10005 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10006
10007         * docs/gst/gstreamer-sections.txt:
10008         * docs/gst/tmpl/gstbasesrc.sgml:
10009         * gst/gstelement.c:
10010         * gst/gstelement.h:
10011         * gst/gstevent.c:
10012         * gst/gstutils.c:
10013           doc fixes
10014
10015 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10016
10017         * docs/manual/advanced-autoplugging.xml:
10018           Fix autoplugging example.
10019
10020 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10021
10022         * docs/manual/advanced-autoplugging.xml:
10023         * docs/manual/mime-world.fig:
10024           Try to get autoplugging working, fix type detection. Fix text
10025           in hello-world image.
10026
10027 2005-06-29  Wim Taymans  <wim@fluendo.com>
10028
10029         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10030         (gst_base_sink_change_state):
10031         Small debug line.
10032
10033         * gst/gstclock.h:
10034         map SIGNAL and BROADCAST to the right function.
10035
10036         * gst/gstobject.h:
10037         Remove redundant braces.
10038
10039         * gst/gstpad.c: (gst_pad_set_caps):
10040         Don't call setcaps function when reseting caps to NULL.
10041
10042         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10043         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10044         (gst_system_clock_id_unschedule):
10045         Use BROADCAST as this is what we do.
10046
10047 2005-06-29  Wim Taymans  <wim@fluendo.com>
10048
10049         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10050         We are actually prerolling before commiting the state
10051         change. 
10052
10053 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10054
10055         * docs/manual/advanced-clocks.xml:
10056         * docs/manual/advanced-interfaces.xml:
10057         * docs/manual/advanced-metadata.xml:
10058         * docs/manual/advanced-position.xml:
10059         * docs/manual/advanced-schedulers.xml:
10060         * docs/manual/advanced-threads.xml:
10061         * docs/manual/appendix-porting.xml:
10062         * docs/manual/basics-bins.xml:
10063         * docs/manual/basics-bus.xml:
10064         * docs/manual/basics-elements.xml:
10065         * docs/manual/basics-helloworld.xml:
10066         * docs/manual/basics-pads.xml:
10067         * docs/manual/highlevel-components.xml:
10068         * docs/manual/manual.xml:
10069         * docs/manual/thread.fig:
10070           Update (until threads/scheduling) Application Development Manual;
10071           remove GstThread, add GstBus, add simple porting checklist, add
10072           documentation for tag writing, clocks, make all examples until this
10073           part compile and run.
10074         * examples/manual/Makefile.am:
10075           Update from changes to Application Development Manual; add bus
10076           example, remove thread example.
10077
10078 2005-06-28  Wim Taymans  <wim@fluendo.com>
10079
10080         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10081         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10082         (gst_bus_source_dispatch):
10083         Add debugging messages.
10084         Make internal methods static.
10085         Handle the case where the bus is flushed in the handler.
10086         
10087         * gst/gstelement.c: (gst_element_get_bus):
10088         Fix refcount in _get_bus();
10089
10090         * gst/gstpipeline.c: (gst_pipeline_change_state),
10091         (gst_pipeline_get_clock_func):
10092         Clock refcounting fixes.
10093         Handle the case where preroll timed out more gracefully.
10094         
10095         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10096         Clean up the internal thread in dispose. This is needed
10097         for subclasses that actually get disposed.
10098         
10099         * gst/schedulers/threadscheduler.c:
10100         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10101         (gst_thread_scheduler_dispose):
10102         Free thread pool in dispose.
10103
10104 2005-06-28  Andy Wingo  <wingo@pobox.com>
10105
10106         * tests/network-clock-utils.scm (debug, print-event): New utils.
10107
10108         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10109         (*packet-loss*): Unified loss probability.
10110         (network-time): Report out-of-band events.
10111
10112         * tests/plot-data: Add support for out-of-band events. Hack it
10113         into this script instead of passing it down the pipe; should fix
10114         this later.
10115
10116 2005-06-28  Wim Taymans  <wim@fluendo.com>
10117
10118         * docs/gst/gstreamer.types:
10119         * docs/gst/tmpl/gstbasesrc.sgml:
10120         * docs/gst/tmpl/gstpad.sgml:
10121         Docs fixes.
10122
10123 2005-06-28  Wim Taymans  <wim@fluendo.com>
10124
10125         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10126         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10127         (gst_proxy_pad_do_fixatecaps):
10128         Correctly proxy the check_pull_range function.
10129
10130 2005-06-28  Andy Wingo  <wingo@pobox.com>
10131
10132         * tests/network-clock.scm: Removed need for slib.
10133         
10134 2005-06-28  Wim Taymans  <wim@fluendo.com>
10135
10136         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10137         (gst_basesink_preroll_queue_flush):
10138         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10139         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10140         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10141         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10142         (gst_proxy_pad_set_property):
10143         * gst/gstpad.c:
10144         * gst/gstpad.h:
10145         * gst/gstqueue.c: (gst_queue_init):
10146         The deprecated pad loop function is removed now.
10147
10148 2005-06-28  Andy Wingo  <wingo@pobox.com>
10149
10150         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10151         New parameters, simulate network packet loss.
10152
10153         * tests/network-clock-utils.scm: Initialize the RNG.
10154
10155 2005-06-28  Wim Taymans  <wim@fluendo.com>
10156
10157         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10158         (gst_basesink_event), (gst_basesink_deactivate):
10159         Flushing the preroll queue always needs to unlock the waiters.
10160
10161 2005-06-28  Edward Hervey  <edward@fluendo.com>
10162
10163         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10164         Wheen a seek was successful on a pipeline, set the stream_time to the
10165         seek offset in order to have a synchronized stream_time.
10166
10167 2005-06-28  Wim Taymans  <wim@fluendo.com>
10168
10169         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10170         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10171         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10172         (gst_proxy_pad_do_fixatecaps):
10173         Call wrapper function instead of just calling the function
10174         pointers. This takes care of any locking and whatmore.
10175
10176 2005-06-28  Wim Taymans  <wim@fluendo.com>
10177
10178         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10179         (gst_pad_pull_range):
10180         * gst/gstpad.h:
10181         CONNECTED -> LINKED.
10182
10183 2005-06-28  Andy Wingo  <wingo@pobox.com>
10184
10185         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10186         source-munging commit!!!
10187
10188         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10189         (gst_object_sink): Take gpointer arguments, not GstObject --
10190         avoids casts. Like GLib.
10191
10192         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10193         activate.
10194
10195 2005-06-27  Andy Wingo  <wingo@pobox.com>
10196
10197         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10198         remaining buffer.
10199
10200         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10201         returns a sorted copy of the trace list.
10202         (gst_alloc_trace_print_live): New API, only prints traces with
10203         live objects. Sort the list.
10204         (gst_alloc_trace_print_all): Sort the list.
10205         (gst_alloc_trace_print): Align columns.
10206
10207         * gst/elements/gstttypefindelement.c:
10208         * gst/elements/gsttee.c:
10209         * gst/base/gstbasesrc.c:
10210         * gst/base/gstbasesink.c:
10211         * gst/base/gstbasetransform.c:
10212         * gst/gstqueue.c: Adapt for pad activation changes.
10213
10214         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10215         sched.
10216         (gst_pipeline_dispose): Drop ref on sched.
10217
10218         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10219         (gst_pad_activate_default): Push mode by default.
10220         (pre_activate_switch, post_activate_switch): New stubs, things to
10221         do before and after switching activation modes on pads.
10222         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10223         the pad's activate function to choose which mode to activate.
10224         Shortcut on deactivation and call the right function directly.
10225         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10226         mode.
10227         (gst_pad_activate_push): New API, same for push mode.
10228         (gst_pad_set_activate_function) 
10229         (gst_pad_set_activatepull_function) 
10230         (gst_pad_set_activatepush_function): Setters for new API.
10231
10232         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10233         Trace all miniobjects.
10234         (gst_mini_object_make_writable): Unref the arg if we copy, like
10235         gst_caps_make_writable.
10236
10237         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10238
10239         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10240         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10241         Adapt for new pad API.
10242
10243         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10244
10245         * gst/gstelement.h:
10246         * gst/gstelement.c (gst_element_iterate_src_pads) 
10247         (gst_element_iterate_sink_pads): New API functions.
10248         
10249         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10250         should fold into gstiterator.c in some form.
10251         (gst_element_pads_activate): Simplified via use of fold and
10252         delegation of decisions to gstpad->activate.
10253
10254         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10255         help in debugging.
10256
10257         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10258         class once in init, like gstmessage. Didn't run into this issue
10259         but it seems correct. Don't initialize a trace, gstminiobject does
10260         that.
10261
10262         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10263         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10264         to the bus.
10265         (assert_live_count): New util function, uses alloc traces to check
10266         cleanup.
10267
10268         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10269         To be modified when unlink drops the internal pad.
10270
10271 2005-06-27  Wim Taymans  <wim@fluendo.com>
10272
10273         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10274         (gst_bin_change_state):
10275         Cleanup the get_state() function a little, make sure it
10276         iterates the same set of elements.
10277         Added stub iterate_state_order().
10278
10279 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10280
10281         * docs/gst/gstreamer-docs.sgml:
10282         * docs/gst/gstreamer-sections.txt:
10283         * docs/gst/gstreamer.types:
10284         * docs/gst/tmpl/gstbasesink.sgml:
10285         * docs/gst/tmpl/gstbasesrc.sgml:
10286         * docs/gst/tmpl/gstbasetransform.sgml:
10287         * docs/gst/tmpl/gstelement.sgml:
10288         * docs/gst/tmpl/gstiterator.sgml:
10289         * gst/base/gstbasesrc.c:
10290         * gst/base/gstbasesrc.h:
10291         * gst/base/gstbasetransform.h:
10292         * gst/gstelement.c:
10293         * gst/gstiterator.h:
10294           adding basetransform and iterator docs
10295
10296 2005-06-27  Andy Wingo  <wingo@pobox.com>
10297
10298         * docs/design/part-activation.txt: Notes on how activation should
10299         work -- not quite implemented yet.
10300
10301 2005-06-25  Wim Taymans  <wim@fluendo.com>
10302
10303         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10304         At least get the chain function correct, needs more
10305         fixing.
10306
10307 2005-06-25  Wim Taymans  <wim@fluendo.com>
10308
10309         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10310         (gst_basesink_handle_object), (gst_basesink_event),
10311         (gst_basesink_do_sync), (gst_basesink_handle_event),
10312         (gst_basesink_change_state):
10313         * gst/gsttask.h:
10314         Right, two problems here: ghostpads don't take locks and
10315         glib _rec_mutex_lock_full() with depth==0 still locks.
10316         Catch illegal locking and g_warn them.
10317
10318 2005-06-25  Wim Taymans  <wim@fluendo.com>
10319
10320         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10321         Have to check for completion now...
10322
10323 2005-06-25  Wim Taymans  <wim@fluendo.com>
10324
10325         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10326         (gst_basesink_handle_object), (gst_basesink_event),
10327         (gst_basesink_do_sync), (gst_basesink_handle_event),
10328         (gst_basesink_change_state):
10329         * gst/gstpad.h:
10330         Unlock STREAM_LOCK whatever the recursion was.
10331
10332 2005-06-25  Wim Taymans  <wim@fluendo.com>
10333
10334         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10335         (gst_basesink_preroll_queue_empty),
10336         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10337         (gst_basesink_event), (gst_basesink_do_sync),
10338         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10339         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10340         (gst_basesink_change_state):
10341         Reworked the base sink, handle event and buffer serialisation
10342         correctly and removed possible deadlock.
10343         Handle EOS correctly.
10344
10345 2005-06-25  Wim Taymans  <wim@fluendo.com>
10346
10347         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10348         (gst_pipeline_change_state):
10349         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10350         Allow elements to post EOS in the state change function.
10351         Fix up -launch, make it exit the poll loop when the
10352         pipeline actually changed state.
10353         Fix up warning parsing in -launch.
10354
10355 2005-06-25  Wim Taymans  <wim@fluendo.com>
10356
10357         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10358         (gst_tee_sink_activate):
10359         Core takes STREAM_LOCK for us now.
10360
10361 2005-06-25  Wim Taymans  <wim@fluendo.com>
10362
10363         * gst/gstelement.c: (gst_element_get_state_func),
10364         (gst_element_set_state):
10365         * gst/gstelement.h:
10366         * gst/gstmessage.c: (gst_message_parse_error),
10367         (gst_message_parse_warning):
10368         Keep track of current target state while performing a state
10369         change so that subclasses can do something interesting.
10370         Fix parsing of warning/error messages when GError is NULL.
10371
10372 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10373
10374         * docs/gst/Makefile.am:
10375         * docs/gst/gstreamer-docs.sgml:
10376         * docs/gst/gstreamer-sections.txt:
10377         * docs/gst/gstreamer.types:
10378         * docs/gst/tmpl/gstbasesink.sgml:
10379         * docs/gst/tmpl/gstbasesrc.sgml:
10380         * docs/gst/tmpl/gstbin.sgml:
10381         * docs/gst/tmpl/gstcompat.sgml:
10382         * docs/gst/tmpl/gstfakesink.sgml:
10383         * docs/gst/tmpl/gstfakesrc.sgml:
10384         * docs/gst/tmpl/gstfilesink.sgml:
10385         * docs/gst/tmpl/gstfilesrc.sgml:
10386         * docs/gst/tmpl/gstindex.sgml:
10387         * docs/manual/appendix-quotes.xml:
10388         * gst/base/gstbasesrc.h:
10389         * gst/elements/gstfakesrc.h:
10390         * gst/gstmessage.h:
10391           start pulling in base classes and elements in our docs
10392
10393 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10394
10395         * docs/gst/Makefile.am:
10396         * docs/libs/Makefile.am:
10397           fixed make distcheck with gtk-doc 1.3
10398
10399 2005-06-23  Wim Taymans  <wim@fluendo.com>
10400
10401         * gst/gstelement.c: (gst_element_get_state_func),
10402         (gst_element_set_state), (gst_element_change_state):
10403         When the state did not change, also report NO_PREROLL
10404         when it matters.
10405
10406 2005-06-23  Wim Taymans  <wim@fluendo.com>
10407
10408         * gst/gstpad.c: (gst_pad_event_default):
10409         * gst/gstqueue.c: (gst_queue_loop):
10410         No unsafe task pausing please.
10411
10412 2005-06-23  Wim Taymans  <wim@fluendo.com>
10413
10414         * gst/schedulers/threadscheduler.c:
10415         (gst_thread_scheduler_task_start),
10416         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10417         Ref the task before pushing it on the threadpool. This
10418         makes sure that we have a ref when the threadfunction is
10419         actually called.
10420
10421 2005-06-23  Andy Wingo  <wingo@pobox.com>
10422
10423         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10424         offset is greater than the file's size.
10425
10426         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10427         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10428         * gst/gstobject.c (gst_object_class_init): Make the class lock
10429         recursive. Wim won't let me drop deep_notify. Decodebin works
10430         again, whoopdy doo.
10431
10432         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10433         internal pad, and hacks accordingly. Doesn't do it on the target
10434         pad because we change its caps. Probably catches all cases of
10435         interest tho.
10436         (gst_ghost_pad_set_property): Connect to notify::caps as
10437         appropritate.
10438
10439         * tests/network-clock.scm (plot-simulation): Pipe data to the
10440         elite python skript.
10441
10442         * tests/network-clock-utils.scm (define-parameter): New macro,
10443         defines a parameter that can be set via the command line.
10444         (set-parameter!, parse-parameter-arguments): Command line args
10445         parser.
10446
10447         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10448         stdin.
10449
10450 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10451
10452         * gst/elements/gsttypefindelement.c:
10453         (gst_type_find_element_handle_event):
10454           Don't restart typefinding on a discont.
10455         * gst/gstelement.c: (gst_element_set_state):
10456           Debug spelling fix.
10457         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10458           Allow changing mode of an active pad.
10459           Debug output fixes.
10460         * gst/registries/gstlibxmlregistry.c: (load_feature):
10461           Don't cast a static pad template to a normal pad template.
10462
10463 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10464
10465         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10466         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10467           remove gst_strtoll completely, since it didn't actually do
10468           anything more than what g_ascii_strtoull already does.
10469           check for range errors when deserializing
10470           do a cast for the unsigned cases; but further fixing needs
10471           a decision on what the interpretation of "(int)" and
10472           deserialization should be for values that fall outside the
10473           type's boundaries (ie, refuse, or interpret as casting)
10474
10475 2005-06-23  Wim Taymans  <wim@fluendo.com>
10476
10477         * check/Makefile.am:
10478         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10479         * docs/design/part-live-source.txt:
10480         * docs/design/part-states.txt:
10481         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10482         (gst_basesrc_set_live), (gst_basesrc_is_live),
10483         (gst_basesrc_get_range), (gst_basesrc_activate),
10484         (gst_basesrc_change_state):
10485         * gst/base/gstbasesrc.h:
10486         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10487         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10488         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10489         * gst/gstelement.c: (gst_element_get_state_func),
10490         (gst_element_set_state):
10491         * gst/gstelement.h:
10492         * gst/gsttypes.h:
10493         * tools/gst-launch.c: (event_loop), (main):
10494         Added support for live sources and other elements that
10495         cannot do preroll.
10496         Updated design docs, added live-source design doc.
10497         Implemented live source functionality in basesrc
10498         Fix error condition in _bin_get_state()
10499         Implement live source handling in -launch.
10500         Added check for live sources.
10501         Fixed case in GstBin where elements were changed state
10502         multiple times.
10503
10504
10505 2005-06-23  Andy Wingo  <wingo@pobox.com>
10506
10507         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10508         borken refcounting.
10509
10510         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10511         gst_caps_replace takes care of this for us.
10512
10513         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10514         gst_pad_set_caps on the target, not just its setcaps() function.
10515
10516         * tests/network-clock.scm: 
10517         * tests/network-clock-utils.scm: A network clock simulator.
10518         Something of an algorithmic testbed before doing something in C.
10519
10520 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10521
10522         * check/Makefile.am:
10523         * check/gst/capslist.h:
10524           copy over from 0.8, and add two with bitmasks specified with
10525           (int) 0xFF...
10526         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10527           add test to parse everything from capslist.h
10528         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10529         (main):
10530           add test for structure deserialization
10531         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10532           add tests for deserialization of strings to int types
10533         * gst/gststructure.c: (gst_structure_nth_field_name):
10534         * gst/gststructure.h:
10535           add a way to get the name of a field referenced by index
10536         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10537           instead of checking if the resulting long long lies between
10538           min and max, we check if the long long would fit into
10539           a number of bytes for the final type.
10540           This fixes cases where a string represents 2^32 - 1, which
10541           when cast to int would be the (valid) -1, but is bigger than
10542           G_MAXINT
10543
10544 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10545
10546         * gst/parse/grammar.y:
10547           add a log line for type deserialization
10548
10549 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10550
10551         * check/gst/gstvalue.c: (START_TEST):
10552         * gst/gstvalue.c: (gst_value_deserialize):
10553           return long long, not int, so gint64 deserialization actually
10554           works.  Is there any flag that makes the compiler check this ?
10555           Fixes #308559
10556
10557 2005-06-22  Wim Taymans  <wim@fluendo.com>
10558
10559         * gst/gstbuffer.h:
10560         Added convenience macros for setting buffers in GValue.
10561
10562 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10563
10564         * check/gst/.cvsignore:
10565         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10566           add a test deserializing int64, and comment part out because
10567           it fails, yay !
10568
10569 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10570
10571         * check/Makefile.am:
10572         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10573         * testsuite/Makefile.am:
10574         * testsuite/caps/Makefile.am:
10575         * testsuite/caps/value_serialize.c:
10576         * testsuite/test_gst_init.c:
10577           move a value_serialize test over
10578
10579 2005-06-20  Wim Taymans  <wim@fluendo.com>
10580
10581         * gst/gstpad.c:
10582         Small doc updates.
10583         
10584         * gst/gstvalue.c: (gst_value_compare_buffer),
10585         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10586         (gst_value_compare_flags), (gst_value_serialize_flags),
10587         (gst_value_deserialize_flags), (_gst_value_initialize):
10588         Fix serialisation of buffers, they are not boxed types anymore
10589
10590 2005-06-20  Wim Taymans  <wim@fluendo.com>
10591
10592         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10593         Testcase to show error in buffer-on-caps serialisation.
10594
10595 2005-06-20  Andy Wingo  <wingo@pobox.com>
10596
10597         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10598         will be adding to later.
10599
10600         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10601         if its socks fill with rocks.
10602         (gst_system_clock_obtain): Set the name on object construction.
10603         Avoid double-checked locking.
10604
10605 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10606
10607         * gst/gsturi.c: (gst_element_make_from_uri):
10608           Fix potential endless loop.
10609
10610 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10611
10612         * check/Makefile.am:
10613           add gsttag
10614         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10615         (main):
10616           move over from testsuite dir and clean up
10617         * configure.ac:
10618         * gst/gsttag.c:
10619         * testsuite/Makefile.am:
10620         * testsuite/tags/.cvsignore:
10621         * testsuite/tags/Makefile.am:
10622         * testsuite/tags/merge.c:
10623           remove testsuite/tags
10624
10625 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10626
10627         * docs/gst/gstreamer-sections.txt:
10628         * docs/gst/tmpl/gstenumtypes.sgml:
10629         * win32/gstenumtypes.c:
10630           clean up documentation build a little
10631
10632 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10633
10634         * check/gstcheck.h:
10635           add macros for checking refcounts on objects and caps
10636         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10637           add some more unit tests
10638         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10639         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10640           fix leaked refcounts (I hope :)) so unittest works
10641         * gst/gstpad.h:
10642           whitespace removal
10643
10644 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10645
10646         * configure.ac: back to HEAD
10647
10648 === release 0.9.1 ===
10649
10650 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10651
10652         * NEWS:
10653         * RELEASE:
10654           updated
10655
10656 2005-06-17  Andy Wingo  <wingo@pobox.com>
10657
10658         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10659         assert; it's always possible that the pad gets deactivated in
10660         between the checks in gstpad.c and the implementation. Rely on
10661         finish_preroll() to return a FLUSHING or similar instead of on the
10662         assert.
10663         
10664         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10665         clock and post an EOS message if we come out of finish_preroll in
10666         the playing state.
10667
10668 2005-06-16  David Schleef  <ds@schleef.org>
10669
10670         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10671         (gst_capsfilter_set_property): Allow NULL as possible value
10672         for filter_caps property, indicating GST_CAPS_ANY.
10673
10674 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10675
10676         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10677           fix debug output
10678         * gst/schedulers/Makefile.am:
10679           use libgst prefix
10680         * gstreamer.spec.in:
10681           fix spec for it
10682
10683 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10684
10685         * gstreamer.spec.in:
10686           clean up
10687
10688 2005-06-08  Andy Wingo  <wingo@pobox.com>
10689
10690         * gst/gstutils.c: RPAD fixes all around.
10691         (gst_element_link_pads): Refcounting fixes.
10692
10693         * tools/gst-inspect.c:
10694         * tools/gst-xmlinspect.c:
10695         * parse/grammar.y:
10696         * gst/base/gsttypefindhelper.c:
10697         * gst/base/gstbasesink.c:
10698         * gst/gstqueue.c: RPAD fixes.
10699
10700         * gst/gstghostpad.h:
10701         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10702         pads. The tricky thing is they provide both source and sink
10703         interfaces, since they proxy the internal pad for the external
10704         pad, and vice versa. Implement with lower-level ProxyPad objects,
10705         with the interior proxy pad as a child of the exterior ghost pad.
10706         Should write a doc on this.
10707         
10708         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10709         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10710         gst_object API.
10711         
10712         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10713         pads are real pads. No ghost pads in this file. Not documenting
10714         the myriad s/RPAD/PAD/ and REALIZE fixes.
10715         (gst_pad_class_init): Add properties for "direction" and
10716         "template". Both are construct-only, so they can't change during
10717         the life of the pad. Fixes properly deriving from GstPad.
10718         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10719         derived objects, just set properties when creating the objects via
10720         g_object_new.
10721         (gst_pad_get_parent): Implement as a function, return NULL if the
10722         parent is not an element.
10723         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10724         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10725         
10726         * gst/gstobject.c (gst_object_class_init): Make name a construct
10727         property. Don't set it in the object init.
10728
10729         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10730         with UNKNOWN direction.
10731         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10732         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10733         (gst_element_remove_pad): Remove ghost-pad special cases.
10734         (gst_element_pads_activate): Remove rpad cruft.
10735
10736         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10737         catch the pad's-parent-not-an-element case.
10738
10739         * gst/gst.h: Include gstghostpad.h.
10740
10741         * gst/gst.c (init_post): No more real, ghost pads.
10742
10743         * gst/Makefile.am: Add gstghostpad.[ch].
10744
10745         * check/Makefile.am:
10746         * check/gst/gstbin.c:
10747         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10748         into a bin creates ghost pads, and that the refcounts are right.
10749         Partly moved from gstbin.c.
10750
10751 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10752
10753         * check/gst-libs/.cvsignore:
10754         * check/gst/.cvsignore:
10755         * check/pipelines/.cvsignore:
10756           ignore more
10757         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10758         (START_TEST), (cleanup_suite), (main):
10759           add some tests related to cleanup after running pipelines
10760
10761 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10762
10763         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10764           add a testsuite for GstBuffer
10765
10766 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10767
10768         * gst/gstminiobject.h:
10769           add defines for accessing the refcount
10770
10771 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10772
10773         * Makefile.am: added support for html unit test coverage reports
10774
10775 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10776
10777         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10778           Free existing caps if the capsfilter changes. Add a FIXME about
10779           setting those caps on the pads.
10780
10781         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10782           Before adding a ghost pad to a parent bin, check that there isn't
10783           already one for the element on the bin. Prevents infinite recursion
10784           when using decodebin in parse pipelines. Andy says he'll rewrite the
10785           way this works anyway, so ignore the hack.
10786
10787 2005-06-02  Andy Wingo  <wingo@pobox.com>
10788
10789         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10790         file size, pass it on to the type find helper.
10791
10792         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10793         segment_start and segment_end properly according to the seek
10794         method. Segment_end is still a bit flaky because offset can be
10795         negative for CUR and END cases, but it takes -1 as an "unset"
10796         value.
10797
10798 2005-06-02  Wim Taymans  <wim@fluendo.com>
10799
10800         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10801         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10802         (gst_basesink_activate):
10803         * gst/base/gstbasesink.h:
10804         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10805         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10806         (gst_pad_query), (gst_pad_start_task):
10807         * gst/gstpad.h:
10808         * gst/gstqueue.c: (gst_queue_bufferalloc),
10809         (gst_queue_handle_sink_event), (gst_queue_chain):
10810         Bufferalloc: return GstFlowReturn to more accuratly report
10811         why allocation failed.
10812
10813 2005-06-02  Wim Taymans  <wim@fluendo.com>
10814
10815         * gst/gstpipeline.c: (gst_pipeline_send_event):
10816         Take snapshot of state without blocking.
10817
10818 2005-06-02  Wim Taymans  <wim@fluendo.com>
10819
10820         * docs/design/part-TODO.txt:
10821         * docs/design/part-caps.txt:
10822         * docs/design/part-clocks.txt:
10823         * docs/design/part-negotiation.txt:
10824         * docs/design/part-preroll.txt:
10825         Small doc updates 
10826
10827 2005-05-30  Wim Taymans  <wim@fluendo.com>
10828
10829         * gst/elements/gstidentity.c: (gst_identity_event),
10830         (gst_identity_transform), (gst_identity_get_property):
10831         Protect last_message property as it is accessed from
10832         multiple threads.
10833
10834 2005-05-30  Wim Taymans  <wim@fluendo.com>
10835
10836         * gst/gstelement.c: (gst_element_init),
10837         (gst_element_pads_activate), (gst_element_change_state):
10838         Slicker pad activation code.
10839
10840 2005-05-30  Wim Taymans  <wim@fluendo.com>
10841
10842         * gst/Makefile.am:
10843         * gst/gstelement.h:
10844         * gst/gstelementfactory.h:
10845         * gst/gsttypes.h:
10846         Move elementfactory methods to separate .h file.
10847
10848 2005-05-30  Wim Taymans  <wim@fluendo.com>
10849
10850         * docs/design/part-overview.txt:
10851         * gst/gstsystemclock.h:
10852         Small typo fixes, doc updates.
10853
10854 2005-05-30  Wim Taymans  <wim@fluendo.com>
10855
10856         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10857         (init_popt_callback):
10858         Remove cpu-opt flag.
10859
10860 2005-05-30  Wim Taymans  <wim@fluendo.com>
10861
10862         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10863         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10864         * gst/gstbuffer.h:
10865         Avoid typechecking in places where not needed.
10866         Added accessor for malloc_data.
10867
10868 2005-05-30  Wim Taymans  <wim@fluendo.com>
10869
10870         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10871         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10872         (gst_pad_configure_sink), (gst_pad_configure_src),
10873         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10874         (gst_pad_start_task):
10875         Propagate errors from _set_caps() in configure_src/sink
10876         functions instead of returning TRUE.
10877         FLUSH events can travel up and downstream
10878
10879
10880 2005-05-30  Wim Taymans  <wim@fluendo.com>
10881
10882         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10883         (gst_basesink_activate):
10884         Handle EOS in preroll.
10885
10886 2005-05-30  Wim Taymans  <wim@fluendo.com>
10887
10888         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10889         (gst_queue_loop), (gst_queue_handle_src_event):
10890         Remove old pieces of code
10891         Flushing the queue in an upstream event is a very bad idea.
10892
10893 2005-05-26  Andy Wingo  <wingo@pobox.com>
10894
10895         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10896         gst_value_set_mini_object so as to add a ref on the object (which
10897         will be removed when the value is unset).
10898
10899         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10900         arg type in ::handoff.
10901
10902         * gst/gstelement.c (gst_element_change_state): Also deactivate
10903         pads in READY->NULL, just in case the element didn't make it to
10904         PAUSED. Wingo tested, Wim approved.
10905
10906 2005-05-26  Wim Taymans  <wim@fluendo.com>
10907
10908         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10909         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10910         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10911         A flushing pad cannot be used to alloc_buffer from.
10912
10913 2005-05-26  Wim Taymans  <wim@fluendo.com>
10914
10915         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10916         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10917         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10918         (gst_bus_create_watch), (gst_bus_add_watch_full):
10919         * gst/gstbus.h:
10920         Implement a real GSource and use g_main_context_wakeup() to
10921         signal new messages instead of the socketpair.
10922
10923 2005-05-25  Wim Taymans  <wim@fluendo.com>
10924
10925         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10926         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10927         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10928         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10929         (gst_pad_send_event), (gst_pad_start_task):
10930         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10931         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10932         (gst_queue_sink_activate), (gst_queue_src_activate),
10933         (gst_queue_change_state):
10934         * gst/gstqueue.h:
10935         Fix state changes for non sinks. We now change sinks, then elements
10936         with unconnected srcpads, then the rest.
10937         More efficient queue unlocking in flush and state changes.
10938         Set the pad activate mode even if it does not have an activate
10939         function.
10940
10941 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10942
10943         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10944           Don't go in pull mode for non-seekable sources.
10945         * gst/elements/gsttypefindelement.h:
10946         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10947         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10948         (free_entry), (stop_typefinding),
10949         (gst_type_find_element_handle_event), (find_peek),
10950         (gst_type_find_element_chain), (do_pull_typefind),
10951         (gst_type_find_element_change_state):
10952           Allow typefinding (w/o seeking) in push-mode, simplified version
10953           of what was in 0.8.
10954         * gst/gstutils.c: (gst_buffer_join):
10955         * gst/gstutils.h:
10956           gst_buffer_join() from 0.8.
10957
10958 2005-05-25  Wim Taymans  <wim@fluendo.com>
10959
10960         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10961         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10962         (gst_pad_send_event), (gst_pad_start_task):
10963         Disable attempt at mode switching until it is figured out.
10964
10965 2005-05-25  Wim Taymans  <wim@fluendo.com>
10966
10967         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10968         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10969         (gst_basesink_finish_preroll), (gst_basesink_chain),
10970         (gst_basesink_loop), (gst_basesink_activate),
10971         (gst_basesink_change_state):
10972         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10973         (gst_basesrc_get_range), (gst_basesrc_loop),
10974         (gst_basesrc_activate):
10975         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10976         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10977         (gst_real_pad_init), (gst_real_pad_set_property),
10978         (gst_real_pad_get_property), (gst_pad_set_active),
10979         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10980         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10981         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10982         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10983         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10984         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10985         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10986         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10987         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10988         (gst_pad_stop_task):
10989         * gst/gstpad.h:
10990         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10991         (gst_queue_loop), (gst_queue_src_activate):
10992         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10993         (gst_task_get_state):
10994         * gst/gsttask.h:
10995         * gst/schedulers/threadscheduler.c:
10996         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10997         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10998         in task function.
10999         Remove ACTIVE pad flag, use FLUSHING everywhere
11000         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11001         functions.
11002         Add locks around IS_FLUSHING when reading.
11003         Take STREAM lock in chain(), get_range() functions so plugins
11004         don't need to take it anymore.
11005         
11006
11007
11008 2005-05-25  Wim Taymans  <wim@fluendo.com>
11009
11010         * tools/gst-launch.c: (event_loop):
11011         Unref message after using its contents instead of
11012         before.
11013
11014 2005-05-24  Wim Taymans  <wim@fluendo.com>
11015
11016         * docs/design/draft-ghostpads.txt:
11017         * docs/design/draft-push-pull.txt:
11018         * docs/design/draft-query.txt:
11019         * docs/design/part-overview.txt:
11020         Docs updates, added general overview doc.
11021
11022 2005-05-21  David Schleef  <ds@schleef.org>
11023
11024         * docs/gst/tmpl/old/GstBin.sgml:
11025         * docs/gst/tmpl/old/GstBuffer.sgml:
11026         * docs/gst/tmpl/old/GstCaps.sgml:
11027         * docs/gst/tmpl/old/GstClock.sgml:
11028         * docs/gst/tmpl/old/GstCompat.sgml:
11029         * docs/gst/tmpl/old/GstData.sgml:
11030         * docs/gst/tmpl/old/GstElement.sgml:
11031         * docs/gst/tmpl/old/GstEvent.sgml:
11032         * docs/gst/tmpl/old/GstIndex.sgml:
11033         * docs/gst/tmpl/old/GstStructure.sgml:
11034         * docs/gst/tmpl/old/GstTag.sgml:
11035         * docs/gst/tmpl/old/cothreads.sgml:
11036         * docs/gst/tmpl/old/cothreads_compat.sgml:
11037         * docs/gst/tmpl/old/gettext.sgml:
11038         * docs/gst/tmpl/old/gobject2gtk.sgml:
11039         * docs/gst/tmpl/old/grammar.tab.sgml:
11040         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11041         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11042         * docs/gst/tmpl/old/gst_private.sgml:
11043         * docs/gst/tmpl/old/gstaggregator.sgml:
11044         * docs/gst/tmpl/old/gstarch.sgml:
11045         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11046         * docs/gst/tmpl/old/gstbufferstore.sgml:
11047         * docs/gst/tmpl/old/gstdata_private.sgml:
11048         * docs/gst/tmpl/old/gstdisksink.sgml:
11049         * docs/gst/tmpl/old/gstdisksrc.sgml:
11050         * docs/gst/tmpl/old/gstelementfactory.sgml:
11051         * docs/gst/tmpl/old/gstextratypes.sgml:
11052         * docs/gst/tmpl/old/gstfakesink.sgml:
11053         * docs/gst/tmpl/old/gstfakesrc.sgml:
11054         * docs/gst/tmpl/old/gstfdsink.sgml:
11055         * docs/gst/tmpl/old/gstfdsrc.sgml:
11056         * docs/gst/tmpl/old/gstfilesink.sgml:
11057         * docs/gst/tmpl/old/gstfilesrc.sgml:
11058         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11059         * docs/gst/tmpl/old/gstidentity.sgml:
11060         * docs/gst/tmpl/old/gstindexfactory.sgml:
11061         * docs/gst/tmpl/old/gstmarshal.sgml:
11062         * docs/gst/tmpl/old/gstmd5sink.sgml:
11063         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11064         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11065         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11066         * docs/gst/tmpl/old/gstpipefilter.sgml:
11067         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11068         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11069         * docs/gst/tmpl/old/gstshaper.sgml:
11070         * docs/gst/tmpl/old/gstspider.sgml:
11071         * docs/gst/tmpl/old/gstspideridentity.sgml:
11072         * docs/gst/tmpl/old/gststatistics.sgml:
11073         * docs/gst/tmpl/old/gsttee.sgml:
11074         * docs/gst/tmpl/old/gsttimecache.sgml:
11075         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11076         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11077         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11078         * docs/gst/tmpl/old/types.sgml:
11079           I didn't intend to add these or check them in.
11080
11081 2005-05-19  David Schleef  <ds@schleef.org>
11082
11083         * configure.ac: Use -no-common everywhere.  In a sane world, it
11084           would be the default in libtool, because without it, you can't
11085           build DLLs on Windows.
11086         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11087         * docs/gst/gstreamer-sections.txt:
11088         * docs/gst/tmpl/gstcpu.sgml:
11089         * docs/gst/tmpl/gstdata.sgml:
11090         * docs/gst/tmpl/gstthread.sgml:
11091
11092 2005-05-19  David Schleef  <ds@schleef.org>
11093
11094         * gst/gstminiobject.c: (gst_value_set_mini_object),
11095         (gst_value_take_mini_object), (gst_value_get_mini_object):
11096         * gst/gstminiobject.h: Add GValue set/get functions.
11097
11098 2005-05-19  Wim Taymans  <wim@fluendo.com>
11099
11100         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11101         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11102         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11103         * gst/gstbuffer.h:
11104         * gst/gstbus.c: (gst_bus_post):
11105         * gst/gstelement.c: (gst_element_get_random_pad):
11106         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11107         Make subbufer unref the parent in finalize.
11108         some more debugging info.
11109
11110
11111 2005-05-19  Wim Taymans  <wim@fluendo.com>
11112
11113         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11114         (gst_basesink_init), (gst_basesink_finalize),
11115         (gst_basesink_activate), (gst_basesink_change_state):
11116         Don't free preroll queue too early.
11117
11118 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11119
11120         * gst/Makefile.am:
11121         * gst/ROADMAP:
11122           Hi, I'm outdated. Please shoot me.
11123
11124 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11125
11126         * gst/gstpipeline.c: (gst_pipeline_send_event):
11127           Do not access variables after they have been deleted.
11128
11129 2005-05-19  Wim Taymans  <wim@fluendo.com>
11130
11131         * tools/gst-inspect.c: (print_plugin_features):
11132         A plugin feature does unfortunatly not use the
11133         object name yet...
11134
11135 2005-05-18  Wim Taymans  <wim@fluendo.com>
11136
11137         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11138         Port _span() functions to new subbuffers.
11139
11140 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11141
11142         * gst/gstbin.c: (gst_bin_add_func):
11143           Fix clock settery in bins when adding kids after the clock has
11144           been selected.
11145
11146 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11147
11148         * gst/elements/gstidentity.c: (gst_identity_class_init):
11149           Workaround until signals support GstMiniObject.
11150
11151 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11152
11153         * gst/gstbuffer.c:
11154         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11155
11156 2005-05-18  Wim Taymans  <wim@fluendo.com>
11157
11158         * gst/base/Makefile.am:
11159         * gst/base/gstadapter.c: (gst_adapter_base_init),
11160         (gst_adapter_class_init), (gst_adapter_init),
11161         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11162         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11163         (gst_adapter_flush), (gst_adapter_available),
11164         (gst_adapter_available_fast):
11165         * gst/base/gstadapter.h:
11166         Ported and added adapter to the base classes.
11167
11168 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11169
11170         * gst/gst.c:
11171         * gst/gstmessage.c:
11172           Make sure the class is reffed/unreffed once before threads can be
11173           used.  Fixes #304551.
11174
11175 2005-05-17  Wim Taymans  <wim@fluendo.com>
11176
11177         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11178         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11179         * gst/gstminiobject.c: (gst_mini_object_get_type),
11180         (gst_mini_object_free):
11181         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11182         (gst_pad_push), (gst_pad_push_event):
11183         * gst/gstqueue.c: (gst_queue_change_state):
11184         Don't queue buffers in basesink when we are flushing.
11185         Unref buffer when flushing in basesink.
11186         Flush queue when going to READY
11187         Unref buffer when _push() returns an error.
11188         Don't free MiniObject instance when refcount is incremented
11189         in _finalize() so that we can recover objects.
11190
11191 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11192
11193         * docs/manual/advanced-schedulers.xml:
11194         * docs/manual/appendix-checklist.xml:
11195         * docs/pwg/advanced-clock.xml:
11196         * docs/pwg/advanced-interfaces.xml:
11197         * docs/pwg/advanced-request.xml:
11198         * docs/pwg/advanced-types.xml:
11199         * docs/pwg/intro-preface.xml:
11200         * examples/plugins/example.c: (gst_example_get_type),
11201         (gst_example_class_init), (gst_example_chain),
11202         (gst_example_set_property), (gst_example_get_property),
11203         (gst_example_change_state), (plugin_init):
11204         * examples/plugins/example.h:
11205           small doc fixes
11206
11207 2005-05-17  Wim Taymans  <wim@fluendo.com>
11208
11209         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11210         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11211         * gst/gstqueue.c: (gst_queue_change_state):
11212         Clear queue when going to READY.
11213         Remove IN_SETCAPS flag too.
11214
11215 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11216
11217         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11218           Remove implicit cast from gboolean to GstElementStateReturn;
11219           make sure we still return failure in paused => ready case if
11220           the parent class fails to change state and our own stop 
11221           vfunc succeeds.
11222
11223 2005-05-17  Wim Taymans  <wim@fluendo.com>
11224
11225         * tools/gst-launch.c: (event_loop):
11226         Message was unreffed too soon.
11227
11228 2005-05-16  Andy Wingo  <wingo@pobox.com>
11229
11230         * gst/gstbin.c (sink_iterator_filter): Err... um...
11231
11232         * check/gst/gstbin.c (test_ghost_pads): New test for the
11233         ghosting-if-elements-not-in-same-bin behavior.
11234
11235 2005-05-16  David Schleef  <ds@schleef.org>
11236
11237         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11238         accessing refcount directly.
11239
11240 2005-05-15  David Schleef  <ds@schleef.org>
11241
11242         * check/Makefile.am: remove GstData checks
11243         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11244         * gst/Makefile.am: add miniobject, remove data
11245         * gst/gst.h: add miniobject, remove data
11246         * gst/gstdata.c: remove
11247         * gst/gstdata.h: remove
11248         * gst/gstdata_private.h: remove
11249         * gst/gsttypes.h: remove GstEvent and GstMessage
11250         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11251         * gst/gstmarshal.list: change BOXED -> OBJECT
11252
11253         Implement GstMiniObject.
11254         * gst/gstminiobject.c:
11255         * gst/gstminiobject.h:
11256
11257         Modify to be subclasses of GstMiniObject.
11258         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11259         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11260         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11261         (gst_subbuffer_get_type), (gst_subbuffer_init),
11262         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11263         (gst_buffer_span):
11264         * gst/gstbuffer.h:
11265         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11266         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11267         (_gst_event_copy), (gst_event_new):
11268         * gst/gstevent.h:
11269         * gst/gstmessage.c: (_gst_message_initialize),
11270         (gst_message_get_type), (gst_message_class_init),
11271         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11272         (gst_message_new), (gst_message_new_error),
11273         (gst_message_new_warning), (gst_message_new_tag),
11274         (gst_message_new_state_changed), (gst_message_new_application):
11275         * gst/gstmessage.h:
11276         * gst/gstprobe.c: (gst_probe_perform),
11277         (gst_probe_dispatcher_dispatch):
11278         * gst/gstprobe.h:
11279         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11280         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11281         (_gst_query_copy), (gst_query_new):
11282
11283         Update elements for GstData -> GstMiniObject changes
11284         * gst/gstquery.h:
11285         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11286         (gst_queue_chain), (gst_queue_loop):
11287         * gst/elements/gstbufferstore.c:
11288         (gst_buffer_store_add_buffer_func),
11289         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11290         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11291         (gst_fakesink_render):
11292         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11293         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11294         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11295         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11296         (gst_filesrc_create_read):
11297         * gst/elements/gstidentity.c: (gst_identity_class_init):
11298         * gst/elements/gsttypefindelement.c:
11299         (gst_type_find_element_src_event), (free_entry_buffers),
11300         (gst_type_find_element_handle_event):
11301         * libs/gst/dataprotocol/dataprotocol.c:
11302         (gst_dp_header_from_buffer):
11303         * libs/gst/dataprotocol/dataprotocol.h:
11304         * libs/gst/dataprotocol/dp-private.h:
11305
11306 2005-05-15  David Schleef  <ds@schleef.org>
11307
11308         * gst/elements/gstelements.c: Don't include headers that were
11309         just removed.
11310
11311 2005-05-15  David Schleef  <ds@schleef.org>
11312
11313         * gst/elements/Makefile.am: Remove some elements that don't
11314         need to be in the core (or even exist at all).
11315         * gst/elements/gstaggregator.c:
11316         * gst/elements/gstaggregator.h:
11317         * gst/elements/gstmd5sink.c:
11318         * gst/elements/gstmd5sink.h:
11319         * gst/elements/gstmultifilesrc.c:
11320         * gst/elements/gstmultifilesrc.h:
11321         * gst/elements/gstpipefilter.c:
11322         * gst/elements/gstpipefilter.h:
11323         * gst/elements/gstshaper.c:
11324         * gst/elements/gstshaper.h:
11325         * gst/elements/gststatistics.c:
11326         * gst/elements/gststatistics.h:
11327         * po/POTFILES.in: Remove above files.
11328
11329 2005-05-14  Andy Wingo  <wingo@pobox.com>
11330
11331         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11332         so as to get the refs right.
11333         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11334         unreffing objects that don't pass the filter.
11335
11336         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11337         gst_element_set_bus.
11338         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11339         normal cases, this will destroy the bus.
11340
11341         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11342         object.
11343
11344         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11345         has no sinks.
11346
11347 2005-05-13  Andy Wingo  <wingo@pobox.com>
11348
11349         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11350         gst_pad_link, call pad_link_maybe_ghosting,
11351         (pad_link_maybe_ghosting): Links pads, making sure that the
11352         elements being linked are in the same bin.
11353         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11354         Helpers for pad_link_maybe_ghosting.
11355
11356 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11357
11358         * configure.ac:
11359           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11360
11361 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11362
11363         * docs/design/part-element-source.txt:
11364           Mention GstPushSrc
11365
11366 2005-05-12  Wim Taymans  <wim@fluendo.com>
11367
11368         * gst/base/gstbasesink.c: (gst_basesink_init),
11369         (gst_basesink_activate):
11370         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11371         (gst_basesrc_is_seekable):
11372         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11373         (bin_element_is_sink), (gst_bin_change_state):
11374         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11375         * gst/gstelement.h:
11376         Identify sinks by their flag to avoid overly complicated
11377         checks (fow now).
11378         Do state changes even for elements not reachable from the
11379         sinks.
11380         BaseSink is a sink now :)
11381         Some more debugging info in the basesrc.
11382
11383
11384 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11385
11386         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11387           Implement _query on a bin, similar to _send_event.
11388
11389 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11390
11391         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11392           Discont event offset format should be GST_FORMAT_BYTES,
11393           not GST_FORMAT_TIME.
11394
11395 2005-05-12  Wim Taymans  <wim@fluendo.com>
11396
11397         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11398         Same fix as Ronald's but without the signal. 
11399
11400 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11401
11402         * gst/gstutils.c: (gst_element_query_position):
11403           No, an element is not a pad.
11404
11405 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11406
11407         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11408         (gst_bin_get_state):
11409           If a child is removed from a bin while we remove the child from
11410           the bin and while we're retrieving its state, signal this to the
11411           get_state function so we abort the wait (instead of waiting for
11412           a timeout) and can immediately re-iterate over all other elements.
11413
11414 2005-05-12  Wim Taymans  <wim@fluendo.com>
11415
11416         * gst/base/Makefile.am:
11417         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11418         (gst_basesrc_start):
11419         * gst/base/gstbasesrc.h:
11420         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11421         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11422         (gst_pushsrc_init), (gst_pushsrc_create):
11423         * gst/base/gstpushsrc.h:
11424         Added is_seekable to BaseSrc
11425         Added simple PushSrc.
11426
11427 2005-05-11  Wim Taymans  <wim@fluendo.com>
11428
11429         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11430         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11431         (gst_element_link_pads), (gst_element_query_position),
11432         (gst_element_query_convert), (intersect_caps_func),
11433         (gst_pad_query_position), (gst_pad_query_convert):
11434         Fix refcounting in utils function.
11435         No point in trying to activate a pad when it's added, it could
11436         be added from the state change function and then we deadlock, the
11437         element has to decide what to do.
11438
11439 2005-05-10  Andy Wingo  <wingo@pobox.com>
11440
11441         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11442         *all* the arguments.
11443
11444         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11445         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11446         lock (according to the docs -- if this is wrong change the docs).
11447
11448         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11449         flush messages in the NULL state.
11450
11451         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11452         message immediately and return.
11453         (gst_bus_set_flushing): New function. If a bus is flushing, it
11454         flushes out any queued messages and immediately unrefs new
11455         messages. This is so when an element goes to NULL, all of the
11456         unhandled messages coming from it can be freed, and their
11457         references to the element dropped. In other words: message source
11458         ref considered harmful :P
11459
11460         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11461         we're finished with it.
11462
11463         * gst/gstmessage.c (gst_message_new_state_changed): 
11464
11465 2005-05-10  Wim Taymans  <wim@fluendo.com>
11466
11467         * gst/gstvalue.c: (gst_value_compare_flags),
11468         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11469         (_gst_value_initialize):
11470         Added flags serialize/deserialize/compare code.
11471
11472 2005-05-09  Andy Wingo  <wingo@pobox.com>
11473
11474         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11475         Intersect the peer's caps with our caps.
11476
11477 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11478
11479         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11480         * gst/elements/gsttypefindelement.c: (find_peek):
11481           Handle negative offsets better. Fixes decodebin.
11482
11483 2005-05-09  Wim Taymans  <wim@fluendo.com>
11484
11485         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11486         (gst_base_transform_event):
11487         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11488         Implement accept_caps.
11489         Fix silly lock/unlock mismatch in base class.
11490
11491 2005-05-09  Wim Taymans  <wim@fluendo.com>
11492
11493         * docs/design/draft-push-pull.txt:
11494         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11495         * gst/elements/gstfilesink.c: (gst_filesink_init),
11496         (gst_filesink_query):
11497         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11498         (gst_type_find_handle_src_query), (find_element_get_length):
11499         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11500         * gst/gstelement.h:
11501         * gst/gstmessage.c:
11502         * gst/gstmessage.h:
11503         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11504         (gst_real_pad_get_caps_unlocked),
11505         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11506         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11507         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11508         (gst_real_pad_dispose), (gst_real_pad_finalize),
11509         (gst_pad_load_and_link), (gst_pad_save_thyself),
11510         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11511         (gst_pad_check_pull_range), (gst_pad_pull_range),
11512         (gst_pad_template_get_type), (gst_pad_template_class_init),
11513         (gst_pad_template_init), (gst_pad_template_dispose),
11514         (name_is_valid), (gst_static_pad_template_get),
11515         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11516         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11517         (gst_pad_get_element_private), (gst_pad_start_task),
11518         (gst_pad_pause_task), (gst_pad_stop_task),
11519         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11520         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11521         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11522         (gst_ghost_pad_new):
11523         * gst/gstpad.h:
11524         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11525         (gst_query_new_position), (gst_query_set_position),
11526         (gst_query_parse_position), (gst_query_new_convert),
11527         (gst_query_set_convert), (gst_query_parse_convert):
11528         * gst/gstquery.h:
11529         * gst/gstqueryutils.c:
11530         * gst/gstqueryutils.h:
11531         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11532         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11533         (gst_queue_handle_src_query):
11534         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11535         (gst_element_query_position), (gst_element_query_convert),
11536         (intersect_caps_func), (gst_pad_query_position),
11537         (gst_pad_query_convert):
11538         * gst/gstutils.h:
11539         * tools/gst-inspect.c: (print_pad_info):
11540         * tools/gst-xmlinspect.c: (print_element_info):
11541         Remove old query functions. Ported old code.
11542         Added position/convert helper functions to gstutils.
11543         Reordered gstpad.c code, grouping relevant things.
11544         Remove gst_message_new(), always need to speficy a specific
11545         message.
11546
11547
11548 2005-05-09  Andy Wingo  <wingo@pobox.com>
11549
11550         * gst/gstiterator.h: Add some includes.
11551
11552         * gst/gstqueryutils.h: Include more headers.
11553
11554         * gst/gstpad.h:
11555         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11556         some uses of gst_pad_query.
11557
11558         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11559         NULL out parameters.
11560         (gst_query_new_position): New proc, allocates a new position
11561         query.
11562
11563         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11564         gstqueryutils.c to the build.
11565
11566         * gst/gststructure.c (gst_structure_set_valist): Implement with
11567         the generic G_VALUE_COLLECT.
11568         
11569 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11570
11571         * gst/Makefile.am: (gst_headers):
11572         Added gstqueryutils.h to the list of headers to install, that was
11573         a 'nachty' move wingo :)
11574
11575 2005-05-06  Andy Wingo  <wingo@pobox.com>
11576
11577         * gst/gstquery.h
11578         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11579         GstData, init a memchunk.
11580         (standard_definitions): Add a few query types, deprecate a few.
11581         (gst_query_get_type): New proc.
11582         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11583         implementation.
11584         (gst_query_new_application, gst_query_get_structure): New public
11585         procs.
11586
11587         * docs/design/draft-query.txt: Removed LINKS from the query types,
11588         because all the rest can be dispatched to other pads -- seemed
11589         ugly to have a query that couldn't be dispatched. internal_links
11590         is fine as a pad method.
11591
11592         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11593         in gstpad.c, but maintain binary compatibility for the moment.
11594         Will fix before 0.9 is out.
11595
11596         * gst/gstqueryutils.c: 
11597         * gst/gstqueryutils.h: New files, implement 3 methods for each
11598         query type: parse_query, parse_response, and set. Probably need an
11599         allocator as well.
11600
11601         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11602
11603         * gst/elements/gstfilesink.c (gst_filesink_query2):
11604         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11605         query_types, and formats methods.
11606
11607         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11608         (gst_pad_set_query2_function): New functions.
11609         (gst_real_pad_init): Set query2_default as the default query2
11610         function. Basically just dispatches to internally linked pads.
11611
11612         Needs review!
11613         
11614         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11615         without using the atomic operations. Only one thread can possibly
11616         be accessing the data at this point. Changed so as to avoid
11617         gst_atomic operations.
11618
11619 2005-05-06  Wim Taymans  <wim@fluendo.com>
11620
11621         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11622         Also set caps if we use the fallback buffer alloc.
11623
11624 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11625
11626         * docs/gst/Makefile.am:
11627         * docs/gst/gstreamer-docs.sgml:
11628         * docs/gst/gstreamer-sections.txt:
11629         * docs/gst/tmpl/gstatomic.sgml:
11630         * docs/gst/tmpl/gstmemchunk.sgml:
11631         * testsuite/elements/struct_i386.h:
11632         * win32/GStreamer.vcproj:
11633         * win32/Makefile:
11634           Purge GstAtomic stuff from docs and win32 makefiles as well
11635
11636 2005-05-06  Wim Taymans  <wim@fluendo.com>
11637
11638         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11639         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11640         * gst/gstpad.c: (gst_pad_peer_get_caps):
11641         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11642         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11643         (gst_queue_src_activate), (gst_queue_change_state):
11644         * gst/gstqueue.h:
11645         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11646         (intersect_caps_func):
11647         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11648         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11649         Some fixes for the peer_get_caps() change.
11650
11651 2005-05-06  Wim Taymans  <wim@fluendo.com>
11652
11653         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11654         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11655         (gst_basesink_activate):
11656         Actually do something with error codes returned from the push
11657         functions.
11658
11659 2005-05-06  Wim Taymans  <wim@fluendo.com>
11660
11661         * docs/design/part-element-sink.txt:
11662         * docs/design/part-element-source.txt:
11663         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11664         (gst_basesink_event), (gst_basesink_activate):
11665         * gst/base/gstbasesink.h:
11666         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11667         (gst_basesrc_activate):
11668         * gst/base/gstbasesrc.h:
11669         * gst/gstelement.c: (gst_element_pads_activate):
11670         Some more documentation.
11671         Fixed scheduling decision in _pads_activate().
11672
11673 2005-05-05  Andy Wingo  <wingo@pobox.com>
11674
11675         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11676         the test suite.
11677
11678 2005-05-05  Wim Taymans  <wim@fluendo.com>
11679
11680         * gst/base/Makefile.am:
11681         * gst/base/gstbasesink.h:
11682         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11683         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11684         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11685         (gst_collectpads_class_init), (gst_collectpads_init),
11686         (gst_collectpads_finalize), (gst_collectpads_new),
11687         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11688         (find_pad), (gst_collectpads_remove_pad),
11689         (gst_collectpads_is_active), (gst_collectpads_collect),
11690         (gst_collectpads_collect_range), (gst_collectpads_start),
11691         (gst_collectpads_stop), (gst_collectpads_peek),
11692         (gst_collectpads_pop), (gst_collectpads_available),
11693         (gst_collectpads_read), (gst_collectpads_flush),
11694         (gst_collectpads_chain):
11695         * gst/base/gstcollectpads.h:
11696         * gst/elements/Makefile.am:
11697         * gst/elements/gstelements.c:
11698         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11699         (gst_fakesink_get_times), (gst_fakesink_event),
11700         (gst_fakesink_preroll), (gst_fakesink_render):
11701         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11702         (gst_filesink_init), (gst_filesink_set_location),
11703         (gst_filesink_open_file), (gst_filesink_close_file),
11704         (gst_filesink_pad_query), (gst_filesink_event),
11705         (gst_filesink_render), (gst_filesink_change_state):
11706         * gst/elements/gstfilesink.h:
11707         Added object to help in making collect pad based elements.
11708         Ported filesink.
11709         Make event function in sink baseclass return gboolean.
11710
11711 2005-05-05  Wim Taymans  <wim@fluendo.com>
11712
11713         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11714         (gst_bin_get_by_name):
11715         * gst/gstbuffer.h:
11716         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11717         (gst_clock_finalize):
11718         * gst/gstdata.c: (gst_data_replace):
11719         * gst/gstdata.h:
11720         * gst/gstelement.c: (gst_element_request_pad),
11721         (gst_element_pads_activate):
11722         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11723         (gst_object_unref):
11724         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11725         (gst_pad_set_checkgetrange_function),
11726         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11727         (gst_pad_check_pull_range), (gst_pad_pull_range),
11728         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11729         (gst_pad_pause_task), (gst_pad_stop_task):
11730         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11731         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11732         Fix name lookup in GstBin.
11733         Added _data_replace() function and _buffer_replace()
11734         Use finalize method to clean up clock.
11735         Fix refcounting on request pads.
11736         Fix pad schedule mode error.
11737         Some more object refcounting debug info,
11738
11739
11740 2005-05-04  Andy Wingo <wingo@pobox.com>
11741
11742         * check/Makefile.am:
11743         * docs/gst/tmpl/gstatomic.sgml:
11744         * docs/gst/tmpl/gstplugin.sgml:
11745         * gst/base/gstbasesink.c: (gst_basesink_activate):
11746         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11747         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11748         (gst_basesrc_query), (gst_basesrc_set_property),
11749         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11750         (gst_basesrc_activate):
11751         * gst/base/gstbasesrc.h:
11752         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11753         (gst_base_transform_src_activate):
11754         * gst/elements/gstelements.c:
11755         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11756         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11757         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11758         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11759         (gst_type_find_element_checkgetrange),
11760         (gst_type_find_element_activate):
11761         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11762         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11763         (gst_caps_load_thyself):
11764         * gst/gstelement.c: (gst_element_pads_activate),
11765         (gst_element_save_thyself), (gst_element_restore_thyself):
11766         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11767         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11768         * gst/gstpad.h:
11769         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11770         (gst_xml_parse_file), (gst_xml_parse_memory),
11771         (gst_xml_get_element), (gst_xml_make_element):
11772         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11773         (_file_index_id_save_xml), (gst_file_index_commit):
11774         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11775         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11776         (load_paths):
11777         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11778         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11779         * tools/gst-complete.c: (main):
11780         * tools/gst-compprep.c: (main):
11781         * tools/gst-inspect.c: (print_element_properties_info):
11782         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11783         * tools/gst-xmlinspect.c: (print_element_properties):
11784         GCC 4 fixen.
11785         
11786 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11787
11788         * gst/gstplugin.c: (gst_plugin_check_module),
11789         (gst_plugin_check_file), (gst_plugin_load_file):
11790             apply patch from #172526 to make register work on MacOSX
11791
11792 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11793
11794         * docs/gst/tmpl/gstconfig.sgml:
11795         * gst/gstconfig.h.in:
11796           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11797         * testsuite/debug/printf_extension.c: (main):
11798           Do not use GST_PTR_FORMAT on pointers to types with
11799           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11800         * testsuite/elements/property.h:
11801           use correct printf format
11802
11803 2005-05-02  Wim Taymans  <wim@fluendo.com>
11804
11805         * docs/design/draft-push-pull.txt:
11806         * docs/design/draft-query.txt:
11807         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11808         (gst_basesrc_start):
11809         Added draft for new query API.
11810         Added draft for better selecting scheduling methods.
11811         Make basesrc ignore length if the subclass does not support
11812         it.
11813
11814 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11815
11816         * gst/Makefile.am:
11817           possible fixes for automake-1.5 - _LIBADD is reserved
11818
11819 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11820
11821         * docs/faq/Makefile.am:
11822         * docs/manual/Makefile.am:
11823         * docs/manuals.mak:
11824         * docs/pwg/Makefile.am:
11825         * gst/Makefile.am:
11826           possible fixes for automake-1.5
11827
11828 2005-04-28  Wim Taymans  <wim@fluendo.com>
11829
11830         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11831         (gst_basesink_pad_getcaps), (gst_basesink_init),
11832         (gst_basesink_do_sync):
11833         * gst/gstclock.c: (gst_clock_entry_new):
11834         * gst/gstevent.c: (gst_event_discont_get_value):
11835         * gst/gstpipeline.c: (pipeline_bus_handler),
11836         (gst_pipeline_change_state):
11837         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11838         Better debugging of clocking info.
11839         Allow NULL values when getting discont values.
11840
11841 2005-04-27  Wim Taymans  <wim@fluendo.com>
11842
11843         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11844         * check/gst/gstpad.c: (gst_pad_suite):
11845         Increase timeout for checks.
11846
11847 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11848
11849         * check/Makefile.am:
11850           fix the broken rule for cleanup.  Apparently this rule is
11851           only needed on FC2, so maybe this warrants further autotool
11852           inspection.
11853
11854 2005-04-26  Wim Taymans  <wim@fluendo.com>
11855
11856         * gst/gsttrashstack.h:
11857         Ooohh. a nasty one! After having a failed pop() from the stack,
11858         it's possible that the stack is empty. In that case, don't
11859         follow the NULL pointer.
11860
11861 2005-04-25  Wim Taymans  <wim@fluendo.com>
11862
11863         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11864         (gst_pad_set_checkgetrange_function),
11865         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11866         (gst_pad_check_pull_range), (gst_pad_pull_range),
11867         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11868         (gst_pad_pause_task), (gst_pad_stop_task):
11869         * gst/gstplugin.c: (gst_plugin_load):
11870         * gst/gstplugin.h:
11871         Remove gst_library_load as it does more harm than good with
11872         the new g_module flags.
11873         Revert bogus caps template check in pad linking, pad caps
11874         are important when linking not the template, which is more
11875         general than the current caps.
11876
11877 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11878
11879         * gst/autoplug/.cvsignore:
11880         * gst/autoplug/Makefile.am:
11881         * gst/autoplug/gstsearchfuncs.c:
11882         * gst/autoplug/gstsearchfuncs.h:
11883         * gst/autoplug/gstspider.c:
11884         * gst/autoplug/gstspider.h:
11885         * gst/autoplug/gstspideridentity.c:
11886         * gst/autoplug/gstspideridentity.h:
11887         * gst/autoplug/spidertest.c:
11888           Die, spider, die.
11889
11890 2005-04-25  Wim Taymans  <wim@fluendo.com>
11891
11892         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11893         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11894         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11895         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11896         * gst/gstpad.h:
11897         Added stubs for unimplemented functions. 
11898
11899 2005-04-24  David Schleef  <ds@schleef.org>
11900
11901         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11902         please fix.
11903
11904 2005-04-24  David Schleef  <ds@schleef.org>
11905
11906         Convert everything from GstAtomicInt to g_atomic_int_*, and
11907         remove gstatomic.
11908         * gst/Makefile.am:
11909         * gst/gstatomic.c:
11910         * gst/gstatomic.h:
11911         * gst/gstatomic_impl.h:
11912         * gst/gstbuffer.c:
11913         * gst/gstcaps.c:
11914         * gst/gstcaps.h:
11915         * gst/gstclock.c:
11916         * gst/gstclock.h:
11917         * gst/gstdata.c:
11918         * gst/gstdata.h:
11919         * gst/gstdata_private.h:
11920         * gst/gstevent.c:
11921         * gst/gstinfo.c:
11922         * gst/gstinfo.h:
11923         * gst/gstmessage.c:
11924         * gst/gstobject.c:
11925         * gst/gstobject.h:
11926         * gst/gststructure.c:
11927         * gst/gststructure.h:
11928         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11929         * gst/gstutils.h:
11930
11931 2005-04-24  David Schleef  <ds@schleef.org>
11932
11933         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11934         make the regressions tests work.  Remove some code that is no
11935         longer true.
11936         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11937         Disable warning for pads without templates.
11938
11939 2005-04-24  David Schleef  <ds@schleef.org>
11940
11941         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11942         functions that handle filtered links.
11943         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11944         removed functions.
11945         * gst/gstutils.c: Fix/remove utility functions that handle
11946         filtered caps.
11947         * gst/gstutils.h:
11948         * gst/gstvalue.c: Add serialization/deserialization of caps
11949         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11950         requires fixing so that the filter caps notation creates
11951         a capsfilter element and sets the filter_caps property.  I
11952         think everyone probably wants to keep the shorthand notation.
11953         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11954         * docs/gst/tmpl/gstpad.sgml:
11955
11956         * gst/elements/gstelements.c: Register capsfilter element.
11957         * gst/Makefile.am: fix spacing
11958         * docs/random/ds/0.9-suggested-changes: random
11959
11960 2005-04-23  David Schleef  <ds@schleef.org>
11961
11962         * gst/elements/Makefile.am:
11963         * gst/elements/gstcapsfilter.c: New element that acts like an
11964         identity, but filters caps.  Will eventually replace filtered
11965         caps in pad linking.
11966         * gst/gstutils.c: (gst_element_create_all_pads): New function
11967         to create all the ALWAYS pads that are registered with an
11968         element class.  This functionality should eventually be
11969         merged in with GstElement initialization.
11970         * gst/gstutils.h:
11971         * testsuite/trigger/README: part of trigger test code that should
11972         have been checked in a long time ago.
11973
11974 2005-04-23  David Schleef  <ds@schleef.org>
11975
11976         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11977         needed with new versions of libtool (nobody will confirm this),
11978         and hard to carry around.
11979         * gst/autoplug/Makefile.am:
11980         * gst/base/Makefile.am:
11981         * gst/elements/Makefile.am:
11982         * gst/indexers/Makefile.am:
11983         * gst/schedulers/Makefile.am:
11984         * libs/gst/bytestream/Makefile.am:
11985         * libs/gst/control/Makefile.am:
11986         * libs/gst/dataprotocol/Makefile.am:
11987         * libs/gst/getbits/Makefile.am:
11988
11989 2005-04-21  Wim Taymans  <wim@fluendo.com>
11990
11991         * docs/design/draft-push-pull.txt:
11992         * docs/design/part-MT-refcounting.txt:
11993         * docs/design/part-TODO.txt:
11994         * docs/design/part-caps.txt:
11995         * docs/design/part-events.txt:
11996         * docs/design/part-gstbus.txt:
11997         * docs/design/part-gstpipeline.txt:
11998         * docs/design/part-messages.txt:
11999         * docs/design/part-push-pull.txt:
12000         * docs/design/part-query.txt:
12001         Some more docs.
12002
12003 2005-04-21  Wim Taymans  <wim@fluendo.com>
12004
12005         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12006         (gst_message_new), (gst_message_new_error),
12007         (gst_message_new_warning), (gst_message_new_tag),
12008         (gst_message_new_state_changed), (gst_message_new_application),
12009         (gst_message_get_structure):
12010         * gst/gstmessage.h:
12011         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12012         (gst_structure_copy_conditional):
12013         Use parent refcount in GstMessage to ensure GstStructure
12014         consistency.
12015         Cleaned up headers a bit.
12016         
12017
12018 2005-04-20  Wim Taymans  <wim@fluendo.com>
12019
12020         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12021         (gst_basesink_pad_getcaps), (gst_basesink_init),
12022         (gst_basesink_chain_unlocked):
12023         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12024         (gst_type_find_helper):
12025         * gst/elements/gsttypefindelement.c:
12026         (gst_type_find_element_have_type), (gst_type_find_element_init),
12027         (stop_typefinding), (gst_type_find_element_handle_event),
12028         (find_suggest), (gst_type_find_element_chain),
12029         (gst_type_find_element_checkgetrange),
12030         (gst_type_find_element_getrange), (do_typefind),
12031         (gst_type_find_element_activate):
12032         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12033         (gst_buffer_default_free), (gst_buffer_default_copy),
12034         (gst_buffer_set_caps):
12035         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12036         (gst_caps_replace):
12037         * gst/gstmessage.c: (gst_message_new),
12038         (gst_message_new_state_changed):
12039         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12040         (gst_pad_set_checkgetrange_function),
12041         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12042         (gst_pad_set_caps), (gst_pad_check_pull_range),
12043         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12044         * gst/gstpad.h:
12045         * gst/gsttypefind.c: (gst_type_find_register):
12046         Make gst_caps_replace() work like other _replace() functions.
12047         Use _caps_replace() where possible.
12048         Make sure _message_new() initialises its field.
12049         Add gst_static_pad_template_get_caps()
12050
12051
12052 2005-04-18  Andy Wingo  <wingo@pobox.com>
12053
12054         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12055         on the peer, not the pad. I think that was a typo. Pass an extra
12056         arg to see if random access is possible. Activate the pads as
12057         PULL_RANGE if possible.
12058
12059         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12060
12061         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12062         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12063         to PROP_....
12064
12065 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12066
12067         * docs/faq/using.xml:
12068           Add note on gstreamer-properties (#154996).
12069
12070 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12071
12072         * docs/random/bbb/optional-properties:
12073           Some analysis on optional properties.
12074
12075 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12076
12077         * docs/gst/tmpl/gstelementfactory.sgml:
12078         * gst/gstelement.h:
12079         * gst/gstelementfactory.c: (gst_element_factory_init),
12080         (gst_element_factory_cleanup), (gst_element_register),
12081         (__gst_element_factory_add_static_pad_template),
12082         (gst_element_factory_get_static_pad_templates),
12083         (gst_element_factory_can_src_caps),
12084         (gst_element_factory_can_sink_caps):
12085         * gst/registries/Makefile.am:
12086         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12087         (gst_xml_registry_class_init), (gst_xml_registry_init),
12088         (gst_xml_registry_new), (gst_xml_registry_set_property),
12089         (gst_xml_registry_get_property), (get_time), (make_dir),
12090         (gst_xml_registry_get_perms_func),
12091         (plugin_times_older_than_recurse), (plugin_times_older_than),
12092         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12093         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12094         (add_to_char_array), (read_string), (read_uint), (read_enum),
12095         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12096         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12097         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12098         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12099         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12100         (gst_xml_registry_rebuild):
12101         * gst/registries/gstlibxmlregistry.h:
12102         * tools/gst-compprep.c: (main):
12103         * tools/gst-inspect.c: (print_pad_templates_info):
12104         * tools/gst-xmlinspect.c: (print_element_info):
12105           Use libxml2 for registry parsing, use staticpadtemplates in
12106           elementfactories. Makes gst_init() +/- 10x faster.
12107
12108 2005-04-12  Wim Taymans  <wim@fluendo.com>
12109
12110         * gst/base/Makefile.am:
12111         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12112         (gst_basesink_pad_getcaps), (gst_basesink_init),
12113         (gst_basesink_event), (gst_basesink_change_state):
12114         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12115         (gst_basesrc_init), (gst_basesrc_query),
12116         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12117         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12118         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12119         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12120         (gst_basesrc_stop), (gst_basesrc_activate),
12121         (gst_basesrc_change_state):
12122         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12123         (helper_find_suggest), (gst_type_find_helper):
12124         * gst/base/gsttypefindhelper.h:
12125         * gst/elements/Makefile.am:
12126         * gst/elements/gstelements.c:
12127         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12128         (gst_fakesink_get_times), (gst_fakesink_event),
12129         (gst_fakesink_preroll), (gst_fakesink_render):
12130         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12131         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12132         (gst_fakesrc_get_property), (gst_fakesrc_create),
12133         (gst_fakesrc_start), (gst_fakesrc_stop):
12134         * gst/elements/gstfakesrc.h:
12135         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12136         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12137         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12138         (gst_filesrc_create_read), (gst_filesrc_create),
12139         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12140         (gst_filesrc_start):
12141         * gst/elements/gsttypefindelement.c:
12142         (gst_type_find_element_have_type), (gst_type_find_element_init),
12143         (start_typefinding), (stop_typefinding), (push_buffer_store),
12144         (gst_type_find_element_handle_event),
12145         (gst_type_find_element_chain),
12146         (gst_type_find_element_checkgetrange),
12147         (gst_type_find_element_getrange), (do_typefind),
12148         (gst_type_find_element_activate),
12149         (gst_type_find_element_change_state):
12150         * gst/elements/gsttypefindelement.h:
12151         * gst/gstpipeline.c: (pipeline_bus_handler):
12152         Added typefind helper.
12153         Small preroll fix in the base sink.
12154         Disable typefind code in basesrc.
12155         Crude port of typefindelement.
12156         Fakesrc cleanups.
12157
12158
12159 2005-04-11  Wim Taymans  <wim@fluendo.com>
12160
12161         * check/gst/gstbus.c: (gstbus_suite):
12162         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12163         * check/gstcheck.h:
12164           Fix up the timeout so that the test does not fail.
12165
12166 2005-04-06  Wim Taymans  <wim@fluendo.com>
12167
12168         * gst/base/README:
12169         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12170         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12171         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12172         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12173         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12174         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12175         (gst_basesrc_stop), (gst_basesrc_activate),
12176         (gst_basesrc_change_state), (basesrc_find_peek),
12177         (basesrc_find_suggest), (gst_basesrc_type_find):
12178         * gst/base/gstbasesrc.h:
12179         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12180         (gst_filesrc_class_init), (gst_filesrc_init),
12181         (gst_filesrc_finalize), (gst_filesrc_set_location),
12182         (gst_filesrc_set_property), (gst_filesrc_get_property),
12183         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12184         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12185         (gst_filesrc_create_read), (gst_filesrc_create),
12186         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12187         * gst/elements/gstfilesrc.h:
12188         * gst/gstelement.c: (gst_element_get_state_func),
12189         (gst_element_lost_state), (gst_element_pads_activate):
12190         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12191         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12192         (gst_pad_pull_range):
12193         * gst/gstpad.h:
12194         More work on the generic source base class, implement seeking,
12195         query.
12196         Make filesrc extend the base source class.
12197         Added gst_pad_set_checkgetrange_function to GstPad.
12198
12199 2005-04-06  Andy Wingo  <wingo@pobox.com>
12200
12201         * pkgconfig/gstreamer-base.pc.in:
12202         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12203
12204         * pkgconfig/Makefile.am:
12205         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12206
12207 2005-04-04  Wim Taymans  <wim@fluendo.com>
12208
12209         * gst/base/Makefile.am:
12210         * gst/base/README:
12211         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12212         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12213         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12214         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12215         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12216         (gst_basesrc_base_init), (gst_basesrc_class_init),
12217         (gst_basesrc_init), (gst_basesrc_get_formats),
12218         (gst_basesrc_get_query_types), (gst_basesrc_query),
12219         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12220         (gst_basesrc_set_property), (gst_basesrc_get_property),
12221         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12222         (gst_basesrc_loop), (gst_basesrc_activate),
12223         (gst_basesrc_change_state):
12224         * gst/base/gstbasesrc.h:
12225         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12226         (gst_fakesrc_class_init), (gst_fakesrc_init),
12227         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12228         (gst_fakesrc_get_property), (gst_fakesrc_create):
12229         * gst/elements/gstfakesrc.h:
12230         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12231         (gst_filesrc_open_file), (gst_filesrc_loop),
12232         (gst_filesrc_activate), (filesrc_find_peek),
12233         (gst_filesrc_type_find):
12234         Made base source class, make fakesrc extend it.
12235         Add comments to basesink class.
12236         Some filesrc cleanup.
12237
12238 2005-03-31  David Schleef  <ds@schleef.org>
12239
12240         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12241         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12242         expected to link against libgstreamer.
12243         * gst/base/Makefile.am: link against libgstreamer
12244         * gst/elements/Makefile.am: same
12245
12246 2005-03-31  Andy Wingo  <wingo@pobox.com>
12247
12248         * tests/instantiate/Makefile.am:
12249         * tests/instantiate/caps.c: Add test to test speed of caps copy
12250         and free.
12251
12252         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12253         GMemChunk to be fair.
12254
12255         * gst/gsttrashstack.h: Remove warning about using the fallback
12256         trash stack implementation, it's still faster than malloc.
12257
12258 2005-03-30  Andy Wingo  <wingo@pobox.com>
12259
12260         * tests/complexity.c: Add a copyright.
12261
12262 2005-03-31  Wim Taymans  <wim@fluendo.com>
12263
12264         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12265         (gst_base_transform_class_init), (gst_base_transform_init),
12266         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12267         (gst_base_transform_get_property),
12268         (gst_base_transform_sink_activate),
12269         (gst_base_transform_src_activate),
12270         (gst_base_transform_change_state):
12271         * gst/base/gstbasetransform.h:
12272         * gst/elements/gstidentity.c: (gst_identity_class_init),
12273         (gst_identity_event), (gst_identity_check_perfect),
12274         (gst_identity_transform), (gst_identity_start),
12275         (gst_identity_stop):
12276         Added start/stop methods to transform base class so subclasses 
12277         don't need to deal with state changes even.
12278
12279 2005-03-31  Wim Taymans  <wim@fluendo.com>
12280
12281         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12282         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12283         * gst/gstevent.h:
12284         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12285         (gst_pad_pull_range):
12286         Added rate to the discont event to prepare for variable speed
12287         and reverse playback.
12288
12289 2005-03-29  David Schleef  <ds@schleef.org>
12290
12291         * configure.ac:
12292         * testsuite/trigger/Makefile.am:
12293         * testsuite/trigger/trigger.c: A little example program to show
12294         how trigger-based elements can work.
12295
12296 2005-03-29  Wim Taymans  <wim@fluendo.com>
12297
12298         * gst/base/Makefile.am:
12299         * gst/base/README:
12300         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12301         (gst_basesink_base_init), (gst_basesink_class_init),
12302         (gst_basesink_pad_getcaps), (gst_basesink_init),
12303         (gst_basesink_activate), (gst_basesink_change_state):
12304         * gst/base/gstbasesink.h:
12305         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12306         (gst_base_transform_base_init), (gst_base_transform_finalize),
12307         (gst_base_transform_class_init), (gst_base_transform_init),
12308         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12309         (gst_base_transform_event), (gst_base_transform_getrange),
12310         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12311         (gst_base_transform_set_property),
12312         (gst_base_transform_get_property),
12313         (gst_base_transform_sink_activate),
12314         (gst_base_transform_src_activate),
12315         (gst_base_transform_change_state):
12316         * gst/base/gstbasetransform.h:
12317         * gst/elements/gstidentity.c: (gst_identity_finalize),
12318         (gst_identity_class_init), (gst_identity_init),
12319         (gst_identity_event), (gst_identity_check_perfect),
12320         (gst_identity_transform), (gst_identity_set_property),
12321         (gst_identity_get_property), (gst_identity_change_state):
12322         * gst/elements/gstidentity.h:
12323         * gst/gstelement.c: (gst_element_get_state_func),
12324         (gst_element_lost_state), (gst_element_pads_activate):
12325         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12326         (gst_pad_check_pull_range), (gst_pad_pull_range):
12327         * gst/gstpad.h:
12328         Simplify pad activation.
12329         Added function to check if pull_range can be performed.
12330         Error out when pulling inactive or flushing pads.
12331         Removed const from refcounted types as it does not make sense.
12332         Simplify pad templates in basesink
12333         Added base class for simple 1-to-1 transforms.
12334         Make identity subclass the base transform.
12335
12336 2005-03-29  Andy Wingo  <wingo@pobox.com>
12337
12338         * docs/libs/gstreamer-libs-overrides.txt: 
12339         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12340         really don't understand what's going on, but like whatever. I want
12341         green buildbot!
12342
12343         * docs/gst/Makefile.am:
12344         * docs/libs/Makefile.am: Dist the overrides files.
12345
12346         * check/Makefile.am (clean-local): Remove .libs directories.
12347
12348         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12349         elements to EXTRA_DIST, so po/ files are happy.
12350
12351         * po/POTFILES.in: Er, remove it here.
12352
12353         * po/POTFILES: Remove gstspider.c.
12354
12355         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12356
12357         * docs/libs/gstreamer-libs-docs.sgml: 
12358         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12359         bytestream.
12360
12361         * tests/complexity.c (main): Set the length of the preroll queue
12362         on the sinks to prevent a lockup.
12363
12364         * libs/gst/dataprotocol/Makefile.am: 
12365         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12366         the same as the one in check/gst-libs/gdp.c.
12367
12368         * po/, docs/gst/: Commit automatic changes to docs and po files.
12369
12370         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12371         the versioned libgstbase.
12372
12373         * check/Makefile.am: Depend on an unversioned gst-register, seems
12374         to make autoconf happier.
12375
12376         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12377
12378 2005-03-28  Wim Taymans  <wim@fluendo.com>
12379
12380         * configure.ac:
12381         * docs/design/part-gstelement.txt:
12382         * docs/design/part-negotiation.txt:
12383         * docs/design/part-preroll.txt:
12384         * docs/design/part-scheduling.txt:
12385         * docs/design/part-states.txt:
12386         * gst/Makefile.am:
12387         * gst/base/Makefile.am:
12388         * gst/base/README:
12389         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12390         (gst_basesink_base_init), (gst_basesink_class_init),
12391         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12392         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12393         (gst_basesink_set_pad_functions),
12394         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12395         (gst_basesink_set_property), (gst_basesink_get_property),
12396         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12397         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12398         (gst_basesink_preroll_queue_push),
12399         (gst_basesink_preroll_queue_empty),
12400         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12401         (gst_basesink_event), (gst_basesink_get_times),
12402         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12403         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12404         (gst_basesink_loop), (gst_basesink_activate),
12405         (gst_basesink_change_state):
12406         * gst/base/gstbasesink.h:
12407         * gst/elements/Makefile.am:
12408         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12409         (gst_fakesink_class_init), (gst_fakesink_init),
12410         (gst_fakesink_set_property), (gst_fakesink_get_property),
12411         (gst_fakesink_get_times), (gst_fakesink_event),
12412         (gst_fakesink_preroll), (gst_fakesink_render),
12413         (gst_fakesink_change_state):
12414         * gst/elements/gstfakesink.h:
12415         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12416         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12417         * gst/gstelement.c: (gst_element_add_pad),
12418         (gst_element_get_state_func), (gst_element_abort_state),
12419         (gst_element_commit_state), (gst_element_lost_state),
12420         (gst_element_set_state), (gst_element_pads_activate):
12421         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12422         * gst/gstpipeline.c: (gst_pipeline_send_event),
12423         (gst_pipeline_change_state):
12424         Added state change code.
12425         Added/updated docs.
12426         Added sink base class, make fakesink extend the base class.
12427         Small cleanups in GstPipeline.
12428
12429 2005-03-26  David Schleef  <ds@schleef.org>
12430
12431         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12432         is broken and should be implemented in a different library.
12433         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12434         * gst/gst.h: remove gstcpu.h
12435         * gst/gstcpu.c: remove
12436         * gst/gstcpu.h: remove
12437         * gst/Makefile.am.future: Remove this file.  It's ancient.
12438
12439 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12440
12441         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12442         (gst_bin_send_event):
12443           Add default event/set_manager handlers. The set_manager handler
12444           takes care that the manager is distributed over kids that were
12445           already in the bin before the manager was set. The event handler
12446           is a utility virtual function that sends the event over all sinks,
12447           so that gst_element_send_event (bin, event); has the expected
12448           behaviour.
12449         * gst/gstpad.c: (gst_pad_event_default):
12450           Re-install default event handling for discontinuities, so that
12451           seeking works without requiring hacks in applications or extra
12452           code in sinks.
12453         * gst/gstpipeline.c: (gst_pipeline_class_init),
12454         (gst_pipeline_send_event):
12455           Half hack, half utility: set a pipeline to PAUSED for seek events,
12456           since that is the only way we can guarantee a/v sync. Means that
12457           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12458           and it "just works".
12459
12460 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12461
12462         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12463           Lock/unlock mismatch.
12464
12465 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12466
12467         * docs/faq/gst-uninstalled:
12468           add gst-plugins-base
12469         * docs/gst/Makefile.am:
12470           don't error out until docs are fixed
12471         * docs/gst/gstreamer.types:
12472           remove thread
12473
12474 2005-03-22  Wim Taymans  <wim@fluendo.com>
12475
12476         * check/Makefile.am:
12477         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12478         * gst/gststructure.c: (gst_structure_set_valist),
12479         (gst_structure_copy_conditional):
12480         Activated more tests.
12481         Added message test.
12482         Added G_TYPE_POINTER to GstStructure.
12483         
12484
12485 2005-03-22  Wim Taymans  <wim@fluendo.com>
12486
12487         * docs/design/part-TODO.txt:
12488         * docs/design/part-events.txt:
12489         * docs/design/part-gstbin.txt:
12490         * docs/design/part-gstbus.txt:
12491         * docs/design/part-gstpipeline.txt:
12492         * docs/design/part-messages.txt:
12493         * gst/gstbus.c:
12494         * gst/gstmessage.c:
12495         Docs updates
12496
12497 2005-03-21  Wim Taymans  <wim@fluendo.com>
12498
12499         * gst/gstbus.c: (gst_bus_post):
12500         Fix copy-and-paste error.
12501
12502 2005-03-21  Wim Taymans  <wim@fluendo.com>
12503
12504         * check/Makefile.am:
12505         * gst/Makefile.am:
12506         * gst/elements/Makefile.am:
12507         * gst/elements/gstelements.c:
12508         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12509         (gst_fakesink_event), (gst_fakesink_chain):
12510         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12511         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12512         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12513         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12514         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12515         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12516         (gst_fakesrc_loop), (gst_fakesrc_activate),
12517         (gst_fakesrc_change_state):
12518         * gst/elements/gstfakesrc.h:
12519         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12520         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12521         (gst_filesrc_open_file), (gst_filesrc_loop),
12522         (gst_filesrc_activate), (gst_filesrc_change_state),
12523         (filesrc_find_peek), (filesrc_find_suggest),
12524         (gst_filesrc_type_find):
12525         * gst/elements/gstidentity.c: (gst_identity_finalize),
12526         (gst_identity_class_init), (gst_identity_init),
12527         (gst_identity_proxy_getcaps), (identity_queue_push),
12528         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12529         (gst_identity_getrange), (gst_identity_chain),
12530         (gst_identity_sink_loop), (gst_identity_src_loop),
12531         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12532         (gst_identity_set_property), (gst_identity_get_property),
12533         (gst_identity_change_state):
12534         * gst/elements/gstidentity.h:
12535         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12536         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12537         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12538         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12539         (gst_tee_sink_activate):
12540         * gst/elements/gsttee.h:
12541         * gst/gst.c: (gst_register_core_elements), (init_post):
12542         * gst/gst.h:
12543         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12544         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12545         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12546         (gst_bin_change_state):
12547         * gst/gstbin.h:
12548         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12549         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12550         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12551         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12552         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12553         (bus_watch_callback), (bus_watch_destroy),
12554         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12555         (poll_timeout), (gst_bus_poll):
12556         * gst/gstbus.h:
12557         * gst/gstcaps.h:
12558         * gst/gstdata.h:
12559         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12560         (gst_element_post_message), (gst_element_message_full),
12561         (gst_element_get_state_func), (gst_element_get_state),
12562         (gst_element_abort_state), (gst_element_commit_state),
12563         (gst_element_lost_state), (gst_element_set_state),
12564         (gst_element_pads_activate), (gst_element_change_state),
12565         (gst_element_dispose), (gst_element_set_manager_func),
12566         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12567         (gst_element_set_manager), (gst_element_get_manager),
12568         (gst_element_set_bus), (gst_element_get_bus),
12569         (gst_element_set_scheduler), (gst_element_get_scheduler):
12570         * gst/gstelement.h:
12571         * gst/gstevent.c: (gst_event_new_segment_seek),
12572         (gst_event_new_flush):
12573         * gst/gstevent.h:
12574         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12575         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12576         (gst_message_new_eos), (gst_message_new_error),
12577         (gst_message_new_warning), (gst_message_new_tag),
12578         (gst_message_new_state_changed), (gst_message_new_application),
12579         (gst_message_get_structure), (gst_message_parse_tag),
12580         (gst_message_parse_state_changed), (gst_message_parse_error),
12581         (gst_message_parse_warning):
12582         * gst/gstmessage.h:
12583         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12584         (gst_real_pad_set_property), (gst_pad_set_active),
12585         (gst_pad_is_active), (gst_pad_set_blocked_async),
12586         (gst_pad_set_blocked), (gst_pad_is_blocked),
12587         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12588         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12589         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12590         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12591         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12592         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12593         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12594         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12595         (gst_pad_set_caps), (gst_pad_configure_sink),
12596         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12597         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12598         (gst_real_pad_dispose), (gst_real_pad_finalize),
12599         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12600         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12601         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12602         * gst/gstpad.h:
12603         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12604         (pipeline_bus_handler), (gst_pipeline_change_state),
12605         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12606         * gst/gstpipeline.h:
12607         * gst/gstprobe.h:
12608         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12609         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12610         (gst_queue_link_src), (gst_queue_bufferalloc),
12611         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12612         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12613         (gst_queue_loop), (gst_queue_handle_src_event),
12614         (gst_queue_handle_src_query), (gst_queue_src_activate),
12615         (gst_queue_change_state):
12616         * gst/gstqueue.h:
12617         * gst/gstscheduler.c: (gst_scheduler_init),
12618         (gst_scheduler_dispose), (gst_scheduler_create_task),
12619         (gst_scheduler_factory_create):
12620         * gst/gstscheduler.h:
12621         * gst/gststructure.c: (gst_structure_get_type),
12622         (gst_structure_copy_conditional):
12623         * gst/gststructure.h:
12624         * gst/gsttaginterface.h:
12625         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12626         (gst_task_init), (gst_task_dispose), (gst_task_create),
12627         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12628         (gst_task_pause):
12629         * gst/gsttask.h:
12630         * gst/gstthread.c:
12631         * gst/gstthread.h:
12632         * gst/gsttypes.h:
12633         * gst/schedulers/Makefile.am:
12634         * gst/schedulers/cothreads_compat.h:
12635         * gst/schedulers/entryscheduler.c:
12636         * gst/schedulers/faircothreads.c:
12637         * gst/schedulers/faircothreads.h:
12638         * gst/schedulers/fairscheduler.c:
12639         * gst/schedulers/gstbasicscheduler.c:
12640         * gst/schedulers/gstoptimalscheduler.c:
12641         * gst/schedulers/gthread-cothreads.h:
12642         * gst/schedulers/threadscheduler.c:
12643         (gst_thread_scheduler_task_get_type),
12644         (gst_thread_scheduler_task_class_init),
12645         (gst_thread_scheduler_task_init),
12646         (gst_thread_scheduler_task_start),
12647         (gst_thread_scheduler_task_stop),
12648         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12649         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12650         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12651         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12652         (plugin_init):
12653         * libs/gst/Makefile.am:
12654         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12655         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12656         (gst_file_pad_parent_set):
12657         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12658         (gst_dp_event_from_packet):
12659         * tests/complexity.c: (main):
12660         * tests/mass_elements.c: (main):
12661         * testsuite/states/locked.c: (message_received), (main):
12662         * testsuite/states/parent.c: (main):
12663         * tools/gst-inspect.c: (print_element_flag_info),
12664         (print_implementation_info), (print_pad_info):
12665         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12666         (main):
12667         * tools/gst-md5sum.c: (event_loop), (main):
12668         * tools/gst-typefind.c: (main):
12669         * tools/gst-xmlinspect.c: (print_element_info):
12670         Next big merge.
12671         Added GstBus for mainloop integration.
12672         Added GstMessage for sending notifications on the bus.
12673         Added GstTask as an abstraction for pipeline entry points.
12674         Removed GstThread.
12675         Removed Schedulers.
12676         Simplified GstQueue for multithreaded core.
12677         Made _link threadsafe, removed old capsnego.
12678         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12679         Added pad blocking functions.
12680         Reworked scheduling functions in GstPad to prepare for
12681         scheduling updates soon.
12682         Moved events out of data stream.
12683         Simplified GstEvent types.
12684         Added return values to push/pull.
12685         Removed clocking from GstElement.
12686         Added prototypes for state change function for next merge.
12687         Removed iterate from bins and state change management.
12688         Fixed some elements, disabled others for now.
12689         Fixed -inspect and -launch.
12690         Added check for GstBus.
12691
12692 2005-03-10  Wim Taymans  <wim@fluendo.com>
12693
12694         * docs/design/part-MT-refcounting.txt:
12695         * docs/design/part-clocks.txt:
12696         * docs/design/part-gstelement.txt:
12697         * docs/design/part-gstobject.txt:
12698         * docs/design/part-standards.txt:
12699         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12700         (gst_bin_remove_func), (gst_bin_remove):
12701         * gst/gstbin.h:
12702         * gst/gstbuffer.c:
12703         * gst/gstcaps.h:
12704         * testsuite/clock/clock1.c: (main):
12705         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12706         (main):
12707         * testsuite/dlopen/loadgst.c: (do_test):
12708         * testsuite/refcounting/bin.c: (add_remove_test1),
12709         (add_remove_test2), (main):
12710         * testsuite/refcounting/element.c: (main):
12711         * testsuite/refcounting/element_pad.c: (main):
12712         * testsuite/refcounting/pad.c: (main):
12713         * tools/gst-launch.c: (sigint_handler_sighandler):
12714         * tools/gst-typefind.c: (main):
12715         Doc updates.
12716         Added doc about clock.
12717         removed gst_bin_iterate_recurse_up(), marked methods
12718         for removal.
12719         Fix more testsuites.
12720
12721 2005-03-09  Wim Taymans  <wim@fluendo.com>
12722
12723         * gst/gstpad.c: (gst_pad_get_direction),
12724         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12725         (gst_pad_collect_valist):
12726         * testsuite/bins/interface.c: (main):
12727         * testsuite/caps/audioscale.c: (test_caps):
12728         * testsuite/caps/caps.c: (test1), (test2), (test3):
12729         * testsuite/caps/deserialize.c: (main):
12730         * testsuite/caps/enumcaps.c: (main):
12731         * testsuite/caps/filtercaps.c: (main):
12732         * testsuite/caps/intersect2.c: (main):
12733         * testsuite/caps/random.c: (main):
12734         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12735         * testsuite/caps/sets.c: (check_caps):
12736         * testsuite/caps/simplify.c: (check_caps), (main):
12737         * testsuite/caps/subtract.c: (check_caps):
12738         Fix _pad_get_direction wrt ghostpads.
12739         Fix caps testsuite.
12740
12741 2005-03-09  Wim Taymans  <wim@fluendo.com>
12742
12743         * check/Makefile.am:
12744         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12745         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12746         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12747         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12748         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12749         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12750         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12751         (bin_element_is_sink), (gst_bin_iterate_sinks),
12752         (gst_bin_iterate_all_by_interface):
12753         * gst/gstbin.h:
12754         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12755         (gst_element_change_state), (gst_element_dispose),
12756         (gst_element_finalize), (gst_element_set_loop_function):
12757         * gst/gstelement.h:
12758         * gst/gstiterator.c: (find_custom_fold_func):
12759         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12760         (gst_pad_collectv), (gst_pad_collect_valist),
12761         (gst_pad_template_new):
12762         * gst/gstpipeline.c: (gst_pipeline_class_init),
12763         (gst_pipeline_dispose), (gst_pipeline_set_property),
12764         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12765         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12766         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12767         * gst/gstutils.h:
12768         * gst/schedulers/entryscheduler.c:
12769         * gst/schedulers/gstbasicscheduler.c:
12770         (gst_basic_scheduler_cothreaded_chain),
12771         (gst_basic_scheduler_chain_add_element):
12772         * testsuite/bins/interface.c: (main):
12773         Added GstBin test.
12774         Added GstSystemClock test.
12775         Implemented clock distribution code in GstBin.
12776         Implemented iterate sinks method for future use.
12777         Rearranged gstelement.h
12778         Fix GstIterator comparison bug.
12779         Moved some code to GstPipeline, mostly clocking related.
12780
12781 2005-03-09  Wim Taymans  <wim@fluendo.com>
12782
12783         * configure.ac:
12784         * gst/gst_private.h:
12785         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12786         (gst_bin_remove_func), (gst_bin_remove),
12787         (gst_bin_get_by_name_recurse_up):
12788         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12789         (gst_clock_id_compare_func), (gst_clock_id_wait),
12790         (gst_clock_id_wait_async), (gst_clock_init),
12791         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12792         * gst/gstelement.h:
12793         * gst/gstinfo.c: (_gst_debug_init):
12794         * gst/gstobject.h:
12795         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12796         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12797         * gst/gstpad.h:
12798         Bump version number, we're now 0.9.0
12799         Add future debugging category.
12800         Fix NULL _unref() in _get_by_name_recurse_up
12801         Rearrange gstpad.h.
12802         Update some docs.
12803
12804 2005-03-08  Wim Taymans  <wim@fluendo.com>
12805
12806         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12807         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12808         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12809         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12810         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12811         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12812         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12813         * gst/elements/gstidentity.c: (gst_identity_class_init):
12814         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12815         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12816         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12817         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12818         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12819         (gst_tee_link):
12820         * gst/gstelement.c: (gst_element_class_init),
12821         (gst_element_base_class_init), (gst_element_init),
12822         (gst_element_get_random_pad), (gst_element_wait_state_change),
12823         (gst_element_change_state), (gst_element_dispose),
12824         (gst_element_finalize), (gst_element_set_loop_function):
12825         * gst/gstelement.h:
12826         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12827         * gst/gstthread.c: (gst_thread_class_init),
12828         (gst_thread_release_children_locks), (gst_thread_change_state):
12829         * gst/schedulers/gstbasicscheduler.c:
12830         (gst_basic_scheduler_loopfunc_wrapper),
12831         (gst_basic_scheduler_chain_wrapper),
12832         (gst_basic_scheduler_src_wrapper),
12833         (gst_basic_scheduler_remove_element):
12834         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12835         Remove threadsafe properties. Fix elements because GObject
12836         complains when installing a property before declaring a
12837         set/get_property handler.
12838         Rearrange gstelement.h file, use STATE macros for state locks.
12839         Free mutexes in the finalize method instead of dispose.
12840
12841 2005-03-08  Wim Taymans  <wim@fluendo.com>
12842
12843         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12844         * gst/gstthread.c: (gst_thread_release_children_locks):
12845         Added parentage check.
12846         Fix build og GstThread again.
12847
12848 2005-03-08  Wim Taymans  <wim@fluendo.com>
12849
12850         * docs/design/part-MT-refcounting.txt:
12851         * docs/design/part-conventions.txt:
12852         * docs/design/part-gstobject.txt:
12853         * docs/design/part-relations.txt:
12854         * docs/design/part-standards.txt:
12855         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12856         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12857         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12858         (gst_bin_iterate_all_by_interface):
12859         * gst/gstbuffer.h:
12860         * gst/gstclock.h:
12861         * gst/gstelement.c: (gst_element_class_init),
12862         (gst_element_change_state), (gst_element_set_loop_function):
12863         * gst/gstelement.h:
12864         * gst/gstiterator.c:
12865         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12866         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12867         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12868         (gst_object_set_parent), (gst_object_unparent),
12869         (gst_object_check_uniqueness):
12870         * gst/gstobject.h:
12871         Docs updates, clean up some headers.
12872
12873 2005-03-07  Wim Taymans  <wim@fluendo.com>
12874
12875         * check/.cvsignore:
12876         * check/Makefile.am:
12877         * check/gst-libs/.cvsignore:
12878         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12879         * check/gst/.cvsignore:
12880         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12881         (START_TEST), (gstbus_suite), (main):
12882         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12883         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12884         (gst_data_suite), (main):
12885         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12886         (add_fold_func), (gstiterator_suite), (main):
12887         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12888         (thread_name_object), (thread_name_object_default),
12889         (gst_object_name_compare), (gst_object_suite), (main):
12890         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12891         (gst_pad_suite), (main):
12892         * check/gstcheck.c: (gst_check_log_message_func),
12893         (gst_check_log_critical_func), (gst_check_init):
12894         * check/gstcheck.h:
12895         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12896         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12897         Added checks.
12898
12899 2005-03-07  Wim Taymans  <wim@fluendo.com>
12900
12901         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12902         (gst_list_iterator_next), (gst_list_iterator_resync),
12903         (gst_list_iterator_free), (gst_iterator_new_list),
12904         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12905         (gst_iterator_free), (gst_iterator_push), (filter_next),
12906         (filter_resync), (filter_uninit), (filter_free),
12907         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12908         (gst_iterator_foreach), (find_custom_fold_func),
12909         (gst_iterator_find_custom):
12910         * gst/gstiterator.h:
12911         Added missing files.
12912
12913 2005-03-07  Wim Taymans  <wim@fluendo.com>
12914
12915         * Makefile.am:
12916         * configure.ac:
12917         * docs/design/part-MT-refcounting.txt:
12918         * docs/design/part-conventions.txt:
12919         * docs/design/part-gstobject.txt:
12920         * docs/design/part-relations.txt:
12921         * examples/mixer/mixer.c: (main):
12922         * examples/thread/thread.c: (eos), (main):
12923         * gst/Makefile.am:
12924         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12925         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12926         (gst_spider_plug_from_srcpad):
12927         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12928         (gst_spider_identity_change_state),
12929         (gst_spider_identity_sink_loop_type_finding):
12930         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12931         * gst/elements/gstidentity.c: (gst_identity_init):
12932         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12933         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12934         * gst/elements/gsttypefindelement.c: (free_entry):
12935         * gst/gst.c:
12936         * gst/gst.h:
12937         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12938         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12939         (gst_bin_set_index), (gst_bin_set_element_sched),
12940         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12941         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12942         (gst_bin_iterate_elements), (iterate_child_recurse),
12943         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12944         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12945         (compare_interface), (gst_bin_get_by_interface),
12946         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12947         * gst/gstbin.h:
12948         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12949         (gst_buffer_default_free), (gst_buffer_default_copy),
12950         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12951         (gst_buffer_create_sub):
12952         * gst/gstbuffer.h:
12953         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12954         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12955         (gst_caps_unref), (gst_static_caps_get),
12956         (gst_caps_remove_and_get_structure), (gst_caps_append),
12957         (gst_caps_append_structure), (gst_caps_remove_structure),
12958         (gst_caps_copy_nth), (gst_caps_set_simple),
12959         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12960         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12961         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12962         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12963         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12964         (gst_caps_structure_figure_out_union),
12965         (gst_caps_switch_structures), (gst_caps_do_simplify),
12966         (gst_caps_replace), (gst_caps_from_string),
12967         (gst_caps_copy_conditional):
12968         * gst/gstcaps.h:
12969         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12970         (_gst_clock_id_free), (gst_clock_id_unref),
12971         (gst_clock_id_compare_func), (gst_clock_id_wait),
12972         (gst_clock_id_wait_async), (gst_clock_class_init),
12973         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12974         (gst_clock_get_time), (gst_clock_set_time_adjust),
12975         (gst_clock_set_property), (gst_clock_get_property):
12976         * gst/gstclock.h:
12977         * gst/gstcompat.h:
12978         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12979         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12980         * gst/gstdata.h:
12981         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12982         (gst_element_requires_clock), (gst_element_provides_clock),
12983         (gst_element_set_clock), (gst_element_clock_wait),
12984         (gst_element_wait), (gst_element_set_time_delay),
12985         (gst_element_is_indexable), (gst_element_add_pad),
12986         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12987         (pad_compare_name), (gst_element_get_static_pad),
12988         (gst_element_request_pad), (gst_element_get_request_pad),
12989         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12990         (gst_element_class_get_pad_template_list),
12991         (gst_element_class_get_pad_template), (gst_element_error_func),
12992         (gst_element_get_random_pad), (gst_element_get_event_masks),
12993         (gst_element_send_event), (gst_element_seek),
12994         (gst_element_get_query_types), (gst_element_query),
12995         (gst_element_get_formats), (gst_element_convert),
12996         (gst_element_is_locked_state), (gst_element_set_locked_state),
12997         (gst_element_sync_state_with_parent), (gst_element_change_state),
12998         (gst_element_finalize), (gst_element_yield),
12999         (gst_element_interrupt), (gst_element_set_scheduler),
13000         (gst_element_get_scheduler), (gst_element_set_loop_function):
13001         * gst/gstelement.h:
13002         * gst/gstevent.h:
13003         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13004         (gst_format_get_by_nick), (gst_format_get_details),
13005         (gst_format_iterate_definitions):
13006         * gst/gstformat.h:
13007         * gst/gstindex.c: (gst_index_gtype_resolver):
13008         * gst/gstinfo.c:
13009         * gst/gstinfo.h:
13010         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13011         (gst_mem_chunk_free):
13012         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13013         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13014         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13015         (gst_object_dispatch_properties_changed),
13016         (gst_object_set_name_default), (gst_object_set_name),
13017         (gst_object_get_name), (gst_object_set_name_prefix),
13018         (gst_object_get_name_prefix), (gst_object_set_parent),
13019         (gst_object_get_parent), (gst_object_unparent),
13020         (gst_object_check_uniqueness), (gst_object_save_thyself),
13021         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13022         (gst_object_set_property), (gst_object_get_property),
13023         (gst_object_get_path_string):
13024         * gst/gstobject.h:
13025         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13026         (gst_real_pad_init), (gst_real_pad_get_property),
13027         (gst_pad_custom_new), (gst_pad_get_direction),
13028         (gst_pad_set_active), (gst_pad_is_active),
13029         (gst_pad_set_event_function), (gst_pad_is_linked),
13030         (gst_pad_link_free), (gst_pad_link_intersect),
13031         (gst_pad_link_fixate), (gst_pad_set_caps),
13032         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13033         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13034         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13035         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13036         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13037         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13038         (gst_pad_realize), (gst_pad_get_allowed_caps),
13039         (gst_real_pad_dispose), (gst_real_pad_finalize),
13040         (gst_pad_collectv), (gst_pad_collect_valist),
13041         (gst_pad_template_dispose), (gst_pad_template_new),
13042         (gst_pad_get_internal_links):
13043         * gst/gstpad.h:
13044         * gst/gstpipeline.c: (gst_pipeline_dispose),
13045         (gst_pipeline_change_state):
13046         * gst/gstpipeline.h:
13047         * gst/gstplugin.c:
13048         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13049         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13050         * gst/gstpluginfeature.h:
13051         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13052         * gst/gstquery.c: (_gst_query_type_initialize),
13053         (gst_query_type_register), (gst_query_type_get_by_nick),
13054         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13055         * gst/gstquery.h:
13056         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13057         * gst/gstscheduler.c: (gst_scheduler_add_element),
13058         (gst_scheduler_factory_create):
13059         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13060         (gst_structure_free), (gst_structure_set_name),
13061         (gst_structure_id_set_value), (gst_structure_set_value),
13062         (gst_structure_set_valist), (gst_structure_remove_field),
13063         (gst_structure_remove_fields),
13064         (gst_structure_remove_fields_valist),
13065         (gst_structure_remove_all_fields), (gst_structure_foreach),
13066         (gst_structure_map_in_place),
13067         (gst_caps_structure_fixate_field_nearest_int),
13068         (gst_caps_structure_fixate_field_nearest_double):
13069         * gst/gststructure.h:
13070         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13071         (gst_system_clock_init), (gst_system_clock_dispose),
13072         (gst_system_clock_async_thread),
13073         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13074         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13075         * gst/gstsystemclock.h:
13076         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13077         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13078         * gst/gsttaginterface.c:
13079         * gst/gstthread.c: (gst_thread_dispose),
13080         (gst_thread_release_children_locks), (gst_thread_change_state),
13081         (gst_thread_main_loop):
13082         * gst/gsttrashstack.h:
13083         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13084         * gst/gsttypes.h:
13085         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13086         (gst_element_request_pad), (gst_element_get_pad_from_template),
13087         (gst_element_request_compatible_pad),
13088         (gst_element_get_compatible_pad_filtered),
13089         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13090         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13091         (gst_element_link_many), (gst_element_link),
13092         (gst_element_link_pads), (gst_element_unlink_pads),
13093         (gst_element_unlink_many), (gst_element_unlink),
13094         (gst_pad_can_link_filtered), (gst_pad_can_link),
13095         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13096         (gst_object_default_error), (gst_bin_add_many),
13097         (gst_bin_remove_many), (gst_element_populate_std_props),
13098         (gst_element_class_install_std_props), (gst_buffer_merge),
13099         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13100         (link_fold_func), (gst_pad_proxy_setcaps):
13101         * gst/gstutils.h:
13102         * gst/gstvalue.c: (gst_value_deserialize_string):
13103         * gst/parse/grammar.y:
13104         * gst/schedulers/gstbasicscheduler.c:
13105         (gst_basic_scheduler_cothreaded_chain),
13106         (gst_basic_scheduler_chain_recursive_add),
13107         (gst_basic_scheduler_pad_link):
13108         * gst/schedulers/gstoptimalscheduler.c:
13109         (get_group_schedule_function),
13110         (gst_opt_scheduler_state_transition),
13111         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13112         * libs/gst/bytestream/bytestream.c:
13113         * libs/gst/dataprotocol/dataprotocol.c:
13114         (gst_dp_header_from_buffer):
13115         * po/nb.po:
13116         * po/ru.po:
13117         * tests/threadstate/threadstate2.c: (eos):
13118         * tools/gst-compprep.c: (main):
13119         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13120         (print_pad_info), (print_children_info):
13121         * tools/gst-launch.c: (idle_func), (main):
13122         * tools/gst-md5sum.c: (idle_func), (main):
13123         * tools/gst-xmlinspect.c: (print_element_info):
13124         First THREADED backport attempt, focusing on adding locks and
13125         making sure the API is threadsafe. Needs more work. More docs
13126         follow this week.
13127
13128 2005-02-24  Andy Wingo  <wingo@pobox.com>
13129
13130         * tests/bench-complexity.scm:
13131         * tests/complexity.gnuplot: New files, good for running complexity
13132         benchmarks.
13133
13134         * tests/Makefile.am:
13135         * tests/complexity.c: New test, sets up N elements, at each level
13136         teeing into M streams per element. Eeeenteresting.
13137
13138         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13139         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13140         running bench-mass_elements.scm.
13141
13142         * tests/bench-mass_elements.scm: New script, runs mass_elements
13143         for various numbers of identities, outputting the results to a
13144         file. Requires guile 1.6. Just for testing.
13145
13146 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13147
13148         * gst/schedulers/fairscheduler.c:
13149           compile with debug disabled
13150
13151 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13152
13153         * configure.ac:
13154           hunting season on 0.9 is now OPEN