gst/gstpipeline.c: Fix small typo in docs.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-05  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstpipeline.c:
4         Fix small typo in docs.
5
6 2005-12-05  Andy Wingo  <wingo@pobox.com>
7
8         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
9
10         * gst/gst.c (init_post): remove hard-coded 0.9 location for
11         registries/plugins with a MAJORMINOR one.
12         (plugin_desc): Rename library from gstcoreleements to
13         staticelements. Fixes #323222.
14
15 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16
17         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18           Change debug category to 'collectpads' from 'collect_pads'
19           (fixes #323250).
20
21 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
22
23         patch by: Sebastien Moutte
24
25         * libs/gst/controller/gstinterpolation.c:
26           use convert function for uint64/double
27         * win32/vs6/libgstcontroller.dsp:
28           link to GLib
29
30 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
31
32         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
33         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
34         * gst/gstutils.h:
35         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
36           add tests that seem to show that the guint64/gdouble conversions
37           are correct.
38
39 2005-12-02  Wim Taymans  <wim@fluendo.com>
40
41         * gst/gstregistry.c: (gst_registry_add_path):
42         * gst/gstregistry.h:
43         * gst/gstregistryxml.c:
44         Fix docs again.
45
46 2005-12-02  Wim Taymans  <wim@fluendo.com>
47
48         * gst/gstutils.c: (gst_util_uint64_scale_int64),
49         (gst_util_uint64_scale_int):
50         Small cleanup.
51
52         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
53         Add debug log line.
54
55         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
56         Add FIXME.
57
58 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
59
60         * win32/MANIFEST:
61         * win32/common/config.h:
62         * win32/vs6/gstreamer.dsw:
63         * win32/vs6/libgstcoreelements.dsp:
64         * win32/vs6/libgstelements.dsp:
65           renamed core elements plugin
66
67 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
68
69         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
70         (get_candidates):
71           do piece-wise major/minor comparison so 0.9 < 0.10
72           also allow .exe extensions for tools
73
74 2005-12-02  Michael Smith  <msmith@fluendo.com>
75
76         * gst/gst.c:
77           Escape a % to make gtkdoc happier; bug 322958.
78
79 === release 0.9.7 ===
80
81 2005-12-01   <thomas (at) apestaart (dot) org>
82
83         * configure.ac:
84           releasing 0.9.7, "My Dog Has No Nose"
85
86 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
87
88         * common/gst-xmlinspect.py:
89         * configure.ac:
90         * docs/libs/tmpl/gstdataprotocol.sgml:
91         * docs/random/release:
92         * po/af.po:
93         * po/az.po:
94         * po/bg.po:
95         * po/ca.po:
96         * po/cs.po:
97         * po/de.po:
98         * po/en_GB.po:
99         * po/fr.po:
100         * po/it.po:
101         * po/nb.po:
102         * po/nl.po:
103         * po/ru.po:
104         * po/sq.po:
105         * po/sr.po:
106         * po/sv.po:
107         * po/tr.po:
108         * po/uk.po:
109         * po/vi.po:
110         * win32/common/config.h:
111         * win32/common/config.h.in:
112         * win32/vs6/gst_inspect.dsp:
113         * win32/vs6/gst_launch.dsp:
114         * win32/vs6/libgstbase.dsp:
115         * win32/vs6/libgstelements.dsp:
116         * win32/vs6/libgstreamer.dsp:
117         * win32/vs7/GStreamer.vcproj:
118         * win32/vs7/gst-inspect.vcproj:
119         * win32/vs7/gst-launch.vcproj:
120         * win32/vs7/libgstbase.vcproj:
121           bump GST_MAJORMINOR to 0.10
122           reset libtool version
123
124 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
125
126         * po/LINGUAS:
127         * po/bg.po:
128           Added Bulgarian translation by (Alexander Shopov)
129
130 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
131
132         * tests/check/gst/gstplugin.c:
133           fix test
134
135 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
136
137         * common/gst-xmlinspect.py:
138         * common/gtk-doc-plugins.mak:
139         * configure.ac:
140         * docs/Makefile.am:
141         * docs/gst/Makefile.am:
142         * docs/gst/gstreamer-docs.sgml:
143         * docs/gst/gstreamer-sections.txt:
144         * docs/gst/gstreamer.types:
145         * docs/gst/gstreamer.types.in:
146         * docs/plugins/Makefile.am:
147         * docs/plugins/gstreamer-plugins-docs.sgml:
148         * docs/plugins/gstreamer-plugins-sections.txt:
149         * docs/plugins/gstreamer-plugins.types:
150         * docs/plugins/inspect.stamp:
151         * docs/plugins/inspect/plugin-coreelements.xml:
152         * docs/plugins/inspect/plugin-coreindexers.xml:
153         * docs/plugins/scanobj-build.stamp:
154         * gstreamer.spec.in:
155         * plugins/elements/Makefile.am:
156         * plugins/elements/gstelements.c:
157         * plugins/elements/gstfakesink.c:
158         * plugins/elements/gstfakesrc.c:
159         * plugins/elements/gstfilesink.c:
160         * plugins/elements/gstfilesrc.c:
161         * plugins/elements/gstqueue.c:
162         * plugins/indexers/Makefile.am:
163         * plugins/indexers/gstindexers.c:
164           document core plugins in a separate document just like all the
165           others
166           rename these plugins to something starting with core
167
168 2005-12-01  Andy Wingo  <wingo@pobox.com>
169
170         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
171         padding here before, but it missed the commit.
172
173 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
174
175         * libs/gst/controller/gstinterpolation.c:
176           whitespace prices have crashed, we should feel free to use some now
177           use gst_guint64_to_gdouble
178
179 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
180
181         * libs/gst/controller/gstcontroller.c:
182         * libs/gst/controller/gsthelper.c:
183         * libs/gst/controller/gstinterpolation.c:
184         * libs/gst/controller/lib.c:
185           wrap config.h include
186
187 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
188
189         * docs/gst/gstreamer-sections.txt:
190           update docs
191
192 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
193
194         * plugins/elements/gstelements.c:
195         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
196         (gst_fd_sink__class_init), (gst_fd_sink__init),
197         (gst_fd_sink__chain), (gst_fd_sink__set_property),
198         (gst_fd_sink__get_property):
199         * plugins/elements/gstfdsink.h:
200         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
201         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
202         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
203         (gst_fd_src_unlock), (gst_fd_src_set_property),
204         (gst_fd_src_get_property), (gst_fd_src_create),
205         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
206         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
207         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
208         (gst_fd_src_uri_handler_init):
209         * plugins/elements/gstfdsrc.h:
210         * plugins/elements/gstqueue.c: (gst_queue_get_type):
211           more anal cleanup
212
213 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
214
215         * docs/gst/Makefile.am:
216         * docs/gst/gstreamer.types.in:
217         * gst/Makefile.am:
218           fix the docs build
219
220 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
221
222         * configure.ac:
223         * gst/Makefile.am:
224         * gst/gst.c:
225         * gst/gstplugin.h:
226         * gst/gstregistry.h:
227         * tests/benchmarks/complexity.c:
228         * tests/benchmarks/mass-elements.c:
229         * tests/check/Makefile.am:
230         * tools/Makefile.am:
231         * tools/gst-inspect.c:
232         * tools/gst-xmlinspect.c:
233           various fixes to make
234           --disable-nls --disable-registry --disable-loadsave
235           --disable-parse --disable-gst-debug
236           work and get the core .so down to 360444 bytes after stripping
237
238 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
239
240         * Makefile.am:
241         * configure.ac:
242           descend into tests
243         * docs/random/thomasvs/TODO:
244         * tests/Makefile.am:
245         * tests/README:
246           add a README
247
248 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
249
250         * win32/GStreamer.vcproj:
251         * win32/MANIFEST:
252         * win32/Makefile:
253         * win32/Makefile.inspect:
254         * win32/Makefile.launch:
255         * win32/Makefile.register:
256         * win32/README.txt:
257         * win32/gst-inspect.vcproj:
258         * win32/gst-launch.vcproj:
259         * win32/gst-register.vcproj:
260         * win32/gstelements.vcproj:
261         * win32/gstgetbits.def:
262         * win32/gstgetbits.vcproj:
263         * win32/gstreamer-dbg.def:
264         * win32/gstreamer.def:
265         * win32/libgstbase.def:
266         * win32/libgstbase.vcproj:
267         * win32/link_oldruntime.c:
268         * win32/mman.c:
269         * win32/mman.h:
270         * win32/mman.inl:
271         * win32/msvc71.sln:
272           move even more stuff, win32/ is nice and clean now
273
274 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
275
276         * libs/gst/control/.cvsignore:
277         * win32/MANIFEST:
278         * win32/config.h:
279         * win32/dirent.c:
280         * win32/dirent.h:
281         * win32/gstbytestream.def:
282         * win32/gstbytestream.vcproj:
283         * win32/gstconfig.h:
284         * win32/gstenumtypes.c:
285         * win32/gstenumtypes.h:
286         * win32/gstoptimalscheduler.vcproj:
287         * win32/gstversion.h:
288         * win32/gtchar.h:
289         * win32/testsuite/bins.vcproj:
290         * win32/testsuite/bytestream.vcproj:
291         * win32/testsuite/caps.vcproj:
292         * win32/testsuite/cleanup.vcproj:
293         * win32/testsuite/clock.vcproj:
294         * win32/testsuite/debug.vcproj:
295         * win32/testsuite/dlopen.vcproj:
296         * win32/testsuite/dynparams.vcproj:
297         * win32/testsuite/elements.vcproj:
298         * win32/testsuite/ghostpads.vcproj:
299         * win32/testsuite/indexers.vcproj:
300         * win32/testsuite/negotiation.vcproj:
301         * win32/testsuite/parse.vcproj:
302         * win32/testsuite/plugin.vcproj:
303         * win32/testsuite/refcounting.vcproj:
304         * win32/testsuite/schedulers.vcproj:
305         * win32/testsuite/states.vcproj:
306         * win32/testsuite/tags.vcproj:
307         * win32/testsuite/threads.vcproj:
308           remove old win32 stuff that isn't maintained and should be
309           reorganized
310
311 2005-11-30  Andy Wingo  <wingo@pobox.com>
312
313         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
314         loading the gst.interfaces python module bork.
315
316         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
317         available since GLib 2.2. Fixes #318031.
318
319 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
320
321         * Makefile.am:
322         * check/.cvsignore:
323         * check/Makefile.am:
324         * check/elements/.cvsignore:
325         * check/elements/fakesrc.c:
326         * check/elements/fdsrc.c:
327         * check/elements/identity.c:
328         * check/generic/.cvsignore:
329         * check/generic/states.c:
330         * check/gst-libs/.cvsignore:
331         * check/gst-libs/controller.c:
332         * check/gst-libs/gdp.c:
333         * check/gst/.cvsignore:
334         * check/gst/capslist.h:
335         * check/gst/gst.c:
336         * check/gst/gstbin.c:
337         * check/gst/gstbuffer.c:
338         * check/gst/gstbus.c:
339         * check/gst/gstcaps.c:
340         * check/gst/gstelement.c:
341         * check/gst/gstevent.c:
342         * check/gst/gstghostpad.c:
343         * check/gst/gstiterator.c:
344         * check/gst/gstmessage.c:
345         * check/gst/gstminiobject.c:
346         * check/gst/gstobject.c:
347         * check/gst/gstpad.c:
348         * check/gst/gstpipeline.c:
349         * check/gst/gstplugin.c:
350         * check/gst/gstsegment.c:
351         * check/gst/gststructure.c:
352         * check/gst/gstsystemclock.c:
353         * check/gst/gsttag.c:
354         * check/gst/gstutils.c:
355         * check/gst/gstvalue.c:
356         * check/net/.cvsignore:
357         * check/net/gstnetclientclock.c:
358         * check/net/gstnettimeprovider.c:
359         * check/pipelines/.cvsignore:
360         * check/pipelines/cleanup.c:
361         * check/pipelines/simple_launch_lines.c:
362         * check/pipelines/stress.c:
363         * check/states/.cvsignore:
364         * check/states/sinks.c:
365         * configure.ac:
366         * examples/Makefile.am:
367         * examples/appreader/.cvsignore:
368         * examples/appreader/Makefile.am:
369         * examples/appreader/appreader.c:
370         * examples/controller/.cvsignore:
371         * examples/controller/Makefile.am:
372         * examples/controller/audio-example.c:
373         * examples/cutter/.cvsignore:
374         * examples/cutter/Makefile.am:
375         * examples/cutter/cutter.c:
376         * examples/cutter/cutter.h:
377         * examples/events/Makefile.am:
378         * examples/events/seek.c:
379         * examples/helloworld/.cvsignore:
380         * examples/helloworld/Makefile.am:
381         * examples/helloworld/helloworld.c:
382         * examples/helloworld2/.cvsignore:
383         * examples/helloworld2/Makefile.am:
384         * examples/helloworld2/helloworld2.c:
385         * examples/launch/.cvsignore:
386         * examples/launch/Makefile.am:
387         * examples/launch/mp3parselaunch.c:
388         * examples/launch/mp3play:
389         * examples/manual/.cvsignore:
390         * examples/manual/Makefile.am:
391         * examples/manual/extract.pl:
392         * examples/metadata/Makefile.am:
393         * examples/metadata/read-metadata.c:
394         * examples/mixer/.cvsignore:
395         * examples/mixer/Makefile.am:
396         * examples/mixer/mixer.c:
397         * examples/mixer/mixer.h:
398         * examples/pingpong/.cvsignore:
399         * examples/pingpong/Makefile.am:
400         * examples/pingpong/pingpong.c:
401         * examples/plugins/.cvsignore:
402         * examples/plugins/Makefile.am:
403         * examples/plugins/example.c:
404         * examples/plugins/example.h:
405         * examples/pwg/.cvsignore:
406         * examples/pwg/Makefile.am:
407         * examples/pwg/extract.pl:
408         * examples/queue/.cvsignore:
409         * examples/queue/Makefile.am:
410         * examples/queue/queue.c:
411         * examples/queue2/.cvsignore:
412         * examples/queue2/Makefile.am:
413         * examples/queue2/queue2.c:
414         * examples/queue3/.cvsignore:
415         * examples/queue3/Makefile.am:
416         * examples/queue3/queue3.c:
417         * examples/queue4/.cvsignore:
418         * examples/queue4/Makefile.am:
419         * examples/queue4/queue4.c:
420         * examples/retag/.cvsignore:
421         * examples/retag/Makefile.am:
422         * examples/retag/retag.c:
423         * examples/retag/transcode.c:
424         * examples/thread/.cvsignore:
425         * examples/thread/Makefile.am:
426         * examples/thread/thread.c:
427         * examples/typefind/.cvsignore:
428         * examples/typefind/Makefile.am:
429         * examples/typefind/typefind.c:
430         * examples/xml/.cvsignore:
431         * examples/xml/Makefile.am:
432         * examples/xml/createxml.c:
433         * examples/xml/runxml.c:
434         * tests/Makefile.am:
435         * tests/check/Makefile.am:
436         * testsuite/.cvsignore:
437         * testsuite/Makefile.am:
438         * testsuite/Rules:
439         * testsuite/caps/.cvsignore:
440         * testsuite/caps/Makefile.am:
441         * testsuite/caps/app_fixate.c:
442         * testsuite/caps/audioscale.c:
443         * testsuite/caps/caps.c:
444         * testsuite/caps/caps.h:
445         * testsuite/caps/caps_strings:
446         * testsuite/caps/compatibility.c:
447         * testsuite/caps/deserialize.c:
448         * testsuite/caps/enumcaps.c:
449         * testsuite/caps/eratosthenes.c:
450         * testsuite/caps/filtercaps.c:
451         * testsuite/caps/fixed.c:
452         * testsuite/caps/fraction-convert.c:
453         * testsuite/caps/fraction-multiply-and-zero.c:
454         * testsuite/caps/intersect2.c:
455         * testsuite/caps/intersection.c:
456         * testsuite/caps/normalisation.c:
457         * testsuite/caps/random.c:
458         * testsuite/caps/renegotiate.c:
459         * testsuite/caps/sets.c:
460         * testsuite/caps/simplify.c:
461         * testsuite/caps/string-conversions.c:
462         * testsuite/caps/structure.c:
463         * testsuite/caps/subtract.c:
464         * testsuite/caps/union.c:
465         * testsuite/debug/.cvsignore:
466         * testsuite/debug/Makefile.am:
467         * testsuite/debug/category.c:
468         * testsuite/debug/commandline.c:
469         * testsuite/debug/global.c:
470         * testsuite/debug/output.c:
471         * testsuite/debug/printf_extension.c:
472         * testsuite/dlopen/.cvsignore:
473         * testsuite/dlopen/Makefile.am:
474         * testsuite/dlopen/dlopen_gst.c:
475         * testsuite/dlopen/loadgst.c:
476         * testsuite/elements/.cvsignore:
477         * testsuite/elements/Makefile.am:
478         * testsuite/elements/gst-inspect-check.in:
479         * testsuite/elements/struct_i386.h:
480         * testsuite/elements/struct_size.c:
481         * testsuite/indexers/.cvsignore:
482         * testsuite/indexers/Makefile.am:
483         * testsuite/indexers/cache1.c:
484         * testsuite/indexers/indexdump.c:
485         * testsuite/parse/.cvsignore:
486         * testsuite/parse/Makefile.am:
487         * testsuite/parse/parse1.c:
488         * testsuite/parse/parse2.c:
489         * testsuite/plugin/.cvsignore:
490         * testsuite/plugin/Makefile.am:
491         * testsuite/plugin/README:
492         * testsuite/plugin/dynamic.c:
493         * testsuite/plugin/linked.c:
494         * testsuite/plugin/loading.c:
495         * testsuite/plugin/registry.c:
496         * testsuite/plugin/static.c:
497         * testsuite/plugin/static2.c:
498         * testsuite/plugin/testplugin.c:
499         * testsuite/plugin/testplugin2.c:
500         * testsuite/plugin/testplugin2_s.c:
501         * testsuite/plugin/testplugin_s.c:
502         * testsuite/refcounting/.cvsignore:
503         * testsuite/refcounting/Makefile.am:
504         * testsuite/refcounting/bin.c:
505         * testsuite/refcounting/element.c:
506         * testsuite/refcounting/element_pad.c:
507         * testsuite/refcounting/mainloop.c:
508         * testsuite/refcounting/mem.c:
509         * testsuite/refcounting/mem.h:
510         * testsuite/refcounting/object.c:
511         * testsuite/refcounting/pad.c:
512         * testsuite/refcounting/sched.c:
513         * testsuite/refcounting/thread.c:
514         * testsuite/states/.cvsignore:
515         * testsuite/states/Makefile.am:
516         * testsuite/states/bin.c:
517         * testsuite/states/locked.c:
518         * testsuite/states/parent.c:
519         * testsuite/threads/.cvsignore:
520         * testsuite/threads/159566.c:
521         * testsuite/threads/159852.c:
522         * testsuite/threads/Makefile.am:
523         * testsuite/threads/queue.c:
524         * testsuite/threads/signals.c:
525         * testsuite/threads/staticrec.c:
526         * testsuite/threads/thread.c:
527         * testsuite/threads/threadb.c:
528         * testsuite/threads/threadc.c:
529         * testsuite/threads/threadd.c:
530         * testsuite/threads/threade.c:
531         * testsuite/threads/threadf.c:
532         * testsuite/threads/threadg.c:
533         * testsuite/threads/threadh.c:
534         * testsuite/threads/threadi.c:
535           move all of these under tests
536
537 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
538
539         * configure.ac:
540         * tests/Makefile.am:
541           fix distcheck
542
543 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
544
545         * docs/gst/gstreamer-sections.txt:
546         * tests/sched/.cvsignore:
547         * tests/sched/Makefile.am:
548         * tests/sched/cases/(fs-fs).xml:
549         * tests/sched/cases/(fs-i-fs).xml:
550         * tests/sched/cases/(fs-i-i-fs).xml:
551         * tests/sched/cases/(fs-i-q[i-fs]).xml:
552         * tests/sched/dynamic-pipeline.c:
553         * tests/sched/interrupt1.c:
554         * tests/sched/interrupt2.c:
555         * tests/sched/interrupt3.c:
556         * tests/sched/runtestcases:
557         * tests/sched/runxml.c:
558         * tests/sched/sched-stress.c:
559         * tests/sched/sort.c:
560         * tests/sched/testcases:
561         * tests/sched/testcases1.tc:
562         * tests/seeking/.cvsignore:
563         * tests/seeking/Makefile.am:
564         * tests/seeking/seeking1.c:
565         * tests/threadstate/.cvsignore:
566         * tests/threadstate/Makefile.am:
567         * tests/threadstate/test1.c:
568         * tests/threadstate/test2.c:
569         * tests/threadstate/threadstate1.c:
570         * tests/threadstate/threadstate2.c:
571         * tests/threadstate/threadstate3.c:
572         * tests/threadstate/threadstate4.c:
573         * tests/threadstate/threadstate5.c:
574           remove obsolete tests
575         * configure.ac:
576         * tests/bench-complexity.scm:
577         * tests/bench-mass_elements.scm:
578         * tests/complexity.c:
579         * tests/complexity.gnuplot:
580         * tests/instantiate/.cvsignore:
581         * tests/instantiate/Makefile.am:
582         * tests/instantiate/caps.c:
583         * tests/mass_elements.c:
584         * tests/network-clock-utils.scm:
585         * tests/network-clock.scm:
586         * tests/plot-data:
587         First pass at cleaning up tests/ dir before moving the rest
588         Combined with CVS surgery
589
590 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
591
592         * po/POTFILES.in:
593           queue has moved, update
594
595 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
596
597         * docs/gst/gstreamer-sections.txt:
598           remove double entries from the docs
599         * gst/gst_private.h:
600         * gst/gstinfo.c: (_gst_debug_init):
601           remove the THREAD debug category
602         * gst/Makefile.am:
603         * gst/gstqueue.c:
604         * gst/gstqueue.h:
605         * docs/gst/gstreamer.types:
606         * plugins/elements/gstqueue.c: (gst_queue_get_type),
607         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
608           completely move queue and fix up debugging categories
609
610 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
611
612         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
613           make initialization portable, using LL is not
614
615 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
616
617         * win32/common/gstconfig.h:
618           add large padding
619
620 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
621
622         * win32/common/libgstreamer.def:
623           rename symbols; sort base section
624
625 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
626
627         * gst/gstclock.c: (do_linear_regression):
628           remove crack non-portable handrolled DEBUG macro
629
630 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
631
632         * docs/random/release:
633           update notes
634         * win32/common/gstenumtypes.c: (register_gst_object_flags),
635         (gst_object_flags_get_type), (register_gst_bin_flags),
636         (gst_bin_flags_get_type), (register_gst_buffer_flag),
637         (gst_buffer_flag_get_type), (register_gst_bus_flags),
638         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
639         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
640         (gst_caps_flags_get_type), (register_gst_clock_return),
641         (gst_clock_return_get_type), (register_gst_clock_entry_type),
642         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
643         (gst_clock_flags_get_type), (register_gst_state),
644         (gst_state_get_type), (register_gst_state_change_return),
645         (gst_state_change_return_get_type), (register_gst_state_change),
646         (gst_state_change_get_type), (register_gst_element_flags),
647         (gst_element_flags_get_type), (register_gst_core_error),
648         (gst_core_error_get_type), (register_gst_library_error),
649         (gst_library_error_get_type), (register_gst_resource_error),
650         (gst_resource_error_get_type), (register_gst_stream_error),
651         (gst_stream_error_get_type), (register_gst_event_type_flags),
652         (gst_event_type_flags_get_type), (register_gst_event_type),
653         (gst_event_type_get_type), (register_gst_seek_type),
654         (gst_seek_type_get_type), (register_gst_seek_flags),
655         (gst_seek_flags_get_type), (register_gst_format),
656         (gst_format_get_type), (register_gst_index_certainty),
657         (gst_index_certainty_get_type), (register_gst_index_entry_type),
658         (gst_index_entry_type_get_type),
659         (register_gst_index_lookup_method),
660         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
661         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
662         (gst_index_resolver_method_get_type), (register_gst_index_flags),
663         (gst_index_flags_get_type), (register_gst_debug_level),
664         (gst_debug_level_get_type), (register_gst_debug_color_flags),
665         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
666         (gst_iterator_result_get_type), (register_gst_iterator_item),
667         (gst_iterator_item_get_type), (register_gst_message_type),
668         (gst_message_type_get_type), (register_gst_mini_object_flags),
669         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
670         (gst_pad_link_return_get_type), (register_gst_flow_return),
671         (gst_flow_return_get_type), (register_gst_activate_mode),
672         (gst_activate_mode_get_type), (register_gst_pad_direction),
673         (gst_pad_direction_get_type), (register_gst_pad_flags),
674         (gst_pad_flags_get_type), (register_gst_pad_presence),
675         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
676         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
677         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
678         (gst_plugin_error_get_type), (register_gst_plugin_flags),
679         (gst_plugin_flags_get_type), (register_gst_rank),
680         (gst_rank_get_type), (register_gst_query_type),
681         (gst_query_type_get_type), (register_gst_tag_merge_mode),
682         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
683         (gst_tag_flag_get_type), (register_gst_task_state),
684         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
685         (gst_alloc_trace_flags_get_type),
686         (register_gst_type_find_probability),
687         (gst_type_find_probability_get_type), (register_gst_uri_type),
688         (gst_uri_type_get_type), (register_gst_parse_error),
689         (gst_parse_error_get_type):
690         * win32/common/gstenumtypes.h:
691         * win32/common/gstversion.h:
692           update visual studio generated files
693
694 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
695
696         * win32/vs6/libgstbase.dsp:
697         * win32/vs6/libgstelements.dsp:
698           update project files for new locations
699
700 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
701
702         * Makefile.am:
703           remove some files
704         * README:
705           reinstate and update
706         * DEVEL:
707         * REQUIREMENTS:
708           removed
709         * LICENSE:
710         * docs/random/LICENSE:
711           moved to random
712
713 2005-11-30  Edward Hervey  <edward@fluendo.com>
714
715         * gst/gsttypefind.c: (gst_type_find_register):
716         * gst/gsttypefind.h:
717         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
718         (gst_type_find_factory_dispose):
719         * gst/gsttypefindfactory.h:
720         Fix memory leak in GstTypeFindFactory.
721
722 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
723
724         * gst/gst.c:
725         * plugins/elements/Makefile.am:
726         * plugins/elements/gstelements.c:
727         * plugins/elements/gstqueue.c:
728           move queue from core to the elements plugin
729
730 2005-11-29  Andy Wingo  <wingo@pobox.com>
731
732         * libs/gst/base/gstbasetransform.h: 
733         * libs/gst/base/gstbasesrc.h: 
734         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
735
736         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
737         of pointers by which to pad very extensible base classes (like the
738         ones in libs/gst/base).
739
740 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
741
742         * docs/gst/gstreamer-docs.sgml:
743         * docs/gst/gstreamer-sections.txt:
744         * docs/libs/gstreamer-libs-docs.sgml:
745         * docs/libs/gstreamer-libs-sections.txt:
746           moving documentation from core to lib
747
748 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
749
750         * check/Makefile.am:
751         * configure.ac:
752         * docs/gst/Makefile.am:
753         * gst/Makefile.am:
754         * gst/base/.cvsignore:
755         * gst/base/Makefile.am:
756         * gst/base/README:
757         * gst/base/gstadapter.c:
758         * gst/base/gstadapter.h:
759         * gst/base/gstbasesink.c:
760         * gst/base/gstbasesink.h:
761         * gst/base/gstbasesrc.c:
762         * gst/base/gstbasesrc.h:
763         * gst/base/gstbasetransform.c:
764         * gst/base/gstbasetransform.h:
765         * gst/base/gstcollectpads.c:
766         * gst/base/gstcollectpads.h:
767         * gst/base/gstpushsrc.c:
768         * gst/base/gstpushsrc.h:
769         * gst/base/gsttypefindhelper.c:
770         * gst/base/gsttypefindhelper.h:
771         * gst/check/Makefile.am:
772         * gst/check/gstcheck.c:
773         * gst/check/gstcheck.h:
774         * gst/net/Makefile.am:
775         * gst/net/gstnet.h:
776         * gst/net/gstnetclientclock.c:
777         * gst/net/gstnetclientclock.h:
778         * gst/net/gstnettimepacket.c:
779         * gst/net/gstnettimepacket.h:
780         * gst/net/gstnettimeprovider.c:
781         * gst/net/gstnettimeprovider.h:
782         * libs/gst/Makefile.am:
783         * libs/gst/base/Makefile.am:
784         * libs/gst/base/gstbasetransform.c:
785         * libs/gst/check/Makefile.am:
786         * plugins/elements/Makefile.am:
787         * po/POTFILES.in:
788           CVS surgery + support to move base, check, and net out of gst
789           and into libs/gst
790
791 2005-11-29  Andy Wingo  <wingo@pobox.com>
792
793         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
794
795         * gst/gststructure.h (struct _GstStructure): Only one pointer of
796         padding.
797
798         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
799
800         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
801
802         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
803
804         * gst/gstobject.h: (struct _GstObject): Only one pointer of
805         padding; reduces object size by about 30%. We don't expect
806         anything else to go into gstobject.
807
808         * gst/gstminiobject.h (struct _GstMiniObject)
809         (struct _GstMiniObjectClass): Only one pointer of padding; the
810         payload is only a pointer and two ints anyway. For the class there
811         are only two methods as well.
812         
813         * gst/gstelement.h (struct _GstElementClass): Removed
814         the state_changed signal callback, it is not used.
815
816 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
817
818         * docs/gst/gstreamer.types:
819           fix includes, though they are a little dinky
820
821 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
822
823         * check/Makefile.am:
824           look in the right place for elements, a lot more chance of
825           success
826         * gst/Makefile.am:
827           remove indexers and elements subdirs
828         * plugins/Makefile.am:
829           make indexers conditional
830
831 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
832
833         * Makefile.am:
834         * configure.ac:
835         * plugins/elements/Makefile.am:
836         * plugins/elements/gstcapsfilter.c:
837         * plugins/elements/gstfilesink.c:
838         * plugins/elements/gstfilesrc.c:
839         * plugins/elements/gstidentity.c:
840         * plugins/indexers/Makefile.am:
841           do CVS surgery and related build fixery to move elements
842           and indexers in a new gstreamer/plugins directory, out of the
843           gst/ directory
844
845 2005-11-29  Andy Wingo  <wingo@pobox.com>
846
847         * check/Makefile.am:
848         * pkgconfig/gstreamer-net-uninstalled.pc.in:
849         * pkgconfig/gstreamer-net.pc.in:
850         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
851         #322257.
852
853 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
854
855         * tools/Makefile.am:
856         * tools/gst-complete.1.in:
857         * tools/gst-complete.c:
858         * tools/gst-compprep.1.in:
859         * tools/gst-compprep.c:
860           removing -compprep and -complete
861
862 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
863
864         * gst/gstevent.c: (gst_event_new_new_segment),
865         (gst_event_parse_new_segment):
866         * gst/gstevent.h:
867           fix #320529 - clean up new_segment API and structure.
868           Let's hope everyone was using the methods, and not the structure.
869
870 2005-11-29  Edward Hervey  <edward@fluendo.com>
871
872         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
873         (gst_base_sink_event), (gst_base_sink_do_sync),
874         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
875         Properly handle non GST_FORMAT_TIME segment
876         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
877         Properly handle non GST_FORMAT_TIME segment
878         * gst/gstsegment.c:
879         This function is valid if the accumulator is 0 and the format
880         is different from the requested format.
881         
882 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
883
884         * docs/gst/gstreamer-sections.txt:
885         Add gst_query_new_seeking and gst_query_parse_seeking to the
886         docs.
887
888 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
889
890         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
891           Treat a pad alloc with new caps the same as if we were not
892           negotiated, in order to allow a changing upstream output
893           to produce a new format of data.
894
895 2005-11-29  Edward Hervey  <edward@fluendo.com>
896
897         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
898         (gst_base_transform_event), (gst_base_transform_eventfunc):
899         The event virtual method is now properly implemented, with a default
900         handler
901         Sub classes should call the parent_class event method. They should
902         return FALSE if they had a problem handling the given event, or don't
903         want GstBaseTransform to send that even downstream
904         * gst/elements/gstidentity.c: (gst_identity_class_init),
905         (gst_identity_init), (gst_identity_event),
906         (gst_identity_transform_ip), (gst_identity_set_property),
907         (gst_identity_get_property):
908         * gst/elements/gstidentity.h:
909         Added the single-segment boolean property.
910         If set to TRUE, it will output a single segment of data, starting from
911         0, will eat up all incoming newsegment, and modify the timestamp of the
912         buffers accordingly
913
914 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
915
916         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
917           Don't ref NULL target pad (#322751). Improve docs.
918
919 2005-11-29  Michael Smith  <msmith@fluendo.com>
920
921         * gst/gstregistryxml.c: (load_plugin):
922           Don't crash if we failed to load a feature from a plugin. 
923
924 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
925
926         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
927         (GST_START_TEST):
928           use more check API and less GLib API
929
930 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
931
932         * Makefile.am:
933           don't run checks if we don't have check
934         * common/check.mak:
935           remove the registry when running make torture
936         * docs/gst/gstreamer-sections.txt:
937           remove second multiply
938         * gst/gstqueue.c: (gst_queue_loop):
939           fix a compile warning when disabling debug
940
941 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
942
943         * gst/gstinfo.h:
944         Hey! Let's print the pad name if the pointer != NULL instead
945         of when it == NULL :-)
946
947 2005-11-28  Wim Taymans  <wim@fluendo.com>
948
949         * check/gst/gstutils.c: (GST_START_TEST):
950         Updated check, add some scaling accuracy checking code.
951
952         * gst/gstutils.c: (gst_util_div128_64),
953         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
954         (gst_util_uint64_scale_int):
955         Fix 6 times faster division code. Optimize for common 
956         1/1 and less common X/1 cases.
957
958 2005-11-28  Wim Taymans  <wim@fluendo.com>
959
960         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
961         More checks.
962
963         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
964         (do_linear_regression), (gst_clock_add_observation):
965         Cleanups.
966         Release lock when the clock cannot be slaved.
967         Catch the case where the regression returned an invalid denominator.
968
969         * gst/gstutils.c: (gst_util_div128_64_iterate),
970         (gst_util_div128_64), (gst_util_uint64_scale_int64),
971         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
972         Add protentially more performant non-iterative 128/64 divide function
973         that unfortunatly does not work yet.
974         Shortcut the trivial 0/X = 0 case.
975         Remove the warnings on overflow.
976
977 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
978
979         * gst/gstplugin.c: (gst_plugin_register_func):
980           everything causing a plugin not to load should be at least a WARNING
981
982 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
983
984         * docs/random/ensonic/dparams.txt:
985           some TODOs for the next dev cycle
986         * libs/gst/controller/gstcontroller.c:
987         (gst_controlled_property_set_interpolation_mode),
988         (gst_controlled_property_new):
989         * libs/gst/controller/gstcontroller.h:
990           use base type to assign acccessor functions
991
992 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
993
994         * check/Makefile.am:
995         Oops, that should have been top_srcdir
996
997 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
998
999         * check/Makefile.am:
1000         * check/elements/fdsrc.c: (GST_START_TEST):
1001         Use a cmdline define to specify the location of a file to use for
1002         testing, to avoid breaking distcheck.
1003
1004 2005-11-28  Andy Wingo  <wingo@pobox.com>
1005
1006         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1007
1008 2005-11-28  Edward Hervey  <edward@fluendo.com>
1009
1010         * tools/gst-launch.c: (main):
1011         Clarify the output strings, makes it easier to translate.
1012         Fixes #322626
1013
1014 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1015
1016         * gst/Makefile.am:
1017           don't try and build net if we don't even have <sys/socket.h>
1018
1019 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1020
1021         * check/Makefile.am:
1022         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1023         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1024           Add tests for fdsrc seekability
1025
1026         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1027         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1028         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1029         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1030         * gst/elements/gstfdsrc.h:
1031           fdsrc should not be a 'live' source.
1032           Implement seeking on seekable fd's.
1033
1034         * gst/gstquery.c: (gst_query_new_seeking),
1035         (gst_query_parse_seeking):
1036         * gst/gstquery.h:
1037           Implement SEEKING query functions: 
1038             *_new_seeking and *_parse_seeking
1039
1040 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1041
1042         * gst/gstelement.c: (gst_element_dispose):
1043           don't loop forever
1044
1045         * gst/gstiterator.c:
1046         * gst/gststructure.c:
1047           doc fixes
1048
1049         * libs/gst/controller/gstcontroller.c:
1050         (gst_controlled_property_set_interpolation_mode):
1051         * libs/gst/controller/gstcontroller.h:
1052         * libs/gst/controller/gstinterpolation.c:
1053         (interpolate_none_get_enum_value_array):
1054           support controlling enums
1055
1056 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1057
1058         * gst/gstvalue.c:
1059           Improve documentation for gst_value_union().
1060
1061         * gst/gstvalue.h:
1062           Change return value for union, intersect and subtract functions
1063           from gint to gboolean.
1064
1065 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1066
1067         * gst/gstvalue.c: (gst_value_serialize_any_list),
1068         (gst_value_transform_any_list_string),
1069         (gst_value_deserialize_list), (gst_value_deserialize_array),
1070         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1071         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1072         (gst_value_set_fraction_range_full),
1073         (gst_value_deserialize_fraction_range),
1074         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1075         (gst_value_deserialize_boolean),
1076         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1077         (gst_value_serialize_float), (gst_value_deserialize_float),
1078         (gst_string_wrap), (gst_value_deserialize_string),
1079         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1080         (gst_value_union_int_range_int_range),
1081         (gst_value_intersect_int_range_int_range),
1082         (gst_value_intersect_double_range_double_range),
1083         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1084         (gst_value_subtract_int_range_int_range),
1085         (gst_value_subtract_double_double_range),
1086         (gst_value_subtract_double_range_double_range),
1087         (gst_value_deserialize_fraction):
1088         * gst/gstvalue.h:
1089           Use gint, gdouble and gchar in our API instead of int, double and
1090           char (and make usage in gstvalue.c more consistent).
1091
1092 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1093
1094         * check/Makefile.am:
1095         * libs/gst/controller/Makefile.am:
1096         * libs/gst/dataprotocol/Makefile.am:
1097           fix up Makefile.am and remove GST_ENABLE_NEW
1098
1099 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1100
1101         * configure.ac:
1102         * gst/Makefile.am:
1103         * gst/base/Makefile.am:
1104         * gst/check/Makefile.am:
1105         * gst/elements/Makefile.am:
1106         * gst/net/Makefile.am:
1107           update LDFLAGS use some more
1108
1109 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1110
1111         * common/m4/gst-doc.m4:
1112           Fixes #312589
1113
1114 2005-11-26  Edward Hervey  <edward@fluendo.com>
1115
1116         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1117         This shouldn't issue a g_warning since it returns NULL if it
1118         couldn't find the plugin, and all functions using this behave
1119         properly on a NULL return. Switching to a GST_WARNING.
1120
1121 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1122
1123         * gst/gstbin.c: (gst_bin_handle_message_func):
1124         Don't leak clock messages.
1125
1126 2005-11-25  Wim Taymans  <wim@fluendo.com>
1127
1128         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1129         (gst_util_uint64_scale_int):
1130         Optimisations, remove unneeded vars.
1131
1132 2005-11-25  Wim Taymans  <wim@fluendo.com>
1133
1134         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1135         Added more checks for the high precision uint64 cases.
1136
1137         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1138         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1139         Implement high precision (guint64 * guint64) / guint64.
1140
1141 2005-11-24  Wim Taymans  <wim@fluendo.com>
1142
1143         * gst/base/gstbasesrc.c: (gst_base_src_query):
1144         Fix wrong percentage query.
1145
1146         * gst/gstutils.c: (gst_util_uint64_scale),
1147         (gst_util_uint64_scale_int):
1148         Add some more common cases that can be handled 
1149         efficiently to _scale.
1150
1151 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1152
1153         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1154         (gst_mini_object_suite):
1155           don't use check calls from threads; check probably isn't
1156           threadsafe and using a lock to make it threadsafe would
1157           defeat the purpose of this check
1158         * gst/check/gstcheck.c:
1159         * gst/check/gstcheck.h:
1160           use GST_DEBUG some more
1161
1162 2005-11-24  Wim Taymans  <wim@fluendo.com>
1163
1164         * gst/gstutils.c: (gst_util_uint64_scale),
1165         (gst_util_uint64_scale_int):
1166         Chain trivial case to _scale_int.
1167
1168 2005-11-24  Wim Taymans  <wim@fluendo.com>
1169
1170         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1171         Added test for scaling.
1172
1173         * gst/gstclock.h:
1174         Small doc fix.
1175
1176         * gst/gstutils.c: (gst_util_uint64_scale_int):
1177         Implemented high precision scaling code.
1178
1179 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1180
1181         * gst/gstinfo.h:
1182           do not crash on pad==NULL
1183
1184 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1185
1186         Patch by: Stefan Kost
1187
1188         * common/gtk-doc.mak:
1189         * docs/gst/Makefile.am:
1190         * docs/libs/Makefile.am:
1191           Fix distcheck issues for the libraries docs build
1192           Closes #319599.
1193
1194 2005-11-24  Michael Smith <msmith@fluendo.com>
1195
1196         * docs/manual/basics-helloworld.xml:
1197           Fix bug #315027: memory leak in example code in docs.
1198
1199 2005-11-24  Michael Smith <msmith@fluendo.com>
1200
1201         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1202           Unlock the PREROLL_LOCK in a failure case.
1203
1204 2005-11-24  Wim Taymans  <wim@fluendo.com>
1205
1206         * docs/gst/gstreamer-sections.txt:
1207         * gst/base/gstadapter.h:
1208         * gst/base/gstbasesink.h:
1209         * gst/base/gstbasesrc.h:
1210         * gst/base/gstbasetransform.h:
1211         * gst/base/gstpushsrc.h:
1212         * gst/elements/gstfakesink.h:
1213         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1214         * gst/elements/gstfakesrc.h:
1215         * gst/elements/gstfilesink.h:
1216         * gst/elements/gstfilesrc.h:
1217         * gst/gst.c:
1218         * gst/gstbin.c:
1219         * gst/gstbuffer.c: (_gst_buffer_copy):
1220         * gst/gstbus.h:
1221         * gst/gstcaps.c:
1222         * gst/gstchildproxy.c:
1223         * gst/gstclock.c:
1224         * gst/gstelement.c:
1225         * gst/gstelementfactory.c:
1226         * gst/gstelementfactory.h:
1227         * gst/gstevent.c:
1228         * gst/gstghostpad.h:
1229         * gst/gstindex.h:
1230         * gst/gstinterface.h:
1231         * gst/gstminiobject.c:
1232         * gst/gstminiobject.h:
1233         * gst/gstpad.c:
1234         * gst/gstpad.h:
1235         * gst/gstpadtemplate.h:
1236         * gst/gstpipeline.h:
1237         * gst/gstpluginfeature.h:
1238         * gst/gstquery.h:
1239         * gst/gstqueue.h:
1240         * gst/gsttaglist.c:
1241         * gst/gsttaglist.h:
1242         * gst/gsttagsetter.c:
1243         * gst/gsttagsetter.h:
1244         * gst/gsttrace.c:
1245         * gst/gsttrace.h:
1246         * gst/gsttypefind.h:
1247         * gst/gsturi.h:
1248         * gst/gstvalue.c:
1249         * gst/net/gstnetclientclock.c:
1250         * gst/net/gstnetclientclock.h:
1251         * gst/net/gstnettimepacket.c:
1252         * gst/net/gstnettimeprovider.c:
1253         * gst/net/gstnettimeprovider.h:
1254         Doc fixes.
1255
1256 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1257
1258         * configure.ac: back to HEAD
1259
1260 === release 0.9.6 ===
1261
1262 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1263
1264         * configure.ac:
1265           releasing 0.9.6, "Always On Time"
1266
1267 2005-11-23  Wim Taymans  <wim@fluendo.com>
1268
1269         * docs/gst/gstreamer-sections.txt:
1270         * gst/glib-compat.c:
1271         * gst/gsttagsetter.c:
1272         * gst/gstvalue.c:
1273         * gst/net/gstnetclientclock.c:
1274         * gst/net/gstnettimepacket.h:
1275         Doc updates.
1276
1277 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1278
1279         * docs/faq/using.xml:
1280         * docs/libs/tmpl/gstcontrol.sgml:
1281         * docs/manual/advanced-dparams.xml:
1282         * docs/manual/appendix-checklist.xml:
1283         * docs/manual/basics-elements.xml:
1284         * docs/pwg/other-source.xml:
1285         * docs/random/moving-plugins:
1286         * gst/gstpad.c:
1287         * tools/gst-launch.1.in:
1288           remove mentions of sinesrc
1289
1290 2005-11-23  Michael Smith <msmith@fluendo.com>
1291
1292         * docs/gst/gstreamer-sections.txt:
1293           Update for new API and API changes.
1294         * gst/gstobject.h:
1295           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1296         * gst/gstvalue.c:
1297           Documentation typo fix.
1298         * gst/net/gstnettimepacket.c:
1299           Documentation fixes for arguments.
1300
1301 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1302
1303         * gst/gststructure.c: (gst_structure_get_fraction),
1304         (gst_structure_parse_value),
1305         (gst_structure_fixate_field_nearest_fraction):
1306         * gst/gststructure.h:
1307         * gst/gstutils.c: (gst_util_uint64_scale_int):
1308         * gst/gstutils.h:
1309         * scripts/update-funcnames:
1310         API Changes. 
1311         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1312         Make gst_structure_fixate_field_nearest_fraction take a numerator
1313         and denominator argument instead of a GValue
1314         add gst_structure_get_fraction helper function.
1315
1316 2005-11-23  Wim Taymans  <wim@fluendo.com>
1317
1318         * docs/design/part-TODO.txt:
1319         Update TODO.
1320
1321         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1322         * gst/net/gstnetclientclock.h:
1323         Use parent fields for timeout and window_size.
1324
1325 2005-11-23  Andy Wingo  <wingo@pobox.com>
1326
1327         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1328         rate_num/rate_denom change.
1329
1330         * gst/net/gstnetclientclock.c
1331         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1332         OBJECT_LOCK. Don't call add_observation with the lock.
1333
1334         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1335         fraction.
1336         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1337         rate fraction.
1338         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1339         deal with rate as a fraction whose numerator and denominator are
1340         GstClockTime values.
1341         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1342         master; the other fields are protected by the SLAVE_LOCK.
1343         (do_linear_regression): Note that this must be called with the
1344         SLAVE_LOCK.
1345         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1346         OBJECT_LOCK. Call set_calibration instead of touching the
1347         variables directly.
1348         (gst_clock_set_property, gst_clock_get_property): Protect
1349         master/slave parameters with the SLAVE_LOCK.
1350
1351         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1352         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1353         note that all of the instance variables that add_observation and
1354         the set_master functions use are protected by that lock and not
1355         the OBJECT_LOCK.
1356         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1357
1358         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1359         the caller to take the object lock.
1360
1361 2005-11-23  Wim Taymans  <wim@fluendo.com>
1362
1363         * gst/gsterror.c: (_gst_core_errors_init):
1364         * gst/gsterror.h:
1365         Add error for clock stuff.
1366
1367         * gst/gstpipeline.c: (gst_pipeline_change_state),
1368         (gst_pipeline_set_clock):
1369         Post clock error when clock cannot be used in a pipeline.
1370
1371 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1372
1373         * docs/gst/gstreamer-sections.txt:
1374           make two symbols from gstinfo private for the docs
1375         * gst/base/gstcollectpads.h:
1376         * gst/gstutils.c:
1377           fix doc typos, update docs
1378
1379 2005-11-22  Wim Taymans  <wim@fluendo.com>
1380
1381         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1382         (gst_base_sink_wait), (gst_base_sink_do_sync),
1383         (gst_base_sink_handle_event):
1384         * gst/base/gstbasesink.h:
1385         No need to store the clock, the parent element class already
1386         has it.
1387
1388         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1389         Updates for clock_set returning a gboolean
1390
1391         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1392         (gst_clock_id_wait_async), (gst_clock_class_init),
1393         (gst_clock_init), (gst_clock_finalize),
1394         (gst_clock_get_internal_time), (gst_clock_get_time),
1395         (gst_clock_slave_callback), (gst_clock_set_master),
1396         (gst_clock_get_master), (do_linear_regression),
1397         (gst_clock_add_observation), (gst_clock_set_property),
1398         (gst_clock_get_property):
1399         * gst/gstclock.h:
1400         Implement master/slave. When setting a clock as a slave, a
1401         periodic timeout is scheduled to sample master and slave times.
1402         Then the slave clock is recalibrated to match offset and rate
1403         of the master clock.
1404         Update logging a bit.
1405         Add flag so that a clock can state that is cannot be slaved to
1406         another clock.
1407
1408         * gst/gstelement.c: (gst_element_set_clock):
1409         * gst/gstelement.h:
1410         The set clock returns a gboolean for when an element cannot
1411         deal with the selected clock in the pipeline. 
1412
1413         * gst/gstpipeline.c: (gst_pipeline_change_state),
1414         (gst_pipeline_set_clock):
1415         * gst/gstpipeline.h:
1416         Handle the case where the selected clock cannot be set on
1417         the pipeline.
1418
1419         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1420         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1421         (gst_net_client_clock_set_property),
1422         (gst_net_client_clock_get_property),
1423         (gst_net_client_clock_observe_times):
1424         * gst/net/gstnetclientclock.h:
1425         Use regression code in GstClock parent, remove duplicated
1426         functionality.
1427
1428 2005-11-22  Michael Smith <msmith@fluendo.com>
1429
1430         * gst/gstutils.c: (gst_util_clock_time_scale):
1431         * gst/gstutils.h:
1432         * docs/gst/gstreamer-sections.txt:
1433           Rename method to have extra underscore.
1434
1435 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1436
1437         * gst/elements/Makefile.am:
1438         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1439         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1440         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1441         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1442         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1443         * gst/elements/gstfakesrc.h:
1444         * gst/gstqueue.c: (queue_leaky_get_type):
1445           correctly fix GEnumValues so that nick is the short lowercase
1446           dashed tag
1447         * tools/gst-inspect.c: (print_element_properties_info):
1448           also show the nick, since it's useful to use from parse_launch
1449           syntax
1450           Fixes #322139
1451
1452 2005-11-22  Michael Smith <msmith@fluendo.com>
1453
1454         * gst/gstutils.c: (gst_util_clocktime_scale):
1455         * gst/gstutils.h:
1456         * docs/gst/gstreamer-sections.txt:
1457           Add util method for scaling a clocktime by a fraction. Useful 
1458           implementation is left as an exercise for the reader.
1459
1460 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1461
1462         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1463         If needed, allocate storage in the destination value during
1464         collection.
1465
1466 2005-11-22  Edward Hervey  <edward@fluendo.com>
1467
1468         * docs/gst/gstreamer-sections.txt:
1469         * gst/Makefile.am:
1470         * gst/gst.h:
1471         * gst/gsturitype.c:
1472         * gst/gsturitype.h:
1473         * gst/gstutils.c: (gst_util_set_object_arg):
1474         * tools/gst-compprep.c: (main):
1475         * tools/gst-inspect.c: (print_element_properties_info):
1476         Removed GstURI, closes bug #321061
1477
1478 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1479
1480         * check/gst/gststructure.c: (GST_START_TEST):
1481         * gst/gststructure.c: (gst_structure_parse_value):
1482           Oops, broke automatic string type parsing.
1483           Add a test to catch it in future.
1484
1485 2005-11-22  Andy Wingo  <wingo@pobox.com>
1486
1487         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1488         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1489         Actually rename the function implementations. Grr.
1490
1491 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1492
1493         * check/gst/capslist.h:
1494           Comment test cases
1495         * check/gst/gststructure.c: (GST_START_TEST),
1496         (gst_structure_suite):
1497           Test automatic value type detection in gst_structure_from_string.
1498         * gst/gststructure.c: (gst_structure_parse_value):
1499           Add fraction as a type we try and guess automatically in
1500           caps/structure strings.
1501
1502 2005-11-22  Andy Wingo  <wingo@pobox.com>
1503
1504         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1505
1506         * gst/gsttagsetter.h:
1507         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1508         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1509         (gst_tag_setter_add_tag_valist)
1510         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1511         _add_values, _add_valist, and _add_valist_values. Since this is an
1512         interface the function suffixes should be more explicit so
1513         language binding don't end up with element.add_valist ->
1514         gst_tag_setter_add_valist, for example. Fixes #322069.
1515
1516 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1517
1518         * check/gst/gstcaps.c: (GST_START_TEST):
1519           Extend caps string tests to check that a caps to string
1520           conversion is reversible and produces the same caps.
1521
1522         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1523           Output "fraction" as the generic type fraction range, so caps
1524           serialisation and deserialisation works.
1525         * check/gst/capslist.h:
1526         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1527           Support 'MIN' and 'MAX' for deserialising fractions.
1528
1529 2005-11-22  Andy Wingo  <wingo@pobox.com>
1530
1531         * gst/gstevent.h (gst_event_new_new_segment)
1532         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1533         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1534         Renamed from *_newsegment, *_buffersize, *_notarget.
1535
1536         * scripts/update-funcnames: New script, performs the changes
1537         listed above.
1538
1539 2005-11-22  Wim Taymans  <wim@fluendo.com>
1540
1541         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1542         Make sure the GstFlowReturn is returned.
1543
1544         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1545         (gst_bus_add_signal_watch):
1546         * gst/gstbus.h:
1547         add gst_bus_add_signal_watch_full.
1548
1549         * gst/gstplugin.c: (gst_plugin_load_file):
1550         Small style cleanup.
1551
1552 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1553
1554         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1555           Block the fakesrc srcpad when we send an event, to avoid
1556           contention on the stream_lock causing random test failures.
1557
1558 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1559
1560         * check/gst/gstvalue.c: (GST_START_TEST):
1561         * gst/gstvalue.c: (gst_value_fraction_subtract):
1562           Fix subtraction.
1563
1564 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1565
1566         * gst/gst.h:
1567           include "gstchildproxy.h"
1568         * gst/gstchildproxy.h:
1569         * libs/gst/controller/gstcontroller.h:
1570           use G_GNUC_NULL_TERMINATED
1571
1572 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1573
1574         * check/gst/capslist.h:
1575         * check/gst/gstcaps.c: (GST_START_TEST):
1576         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1577         * gst/gststructure.c: (gst_structure_parse_range),
1578         (gst_structure_fixate_field_nearest_fraction):
1579         * gst/gststructure.h:
1580         * gst/gstvalue.c: (gst_value_init_fraction_range),
1581         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1582         (gst_value_collect_fraction_range),
1583         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1584         (gst_value_set_fraction_range_full),
1585         (gst_value_get_fraction_range_min),
1586         (gst_value_get_fraction_range_max),
1587         (gst_value_serialize_fraction_range),
1588         (gst_value_transform_fraction_range_string),
1589         (gst_value_compare_fraction_range),
1590         (gst_value_deserialize_fraction_range),
1591         (gst_value_intersect_fraction_fraction_range),
1592         (gst_value_intersect_fraction_range_fraction_range),
1593         (gst_value_subtract_fraction_fraction_range),
1594         (gst_value_subtract_fraction_range_fraction),
1595         (gst_value_subtract_fraction_range_fraction_range),
1596         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1597         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1598         (gst_value_transform_string_fraction), (_gst_value_initialize):
1599         * gst/gstvalue.h:
1600           Implement fraction ranges and extend GstFraction to support
1601           arithmetic subtraction, as well as deserialization from integer
1602           strings such as "100"
1603           Add a testsuite as for int and double range set operations
1604
1605 2005-11-21  Andy Wingo  <wingo@pobox.com>
1606
1607         * gst/gsttaglist.h: 
1608         * gst/gstcaps.h: 
1609         * gst/gststructure.h: Add glib-compat.h.
1610
1611 2005-11-21  Wim Taymans  <wim@fluendo.com>
1612
1613         * gst/gstbin.c: (gst_bin_change_state_func):
1614         Fix for #321595
1615
1616 2005-11-21  Wim Taymans  <wim@fluendo.com>
1617
1618         * gst/gstsegment.h:
1619         And add a nice define too.
1620
1621 2005-11-21  Wim Taymans  <wim@fluendo.com>
1622
1623         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1624         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1625         (gst_segment_set_duration), (gst_segment_set_last_stop),
1626         (gst_segment_set_seek), (gst_segment_set_newsegment),
1627         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1628         (gst_segment_clip):
1629         * gst/gstsegment.h:
1630         Make binding friendly.
1631
1632 2005-11-21  Andy Wingo  <wingo@pobox.com>
1633
1634         * gst/gsttagsetter.h: 
1635         * gst/gsttaglist.h: 
1636         * gst/gststructure.h: 
1637         * gst/gstcaps.h: 
1638         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1639         #319940.
1640
1641         * gst/gsterror.c (_gst_core_errors_init):
1642         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1643         category.
1644
1645         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1646         (noinst_HEADERS): noinst the -private.
1647
1648 2005-11-21  Michael Smith <msmith@fluendo.com>
1649
1650         * gst/gstplugin.h:
1651         * gst/gstregistry.h:
1652           Remove unimplemented declarations for which we can see no sensible
1653           use.
1654
1655 2005-11-21  Andy Wingo  <wingo@pobox.com>
1656
1657         * gst/gst.h: Include glib-compat.h.
1658
1659         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1660
1661         * gst/glib-compat.c: Include the public and the private header.
1662
1663         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1664
1665         * gst/gstvalue.c: 
1666         * gst/gstpad.c: 
1667         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1668
1669         * check/gst/gstevent.c (create_custom_events): Check that
1670         FLUSH_STOP is serialized.
1671
1672         * check/elements/identity.c (event_func): 
1673         * check/elements/fakesrc.c (event_func): No stream lock, the core
1674         takes it.
1675
1676         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1677         stream lock taking, yay.
1678
1679         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1680         ensure that core takes the stream lock.
1681
1682         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1683         lock name change.
1684
1685         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1686         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1687         it already. For the flush start we do take it though so we get the
1688         right preroll state change messages.
1689
1690         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1691         the stream lock here, the core does it for us.
1692
1693         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1694         GST_STREAM_GET_LOCK.
1695         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1696         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1697         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1698         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1699         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1700         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1701
1702         * gst/gstpad.c: Update for stream lock name change.
1703
1704         * gst/base/gstbasesink.c: Update for preroll lock name change.
1705
1706 2005-11-21  Wim Taymans  <wim@fluendo.com>
1707
1708         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1709         (gst_clock_get_master):
1710         * gst/gstclock.h:
1711         * gst/gstsystemclock.c: (gst_system_clock_init):
1712         Convert Clock flags to object flags.
1713         Added methods to manage master/slave clocks.
1714
1715 2005-11-21  Wim Taymans  <wim@fluendo.com>
1716
1717         * check/gst/gstsegment.c: (GST_START_TEST):
1718         * docs/design/part-TODO.txt:
1719         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1720         (gst_base_sink_event), (gst_base_sink_do_sync),
1721         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1722         (gst_base_sink_query), (gst_base_sink_change_state):
1723         * gst/base/gstbasesink.h:
1724         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1725         (gst_base_src_default_newsegment),
1726         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1727         (gst_base_src_get_range), (gst_base_src_loop),
1728         (gst_base_src_change_state):
1729         * gst/base/gstbasesrc.h:
1730         * gst/base/gstbasetransform.c:
1731         (gst_base_transform_prepare_output_buf),
1732         (gst_base_transform_event), (gst_base_transform_change_state):
1733         * gst/base/gstbasetransform.h:
1734         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1735         (gst_collect_pads_event):
1736         * gst/base/gstcollectpads.h:
1737         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1738         (gst_fake_src_create):
1739         * gst/elements/gstfakesrc.h:
1740         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1741         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1742         (gst_segment_set_last_stop), (gst_segment_set_seek),
1743         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1744         (gst_segment_to_running_time), (gst_segment_clip):
1745         * gst/gstsegment.h:
1746         More segment updates, replace code in plugins with segment
1747         helper functions.
1748
1749 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1750
1751         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1752         Don't ignore sscanf results
1753
1754 2005-11-21  Andy Wingo  <wingo@pobox.com>
1755
1756         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1757
1758         * *.h:
1759         * *.c: Ran scripts/update-macros. Oh yes.
1760
1761         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1762         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1763         GST_GET_LOCK, etc.
1764
1765         * scripts/update-macros: New script. Run it on your files to
1766         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1767         well.
1768
1769 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1770
1771         * docs/gst/Makefile.am:
1772         * docs/gst/gstreamer-docs.sgml:
1773         * docs/gst/gstreamer-sections.txt:
1774         * docs/gst/gstreamer.types:
1775         * gst/gstinfo.h:
1776           more docs fixes, add new api to the docs
1777
1778 2005-11-21  Andy Wingo  <wingo@pobox.com>
1779
1780         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1781         state_broadcast call.
1782
1783         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1784
1785 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1786
1787         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1788         function calls for arrays.
1789
1790 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1791
1792         * docs/random/ensonic/media-device-daemon.txt:
1793           wild idea, can this be done?
1794         * docs/gst/gstreamer-sections.txt:
1795         * gst/gsterror.h:
1796         * gst/gstfilter.c:
1797         * gst/gstfilter.h:
1798         * gst/gstplugin.h:
1799         * gst/gstpluginfeature.c:
1800         * gst/gsttrace.c:
1801         * gst/gstvalue.c:
1802         * gst/gstvalue.h:
1803           doc fixes and additions
1804
1805 2005-11-21  Andy Wingo  <wingo@pobox.com>
1806
1807         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1808         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1809         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1810         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1811         private to the basesrc implementation.
1812
1813         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1814         behalf of event function if necessary. It should no longer be
1815         necessary to take the stream lock in pad's event functions. Fixes
1816         #320299.
1817
1818 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1819         * docs/gst/gstreamer-sections.txt:
1820         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1821         (gst_structure_fixate_field_nearest_double),
1822         (gst_structure_fixate_field_boolean):
1823         * gst/gststructure.h:
1824         * win32/common/libgstreamer.def:
1825         * win32/gstreamer.def:
1826
1827         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1828         (#322027)
1829
1830 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1831
1832         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1833         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1834         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1835         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1836         (gst_fdsrc_uri_handler_init):
1837         * gst/elements/gstfdsrc.h:
1838           Port fd:// URI handler from 0.8 to fdsrc
1839
1840 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1841
1842         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1843         (gst_value_serialize_fourcc):
1844         * gst/gstvalue.h:
1845           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1846           consistent with our other format defines (#320324).
1847
1848 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1849
1850         * gst/gstvalue.c: (gst_value_is_fixed):
1851           Revert previous commit. Value lists are by definition
1852           not fixed, as they are a list of possible values.
1853
1854 2005-11-21  Andy Wingo  <wingo@pobox.com>
1855
1856         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1857         during the stable series if we need it. Fixes #319178.
1858
1859         * gst/gstevent.c (gst_event_new_filler): Removed.
1860
1861         * check/gst/gstevent.c: Update comment about filler events.
1862
1863 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1864
1865         * gst/gstvalue.c: (gst_value_is_fixed):
1866           Should handle both value arrays and value lists.
1867
1868 2005-11-21  Andy Wingo  <wingo@pobox.com>
1869
1870         patch by: Alessandro Dessina <alessandro nnva org>
1871
1872         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1873         functions to access arrays. Fixes #321962.
1874
1875 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1876
1877         * docs/gst/gstreamer.types:
1878           gst_collectpads_get_type => gst_collect_pads_get_type.
1879           
1880         * gst/base/gstbasetransform.c:
1881           Remove unused SIGNAL_HANDOFF enum.
1882
1883 2005-11-21  Andy Wingo  <wingo@pobox.com>
1884
1885         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1886         the event type (upstream, downstream, serialized). Renamed
1887         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1888         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1889         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1890
1891         * gst/gstevent.c: Update for new CUSTOM event names.
1892
1893         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1894
1895         * gst/gstevent.h:
1896         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1897         bug #319392.
1898
1899 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1900
1901         * docs/gst/gstreamer-sections.txt:
1902         * win32/common/libgstbase.def:
1903         * win32/libgstbase.def:
1904         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1905         (gst_collect_pads_class_init), (gst_collect_pads_init),
1906         (gst_collect_pads_finalize), (gst_collect_pads_new),
1907         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1908         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1909         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1910         (gst_collect_pads_start), (gst_collect_pads_stop),
1911         (gst_collect_pads_peek), (gst_collect_pads_pop),
1912         (gst_collect_pads_available), (gst_collect_pads_read),
1913         (gst_collect_pads_flush), (gst_collect_pads_event),
1914         (gst_collect_pads_chain):
1915         * gst/base/gstcollectpads.h:
1916           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1917           unimplemented functions as unimplemented. Add padding to
1918           GstCollectData. (#320766, #320423)
1919
1920 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1921
1922         * gst/gstmessage.c:
1923           Improve docs for DURATION message (usage of duration parameter)
1924           (#320113)
1925
1926 2005-11-20  Wim Taymans  <wim@fluendo.com>
1927
1928         * check/Makefile.am:
1929         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1930         (main):
1931         * gst/Makefile.am:
1932         * gst/gst.h:
1933         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1934         (gst_segment_set_seek), (gst_segment_set_newsegment),
1935         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1936         (gst_segment_clip):
1937         * gst/gstsegment.h:
1938         Added segment helper structure and methods. Not fully implemented
1939         yet.
1940         Added segment check.
1941
1942 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1943
1944         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1945           Add a deserialisation test for fractions
1946         * examples/metadata/read-metadata.c: (message_loop),
1947         (make_pipeline), (main):
1948           Fix up metadata reading sample.
1949         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1950           Debug format fix
1951         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1952           Don't try and fixate empty caps
1953         * gst/gst_private.h:
1954           Wrap in G_BEGIN_DECLS/G_END_DECLS
1955         * gst/gstvalue.c: (gst_value_collect_fraction),
1956         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1957         (gst_value_transform_string_fraction),
1958         (gst_value_compare_fraction):
1959           Add some extra guards to ensure that we don't end up 
1960           with an invalid denominator of 0 in a gstfraction and
1961           that fractions always get reduced.
1962
1963 2005-11-20  Wim Taymans  <wim@fluendo.com>
1964
1965         * docs/gst/gstreamer-sections.txt:
1966         * gst/gstbuffer.h:
1967         * gst/gstelement.c:
1968         * gst/gstformat.c:
1969         * gst/gstformat.h:
1970         * gst/gstindex.h:
1971         * gst/gstquery.c:
1972         * gst/gstquery.h:
1973         * gst/gstvalue.c:
1974         Doc fixes.
1975
1976 2005-11-20  Wim Taymans  <wim@fluendo.com>
1977
1978         * docs/design/part-TODO.txt:
1979         * gst/gstcaps.h:
1980         Make a proper enum of the flag.
1981
1982 2005-11-19  Wim Taymans  <wim@fluendo.com>
1983
1984         * docs/design/part-TODO.txt:
1985         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1986         (gst_format_to_quark), (gst_format_register):
1987         * gst/gstformat.h:
1988         * gst/gstquery.c: (_gst_query_initialize),
1989         (gst_query_type_get_name), (gst_query_type_to_quark),
1990         (gst_query_type_register):
1991         * gst/gstquery.h:
1992         Add type to quark and type to string conversions.
1993
1994 2005-11-19  Andy Wingo  <wingo@pobox.com>
1995
1996         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1997         #320097.
1998
1999 2005-11-19  Wim Taymans  <wim@fluendo.com>
2000
2001         * docs/design/part-TODO.txt:
2002         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2003         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2004         (gst_bin_handle_message_func):
2005         * gst/gstbin.h:
2006         Make message handling overridable.
2007
2008 2005-11-19  Andy Wingo  <wingo@pobox.com>
2009
2010         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2011
2012         * gst/gstclock.h:
2013         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2014         be a GstClockTime.
2015         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2016         is a GstClockTime. Fixes #321710.
2017
2018         * gst/gstclock.h (GstClock): Remove offset property. Add
2019         internal_calibration and external_calibration. Fix padding. Pad
2020         also by GstClockTime so we don't run into problems.
2021
2022         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2023         (gst_clock_get_rate_offset): Remove.
2024         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2025
2026         * gst/gstutils.h:
2027         * gst/gstutils.c (g_static_rec_cond_wait)
2028         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2029
2030         * gst/gstbin.c: Remove terrible continue_state prototype.
2031
2032         * gst/gstelement.h (gst_element_continue_state): Make public.
2033
2034         * gst/gstelement.h:
2035         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2036         by continue_state. Fixes #319389.
2037
2038         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2039         Really fixes #168438. However I don't see anywhere where the
2040         filter function is called... stupid GStreamer...
2041         
2042         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2043         don't have a dispose function, so it won't get called when the
2044         object is unreffed, but oh well!
2045
2046         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2047         allows a destroy function to be set so user_data can be freed.
2048         Fixes #168438.
2049         (gst_index_set_filter): Call gst_index_set_filter_full.
2050
2051         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2052
2053         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2054         string should produce an error, given the lack of a way to
2055         represent NULL strings. Fixes #165650.
2056         
2057         * gst/gstvalue.h: 
2058         * gst/gstvalue.c (gst_value_array_append_value) 
2059         (gst_value_array_prepend_value, gst_value_array_get_size) 
2060         (gst_value_array_get_value): New API, copied from
2061         gst_value_list_*, only operates on arrays.
2062         (gst_value_list_append_value, gst_value_list_prepend_value) 
2063         (gst_value_list_concat, gst_value_list_get_size) 
2064         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2065
2066         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2067         init_list, because it works on both.
2068         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2069         (gst_value_copy_list_or_array): Renamed from copy_list.
2070         (gst_value_free_list_or_array): Renamed from free_list.
2071         (gst_value_collect_list_or_array): Renamed from collect_list.
2072         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2073         (gst_value_list_or_array_peek_pointer): Renamed from
2074         list_peek_pointer.
2075         (_gst_value_array_value_table, _gst_value_list_value_table):
2076         Update value table functions.
2077         (gst_value_compare_list_or_array): Renamed from compare_list.
2078
2079         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2080         some constness.
2081
2082         * gst/gsttaglist.c:
2083         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2084         GstTagList*. Fixes #143472.
2085
2086         * gst/gststructure.h: Clarify what the foreach/map functions can
2087         or can't do to their arguments.
2088
2089 2005-11-18  Wim Taymans  <wim@fluendo.com>
2090
2091         * gst/gstclock.c: (gst_clock_set_calibration),
2092         (gst_clock_get_calibration):
2093         Doc and API fixes.
2094         Calibration can be set with internal time equal to current
2095         internal time too.
2096
2097 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2098
2099         * gst/gsterror.c:
2100         * gst/gsterror.h:
2101           document
2102
2103 2005-11-18  Andy Wingo  <wingo@pobox.com>
2104
2105         * configure.ac: 
2106         * pkgconfig/gstreamer-net.pc.in:
2107         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2108         * pkgconfig/Makefile.am: Add net pkgconfig files.
2109
2110 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2111
2112         * gst/gstcaps.c:
2113         * gst/gstghostpad.c:
2114         * gst/gsttrace.c:
2115         * gst/gstvalue.c:
2116         * gst/gstvalue.h:
2117           docs fixes
2118
2119 2005-11-18  Andy Wingo  <wingo@pobox.com>
2120
2121         * gst/net/gstnetclientclock.c: Turn off debugging.
2122
2123         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2124         times connverge somewhat. Can't make a real test.
2125
2126         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2127         integer arithmetic. Return the minimum of the domain, which can be
2128         set as "internal" for gst_clock_set_calibration.
2129         (gst_net_client_clock_observe_times): Call _set_calibration.
2130         (gst_net_client_clock_new): Call _set_calibration instead of
2131         rate_offset.
2132
2133         * check/net/gstnetclientclock.c (test_functioning): Use the right
2134         adjustment api.
2135
2136         * gst/gstclock.h:
2137         * gst/gstclock.c (gst_clock_get_calibration) 
2138         (gst_clock_set_calibration): New functions, obsolete the ones I
2139         added yesterday. Doh. Precision issues mean we have to extrapolate
2140         from a point in the more recent past than 1970.
2141         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2142         obsolete.
2143         (gst_clock_adjust_unlocked): Use the right calibration data.
2144
2145 2005-11-18  Edward Hervey  <edward@fluendo.com>
2146
2147         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2148         Also reset the ->current_* values in READY->PAUSED
2149
2150 2005-11-18  Andy Wingo  <wingo@pobox.com>
2151
2152         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2153         Whoops, check the right fd. Also add some debugging.
2154         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2155         (do_linear_regression): Add a crapload of debugging. Subtract off
2156         the minimum values from the input series to discard unneeded bits.
2157         Use only int arithmetic. There is still double arithmetic when
2158         calculating the intercept that needs fixing. Return boolean to
2159         indicate success; FALSE would mean the domain or range is too
2160         great. Still needs fixes.
2161
2162 2005-11-18  Wim Taymans  <wim@fluendo.com>
2163
2164         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2165         For the current position in stream time, we need to subtract
2166         accumulated time.
2167         
2168         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2169         Release lock before calling the callback function of async
2170         entries.
2171
2172 2005-11-18  Andy Wingo  <wingo@pobox.com>
2173
2174         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2175         Port goes all the way to MAXUINT16.
2176
2177         * gst/net/gstnettimeprovider.c: Make the port range the same as
2178         for the kernel: 0 assigns, otherwise ports are less than
2179         MAXUINT16.
2180
2181         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2182         port change.
2183
2184         * check/net/gstnetclientclock.c (test_functioning): Add the start
2185         of another test. 
2186
2187 2005-11-18  Wim Taymans  <wim@fluendo.com>
2188
2189         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2190         (gst_bin_remove_func), (bin_bus_handler):
2191         * gst/gstbin.h:
2192         Removing a clock provider from a bin, triggers a clock lost message
2193         so that a new clock will be selected.
2194         Adding a clock to a bin triggers a clock provider message.
2195         Make sure we reselect a clock when we received a clock lost message.
2196         Keep a reference to the element that provided the clock.
2197
2198 2005-11-18  Andy Wingo  <wingo@pobox.com>
2199
2200         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2201         the clock initially so it produces values around the base time.
2202         (gst_net_client_clock_class_init): Typo fix.
2203         (gst_net_client_clock_thread): Add note on when the socket gets
2204         closed.
2205
2206 2005-11-17  Wim Taymans  <wim@fluendo.com>
2207
2208         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2209         Free remote and local time arrays.
2210
2211 2005-11-17  Wim Taymans  <wim@fluendo.com>
2212
2213         * gst/net/gstnetclientclock.c: (do_linear_regression),
2214         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2215         Fix compilation, uninitialized vars and a forgotten continue.
2216
2217 2005-11-17  Andy Wingo  <wingo@pobox.com>
2218
2219         * check/Makefile.am (check_PROGRAMS): 
2220         * check/net/gstnetclientclock.c: Add a most minimal test for the
2221         net client clock. More to come later.
2222
2223         * gst/net/gstnet.h: 
2224         * gst/net/Makefile.am: Add netclientclock.
2225
2226         * gst/net/gstnetclientclock.h:
2227         * gst/net/gstnetclientclock.c: New files, implement an untested
2228         GstClock that takes its time from a network time provider.
2229         Implements the algorithm in network-clock.scm.
2230
2231         * tests/network-clock.scm (*window-size*): Rename from
2232         *queue-length*.
2233         * tests/network-clock.scm (network-time): 
2234         * tests/network-clock-utils.scm (q-push): Update callers.
2235
2236 2005-11-17  Wim Taymans  <wim@fluendo.com>
2237
2238         * gst/gstbin.c: (gst_bin_provide_clock_func),
2239         (gst_bin_sort_iterator_new):
2240         And unref the child too..
2241
2242 2005-11-17  Wim Taymans  <wim@fluendo.com>
2243
2244         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2245         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2246         Refactor the sort iterator so it can be used while holding the
2247         LOCK too.
2248         Make clock selection select a clock closest to the source.
2249
2250 2005-11-17  Michael Smith <msmith@fluendo.com>
2251
2252         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2253         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2254         * gst/gstclock.h:
2255           Anonymous structs are a gcc (and some other compilers) extension, so
2256           don't use them. Since this is only for ABI-compatibility, and our
2257           API/ABI freeze is over in a few days, this whole thing will only
2258           last a few days, so don't bother trying to think up a meaningful
2259           name for the struct.
2260
2261 2005-11-17  Andy Wingo  <wingo@pobox.com>
2262
2263         * gst/gstclock.h (GstClock): Add rate and offset properties,
2264         preserving ABI stability. Add rate/offset accessors. Will file bug
2265         for the freeze break.
2266
2267         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2268         and offset, trying to keep precision and avoiding
2269         underflow/overflow.
2270         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2271         functions. Make gst_clock_set_time_adjust obsolete.
2272         (gst_clock_set_time_adjust): Note that this function is obsolete.
2273         Will file bug soon.
2274
2275         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2276         greppable by using GST_PADDING-1+1.
2277
2278 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2279
2280         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2281
2282         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2283           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2284
2285         * gst/gstpadtemplate.h:
2286         * gst/gstpluginfeature.h:
2287           Don't use c++ style comments in headers (#321638).
2288
2289 2005-11-16  Andy Wingo  <wingo@pobox.com>
2290
2291         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2292         buffer.
2293
2294         * check/net/gstnettimeprovider.c: Check to see that the time
2295         provider actually provides times. Works, yo!
2296
2297 2005-11-16  Wim Taymans  <wim@fluendo.com>
2298
2299         * check/Makefile.am:
2300         Enable more tests.
2301
2302         * check/elements/fakesrc.c: (GST_START_TEST):
2303         Set element to NULL before disposing it.
2304
2305 2005-11-16  Andy Wingo  <wingo@pobox.com>
2306
2307         * gst/net/Makefile.am:
2308         * gst/net/gstnet.h:
2309         * gst/net/gstnettimeprovider.c: 
2310         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2311         provider, include it from gstnet.h, and add it to the build.
2312
2313         * gst/net/gstnettimepacket.h: 
2314         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2315         sending and receiving.
2316
2317 2005-11-16  Wim Taymans  <wim@fluendo.com>
2318
2319         * check/Makefile.am:
2320         Enable valgrind check.
2321
2322         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2323         (gst_fake_src_alloc_buffer):
2324         Fix memleak.
2325
2326 2005-11-16  Wim Taymans  <wim@fluendo.com>
2327
2328         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2329         Call parent finalize too.
2330
2331 2005-11-16  Wim Taymans  <wim@fluendo.com>
2332
2333         * check/Makefile.am:
2334         Enable valgrind check that should work fine now.
2335
2336         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2337         * gst/gstqueue.c: (gst_queue_init):
2338         Fix memleaks in pad allocation.
2339
2340 2005-11-16  Andy Wingo  <wingo@pobox.com>
2341
2342         * gst/net/Makefile.am:
2343         * gst/net/gstnet.h: New part of core to hold network elements and
2344         objects. Put in core because it exposes API that applications want
2345         to use. The library is named libgstnet-tempname right now because
2346         of the existing libgstnet in gst-plugins-base. Solution is
2347         probably to rename the one in plugins-base; will file a bug for
2348         the freeze break.
2349
2350         * gst/net/gstnettimeprovider.c: 
2351         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2352         get_time call over the network.
2353
2354         * configure.ac: 
2355         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2356
2357         * check/Makefile.am:
2358         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2359         get additions shortly.
2360
2361 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2362
2363         * gst/gstpad.c: (gst_pad_new_from_static_template):
2364         * gst/gstpad.h:
2365           add gst_pad_new_from_static_template functions
2366         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2367         (gst_check_setup_sink_pad):
2368         * gst/elements/gsttee.c: (gst_tee_init):
2369           and use them
2370
2371 2005-11-16  Wim Taymans  <wim@fluendo.com>
2372
2373         * gst/gstpad.c: (gst_pad_pause_task):
2374         Removed warning, it's not really an error either.
2375
2376 2005-11-16  Wim Taymans  <wim@fluendo.com>
2377
2378         * gst/base/gstbasetransform.c:
2379         (gst_base_transform_prepare_output_buf),
2380         (gst_base_transform_event):
2381         Check if the caps are NULL, this can happen if the element
2382         is shutting down and the pad caps are set to NULL.
2383
2384 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2385
2386         * gst/elements/gsttee.c: (gst_tee_init):
2387           fix pad template leak in tee
2388
2389 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2390
2391         * gst/glib-compat.c: (g_value_dup_gst_object):
2392         * gst/glib-compat.h:
2393         * gst/gstpad.c: (gst_pad_set_property):
2394           use gst_object_ref when setting the pad template; this will
2395           trigger the pad template leaks on GLib 2.6 and the slaves
2396
2397 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2398
2399         * gst/glib-compat.c: (gst_flags_get_first_value):
2400         * gst/glib-compat.h:
2401         * gst/gstregistryxml.c:
2402           remove functions copied from GLib 2.6
2403
2404 2005-11-16  Michael Smith <msmith@fluendo.com>
2405
2406         * gst/Makefile.am:
2407           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2408           do, but only breaks with newer valgrind versions. We're not a
2409           valgrind tool, we have no link-time dependencies on libcoregrind.
2410
2411 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2412
2413         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2414           some debug changes
2415         * gst/gstmessage.h:
2416           typo fixes
2417
2418 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2419
2420         * gst/base/gstbasesrc.c: (gst_base_src_init):
2421         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2422         * gst/gstqueue.c: (gst_queue_init):
2423         * gst/gstregistryxml.c: (load_feature):
2424           Revert all these unrefs, they don't even pass make check !
2425
2426 2005-11-15  Johan Dahlin  <johan@gnome.org>
2427
2428         * gst/base/gstbasesrc.c: (gst_base_src_init):
2429         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2430         * gst/gstqueue.c: (gst_queue_init): 
2431         Free pad templates, fixes a couple of leaks.
2432
2433 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2434
2435         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2436
2437         * gst/gstpad.c: (gst_pad_get_property):
2438           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2439           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2440           (#321452)
2441
2442 2005-11-15  Wim Taymans  <wim@fluendo.com>
2443
2444         * gst/gstevent.c:
2445         Small doc update.
2446
2447 2005-11-15  Andy Wingo  <wingo@pobox.com>
2448
2449         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2450
2451         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2452         using GST_CLOCK_TIME_NONE to disable base time management.
2453         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2454         time if it was NONE before.
2455         (gst_pipeline_change_state): Only munge the base time if
2456         stream_time != GST_CLOCK_TIME_NONE.
2457
2458         * check/gst/gstpipeline.c (test_base_time): Punt around the
2459         problem of the probe not being called, because that's not the
2460         issue I'm looking at. Add a check that setting stream_time to NONE
2461         disables base time management.
2462         
2463 2005-11-15  Wim Taymans  <wim@fluendo.com>
2464
2465         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2466         segment_stop == -1 at startup.
2467
2468         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2469         (gst_base_transform_change_state):
2470         Init segment values at start.
2471
2472 2005-11-15  Wim Taymans  <wim@fluendo.com>
2473
2474         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2475         0 segment values are 0 in any format.
2476
2477         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2478         * gst/base/gstbasetransform.h:
2479         Parse newsegment correctly in basetransform
2480
2481         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2482         Sync to clock using updated segment values.
2483
2484 2005-11-15  Andy Wingo  <wingo@pobox.com>
2485
2486         * check/gst/gstpipeline.c (test_base_time): Add check that the
2487         base time and stream time are reset correctly.
2488
2489 2005-11-15  Wim Taymans  <wim@fluendo.com>
2490
2491         * docs/design/part-TODO.txt:
2492         Some more TODO items.
2493
2494 2005-11-15  Andy Wingo  <wingo@pobox.com>
2495
2496         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2497         error if the user selected "no clock" as the clocking method.
2498
2499         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2500         timestamps with live capture.
2501
2502         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2503         is 0 but we are a live source, timestamp the buffers using the
2504         element's clock.
2505
2506 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2507
2508         * docs/gst/gstreamer-sections.txt:
2509         * gst/gsterror.c:
2510         * gst/gstghostpad.c:
2511         * gst/gstobject.h:
2512         * gst/gstxml.c:
2513           more section docs
2514
2515 2005-11-14  Wim Taymans  <wim@fluendo.com>
2516
2517         * common/gst.supp:
2518           add suppressions from Wim's Debian machine
2519
2520 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2521
2522         * common/gst.supp:
2523           add suppressions from Andy's AMD64 Ubuntu machine
2524
2525 2005-11-14  Andy Wingo  <wingo@pobox.com>
2526
2527         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2528         STATE_LOCK not necessary. Fixes #311489.
2529
2530         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2531         #305291.
2532
2533         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2534         this function is not implemented.
2535
2536 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2537
2538         * gst/base/gstbasetransform.c:
2539         (gst_base_transform_prepare_output_buf):
2540         Ref the source pad caps while we need them.
2541         Fixes (#321386)
2542
2543 2005-11-11  Wim Taymans  <wim@fluendo.com>
2544
2545         * docs/gst/gstreamer-sections.txt:
2546         Added some docs for GstCollectData.
2547
2548         * gst/base/gstadapter.c:
2549         Some small code example fix.
2550
2551         * gst/base/gstcollectpads.c:
2552         * gst/base/gstcollectpads.h:
2553         Document some more.
2554
2555 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2556
2557         * configure.ac: back to HEAD
2558
2559 === release 0.9.5 ===
2560
2561 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2562
2563         * configure.ac:
2564           releasing 0.9.5, "Bike Lunch Day"
2565
2566 2005-11-11  Wim Taymans  <wim@fluendo.com>
2567
2568         * gst/gstbuffer.c: (_gst_buffer_copy):
2569         Copy more flags.
2570
2571         * gst/gstcaps.c: (gst_caps_is_equal):
2572         Fix some docs.
2573         Make _is_equal fast in the trivial cases.
2574
2575         * gst/gstminiobject.c:
2576         * gst/gstminiobject.h:
2577         More docs. Spifify .h file.
2578
2579         * gst/gstutils.c:
2580         Small doc update.
2581
2582 2005-11-11  Wim Taymans  <wim@fluendo.com>
2583
2584         * gst/base/gstbasetransform.c:
2585         (gst_base_transform_prepare_output_buf),
2586         (gst_base_transform_handle_buffer):
2587         Small cleanups.
2588         If we're processing a buffer and need to allocate an output
2589         buffer, we cannot accept a format change. If we did get a 
2590         format change, we have to alloc a buffer ourselves of the 
2591         right size.
2592
2593 2005-11-11  Wim Taymans  <wim@fluendo.com>
2594
2595         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2596         While checking the flag for reentrancy in the gstcaps function
2597         is nice to detect recursive invocations, it also makes it 
2598         impossible to call getcaps from multiple threads, which must be
2599         possible. So, checking for recursive calls has to go.
2600
2601 2005-11-11  Michael Smith <msmith@fluendo.com>
2602
2603         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2604           Don't sync on buffers that fall partially outside our current
2605           segment. Prevents an assertion failure/abort playing some files.
2606
2607 2005-11-10  Andy Wingo  <wingo@pobox.com>
2608
2609         * check/gst/gstbin.c (test_message_state_changed_children): Style
2610         fix..
2611
2612         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2613         gst_bus_poll with the signal watch. Ensures that poll and a signal
2614         watch see the same messages.
2615
2616         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2617         a poll and a watch at the same time get the same messages.
2618
2619 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2620
2621         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2622         * gst/gstcaps.c: (gst_caps_intersect):
2623           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2624           and it's not needed.
2625
2626 2005-11-10  Wim Taymans  <wim@fluendo.com>
2627
2628         * docs/design/part-TODO.txt:
2629         Updated todo.
2630
2631 2005-11-10  Wim Taymans  <wim@fluendo.com>
2632
2633         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2634         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2635         (gst_base_src_do_sync), (gst_base_src_get_range):
2636         Implement clock sync in base class.
2637
2638 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2639
2640         patch by: Tim-Philipp Müller <tim at centricular dot net>
2641
2642         * gst/gststructure.c: (gst_structure_parse_field),
2643         (gst_structure_from_string):
2644           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2645           so that gst_parse_launch() can deal with spaces in filtered link
2646           caps (fixes #164479)
2647         * check/gst/capslist.h:
2648         * check/gst/gststructure.c: (GST_START_TEST):
2649           add unit tests for this change
2650
2651 2005-11-10  Wim Taymans  <wim@fluendo.com>
2652
2653         * docs/gst/gstreamer-sections.txt:
2654         * gst/gstelement.c:
2655         * gst/gstelement.h:
2656         Fix docs, move some STATE macros to private.
2657
2658 2005-11-10  Wim Taymans  <wim@fluendo.com>
2659
2660         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2661         Added check for bug #317341
2662
2663         * gst/gstbuffer.c:
2664         * gst/gstbuffer.h:
2665         Some more spiffifying.
2666
2667         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2668         Call peer linkfunction if we are a source pad. Totally fixes
2669         #317341
2670
2671         * gst/gstpad.c:
2672         Update docs, source pads should call the peer linkfunction
2673         so they can atomically perform the pad link.
2674
2675 2005-11-09  Wim Taymans  <wim@fluendo.com>
2676
2677         * gst/gstbuffer.c:
2678         * gst/gstbuffer.h:
2679         Uber-spiffy-spiffify some more.
2680
2681 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2682
2683         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2684         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2685         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2686         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2687         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2688         * gst/gstpad.c: (gst_pad_init):
2689           Use GST_DEBUG_FUNCPTR() more extensively.
2690
2691 2005-11-09  Wim Taymans  <wim@fluendo.com>
2692
2693         * gst/gstobject.c: (gst_object_class_init):
2694         * gst/gstobject.h:
2695         Documentation fixes.
2696
2697 2005-11-09  Edward Hervey  <edward@fluendo.com>
2698
2699         * gst/gsttypefindfactory.c:
2700         Fix docs.
2701         
2702 2005-11-09  Edward Hervey  <edward@fluendo.com>
2703
2704         * gst/base/gsttypefindhelper.c:
2705         * gst/gsttypefind.c:
2706         * gst/gsttypefind.h:
2707         Fix docs.
2708
2709 2005-11-09  Wim Taymans  <wim@fluendo.com>
2710
2711         * gst/gstiterator.c:
2712         Fix revision data.
2713
2714         * gst/gsttask.c:
2715         * gst/gsttask.h:
2716         Fix docs.
2717
2718 2005-11-09  Wim Taymans  <wim@fluendo.com>
2719
2720         * gst/gstevent.h:
2721         * gst/gsturi.h:
2722         Fix docs.
2723
2724 2005-11-09  Wim Taymans  <wim@fluendo.com>
2725
2726         * docs/gst/gstreamer-sections.txt:
2727         Moved the message async delivery private lock and cond
2728         to the private section.
2729
2730         * gst/gstmessage.c:
2731         * gst/gstmessage.h:
2732         Fixed docs.
2733
2734 2005-11-09  Edward Hervey  <edward@fluendo.com>
2735
2736         * docs/gst/gstreamer-sections.txt:
2737         * gst/gsturi.c:
2738         * gst/gsturi.h:
2739         Document GstURIHandler
2740
2741 2005-11-09  Wim Taymans  <wim@fluendo.com>
2742
2743         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2744         (gst_iterator_find_custom):
2745         * gst/gstiterator.h:
2746         Fix iterator docs.
2747
2748 2005-11-09  Wim Taymans  <wim@fluendo.com>
2749
2750         * gst/gstbin.h:
2751         Document another field.
2752
2753         * gst/gststructure.c:
2754         * gst/gststructure.h:
2755         Document.
2756
2757 2005-11-09  Wim Taymans  <wim@fluendo.com>
2758
2759         * gst/gstbin.h:
2760         Documented structs.
2761
2762 2005-11-09  Wim Taymans  <wim@fluendo.com>
2763
2764         * docs/gst/gstreamer-sections.txt:
2765         Added some new macros.
2766
2767         * gst/gstclock.c:
2768         * gst/gstclock.h:
2769         * gst/gstobject.h:
2770         Docs updates.
2771
2772 2005-11-09  Wim Taymans  <wim@fluendo.com>
2773
2774         * docs/design/part-TODO.txt:
2775         Some more items for the TODO
2776
2777         * gst/gstcaps.c:
2778         * gst/gstcaps.h:
2779         Document GstCaps.
2780
2781 2005-11-09  Andy Wingo  <wingo@pobox.com>
2782
2783         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2784         to work on something else now tho...
2785
2786         * gst/base/gstadapter.c: More adapter docs.
2787
2788         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2789         (gst_file_sink_stop): New functions, replace the state change
2790         handler.
2791         (gst_file_sink_class_init): Hook up the start and stop functions.
2792         (gst_file_sink_base_init): Don't set the state change handler any
2793         more. It was a bit ugly too, being set from here...
2794         (gst_file_sink_get_property, gst_file_sink_set_property):
2795         Cleanups...
2796         (gst_file_sink_set_location): More robust check that doesn't call
2797         GST_STATE. Ugggggg.
2798
2799 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2800
2801         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2802           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2803
2804 2005-11-08  Wim Taymans  <wim@fluendo.com>
2805
2806         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2807         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2808         (gst_base_sink_chain), (gst_base_sink_change_state):
2809         * gst/base/gstbasesink.h:
2810         * gst/base/gstbasesrc.h:
2811         * gst/gstelement.h:
2812         * gst/gstevent.h:
2813         Avoid excessive typechecking in macros.
2814
2815         * gst/gstminiobject.c: (gst_mini_object_get_type),
2816         (gst_mini_object_init), (gst_mini_object_new),
2817         (gst_mini_object_free):
2818         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2819         (gst_object_finalize):
2820         Remove cruft code, optimize alloc_trace.
2821
2822 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2823
2824         * docs/faq/gst-uninstalled:
2825           fix up PS1 for systems that try to reset it
2826
2827 2005-11-07  Wim Taymans  <wim@fluendo.com>
2828
2829         * gst/base/gstbasesrc.c: (gst_base_src_init),
2830         (gst_base_src_get_range):
2831         Set the segment_end to -1 initially. Fixed typefind.
2832
2833 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2834
2835         * gst/base/gstadapter.c:
2836           Debug category should be 'adapter', not 'GstAdapter'.
2837           
2838         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2839         (gst_collectpads_class_init), (gst_collectpads_init),
2840         (gst_collectpads_peek), (gst_collectpads_pop),
2841         (gst_collectpads_event), (gst_collectpads_chain):
2842           Add debug category and some debugging output. Use boilerplate
2843           macros. Remove some extraneous words from docs.
2844
2845 2005-11-05  Andy Wingo  <wingo@pobox.com>
2846
2847         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2848         macro.
2849
2850 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2851
2852         * docs/gst/gstreamer-sections.txt:
2853         * gst/gstcaps.h:
2854         * gst/gstinfo.c:
2855         * gst/gstminiobject.h:
2856         * gst/gstobject.h:
2857         * gst/gstutils.h:
2858           more docs added
2859
2860 2005-11-04  Wim Taymans  <wim@fluendo.com>
2861
2862         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2863         Small update to stop at the configured segment_end
2864         position.
2865
2866 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2867
2868         * gst/gstregistry.c:
2869         * gst/gstregistry.h:
2870           added missing docs
2871
2872 2005-11-04  Edward Hervey  <edward@fluendo.com>
2873
2874         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2875         Check if we are doing a segment seek and have arrived at the
2876         end of that segment.
2877
2878 2005-11-04  Wim Taymans  <wim@fluendo.com>
2879
2880         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2881         Don't leak a mutex unlock in case of an error.
2882
2883         * gst/gstbus.h:
2884         Doc fixes.
2885
2886 2005-11-04  Wim Taymans  <wim@fluendo.com>
2887
2888         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2889         (gst_bus_post):
2890         Get the context to wake up only once.
2891
2892 2005-11-03  Wim Taymans  <wim@fluendo.com>
2893
2894         * check/states/sinks.c: (GST_START_TEST):
2895         Uncomment fixed check.
2896
2897         * docs/design/part-TODO.txt:
2898         Updated TODO.
2899
2900         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2901         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2902         (gst_base_sink_get_position):
2903         If we are going to PLAYING, post the right pending state
2904         when we post the intermediate paused message.
2905
2906         * gst/gstelement.c: (gst_element_continue_state),
2907         (gst_element_set_state_func), (gst_element_change_state):
2908         Don't post state changes that were between the same state
2909         and were not ASYNC.
2910
2911 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2912
2913         * docs/gst/gstreamer-sections.txt:
2914         * gst/gstcaps.h:
2915         * gst/gstinfo.c:
2916         * gst/gstminiobject.h:
2917         * gst/gstobject.h:
2918         * gst/gstutils.h:
2919           more docs and doc style fixes
2920
2921 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2922
2923         * docs/gst/gstreamer-sections.txt:
2924         * gst/gstelement.c:
2925         * gst/gstminiobject.c:
2926         doc fixes
2927
2928 2005-11-03  Andy Wingo  <wingo@pobox.com>
2929
2930         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2931         state-changed messages actually have the right order and the right
2932         values.
2933
2934 2005-11-03  Wim Taymans  <wim@fluendo.com>
2935
2936         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2937         Added some more checks. Specifically the case where NO_PREROLL
2938         elements are in the pipeline.
2939
2940         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2941         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2942         (gst_base_sink_get_position):
2943         Post READY->PAUSED state change messages too.
2944         Fix bug where VOID was posted as pending state...
2945
2946         * gst/gstbin.c: (gst_bin_recalc_state):
2947         use _element_continue_state() to continue the state change.
2948
2949         * gst/gstelement.c: (gst_element_continue_state),
2950         (gst_element_commit_state), (gst_element_set_state_func),
2951         (gst_element_change_state), (gst_element_change_state_func):
2952         Lots of state change cleanups, assign the STATE_RETURN in
2953         a new continue_state() function that also propagates the
2954         last return value from a state change to the app.
2955         Update some debug statements with proper category.
2956
2957 2005-11-03  Wim Taymans  <wim@fluendo.com>
2958
2959         * docs/design/part-events.txt:
2960         * docs/design/part-gstpipeline.txt:
2961         * docs/design/part-messages.txt:
2962         * docs/design/part-overview.txt:
2963         * docs/design/part-seeking.txt:
2964         * docs/design/part-states.txt:
2965         * docs/design/part-trickmodes.txt:
2966         * docs/manual/advanced-position.xml:
2967         Small docs updates.
2968
2969         * gst/gstobject.h:
2970         People think !! is ugly, this looks better.
2971
2972         * gst/gstpad.c: (gst_pad_set_blocked_async):
2973         Remove !! since it's fixed elsewhere now.
2974
2975 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2976
2977         * gst/gstminiobject.h:
2978         * gst/gstobject.h:
2979           Add !! to _FLAG_IS_SET macros to make the result boolean.
2980
2981 2005-11-03  Edward Hervey  <edward@fluendo.com>
2982
2983         * gst/gstpad.c: (gst_pad_set_blocked_async):
2984         comparing a flag and a gboolean rarely returns coherent results...
2985         Added two characters (!!) to make that work correctly.
2986         
2987 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2988
2989         * gst/gstbus.c: (gst_bus_class_init):
2990           Fix some typos.
2991           
2992         * gst/gstqueue.c: (gst_queue_loop):
2993           Don't assume a miniobject that isn't a buffer is an
2994           event (it could be that there is a refcounting
2995           problem somewhere and the pointer is stale and
2996           refers to an already destroyed miniobject).
2997
2998 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2999
3000         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3001
3002 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3003
3004         * docs/manual/advanced-position.xml:
3005           Update seek example and explanations to current 0.9 API.
3006
3007         * gst/elements/gsttypefindelement.c:
3008         (gst_type_find_element_activate):
3009           Remove FIXME comment now that the found caps
3010           are unreffed.
3011
3012 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3013
3014         * gst/gstregistryxml.c: (load_feature):
3015           Add another GST_STR_NULL instance
3016
3017 2005-11-02  Edward Hervey  <edward@fluendo.com>
3018
3019         * gst/gstpad.c: (handle_pad_block):
3020         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3021         
3022 2005-11-02  Wim Taymans  <wim@fluendo.com>
3023
3024         * gst/gstbin.c:
3025         Fix typo in docs.
3026
3027         * gst/gstelement.c: (gst_element_commit_state):
3028         Remove unused value.
3029
3030         * gst/gstiterator.c:
3031         Mention that the returned element is reffed in the docs.
3032
3033 2005-11-02  Wim Taymans  <wim@fluendo.com>
3034
3035         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3036         (gst_pad_push), (gst_pad_push_event):
3037         Unlock blocked pads when they are flushed.
3038
3039 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3040
3041         * docs/README:
3042         * docs/gst/gstreamer-sections.txt:
3043         * gst/gstbin.c:
3044           doc updates
3045         * gst/gstregistry.c: (gst_registry_scan_path_level):
3046           fix for a nasty little missed situation where an installed plug-in
3047           which was in the cache did not get overridden by an uninstalled one
3048           which was earlier in the plugin path because the newly created plugin
3049           for the uninstalled one (not in the registry) didn't get its
3050           ->registered set to TRUE
3051
3052 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3053
3054         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3055         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3056         (gst_collectpads_is_active), (gst_collectpads_collect),
3057         (gst_collectpads_collect_range), (gst_collectpads_start),
3058         (gst_collectpads_stop), (gst_collectpads_peek),
3059         (gst_collectpads_pop), (gst_collectpads_available),
3060         (gst_collectpads_read), (gst_collectpads_flush):
3061           Guard public API with assertions.
3062         
3063         * gst/gstpad.c:
3064           Fix docs for gst_pad_set_link_function().
3065
3066 2005-11-02  Johan Dahlin  <johan@gnome.org>
3067
3068         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3069         Unref found_caps after we used it.
3070
3071 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3072
3073         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3074           Don't try to ref NULL.
3075
3076 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3077
3078         * win32/common/config.h.in:
3079           provide a GST_FUNCTION that just gives a string for now
3080
3081 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3082
3083         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3084         (gst_object_flags_get_type), (register_gst_bin_flags),
3085         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3086         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3087         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3088         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3089         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3090         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3091         (gst_clock_flags_get_type), (register_gst_state),
3092         (gst_state_get_type), (register_gst_state_change_return),
3093         (gst_state_change_return_get_type), (register_gst_state_change),
3094         (gst_state_change_get_type), (register_gst_element_flags),
3095         (gst_element_flags_get_type), (register_gst_core_error),
3096         (gst_core_error_get_type), (register_gst_library_error),
3097         (gst_library_error_get_type), (register_gst_resource_error),
3098         (gst_resource_error_get_type), (register_gst_stream_error),
3099         (gst_stream_error_get_type), (register_gst_event_type),
3100         (gst_event_type_get_type), (register_gst_seek_type),
3101         (gst_seek_type_get_type), (register_gst_seek_flags),
3102         (gst_seek_flags_get_type), (register_gst_format),
3103         (gst_format_get_type), (register_gst_index_certainty),
3104         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3105         (gst_index_entry_type_get_type),
3106         (register_gst_index_lookup_method),
3107         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3108         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3109         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3110         (gst_index_flags_get_type), (register_gst_debug_level),
3111         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3112         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3113         (gst_iterator_result_get_type), (register_gst_iterator_item),
3114         (gst_iterator_item_get_type), (register_gst_message_type),
3115         (gst_message_type_get_type), (register_gst_mini_object_flags),
3116         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3117         (gst_pad_link_return_get_type), (register_gst_flow_return),
3118         (gst_flow_return_get_type), (register_gst_activate_mode),
3119         (gst_activate_mode_get_type), (register_gst_pad_direction),
3120         (gst_pad_direction_get_type), (register_gst_pad_flags),
3121         (gst_pad_flags_get_type), (register_gst_pad_presence),
3122         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3123         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3124         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3125         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3126         (gst_plugin_flags_get_type), (register_gst_rank),
3127         (gst_rank_get_type), (register_gst_query_type),
3128         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3129         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3130         (gst_tag_flag_get_type), (register_gst_task_state),
3131         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3132         (gst_alloc_trace_flags_get_type),
3133         (register_gst_type_find_probability),
3134         (gst_type_find_probability_get_type), (register_gst_uri_type),
3135         (gst_uri_type_get_type), (register_gst_parse_error),
3136         (gst_parse_error_get_type):
3137         * win32/common/gstversion.h:
3138           update win32 copies
3139
3140 2005-11-01  Luca Ognibene  <luogni@tin.it>
3141
3142         * gst/gst.c:
3143           fix docs. popt is dead, long live GOption.
3144
3145 2005-10-31  Wim Taymans  <wim@fluendo.com>
3146
3147         * gst/gstbuffer.h:
3148         Small doc fix.
3149
3150 2005-10-31  Andy Wingo  <wingo@pobox.com>
3151
3152         * Boo!
3153
3154         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3155
3156         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3157         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3158         the possibility of deadlocks here if code calling notify() or
3159         set() has a lock that can be taken in another notify handler (ABBA
3160         with class lock and e.g. python GIL state lock).
3161
3162 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3163
3164         * gst/gstbus.c: Doc updates.
3165
3166 2005-10-28  Wim Taymans  <wim@fluendo.com>
3167
3168         * docs/design/part-TODO.txt:
3169         * gst/gstiterator.c:
3170         * gst/gstsystemclock.c:
3171         * gst/gstsystemclock.h:
3172         Doc updates.
3173
3174 2005-10-28  Edward Hervey  <edward@fluendo.com>
3175
3176         * docs/gst/gstreamer-docs.sgml:
3177         * docs/gst/gstreamer-sections.txt:
3178         the GstURIType documentation page is private, it only defines GstURIType
3179         which should be defined in the GstURIHandler page
3180         
3181 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3182
3183         * gst/gstbin.c: (gst_bin_class_init):
3184         * gst/gstbin.h:
3185         * gst/gstutils.c:
3186         Documentation updates.
3187
3188 2005-10-28  Wim Taymans  <wim@fluendo.com>
3189
3190         * docs/gst/gstreamer-sections.txt:
3191         * gst/gstclock.c:
3192         * gst/gstclock.h:
3193         Documented the clocks.
3194
3195 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3196
3197         * docs/gst/gstreamer-sections.txt:
3198           move some macros to private sections
3199         * gst/gstminiobject.c:
3200         * gst/gstminiobject.h:
3201           add descriptions provided by ds and some more
3202         * gst/gstpad.h:
3203           mark macro as to be removed
3204
3205 2005-10-28  Wim Taymans  <wim@fluendo.com>
3206
3207         * docs/design/part-TODO.txt:
3208         Add an item to TODO.
3209
3210         * gst/gstiterator.c: (gst_iterator_fold),
3211         (gst_iterator_find_custom):
3212         * gst/gstiterator.h:
3213         Add iterator docs.
3214
3215 2005-10-28  Wim Taymans  <wim@fluendo.com>
3216
3217         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3218         (gst_base_transform_init):
3219         Don't leak class.
3220
3221         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3222         An EOS event marks the queue as completely filled.
3223
3224 2005-10-27  Wim Taymans  <wim@fluendo.com>
3225
3226         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3227         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3228         Some more debugging.
3229
3230         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3231         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3232         (gst_base_transform_event), (gst_base_transform_getrange),
3233         (gst_base_transform_chain):
3234         * gst/base/gstbasetransform.h:
3235         Fix debugging,
3236         Protect transform and concurrent buffer alloc with a new lock.
3237         Try not to break ABI/API.
3238
3239 2005-10-27  Wim Taymans  <wim@fluendo.com>
3240
3241         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3242         (gst_base_src_init), (gst_base_src_query),
3243         (gst_base_src_default_newsegment),
3244         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3245         (gst_base_src_send_event), (gst_base_src_event_handler),
3246         (gst_base_src_pad_get_range), (gst_base_src_loop),
3247         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3248         (gst_base_src_start), (gst_base_src_deactivate),
3249         (gst_base_src_activate_push), (gst_base_src_change_state):
3250         Move some stuff around and cleanup things.
3251
3252 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3253
3254         * gst/base/gstbasesrc.c: (gst_base_src_query):
3255           Add missing break statements.
3256
3257 2005-10-27  Wim Taymans  <wim@fluendo.com>
3258
3259         * check/gst/gstbin.c: (GST_START_TEST):
3260         An extra refcount is taken in basesrc.
3261
3262         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3263         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3264         (gst_base_src_loop):
3265         Small cleanups, check for flushing after being unlocked from the 
3266         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3267         Don't send out EOS when going to READY.
3268
3269 2005-10-27  Wim Taymans  <wim@fluendo.com>
3270
3271         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3272         (gst_base_sink_get_position):
3273         Some more debug.
3274
3275         * gst/gstbin.c: (message_check), (bin_replace_message),
3276         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3277         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3278         (bin_query_duration_init), (bin_query_duration_fold),
3279         (bin_query_duration_done), (bin_query_generic_fold),
3280         (gst_bin_query):
3281         * tools/gst-launch.c: (main):
3282         Remove old option.
3283
3284 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3285
3286         * examples/controller/audio-example.c: (main):
3287         * examples/queue/queue.c: (event_loop):
3288         * gst/base/gstbasetransform.h:
3289         * gst/gstelement.c: (gst_element_send_event):
3290         * gst/gstevent.h:
3291         * gst/gstpad.c: (gst_pad_send_event):
3292           fixing examples
3293           fixing docs typos
3294           changing log priority in error situations
3295
3296 2005-10-25  Wim Taymans  <wim@fluendo.com>
3297
3298         * gst/gstbin.c: (message_check), (bin_replace_message),
3299         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3300         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3301         (bin_query_duration_init), (bin_query_duration_fold),
3302         (bin_query_duration_done), (bin_query_generic_fold),
3303         (gst_bin_query):
3304         Some doc and debug updates.
3305         Cache previously requested query DURATION for speed. invalidate
3306         cached duration if element posts a DURATION message.
3307
3308 2005-10-25  Wim Taymans  <wim@fluendo.com>
3309
3310         * docs/design/part-TODO.txt:
3311         Update TODO.
3312
3313         * gst/gstbin.c: (message_check), (bin_replace_message),
3314         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3315         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3316         (bin_query_duration_init), (bin_query_duration_fold),
3317         (bin_query_duration_done), (bin_query_generic_fold),
3318         (gst_bin_query):
3319         Handle SEGMENT_START/DONE messages correctly.
3320         More evolved query algorithm that handles duration queries
3321         correctly.
3322
3323         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3324         (gst_element_get_state_func), (gst_element_abort_state),
3325         (gst_element_commit_state), (gst_element_lost_state):
3326         Some more debugging.
3327
3328         * gst/gstmessage.h:
3329         Added doc.
3330
3331 2005-10-25  Wim Taymans  <wim@fluendo.com>
3332
3333         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3334         Don't use invalid stream_time.
3335
3336         * gst/gstevent.c: (gst_event_new_newsegment):
3337         stream_time in newsegment cannot be undefined.
3338
3339 2005-10-24  Wim Taymans  <wim@fluendo.com>
3340
3341         * gst/gstbus.c:
3342         Doc fix.
3343
3344         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3345         (gst_queue_loop):
3346         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3347
3348 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3349
3350         * docs/libs/tmpl/gstdparam.sgml:
3351         * docs/libs/tmpl/gstdplinint.sgml:
3352         * docs/libs/tmpl/gstdpman.sgml:
3353         * docs/libs/tmpl/gstdpsmooth.sgml:
3354         * docs/libs/tmpl/gstunitconvert.sgml:
3355           these are obsolete
3356
3357 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3358
3359         * configure.ac:
3360           back to HEAD
3361
3362 === release 0.9.4 ===
3363
3364 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3365
3366         * configure.ac:
3367           releasing 0.9.4, "Tyrannosaurus Rex"
3368
3369 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3370
3371         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3372         (gst_file_sink_get_current_offset):
3373           Use fseeko() and ftello() if available. When falling back on
3374           lseek() to get the current offset, fflush() first to make sure
3375           everything is up-to-date and we get the right offset.
3376
3377 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3378
3379         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3380         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3381         * gst/gsterror.c: (_gst_stream_errors_init):
3382         * gst/gsterror.h:
3383         * gst/gstqueue.c: (gst_queue_loop):
3384         * po/POTFILES.in:
3385           remove prematurely added error category and clean up the instances
3386
3387 2005-10-21  Wim Taymans  <wim@fluendo.com>
3388
3389         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3390         (gst_base_sink_get_position), (gst_base_sink_query),
3391         (gst_base_sink_change_state):
3392         Simply set the right flag when going to playing, that's all
3393         we need to do instead of calling a function inside the object
3394         lock (that could take the lock as well and deadlock)
3395
3396 2005-10-21  Wim Taymans  <wim@fluendo.com>
3397
3398         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3399         (gst_base_src_loop):
3400         Don't warn, the peer element knows what to do best when
3401         the seek failed, it might try something else.
3402
3403 2005-10-21  Wim Taymans  <wim@fluendo.com>
3404
3405         * gst/base/gstbasesrc.c: (gst_base_src_init),
3406         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3407         Fix seeking.
3408
3409 2005-10-21  Wim Taymans  <wim@fluendo.com>
3410
3411         * docs/design/part-segments.txt:
3412         More docs.
3413
3414         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3415         Correctly set caps, even on the subbufer.
3416
3417 2005-10-21  Wim Taymans  <wim@fluendo.com>
3418
3419         * docs/gst/gstreamer-docs.sgml:
3420         * docs/gst/gstreamer-sections.txt:
3421         * gst/gstelement.h:
3422         * gst/gstevent.c:
3423         * gst/gstevent.h:
3424         * gst/gstmessage.h:
3425         * gst/gstpad.h:
3426         * gst/gstparse.h:
3427         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3428         * gst/gsttask.h:
3429         * gst/gstutils.c:
3430         * gst/gstutils.h:
3431         And 2% more doc coverage.
3432
3433 2005-10-21  Andy Wingo  <wingo@pobox.com>
3434
3435         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3436         position reporting.
3437
3438 2005-10-20  Wim Taymans  <wim@fluendo.com>
3439
3440         * gst/gsterror.c: (gst_error_get_message):
3441         * gst/gstparse.h:
3442         * gst/gstquery.h:
3443         * gst/gststructure.c:
3444         * gst/gsttrace.c:
3445         * gst/gstutils.c:
3446         More docs.
3447
3448 2005-10-20  Wim Taymans  <wim@fluendo.com>
3449
3450         * gst/gstbuffer.h:
3451         * gst/gstpad.c:
3452         * gst/gstparse.c:
3453         Another 1% more coverage.
3454
3455 2005-10-20  Wim Taymans  <wim@fluendo.com>
3456
3457         * docs/gst/gstreamer-sections.txt:
3458         * gst/gstelement.c: (gst_element_get_state_func),
3459         (gst_element_abort_state), (gst_element_commit_state),
3460         (gst_element_lost_state):
3461         * gst/gstevent.h:
3462         * gst/gstquery.c: (gst_query_set_position),
3463         (gst_query_parse_position), (gst_query_set_duration),
3464         (gst_query_parse_duration), (gst_query_new_convert):
3465         * gst/gstutils.c:
3466         Yay! 1% more docs coverage.
3467
3468 2005-10-20  Wim Taymans  <wim@fluendo.com>
3469
3470         * gst/gstpad.h:
3471         * gst/gstquery.c: (gst_query_set_position),
3472         (gst_query_parse_position), (gst_query_set_duration),
3473         (gst_query_parse_duration), (gst_query_new_convert):
3474         * gst/gstquery.h:
3475         * gst/gstutils.c: (gst_element_query_convert):
3476         * gst/gstutils.h:
3477         Docs and consistency fixes.
3478
3479 2005-10-20  Wim Taymans  <wim@fluendo.com>
3480
3481         * gst/gsttask.c:
3482         * gst/gsttask.h:
3483         More docs.
3484
3485 2005-10-20  Wim Taymans  <wim@fluendo.com>
3486
3487         * gst/gstbin.c: (message_check), (bin_replace_message),
3488         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3489         (update_degree), (gst_bin_sort_iterator_next),
3490         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3491         Reworked the message handling a bit, cache the messages instead of
3492         only the senders. alows us to do more in the future.
3493
3494 2005-10-20  Wim Taymans  <wim@fluendo.com>
3495
3496         * docs/design/part-TODO.txt:
3497         Update TODO
3498
3499         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3500         (gst_base_sink_query):
3501         Don't use clock time to report position when in EOS.
3502
3503 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3504
3505         * tools/gst-inspect.c: (print_interfaces),
3506         (print_element_properties_info), (print_element_info):
3507           Fix interface output with gst-inspect -a; don't print
3508           newlines after double/float properties.
3509
3510 2005-10-20  Wim Taymans  <wim@fluendo.com>
3511
3512         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3513         (gst_base_sink_query):
3514         Speed up current position calculation.
3515
3516         * gst/base/gstbasesrc.c: (gst_base_src_query),
3517         (gst_base_src_default_newsegment):
3518         Correctly set stream position in newsegment.
3519
3520         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3521         (update_degree), (gst_bin_sort_iterator_next),
3522         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3523         * gst/gstmessage.c: (gst_message_new_custom):
3524         Clean up debugging info
3525
3526         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3527         (gst_queue_loop), (gst_queue_handle_src_query):
3528         Pause task faster.
3529
3530 2005-10-19  Wim Taymans  <wim@fluendo.com>
3531
3532         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3533         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3534         Fix query handling again.
3535
3536 2005-10-19  Wim Taymans  <wim@fluendo.com>
3537
3538         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3539         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3540         * gst/base/gstbasesrc.c: (gst_base_src_query):
3541         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3542         * gst/elements/gsttypefindelement.c:
3543         (gst_type_find_handle_src_query), (find_element_get_length),
3544         (gst_type_find_element_activate):
3545         API change fix.
3546
3547         * gst/gstquery.c: (gst_query_new_position),
3548         (gst_query_set_position), (gst_query_parse_position),
3549         (gst_query_new_duration), (gst_query_set_duration),
3550         (gst_query_parse_duration), (gst_query_set_segment),
3551         (gst_query_parse_segment):
3552         * gst/gstquery.h:
3553         Bundling query position/duration is not a good idea since duration
3554         does not change much and we don't want to recalculate it for every
3555         position query, so they are separated again..
3556         Base value in segment query is not needed.
3557
3558         * gst/gstqueue.c: (gst_queue_handle_src_query):
3559         * gst/gstutils.c: (gst_element_query_position),
3560         (gst_element_query_duration), (gst_pad_query_position),
3561         (gst_pad_query_duration):
3562         * gst/gstutils.h:
3563         Updates for query API change.
3564         Added some docs here and there.
3565
3566 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3567
3568         * check/gst/gstbin.c: (GST_START_TEST):
3569         * check/gst/gstghostpad.c: (GST_START_TEST):
3570         * check/pipelines/cleanup.c: (GST_START_TEST):
3571           wait on thread to die so we can check refcount correctly
3572
3573 2005-10-18  Wim Taymans  <wim@fluendo.com>
3574
3575         * check/pipelines/stress.c: (GST_START_TEST):
3576         Make check a little more time consuming.
3577
3578 2005-10-18  Wim Taymans  <wim@fluendo.com>
3579
3580         * check/Makefile.am:
3581         * check/pipelines/stress.c: (GST_START_TEST),
3582         (simple_launch_lines_suite), (main):
3583         Small state change torture test.
3584
3585         * docs/design/part-states.txt:
3586         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3587         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3588         (gst_base_sink_change_state):
3589         Never take state lock from streaming thread, clean up ugly
3590         hacks. Unfortunatly core does not yet support nice ways to
3591         async commit state.
3592         
3593         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3594         (bin_bus_handler):
3595         Start state recalc if a STATE_DIRTY message is posted, but only
3596         on the toplevel bin.
3597
3598         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3599         (gst_element_get_state_func), (gst_element_abort_state),
3600         (gst_element_commit_state), (gst_element_lost_state),
3601         (gst_element_set_state_func), (gst_element_change_state):
3602         * gst/gstelement.h:
3603         State variables are now protected with the LOCK, the state
3604         lock is only used to serialize _set_state().
3605
3606 2005-10-18  Wim Taymans  <wim@fluendo.com>
3607
3608         * check/gst/gstbin.c: (GST_START_TEST):
3609         * check/gst/gstmessage.c: (GST_START_TEST):
3610         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3611         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3612         (bin_bus_handler):
3613         * gst/gstelement.c: (gst_element_abort_state),
3614         (gst_element_commit_state), (gst_element_lost_state):
3615         * gst/gstmessage.c: (gst_message_new_state_changed),
3616         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3617         (gst_message_new_segment_done), (gst_message_new_duration),
3618         (gst_message_parse_state_changed),
3619         (gst_message_parse_segment_start),
3620         (gst_message_parse_segment_done), (gst_message_parse_duration):
3621         * gst/gstmessage.h:
3622         * tools/gst-launch.c: (event_loop):
3623         Seriously, this is better than a previous commit as we only need
3624         to notify the fact that an element changed state in a streaming
3625         thread, marking the state of the parents dirty, hence the 
3626         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3627         message.
3628
3629 2005-10-18  Wim Taymans  <wim@fluendo.com>
3630
3631         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3632         (gst_bin_recalc_func):
3633         * gst/gstelement.c: (gst_element_set_clock),
3634         (gst_element_abort_state), (gst_element_lost_state):
3635         Cleanups, prepare for state change fixes.
3636
3637 2005-10-18  Wim Taymans  <wim@fluendo.com>
3638
3639         * gst/gstbin.h:
3640         * gst/gstelement.c: (gst_element_class_init),
3641         (gst_element_set_state), (gst_element_set_state_func):
3642         * gst/gstelement.h:
3643         Pending ABI changes.
3644         GThreadPool in GstBinClass to monitor async state changes.
3645         state_cookie in GstElement to detect concurrent gst/set state.
3646         set_state is now virtual too in case a very complicated element
3647         has to be constructed.
3648
3649 2005-10-18  Wim Taymans  <wim@fluendo.com>
3650
3651         * check/gst/gstbin.c: (GST_START_TEST):
3652         * check/gst/gstmessage.c: (GST_START_TEST):
3653         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3654         * gst/gstbin.c: (bin_bus_handler):
3655         * gst/gstelement.c: (gst_element_commit_state),
3656         (gst_element_lost_state):
3657         * gst/gstmessage.c: (gst_message_new_state_changed),
3658         (gst_message_new_segment_start), (gst_message_new_segment_done),
3659         (gst_message_new_duration), (gst_message_parse_state_changed),
3660         (gst_message_parse_segment_start),
3661         (gst_message_parse_segment_done), (gst_message_parse_duration):
3662         * gst/gstmessage.h:
3663         * tools/gst-launch.c: (event_loop):
3664         Make messages future proof.
3665         state-change gets a flag if it was a message comming from the
3666         streaming thread.
3667         segment-start/stop can also be specified in other formats.
3668         A message to notify an app that a pipeline changed playback 
3669         duration.
3670         Also fix a GstMessage leak in -launch
3671
3672 2005-10-18  Andy Wingo  <wingo@pobox.com>
3673
3674         * gst/gstelement.c (gst_element_dispose): More helpful message.
3675
3676 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3677
3678         reviewed by: <delete if not using a buddy>
3679
3680         * common/gtk-doc.mak:
3681
3682 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3683
3684         * gst/gstregistry.c: (gst_registry_scan_path_level):
3685           unref a plug-in we get that was already initialized
3686
3687 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3688
3689         * docs/gst/gstreamer-sections.txt:
3690         * docs/libs/gstreamer-libs-sections.txt:
3691         * gst/gstelement.h:
3692           add new api entries
3693           hide internal macro
3694
3695 2005-10-17  Andy Wingo  <wingo@pobox.com>
3696
3697         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3698         cleanup.
3699
3700         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3701
3702         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3703
3704         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3705         (gst_element_get_state_func): Better debug message.
3706         (gst_element_commit_state): s/INFO/DEBUG/.
3707         (gst_element_lost_state, gst_element_change_state): 
3708
3709         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3710         (gst_message_new_custom): s/INFO/LOG/.
3711
3712 2005-10-17  Michael Smith <msmith@fluendo.com>
3713
3714         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3715           Check if end time is valid using end time, not start time.
3716
3717 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3718
3719         * check/gst-libs/controller.c: (GST_START_TEST),
3720         (gst_controller_suite):
3721         * libs/gst/controller/gstcontroller.c:
3722         (gst_controlled_property_set_interpolation_mode):
3723         * libs/gst/controller/gstcontroller.h:
3724         * libs/gst/controller/gstinterpolation.c:
3725         * testsuite/controller/.cvsignore:
3726         * testsuite/controller/Makefile.am:
3727         * testsuite/controller/interpolator.c:
3728           merge controller testsuites
3729           fix broken tests
3730           remove mem-chunk from docs
3731
3732 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3733
3734         * gst/gstmemchunk.c:
3735         * gst/gstmemchunk.h:
3736         * gst/gsttrashstack.c:
3737         * gst/gsttrashstack.h:
3738           out.  get out.  you're fired.  to the Attic !
3739
3740 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3741
3742         * gst/gstcaps.c: (gst_caps_intersect):
3743           fix signedness issues in a (hopefully) correct way
3744         * gst/gstelement.c: (gst_element_pads_activate):
3745           some debugging
3746         * gst/gstobject.c: (gst_object_set_parent):
3747           some debugging
3748
3749 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3750
3751         * gst/gstvalue.h: Fix prototypes.
3752
3753 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3754
3755         * docs/gst/gstreamer-sections.txt:
3756         * gst/gst.c: (gst_version_string):
3757         * gst/gst.h:
3758         * gst/gstversion.h.in:
3759         * win32/common/libgstreamer.def:
3760           add gst_version_string ()
3761
3762 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3763
3764         * configure.ac:
3765           clean up further
3766         * gst/gst.c: (init_post):
3767         * win32/common/config.h.in:
3768           it's PLUGINDIR now
3769         * gst/gstcaps.c: (gst_caps_intersect):
3770           use gint64, the range could be bigger than a guint
3771
3772 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3773
3774         * gst/gstclock.h:
3775           document potential problem in 2038
3776
3777 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3778
3779         * gst/gstcaps.c: (gst_caps_intersect):
3780           Fix guint j diving under 0
3781
3782 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3783
3784         * configure.ac:
3785         * win32/common/config.h:
3786         * win32/common/config.h.in:
3787           check for process.h, declares getpid() on Windows
3788         * gst/gstinfo.c:
3789           include process.h if we have it
3790         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3791         * gst/gstmemchunk.h:
3792           fix signedness issues
3793         * win32/common/libgstreamer.def:
3794           fix get_type's
3795
3796 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3797
3798         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3799         fix. Because of unsigned ints, caps intersection was going nuts and
3800         trying to access structures with G_MAXUINT index. That fixes
3801         videotestsrc ! ffmpegcolorspace ! fakesink
3802         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3803         consistency.
3804
3805 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3806
3807         * configure.ac:
3808           use the gettext macro
3809         * gst/elements/gstelements.c:
3810         * gst/gst.c:
3811         * gst/indexers/gstindexers.c:
3812           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3813         * win32/common/config.h:
3814           updated config.h
3815         * win32/common/config.h.in:
3816           add the template to generate config.h
3817         * win32/common/gstenumtypes.c:
3818         * win32/common/gstversion.h:
3819           updated copies
3820
3821 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3822
3823         * gst/gst.c: (gst_version):
3824         * gst/gstversion.h.in:
3825           add the nano
3826
3827 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3828
3829         * gst/gstevent.h:
3830           Oops, add missing closing bracket.
3831
3832 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3833
3834         * configure.ac:
3835           use common m4's for argument checking
3836
3837 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3838
3839         * docs/gst/gstreamer-sections.txt:
3840         * gst/gstevent.h:
3841           Add GST_EVENT_TYPE_NAME() macro.
3842
3843 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3844
3845         * gst/gstinfo.c:
3846         * gst/gstpluginfeature.c:
3847         * gst/gsttask.c:
3848           privatize more symbols
3849
3850 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3851
3852         * configure.ac:
3853           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3854           everything that uses GStreamer API should have the includes
3855
3856 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3857
3858         * docs/gst/gstreamer-sections.txt:
3859         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3860         * gst/gstvalue.h:
3861           give each value a _get_type, removes the DATA exports
3862
3863 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3864
3865         * gst/gst.c:
3866         * gst/gst.h:
3867           remove _gst_registry_auto_load, not used anymore
3868         * gst/gstbin.c: (gst_bin_get_type):
3869         * gst/gstbin.h:
3870         * gst/gstelement.c: (gst_element_get_type):
3871         * gst/gstelement.h:
3872         * gst/gstobject.c: (gst_object_get_type):
3873         * gst/gstobject.h:
3874         * gst/gstpad.c: (gst_pad_get_type):
3875         * gst/gstpad.h:
3876           make _get_type functions similar, fixes data export from library
3877
3878 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3879
3880         * configure.ac:
3881           correctly make conditionals
3882         * gst/elements/Makefile.am:
3883         * gst/elements/gstelements.c:
3884           fix typo causing fdsrc not to build
3885
3886 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3887
3888         * testsuite/Makefile.am:
3889         * testsuite/bytestream/.cvsignore:
3890         * testsuite/bytestream/Makefile.am:
3891         * testsuite/bytestream/filepadsink.c:
3892         * testsuite/bytestream/gstbstest.c:
3893         * testsuite/bytestream/test1.c:
3894         * testsuite/bytestream/testfile1:
3895         * testsuite/caps/normalisation.c:
3896         * testsuite/caps/random.c: (main):
3897         * testsuite/cleanup/.cvsignore:
3898         * testsuite/cleanup/Makefile.am:
3899         * testsuite/cleanup/cleanup1.c:
3900         * testsuite/cleanup/cleanup2.c:
3901         * testsuite/cleanup/cleanup3.c:
3902         * testsuite/cleanup/cleanup4.c:
3903         * testsuite/cleanup/cleanup5.c:
3904         * testsuite/controller/interpolator.c:
3905         * testsuite/debug/printf_extension.c: (main):
3906         * testsuite/elements/tee.c:
3907         * testsuite/negotiation/.cvsignore:
3908         * testsuite/negotiation/Makefile.am:
3909         * testsuite/negotiation/pad_link.c:
3910         * testsuite/pad/Makefile.am:
3911         * testsuite/pad/chainnopull.c:
3912         * testsuite/pad/getnopush.c:
3913         * testsuite/pad/link.c:
3914         * testsuite/refcounting/sched.c: (create_pipeline):
3915         * testsuite/registry/Makefile.am:
3916         * testsuite/registry/gst-print-formats.c:
3917         * testsuite/schedulers/.cvsignore:
3918         * testsuite/schedulers/142183-2.c:
3919         * testsuite/schedulers/142183.c:
3920         * testsuite/schedulers/143777-2.c:
3921         * testsuite/schedulers/143777.c:
3922         * testsuite/schedulers/147713.c:
3923         * testsuite/schedulers/147819.c:
3924         * testsuite/schedulers/147894-2.c:
3925         * testsuite/schedulers/147894.c:
3926         * testsuite/schedulers/Makefile.am:
3927         * testsuite/schedulers/group_link.c:
3928         * testsuite/schedulers/queue_link.c:
3929         * testsuite/schedulers/relink.c:
3930         * testsuite/schedulers/unlink.c:
3931         * testsuite/schedulers/unref.c:
3932         * testsuite/schedulers/useless_iteration.c:
3933         * testsuite/states/bin.c:
3934           clean out/remove some stuff from the testsuite directories
3935
3936 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3937
3938         * configure.ac:
3939           check for some headers
3940         * gst/elements/Makefile.am:
3941         * gst/elements/gstelements.c:
3942           don't compile fdsrc without sys/socket.h
3943         * gst/indexers/Makefile.am:
3944         * gst/indexers/gstindexers.c: (plugin_init):
3945           don't compile fileindex without mmap
3946
3947 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3948
3949         * configure.ac:
3950           reorganize
3951           clean up
3952           document more
3953           remove cruft
3954         * check/Makefile.am:
3955         * docs/gst/Makefile.am:
3956         * examples/helloworld/Makefile.am:
3957         * gst/Makefile.am:
3958         * gst/base/Makefile.am:
3959         * gst/check/Makefile.am:
3960         * gst/elements/Makefile.am:
3961         * gst/indexers/Makefile.am:
3962         * gst/parse/Makefile.am:
3963         * libs/gst/controller/Makefile.am:
3964         * libs/gst/dataprotocol/Makefile.am:
3965         * examples/helloworld/helloworld.c: (event_loop):
3966           compile fixes, though it's not being compiled currently
3967
3968 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3969
3970         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3971           Add some simple tests for the new taglist date API.
3972
3973 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3974
3975         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3976         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3977           Beautify 'last-message' output: print 'none' for buffer timestamps
3978           and durations if none is set; improve alignment with next messages.
3979
3980 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3981
3982         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3983         * gst/gstpluginfeature.h:
3984         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3985         * gst/gstregistry.h:
3986         * docs/gst/gstreamer-sections.txt:
3987           Add new API to check plugin feature version requirements.
3988
3989         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3990           Some basic tests for the above.         
3991
3992 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3993
3994         * gst/gststructure.c: (gst_structure_to_string):
3995           guard against NULL printf - happens when for example
3996           a message structure with GstClock gets serialized
3997
3998 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3999
4000         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4001           Fix presumable copy'n'pasto.
4002
4003 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4004
4005         * gst/elements/gstfakesrc.h:
4006         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4007         * gst/elements/gsttypefindelement.c:
4008           fix some signedness
4009         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4010           I wonder if this could actually write +2GB files before
4011
4012 2005-10-13  Andy Wingo  <wingo@pobox.com>
4013
4014         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4015         Fix Timmeke Waymans bug.
4016         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4017         string of the proper length to gst_caps_from_string. There's a
4018         potential for, before this fix, that this could cause someone
4019         connecting over the network to cause a segfault if the payload is
4020         not NUL-terminated.
4021
4022 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4023
4024         * docs/design/draft-push-pull.txt:
4025         * docs/design/part-overview.txt:
4026         * docs/random/TODO-pre-0.9:
4027         * docs/random/old/ChangeLog.gstreamer:
4028         * gst/base/gstpushsrc.c:
4029         * gst/gstclock.c:
4030           fixed typos
4031
4032 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4033
4034         * gst/glib-compat.c: (gst_flags_get_first_value):
4035         * gst/glib-compat.h:
4036         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4037         (gst_value_compare_double), (gst_value_serialize_flags):
4038           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4039           infinite loop
4040
4041 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4042
4043         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4044         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4045           fix up debugging
4046         * tools/gst-launch.c: (event_loop):
4047           print out clock nicely
4048
4049 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4050
4051         * docs/gst/gstreamer-sections.txt:
4052         * gst/gsttaglist.h:
4053         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4054         (gst_tag_list_get_date_index):
4055           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4056           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4057
4058 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4059
4060         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4061         (gst_collectpads_chain):
4062         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4063         in CollectData.
4064
4065 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4066
4067         * docs/gst/gstreamer-sections.txt:
4068         * gst/gst.c:
4069         * gst/gsterror.h:
4070         * tools/gst-inspect.c: (main):
4071         * tools/gst-launch.c: (main):
4072         * tools/gst-run.c: (main):
4073         * tools/gst-xmlinspect.c: (main):
4074           fix GOption context leaks
4075           doc fixes
4076
4077 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4078
4079         * gst/gstbus.c:
4080           use HAVE_UNISTD_H
4081         * win32/common/config.h:
4082           update config
4083         * win32/vs6/grammar.dsp:
4084         * win32/vs6/libgstelements.dsp:
4085         * win32/vs6/libgstreamer.dsp:
4086           update vs6 files
4087
4088 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4089
4090         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4091         * gst/base/gstbasesrc.c: (gst_base_src_query):
4092           fix more guint64<->gdouble conversions
4093
4094 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4095
4096         * Makefile.am:
4097           add win32-update target
4098         * win32/common/gstconfig.h:
4099         * win32/common/gstenumtypes.c:
4100         * win32/common/gstenumtypes.h:
4101         * win32/common/gstversion.h:
4102           add files that visual studio can't generate
4103
4104 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4105
4106         * Makefile.am:
4107           add a win32-update target
4108         * configure.ac:
4109
4110 2005-10-12  Wim Taymans  <wim@fluendo.com>
4111
4112         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4113         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4114         * gst/gstelement.c: (gst_element_commit_state),
4115         (gst_element_set_state):
4116         Protect flags with proper lock.
4117         unref provided cached clock in dispose.
4118
4119 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4120
4121         * gst/gst.c:
4122         * gst/gstminiobject.h:
4123         * gst/gstpad.h:
4124         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4125           removed unused flags from miniobject
4126           doc fixes
4127
4128 2005-10-12  Wim Taymans  <wim@fluendo.com>
4129
4130         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4131         (gst_file_sink_event), (gst_file_sink_render):
4132         Flush before seeking.
4133
4134 2005-10-12  Andy Wingo  <wingo@pobox.com>
4135
4136         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4137         always been the case.
4138
4139 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4140
4141         * check/gst/gstbin.c: (GST_START_TEST):
4142         * docs/gst/gstreamer-sections.txt:
4143         * gst/base/gstbasesink.c: (gst_base_sink_init):
4144         * gst/base/gstbasesrc.c: (gst_base_src_init),
4145         (gst_base_src_get_range), (gst_base_src_check_get_range),
4146         (gst_base_src_start), (gst_base_src_stop):
4147         * gst/base/gstbasesrc.h:
4148         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4149         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4150         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4151         (bin_bus_handler):
4152         * gst/gstbin.h:
4153         * gst/gstbuffer.h:
4154         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4155         * gst/gstbus.h:
4156         * gst/gstelement.c: (gst_element_is_locked_state),
4157         (gst_element_set_locked_state), (gst_element_commit_state),
4158         (gst_element_set_state):
4159         * gst/gstelement.h:
4160         * gst/gstindex.c: (gst_index_init):
4161         * gst/gstindex.h:
4162         * gst/gstminiobject.h:
4163         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4164         (gst_object_set_parent):
4165         * gst/gstobject.h:
4166         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4167         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4168         * gst/gstpad.h:
4169         * gst/gstpadtemplate.h:
4170         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4171         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4172         * gst/gstpipeline.h:
4173         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4174         (gst_file_index_commit):
4175         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4176         * testsuite/pad/link.c: (gst_test_src_init),
4177         (gst_test_filter_init), (gst_test_sink_init):
4178         * testsuite/states/locked.c: (main):
4179           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4180           moved bitshift from macro to enum definition
4181
4182 2005-10-12  Wim Taymans  <wim@fluendo.com>
4183
4184         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4185         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4186         (gst_file_sink_render):
4187         Some more debugging info.
4188
4189 2005-10-12  Wim Taymans  <wim@fluendo.com>
4190
4191         * docs/design/part-states.txt:
4192         * tools/gst-launch.c: (main):
4193         Some doc updates.
4194         Revert non-intentional change.
4195
4196 2005-10-12  Wim Taymans  <wim@fluendo.com>
4197
4198         * check/gst/gstbin.c: (GST_START_TEST):
4199         * check/gst/gstelement.c: (GST_START_TEST):
4200         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4201         * check/gst/gstghostpad.c: (GST_START_TEST):
4202         * check/gst/gstpipeline.c: (GST_START_TEST):
4203         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4204         * check/states/sinks.c: (GST_START_TEST):
4205         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4206         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4207         (gst_bin_remove_func), (gst_bin_get_state_func),
4208         (gst_bin_recalc_state), (gst_bin_change_state_func),
4209         (bin_bus_handler):
4210         * gst/gstelement.c: (gst_element_get_state_func),
4211         (gst_element_get_state), (gst_element_abort_state),
4212         (gst_element_commit_state), (gst_element_set_state),
4213         (gst_element_change_state), (gst_element_change_state_func):
4214         * gst/gstelement.h:
4215         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4216         (gst_pipeline_provide_clock_func):
4217         * gst/gstutils.c: (gst_element_link_pads_filtered):
4218         * tools/gst-launch.c: (main):
4219         * tools/gst-typefind.c: (main):
4220         Use GstClockTime in _get_state() instead of GTimeVal.
4221         Remove old code in gstutils.c
4222
4223 2005-10-12  Andy Wingo  <wingo@pobox.com>
4224
4225         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4226         removed.
4227
4228         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4229         there is no task. Shouldn't affect any code, as nothing in our
4230         plugins checks this return value.
4231         (gst_pad_stop_task): Also take the stream lock if the pad has no
4232         task. Docs updated.
4233
4234 2005-10-12  Wim Taymans  <wim@fluendo.com>
4235
4236         * gst/gstpad.c: (pre_activate), (post_activate),
4237         (gst_pad_activate_pull), (gst_pad_activate_push):
4238         Cleanup activation code. Reset old state if
4239         activation failed.
4240
4241 2005-10-12  Wim Taymans  <wim@fluendo.com>
4242
4243         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4244         (gst_base_sink_change_state):
4245         No need to prerol after receiving EOS.
4246
4247         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4248         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4249         * gst/elements/gstidentity.c: (gst_identity_event):
4250         Print events more verbosely.
4251
4252 2005-10-12  Wim Taymans  <wim@fluendo.com>
4253
4254         * check/Makefile.am:
4255         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4256         * check/states/sinks2.c:
4257         Moved sinks2 testcode in sinks check.
4258
4259         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4260         (gst_bin_remove_func), (gst_bin_recalc_state),
4261         (gst_bin_change_state_func), (bin_bus_handler):
4262         Fix potential race condition when _get_state() iterated over an
4263         ASYNC element right before it posted a state completion.
4264
4265         * gst/gstclock.h:
4266         Do proper cast here.
4267
4268         * gst/gstevent.c: (gst_event_new_newsegment),
4269         (gst_event_parse_newsegment):
4270         A playback rate of 0.0 is not allowed.
4271
4272 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4273
4274         * win32/common/config.h:
4275         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4276         (_trewinddir), (_ttelldir), (_tseekdir):
4277         * win32/common/dirent.h:
4278         * win32/common/gtchar.h:
4279         * win32/common/libgstbase.def:
4280         * win32/common/libgstreamer.def:
4281         * win32/vs6/grammar.dsp:
4282         * win32/vs6/gst_inspect.dsp:
4283         * win32/vs6/gst_launch.dsp:
4284         * win32/vs6/gstreamer.dsw:
4285         * win32/vs6/libgstbase.dsp:
4286         * win32/vs6/libgstelements.dsp:
4287         * win32/vs6/libgstreamer.dsp:
4288           Visual Studio 6 project files, and a new common directory.
4289           Phear.
4290
4291 2005-10-11  Wim Taymans  <wim@fluendo.com>
4292
4293         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4294         (gst_base_sink_do_sync), (gst_base_sink_query),
4295         (gst_base_sink_change_state):
4296         * gst/base/gstbasesink.h:
4297         Correctly parse newsegment info.
4298
4299 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4300
4301         * gst/gst.c: (init_post):
4302           split plugin paths correctly
4303
4304 2005-10-11  Wim Taymans  <wim@fluendo.com>
4305
4306         * check/gst/gstevent.c: (GST_START_TEST):
4307         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4308         (gst_base_sink_change_state):
4309         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4310         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4311         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4312         * gst/gstevent.c: (gst_event_new_newsegment),
4313         (gst_event_parse_newsegment):
4314         * gst/gstevent.h:
4315         Added extra flag to newsegment for future API freeze.
4316         Updated check and base elements.
4317
4318 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4319
4320         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4321         (gst_collectpads_add_pad), (gst_collectpads_pop),
4322         (gst_collectpads_event), (gst_collectpads_chain):
4323         * gst/base/gstcollectpads.h: Handle EOS correctly.
4324
4325 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4326
4327         * tools/gst-launch.c: (main):
4328           more null protecting
4329
4330 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4331
4332         * gst/gst-i18n-lib.h:
4333           check for ENABLE_NLS, not GETTEXT_PACKAGE
4334         * gst/gstregistry.c: (gst_registry_add_plugin),
4335         (gst_registry_scan_path_level),
4336         (_gst_registry_remove_cache_plugins):
4337           protect possibly NULL strings
4338         * gst/parse/types.h:
4339           config.h already included before
4340         * tools/gst-inspect.c: (main):
4341           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4342           check for ENABLE_NLS, not GETTEXT_PACKAGE
4343         * tools/gst-launch.c: (main):
4344           check for ENABLE_NLS, not GETTEXT_PACKAGE
4345
4346 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4347
4348         * configure.ac:
4349           if we don't have glib, fail before testing 2.8
4350         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4351           fix a leak, should fix plugins-base testsuite
4352
4353 2005-10-11  Andy Wingo  <wingo@pobox.com>
4354
4355         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4356         take the mode we're going to as an arg. Go head and set the mode
4357         and flushing flags now, so that if the activate function starts a
4358         thread all the flags will be in the right state.
4359         (post_activate): Renamed also. Just handle making sure streaming
4360         finishes for the deactivation case, and setting the deactivated
4361         mode.
4362         (gst_pad_set_active): Complain loudly if deactivation fails.
4363         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4364         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4365         remove the terrible hack.
4366
4367 2005-10-11  Wim Taymans  <wim@fluendo.com>
4368
4369         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4370         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4371         (gst_bin_recalc_state), (gst_bin_change_state_func),
4372         (gst_bin_dispose), (bin_bus_handler):
4373         * gst/gstbin.h:
4374         Prepare to make current EOS message queue more generic.
4375         Fix some typos.
4376
4377         * gst/gstevent.c: (gst_event_new_newsegment),
4378         (gst_event_parse_newsegment):
4379         * gst/gstevent.h:
4380         Rename base to stream_time.
4381
4382         * gst/gstmessage.h:
4383         Fix typo in docs.
4384
4385 2005-10-11  Wim Taymans  <wim@fluendo.com>
4386
4387         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4388         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4389         (gst_bin_change_state_func), (bin_bus_handler):
4390         * gst/gstbin.h:
4391         Work on proper clock selection.
4392
4393 2005-10-11  Edward Hervey  <edward@fluendo.com>
4394
4395         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4396         * libs/gst/controller/gstcontroller.h:
4397         Added GList* version of _remove_properties() in order to be able to wrap
4398         it in bindings.
4399
4400 2005-10-11  Wim Taymans  <wim@fluendo.com>
4401
4402         * docs/design/part-states.txt:
4403         Some more docs.
4404
4405         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4406         (gst_bin_change_state_func), (bin_bus_handler):
4407         Doc updates. Don't distribute the same clock over and over again.
4408
4409         * gst/gstclock.c:
4410         * gst/gstclock.h:
4411         Doc updates.
4412
4413         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4414         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4415         (gst_pad_send_event):
4416         * gst/gstpad.h:
4417         Make probe emission threadsafe again.
4418         Register quarks and move _get_name() from utils.
4419         Doc updates.
4420
4421         * gst/gstpipeline.c: (gst_pipeline_class_init),
4422         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4423         Only redistribute the clock of it changed.
4424
4425         * gst/gstsystemclock.h:
4426         Doc updates. 
4427
4428         * gst/gstutils.c:
4429         * gst/gstutils.h:
4430         Moved the _flow_get_name() to GstPad.
4431
4432 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4433
4434         * check/gst-libs/gdp.c: (GST_START_TEST):
4435         * check/gst/gstcaps.c: (GST_START_TEST):
4436         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4437         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4438         (gst_dp_packet_from_caps):
4439           fix more valgrind warnings before turning up the heat
4440
4441 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4442
4443         * gst/parse/grammar.y:
4444           some cleanup before the hacking
4445
4446 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4447
4448         * gst/base/gstbasesrc.c: (gst_base_src_query):
4449           use conversions
4450         * gst/gstutils.c: (gst_guint64_to_gdouble),
4451         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4452         * gst/gstutils.h:
4453           externalize, basesrc uses it
4454           obviously the implementation needs testing
4455
4456 2005-10-10  Wim Taymans  <wim@fluendo.com>
4457
4458         * tests/sched/Makefile.am:
4459         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4460         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4461
4462 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4463
4464         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4465           apparently converting from guint64 to double is not implemented
4466           on MSVC
4467
4468 2005-10-10  Wim Taymans  <wim@fluendo.com>
4469
4470         * check/Makefile.am:
4471         * check/generic/states.c: (GST_START_TEST):
4472         * check/gst/gstbin.c: (GST_START_TEST):
4473         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4474         * check/states/sinks.c: (GST_START_TEST):
4475         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4476         (main):
4477         Check fixes, use API as stated in design docs, remove hacks.
4478
4479         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4480         (gst_base_sink_change_state):
4481         Catch stopping our task while we're shutting down.
4482
4483         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4484         (gst_bin_remove_func), (gst_bin_get_state_func),
4485         (gst_bin_recalc_state), (gst_bin_change_state_func),
4486         (bin_bus_handler):
4487         * gst/gstbin.h:
4488         * gst/gstelement.c: (gst_element_init),
4489         (gst_element_get_state_func), (gst_element_abort_state),
4490         (gst_element_commit_state), (gst_element_lost_state),
4491         (gst_element_set_state), (gst_element_change_state),
4492         (gst_element_change_state_func):
4493         * gst/gstelement.h:
4494         New state change algorithm (see #318116)
4495
4496         * gst/gstpipeline.c: (gst_pipeline_class_init),
4497         (gst_pipeline_init), (gst_pipeline_set_property),
4498         (gst_pipeline_get_property), (do_pipeline_seek),
4499         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4500         * gst/gstpipeline.h:
4501         Remove crude state change hacks.
4502
4503         * gst/gstutils.h:
4504         Remove crude hacks.
4505
4506         * tools/gst-launch.c: (main):
4507         Fixes for state change. Needs some more work to fully use the
4508         new stuff.
4509
4510 2005-10-10  Andy Wingo  <wingo@pobox.com>
4511
4512         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4513
4514         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4515         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4516         issue.
4517
4518 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4519
4520         * gst/gstiterator.c: (gst_iterator_new):
4521           Fix my previous commit: GTypes passed to gst_iterator_new()
4522           can be fundamental types.
4523
4524 2005-10-10  Wim Taymans  <wim@fluendo.com>
4525
4526         * gst/gstelement.c: (gst_element_iterate_pad_list),
4527         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4528         (gst_element_iterate_sink_pads):
4529         Use src/sink pads lists for the respective iterators instead
4530         of filtering.
4531
4532 2005-10-10  Andy Wingo  <wingo@pobox.com>
4533
4534         Merged in popt removal + GOption addition patch from Ronald, bug
4535         #169772.
4536
4537         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4538         GstElement macros around, remove popt-related symbols, add goption
4539         stuff.
4540
4541         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4542         
4543         * docs/gst/Makefile.am:
4544         * docs/libs/Makefile.am: No POPT_CFLAGS.
4545         
4546         * examples/manual/Makefile.am:
4547         * docs/manual/basics-init.xml: Doc updates with an example.
4548         
4549         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4550         (gst_init), (parse_one_option), (parse_goption_arg):
4551         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4552         bit of hand merging and debugging to get the GOption stuff working
4553         tho.
4554         
4555         * tests/Makefile.am:
4556         * tools/Makefile.am:
4557         * tools/gst-inspect.c: (main):
4558         * tools/gst-launch.c: (main):
4559         * tools/gst-run.c: (main):
4560         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4561
4562 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4563
4564         * gst/gstiterator.c: (gst_iterator_new):
4565           Add assertions to make sure passed GType is likely to really
4566           be a GType (as the compiler won't catch it if the size and
4567           GType arguments get mixed up, see #318447).
4568
4569 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4570
4571         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4572
4573         * gst/gstbin.c: (gst_bin_iterate_sorted):
4574           Pass GType and size arguments to gst_iterator_new() in the right
4575           order (maybe we should make _new() take the GType as first argument
4576           just like _new_list()?) (#318447).
4577           
4578
4579 2005-10-10  Wim Taymans  <wim@fluendo.com>
4580
4581         * gst/gstelement.c: (gst_element_finalize):
4582         And free the GStaticRecMutex too
4583
4584 2005-10-10  Andy Wingo  <wingo@pobox.com>
4585
4586         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4587         Allocate and free the mutex properly.
4588
4589         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4590         New macros.
4591         (GstElement): The state_lock is now recursive. Rebuild your
4592         plugins, suckers. Old macros adapted.
4593
4594         * docs/gst/gstreamer-sections.txt: Doc updates.
4595
4596         * gst/gstutils.h:
4597         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4598         (g_static_rec_cond_wait): Ported from state changes patch, while
4599         we wait on bug #317802 to be solved in a well-distributed GLib.
4600
4601         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4602         gst_element_change_state, variable name changes.
4603         (gst_element_change_state): Split out of gst_element_set_state in
4604         preparation for the state change merge. Doesn't pay attention to
4605         the 'transition' argument.
4606         (gst_element_set_state): Updates, hopefully purely cosmetic.
4607         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4608         state change patch.
4609         (gst_element_get_state_func): Renamed from get_state, cosmetic
4610         changes.
4611
4612 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4613
4614         * gst/elements/gstelements.c:
4615         * win32/GStreamer.vcproj:
4616         * win32/config.h:
4617         * win32/dirent.c: (_tseekdir):
4618         * win32/gst-inspect.vcproj:
4619         * win32/gst-launch.vcproj:
4620         * win32/gstconfig.h:
4621         * win32/gstelements.vcproj:
4622         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4623         * win32/gstreamer.def:
4624         * win32/msvc71.sln:
4625           updates for the win32 build (patch from Sebastien Moutte)
4626
4627 2005-10-10  Andy Wingo  <wingo@pobox.com>
4628
4629         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4630         gst_bin_get_state, cleaned up (but no logic changes).
4631         (bin_element_is_sink): Comment updates.
4632         (sink_iterator_filter): Remove needless cast.
4633         (gst_bin_iterate_sinks): Doc update.
4634         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4635         cleaned up (but no logic changes).
4636
4637         * check/states/sinks.c (test_src_sink): Cleanups from the state
4638         change patch.
4639         (test_livesrc_sink): Sync on the state.
4640
4641         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4642         the state change patch.
4643
4644         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4645         change patch.
4646
4647         * check/gst/gstbin.c: Merge in some style fixes and additional
4648         checks from Wim's state change patch.
4649
4650 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4651
4652         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4653         (gst_type_find_helper):
4654           Check whether we have the requested data already in our list of
4655           cached buffers before pulling a new buffer; also make the buffer
4656           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4657
4658 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4659
4660         * gst/gstcaps.c:
4661         * gst/gstevent.c:
4662           doc updates
4663         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4664           don't use long long, it's not portable.  Replacing with
4665           gint64 seems to work; let's hope no skeletons fall out of the closet.
4666
4667 2005-10-10  Andy Wingo  <wingo@pobox.com>
4668
4669         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4670
4671 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4672
4673         * docs/gst/gstreamer-sections.txt:
4674         * gst/gstevent.c:
4675         * gst/gstevent.h:
4676         * gst/gstinfo.c:
4677         * gst/gstinfo.h:
4678         * gst/gstmessage.c: (gst_message_parse_state_changed):
4679         * gst/gstpad.c:
4680         * gst/gstpad.h:
4681           more docs, fix compilation
4682
4683 2005-10-09  Philippe Khalaf <burger@speedy.org>
4684         * gst/gstmessage.c:
4685           Fixed a few forgotten variables on previous commit
4686
4687 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4688
4689         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4690           Fix evil typefind crasher: getrange() might return a short
4691           buffer at the end of a file, but gst_type_find_peek() must
4692           either return the full data as requested or NULL, but
4693           never a short buffer.
4694
4695 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4696
4697         * gst/gstmessage.c: (gst_message_new_state_changed),
4698         (gst_message_parse_state_changed):
4699         * gst/gstmessage.h:
4700           don't use "new", it's a C++ keyword
4701
4702 2005-10-08  Wim Taymans  <wim@fluendo.com>
4703
4704         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4705         * gst/gstelement.c: (gst_element_post_message):
4706         * gst/gstpipeline.c: (gst_pipeline_change_state):
4707         Small docs and debug updates.
4708
4709 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4710
4711         * docs/gst/gstreamer-sections.txt:
4712         * gst/gstelementfactory.c:
4713         * gst/gstevent.c:
4714         * gst/gsttaglist.c:
4715           more docs
4716
4717 2005-10-08  Wim Taymans  <wim@fluendo.com>
4718
4719         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4720         (gst_bin_dispose), (bin_bus_handler):
4721         Fix typos, add comments.
4722         Clear EOS list when going to PAUSED from any direction and do it
4723         in a threadsafe way.
4724         Get base time in a threadsafe way too.
4725         Fix confusing debug in the change_state function.
4726         Various other small cleanups.
4727         
4728         * gst/gstelement.c: (gst_element_post_message):
4729         Fix very verbose bus posting code.
4730
4731         * gst/gstpipeline.c: (gst_pipeline_class_init),
4732         (gst_pipeline_set_property), (gst_pipeline_get_property),
4733         (gst_pipeline_change_state):
4734         Small ARG_ -> PROP_ cleanup
4735
4736 2005-10-08  Wim Taymans  <wim@fluendo.com>
4737
4738         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4739         Do a less CPU demanding EOS check because we can.
4740
4741 2005-10-08  Wim Taymans  <wim@fluendo.com>
4742
4743         * libs/gst/dataprotocol/dataprotocol.c:
4744         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4745         (gst_dp_packet_from_event):
4746         * libs/gst/dataprotocol/dataprotocol.h:
4747         * libs/gst/dataprotocol/dp-private.h:
4748         It's about time we bump the version number.
4749         Since event types don't fit in the guint8 anymore describing
4750         the payload type, make payload type 16 bits wide.
4751
4752 2005-10-08  Wim Taymans  <wim@fluendo.com>
4753
4754         * docs/design/part-TODO.txt:
4755         * docs/design/part-clocks.txt:
4756         * docs/design/part-events.txt:
4757         * docs/design/part-gstbin.txt:
4758         * docs/design/part-gstelement.txt:
4759         * docs/design/part-gstpipeline.txt:
4760         * docs/design/part-live-source.txt:
4761         * docs/design/part-messages.txt:
4762         * docs/design/part-overview.txt:
4763         * docs/design/part-states.txt:
4764         Many doc updates.
4765
4766 2005-10-08  Wim Taymans  <wim@fluendo.com>
4767
4768         * gst/gstevent.c:
4769         * gst/gstevent.h:
4770         Fix event quark registration.
4771         Add some space between events so we can insert them in the
4772         right groups.
4773
4774 2005-10-08  Wim Taymans  <wim@fluendo.com>
4775
4776         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4777         (gst_base_sink_handle_buffer):
4778         Better log message.
4779
4780         * gst/gstbus.h:
4781         * gst/gstelement.h:
4782         More docs.
4783
4784         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4785         (gst_queue_set_property), (gst_queue_get_property):
4786         * gst/gstqueue.h:
4787         Remove old unused properties.
4788
4789 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4790         * docs/gst/gstreamer-sections.txt:
4791         * gst/gstmessage.c:
4792         * gst/gstmessage.h:
4793         * gst/gstminiobject.c:
4794         * gst/gstminiobject.h:
4795         * gst/gstobject.h:
4796         * gst/gstpad.h:
4797         * gst/gstutils.h:
4798           lots of new docs and doc fixes
4799
4800 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4801
4802         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4803         * gst/gstplugin.h:
4804         * gst/gstregistry.c: (gst_registry_lookup_locked),
4805         (gst_registry_scan_path_level):
4806         * gst/gstregistryxml.c: (load_plugin):
4807           Only ever load one plugin for a given plugin basename.
4808           This ensures correct overriding of GST_PLUGIN_PATH over
4809           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4810           system installed plugins.
4811
4812 2005-10-08  Wim Taymans  <wim@fluendo.com>
4813
4814         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4815         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4816         Prepare for doing QOS.
4817
4818 2005-10-08  Wim Taymans  <wim@fluendo.com>
4819
4820         * check/gst/gstbin.c: (GST_START_TEST):
4821         * check/pipelines/cleanup.c: (GST_START_TEST):
4822         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4823         Allow new clock message too.
4824
4825 2005-10-08  Wim Taymans  <wim@fluendo.com>
4826
4827         * gst/gstmessage.c: (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_clock_lost), (gst_message_new_new_clock),
4831         (gst_message_new_segment_start), (gst_message_new_segment_done),
4832         (gst_message_parse_state_changed),
4833         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4834         (gst_message_parse_new_clock):
4835         * gst/gstmessage.h:
4836         Also carry the clock in question.
4837
4838 2005-10-08  Wim Taymans  <wim@fluendo.com>
4839
4840         * gst/gstmessage.c: (gst_message_new_custom),
4841         (gst_message_new_eos), (gst_message_new_error),
4842         (gst_message_new_warning), (gst_message_new_tag),
4843         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4844         (gst_message_new_new_clock), (gst_message_new_segment_start),
4845         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4846         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4847         * gst/gstmessage.h:
4848         Clean up.
4849         Added clock related messages.
4850
4851         * gst/gstpipeline.c: (gst_pipeline_change_state):
4852         Post message when the clock changed.
4853
4854         * tools/gst-launch.c: (event_loop):
4855         Print new clock.
4856
4857 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4858
4859         * tools/gst-inspect.c: (print_element_properties_info):
4860           Can't pass NULL strings to g_print() on windows.
4861
4862 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4863
4864         * docs/Makefile.am:
4865         * docs/gst/Makefile.am:
4866         * docs/gst/gstreamer-docs.sgml:
4867         * docs/gst/running.xml:
4868         * docs/version.entities.in:
4869           add a chapter on running GStreamer.
4870           document GST_DEBUG and GST_PLUGIN* env vars
4871
4872 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4873
4874         * Makefile.am:
4875           remove include dir
4876         * configure.ac:
4877           remove PLUGINS_BUILDDIR stuff
4878         * gst/gst.c: (init_post):
4879           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4880         * idiottest.mak:
4881           remove, it was condescending and not needed
4882
4883 2005-10-08  Wim Taymans  <wim@fluendo.com>
4884
4885         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4886         (gst_base_sink_handle_object), (gst_base_sink_event),
4887         (gst_base_sink_wait), (gst_base_sink_handle_event),
4888         (gst_base_sink_change_state):
4889         * gst/base/gstbasesink.h:
4890         Repost EOS message while going to PLAYING if still EOS.
4891         Make sure that when receiving a FLUSH_START we don't attempt
4892         to sync on the clock anymore.
4893
4894 2005-10-08  Wim Taymans  <wim@fluendo.com>
4895
4896         * tools/gst-launch.c: (event_loop):
4897         Better message printout.
4898
4899 2005-10-08  Wim Taymans  <wim@fluendo.com>
4900
4901         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4902         (gst_bin_child_proxy_get_children_count):
4903         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4904         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4905         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4906         (gst_child_proxy_set_valist):
4907         * gst/parse/grammar.y:
4908         Make ChildProxy threadsafe and fix mem leaks.
4909
4910 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4911
4912         * gst/gst.c: (init_post):
4913           debug the GST_PLUGIN_ env vars
4914
4915 2005-10-08  Wim Taymans  <wim@fluendo.com>
4916
4917         * check/gst/gstbin.c: (GST_START_TEST):
4918         * check/gst/gstmessage.c: (GST_START_TEST):
4919         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4920         * gst/gstelement.c: (gst_element_commit_state),
4921         (gst_element_lost_state):
4922         * gst/gstmessage.c: (gst_message_new_state_changed),
4923         (gst_message_parse_state_changed):
4924         * gst/gstmessage.h:
4925         * tools/gst-launch.c: (event_loop):
4926         Added extra field to STATE_CHANGE message with the pending
4927         state, which will be different from the new state soon.
4928
4929 2005-10-08  Wim Taymans  <wim@fluendo.com>
4930
4931         * gst/gstbus.c: (gst_bus_pop):
4932         * gst/gstclock.c:
4933         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4934         Small cleanups and doc updates.
4935
4936 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4937
4938         * gst/gst.c: (init_pre):
4939         * gst/gstbin.c: (gst_bin_add_func):
4940           log distributing clocks and base time
4941         * gst/gstregistry.c: (gst_registry_add_plugin),
4942         (gst_registry_scan_path_level), (gst_registry_scan_path):
4943           clean up the debugging output a little
4944         * gst/gstutils.c: (gst_element_state_get_name):
4945           warn about a memleak (I've actually seen this be used, though
4946           it was probably a bug)
4947
4948 2005-10-07  Wim Taymans  <wim@fluendo.com>
4949
4950         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4951         (gst_base_src_init), (gst_base_src_default_newsegment),
4952         (gst_base_src_newsegment), (gst_base_src_do_seek),
4953         (gst_base_src_loop), (gst_base_src_start):
4954         * gst/base/gstbasesrc.h:
4955         Make the newsegment event customizable by subclasses.
4956
4957 2005-10-07  Wim Taymans  <wim@fluendo.com>
4958
4959         * gst/gstevent.c: (gst_event_new_buffersize),
4960         (gst_event_parse_buffersize):
4961         * gst/gstevent.h:
4962         New event for future idea.
4963
4964 2005-10-07  Andy Wingo  <wingo@pobox.com>
4965
4966         * gst/gstelement.c (gst_element_post_message): Doc update.
4967
4968         * docs/gst/gstreamer-sections.txt: Update.
4969
4970         * gst/gstmessage.c (gst_message_new_application): Made into a
4971         function like honest API calls.
4972         (gst_message_new_element): New message type.
4973
4974         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4975
4976         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4977         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4978         times.
4979
4980         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4981         NO_PREROLL from gst_element_change_state to fall through.
4982
4983 2005-10-07  Wim Taymans  <wim@fluendo.com>
4984
4985         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4986         (gst_ghost_pad_do_activate_push):
4987         Activating a ghostpad with no internal pad in push mode
4988         is ok.
4989
4990 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4991
4992         * gst/gstobject.h:
4993           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4994           Fixes compilation on Windows.
4995
4996 2005-10-07  Michael Smith <msmith@fluendo.com>
4997
4998         * tools/gst-inspect.c:
4999           Print out feature and plugin count at the end when printing out
5000           all features.
5001
5002 2005-10-04  Michael Smith <msmith@fluendo.com>
5003
5004         * gst/gsterror.c: (_gst_stream_errors_init):
5005           Add another error string used in a few existing plugins.
5006
5007         * gst/gstplugin.c:
5008         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5009         * tools/gst-inspect.c: (print_element_info):
5010           When a feature disappears from a plugin (and the feature exists in
5011           the cached registry file), things went horribly wrong. This isn't a
5012           complete fix, we should actually be removing the 'missing' features
5013           from the features list when we load the actual plugin. That's not
5014           yet implemented. 
5015
5016 2005-10-04  Johan Dahlin  <johan@gnome.org>
5017
5018         * check/gst/gstiterator.c: (GST_START_TEST):
5019         * gst/gstbin.c: (gst_bin_iterate_elements),
5020         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5021         * gst/gstelement.c: (gst_element_iterate_pads):
5022         * gst/gstformat.c: (gst_format_iterate_definitions):
5023         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5024         (gst_iterator_new_list), (gst_iterator_filter):
5025         * gst/gstiterator.h:
5026         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5027         Add a GType to GstIterator, update callsites and tests.
5028
5029 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5030
5031         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5032           give events a chance to be handled by event probes when the pad
5033           is not linked
5034
5035 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5036
5037         * gst/gstevent.c: (gst_event_type_get_name),
5038         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5039         * gst/gstevent.h:
5040           add string representations for event types
5041
5042 2005-10-06  Wim Taymans  <wim@fluendo.com>
5043
5044         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5045         Don't use NULL pointers.
5046
5047 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5048
5049         * gst/gst_private.h:
5050         * gst/gstbus.c:
5051         * gst/gstelement.c:
5052         * gst/gstinfo.c:
5053         * gst/gstpluginfeature.c:
5054           widen the debug category in output to fit the biggest one we have
5055           add a bus category and use it
5056           play with the colors
5057           fix up some categories
5058
5059 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5060
5061         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5062           add push activation of sink ghost pads.
5063           Andye, please verify
5064
5065 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5066
5067         * gst/gstutils.c: (gst_element_link_pads):
5068           fix a bug in the case where neither element has a pad
5069         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5070           add a test for that case
5071
5072 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5073
5074         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5075           emit have-data before checking for peers.  This allows
5076           for probe handlers to connect elements.  This helps autopluggers.
5077         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5078         (gst_pad_suite):
5079           add six checks, linked/unlinked with no/true/false probe
5080
5081 2005-10-04  Wim Taymans  <wim@fluendo.com>
5082
5083         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5084         (gst_fake_sink_event), (gst_fake_sink_preroll),
5085         (gst_fake_sink_render), (gst_fake_sink_change_state):
5086         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5087         (gst_fake_src_get_property), (gst_fake_src_create),
5088         (gst_fake_src_stop):
5089         * gst/elements/gstidentity.c: (gst_identity_stop):
5090         Protect last_message with lock.
5091
5092 2005-10-04  Edward Hervey  <edward@fluendo.com>
5093
5094         * gst/gstformat.h: 
5095         Added precision in the comments for GST_FORMAT_DEFAULT
5096
5097 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5098
5099         * tools/gst-launch.c: (main):
5100           Don't try to run erroneous pipelines.
5101
5102 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5103
5104         * gst/gstbus.c: We don't need this header.
5105
5106 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5107
5108         * configure.ac:
5109           back to development
5110
5111 === release 0.9.3 ===
5112
5113 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5114
5115         * README:
5116         * configure.ac:
5117           Releasing 0.9.3, "Unregistered"
5118
5119 2005-10-03  Andy Wingo  <wingo@pobox.com>
5120
5121         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5122         whereby calling a pad's activatepush() function can start a thread
5123         that starts to push or pull before the pad gets the FLUSHING flag
5124         unset. Hack around it by holding the stream lock until the flag is
5125         set. Need to replace this with a proper solution. Together with
5126         the ghost pad fixes, this fixes mp3 playing/tagreading.
5127
5128         * docs/design/part-gstghostpad.txt: Add a note about activation of
5129         proxy pads outside of ghost pads.
5130
5131         * gst/gstghostpad.c: Implement the ghost pad activation design.
5132
5133 2005-10-02  Andy Wingo  <wingo@pobox.com>
5134
5135         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5136         It is volatile, after all.
5137
5138         * docs/design/part-gstghostpad.txt: Flesh out activation with
5139         ghost pads.
5140
5141         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5142         GST_DEBUG_FUNCPTR.
5143
5144 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5145
5146         * configure.ac:
5147           Fix (unused) AM_CONDITIONAL tests.
5148
5149 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5150
5151         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5152
5153         * gst/gstutils.c: (gst_pad_query_convert):
5154           Add assertion that makes sure src_val is >=0, just like
5155           gst_query_new_convert() has. (#315895)
5156
5157 2005-09-30  Edward Hervey  <edward@fluendo.com>
5158
5159         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5160         Let's not iterate pads we're not interested in, it avoids getting 
5161         sky-high refcounts on sinkpad.
5162
5163 2005-09-30  Wim Taymans  <wim@fluendo.com>
5164
5165         * gst/gstelement.c: (gst_element_set_state),
5166         (gst_element_change_state):
5167         Small tweak, element in ASYNC remains ASYNC.
5168
5169 2005-09-30  Wim Taymans  <wim@fluendo.com>
5170
5171         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5172         Only error is an error.
5173
5174         * gst/gstbin.c: (gst_bin_change_state):
5175         Better debugging.
5176
5177         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5178         Also call pad_block in pad alloc.
5179
5180         * gst/gstutils.c: (gst_flow_get_name):
5181         Better debugging.
5182
5183 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5184
5185         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5186         (gst_base_src_get_range):
5187           Fix documentation typos. Add some more debug info.
5188
5189 2005-09-29  David Schleef  <ds@schleef.org>
5190
5191         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5192           more end-user friendly.
5193         * tools/gst-inspect.c: (main): Check if command-line argument is
5194           a file and attempt to load that file as a plugin.
5195
5196 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5197
5198         * check/gst/gstbin.c:
5199         * check/states/sinks.c:
5200           fix tests for the new warning
5201         * check/gst/gstpipeline.c:
5202           add a test for pipeline and bus interaction
5203         * gst/gstelement.c:
5204           elements should be NULL if they get disposed; add a warning if not
5205
5206 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5207
5208         * gst/gstobject.c:
5209           for 2.6 refcounting, make debug log more correct by printing
5210           the actual refcounts at the time of swap (Wim)
5211
5212 2005-09-29  Andy Wingo  <wingo@pobox.com>
5213
5214         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5215         removes signal watches previously added via
5216         gst_bus_add_signal_watch.
5217         (gst_bus_add_signal_watch): Don't return the source id, just store
5218         it on the bus if there wasn't an id already.
5219
5220         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5221         add_signal_watch and remove_signal_watch.
5222
5223 2005-09-29  Edward Hervey  <edward@fluendo.com>
5224
5225         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5226         Better if we actually iterate the list :)
5227
5228 2005-09-29  Wim Taymans  <wim@fluendo.com>
5229
5230         * check/gst/gstbin.c: (GST_START_TEST):
5231         Change for new bus API.
5232
5233         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5234         (send_messages), (GST_START_TEST), (gstbus_suite):
5235         Change for new bus signal API.
5236
5237         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5238         (gst_bus_source_prepare), (gst_bus_source_check),
5239         (gst_bus_create_watch), (gst_bus_add_watch_full),
5240         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5241         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5242         * gst/gstbus.h:
5243         Remove support for multiple GSources operating on different
5244         message types as it is too complex and unneeded when using
5245         signals.
5246         Added support for receiving signals from the bus.
5247
5248 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5249
5250         * docs/libs/tmpl/gstdataprotocol.sgml:
5251         * docs/manual/advanced-dataaccess.xml:
5252         * gst/elements/gstcapsfilter.c:
5253         * gst/gstutils.c:
5254           rename filter-caps to caps property
5255
5256 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5257
5258         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5259           More robust fraction string parsing.
5260
5261         * docs/pwg/appendix-porting.xml:
5262           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5263
5264 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5265
5266         * gst/gstcaps.c: (gst_caps_do_simplify):
5267           Thou shalt not free a structure and then continue using it
5268           in the next loop iteration.
5269
5270         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5271         (gst_caps_suite):
5272           Add test case for caps simplification.
5273
5274 2005-09-29  Wim Taymans  <wim@fluendo.com>
5275
5276         * check/gst/gstbin.c: (GST_START_TEST):
5277         Oops.
5278
5279 2005-09-29  Wim Taymans  <wim@fluendo.com>
5280
5281         * check/gst/gstbin.c: (GST_START_TEST):
5282         Add bus to bin.
5283
5284         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5285         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5286         (find_element), (gst_bin_sort_iterator_next),
5287         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5288         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5289         (gst_bin_change_state), (gst_bin_dispose):
5290         A bin does not have a bus, it gets the bus from the parent.
5291
5292         * gst/gstelement.c: (gst_element_requires_clock),
5293         (gst_element_provides_clock), (gst_element_is_indexable),
5294         (gst_element_is_locked_state), (gst_element_change_state),
5295         (gst_element_set_bus_func):
5296         Small cleanups.
5297
5298         * gst/gstpipeline.c: (gst_pipeline_class_init),
5299         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5300         The pipeline provides a bus.
5301
5302 2005-09-28  Johan Dahlin  <johan@gnome.org>
5303
5304         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5305         gst_structure_get_enum instead of gst_structure_get_int
5306
5307         * gst/gststructure.c (gst_structure_get_enum): Impl.
5308
5309         * gst/gststructure.h (gst_structure_get_enum): Add
5310
5311         * docs/gst/gstreamer-sections.txt: Ditto
5312
5313         * gst/gstmessage.c (gst_message_new_state_changed): Use
5314         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5315         which does introspection.
5316         Reviewed by Christian Schaller
5317
5318 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5319
5320         * gst/gstinfo.c: (gst_debug_log_default):
5321           don't do dummy g_strdup()s
5322         * libs/gst/controller/gstcontroller.c:
5323         (on_object_controlled_property_changed),
5324         (gst_controlled_property_new), (gst_controller_new_valist),
5325         (gst_controller_new_list),
5326         (gst_controller_remove_properties_valist), (gst_controller_set),
5327         (gst_controller_get), (gst_controller_sync_values),
5328         (gst_controller_get_value_array), (_gst_controller_class_init),
5329         (gst_controller_get_type):
5330         * libs/gst/controller/gstcontroller.h:
5331         * libs/gst/controller/gstinterpolation.c:
5332         (gst_controlled_property_find_timed_value_node):
5333           convert // to /**/ comments
5334
5335 2005-09-28  Wim Taymans  <wim@fluendo.com>
5336
5337         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5338         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5339         (gst_bus_sync_signal_handler):
5340         * gst/gstbus.h:
5341         Added async-message and sync-message signals to the bus.
5342         Added helper BusFunc to emit signals for all posted messages.
5343
5344         * gst/gstmessage.c: (gst_message_type_get_name),
5345         (gst_message_type_to_quark), (gst_message_get_type):
5346         * gst/gstmessage.h:
5347         Register quarks for message names.
5348
5349 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5350
5351         * docs/libs/gstreamer-libs-sections.txt:
5352         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5353         (gst_controller_new_list):
5354         * libs/gst/controller/gstcontroller.h:
5355           added another constructor for language bindings
5356
5357 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5358
5359         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5360           add another check
5361         * gst/gstbus.c:
5362           add some doc
5363         * gst/gstinfo.c: (_gst_debug_init):
5364           slightly more readable color for refcount debugging
5365
5366 2005-09-28  Wim Taymans  <wim@fluendo.com>
5367
5368         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5369         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5370         (find_element), (gst_bin_sort_iterator_next),
5371         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5372         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5373         (gst_bin_change_state), (gst_bin_dispose):
5374         Small doc fixes. get_clock -> provide_clock.
5375
5376         * gst/gstelement.c: (gst_element_class_init),
5377         (gst_element_provides_clock), (gst_element_provide_clock),
5378         (gst_element_get_clock), (gst_element_commit_state),
5379         (gst_element_lost_state):
5380         * gst/gstelement.h:
5381         Make get/set_clock() symetric. Add provide_clock vmethod since
5382         that is actually what this function does.
5383
5384         * gst/gstpipeline.c: (gst_pipeline_class_init),
5385         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5386         (gst_pipeline_get_clock):
5387         get_clock -> provide_clock.
5388
5389 2005-09-28  Andy Wingo  <wingo@pobox.com>
5390
5391         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5392         lieu of real docs...
5393
5394         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5395
5396 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5397
5398         * gst/elements/gstcapsfilter.c:
5399         * gst/elements/gstfakesink.c:
5400         * gst/elements/gstfakesrc.c:
5401         * gst/elements/gstfdsink.c:
5402         * gst/elements/gstfdsrc.c:
5403         * gst/elements/gstfilesink.c:
5404         * gst/elements/gstfilesrc.c:
5405         * gst/elements/gstidentity.c:
5406         * gst/elements/gsttee.c:
5407         * gst/elements/gsttypefindelement.c:
5408           Make element details static.
5409
5410 2005-09-28  Wim Taymans  <wim@fluendo.com>
5411
5412         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5413         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5414         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5415         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5416         (gst_bin_change_state), (gst_bin_dispose):
5417         Some documentation updates.
5418         Clean up dispose handlers.
5419
5420         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5421         * gst/gstpad.c: (gst_pad_dispose):
5422         Clean up dispose handler.
5423
5424         * gst/gstpipeline.c: (gst_pipeline_change_state):
5425         Removed spurious UNLOCK.
5426
5427 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5428
5429         * docs/gst/gstreamer-sections.txt:
5430         * gst/base/gstbasesrc.h:
5431         * gst/gstelement.h:
5432         * gst/gstevent.h:
5433         * gst/gstobject.h:
5434         * gst/gstpad.h:
5435         * gst/gstpipeline.c:
5436         * gst/gstpipeline.h:
5437         * gst/gstutils.h:
5438         * gst/gstxml.h:
5439           added two new functions to the docs
5440                 documents all undocumented GstXXXFlags
5441                 completed some incomplete docs 
5442
5443 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5444
5445         * gst/gstbin.c: (gst_bin_dispose):
5446         * gst/gstelement.c: (gst_element_dispose):
5447           remove now useless and leaky resurrection code in dispose
5448         * gst/base/gstbasesrc.c: (gst_base_src_init):
5449         * gst/gstelementfactory.c: (gst_element_factory_create):
5450         * gst/gstobject.c: (gst_object_set_parent):
5451           add some debugging
5452
5453 2005-09-27  Wim Taymans  <wim@fluendo.com>
5454
5455         * docs/design/part-TODO.txt:
5456         Update TODO.
5457
5458         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5459         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5460         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5461         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5462         (gst_bin_change_state):
5463         * gst/gstelement.h:
5464         Remove element variable, we keep element info in the iterator now.
5465
5466 2005-09-27  Andy Wingo  <wingo@pobox.com>
5467
5468         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5469         values.
5470
5471 2005-09-27  Wim Taymans  <wim@fluendo.com>
5472
5473         * check/gst/gstbin.c: (GST_START_TEST):
5474         Enable check that works now.
5475
5476         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5477         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5478         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5479         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5480         (gst_bin_change_state):
5481         * gst/gstbin.h:
5482         Redid the state change algorithm using a topological sort algo.
5483         Handles all cases correctly.
5484         Exposed iterator for state change order.
5485
5486         * gst/gstelement.h:
5487         Temp storage for state changes. Need to get rid of this soon.
5488
5489 2005-09-27  Wim Taymans  <wim@fluendo.com>
5490
5491         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5492         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5493         (link_fold_func), (gst_pad_proxy_setcaps):
5494         Leak fixes, the fold functions need to unref the passed object and
5495         _get_parent_*() returns ref to parent.
5496
5497 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5498
5499         * check/gst/gstbuffer.c: (test_make_writable):
5500           Plug leak in test case and fix 'make check-valgrind'
5501
5502 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5503
5504         * gst/gstbuffer.c: (gst_subbuffer_init):
5505           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5506           works correctly in all circumstances (we could have just copied
5507           the parent buffer's readonly flag, but conceptually it seems
5508           cleaner to mark all subbuffers as read-only). (based on patch
5509           by Alessandro Decina, #314710).
5510         
5511         * check/gst/gstbuffer.c: (create_read_only_buffer),
5512         (test_make_writable), (test_subbuffer_make_writable),
5513         (gst_test_suite):
5514           Add some tests for gst_buffer_make_writable().
5515
5516 2005-09-27  Wim Taymans  <wim@fluendo.com>
5517
5518         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5519         use gst_object_has_ancestor().
5520
5521         * gst/gstobject.c: (gst_object_has_ancestor):
5522         * gst/gstobject.h:
5523         gst_object_has_ancestor() copied from gstbin.c as it is a
5524         usefull function.
5525
5526         * tests/instantiate/create.c: (create_all_elements):
5527         * tests/lat.c: (handoff_src), (handoff_sink):
5528         * tests/sched/runxml.c: (main):
5529         * tests/seeking/seeking1.c: (main):
5530         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5531         (main):
5532         Fix compilation of some tests.
5533
5534 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5535
5536         * gst/gsterror.h:
5537           Remove comment. GST_TYPE_G_ERROR is here to stay,
5538           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5539           (#316961, #300610).
5540
5541 2005-09-26  Wim Taymans  <wim@fluendo.com>
5542
5543         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5544         Added check that shows error in state change order.
5545
5546 2005-09-26  Wim Taymans  <wim@fluendo.com>
5547
5548         * gst/gstbin.c: (gst_bin_change_state):
5549         Make state change function use 3 queues again, we were
5550         adding elements in the wrong order.
5551
5552         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5553         Some debug info,
5554
5555         * gst/gstpad.c: (gst_pad_dispose):
5556         Added some debug info first.
5557
5558 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5559
5560         * docs/design/draft-push-pull.txt:
5561         * docs/design/part-events.txt:
5562         * docs/design/part-overview.txt:
5563         * docs/design/part-scheduling.txt:
5564           Replace all _pull_region() with _pull_range()
5565           
5566 2005-09-26  Andy Wingo  <wingo@pobox.com>
5567
5568         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5569
5570         * check/gst-libs/controller.c: Update for controller api change.
5571
5572         * configure.ac: 
5573         * tests/Makefile.am:
5574         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5575         over by GLib bug 118439.
5576         
5577         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5578         routines to a function.
5579
5580         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5581
5582         * libs/gst/controller/gsthelper.c:
5583         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5584         (gst_object_sync_values): Renamed from sink_values. Ugh.
5585
5586         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5587
5588         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5589         Renamed from controller_key, as it is exported.
5590
5591         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5592
5593 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5594
5595         * gst/Makefile.am:
5596         * gst/gst.h:
5597         * gst/gstpad.h:
5598         * gst/gstpadtemplate.h:
5599         * gst/gstquery.c:
5600         * gst/gstquery.h:
5601         * gst/gstqueryutils.c:
5602         * gst/gstqueryutils.h:
5603           remove queryutils headers after moving the two used functions
5604           to gstquery.  also fixes build problem for gstsiddec
5605
5606 2005-09-26  Michael Smith <msmith@fluendo.com>
5607
5608         * tools/gst-launch.1.in:
5609         Correct documentation in manpage of debug syntax
5610
5611 2005-09-26  Wim Taymans  <wim@fluendo.com>
5612
5613         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5614         (gst_base_src_is_seekable), (gst_base_src_change_state):
5615         Some more debugging info.
5616
5617 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5618
5619         * docs/gst/gstreamer-sections.txt:
5620         * gst/base/gstbasetransform.h:
5621         * gst/gstindex.h:
5622           added more docs
5623
5624 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5625
5626         * docs/gst/.cvsignore:
5627         * docs/gst/tmpl/.cvsignore:
5628         * docs/gst/tmpl/gstpipeline.sgml:
5629         * docs/gst/tmpl/gstplugin.sgml:
5630         * gst/gstpipeline.c:
5631         * gst/gstplugin.c:
5632         * gst/gstplugin.h:
5633           inlined the last two docs files
5634           removed the tmpl directory from cvs (no more conflicts here!)
5635
5636 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5637
5638         * docs/gst/gstreamer-sections.txt:
5639         * docs/gst/tmpl/.cvsignore:
5640         * docs/gst/tmpl/gstpad.sgml:
5641         * docs/gst/tmpl/gstpadtemplate.sgml:
5642         * gst/Makefile.am:
5643         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5644         (gst_pad_finalize), (gst_pad_set_pad_template):
5645         * gst/gstpad.h:
5646         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5647         (gst_pad_template_class_init), (gst_pad_template_init),
5648         (gst_pad_template_dispose), (name_is_valid),
5649         (gst_static_pad_template_get), (gst_pad_template_new),
5650         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5651         (gst_pad_template_pad_created):
5652         * gst/gstpadtemplate.h:
5653           inlined two more docs
5654           factored gstpadtemplate out of gstpad
5655
5656 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5657
5658         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5659         (test_children_state_change_order_semi_sink):
5660           Fix test case: we can't rely on a fixed state change order when
5661           going from READY => PAUSED because the sink might commit its 
5662           new state first when the first buffer created by the source 
5663           reaches the sink before the source has finished its change state.
5664           (Test case still fails at times, see #316856, comment 5 onwards)
5665
5666 2005-09-24  Wim Taymans  <wim@fluendo.com>
5667
5668         * docs/design/part-events.txt:
5669         * docs/design/part-gstbus.txt:
5670         * docs/design/part-gstpipeline.txt:
5671         * docs/design/part-messages.txt:
5672         * docs/design/part-overview.txt:
5673         * docs/design/part-segments.txt:
5674         * gst/gstbin.c:
5675         * gst/gstbuffer.c:
5676         * gst/gstclock.c:
5677         * gst/gstelement.c:
5678         * gst/gstevent.c:
5679         * gst/gstfilter.c:
5680         * gst/gstiterator.c:
5681         Various documentation updates.
5682
5683 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5684
5685         * gst/gstclock.h:
5686           Well, that's embarassing.  Luckily we weren't using
5687           GST_CLOCK_DIFF anywhere.
5688
5689 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5690
5691         * common/gtk-doc.mak:
5692           don't fail on building XML, FC4 slave shows a bunch of doc
5693           missing bits that I don't get
5694         * gst/gstpad.c:
5695         * gst/gstpipeline.c:
5696         * gst/gststructure.c:
5697           some doc updates
5698
5699 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5700
5701         * docs/design/part-gstbin.txt:
5702         * docs/design/part-gstbus.txt:
5703         * gst/gstbus.c:
5704           Add blurb about how the bus goes into flushing mode and
5705           drops all messages when its bin goes from READY into NULL 
5706           state.
5707
5708 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5709
5710         * docs/gst/gstreamer-sections.txt:
5711         * gst/gststructure.c: (gst_structure_get_clock_time):
5712         * gst/gststructure.h:
5713           add a method to get a GstClockTime out of a structure
5714
5715 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5716
5717         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5718         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5719           Added test to check state change order in bins (can still be made
5720           to fail here under heavy disk load; bails out with 'Push on pad
5721           fakesink:sink0, but it was not activated in push mode').
5722
5723         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5724           Fix state change order when there is only a semi sink (#316856)
5725
5726         * gst/gstbus.c: (gst_bus_class_init):
5727           Use _class_peek_parent(), not _class_ref(); fix docs to say
5728           'default main context' instead of 'mainloop' where that is
5729           what's meant.
5730
5731         * gst/gstelement.c: (gst_element_commit_state),
5732         (gst_element_set_state):
5733           Fix typos in debug messages
5734
5735 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5736
5737         * docs/README:
5738         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5739         * gst/gstpluginfeature.c:
5740         * gst/gstutils.c:
5741           various doc updates
5742         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5743           change an assert into an error until it gets fixed properly
5744
5745 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5746
5747         * docs/gst/gstreamer-sections.txt:
5748         * docs/gst/tmpl/.cvsignore:
5749         * docs/gst/tmpl/gstelement.sgml:
5750         * docs/gst/tmpl/gstinfo.sgml:
5751         * docs/gst/tmpl/gstobject.sgml:
5752         * gst/gstelement.c:
5753         * gst/gstelement.h:
5754         * gst/gstinfo.c:
5755         * gst/gstinfo.h:
5756         * gst/gstobject.c: (gst_object_class_init):
5757         * gst/gstobject.h:
5758           inlined 3 more biiiig doc files and added some missing docs on the fly
5759
5760 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5761
5762         * check/gst/.cvsignore:
5763         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5764         * gst/gstregistryxml.c: (load_plugin),
5765         (gst_registry_xml_save_plugin):
5766           put back source in registry.  add checks for find_plugin.
5767         * testsuite/states/bin.c: (assert_state), (empty_bin),
5768         (test_adding_one_element), (main):
5769         * testsuite/states/locked.c: (main):
5770           some compile/run fixes
5771
5772 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5773
5774         * check/gst/gstvalue.c: (GST_START_TEST):
5775           fix leaks in the test itself
5776
5777 2005-09-22  Wim Taymans  <wim@fluendo.com>
5778
5779         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5780         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5781         (gst_base_sink_query):
5782         Prepare for more accurate position reporting and query
5783         handling.
5784
5785         * gst/gstelement.c: (gst_element_send_event),
5786         (gst_element_set_state):
5787         Add some comment.
5788
5789 2005-09-22  Wim Taymans  <wim@fluendo.com>
5790
5791         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5792         (gst_query_parse_segment):
5793         * gst/gstquery.h:
5794         More documentation.
5795         Add segment query for future use.
5796
5797 2005-09-22  Wim Taymans  <wim@fluendo.com>
5798
5799         * gst/gstbin.c: (gst_bin_add_func):
5800         Some more debug info.
5801
5802         * gst/gstelement.c: (gst_element_send_event):
5803         Simplify send_event
5804
5805         * gst/gstelement.h:
5806         Don't know how flags got broken.
5807
5808         * gst/gstquery.h:
5809         Added new query.
5810
5811 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5812
5813         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5814           Add simplistic test suite for GST_TYPE_DATE serialisation and
5815           deserialisation.
5816
5817 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5818
5819         * docs/gst/gstreamer-sections.txt:
5820         * gst/gststructure.c: (gst_structure_set_valist),
5821         (gst_structure_get_date):
5822         * gst/gststructure.h:
5823         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5824         (gst_date_copy), (gst_value_compare_date),
5825         (gst_value_serialize_date), (gst_value_deserialize_date),
5826         (gst_value_transform_date_string),
5827         (gst_value_transform_string_date), (_gst_value_initialize):
5828         * gst/gstvalue.h:
5829           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5830           bunch of utility functions along with a hack that checks that
5831           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5832           is required. Part of the grand scheme in #170777.
5833
5834 2005-09-22  Andy Wingo  <wingo@pobox.com>
5835
5836         * gst/gstconfig.h.in: Psych out gtk-doc.
5837
5838         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5839
5840         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5841
5842         * tools/gst-inspect.c (print_element_list): Plug some
5843         inconsequential leaks.
5844
5845         * gst/gstregistry.c (gst_registry_get_default): Doc.
5846
5847         * check/gst/gstplugin.c: 
5848         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5849         * gst/gstelementfactory.c (gst_element_factory_create): 
5850         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5851         refcount changes.
5852
5853         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5854         (gst_plugin_feature_load): Doc, don't eat refs.
5855
5856         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5857         (gst_plugin_list_free): Doc.
5858         (gst_plugin_load_file): Doc updates.
5859
5860         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5861         accessors returning refcounted objects, return a ref.
5862
5863         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5864         accessor for caps. IDEMPOTENCE. Oh yes.
5865
5866 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5867
5868         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5869
5870         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5871         (_gst_debug_register_funcptr):
5872           Add mutex to serialise access to the hash table with
5873           the function pointer => function name string mapping;
5874           make that hash table static scope (#316809).
5875
5876         * gst/registries/.cvsignore:
5877           Remove left-over file.
5878
5879 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5880
5881         * docs/pwg/appendix-porting.xml:
5882           And something about newsegment events and caps-on-buffers to
5883           the porting guide (feel free to improve).
5884
5885 2005-09-21  Andy Wingo  <wingo@pobox.com>
5886
5887         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5888         data and event probes on the same pad.
5889         (test_buffer_probe_once): Test that removing probes from within
5890         the probe functions works.
5891
5892 2005-09-21  Andy Wingo  <wingo@pobox.com>
5893
5894         * check/gst/gstutils.c: New file.
5895         (test_buffer_probe_n_times): A simple buffer probe test. More to
5896         come, foolios.
5897
5898         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5899         have-data::buffer, not have-data.
5900         (gst_pad_add_event_probe): Likewise for have-data::event.
5901         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5902         peer' isn't quite right yet though.
5903         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5904         (gst_pad_remove_data_probe): Change to take the guint handler_id
5905         as their arg, not the function+data, which is more glib-like.
5906
5907         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5908         the signal emission to indicate if the data is a buffer or an
5909         event.
5910         (gst_pad_get_type): Initialize buffer and event quarks.
5911         (gst_pad_class_init): have-data is now a detailed signal, yes it
5912         is.
5913
5914 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5915
5916         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5917         * gst/gstutils.c: (gst_util_set_value_from_string),
5918         (gst_util_set_object_arg):
5919           Don't put functional code in g_return_if_fail() or
5920           g_return_val_if_fail() statements, otherwise things will 
5921           break when G_DISABLE_CHECKS is defined during compilation.
5922
5923 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5924
5925         * docs/gst/tmpl/.cvsignore:
5926         * docs/gst/tmpl/gstvalue.sgml:
5927         * gst/gstvalue.c:
5928         * gst/gstvalue.h:
5929           inlied another one and added  some obvious docs
5930
5931 2005-09-21  Wim Taymans  <wim@fluendo.com>
5932
5933         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5934         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5935         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5936         (gst_fdsrc_get_property), (gst_fdsrc_create):
5937         * gst/elements/gstfdsrc.h:
5938         Properly implement fdsrc. Removed signal and timeout,
5939         better implemented somewhere else.
5940
5941 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5942
5943         * docs/gst/tmpl/.cvsignore:
5944         * docs/gst/tmpl/gstimplementsinterface.sgml:
5945         * gst/gstinterface.c:
5946           inlined more docs
5947
5948 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5949
5950         * docs/gst/gstreamer-sections.txt:
5951         * docs/gst/tmpl/.cvsignore:
5952         * docs/gst/tmpl/gstenumtypes.sgml:
5953           remove obsolete doc file
5954
5955 2005-09-21  David Schleef  <ds@schleef.org>
5956
5957         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5958         little beer, fix a little leak.
5959
5960 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5961
5962         * docs/gst/gstreamer-docs.sgml:
5963         * docs/gst/gstreamer-sections.txt:
5964         * docs/gst/tmpl/.cvsignore:
5965         * gst/Makefile.am:
5966         * gst/gst.h:
5967         * gst/gstbin.c:
5968         * gst/gstelement.h:
5969         * gst/gstindex.c: (gst_index_class_init):
5970         * gst/gstindex.h:
5971         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5972         (gst_index_factory_class_init), (gst_index_factory_init),
5973         (gst_index_factory_finalize), (gst_index_factory_new),
5974         (gst_index_factory_destroy), (gst_index_factory_find),
5975         (gst_index_factory_create), (gst_index_factory_make):
5976         * gst/gstindexfactory.h:
5977         * gst/gstpluginfeature.c:
5978         * gst/gstpluginfeature.h:
5979         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5980           more docs inlined, splitted gstindex.{c,h}
5981
5982 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5983
5984         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5985           fix a leak
5986
5987 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5988
5989         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5990           Set sync to FALSE by default.
5991
5992 2005-09-20  Wim Taymans  <wim@fluendo.com>
5993
5994         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5995         (gst_base_sink_init):
5996         Make sync property settable from subclass.
5997
5998         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5999         (gst_fake_sink_change_state):
6000         Set sync to FALSE by default.
6001
6002 2005-09-20  Wim Taymans  <wim@fluendo.com>
6003
6004         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6005         * tools/gst-launch.c: (main):
6006         The timeout handler should have lower priority than the source
6007         so we don't timeout before popping a message with 0 timeout.
6008         Dump error messages after failed state change.
6009
6010 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6011
6012         * tools/gst-inspect.c: (print_element_properties_info):
6013           Fix two typos.
6014
6015 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6016
6017         * check/gst/gstevent.c:
6018         * gst/elements/gstfakesink.c:
6019         * gst/elements/gstfakesink.h:
6020           remove the sync property from fakesink.
6021           has the side effect of setting sync TRUE
6022           for fakesink, which is a change.  Anyone who knows how
6023           to fix this nicely in a GObject-y way, feel free.
6024
6025 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6026
6027         * docs/gst/gstreamer-docs.sgml:
6028           remove probe refsection
6029
6030 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6031
6032         * check/Makefile.am:
6033           disable valgrinding the controller test again
6034         * docs/gst/gstreamer-sections.txt:
6035           update for api-changes
6036
6037 2005-09-20  Wim Taymans  <wim@fluendo.com>
6038
6039         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6040         (gst_base_sink_set_property), (gst_base_sink_get_property),
6041         (gst_base_sink_do_sync):
6042         * gst/base/gstbasesink.h:
6043         Added sync property to basesink to disable clock sync.
6044
6045 2005-09-20  Andy Wingo  <wingo@pobox.com>
6046
6047         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6048         eating the caller's refcount.
6049
6050         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6051         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6052         refcount.
6053
6054         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6055         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6056         of GLib 2.8 public, so we can know which refcount to check in
6057         tests.
6058
6059         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6060         (gst_object_init): Only set the gst refcount if we're going ahead
6061         with the refcount hack.
6062
6063 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6064
6065         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6066         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6067           more leaks plumbed, added more debug-logging
6068         * gst/gstmacros.h:
6069           whitespace fix
6070
6071 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6072
6073         * gst/gstmessage.c:
6074           remove include of gstmemchunk.h
6075
6076 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6077
6078         * gst/gstclock.c: (_gst_clock_id_free):
6079           Commit from the Political Party For More Atomic CVS Commits,
6080           so that people don't waste too much of their day fishing
6081           out obvious leaks out of massive commits.
6082           Oh, and fix a pretty damn obvious leak in the memchunk
6083           removal code.
6084
6085 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6086
6087         * check/Makefile.am:
6088         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6089           plug mem-leak, re-add to valgrindable tests
6090
6091 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6092
6093         * gst/gstplugin.h:
6094           unbreak the build for those who have chronic arthritis
6095           and typing "make check" is just too taxing on the hands
6096
6097 2005-09-20  Andy Wingo  <wingo@pobox.com>
6098
6099         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6100         really want it out, you should fix plugins at the same time.
6101
6102 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6103
6104         * configure.ac:
6105         * docs/gst/gstreamer-sections.txt:
6106         * gst/gstobject.c:
6107           added missing symbols to api docs
6108           disable ref-count hack if we have glib >= 2.8
6109
6110 2005-09-19  David Schleef  <ds@schleef.org>
6111
6112         * docs/gst/Makefile.am: Ignore a few more internal headers
6113         * docs/gst/gstreamer-docs.sgml: Remove old sections
6114         * docs/gst/gstreamer-sections.txt: Remove old sections
6115         * docs/gst/tmpl/gstobject.sgml: update
6116         * docs/gst/tmpl/gstplugin.sgml: update
6117         * docs/gst/tmpl/gstpluginfeature.sgml: update
6118         * docs/random/ds/0.9-suggested-changes: update.
6119         * gst/Makefile.am: remove memchunk and trashstack, since they're
6120           not used.
6121         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6122         * gst/gst.h: don't include some headers
6123         * gst/gstchildproxy.c: add gstmarshal.h
6124         * gst/gstclock.c: Don't use memchunks
6125         * gst/gstminiobject.c: Add some docs
6126         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6127         * gst/gstobject.h: same
6128         * gst/gstplugin.c: include gstmacros.h
6129         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6130         * gst/gstquery.c: don't use memchunks
6131         * gst/gstregistry.c: rename gst_registry_deinit()
6132         * gst/gstregistry.h: same
6133
6134 2005-09-19  David Schleef  <ds@schleef.org>
6135
6136         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6137         * docs/libs/gstreamer-libs-sections.txt:
6138         * docs/libs/tmpl/gstgetbits.sgml:
6139         * docs/libs/tmpl/gstputbits.sgml:
6140
6141 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6142
6143         * win32/gstenumtypes.c:
6144         * win32/gstenumtypes.h:
6145           Update.
6146
6147 2005-09-19  Wim Taymans  <wim@fluendo.com>
6148
6149         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6150         Automatically PAUSE and RESUME a pipeline when a flushing seek
6151         is performed.
6152
6153 2005-09-19  Andy Wingo  <wingo@pobox.com>
6154
6155         * gst/gstregistry.h: Spacing fixen.
6156
6157 2005-09-19  Wim Taymans  <wim@fluendo.com>
6158
6159         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6160         Handle state change failure more correctly.
6161
6162 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6163
6164         * check/Makefile.am:
6165         * check/pipelines/cleanup.c: (run_pipeline):
6166         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6167         (GST_START_TEST):
6168           enable cleanup again after fixing the leak
6169         * docs/README:
6170           some more info on docs
6171
6172 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6173
6174         * check/Makefile.am:
6175           re-enable tests now that leaks are plugged
6176         * check/gst/gst.c:
6177         * check/gst/gstbin.c:
6178         * check/gst/gstpipeline.c:
6179           add some more tests while fixing leaks
6180         * common/check.mak:
6181           make sure binaries are uptodate when valgrinding/gdbing
6182         * gst/gst.c:
6183         * gst/gstelementfactory.c:
6184           remove a ref too many, and add a FIXME for when we get
6185           round to disposing of classes
6186         * gst/gstplugin.c:
6187           fix the refcounting when loading a plugin from a file and
6188           the code pretends that the pointer is the same even though
6189           of course it can change
6190         * gst/gstpluginfeature.c:
6191           unref plugins marked cached (a bit confusing as a name)
6192           as the docs state should be done
6193           various doc additions to explain refcounting
6194         * gst/gstregistry.c:
6195         * gst/gstregistryxml.c:
6196           debugging
6197
6198 2005-09-19  Wim Taymans  <wim@fluendo.com>
6199
6200         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6201         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6202         (send_messages), (GST_START_TEST), (gstbus_suite):
6203         * check/gst/gstpipeline.c: (GST_START_TEST):
6204         * check/pipelines/cleanup.c: (run_pipeline):
6205         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6206         (GST_START_TEST):
6207         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6208         (gst_bus_source_check), (gst_bus_source_dispatch),
6209         (gst_bus_create_watch), (gst_bus_add_watch_full),
6210         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6211         * gst/gstbus.h:
6212         * tools/gst-launch.c: (event_loop):
6213         * tools/gst-md5sum.c: (event_loop):
6214         GstBusHandler -> GstBusFunc, return value has the same meaning as
6215         any other GSource (FALSE == remove source).
6216         _add_watch() and _add_watch_full() now take a MessageType mask to
6217         only handle specific types of messages.
6218         _poll() returns the GstMessage instead of the message type to avoid
6219         race conditions.
6220         _have_pending() takes a MessageType mask now too.
6221         Added testsuite for multiple bus watches.
6222         Fix testsuites and applications for new bus API.
6223
6224 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6225
6226         * check/Makefile.am:
6227           mark a bunch of the tests as to fix until we fix them
6228
6229 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6230
6231         * common/check.mak:
6232           use GST_PLUGIN settings for valgrind tests as well, so we're
6233           valgrinding the correct thing
6234         * gst/gst.c: (init_post):
6235           plug another leak
6236
6237 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6238
6239         * gst/gst.c: (init_post), (gst_deinit):
6240         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6241         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6242         * gst/gstindex.c: (gst_index_factory_class_init),
6243         (gst_index_factory_finalize):
6244         * gst/gstobject.c: (gst_object_dispose):
6245         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6246         (gst_plugin_load_file), (gst_plugin_desc_free):
6247         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6248         (gst_plugin_feature_finalize):
6249         * gst/gstregistry.c: (gst_registry_class_init),
6250         (gst_registry_init), (gst_registry_finalize),
6251         (gst_registry_get_default), (gst_registry_deinit):
6252         * gst/gstregistry.h:
6253         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6254           various cleanups and memleak plugging.  make valgrind is happy now.
6255
6256 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6257
6258         * common/check.mak:
6259           add a check-valgrind target
6260
6261 2005-09-18  David Schleef  <ds@schleef.org>
6262
6263         * tools/gst-inspect.c: Revert the GOption code.
6264
6265 2005-09-17  David Schleef  <ds@schleef.org>
6266
6267         * check/Makefile.am: Fix environment variables.
6268         * check/gst/gstplugin.c: Fix for API changes.
6269         * tools/gst-inspect.c: Fix for API changes.
6270         * tools/gst-xmlinspect.c: Fix for API changes.
6271         * gst/gstelementfactory.c:
6272         * gst/gstplugin.c:
6273         * gst/gstplugin.h:
6274         * gst/gstpluginfeature.c:
6275         * gst/gstpluginfeature.h:
6276         * gst/gstregistry.c:
6277         * gst/gstregistry.h:
6278         * gst/gstregistryxml.c:
6279         * gst/gsttypefind.c:
6280         * gst/gsttypefindfactory.c:
6281         * gst/indexers/gstfileindex.c:
6282         * gst/indexers/gstmemindex.c:
6283         * gst/schedulers/Makefile.am:
6284           Change registry to keep track of both plugins and features,
6285           removing the feature tracking from plugins themselves.
6286
6287 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6288
6289         * check/Makefile.am:
6290         * tools/gst-register.1.in:
6291           remove gst-register
6292
6293 2005-09-15  David Schleef  <ds@schleef.org>
6294
6295         * check/gst/gstplugin.c:
6296         * gst/gstelementfactory.c:
6297         * gst/gstplugin.c:
6298         * gst/gstpluginfeature.c:
6299         * gst/gstregistry.c:
6300           Getting tired of debugging.  Disabled all the unreffing of
6301           plugins and features, which fixes the segfaults, but of
6302           course leaks like crazy.  At least playbin works.
6303
6304 2005-09-15  David Schleef  <ds@schleef.org>
6305
6306         * check/gst/gstplugin.c: (register_check_elements),
6307         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6308         More testing
6309         * gst/elements/gsttypefindelement.c: Fix refcounting.
6310         * gst/gsttypefind.c:
6311         * gst/gsttypefindfactory.c:
6312         * gst/gsttypefindfactory.h:
6313
6314 2005-09-15  David Schleef  <ds@schleef.org>
6315
6316         * gst/gstindex.c: get refcounting correct.
6317         * gst/gstregistry.c: Handle the case where a feature/plugin is
6318           not found.
6319
6320 2005-09-15  David Schleef  <ds@schleef.org>
6321
6322         * check/Makefile.am:
6323         * check/gst/gstplugin.c: Add test
6324         * gst/gstplugin.c: Fix problems noticed by testsuite
6325         * gst/gstplugin.h:
6326         * gst/gstregistry.c: 
6327         * gst/gstregistry.h:
6328
6329 2005-09-15  David Schleef  <ds@schleef.org>
6330
6331         * gst/gstplugin.c: Implement semi-decent recounting and locking
6332           in plugins and plugin features.
6333         * gst/gstplugin.h:
6334         * gst/gstpluginfeature.c:
6335         * gst/gstpluginfeature.h:
6336         * gst/gstregistry.c:
6337
6338 2005-09-15  Michael Smith <msmith@fluendo.com>
6339
6340         * gst/gstregistry.c: (gst_registry_get_feature_list):
6341           Implement this. Makes oggdemux work; decodebin still broken.
6342
6343 2005-09-14  David Schleef  <ds@schleef.org>
6344
6345         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6346           #316076)
6347         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6348         * gst/check/Makefile.am:
6349         * libs/gst/controller/Makefile.am:
6350         * libs/gst/dataprotocol/Makefile.am:
6351
6352 2005-09-14  David Schleef  <ds@schleef.org>
6353
6354         * configure.ac: Remove getbits library.  Nothing uses it, and
6355           it should be in something like liboil if someone did want
6356           to use it.
6357         * libs/gst/Makefile.am:
6358         * libs/gst/getbits/Makefile.am:
6359         * libs/gst/getbits/gbtest.c:
6360         * libs/gst/getbits/getbits.c:
6361         * libs/gst/getbits/getbits.h:
6362         * libs/gst/getbits/gstgetbits_generic.c:
6363         * libs/gst/getbits/gstgetbits_i386.s:
6364         * libs/gst/getbits/gstgetbits_inl.h:
6365
6366 2005-09-14  David Schleef  <ds@schleef.org>
6367
6368         * gst/Makefile.am: Dist glib-compat.h
6369
6370 2005-09-14  David Schleef  <ds@schleef.org>
6371
6372         * configure.ac: Remove gst/registries, since it's no longer used.
6373         * gst/registries/Makefile.am:
6374         * gst/registries/gstlibxmlregistry.c:
6375         * gst/registries/gstlibxmlregistry.h:
6376         * gst/registries/gstxmlregistry.c:
6377         * gst/registries/gstxmlregistry.h:
6378         * gst/registries/registrytest.c:
6379
6380 2005-09-14  David Schleef  <ds@schleef.org>
6381
6382         * gst/glib-compat.h:
6383         * gst/gstregistryxml.c:
6384           Convergence is near.  Seriously.
6385
6386 2005-09-14  David Schleef  <ds@schleef.org>
6387
6388         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6389         * gst/glib-compat.h:
6390           Attempt #4 to appease the buildbots.
6391
6392 2005-09-14  David Schleef  <ds@schleef.org>
6393
6394         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6395           Attempt #3.
6396
6397 2005-09-14  David Schleef  <ds@schleef.org>
6398
6399         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6400         Attempt #2.
6401
6402 2005-09-14  David Schleef  <ds@schleef.org>
6403
6404         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6405           the new functions.
6406
6407 2005-09-14  David Schleef  <ds@schleef.org>
6408
6409         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6410         * gst/glib-compat.h: Add some functions that are in newer versions
6411           of glib than we care to require.
6412         * gst/gstregistryxml.c: Use them.
6413
6414 2005-09-14  David Schleef  <ds@schleef.org>
6415
6416         * po/POTFILES.in: remove gst-register.c
6417
6418 2005-09-14  David Schleef  <ds@schleef.org>
6419
6420         * docs/gst/gstreamer-docs.sgml:
6421         * docs/gst/gstreamer-sections.txt:
6422         * docs/gst/gstreamer.types:
6423         * docs/gst/tmpl/gstelement.sgml:
6424         * docs/gst/tmpl/gstplugin.sgml:
6425         * docs/gst/tmpl/gstpluginfeature.sgml:
6426           Documentation updates for registry changes.
6427
6428 2005-09-14  David Schleef  <ds@schleef.org>
6429
6430         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6431           because we don't require glib-2.8.
6432
6433 2005-09-14  David Schleef  <ds@schleef.org>
6434
6435         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6436           registries directory.
6437
6438 2005-09-14  David Schleef  <ds@schleef.org>
6439
6440         * check/Makefile.am:
6441         * check/generic/states.c:
6442         * gst/Makefile.am:
6443         * gst/gst.c:
6444         * gst/gst.h:
6445         * gst/gst_private.h:
6446         * gst/gstelementfactory.c:
6447         * gst/gstindex.c:
6448         * gst/gstinfo.c:
6449         * gst/gstplugin.c:
6450         * gst/gstplugin.h:
6451         * gst/gstpluginfeature.c:
6452         * gst/gstpluginfeature.h:
6453         * gst/gstregistry.c:
6454         * gst/gstregistry.h:
6455         * gst/gstregistrypool.c: remove
6456         * gst/gstregistrypool.h: remove
6457         * gst/gsttypefind.c:
6458         * gst/gsttypefindfactory.c:
6459         * gst/gsturi.c:
6460         * tools/Makefile.am:
6461         * tools/gst-compprep.c:
6462         * tools/gst-inspect.c:
6463         * tools/gst-register.c: remove
6464         * tools/gst-xmlinspect.c:
6465           Registry rewrite.  Changes registry from being a file created
6466           by a tool into a simple cache file created automatically by 
6467           libgstreamer.  Removed gst-register (because it's no longer
6468           needed).  Remove registry pools, because we only have one
6469           registry implementation (XML).  Fix up other subsystems as
6470           necessary.
6471
6472 2005-09-13  Michael Smith <msmith@fluendo.com>
6473
6474         * gst/gstconfig.h.in:
6475           Don't Use windows linking attributes for MinGW. Fixes #316157
6476
6477 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6478
6479         * gst/gstutils.c: (set_state_async_thread_func),
6480         (gst_element_set_state_async):
6481           Apparently people think it's better if this function doesn't
6482           try to set the state to whatever state was asked for on the first
6483           call to this function for any object.  Seriously.
6484
6485 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6486
6487         * check/gst/gstpipeline.c: (GST_START_TEST):
6488         * docs/gst/gstreamer-sections.txt:
6489         * gst/gstutils.c: (set_state_async_thread_func),
6490         (gst_element_set_state_async):
6491         * gst/gstutils.h:
6492           add a "gst_element_set_state_async" method that
6493           sets the state and starts a thread to make sure the state
6494           change completes as best as it can
6495
6496 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6497
6498         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6499           codify design+behaviour in testsuite after discussion
6500
6501 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6502
6503         * docs/gst/tmpl/gstelement.sgml:
6504         * docs/manual/appendix-quotes.xml:
6505           add a quote
6506         * gst/gstelement.c: (gst_element_set_state):
6507           add some debug
6508
6509 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6510
6511         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6512         (gst_base_transform_prepare_output_buf),
6513         (gst_base_transform_handle_buffer):
6514         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6515         (gst_capsfilter_prepare_buf):
6516           Remove the requirement for sub-classes to call the parent
6517           implementation of prepare_output_buffer with a wrapper function.
6518           
6519         * gst/gsttaglist.h:
6520         * gst/gsttagsetter.h:
6521           Fix #define wrapper
6522
6523 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6524
6525         * docs/gst/gstreamer-sections.txt:
6526           more doc cleanups
6527
6528 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6529
6530         * docs/gst/gstreamer-sections.txt:
6531         * docs/gst/tmpl/gstelement.sgml:
6532         * docs/gst/tmpl/gstplugin.sgml:
6533         * gst/gstminiobject.c:
6534         * gst/gstvalue.h:
6535           docs now stop throwing warnings
6536
6537 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6538
6539         * docs/gst/gstreamer-sections.txt:
6540         * docs/gst/gstreamer.types:
6541         * docs/gst/tmpl/gstpad.sgml:
6542         * docs/gst/tmpl/gsttypes.sgml:
6543         * gst/base/gstadapter.h:
6544         * gst/base/gstbasesink.h:
6545         * gst/base/gstbasesrc.h:
6546         * gst/gstbin.h:
6547         * gst/gstbuffer.h:
6548         * gst/gstbus.h:
6549         * gst/gstcaps.h:
6550         * gst/gstclock.h:
6551         * gst/gstelement.h:
6552         * gst/gstevent.h:
6553         * gst/gstmessage.h:
6554         * gst/gstpad.h:
6555         * gst/gststructure.c:
6556         * gst/registries/gstlibxmlregistry.h:
6557           various documentation fixes
6558
6559 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6560
6561         * docs/gst/gstreamer-sections.txt:
6562         * docs/gst/tmpl/gstvalue.sgml:
6563           rearrange gstvalue section
6564         * gst/gstutils.c: (gst_element_state_get_name):
6565           NONE -> VOID
6566         * gst/gstvalue.c: (_gst_value_initialize):
6567         * gst/gstvalue.h:
6568           doc updates
6569
6570 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6571
6572         * check/gst-libs/controller.c:
6573           Header include fix.
6574         * gst/base/gstbasetransform.c:
6575         (gst_base_transform_default_prepare_buf),
6576         (gst_base_transform_handle_buffer):
6577         * gst/base/gstbasetransform.h:
6578           Some more basetransform changes and fixes to enable sub-classes
6579           that modify buffer metadata only.
6580         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6581         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6582         (gst_capsfilter_prepare_buf):
6583           If the output pad has fixed allowed caps and input buffers 
6584           don't have any, set the fixed caps on outgoing buffers.
6585
6586 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6587         * check/elements/identity.c: (GST_START_TEST):
6588           Make the error a little clearer when the test fails because
6589           identity made a copy of the buffer.
6590         * docs/gst/gstreamer-sections.txt:
6591           New symbols in gstbasetransform.h
6592         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6593         (gst_base_transform_init), (gst_base_transform_transform_size),
6594         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6595         (gst_base_transform_default_prepare_buf),
6596         (gst_base_transform_get_unit_size),
6597         (gst_base_transform_buffer_alloc),
6598         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6599         (gst_base_transform_change_state),
6600         (gst_base_transform_set_passthrough),
6601         (gst_base_transform_set_in_place),
6602         (gst_base_transform_is_in_place):
6603         * gst/base/gstbasetransform.h:
6604           Change BaseTransform to separate in_place operate from same_caps
6605           output. in_place implies that the element can perform the transform
6606           on incoming buffers in-place, even if the caps on the output are
6607           different.
6608           Sub-class elements can now implement special buffer allocation
6609           methods for outgoing buffers if they wish to.
6610           Big documentation addition.
6611         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6612         * gst/elements/gstelements.c:
6613           Changes for basetransform modifications.
6614         * gst/elements/Makefile.am:
6615         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6616           Compile fix. Extra debug output.
6617
6618 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6619
6620         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6621         (gst_pad_suite):
6622           add tests for valid pad naming
6623         * gst/check/gstcheck.c: (gst_check_log_message_func),
6624         (gst_check_log_critical_func):
6625           add ASSERT_WARNING
6626           remove printing of code, it is fragile when the code contains
6627           % and the line number is enough info
6628         * gst/check/gstcheck.h:
6629         * gst/gstpad.c: (gst_pad_template_new):
6630           fix memleaks
6631
6632 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6633
6634         * configure.ac:
6635           say what CHECK flags we use
6636         * docs/libs/gstreamer-libs.types:
6637         * libs/gst/controller/Makefile.am:
6638         * libs/gst/controller/gst-controller.c:
6639         * libs/gst/controller/gst-controller.h:
6640         * libs/gst/controller/gst-helper.c:
6641         * libs/gst/controller/gst-interpolation.c:
6642         * libs/gst/controller/gstcontroller.c:
6643         * libs/gst/controller/gsthelper.c:
6644         * libs/gst/controller/gstinterpolation.c:
6645         * tools/gst-inspect.c: (print_plugin_info):
6646           we don't use dashes in header names
6647
6648 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6649
6650         * check/Makefile.am:
6651         * check/gst/.cvsignore:
6652         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6653         (gst_pipeline_suite), (main):
6654           adding a test for pipelines and state changes
6655         * gst/gstutils.c: (get_state_func):
6656           add some debugging
6657         * gstreamer.spec.in:
6658           fix up spec file
6659
6660 2005-09-08  Michael Smith <msmith@fluendo.com>
6661
6662         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6663         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6664         (gst_file_src_is_seekable), (gst_file_src_get_size),
6665         (gst_file_src_start):
6666         * gst/elements/gstfilesrc.h:
6667           Various fixes for unseekable, unmmapable, and non-normal files, so
6668           that fallback to read() rather than mmap() works.
6669         * gst/gstevent.c: (gst_event_new_newsegment):
6670           Allow newsegment events with segment_start == segment_end, as will
6671           correctly happen if you use filesrc on a zero-size file, for
6672           example.
6673
6674 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6675
6676         * gst/gstplugin.c: (gst_plugin_load_file):
6677           Call g_module_close when we don't load the module
6678
6679         * gst/registries/gstlibxmlregistry.c:
6680         (gst_xml_registry_get_property):
6681           Port leak fix from 0.8
6682
6683 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6684
6685         * docs/gst/gstreamer-docs.sgml:
6686         * docs/gst/tmpl/.cvsignore:
6687         * docs/gst/tmpl/gsttrace.sgml:
6688         * docs/gst/tmpl/gsttrashstack.sgml:
6689         * gst/Makefile.am:
6690         * gst/gst.h:
6691         * gst/gstelement.h:
6692         * gst/gstevent.h:
6693         * gst/gstmessage.c:
6694         * gst/gstmessage.h:
6695         * gst/gsttag.c:
6696         * gst/gsttag.h:
6697         * gst/gsttaginterface.c:
6698         * gst/gsttaginterface.h:
6699         * gst/gsttaglist.c:
6700         * gst/gsttaglist.h:
6701         * gst/gsttagsetter.c:
6702         * gst/gsttagsetter.h:
6703         * gst/gsttrace.c:
6704         * gst/gsttrace.h:
6705         * gst/gsttrashstack.c:
6706           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6707           inlined docs for gsttrace, gsttrashstack
6708
6709 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6710
6711         * gst/Makefile.am:
6712         * gst/elements/gstbufferstore.h:
6713         * gst/elements/gsttypefindelement.c:
6714         * gst/elements/gsttypefindelement.h:
6715         * gst/gst.h:
6716         * gst/gsttypefind.c:
6717         * gst/gsttypefind.h:
6718         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6719         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6720         (gst_type_find_factory_dispose),
6721         (gst_type_find_factory_unload_thyself),
6722         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6723         (gst_type_find_factory_get_caps),
6724         (gst_type_find_factory_get_extensions),
6725         (gst_type_find_factory_call_function):
6726         * gst/gsttypefindfactory.h:
6727         * gst/registries/gstlibxmlregistry.c:
6728         * gst/registries/gstxmlregistry.c:
6729           splitted gsttypefind into gsttypefind, gsttypefindfactory
6730
6731 2005-09-07  Andy Wingo  <wingo@pobox.com>
6732
6733         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6734         condition whereby the pad's task function is entered before the
6735         pad_mode variable was set.
6736
6737 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6738
6739         * gst/gstpad.c: (gst_pad_alloc_buffer):
6740           Catch misbehaving pad_alloc functions that don't
6741           set up caps and do it for them.
6742
6743 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6744
6745         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6746           test for pipe!=NULL
6747         * docs/gst/tmpl/.cvsignore:
6748         * docs/gst/tmpl/gstmemchunk.sgml:
6749         * docs/gst/tmpl/gstparse.sgml:
6750         * docs/gst/tmpl/gsttaglist.sgml:
6751         * docs/gst/tmpl/gsttagsetter.sgml:
6752         * docs/gst/tmpl/gsttypefind.sgml:
6753         * docs/gst/tmpl/gsttypefindfactory.sgml:
6754         * gst/gstmemchunk.c:
6755         * gst/gstparse.c:
6756         * gst/gsttag.c:
6757         * gst/gsttaginterface.c:
6758         * gst/gsttypefind.c:
6759         * gst/gsttypefind.h:
6760           inlined more docs
6761
6762 === release 0.9.2 ===
6763
6764 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6765
6766         * NEWS:
6767         * RELEASE:
6768         * configure.ac:
6769           releasing 0.9.2, "South"
6770
6771 2005-09-05  Andy Wingo  <wingo@pobox.com>
6772
6773         * gst/registries/gstxmlregistry.h:
6774         * gst/registries/gstxmlregistry.c: Um... resurrect...
6775         
6776         * gst/registries/gstxmlregistry.h:
6777         * gst/registries/gstxmlregistry.c: and update to newer API.
6778         Incidentally they should be a bit faster now that they don't have
6779         to parse the caps.
6780         
6781 2005-09-05  Andy Wingo  <wingo@pobox.com>
6782
6783         * gst/registries/gstxmlregistry.h:
6784         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6785         replaced by the libxml registry a while back
6786
6787 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6788
6789         * docs/gst/tmpl/gstplugin.sgml:
6790         * gst/elements/gstelements.c:
6791         * gst/gst.c:
6792         * gst/gstplugin.c: (gst_plugin_register_func),
6793         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6794         (gst_plugin_get_source):
6795         * gst/gstplugin.h:
6796         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6797         (gst_xml_registry_save_plugin):
6798         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6799         (gst_xml_registry_save_plugin):
6800         * tools/gst-inspect.c: (print_plugin_info):
6801           add a "source" plugin description field, to represent the source
6802           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6803           will set it to PACKAGE, which is automake's idea of the name of
6804           the source project.
6805
6806 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6807
6808         * Makefile.am:
6809         * autogen.sh:
6810         * configure.ac:
6811         * docs/Makefile.am:
6812         * docs/faq/Makefile.am:
6813         * docs/gst/tmpl/gstelement.sgml:
6814         * docs/gst/tmpl/gsttypes.sgml:
6815         * docs/htmlinstall.mak:
6816         * docs/manual/Makefile.am:
6817         * docs/pwg/Makefile.am:
6818           reorganize doc build a little
6819           split out docbook and gtk-doc stuff
6820           have two separate --enable's and enable them through autogen
6821           but disable by default in configure (to be similar to other
6822           projects)
6823         * gstreamer.spec.in:
6824           clean up docs install
6825         * po/af.po:
6826         * po/az.po:
6827         * po/ca.po:
6828         * po/cs.po:
6829         * po/de.po:
6830         * po/en_GB.po:
6831         * po/fr.po:
6832         * po/it.po:
6833         * po/nb.po:
6834         * po/nl.po:
6835         * po/ru.po:
6836         * po/sq.po:
6837         * po/sr.po:
6838         * po/sv.po:
6839         * po/tr.po:
6840         * po/uk.po:
6841         * po/vi.po:
6842           translation updates
6843
6844 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6845
6846         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6847           Add comment.
6848           
6849         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6850         (gst_fake_sink_change_state):
6851           Make state change function thread-safe.
6852           
6853         * gst/gstpad.c: (gst_pad_alloc_buffer):
6854           Set offset on generic buffer allocated by fallback.
6855
6856 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6857
6858         * docs/gst/gstreamer-sections.txt:
6859         * docs/gst/tmpl/gstelement.sgml:
6860         * gst/gstpad.c:
6861         * libs/gst/controller/gst-controller.c:
6862         (gst_controlled_property_set_interpolation_mode),
6863         (gst_controlled_property_new),
6864         (gst_controller_find_controlled_property):
6865          run the wingo-magic script against the docs
6866
6867 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6868
6869         * docs/gst/gstreamer-docs.sgml:
6870         * docs/gst/gstreamer-sections.txt:
6871         * docs/gst/tmpl/.cvsignore:
6872         * docs/gst/tmpl/gstelementdetails.sgml:
6873         * docs/gst/tmpl/gstelementfactory.sgml:
6874         * gst/gst.c:
6875         * gst/gstbus.c:
6876         * gst/gstelementfactory.c:
6877         * gst/gstelementfactory.h:
6878           merged elementdetails docs into elementfactory docs
6879           inlined both
6880
6881 2005-09-02  Andy Wingo  <wingo@pobox.com>
6882
6883         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6884         consider this enum an enum and not a flags.
6885
6886 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6887
6888         * docs/gst/gstreamer-docs.sgml:
6889         * docs/gst/tmpl/.cvsignore:
6890         * docs/gst/tmpl/gstghostpad.sgml:
6891         * docs/gst/tmpl/gstiterator.sgml:
6892         * docs/gst/tmpl/gstmacros.sgml:
6893         * docs/gst/tmpl/gstrealpad.sgml:
6894         * docs/gst/tmpl/gstregistry.sgml:
6895         * docs/gst/tmpl/gstregistrypool.sgml:
6896         * docs/gst/tmpl/gststructure.sgml:
6897         * docs/gst/tmpl/gstsystemclock.sgml:
6898         * docs/gst/tmpl/gsttrace.sgml:
6899         * gst/gstghostpad.c:
6900         * gst/gstmacros.h:
6901         * gst/gstmemchunk.c:
6902         * gst/gstmemchunk.h:
6903         * gst/gstqueue.c:
6904         * gst/gstregistry.c:
6905         * gst/gstregistrypool.c:
6906         * gst/gststructure.c:
6907         * gst/gstsystemclock.c:
6908           more docs inlined
6909
6910 2005-09-02  Andy Wingo  <wingo@pobox.com>
6911
6912         * gst/gstelement.h (GstState): Renamed from GstElementState,
6913         changed to be a normal enum instead of flags.
6914         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6915         munged to be GST_STATE_CHANGE_*.
6916         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6917         work with the new state representation.
6918         (GstStateChange): New enumeration of possible state transitions.
6919         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6920         (GstElementClass::change_state): Pass the GstStateChange along as
6921         an argument. Helps language bindings, so they don't have to use
6922         tricky lock-needing macros like GST_STATE_CHANGE ().
6923
6924         * scripts/update-states (file): New script. Run it on a file to
6925         update it for state naming and API changes. Updates files in
6926         place.
6927
6928         * All files updated for the new API.
6929
6930 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6931
6932         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6933         * gst/gstutils.c: (gst_util_set_value_from_string),
6934         (gst_util_set_object_arg):
6935           fix a bunch of unchecked return values
6936         * tools/gst-complete.c: (main):
6937         * gstreamer.spec.in:
6938           clean up a little
6939
6940 2005-09-01  Wim Taymans  <wim@fluendo.com>
6941
6942         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6943         (gst_base_sink_event), (gst_base_sink_do_sync),
6944         (gst_base_sink_handle_event):
6945         * gst/base/gstbasesink.h:
6946         Handle newsegments more correctly.
6947
6948         * gst/gstbus.c:
6949         Fix docs.
6950
6951         * gst/gstevent.c: (gst_event_new_newsegment):
6952         A newsegment cannot have a start_time of -1
6953
6954 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6955
6956         * win32/gstenumtypes.c:
6957         * win32/gstenumtypes.h:
6958           Update
6959
6960 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6961
6962         * libs/gst/controller/gst-controller.c:
6963         (gst_controlled_property_set_interpolation_mode),
6964         (gst_controlled_property_new):
6965          fixed boolean again
6966
6967 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6968
6969         * docs/faq/gst-uninstalled:
6970           add -good
6971         * gst/gstevent.c:
6972         * gst/gstevent.h:
6973           remove wrong docs
6974         * gst/gstutils.c: (gst_element_link_filtered):
6975         * gst/gstutils.h:
6976           add gst_element_link_filtered
6977
6978 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6979
6980         * docs/gst/gstreamer-docs.sgml:
6981         * docs/gst/gstreamer-sections.txt:
6982         * docs/gst/tmpl/.cvsignore:
6983         * docs/gst/tmpl/gsterror.sgml:
6984         * docs/gst/tmpl/gstfilter.sgml:
6985         * docs/gst/tmpl/gsturihandler.sgml:
6986         * docs/gst/tmpl/gsturitype.sgml:
6987         * docs/gst/tmpl/gstutils.sgml:
6988         * docs/gst/tmpl/gstxml.sgml:
6989         * gst/gsterror.c:
6990         * gst/gsterror.h:
6991         * gst/gstfilter.c:
6992         * gst/gsturi.c:
6993         * gst/gsturitype.c:
6994         * gst/gstutils.c:
6995         * gst/gstxml.c:
6996           inlined more docs, fixed double id-ref
6997
6998 2005-08-31  Wim Taymans  <wim@fluendo.com>
6999
7000         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7001         (gst_base_transform_handle_buffer):
7002         Passthrough elements don't need the caps as they don't care.
7003
7004 2005-08-31  Wim Taymans  <wim@fluendo.com>
7005
7006         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7007         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7008         Don't leak refcounts on buffers.
7009
7010 2005-08-31  Wim Taymans  <wim@fluendo.com>
7011
7012         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7013         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7014         (gst_base_transform_chain), (gst_base_transform_change_state):
7015         * gst/base/gstbasetransform.h:
7016         Handle the case where we are not negotiated more gracefully.
7017
7018 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7019
7020         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7021         (gst_file_src_map_region):
7022           Set READONLY flag on mmap'ed buffers, otherwise
7023           gst_buffer_make_writable() won't work properly (#314708).
7024
7025 2005-08-31  Wim Taymans  <wim@fluendo.com>
7026
7027         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7028         passthrough elements can even do inplace on non writable
7029         buffers (as they don't touch them).
7030
7031 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7032
7033         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7034         (gst_test_mono_source_set_property),
7035         (gst_test_mono_source_class_init), (GST_START_TEST),
7036         (gst_controller_suite):
7037           more tests (hehe I have the most)
7038         * gst/gstbus.c:
7039           describe popping messages whenusing mulltiple sources
7040         * libs/gst/controller/gst-controller.c:
7041         (gst_controlled_property_set_interpolation_mode),
7042         (gst_controlled_property_new):
7043         * libs/gst/controller/gst-controller.h:
7044         * libs/gst/controller/gst-interpolation.c:
7045           implement boolean properties
7046
7047 2005-08-31  Wim Taymans  <wim@fluendo.com>
7048
7049         * gst/gstminiobject.c: (gst_mini_object_ref):
7050         Cannot assert that the refcount has to be positive
7051         since a disposed object can be resurrected.
7052
7053 2005-08-31  Wim Taymans  <wim@fluendo.com>
7054
7055         * gst/gstpad.c: (gst_pad_init):
7056         Revert change, need to first fix badly behaving 
7057         apps.
7058
7059 2005-08-30  Wim Taymans  <wim@fluendo.com>
7060
7061         * check/elements/fakesrc.c: (setup_fakesrc):
7062         * check/elements/identity.c: (setup_identity):
7063         Activate pads before using them.
7064
7065 2005-08-30  Wim Taymans  <wim@fluendo.com>
7066
7067         * gst/base/gstadapter.c: (gst_adapter_flush):
7068         Flushing out 0 bytes is ok for this function.
7069
7070         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7071         no newsegment gives a warning and sets the start/stop to 
7072         invalid.
7073
7074         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7075         (gst_base_transform_set_passthrough):
7076         Some debug info.
7077
7078         * gst/gstminiobject.c: (gst_mini_object_ref):
7079         Check refcount here too.
7080
7081         * gst/gstpad.c: (gst_pad_init):
7082         Pads are initially flushing and refusing data.
7083
7084         * gst/gstutils.c: (gst_element_link_pads_filtered):
7085         When adding a capsfilter element make sure it has the
7086         same state as the parent bin.
7087
7088 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7089
7090         * docs/gst/tmpl/.cvsignore:
7091         * docs/gst/tmpl/gstformat.sgml:
7092         * docs/gst/tmpl/gstversion.sgml:
7093         * gst/gstbus.h:
7094         * gst/gstformat.c:
7095         * gst/gstformat.h:
7096         * gst/gstversion.h.in:
7097           more docs and two more inlined
7098
7099 2005-08-30  Wim Taymans  <wim@fluendo.com>
7100
7101         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7102         Don't sync to clock.
7103
7104 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7105
7106         * docs/gst/gstreamer-sections.txt:
7107           ultral33t func10ns deserve to appear in the docs actually
7108         * docs/gst/tmpl/.cvsignore:
7109         * docs/gst/tmpl/gstcompat.sgml:
7110         * docs/gst/tmpl/gstconfig.sgml:
7111         * gst/check/gstcheck.c:
7112         * gst/gstcompat.h:
7113         * gst/gstconfig.h.in:
7114           inlined more docs
7115
7116 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7117
7118         * docs/gst/tmpl/.cvsignore:
7119         * docs/gst/tmpl/gstquery.sgml:
7120         * docs/gst/tmpl/gstutils.sgml:
7121         * gst/gstquery.c:
7122         * gst/gstquery.h:
7123           inlined and extended docs
7124
7125 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7126
7127         * check/gst-libs/controller.c: (GST_START_TEST),
7128         (gst_controller_suite):
7129           more tests
7130         * docs/gst/tmpl/gstutils.sgml:
7131         * docs/libs/gstreamer-libs-sections.txt:
7132         * docs/libs/tmpl/gstdataprotocol.sgml:
7133           include path fixes
7134         * examples/controller/audio-example.c: (main):
7135           controller example works now
7136         * gst/gstclock.h:
7137           doc fixes
7138         * tools/gst-inspect.c: (print_element_properties_info):
7139           show param spec flags
7140
7141 2005-08-29  Andy Wingo  <wingo@pobox.com>
7142
7143         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7144
7145 2005-08-28  Andy Wingo  <wingo@pobox.com>
7146
7147         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7148         as having two arguments instead of just one. Allows superclasses
7149         to access information on subclasses -- see the terrible for() loop
7150         in gtype.c:g_type_create_instance for the reason why. All callers
7151         changed.
7152
7153 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7154
7155         * docs/design/part-messages.txt:
7156           update info
7157         * docs/gst/tmpl/.cvsignore:
7158         * docs/gst/tmpl/gstcaps.sgml:
7159         * docs/gst/tmpl/gstclock.sgml:
7160         * gst/gstbus.c:
7161         * gst/gstcaps.c:
7162         * gst/gstcaps.h:
7163         * gst/gstclock.c:
7164         * gst/gstclock.h:
7165         * gst/gstmessage.c:
7166           added descriptions for bus and message
7167           inline caps and clock docs
7168
7169 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7170
7171         * gst/gstmessage.c:
7172         * gst/gstmessage.h:
7173           doc fixes
7174
7175 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7176
7177         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7178           fix div-by-zero
7179
7180 2005-08-26  Andy Wingo  <wingo@pobox.com>
7181
7182         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7183         element_set_state's return val.
7184         (test_2_elements): Add test that's been disabled for months.
7185
7186         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7187         can-activate-pull properties.
7188
7189         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7190         can-activate-pull properties. Implement is_seekable so fakesrc can
7191         operate in pull mode.
7192
7193         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7194         properties.
7195         (gst_base_sink_activate, gst_base_sink_activate_pull)
7196         (gst_base_sink_activate_push): Make activation mode choosing work.
7197         Cleanups.
7198         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7199         is right. Make pull mode work. Post an eos before pausing in pull
7200         mode.
7201         (gst_base_sink_change_state): Pay attention to the core's
7202         change_state() return val.
7203         
7204         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7205         has-getrange properties. Cleanups.
7206         
7207         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7208         has_getrange and replace with can_activate_pull and
7209         can_activate_push.
7210
7211         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7212         locking comments. Remove has_loop, has_chain and replace with
7213         can_activate_pull and can_activate_push.
7214
7215 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7216
7217         * configure.ac:
7218         * examples/Makefile.am:
7219         * examples/metadata/Makefile.am:
7220         * examples/metadata/read-metadata.c: (message_loop),
7221         (have_pad_handler), (make_pipeline), (print_tag), (main):
7222           Add metadata reading example that loops over a list of filenames,
7223           dumping any tags found.
7224
7225         * gst/gstbus.c: (gst_bus_dispose):
7226         * gst/gstelement.c: (gst_element_dispose):
7227           Release a few potentially-held references in dispose.
7228
7229 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7230
7231         * docs/gst/tmpl/gstminiobject.sgml:
7232           do *not* add tmpl/*.sgml files to CVS!
7233
7234 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7235
7236         * libs/gst/bytestream/.cvsignore:
7237         * libs/gst/bytestream/Makefile.am:
7238         * libs/gst/bytestream/adapter.c:
7239         * libs/gst/bytestream/adapter.h:
7240         * libs/gst/bytestream/bytestream.c:
7241         * libs/gst/bytestream/bytestream.h:
7242         * libs/gst/bytestream/filepad.c:
7243         * libs/gst/bytestream/filepad.h:
7244           removing obsolete files
7245
7246 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7247
7248         * docs/gst/gstreamer-docs.sgml:
7249         * docs/libs/gstreamer-libs-docs.sgml:
7250           disabed additional index entries again, as this makes docs-gen just
7251           slow and they aren't useful yet
7252         * docs/libs/gstreamer-libs-sections.txt:
7253           little -section.txt cleanup for libs
7254
7255 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7256
7257         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7258         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7259           fix up some debugging
7260         (gst_base_transform_get_unit_size),
7261         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7262         (gst_base_transform_handle_buffer):
7263         * gst/base/gstbasetransform.h:
7264           handle and store timed NEWSEGMENT events so that subclasses that
7265           calculate time by counting samples have a segment_start time they
7266           need to add to their timestamps - see audioresample
7267
7268 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7269
7270         * gst/gstbin.h:
7271           removed ';' from the end of macro defs
7272         * docs/gst/gstreamer-docs.sgml:
7273         * docs/gst/gstreamer-sections.txt:
7274         * docs/gst/tmpl/.cvsignore:
7275         * gst/gstbus.h:
7276         * gst/gstelement.c: (gst_element_class_init),
7277         (gst_element_set_state), (activate_pads),
7278         (gst_element_save_thyself):
7279         * gst/gstevent.c: (gst_event_new_newsegment):
7280         * gst/gstevent.h:
7281         * gst/gstiterator.c:
7282         * gst/gstiterator.h:
7283         * gst/gstpad.c:
7284         * gst/gstprobe.h:
7285         * gst/gstutils.c: (gst_pad_query_convert):
7286         * gst/gstutils.h:
7287           fixed parameter name mismatches between source, header and docs
7288           added some more docs, resolved the last batch of unused elements in
7289           docs (now someone needs to doc them)
7290
7291 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7292
7293         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7294         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7295           don't walk through the plugins backwards.  Where is all this
7296           reversed logic coming from ?
7297
7298 2005-08-25  Wim Taymans  <wim@fluendo.com>
7299
7300         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7301         (gst_base_transform_transform_size),
7302         (gst_base_transform_configure_caps),
7303         (gst_base_transform_get_unit_size),
7304         (gst_base_transform_buffer_alloc),
7305         (gst_base_transform_change_state):
7306         * gst/base/gstbasetransform.h:
7307         Cache caps unit_size.
7308         Make sure we cannot negotiate up and downstream at the
7309         same time.
7310
7311 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7312
7313         * gst/gst.c: (init_pre), (init_post):
7314           register the installed plugin path after the env var
7315         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7316         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7317           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7318           directories, so the tests can prefer uninstalled over installed
7319
7320 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7321
7322         * gst/base/gstbasetransform.h:
7323           comment
7324         * gst/gstpad.c:
7325           add to docs
7326
7327 2005-08-25  Wim Taymans  <wim@fluendo.com>
7328
7329         * gst/gstbin.c: (bin_bus_handler):
7330         Be a bit more conservative about the posted message.
7331         
7332         * gst/gstbus.c: (gst_bus_post):
7333         Some cleanups, warn wrong return values.
7334
7335 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7336
7337         * check/gst/gstbin.c: (GST_START_TEST):
7338         * gst/gstbin.c: (bin_bus_handler):
7339         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7340         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7341         (gst_message_new_warning), (gst_message_new_tag),
7342         (gst_message_new_state_changed), (gst_message_new_segment_start),
7343         (gst_message_new_segment_done), (gst_message_new_custom):
7344         * gst/gstmessage.h:
7345         * tools/gst-launch.c: (event_loop):
7346         * tools/gst-md5sum.c: (event_loop):
7347           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7348
7349 2005-08-25  Wim Taymans  <wim@fluendo.com>
7350
7351         * check/generic/states.c: (GST_START_TEST):
7352         Cleanup can be done at the end.
7353
7354         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7355         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7356         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7357         Oh boy.. Thanks for finding this, Thomas. 
7358
7359 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7360
7361         * docs/gst/gstreamer.types:
7362           added missing types
7363
7364 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7365
7366         * docs/gst/gstreamer-docs.sgml:
7367         * docs/gst/gstreamer-sections.txt:
7368         * docs/gst/tmpl/.cvsignore:
7369         * gst/gstbin.c:
7370         * gst/gstiterator.c:
7371         * gst/gstutils.c:
7372         * gst/registries/gstxmlregistry.h:
7373           added missing classes and symbols (123 more to go)
7374           removed removed symbols from section file
7375           fixed many doc-comments
7376
7377 2005-08-24  Wim Taymans  <wim@fluendo.com>
7378
7379         * check/generic/states.c: (GST_START_TEST):
7380         Make sure all tasks are stopped.
7381
7382         * check/gst/gstbin.c: (GST_START_TEST):
7383         Unref after usage for proper valgrinding.
7384
7385         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7386         Really wait for the task to stop before destroying the
7387         mutex.
7388
7389         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7390         (gst_queue_src_activate_push):
7391         Small cleanups. Don't stop the task when we did not start
7392         it.
7393
7394         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7395         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7396         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7397         (gst_task_join):
7398         * gst/gsttask.h:
7399         Protect the stream lock with the object lock.
7400         Disallow setting the stream lock when running.
7401         Add cleanup_all to wait for the threadpool to finish.
7402         Remove code to autoallocate a mutex if none was provided.
7403         Add _join() to wait for a task to stop.
7404         Protect the thread pool with a global lock.
7405
7406 2005-08-24  Wim Taymans  <wim@fluendo.com>
7407
7408         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7409         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7410         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7411         * gst/base/gstbasesink.h:
7412         Handle newsegment events correctly.
7413         Drop buffers out of the segment range.
7414
7415 2005-08-22  Andy Wingo  <wingo@pobox.com>
7416
7417         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7418         macro, implements an interface and gstimplementsinterface for a
7419         new type.
7420
7421 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7422
7423         * check/Makefile.am:
7424         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7425           add a test that does a bunch of state changes on elements
7426           needs some fixing for valgrind
7427         * check/states/sinks.c: (gst_object_suite):
7428           whitespace
7429         * gst/gstcaps.h:
7430           add prototype for gst_caps_is_equal_fixed
7431         * gst/gstplugin.c:
7432         * gst/gstregistrypool.c:
7433           doc fixes
7434
7435 2005-08-24  Andy Wingo  <wingo@pobox.com>
7436
7437         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7438         convert a negative value. Doesn't make much sense. Mostly this is
7439         here to force callers to ensure -1 maps to -1.
7440
7441 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7442
7443         * docs/pwg/advanced-types.xml:
7444           Well done to Michael for catching my deliberate introduction
7445           of this spelling mistake. 
7446         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7447         * gst/gstelement.h:
7448           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7449           unlink pads before removing the element from the bin.
7450
7451 2005-08-24  Andy Wingo  <wingo@pobox.com>
7452
7453         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7454         the same thing as GST_DEBUG=*:4.
7455         (parse_debug_level, parse_debug_category): New helper parsers.
7456
7457 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7458
7459         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7460         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7461         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7462         (gst_base_transform_buffer_alloc),
7463         (gst_base_transform_handle_buffer):
7464           use gboolean return values and pointers to size so we can use the
7465           full GST_BUFFER_SIZE range (guint) for buffer sizes
7466           use GstPadDirection for transform_caps
7467         * gst/base/gstbasetransform.h:
7468           rename get_size to get_unit_size since that's what it is
7469         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7470           use GstPadDirection for transform_caps
7471         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7472         * gst/gstutils.h:
7473           cleanup and debugging
7474
7475 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7476
7477         * gst/gstelement.c: (gst_element_class_init),
7478         (gst_element_set_state), (activate_pads),
7479         (gst_element_save_thyself):
7480         * tools/gst-compprep.c: (main):
7481         * tools/gst-inspect.c: (print_element_properties_info):
7482         * tools/gst-xmlinspect.c: (print_element_properties):
7483           Fixed long standing mem-leak
7484
7485 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7486
7487         * check/gst/gstbin.c: (GST_START_TEST):
7488         * gst/gstbin.c: (bin_bus_handler):
7489         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7490         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7491         (gst_message_new_warning), (gst_message_new_tag),
7492         (gst_message_new_state_changed), (gst_message_new_segment_start),
7493         (gst_message_new_segment_done), (gst_message_new_custom):
7494         * gst/gstmessage.h:
7495         * tools/gst-launch.c: (event_loop):
7496         * tools/gst-md5sum.c: (event_loop):
7497           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7498           that applications can sensibly post custom messages with references
7499           to their own objects.
7500
7501 2005-08-24  Andy Wingo  <wingo@pobox.com>
7502
7503         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7504         already.
7505
7506 2005-08-24  Wim Taymans  <wim@fluendo.com>
7507
7508         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7509         (gst_base_transform_transform_caps),
7510         (gst_base_transform_transform_size),
7511         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7512         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7513         (gst_base_transform_handle_buffer):
7514         * gst/base/gstbasetransform.h:
7515         Many fixes and new features added by Thomas. Can now also do
7516         transforms with variable sizes and a custom fixate_caps function.
7517
7518 2005-08-24  Wim Taymans  <wim@fluendo.com>
7519
7520         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7521         Some debugging.
7522
7523         * gst/gstclock.h:
7524         Cast to ClockTime before formatting to time.
7525
7526         * gst/gstutils.h:
7527         Cleanups.
7528
7529 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7530
7531         * check/gst-libs/controller.c: (GST_START_TEST),
7532         (gst_controller_suite):
7533         * docs/gst/tmpl/gstcaps.sgml:
7534         * docs/gst/tmpl/gstghostpad.sgml:
7535         * docs/gst/tmpl/gstquery.sgml:
7536         * docs/gst/tmpl/gstutils.sgml:
7537         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7538         (gst_object_sink_values), (gst_object_get_value_arrays),
7539         (gst_object_get_value_array):
7540           gracefully handle helper method calls to objects that are not beeing
7541           controlled, added test case for that          
7542
7543 2005-08-23  Wim Taymans  <wim@fluendo.com>
7544
7545         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7546         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7547         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7548         (gst_event_parse_qos), (gst_event_new_seek),
7549         (gst_event_parse_seek):
7550         * gst/gstevent.h:
7551         Some more debugging output and doc cleanups.
7552
7553         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7554         Fix possible deadlock.
7555
7556 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7557
7558         * docs/gst/gstreamer-docs.sgml:
7559         * docs/gst/gstreamer-sections.txt:
7560         * docs/gst/gstreamer.types:
7561         * docs/gst/tmpl/.cvsignore:
7562         * gst/gstbin.h:
7563         * gst/gstbus.c:
7564         * gst/gstelement.c:
7565         * gst/gstevent.h:
7566           added 100 symbols from gstreamer-unused.txt to the right sections
7567           fixed more broken comments
7568           added GstBus to docs
7569
7570 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7571
7572         * docs/gst/gstreamer-sections.txt:
7573         * docs/gst/tmpl/.cvsignore:
7574         * docs/gst/tmpl/gstbin.sgml:
7575         * docs/gst/tmpl/gstbuffer.sgml:
7576         * gst/base/gstbasesrc.c:
7577         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7578         * gst/gstbuffer.c:
7579         * gst/gstbuffer.h:
7580         * tools/gst-launch.1.in:
7581           inlined more doc comments, added missing comments and fixed comments
7582           fixed typos
7583
7584 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7585
7586         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7587           some debugging
7588         * gst/gstcaps.h:
7589           whitespace fixes
7590         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7591           more debugging
7592         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7593         * gst/gststructure.h:
7594           add a fixate function for booleans; add a FIXME that these func
7595           names should probably be gst_structure_fixate_*
7596
7597 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7598
7599         * docs/gst/gstreamer-docs.sgml:
7600         * docs/gst/gstreamer-sections.txt:
7601         * gst/Makefile.am:
7602         * gst/gstbin.c: (gst_bin_get_type),
7603         (gst_bin_child_proxy_get_child_by_index),
7604         (gst_bin_child_proxy_get_children_count),
7605         (gst_bin_child_proxy_init):
7606         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7607         (gst_child_proxy_get_child_by_index),
7608         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7609         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7610         (gst_child_proxy_get), (gst_child_proxy_set_property),
7611         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7612         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7613         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7614         * gst/gstchildproxy.h:
7615         * gst/parse/grammar.y:
7616         * tools/gst-inspect.c: (print_interfaces),
7617         (print_element_properties_info), (print_element_info):
7618           ported gstchildproxy over from 0.8
7619           ported gst-inspect fixes and enhancements over from 0.8
7620
7621 2005-08-22  Wim Taymans  <wim@fluendo.com>
7622
7623         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7624         (gst_base_transform_handle_buffer):
7625         Also call the transform function if we have ANY caps.
7626
7627         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7628         Fix debug info.
7629
7630 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7631
7632         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7633           Don't pretend to handle seek events if the source is not seekable
7634
7635 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7636
7637         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7638           Remove extra parameter to debug output
7639
7640         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7641         (gst_base_src_do_seek), (gst_base_src_activate_push):
7642           Fix seek event handling.
7643
7644         * gst/gstpipeline.c: (gst_pipeline_change_state):
7645         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7646         (gst_queue_src_activate_push):
7647           Don't start the src pad task on FLUSH_STOP if the pad
7648           isn't linked.
7649           Debug changes.
7650
7651 2005-08-22  Wim Taymans  <wim@fluendo.com>
7652
7653         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7654         Added check for gst_static_caps_get() refcounting.
7655
7656 2005-08-22  Wim Taymans  <wim@fluendo.com>
7657
7658         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7659         Make _static_caps_get() refcounting sane.
7660         
7661         * gst/gstelement.c: (gst_element_set_state):
7662         Add g_return_val_if_fail() to protect against segfaults.
7663
7664 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7665
7666         * docs/gst/tmpl/gstevent.sgml:
7667         * gst/gstevent.c:
7668         * gst/gstevent.h:
7669           inlined remaining docs, added missing doc comments
7670
7671 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7672
7673         * check/gst/gstbin.c: (GST_START_TEST):
7674           since we don't know when preroll is done, use refcount range
7675           check for the sink
7676         * gst/check/gstcheck.h:
7677           add macro for checking refcount range
7678
7679 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7680
7681         * check/Makefile.am:
7682           clean up environment for when registry gets built versus
7683           when actual tests are run; valgrind seems to not report
7684           leaks if GST_PLUGIN_PATH is set to some specific values
7685         * check/gst/gstbin.c: (GST_START_TEST):
7686           add more refcounting checks; maybe this exposes a
7687           preroll lock bug ?
7688         * common/check.mak:
7689         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7690         * gst/check/gstcheck.h:
7691         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7692         (gst_bin_change_state):
7693         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7694           add/fix debugging/whitespace
7695
7696 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7697
7698         * check/gst/gstevent.c: (event_probe), (test_event),
7699         (GST_START_TEST):
7700          Er, don't call gst_bin_watch_for_state_change you idiot.
7701
7702 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7703
7704         * check/Makefile.am:
7705           Use CHECK_CFLAGS and CHECK_LIBS
7706         * check/gst/gstevent.c: (event_probe), (test_event),
7707         (GST_START_TEST):
7708           Don't leak events.
7709         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7710         (gst_base_src_start), (gst_base_src_stop),
7711         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7712         (gst_base_src_change_state):
7713           Sprinkle gst_base_src_stop liberally around error paths to fix
7714           problems reusing a source after failed state changes.
7715         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7716         (helper_find_suggest), (gst_type_find_helper):
7717           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7718         * gst/gstevent.h:
7719         * docs/gst/tmpl/gstevent.sgml:
7720           Migrate part of the docs from the SGML file. Wait for ensonic to
7721           tell me how I did it wrong ;)
7722         * tools/gst-typefind.c: (main):
7723           Extra robustness to state changes between files.
7724
7725 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7726
7727         * check/Makefile.am:
7728           don't valgrind the controller test - it's leaking - Stefan, HELP
7729         * gst/check/gstcheck.c: (gst_check_message_error),
7730         (gst_check_chain_func), (gst_check_setup_element),
7731         (gst_check_teardown_element), (gst_check_setup_src_pad),
7732         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7733         (gst_check_teardown_sink_pad):
7734         * gst/check/gstcheck.h:
7735           add a bunch of methods to set up elements, and src and sink pads
7736         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7737         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7738         (GST_START_TEST):
7739           use them
7740         * gst/gstmessage.c:
7741         * gst/gsttag.h:
7742           whitespace/doc fixes
7743
7744 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7745
7746         * gst/gstelement.h:
7747           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7748           be handled by the application and not always printed as well
7749
7750 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7751
7752         * check/Makefile.am:
7753           set GST_TOOLS_DIR
7754         * gst/check/gstcheck.c: (gst_check_message_error):
7755         * gst/check/gstcheck.h:
7756           add a fail_unless_equals_int
7757           add fail_unless for error messages
7758
7759 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7760
7761         * check/Makefile.am:
7762         * check/gst.supp:
7763         * common/Makefile.am:
7764         * common/check.mak:
7765         * common/gst.supp:
7766           factor out some of the common stuff so we can use it
7767
7768 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7769
7770         * check/Makefile.am:
7771         * check/gst/gstiterator.c: (GST_START_TEST):
7772         * check/gst/gstsystemclock.c: (GST_START_TEST),
7773         (gst_systemclock_suite):
7774         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7775         * gst/gstclock.c:
7776           valgrind more tests
7777
7778 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7779
7780         * check/elements/.cvsignore:
7781         * check/elements/gstfakesrc.c:
7782           rename to name of element
7783         * check/elements/identity.c: (chain_func), (event_func),
7784         (setup_identity), (cleanup_identity), (GST_START_TEST),
7785         (identity_suite), (main):
7786           add a test for identity
7787         * check/Makefile.am:
7788         * pkgconfig/Makefile.am:
7789         * pkgconfig/gstreamer-check.pc.in:
7790         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7791         * gst/check:
7792         * gst/Makefile.am:
7793         * configure.ac:
7794           move the check stuff to a library that gets installed
7795         * check/gst-libs/controller.c: (GST_START_TEST):
7796         * check/gst-libs/gdp.c:
7797         * check/gst/gst.c: (GST_START_TEST):
7798         * check/gst/gstbin.c:
7799         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7800         * check/gst/gstbus.c:
7801         * check/gst/gstcaps.c: (GST_START_TEST):
7802         * check/gst/gstelement.c:
7803         * check/gst/gstghostpad.c:
7804         * check/gst/gstiterator.c:
7805         * check/gst/gstmessage.c:
7806         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7807         * check/gst/gstobject.c:
7808         * check/gst/gstpad.c: (GST_START_TEST):
7809         * check/gst/gststructure.c: (GST_START_TEST):
7810         * check/gst/gstsystemclock.c: (GST_START_TEST),
7811         (gst_systemclock_suite):
7812         * check/gst/gsttag.c: (gst_tag_suite):
7813         * check/gst/gstvalue.c:
7814         * check/pipelines/cleanup.c:
7815         * check/pipelines/simple_launch_lines.c:
7816         * check/states/sinks.c:
7817           change include statement
7818
7819         * docs/gst/gstreamer-sections.txt:
7820         * docs/gst/tmpl/gstpad.sgml:
7821           document more pad stuff
7822         * gst/gstminiobject.c: (gst_mini_object_ref),
7823         (gst_mini_object_unref):
7824           debug refcounting
7825
7826 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7827
7828         * docs/gst/tmpl/gst.sgml:
7829         * gst/gst.c:
7830           eliminate another tmpl file, fix spelling in the long-description
7831
7832 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7833
7834         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7835         (test_event), (timediff), (gstevents_suite):
7836           Should fix build on 64-bit arch's
7837
7838 2005-08-18  Andy Wingo  <wingo@pobox.com>
7839
7840         Make sure that when a pipeline goes to PLAYING, that data has
7841         actually hit the sink.
7842
7843         * check/states/sinks.c (test_sink): A sink that doesn't get any
7844         data shouldn't return SUCCESS for going to either PLAYING or
7845         PAUSED. Test also the return values on the way back down.
7846
7847         * gst/gstelement.c (gst_element_set_state): When changing the
7848         state of an element currently changing state asynchronously, go to
7849         lost-state after commiting the pending state. Makes future calls
7850         to get_state continue to return ASYNC.
7851
7852         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7853         ASYNC when going to PLAYING if we still don't have preroll, as can
7854         happen with live sources.
7855
7856 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7857
7858         * docs/pwg/advanced-types.xml:
7859           Hack long paragraph into 2 chunks as a workaround for buggy
7860           jadetex version in sid and breezy that loops infinitely and
7861           eats all RAM.
7862
7863 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7864
7865         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7866         (test_event), (timediff), (gstevents_suite):
7867           Provide more error margin in clock measurements to allow for 
7868           g_get_current_time inaccuracies.
7869
7870 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7871
7872         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7873         (test_event), (timediff), (gstevents_suite):
7874            Fix error message output so I might be able to tell why the
7875            test works here but fails on the build farm.
7876
7877 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7878
7879         * check/Makefile.am:
7880         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7881         (test_event), (timediff), (gstevents_suite), (main):
7882           I wrote a test!
7883
7884         * docs/design/part-seeking.txt:
7885           Spelling correction
7886
7887         * docs/gst/tmpl/gstevent.sgml:
7888         * docs/gst/tmpl/gstfakesrc.sgml:
7889           Docs updates.
7890
7891         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7892           Treat a buffer-without-newsegment the same as a receiving 
7893           a newsegment not in time format, and disable syncing to the clock
7894           with a warning.
7895
7896         * gst/gstbus.c: (gst_bus_set_sync_handler):
7897           Assert if anyone tries to replace the existing sync_handler for bus, 
7898           as only the owner should be setting it.
7899
7900         * gst/gstevent.h:
7901           Have a fixed set of custom event enums with events identified by
7902           their structure name (as in 0.8), rather than a free-for-all
7903           allowing collisions between enum values from different plugins.
7904
7905         * gst/gstpad.c: (gst_pad_class_init):
7906           Docs change.
7907           
7908         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7909           Handle out-of-band downstream events from the sending thread.
7910
7911 2005-08-17  Andy Wingo  <wingo@pobox.com>
7912
7913         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7914         play-timeout==0 to mean no timeout at all. In that case, don't
7915         bother with a get_state or a warning, just return directly, even
7916         if it's ASYNC.
7917
7918         * gst/base/gstbasetransform.c: Debug changes.
7919
7920         * gst/gstutils.h:
7921         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7922         ensure bins post state change messages. A bit of a hack but I can't
7923         think of a way to avoid it.
7924
7925         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7926
7927 2005-08-16  Andy Wingo  <wingo@pobox.com>
7928
7929         * gst/base/gstadapter.h:
7930         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7931         peek() but you own the data. Not terribly efficient atm.
7932
7933 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7934
7935         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7936         (gst_element_found_tags):
7937         * gst/gstutils.h:
7938           Add two utility functions for tag handling.
7939
7940 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7941
7942         * docs/manual/advanced-dataaccess.xml:
7943         * docs/manual/basics-helloworld.xml:
7944           Fix docs to use _bin_add() before _link(), which fixes the examples
7945           with recent core versions (reported by Madhan Raj M
7946           <raj_madan@rediffmail.com>, #313199).
7947
7948 2005-08-16  Wim Taymans  <wim@fluendo.com>
7949
7950         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7951         Added subtract checks.
7952
7953         * docs/design/part-events.txt:
7954         Some more docs about newsegment
7955
7956         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7957         Fix FIXME
7958
7959         * gst/gstcaps.c: (gst_caps_to_string):
7960         Add comments, cleanups.
7961         
7962         * gst/gstelement.c: (gst_element_save_thyself):
7963         cleanups
7964         
7965         * gst/gstvalue.c: (gst_value_collect_int_range),
7966         (gst_string_unwrap), (gst_value_union_int_int_range),
7967         (gst_value_union_int_range_int_range),
7968         (gst_value_intersect_int_int_range),
7969         (gst_value_intersect_int_range_int_range),
7970         (gst_value_intersect_double_double_range),
7971         (gst_value_intersect_double_range_double_range),
7972         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7973         (gst_value_subtract_int_range_int),
7974         (gst_value_subtract_double_range_double),
7975         (gst_value_subtract_double_range_double_range),
7976         (gst_value_subtract_from_list), (gst_value_subtract_list),
7977         (gst_value_can_compare), (gst_value_compare_fraction):
7978         Cleanups, add comments, remove unneeded asserts.
7979
7980 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7981
7982         * tools/gst-launch.c: (event_loop):
7983           don't convert NULL structures to strings
7984
7985 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7986
7987         * docs/gst/gstreamer-sections.txt:
7988           made some defines private
7989         * docs/gst/tmpl/gstconfig.sgml:
7990         * docs/gst/tmpl/gstqueue.sgml:
7991         * docs/gst/tmpl/gsttaglist.sgml:
7992         * docs/gst/tmpl/gsttypes.sgml:
7993         * docs/gst/tmpl/gstutils.sgml:
7994         * docs/pwg/appendix-porting.xml:
7995         * gst/base/gstbasesink.h:
7996         * gst/base/gstbasesrc.c:
7997         * gst/base/gstbasesrc.h:
7998         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7999         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8000         * gst/gstelement.c: (gst_element_class_init):
8001         * gst/gstpad.c: (gst_pad_class_init):
8002         * gst/gstqueue.c: (gst_queue_class_init):
8003         * gst/gstxml.c: (gst_xml_class_init):
8004           documented all undocumented signal inline
8005         * libs/gst/controller/gst-controller.h:
8006           added padding
8007
8008 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8009
8010         * docs/pwg/appendix-porting.xml:
8011           Document _set_link_function -> _set_setcaps_function.
8012
8013 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8014
8015         * check/Makefile.am:
8016           add a .check target for running the check
8017         * check/gst-libs/controller.c: (GST_START_TEST):
8018           cosmetic fixups
8019         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8020           complete checks for gstbuffer; would be nice if I could get the
8021           gcov stuff to work so I can see if I actually completed gstbuffer.c
8022         * check/gstcheck.h:
8023           add ASSERT_BUFFER_REFCOUNT
8024
8025 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8026
8027         * docs/gst/gstreamer-sections.txt:
8028         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8029         * gst/gsttag.h:
8030           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8031           spew out a warning if a tag that is already registered
8032           is re-registered, unless it is re-registered with a 
8033           different type (#308438).
8034
8035 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8036
8037         * docs/pwg/appendix-porting.xml:
8038         * docs/pwg/building-state.xml:
8039           Add some paragraphs about state changes in 0.9 to the PWG
8040           and the porting guide, in particular about the new meaning
8041           of GST_STATE_PAUSED and how to write state change functions
8042           with concurrent access by multiple threads in mind.
8043
8044 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8045
8046         * docs/gst/gstreamer-docs.sgml:
8047         * docs/libs/gstreamer-libs-docs.sgml:
8048           added deprecation and since indexes
8049         * libs/gst/controller/gst-controller.c:
8050         * libs/gst/controller/gst-helper.c:
8051           added since tags
8052
8053
8054 2005-08-11  Wim Taymans  <wim@fluendo.com>
8055
8056         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8057         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8058         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8059         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8060         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8061         (gst_ghost_pad_set_target):
8062         Actually implement (re)setting the target on a ghostpad
8063         as described in the docs.
8064
8065 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8066
8067         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8068           Check whether GST_DEBUG_NO_COLOR environment variable is
8069           set and disable coloured debug output if that is the case.
8070
8071 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8072
8073         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8074         (gst_type_find_helper):
8075           The memory returned by gst_type_find_peek() needs to
8076           stay valid until the end of a typefind function, and
8077           typefind functions may keep results from different 
8078           offsets around, so we can't just unref the buffer from
8079           the previous _peek(), but have to save all buffers 
8080           returned by _peek() until typefinding is done and only
8081           free them then.
8082
8083 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8084
8085         * docs/gst/gstreamer-sections.txt:
8086         * gst/gstutils.h:
8087           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8088
8089 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8090
8091         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8092           Fix a pretty good memleak.
8093
8094 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8095
8096         * gst/gstiterator.h:
8097           Fix wrong include and 'make distcheck'.
8098
8099 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8100
8101         * gst/gstbin.c: (bin_bus_handler):
8102           Use gst_element_post_message() instead.
8103
8104 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8105
8106         * gst/base/gstadapter.h:
8107         * gst/base/gstbasesink.h:
8108         * gst/base/gstbasesrc.h:
8109         * gst/base/gstbasetransform.h:
8110         * gst/base/gstcollectpads.h:
8111         * gst/base/gstpushsrc.h:
8112         * gst/gstiterator.h:
8113           Add padding to our base elements' class and instance structs and
8114           to GstIterator (you will need to rebuild all plugins and apps!)
8115
8116 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8117
8118         * gst/gstbin.c: (bin_bus_handler):
8119           Make default message forwarding from child->bus to bin->bus
8120           threadsafe and make it not emit warnings if the parent has no bus.
8121
8122 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8123
8124         * gst/gstelement.c: (activate_pads):
8125           On paused->ready, set pad->caps to NULL, as is the documented
8126           behaviour in this state change. Fixes playback of series of
8127           media files when visualization is enabled in Totem.
8128
8129 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8130
8131         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8132           Allow NULL as filter-caps (which means "any").
8133
8134 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8135
8136         * docs/libs/gstreamer-libs-sections.txt:
8137         * libs/gst/controller/gst-controller.c:
8138         * libs/gst/controller/gst-controller.h:
8139         * libs/gst/controller/gst-helper.c:
8140           adding more entries to the docs and fix small doc-bugs
8141
8142 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8143
8144         * docs/gst/gstreamer-docs.sgml:
8145         * docs/gst/gstreamer-sections.txt:
8146         * docs/gst/gstreamer.types:
8147         * docs/gst/tmpl/gstbasesink.sgml:
8148         * docs/gst/tmpl/gstbasesrc.sgml:
8149         * docs/gst/tmpl/gstbasetransform.sgml:
8150         * docs/gst/tmpl/gstfakesrc.sgml:
8151         * gst/base/gstcollectpads.c:
8152         * gst/base/gstcollectpads.h:
8153         * libs/gst/controller/gst-controller.c:
8154         * libs/gst/controller/gst-controller.h:
8155         * libs/gst/controller/gst-helper.c:
8156         * libs/gst/controller/gst-interpolation.c:
8157         * libs/gst/controller/lib.c:
8158           added long/short desc for controller docs
8159           added collectpads base class docs
8160           added correct includes to base-class docs
8161
8162 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8163
8164         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8165         (gst_test_mono_source_set_property),
8166         (gst_test_mono_source_class_init), (GST_START_TEST),
8167         (gst_controller_suite):
8168         * docs/gst/gstreamer-docs.sgml:
8169         * docs/gst/gstreamer-sections.txt:
8170         * docs/gst/gstreamer.types:
8171         * docs/libs/gstreamer-libs-docs.sgml:
8172         * docs/libs/gstreamer-libs-sections.txt:
8173         * gst/base/gstadapter.c:
8174         * libs/gst/controller/gst-controller.c:
8175         (gst_controlled_property_new), (gst_controlled_property_free),
8176         (gst_controller_new_valist),
8177         (gst_controller_remove_properties_valist),
8178         (gst_controller_sink_values), (_gst_controller_finalize):
8179         * libs/gst/controller/gst-controller.h:
8180         * libs/gst/controller/gst-helper.c:
8181         (gst_object_control_properties), (gst_object_uncontrol_properties),
8182         (gst_object_get_controller), (gst_object_set_controller),
8183         (gst_object_sink_values), (gst_object_get_value_arrays),
8184         (gst_object_get_value_array):
8185           more tests (and fixes) for the controller
8186           more docs for the controller
8187           integrated companies docs for the adapter 
8188
8189 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8190
8191         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8192         (GST_START_TEST), (fakesrc_suite):
8193           add tests for sizetype
8194
8195 2005-08-04  Andy Wingo  <wingo@pobox.com>
8196
8197         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8198         fixes buffer_alloc proxying among other things.
8199
8200         * gst/base/gstbasetransform.c:
8201         * gst/base/gstbasetransform.h:
8202         Revert patch to gstbasetransform from 7-28 removing
8203         delay_configure.
8204
8205         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8206         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8207         Semantics changed, should return not the size of the output buffer
8208         but the byte size of a buffer with a given caps.
8209
8210         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8211         debug object.
8212         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8213         out) are not the pad caps until setcaps finishes.
8214         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8215         not-in-place case as well. Deal with changing from in-place to
8216         not-in-place within calling pad_alloc_buffer. Still a bit
8217         concerned about the overhead here...
8218
8219 2005-08-03  Andy Wingo  <wingo@pobox.com>
8220
8221         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8222         fixating is an error.
8223
8224 2005-08-04  Edward Hervey  <edward@fluendo.com>
8225
8226         * gst/base/gstadapter.h: 
8227         Added gst_adapter_get_type() to the header
8228
8229 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8230
8231         * check/Makefile.am:
8232         * check/gst-libs/controller.c:
8233         * libs/gst/controller/gst-controller.c:
8234         (gst_controller_new_valist):
8235           added check test suite for the controller
8236         * gst/base/gstpushsrc.c:
8237           fixed a doc typo
8238
8239 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8240
8241         * docs/gst/Makefile.am:
8242         * docs/gst/gstreamer-docs.sgml:
8243         * docs/gst/gstreamer-sections.txt:
8244         * docs/gst/gstreamer.types:
8245         * docs/gst/tmpl/gstfakesrc.sgml:
8246         * gst/base/README:
8247         * gst/base/gstbasesink.c:
8248         * gst/base/gstbasesink.h:
8249         * gst/base/gstbasesrc.c:
8250         * gst/base/gstbasesrc.h:
8251         * gst/base/gstbasetransform.c:
8252         * gst/base/gstpushsrc.c:
8253         * gst/base/gstpushsrc.h:
8254           add short/long description docs to base classes
8255           add pushsrc to the docs
8256           remove consolidated doc fragments
8257
8258 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8259
8260         * configure.ac:
8261         * docs/libs/Makefile.am:
8262         * docs/libs/gstreamer-libs-docs.sgml:
8263         * docs/libs/gstreamer-libs-sections.txt:
8264         * docs/libs/gstreamer-libs.types:
8265         * examples/Makefile.am:
8266         * examples/controller/.cvsignore:
8267         * examples/controller/Makefile.am:
8268         * examples/controller/audio-example.c: (main):
8269         * libs/gst/Makefile.am:
8270         * libs/gst/controller/.cvsignore:
8271         * libs/gst/controller/Makefile.am:
8272         * libs/gst/controller/gst-controller.c:
8273         (on_object_controlled_property_changed), (gst_timed_value_compare),
8274         (gst_timed_value_find),
8275         (gst_controlled_property_set_interpolation_mode),
8276         (gst_controlled_property_new), (gst_controlled_property_free),
8277         (gst_controller_find_controlled_property),
8278         (gst_controller_new_valist), (gst_controller_new),
8279         (gst_controller_remove_properties_valist),
8280         (gst_controller_remove_properties), (gst_controller_set),
8281         (gst_controller_set_from_list), (gst_controller_unset),
8282         (gst_controller_get), (gst_controller_get_all),
8283         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8284         (gst_controller_get_value_array),
8285         (gst_controller_set_interpolation_mode),
8286         (_gst_controller_finalize), (_gst_controller_init),
8287         (_gst_controller_class_init), (gst_controller_get_type):
8288         * libs/gst/controller/gst-controller.h:
8289         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8290         (g_object_uncontrol_properties), (g_object_get_controller),
8291         (g_object_set_controller), (g_object_sink_values),
8292         (g_object_get_value_arrays), (g_object_get_value_array):
8293         * libs/gst/controller/gst-interpolation.c:
8294         (gst_controlled_property_find_timed_value_node),
8295         (interpolate_none_get), (interpolate_trigger_get),
8296         (interpolate_trigger_get_value_array):
8297         * libs/gst/controller/lib.c: (gst_controller_init):
8298         * pkgconfig/Makefile.am:
8299         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8300         * pkgconfig/gstreamer-control.pc.in:
8301         * testsuite/Makefile.am:
8302         * testsuite/controller/.cvsignore:
8303         * testsuite/controller/Makefile.am:
8304         * testsuite/controller/interpolator.c: (main):
8305           added controller code
8306           removed dparam pc files
8307
8308 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8309         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8310         (gst_collectpads_stop):
8311           Broadcast the condition when shutting down, to make sure we wake all
8312           threads up. Shut down pads on finalize, for safety.
8313
8314 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8315         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8316         (gst_base_transform_handle_buffer),
8317         (gst_base_transform_change_state):
8318           Handle PAUSED->READY->PAUSED transition after negotiation
8319           occurred already.
8320         * gst/gstmessage.c: (gst_message_init):
8321           Extra piece of debug for new messages.
8322
8323 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8324
8325         * configure.ac:
8326         * docs/gst/tmpl/gstbasesrc.sgml:
8327         * docs/gst/tmpl/gstelement.sgml:
8328         * docs/gst/tmpl/gstevent.sgml:
8329         * docs/gst/tmpl/gstfakesrc.sgml:
8330         * docs/gst/tmpl/gstformat.sgml:
8331         * docs/gst/tmpl/gstghostpad.sgml:
8332         * docs/gst/tmpl/gstpad.sgml:
8333         * docs/gst/tmpl/gstquery.sgml:
8334         * docs/gst/tmpl/gststructure.sgml:
8335         * docs/gst/tmpl/gsttaglist.sgml:
8336         * docs/gst/tmpl/gstvalue.sgml:
8337         * docs/libs/gstreamer-libs-docs.sgml:
8338         * docs/libs/gstreamer-libs-sections.txt:
8339         * docs/libs/gstreamer-libs.types:
8340         * libs/gst/Makefile.am:
8341         * libs/gst/control/.cvsignore:
8342         * libs/gst/control/Makefile.am:
8343         * libs/gst/control/control.c:
8344         * libs/gst/control/control.h:
8345         * libs/gst/control/dparam.c:
8346         * libs/gst/control/dparam.h:
8347         * libs/gst/control/dparam_smooth.c:
8348         * libs/gst/control/dparam_smooth.h:
8349         * libs/gst/control/dparamcommon.h:
8350         * libs/gst/control/dparammanager.c:
8351         * libs/gst/control/dparammanager.h:
8352         * libs/gst/control/dplinearinterp.c:
8353         * libs/gst/control/dplinearinterp.h:
8354         * libs/gst/control/unitconvert.c:
8355         * libs/gst/control/unitconvert.h:
8356         * testsuite/Makefile.am:
8357         * testsuite/dynparams/.cvsignore:
8358         * testsuite/dynparams/Makefile.am:
8359         * testsuite/dynparams/dparamstest.c:
8360         * tools/Makefile.am:
8361         * tools/gst-inspect.c: (print_element_info), (main):
8362         * tools/gst-xmlinspect.c: (print_element_info), (main):
8363           deactivate and remove dparams (libgstcontrol)
8364
8365 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8366
8367         * gst/elements/gsttypefindelement.c:
8368         (gst_type_find_element_have_type), (gst_type_find_element_init),
8369         (stop_typefinding), (gst_type_find_element_handle_event),
8370         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8371         * gst/elements/gsttypefindelement.h:
8372           Set caps on all outgoing buffers, not just the first one.
8373
8374 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8375
8376         * gst/elements/gsttypefindelement.c:
8377         (gst_type_find_element_have_type),
8378         (gst_type_find_element_check_set_buffer_caps),
8379         (gst_type_find_element_init), (stop_typefinding),
8380         (gst_type_find_element_handle_event),
8381         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8382         * gst/elements/gsttypefindelement.h:
8383           Set caps on first outgoing buffer when we've found the type.
8384
8385 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8386
8387         * docs/gst/gstreamer-docs.sgml:
8388         * docs/gst/gstreamer-sections.txt:
8389         * docs/gst/tmpl/gstscheduler.sgml:
8390         * docs/gst/tmpl/gstschedulerfactory.sgml:
8391           Remove some old cruft from docs.
8392
8393 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8394
8395         * gst/gstpad.h:
8396           Fix inline docs for GstPadLinkReturn.
8397           
8398         * gst/gststructure.c: (gst_structure_has_name):
8399         * gst/gststructure.h:
8400         * docs/gst/gstreamer-sections.txt:
8401           New API: gst_structure_has_name().
8402
8403 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8404
8405         * configure.ac:
8406           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8407           and _LARGEFILE_SOURCE in config.h as required. Do not 
8408           export those flags in our .pc files any longer (#142209).
8409
8410           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8411
8412         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8413         (gst_file_sink_do_seek), (gst_file_sink_event),
8414         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8415           Redo seek/tell calls with large file support in mind; add some
8416           debugging messages; add log message that tells us when large
8417           file support is unavailable or not enabled for some reason.
8418
8419         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8420           Add log message that tells us when large file support 
8421           is unavailable or not enabled for some reason.
8422
8423 2005-07-29  Wim Taymans  <wim@fluendo.com>
8424
8425         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8426         Added test for removing an element with ghostpad from a bin.
8427         Fixed test as current implementation does the right thing.
8428
8429         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8430         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8431         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8432         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8433         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8434         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8435         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8436         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8437         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8438         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8439         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8440         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8441         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8442         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8443         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8444         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8445         * gst/gstghostpad.h:
8446         Clean up ghostpads, remove properties for internal stuff.
8447         Make threadsafe.
8448         Fix refcounting.
8449         Prepare for switching targets, not all use cases work yet.
8450
8451 2005-07-29  Wim Taymans  <wim@fluendo.com>
8452
8453         * docs/design/part-gstghostpad.txt:
8454         Small update.
8455
8456         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8457         (gst_bin_remove_func):
8458         Unlinking pads while holding the bin LOCK is not a good
8459         idea.
8460
8461         * gst/gstpad.c: (gst_pad_class_init),
8462         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8463         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8464         No prob setting template after creating the pad.
8465
8466 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8467
8468         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8469         (gst_bus_peek), (gst_bus_source_dispatch),
8470         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8471         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8472           gst_bus_poll may be called from other threads. Handle
8473           this nicely by not making poll_data disappear off the
8474           stack once gst_bus_poll returns.
8475           gst_bus_peek now increments the refcount on the returned
8476           message.
8477
8478 2005-07-29  Wim Taymans  <wim@fluendo.com>
8479
8480         * docs/design/part-gstghostpad.txt:
8481         Overview of current GhostPad datastructures and use
8482         cases for changing the target.
8483
8484 2005-07-28  Wim Taymans  <wim@fluendo.com>
8485
8486         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8487         Added checks for hierarchy consistency whan adding linked
8488         elements to bins.
8489
8490         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8491         Added check to test element scheduling without bin/pipeline.
8492
8493         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8494         First add elements to bin, then link.
8495         
8496         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8497         (gst_bin_remove_func):
8498         Unlink pads from elements added/removed from bin to maintain
8499         hierarchy consistency.
8500
8501 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8502
8503         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8504         (gst_base_transform_handle_buffer):
8505         * gst/base/gstbasetransform.h:
8506           Remove broken delay_configure (fixes renegotiation of software
8507           scaling pipelines); remove some leftover printf()s.
8508
8509 2005-07-28  Wim Taymans  <wim@fluendo.com>
8510
8511         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8512         Added some more tests for wrong hierarchy
8513
8514         * docs/design/part-overview.txt:
8515         Some updates.
8516
8517         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8518         Cleanups.
8519
8520         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8521         (gst_element_dispose):
8522         Some more cleanups.
8523
8524         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8525         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8526         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8527         (gst_pad_set_caps), (gst_pad_send_event):
8528         Check for correct hierarchy when linking pads. Moving to
8529         strict requirement for ghostpads when linking elements in
8530         different bins.
8531
8532         * gst/gstpad.h:
8533         Clean ups. Added WRONG_HIERARCHY return value.
8534
8535 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8536
8537         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8538           Better debug if no transform is possible.
8539
8540 2005-07-27  Wim Taymans  <wim@fluendo.com>
8541
8542         * docs/random/wtay/network-transp:
8543         Some old doc I had.
8544
8545 2005-07-27  Wim Taymans  <wim@fluendo.com>
8546
8547         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8548         (gst_dp_event_from_packet):
8549         Fix serialization of seek events.
8550
8551 2005-07-27  Wim Taymans  <wim@fluendo.com>
8552
8553         * check/gst-libs/gdp.c: (GST_START_TEST):
8554         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8555         Fix compilation and fix event serialization.
8556
8557 2005-07-27  Wim Taymans  <wim@fluendo.com>
8558
8559         * CHANGES-0.9:
8560         * docs/design/part-TODO.txt:
8561         * docs/design/part-events.txt:
8562         Some docs updates
8563
8564         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8565         (gst_base_sink_event), (gst_base_sink_do_sync),
8566         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8567         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8568         (gst_base_src_do_seek), (gst_base_src_event_handler),
8569         (gst_base_src_loop):
8570         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8571         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8572         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8573         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8574         (gst_base_transform_set_passthrough),
8575         (gst_base_transform_is_passthrough):
8576         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8577         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8578         Event updates.
8579
8580         * gst/gstbuffer.h:
8581         Use faster casts.
8582
8583         * gst/gstelement.c: (gst_element_seek):
8584         * gst/gstelement.h:
8585         Update gst_element_seek.
8586
8587         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8588         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8589         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8590         (gst_event_new_eos), (gst_event_new_newsegment),
8591         (gst_event_parse_newsegment), (gst_event_new_tag),
8592         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8593         (gst_event_parse_qos), (gst_event_new_seek),
8594         (gst_event_parse_seek), (gst_event_new_navigation):
8595         * gst/gstevent.h:
8596         Make GstEvent use GstStructure. Add parsing code, make sure the
8597         API is sufficiently generic.
8598         Mark possible directions of events and serialization.
8599
8600         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8601         (_gst_message_copy), (gst_message_new_segment_start),
8602         (gst_message_new_segment_done), (gst_message_new_custom),
8603         (gst_message_parse_segment_start),
8604         (gst_message_parse_segment_done):
8605         Small cleanups.
8606
8607         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8608         (gst_pad_set_caps), (gst_pad_send_event):
8609         Update for new events. 
8610         Catch events sent in wrong directions.
8611
8612         * gst/gstqueue.c: (gst_queue_link_src),
8613         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8614         (gst_queue_handle_src_query):
8615         Event updates.
8616
8617         * gst/gsttag.c:
8618         * gst/gsttag.h:
8619         Remove event code from this file.
8620
8621         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8622         (gst_dp_event_from_packet):
8623         Event updates.
8624
8625 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8626
8627         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8628         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8629         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8630           Make debugging actually useful.
8631
8632 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8633
8634         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8635         (gst_pad_fixate_caps):
8636           Implement default fixation once again, so that gst_pad_fixate()
8637           actually does anything at all. This probably needs to be some
8638           sort of a last resort, and use profile-based fixation first, but
8639           since that doesn't exist yet, this is the best we have. Fixes
8640           visualization in Totem.
8641
8642 2005-07-22  Wim Taymans  <wim@fluendo.com>
8643
8644         * docs/design/part-events.txt:
8645         Small update.
8646
8647         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8648         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8649         (gst_base_sink_activate_pull):
8650         Some more comments.
8651
8652         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8653         (gst_fake_src_create):
8654         Fix handoff marshall.
8655
8656         * gst/elements/gstidentity.c: (gst_identity_class_init),
8657         (gst_identity_transform_ip):
8658         We're a real inplace element.
8659
8660         * gst/gstbus.c: (gst_bus_post):
8661         Added some comments.
8662
8663         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8664         * tests/muxing/case1.c: (main):
8665         * tests/sched/dynamic-pipeline.c: (main):
8666         * tests/sched/interrupt1.c: (main):
8667         * tests/sched/interrupt2.c: (main):
8668         * tests/sched/interrupt3.c: (main):
8669         * tests/sched/runxml.c: (main):
8670         * tests/sched/sched-stress.c: (main):
8671         * tests/seeking/seeking1.c: (event_received), (main):
8672         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8673         (main):
8674         * tests/threadstate/threadstate3.c: (main):
8675         * tests/threadstate/threadstate4.c: (main):
8676         * tests/threadstate/threadstate5.c: (main):
8677         Fix the tests.
8678
8679 2005-07-21  Wim Taymans  <wim@fluendo.com>
8680
8681         * docs/design/part-seeking.txt:
8682         Some small additions.
8683
8684         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8685         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8686         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8687         * gst/base/gstbasesink.h:
8688         discont values are gint64, handle the math correctly.
8689
8690         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8691         Make the basesrc report error if the source pad is not linked.
8692
8693         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8694         (gst_queue_loop), (gst_queue_handle_src_query),
8695         (gst_queue_src_activate_push):
8696         Make queue collect data even if the srcpad is not linked.
8697         Start pushing out data as soon as it is linked.
8698
8699         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8700         * gst/gstutils.h:
8701         Added gst_flow_get_name() to ease error reporting.
8702
8703 2005-07-20  Wim Taymans  <wim@fluendo.com>
8704
8705         * gst/gstmessage.c: (gst_message_new_segment_start),
8706         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8707         (gst_message_parse_segment_done):
8708         * gst/gstmessage.h:
8709         Added a bunch of messages for advanced seeking.
8710
8711         * gst/parse/grammar.y:
8712         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8713         (gst_dpman_state_changed):
8714         Fix some new-pad -> pad-added signals
8715
8716 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8717
8718         * docs/manual/appendix-porting.xml:
8719         * docs/pwg/appendix-porting.xml:
8720           Document new-pad/state-change signal renames and the FixedList
8721           type rename.
8722
8723 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8724
8725         * docs/manual/advanced-autoplugging.xml:
8726         * docs/manual/basics-helloworld.xml:
8727         * docs/manual/basics-pads.xml:
8728         * docs/random/ds/0.9-suggested-changes:
8729         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8730         * gst/gstelement.h:
8731         * gst/gstevent.h:
8732         * gst/gstformat.h:
8733         * gst/gstquery.h:
8734         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8735         (gst_structure_parse_array), (gst_structure_parse_value):
8736         * gst/gstvalue.c: (gst_type_is_fixed),
8737         (gst_value_list_prepend_value), (gst_value_list_append_value),
8738         (gst_value_list_get_size), (gst_value_list_get_value),
8739         (gst_value_transform_array_string), (gst_value_serialize_array),
8740         (gst_value_deserialize_array), (gst_value_intersect_array),
8741         (gst_value_is_fixed), (_gst_value_initialize):
8742         * gst/gstvalue.h:
8743           GstElement::new-pad -> pad-added, GstElement::state-change ->
8744           state-changed, GstValueFixedList -> GstValueArray, add format and
8745           flags as their own arguments in gst_element_seek() (should improve
8746           "bindeability"), remove function generators since they don't work
8747           under a whole bunch of compilers (they were deprecated already
8748           anyway).
8749
8750 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8751
8752         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8753         (_gst_debug_register_funcptr):
8754         * gst/gstinfo.h:
8755           Fix illegal cast on some platforms (#309253).
8756
8757 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8758
8759         * gst/gstmessage.c: (gst_message_new_custom):
8760         * gst/gstmessage.h:
8761           Add _new_custom, make _new_application a macro to _new_custom.
8762
8763 2005-07-20  Wim Taymans  <wim@fluendo.com>
8764
8765         * gst/base/gstbasesrc.c: (gst_base_src_init),
8766         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8767         * gst/base/gstbasesrc.h:
8768         Add a gboolean to decide when to push out a discont.
8769
8770         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8771         (gst_queue_loop), (gst_queue_handle_src_query),
8772         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8773         (gst_queue_set_property), (gst_queue_get_property):
8774         Some cleanups.
8775
8776         * tests/threadstate/threadstate1.c: (main):
8777         Make a thread test compile and run... very silly..
8778
8779
8780 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8781
8782         * docs/manual/appendix-porting.xml:
8783           Mention removal of libgstgconf-0.9.la and existence of gconf
8784           elements.
8785
8786 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8787
8788         * docs/pwg/advanced-clock.xml:
8789         * docs/pwg/appendix-porting.xml:
8790         * docs/pwg/intro-preface.xml:
8791         * docs/pwg/other-base.xml:
8792         * docs/pwg/other-manager.xml:
8793         * docs/pwg/other-nton.xml:
8794         * docs/pwg/other-ntoone.xml:
8795         * docs/pwg/other-oneton.xml:
8796         * docs/pwg/pwg.xml:
8797           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8798           demuxer), remove n-to-n (was never written), fix some code examples
8799           and links and update the porting section to include all this.
8800
8801 2005-07-19  Wim Taymans  <wim@fluendo.com>
8802
8803         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8804         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8805         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8806         (gst_queue_src_activate_push), (gst_queue_change_state),
8807         (gst_queue_get_property):
8808         * gst/gstqueue.h:
8809         Propagate GstFlowReturn more intelligently upstream and output
8810         an ERROR/EOS when streaming stopped due to fatal error.
8811
8812 2005-07-19  Wim Taymans  <wim@fluendo.com>
8813
8814         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8815         Don't block forever for the state change to complete, the
8816         pipeline already did with a sensible timeout.
8817
8818 2005-07-19  Wim Taymans  <wim@fluendo.com>
8819
8820         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8821         Make sure we never call the create function is we
8822         got deactivated.
8823
8824 2005-07-19  Andy Wingo  <wingo@pobox.com>
8825
8826         * gst/parse/parse.l: Attempt to solve bug #172815.
8827
8828 2005-07-19  Wim Taymans  <wim@fluendo.com>
8829
8830         * docs/design/part-clocks.txt:
8831         * docs/design/part-events.txt:
8832         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8833         Small docs updates.
8834         Only update the seeking values when we are not
8835         busy streaming.
8836
8837 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8838
8839         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8840           Oops, ignore the result of gst_pad_push_event here.
8841
8842 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8843
8844         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8845         (gst_base_src_activate_push):
8846           Send discont event from the loop function, as pads
8847           aren't activated yet in the activate_push handler.
8848
8849         * gst/gstbin.c: (bin_bus_handler):
8850           Don't leak element name.
8851
8852 2005-07-18  Andy Wingo  <wingo@pobox.com>
8853
8854         * configure.ac: Use AS_LIBTOOL_TAGS.
8855
8856 2005-07-18  Wim Taymans  <wim@fluendo.com>
8857
8858         * docs/gst/gstreamer.types:
8859         Remove deleted types.
8860
8861 2005-07-18  Wim Taymans  <wim@fluendo.com>
8862
8863         * check/elements/gstfakesrc.c: (GST_START_TEST):
8864         * configure.ac:
8865         * gst/Makefile.am:
8866         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8867         (init_popt_callback):
8868         * gst/gst.h:
8869         * gst/gst_private.h:
8870         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8871         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8872         * gst/gstbin.h:
8873         * gst/gstbus.h:
8874         * gst/gstconfig.h.in:
8875         * gst/gstelement.c: (gst_element_class_init),
8876         (gst_element_set_base_time), (gst_element_get_base_time),
8877         (iterator_fold_with_resync), (gst_element_change_state),
8878         (gst_element_dispose), (gst_element_get_bus):
8879         * gst/gstelement.h:
8880         * gst/gstelementfactory.h:
8881         * gst/gsterror.c: (_gst_core_errors_init):
8882         * gst/gsterror.h:
8883         * gst/gstevent.h:
8884         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8885         * gst/gstindex.c:
8886         * gst/gstinfo.c: (_gst_debug_init):
8887         * gst/gstmessage.c: (_gst_message_copy):
8888         * gst/gstmessage.h:
8889         * gst/gstminiobject.h:
8890         * gst/gstobject.c:
8891         * gst/gstobject.h:
8892         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8893         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8894         * gst/gstpad.h:
8895         * gst/gstparse.h:
8896         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8897         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8898         (gst_pipeline_get_last_stream_time):
8899         * gst/gstpipeline.h:
8900         * gst/gstpluginfeature.h:
8901         * gst/gstquery.h:
8902         * gst/gstscheduler.c:
8903         * gst/gstscheduler.h:
8904         * gst/gststructure.h:
8905         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8906         (gst_task_finalize), (gst_task_func), (gst_task_create),
8907         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8908         (gst_task_stop), (gst_task_pause):
8909         * gst/gsttask.h:
8910         * gst/gsttypefind.h:
8911         * gst/gsttypes.h:
8912         * gst/registries/gstlibxmlregistry.c: (load_feature),
8913         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8914         * gst/registries/gstxmlregistry.c:
8915         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8916         * gst/schedulers/threadscheduler.c:
8917         * libs/gst/control/dparammanager.h:
8918         * tools/gst-inspect.c: (print_element_list),
8919         (print_plugin_features), (print_element_features):
8920         * tools/gst-xmlinspect.c: (print_element_list),
8921         (print_plugin_info), (main):
8922         Removed plugable schedulers.
8923         Removed Scheduler/Manager from elements.
8924         Removed gsttypes.h, rearranged includes.
8925         Removed dependency pad<->element, element<>pipeline, and
8926         various others,  fix includes.
8927         implement gst_pad_get_parent() with gst_object_get_parent()
8928         Make GstTask sefcontained.
8929         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8930         timeout.
8931         Fix endless loop in iterator_fold_with_resync.
8932
8933
8934 2005-07-18  Wim Taymans  <wim@fluendo.com>
8935
8936         * gst/Makefile.am:
8937         * gst/gstarch.h:
8938         Remove old file.
8939
8940 2005-07-18  Wim Taymans  <wim@fluendo.com>
8941
8942         * gst/Makefile.am:
8943         No more cothreads.h
8944
8945 2005-07-18  Wim Taymans  <wim@fluendo.com>
8946
8947         * gst/cothreads.c:
8948         * gst/cothreads.h:
8949         Let's remove these.
8950
8951 2005-07-18  Wim Taymans  <wim@fluendo.com>
8952
8953         * docs/design/part-dynamic.txt:
8954         * docs/design/part-events.txt:
8955         * docs/design/part-seeking.txt:
8956         Some more docs in the works.
8957
8958         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8959         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8960         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8961         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8962         (gst_base_transform_handle_buffer),
8963         (gst_base_transform_sink_activate_push),
8964         (gst_base_transform_src_activate_pull),
8965         (gst_base_transform_set_passthrough),
8966         (gst_base_transform_is_passthrough):
8967         Refcounting fixes.
8968
8969         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8970         Cleanups.
8971
8972         * gst/gstevent.c: (gst_event_finalize):
8973         Set SRC to NULL.
8974
8975         * gst/gstutils.c: (gst_element_unlink),
8976         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8977         (gst_pad_proxy_setcaps):
8978         * gst/gstutils.h:
8979         Add _get_parent_element() to get a pads parent as an element.
8980
8981 2005-07-18  Wim Taymans  <wim@fluendo.com>
8982
8983         * check/gst/gstbin.c: (GST_START_TEST):
8984         Remove bogus test.
8985
8986 2005-07-18  Wim Taymans  <wim@fluendo.com>
8987
8988         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8989         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8990         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8991         (gst_base_sink_event), (gst_base_sink_do_sync),
8992         (gst_base_sink_chain), (gst_base_sink_loop),
8993         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8994         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8995         Refcounting fixes.
8996         Fix logic for returning ASYNC when not prerolled.
8997
8998 2005-07-18  Wim Taymans  <wim@fluendo.com>
8999
9000         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9001         Fix nasty refcount bug.
9002
9003 2005-07-16 Philippe Khalaf <burger@speedy.org>
9004
9005         * gst/elements/gstfdsrc.c:
9006         * gst/elements/gstfdsrc.h:
9007         * gst/elements/gstelements.c:
9008         * gst/elements/Makefile.am:
9009         Ported fdsrc to 0.9.
9010
9011 2005-07-16  Wim Taymans  <wim@fluendo.com>
9012
9013         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9014         (gst_base_sink_do_sync):
9015         Fix compile error.
9016
9017 2005-07-16  Wim Taymans  <wim@fluendo.com>
9018
9019         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9020         (gst_base_sink_event), (gst_base_sink_get_times),
9021         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9022         * gst/base/gstbasesink.h:
9023         Store and use discont values when syncing buffers as described
9024         in design docs.
9025         
9026         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9027         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9028         (gst_base_src_activate_push):
9029         Push discont event when starting.
9030
9031         * gst/elements/gstidentity.c: (gst_identity_transform):
9032         Small cleanups.
9033
9034         * gst/gstbin.c: (gst_bin_change_state):
9035         Small cleanups in base_time  distribution.
9036
9037         * gst/gstelement.c: (gst_element_set_base_time),
9038         (gst_element_get_base_time), (gst_element_change_state):
9039         * gst/gstelement.h:
9040         Added methods for the base_time of the element.
9041         Some MT fixes.
9042
9043         * gst/gstpipeline.c: (gst_pipeline_send_event),
9044         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9045         (gst_pipeline_get_last_stream_time):
9046         * gst/gstpipeline.h:
9047         MT fixes.
9048         Handle seeking as described in design doc, remove stream_time
9049         hack.
9050         Cleanups clock and stream_time selection code. Added accessors
9051         for the stream_time.
9052         
9053
9054 2005-07-16  Andy Wingo  <wingo@pobox.com>
9055
9056         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9057         (#305291).
9058
9059 2005-07-16  Wim Taymans  <wim@fluendo.com>
9060
9061         * check/gst/gstbin.c: (GST_START_TEST):
9062         Make elements silent as the deep_notify refs the
9063         parent, which might make the test fail.
9064
9065         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9066         Don't hold the lock for too long.
9067
9068 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9069
9070         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9071           Don't unref the caps we passed to gst_caps_make_writable() after
9072           passing them. gst_caps_make_writable() will do that for us.
9073
9074 2005-07-15  Andy Wingo  <wingo@pobox.com>
9075
9076         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9077         (#157311).
9078
9079         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9080         own marshalling function for the handoff signal. Properly type the
9081         buffer as a buffer. Fixes some warnings. Should do a more general
9082         solution.
9083         (gst_identity_class_init): Plug into the right marshaller.
9084
9085 2005-07-15  Wim Taymans  <wim@fluendo.com>
9086
9087         * docs/design/part-TODO.txt:
9088         * docs/design/part-clocks.txt:
9089         * docs/design/part-element-sink.txt:
9090         * docs/design/part-events.txt:
9091         * docs/design/part-gstpipeline.txt:
9092         Updated docs, mostly DISCONT related.
9093
9094 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9095
9096         * docs/pwg/building-pads.xml:
9097           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9098
9099 2005-07-15  Andy Wingo  <wingo@pobox.com>
9100
9101         * tools/gst-typefind.c: Update, add copyright block.
9102
9103         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9104         Normalize and truncate caps before fixation.
9105
9106         * gst/gstcaps.h:
9107         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9108         discards all but the first structure from its argument.
9109
9110 2005-07-15  Wim Taymans  <wim@fluendo.com>
9111
9112         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9113         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9114         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9115         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9116         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9117         (gst_base_transform_chain), (gst_base_transform_change_state),
9118         (gst_base_transform_set_passthrough),
9119         (gst_base_transform_is_passthrough):
9120         * gst/base/gstbasetransform.h:
9121         Make passthrough work using the bufferpools.
9122         Changed API a bit, subclasses have to write into a buffer
9123         provided by the base class.
9124         More debug info in nego functions.
9125         
9126         * gst/elements/gstidentity.c: (gst_identity_init),
9127         (gst_identity_transform):
9128         Port to new base class.
9129
9130 2005-07-15  Wim Taymans  <wim@fluendo.com>
9131
9132         * gst/gstmessage.c: (gst_message_new_state_changed):
9133         * tools/gst-launch.c: (event_loop), (main):
9134         Totally dump messages in -launch with the -m option.
9135         Fix message name for State messages,
9136
9137 2005-07-14  Wim Taymans  <wim@fluendo.com>
9138
9139         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9140         Post error messages on errors.
9141
9142 2005-07-14  Wim Taymans  <wim@fluendo.com>
9143
9144         * gst/gstcaps.c: (gst_caps_do_simplify):
9145         Remove debug info.
9146
9147         * gst/gsterror.h:
9148         Define error for stream stopped.
9149
9150         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9151         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9152         Do proper return values.
9153
9154         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9155         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9156         (gst_pad_get_range):
9157         Better return values.
9158
9159         * gst/gstpad.h:
9160         Reorganise return values, add macro to check for fatal errors.
9161
9162         * gst/gstqueue.c: (gst_queue_chain):
9163         Return proper GstFlowReturn values,
9164
9165 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9166
9167         * docs/gst/gstreamer-sections.txt:
9168         * docs/gst/gstreamer.types:
9169         * docs/gst/tmpl/gst.sgml:
9170         * docs/gst/tmpl/gstbasesink.sgml:
9171         * docs/gst/tmpl/gstbasesrc.sgml:
9172         * docs/gst/tmpl/gstbasetransform.sgml:
9173         * docs/gst/tmpl/gstbin.sgml:
9174         * docs/gst/tmpl/gstbuffer.sgml:
9175         * docs/gst/tmpl/gstcaps.sgml:
9176         * docs/gst/tmpl/gstclock.sgml:
9177         * docs/gst/tmpl/gstcompat.sgml:
9178         * docs/gst/tmpl/gstconfig.sgml:
9179         * docs/gst/tmpl/gstelement.sgml:
9180         * docs/gst/tmpl/gstelementdetails.sgml:
9181         * docs/gst/tmpl/gstelementfactory.sgml:
9182         * docs/gst/tmpl/gstenumtypes.sgml:
9183         * docs/gst/tmpl/gsterror.sgml:
9184         * docs/gst/tmpl/gstevent.sgml:
9185         * docs/gst/tmpl/gstfakesink.sgml:
9186         * docs/gst/tmpl/gstfakesrc.sgml:
9187         * docs/gst/tmpl/gstfilesink.sgml:
9188         * docs/gst/tmpl/gstfilesrc.sgml:
9189         * docs/gst/tmpl/gstfilter.sgml:
9190         * docs/gst/tmpl/gstformat.sgml:
9191         * docs/gst/tmpl/gstghostpad.sgml:
9192         * docs/gst/tmpl/gstimplementsinterface.sgml:
9193         * docs/gst/tmpl/gstindex.sgml:
9194         * docs/gst/tmpl/gstindexfactory.sgml:
9195         * docs/gst/tmpl/gstinfo.sgml:
9196         * docs/gst/tmpl/gstiterator.sgml:
9197         * docs/gst/tmpl/gstmacros.sgml:
9198         * docs/gst/tmpl/gstmemchunk.sgml:
9199         * docs/gst/tmpl/gstminiobject.sgml:
9200         * docs/gst/tmpl/gstobject.sgml:
9201         * docs/gst/tmpl/gstpad.sgml:
9202         * docs/gst/tmpl/gstpadtemplate.sgml:
9203         * docs/gst/tmpl/gstparse.sgml:
9204         * docs/gst/tmpl/gstpipeline.sgml:
9205         * docs/gst/tmpl/gstplugin.sgml:
9206         * docs/gst/tmpl/gstpluginfeature.sgml:
9207         * docs/gst/tmpl/gstquery.sgml:
9208         * docs/gst/tmpl/gstqueue.sgml:
9209         * docs/gst/tmpl/gstregistry.sgml:
9210         * docs/gst/tmpl/gstregistrypool.sgml:
9211         * docs/gst/tmpl/gstscheduler.sgml:
9212         * docs/gst/tmpl/gstschedulerfactory.sgml:
9213         * docs/gst/tmpl/gststructure.sgml:
9214         * docs/gst/tmpl/gstsystemclock.sgml:
9215         * docs/gst/tmpl/gsttaglist.sgml:
9216         * docs/gst/tmpl/gsttagsetter.sgml:
9217         * docs/gst/tmpl/gsttrace.sgml:
9218         * docs/gst/tmpl/gsttrashstack.sgml:
9219         * docs/gst/tmpl/gsttypefind.sgml:
9220         * docs/gst/tmpl/gsttypefindfactory.sgml:
9221         * docs/gst/tmpl/gsttypes.sgml:
9222         * docs/gst/tmpl/gsturihandler.sgml:
9223         * docs/gst/tmpl/gsturitype.sgml:
9224         * docs/gst/tmpl/gstutils.sgml:
9225         * docs/gst/tmpl/gstvalue.sgml:
9226         * docs/gst/tmpl/gstversion.sgml:
9227         * docs/gst/tmpl/gstxml.sgml:
9228         * docs/libs/tmpl/gstcontrol.sgml:
9229         * docs/libs/tmpl/gstdataprotocol.sgml:
9230         * docs/libs/tmpl/gstdparam.sgml:
9231         * docs/libs/tmpl/gstdplinint.sgml:
9232         * docs/libs/tmpl/gstdpman.sgml:
9233         * docs/libs/tmpl/gstdpsmooth.sgml:
9234         * docs/libs/tmpl/gstgetbits.sgml:
9235         * docs/libs/tmpl/gstunitconvert.sgml:
9236         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9237         (gst_push_src_base_init), (gst_push_src_class_init),
9238         (gst_push_src_init), (gst_push_src_create):
9239         * gst/base/gstpushsrc.h:
9240         * gst/elements/gstelements.c:
9241         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9242         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9243         (gst_fake_sink_init), (gst_fake_sink_set_property),
9244         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9245         (gst_fake_sink_event), (gst_fake_sink_preroll),
9246         (gst_fake_sink_render), (gst_fake_sink_change_state):
9247         * gst/elements/gstfakesink.h:
9248         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9249         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9250         (gst_fake_src_base_init), (gst_fake_src_class_init),
9251         (gst_fake_src_init), (gst_fake_src_event_handler),
9252         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9253         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9254         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9255         (gst_fake_src_create_buffer), (gst_fake_src_create),
9256         (gst_fake_src_start), (gst_fake_src_stop):
9257         * gst/elements/gstfakesrc.h:
9258         * gst/elements/gstfilesink.c: (_do_init),
9259         (gst_file_sink_base_init), (gst_file_sink_class_init),
9260         (gst_file_sink_init), (gst_file_sink_dispose),
9261         (gst_file_sink_set_location), (gst_file_sink_set_property),
9262         (gst_file_sink_get_property), (gst_file_sink_open_file),
9263         (gst_file_sink_close_file), (gst_file_sink_query),
9264         (gst_file_sink_event), (gst_file_sink_render),
9265         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9266         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9267         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9268         * gst/elements/gstfilesink.h:
9269         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9270         (gst_file_src_class_init), (gst_file_src_init),
9271         (gst_file_src_finalize), (gst_file_src_set_location),
9272         (gst_file_src_set_property), (gst_file_src_get_property),
9273         (gst_file_src_map_region), (gst_file_src_map_small_region),
9274         (gst_file_src_create_mmap), (gst_file_src_create_read),
9275         (gst_file_src_create), (gst_file_src_is_seekable),
9276         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9277         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9278         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9279         (gst_file_src_uri_handler_init):
9280         * gst/elements/gstfilesrc.h:
9281           more autistic cleanliness in functions/names/defines
9282
9283 2005-07-13  Andy Wingo  <wingo@pobox.com>
9284
9285         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9286         source couldn't negotiate.
9287
9288         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9289         connections again.
9290
9291         * gst/gstutils.h:
9292         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9293         function. I am channeling Hades. Put your boots on suckers!!!
9294
9295 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9296
9297         * testsuite/caps/Makefile.am:
9298         * testsuite/caps/value_compare.c:
9299         * testsuite/caps/value_intersect.c:
9300         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9301           move two testsuite apps over to the check dir
9302
9303 2005-07-12  Wim Taymans  <wim@fluendo.com>
9304
9305         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9306         Added more debug info in the negotiate process.
9307
9308         * gst/gstmessage.h:
9309         Prepare for segment playback.
9310
9311         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9312         Better debugging.
9313
9314         * gst/gstutils.c:
9315         Some more docs.
9316
9317         * tools/gst-launch.c: (main):
9318         NULL pipeline on errors.
9319
9320 2005-07-12  Andy Wingo  <wingo@pobox.com>
9321
9322         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9323         not it comes from a malloc region. Make sure our copy gets freed.
9324
9325 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9326
9327         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9328         * check/gst/gstmessage.c: (GST_START_TEST):
9329         * check/gst/gststructure.c: (GST_START_TEST),
9330         (gst_structure_suite), (main):
9331           more testing
9332         * gst/gstelement.c: (gst_element_message_full):
9333           clean up GError and debug string now that they get copied
9334         * gst/gstmessage.c: (gst_message_new_error),
9335         (gst_message_new_warning), (gst_message_parse_error),
9336         (gst_message_parse_warning):
9337           use GST_TYPE_G_ERROR for structure_new, and take copies of
9338           arguments, so that we don't mess up refcounting
9339
9340 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9341
9342         * check/Makefile.am:
9343           add per-test valgrind targets
9344         * check/gst-libs/gdp.c: (GST_START_TEST),
9345         (gst_data_protocol_suite), (main):
9346           clean up
9347
9348 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9349
9350         * check/Makefile.am:
9351           instate more valgrindable tests
9352         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9353         (GST_START_TEST), (fakesrc_suite):
9354         * check/gst/gstpad.c: (GST_START_TEST):
9355         * check/gst/gststructure.c: (GST_START_TEST):
9356           fix test leaks
9357         * docs/gst/tmpl/gstminiobject.sgml:
9358         * gst/gstpad.c: (gst_pad_finalize):
9359           fix the static mutex leak
9360
9361 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9362
9363         * check/Makefile.am:
9364           add two more tests for valgrinding
9365         * check/gst/gstvalue.c: (GST_START_TEST):
9366           test refcount of deserialized buffer, found a leak
9367         * docs/gst/gstreamer-docs.sgml:
9368         * docs/gst/gstreamer-sections.txt:
9369         * docs/gst/gstreamer.types:
9370         * docs/gst/tmpl/gstminiobject.sgml:
9371           add miniobject to docs
9372         * gst/gstminiobject.c:
9373           add some docs
9374         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9375         (gst_string_unwrap):
9376           fix a hard-to-find invalid write for one of the tests
9377           fix a leak for deserialized buffers
9378
9379 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9380
9381         * docs/pwg/advanced-events.xml:
9382         * docs/pwg/advanced-request.xml:
9383         * docs/pwg/advanced-scheduling.xml:
9384         * docs/pwg/appendix-porting.xml:
9385         * docs/pwg/building-boiler.xml:
9386         * docs/pwg/intro-preface.xml:
9387         * docs/pwg/other-ntoone.xml:
9388           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9389           of example code and explanation for pad activation, loop() and
9390           getrange() functions and a bit more. Remove old comments pointing
9391           to loop-functions.
9392         * examples/pwg/Makefile.am:
9393           Add loop/getrange examples.
9394
9395 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9396
9397         * configure.ac:
9398           check for valgrind binary + some fixes
9399         * check/gst.supp:
9400           valgrind suppressions for the tests
9401         * check/Makefile.am:
9402           add a valgrind: target that valgrinds the unit tests
9403         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9404         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9405         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9406         * check/gst/gstghostpad.c:
9407           added some cleanup
9408         * check/gst/gstdata.c:
9409           removed
9410         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9411         (thread_unref), (gst_mini_object_suite), (main):
9412           added
9413         * gst/gst.c: (gst_deinit):
9414         * gst/gst.h:
9415           add a method to clean up.
9416         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9417         (gst_system_clock_obtain):
9418           allow for disposing the system clock.
9419         * tools/gst-launch.c: (main):
9420           deinit
9421
9422 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9423
9424         * docs/gst/tmpl/gstbasesrc.sgml:
9425         * docs/gst/tmpl/gstfakesrc.sgml:
9426         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9427         (gst_base_src_init), (gst_base_src_set_property),
9428         (gst_base_src_get_property), (gst_base_src_get_range),
9429         (gst_base_src_start):
9430         * gst/base/gstbasesrc.h:
9431           add num-buffers property
9432         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9433         (gst_fakesrc_init), (gst_fakesrc_set_property),
9434         (gst_fakesrc_get_property), (gst_fakesrc_create),
9435         (gst_fakesrc_start):
9436           remove num-buffers property
9437
9438 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9439
9440         * docs/gst/gstreamer-sections.txt:
9441         * docs/gst/tmpl/gstbasesink.sgml:
9442         * docs/gst/tmpl/gstbasesrc.sgml:
9443         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9444         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9445         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9446         (gst_base_sink_set_property), (gst_base_sink_get_property),
9447         (gst_base_sink_handle_object), (gst_base_sink_event),
9448         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9449         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9450         (gst_base_sink_loop), (gst_base_sink_deactivate),
9451         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9452         (gst_base_sink_change_state):
9453         * gst/base/gstbasesink.h:
9454         * gst/base/gstbasesrc.h:
9455         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9456         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9457         (gst_filesink_init):
9458           more macro splitting
9459
9460 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9461
9462         * gst/gstelement.c: (gst_element_get_bus):
9463           add debug
9464         * tools/gst-launch.c: (check_intr), (event_loop):
9465           fix bus leaks
9466
9467 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9468
9469         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9470           fix a caps leak
9471
9472 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9473
9474         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9475         (gst_base_src_finalize):
9476           add finalize method and clean up properly
9477         * gst/gstpipeline.c: (gst_pipeline_dispose):
9478           add debug
9479
9480 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9481
9482         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9483         (gst_bin_suite):
9484           add more things to check
9485         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9486         * gst/gstelement.c:
9487           more debug
9488
9489 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9490
9491         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9492         (GST_START_TEST), (fakesrc_suite):
9493         * check/gst-libs/gdp.c: (GST_START_TEST):
9494         * check/gst/gst.c: (GST_START_TEST):
9495         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9496         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9497         * check/gst/gstbus.c: (GST_START_TEST):
9498         * check/gst/gstcaps.c: (GST_START_TEST):
9499         * check/gst/gstdata.c: (GST_START_TEST):
9500         * check/gst/gstelement.c: (GST_START_TEST):
9501         * check/gst/gstghostpad.c: (GST_START_TEST):
9502         * check/gst/gstiterator.c: (GST_START_TEST):
9503         * check/gst/gstmessage.c: (GST_START_TEST):
9504         * check/gst/gstobject.c: (GST_START_TEST):
9505         * check/gst/gstpad.c: (GST_START_TEST):
9506         * check/gst/gststructure.c: (GST_START_TEST):
9507         * check/gst/gstsystemclock.c: (GST_START_TEST),
9508         (gst_systemclock_suite):
9509         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9510         * check/gst/gstvalue.c: (GST_START_TEST):
9511         * check/pipelines/cleanup.c: (GST_START_TEST):
9512         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9513         * check/states/sinks.c: (GST_START_TEST):
9514         * check/gstcheck.c: (gst_check_init):
9515         * check/gstcheck.h:
9516           add debugging category
9517           use GST_START_TEST now, so we add a debug line
9518
9519 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9520
9521         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9522           add test for state change message on a bin
9523         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9524           add another test
9525         * gst/gstbin.c: (gst_bin_init):
9526         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9527         * gst/gstelement.c: (gst_element_post_message),
9528         (gst_element_set_state):
9529         * gst/gstelementfactory.c: (gst_element_factory_create):
9530         * gst/gstmessage.c: (gst_message_new):
9531         * gst/gstscheduler.c:
9532           various debugging additions and cleanups
9533
9534 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9535
9536         * check/Makefile.am:
9537         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9538         (main):
9539           adding tests for elements
9540         * gst/gstelement.c: (gst_element_dispose):
9541
9542 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9543
9544         * gst/registries/gstlibxmlregistry.c: (load_feature):
9545           plug more leaks.  A simple gst_init() now is leakfree, yay.
9546
9547 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9548
9549         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9550         (gst_xml_registry_load):
9551           plug another memleak
9552
9553 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9554
9555         * configure.ac:
9556           use GST_SET_ERROR_CFLAGS
9557         * docs/faq/cvs.xml:
9558           change to ERROR_CFLAGS
9559
9560 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9561
9562         * configure.ac:
9563           make GST_ERROR_CFLAGS overridable and re-enable Werror
9564         * docs/faq/cvs.xml:
9565           add a note about error CFLAGS
9566         * docs/gst/tmpl/gstfakesrc.sgml:
9567         * gst/elements/gstfakesrc.c:
9568           comment out some unused code
9569         * gst/gst.c: (split_and_iterate):
9570         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9571         (load_feature):
9572           plug some memleaks
9573
9574 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9575
9576         * common/Makefile.am:
9577         * common/gtk-doc.mak:
9578         * docs/gst/Makefile.am:
9579           factor out gtk-doc.mak
9580
9581 2005-07-07  Wim Taymans  <wim@fluendo.com>
9582
9583         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9584         (gst_thread_scheduler_dispose):
9585         Unlock the STREAM_LOCK completely.
9586
9587 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9588
9589         * check/Makefile.am:
9590         * check/elements/.cvsignore:
9591         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9592         (START_TEST), (fakesrc_suite), (main):
9593         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9594         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9595         (gst_fakesrc_create), (gst_fakesrc_start):
9596         * gst/elements/gstfakesrc.h:
9597           adding a first element test
9598
9599 2005-07-07  Andy Wingo  <wingo@pobox.com>
9600
9601         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9602         debug message.
9603
9604 2005-07-07  Wim Taymans  <wim@fluendo.com>
9605
9606         * gst/gstquery.c:
9607         * gst/gstquery.h:
9608         Remove old types
9609
9610 2005-07-07  Wim Taymans  <wim@fluendo.com>
9611
9612         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9613         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9614         Allow subclasses to implement their own negotiation.
9615
9616 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9617
9618         * docs/design/part-gstbin.txt:
9619         * docs/design/part-gstpipeline.txt:
9620           Update design notes to reflect the movement of
9621           responsibility for bus handling from GstPipeline to
9622           GstBin
9623
9624 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9625
9626         * configure.ac:
9627           Remove unnecessary queue2/3/4 examples.
9628
9629 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9630
9631         * examples/Makefile.am:
9632         * examples/helloworld/helloworld.c: (event_loop), (main):
9633         * examples/queue/queue.c: (event_loop), (main):
9634         * examples/queue2/queue2.c: (main):
9635           Update a couple of the examples to work again.
9636
9637         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9638         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9639          Spelling corrections and extra debug.
9640         
9641         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9642         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9643         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9644         * gst/gstbin.h:
9645         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9646         (gst_pipeline_change_state):
9647         * gst/gstpipeline.h:
9648           Move the bus handler for children to the GstBin, and create a
9649           separate bus for receiving messages from children to the one the
9650           bus sends 'upwards' on.
9651
9652 2005-07-06  Wim Taymans  <wim@fluendo.com>
9653
9654         * gst/base/README:
9655         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9656         (gst_base_sink_handle_object), (gst_base_sink_loop),
9657         (gst_base_sink_change_state):
9658         * gst/base/gstbasesink.h:
9659         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9660         (gst_base_src_init), (gst_base_src_setcaps),
9661         (gst_base_src_getcaps), (gst_base_src_loop),
9662         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9663         (gst_base_src_start), (gst_base_src_change_state):
9664         * gst/base/gstbasesrc.h:
9665         Make basesrc negotiate.
9666         Handle the case where preroll fails in basesink.
9667         Update README.
9668
9669 2005-07-06  Wim Taymans  <wim@fluendo.com>
9670
9671         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9672         Implement the fixate function.
9673         Clean up acceptcaps.
9674
9675 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9676
9677         * docs/pwg/building-filterfactory.xml:
9678         * docs/pwg/pwg.xml:
9679           Remove never-written filter-factory chapter; I'll add the various
9680           base classes to part 4 ("other element types") later on.
9681
9682 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9683
9684         * docs/pwg/advanced-negotiation.xml:
9685         * docs/pwg/building-boiler.xml:
9686         * docs/pwg/building-pads.xml:
9687         * docs/pwg/pwg.xml:
9688         * examples/pwg/Makefile.am:
9689           Add a chapter on caps negotiation, simplify the original code
9690           samples a bit w.r.t. caps negotiation, add link to the advanced
9691           section. Add a bunch of examples showing different use cases of
9692           different types of caps negotiation. Upstream renegotiation isn't
9693           fully documented yet since nobody knows how that works.
9694
9695 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9696
9697         * check/gst/gstpad.c:
9698         * check/gstcheck.c:
9699         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9700           if pad has no parent, return NULL as list of internal links
9701
9702 2005-07-05  Andy Wingo  <wingo@pobox.com>
9703
9704         * gst/elements/gstfilesrc.c:
9705         * gst/elements/gstfakesrc.c: 
9706         * gst/base/gstpushsrc.c:
9707         * gst/base/gstbasesrc.h: 
9708         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9709         
9710 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9711
9712         * Makefile.am:
9713           better report generation target (lcov needs a patch)
9714
9715 2005-07-05  Andy Wingo  <wingo@pobox.com>
9716
9717         * gst/elements, testsuite: Null if we got it...
9718
9719 2005-07-05  Wim Taymans  <wim@fluendo.com>
9720
9721         * configure.ac:
9722         * libs/gst/dataprotocol/Makefile.am:
9723         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9724         * libs/gst/dataprotocol/dataprotocol.h:
9725         * pkgconfig/Makefile.am:
9726         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9727         * pkgconfig/gstreamer-dataprotocol.pc.in:
9728         Ported dataprotol to 0.9. 
9729         Added pkgconfig files.
9730
9731 2005-07-05  Andy Wingo  <wingo@pobox.com>
9732
9733         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9734         Default to returning TRUE for the case when tranform_caps returns
9735         a fixed caps, like for identity or volume.
9736
9737         * check/gst/gstbus.c (pound_bus_with_messages): 
9738         * check/gst/gstmessage.c (START_TEST): 
9739         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9740         message API change.
9741
9742         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9743         logic weaks here: always run transform_caps, trying passthrough
9744         operation only if the original caps intersects with the transform.
9745
9746         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9747         source and sink caps.
9748
9749         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9750         Intersect the peer caps with the pad template before going into
9751         transform_caps.
9752         (gst_base_transform_transform_caps): More debugging.
9753
9754         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9755         src argument.
9756
9757 2005-07-04  Edward Hervey  <edward@fluendo.com>
9758
9759         * gst/gstutils.c:
9760         * gst/gstutils.h:
9761         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9762         in bindings.
9763
9764 2005-07-04  Andy Wingo  <wingo@pobox.com>
9765
9766         * check/gst/gstpad.c: Only set explicit caps on pads.
9767
9768 2005-07-01  Andy Wingo  <wingo@pobox.com>
9769
9770         * tests/network-clock.scm: Commentary update.
9771
9772         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9773         Didn't really make sense, not implementable with basetransform,
9774         etc.
9775         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9776         attempt at implementing the sync property, needs an unlock method.
9777
9778         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9779         New func, by default returns the same caps (the identity
9780         transformation).
9781         (gst_base_transform_getcaps): Uses transform_caps to return
9782         something sensible.
9783         (gst_base_transform_setcaps): Complicated logic to get caps on
9784         both pads, even if they are different, and to call set_caps once
9785         for every time both pads get their caps set.
9786         (gst_base_transform_handle_buffer): Give the ref to the transform
9787         function. Allows in-place modification of the buffer.
9788
9789         * gst/base/gstbasetransform.h (transform_caps): New class method.
9790         Given caps on one side, what can I do on the other.
9791         (set_caps): Take two caps, one for each side of the element.
9792
9793         * gst/gstpad.h:
9794         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9795         caps in place. This is safe because we can check the mutability of
9796         the caps, and a good idea because fixate functions are just called
9797         as a matter of last resort. (Not actually implemented.)
9798         (gst_pad_set_caps): If the caps we're setting is actually the same
9799         as the existing pad caps, just update the pointer without calling
9800         setcaps. Assert that caps is either NULL or fixed, as per the
9801         docs.
9802
9803         * gst/gstghostpad.c: Update for fixate changes.
9804
9805 2005-07-02  Andy Wingo  <wingo@pobox.com>
9806
9807         * gst/gstcaps.c:
9808         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9809         two refcounts makes it immutable, which is enough. Doc more.
9810
9811 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9812
9813         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9814           Put the mini_object into GValue as a mini_object,
9815           not a gpointer, since that's how we declared
9816           the signal.
9817
9818 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9819
9820         * examples/pwg/Makefile.am:
9821           Fix buildbot again.
9822
9823 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9824
9825         * docs/pwg/building-testapp.xml:
9826           Add extra check.
9827         * examples/pwg/Makefile.am:
9828           Fix buildbot.
9829
9830 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9831
9832         * configure.ac:
9833         * examples/Makefile.am:
9834         * examples/pwg/Makefile.am:
9835         * examples/pwg/extract.pl:
9836           Enable building the PWG examples.
9837         * docs/pwg/advanced-interfaces.xml:
9838           Add URI interface stub.
9839         * docs/pwg/advanced-types.xml:
9840         * docs/pwg/other-autoplugger.xml:
9841         * docs/pwg/appendix-porting.xml:
9842         * docs/pwg/pwg.xml:
9843           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9844         * docs/pwg/building-boiler.xml:
9845         * docs/pwg/building-chainfn.xml:
9846         * docs/pwg/building-pads.xml:
9847         * docs/pwg/building-props.xml:
9848         * docs/pwg/building-state.xml:
9849         * docs/pwg/building-testapp.xml:
9850           Update the building-*.xml parts for 0.9 changes. All examples
9851           code blocks compile in examples/pwg/*.
9852
9853 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9854
9855         * docs/manual/advanced-autoplugging.xml:
9856         * docs/manual/appendix-checklist.xml:
9857         * docs/manual/appendix-integration.xml:
9858         * docs/manual/highlevel-components.xml:
9859           Fix playbin/decodebin examples, update docs a bit, mention bus
9860           instead of signals in various places, mention kmplayer and
9861           kaffeine since they have a working GStreamer backend in the KDE
9862           section.
9863
9864 2005-06-30  Wim Taymans  <wim@fluendo.com>
9865
9866         * CHANGES-0.9:
9867         * docs/design/draft-ghostpads.txt:
9868         * docs/design/draft-push-pull.txt:
9869         * docs/design/draft-query.txt:
9870         * docs/design/part-TODO.txt:
9871         * docs/design/part-query.txt:
9872         Added CHANGES-0.9 doc, updated status of other docs.
9873         
9874         * gst/gstquery.h:
9875         Remove "hmm" macro
9876
9877 2005-06-30  Wim Taymans  <wim@fluendo.com>
9878
9879         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9880         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9881         (gst_base_sink_change_state):
9882         * gst/base/gstbasesink.h:
9883         Some tweaks, only EOS and a buffer complete a preroll.
9884
9885 2005-06-30  Andy Wingo  <wingo@pobox.com>
9886
9887         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9888         activate_push down to the internal pad as well.
9889
9890 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9891
9892         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9893
9894         * gst/gsttaginterface.c:
9895           Some documentation fixes (#307394 and #307397).
9896
9897 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9898
9899         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9900
9901         * gst/gstvalue.c: (gst_value_intersect_list):
9902           Fix memleak (#309125).
9903
9904 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9905
9906         * docs/manual/advanced-dataaccess.xml:
9907           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9908         * docs/manual/basics-pads.xml:
9909           Add reference for filtered caps to above chapter.
9910
9911 2005-06-30  Wim Taymans  <wim@fluendo.com>
9912
9913         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9914         (gst_bin_change_state):
9915         Probes are gone.
9916         Lame attempt at making the state change function a bit
9917         more readable.
9918
9919 2005-06-30  Wim Taymans  <wim@fluendo.com>
9920
9921         * docs/design/part-clocks.txt:
9922         * docs/design/part-element-sink.txt:
9923         * docs/design/part-events.txt:
9924         * docs/design/part-preroll.txt:
9925         * docs/design/part-states.txt:
9926         Some more tweeks and additions to the docs.
9927
9928 2005-06-30  Wim Taymans  <wim@fluendo.com>
9929
9930         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9931         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9932         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9933         (gst_pad_check_pull_range), (gst_pad_get_range),
9934         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9935         * gst/gstpad.h:
9936         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9937         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9938         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9939         (gst_pad_remove_buffer_probe):
9940         Removed atomic operations, use existing LOCK.
9941         Move exception handling out of main code path.
9942
9943 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9944
9945         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9946         (silly_return_true_function), (gst_pad_class_init),
9947         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9948         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9949         (gst_pad_send_event):
9950           Fix accumulator, add default value by using _emitv() instead
9951           of _emit() for signal emission.
9952
9953 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9954
9955         * docs/manual/advanced-dataaccess.xml:
9956         * examples/manual/Makefile.am:
9957           Add probe example.
9958         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9959           Make work (??).
9960
9961 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9962
9963         * gst/elements/gstfilesink.c: (gst_filesink_render):
9964           Simplify code so that we don't have to handle short
9965           writes and return GST_FLOW_ERROR if an error occured.
9966
9967 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9968
9969         * docs/gst/gstreamer-docs.sgml:
9970           Remove probes more.
9971
9972 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9973
9974         * docs/gst/gstreamer-sections.txt:
9975         * docs/gst/tmpl/gstpad.sgml:
9976         * docs/gst/tmpl/gstprobe.sgml:
9977         * gst/Makefile.am:
9978         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9979         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9980         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9981         (gst_pad_push_event), (gst_pad_send_event):
9982         * gst/gstpad.h:
9983         * gst/gstutils.c: (gst_pad_add_data_probe),
9984         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9985         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9986         (gst_pad_remove_buffer_probe):
9987         * gst/gstutils.h:
9988           Remove old probes, add new g-signal-based probes and some utility
9989           functions.
9990
9991 2005-06-29  Edward Hervey  <edward@fluendo.com>
9992
9993         * gst/gstelementfactory.c:
9994         * gst/gstutils.h:
9995         * gst/gstutils.c:
9996         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9997         the definition to the header file.
9998
9999 2005-06-29  Andy Wingo  <wingo@pobox.com>
10000
10001         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10002         plugins from the source directory.
10003
10004 2005-06-29  Wim Taymans  <wim@fluendo.com>
10005
10006         * docs/gst/tmpl/gstbuffer.sgml:
10007         * docs/gst/tmpl/gstclock.sgml:
10008         Some fixings for blantently wrong text.
10009
10010 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10011
10012         * check/Makefile.am:
10013         * gst/gst.c: (add_path_func), (init_pre):
10014         * gst/gstregistry.c: (gst_registry_add_path):
10015           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10016           only scan the GST_PLUGIN_PATH locations, and not add
10017           system locations
10018
10019 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10020
10021         * docs/gst/gstreamer-sections.txt:
10022         * docs/gst/tmpl/gstbasesrc.sgml:
10023         * gst/gstelement.c:
10024         * gst/gstelement.h:
10025         * gst/gstevent.c:
10026         * gst/gstutils.c:
10027           doc fixes
10028
10029 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10030
10031         * docs/manual/advanced-autoplugging.xml:
10032           Fix autoplugging example.
10033
10034 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10035
10036         * docs/manual/advanced-autoplugging.xml:
10037         * docs/manual/mime-world.fig:
10038           Try to get autoplugging working, fix type detection. Fix text
10039           in hello-world image.
10040
10041 2005-06-29  Wim Taymans  <wim@fluendo.com>
10042
10043         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10044         (gst_base_sink_change_state):
10045         Small debug line.
10046
10047         * gst/gstclock.h:
10048         map SIGNAL and BROADCAST to the right function.
10049
10050         * gst/gstobject.h:
10051         Remove redundant braces.
10052
10053         * gst/gstpad.c: (gst_pad_set_caps):
10054         Don't call setcaps function when reseting caps to NULL.
10055
10056         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10057         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10058         (gst_system_clock_id_unschedule):
10059         Use BROADCAST as this is what we do.
10060
10061 2005-06-29  Wim Taymans  <wim@fluendo.com>
10062
10063         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10064         We are actually prerolling before commiting the state
10065         change. 
10066
10067 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10068
10069         * docs/manual/advanced-clocks.xml:
10070         * docs/manual/advanced-interfaces.xml:
10071         * docs/manual/advanced-metadata.xml:
10072         * docs/manual/advanced-position.xml:
10073         * docs/manual/advanced-schedulers.xml:
10074         * docs/manual/advanced-threads.xml:
10075         * docs/manual/appendix-porting.xml:
10076         * docs/manual/basics-bins.xml:
10077         * docs/manual/basics-bus.xml:
10078         * docs/manual/basics-elements.xml:
10079         * docs/manual/basics-helloworld.xml:
10080         * docs/manual/basics-pads.xml:
10081         * docs/manual/highlevel-components.xml:
10082         * docs/manual/manual.xml:
10083         * docs/manual/thread.fig:
10084           Update (until threads/scheduling) Application Development Manual;
10085           remove GstThread, add GstBus, add simple porting checklist, add
10086           documentation for tag writing, clocks, make all examples until this
10087           part compile and run.
10088         * examples/manual/Makefile.am:
10089           Update from changes to Application Development Manual; add bus
10090           example, remove thread example.
10091
10092 2005-06-28  Wim Taymans  <wim@fluendo.com>
10093
10094         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10095         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10096         (gst_bus_source_dispatch):
10097         Add debugging messages.
10098         Make internal methods static.
10099         Handle the case where the bus is flushed in the handler.
10100         
10101         * gst/gstelement.c: (gst_element_get_bus):
10102         Fix refcount in _get_bus();
10103
10104         * gst/gstpipeline.c: (gst_pipeline_change_state),
10105         (gst_pipeline_get_clock_func):
10106         Clock refcounting fixes.
10107         Handle the case where preroll timed out more gracefully.
10108         
10109         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10110         Clean up the internal thread in dispose. This is needed
10111         for subclasses that actually get disposed.
10112         
10113         * gst/schedulers/threadscheduler.c:
10114         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10115         (gst_thread_scheduler_dispose):
10116         Free thread pool in dispose.
10117
10118 2005-06-28  Andy Wingo  <wingo@pobox.com>
10119
10120         * tests/network-clock-utils.scm (debug, print-event): New utils.
10121
10122         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10123         (*packet-loss*): Unified loss probability.
10124         (network-time): Report out-of-band events.
10125
10126         * tests/plot-data: Add support for out-of-band events. Hack it
10127         into this script instead of passing it down the pipe; should fix
10128         this later.
10129
10130 2005-06-28  Wim Taymans  <wim@fluendo.com>
10131
10132         * docs/gst/gstreamer.types:
10133         * docs/gst/tmpl/gstbasesrc.sgml:
10134         * docs/gst/tmpl/gstpad.sgml:
10135         Docs fixes.
10136
10137 2005-06-28  Wim Taymans  <wim@fluendo.com>
10138
10139         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10140         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10141         (gst_proxy_pad_do_fixatecaps):
10142         Correctly proxy the check_pull_range function.
10143
10144 2005-06-28  Andy Wingo  <wingo@pobox.com>
10145
10146         * tests/network-clock.scm: Removed need for slib.
10147         
10148 2005-06-28  Wim Taymans  <wim@fluendo.com>
10149
10150         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10151         (gst_basesink_preroll_queue_flush):
10152         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10153         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10154         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10155         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10156         (gst_proxy_pad_set_property):
10157         * gst/gstpad.c:
10158         * gst/gstpad.h:
10159         * gst/gstqueue.c: (gst_queue_init):
10160         The deprecated pad loop function is removed now.
10161
10162 2005-06-28  Andy Wingo  <wingo@pobox.com>
10163
10164         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10165         New parameters, simulate network packet loss.
10166
10167         * tests/network-clock-utils.scm: Initialize the RNG.
10168
10169 2005-06-28  Wim Taymans  <wim@fluendo.com>
10170
10171         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10172         (gst_basesink_event), (gst_basesink_deactivate):
10173         Flushing the preroll queue always needs to unlock the waiters.
10174
10175 2005-06-28  Edward Hervey  <edward@fluendo.com>
10176
10177         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10178         Wheen a seek was successful on a pipeline, set the stream_time to the
10179         seek offset in order to have a synchronized stream_time.
10180
10181 2005-06-28  Wim Taymans  <wim@fluendo.com>
10182
10183         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10184         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10185         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10186         (gst_proxy_pad_do_fixatecaps):
10187         Call wrapper function instead of just calling the function
10188         pointers. This takes care of any locking and whatmore.
10189
10190 2005-06-28  Wim Taymans  <wim@fluendo.com>
10191
10192         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10193         (gst_pad_pull_range):
10194         * gst/gstpad.h:
10195         CONNECTED -> LINKED.
10196
10197 2005-06-28  Andy Wingo  <wingo@pobox.com>
10198
10199         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10200         source-munging commit!!!
10201
10202         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10203         (gst_object_sink): Take gpointer arguments, not GstObject --
10204         avoids casts. Like GLib.
10205
10206         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10207         activate.
10208
10209 2005-06-27  Andy Wingo  <wingo@pobox.com>
10210
10211         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10212         remaining buffer.
10213
10214         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10215         returns a sorted copy of the trace list.
10216         (gst_alloc_trace_print_live): New API, only prints traces with
10217         live objects. Sort the list.
10218         (gst_alloc_trace_print_all): Sort the list.
10219         (gst_alloc_trace_print): Align columns.
10220
10221         * gst/elements/gstttypefindelement.c:
10222         * gst/elements/gsttee.c:
10223         * gst/base/gstbasesrc.c:
10224         * gst/base/gstbasesink.c:
10225         * gst/base/gstbasetransform.c:
10226         * gst/gstqueue.c: Adapt for pad activation changes.
10227
10228         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10229         sched.
10230         (gst_pipeline_dispose): Drop ref on sched.
10231
10232         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10233         (gst_pad_activate_default): Push mode by default.
10234         (pre_activate_switch, post_activate_switch): New stubs, things to
10235         do before and after switching activation modes on pads.
10236         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10237         the pad's activate function to choose which mode to activate.
10238         Shortcut on deactivation and call the right function directly.
10239         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10240         mode.
10241         (gst_pad_activate_push): New API, same for push mode.
10242         (gst_pad_set_activate_function) 
10243         (gst_pad_set_activatepull_function) 
10244         (gst_pad_set_activatepush_function): Setters for new API.
10245
10246         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10247         Trace all miniobjects.
10248         (gst_mini_object_make_writable): Unref the arg if we copy, like
10249         gst_caps_make_writable.
10250
10251         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10252
10253         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10254         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10255         Adapt for new pad API.
10256
10257         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10258
10259         * gst/gstelement.h:
10260         * gst/gstelement.c (gst_element_iterate_src_pads) 
10261         (gst_element_iterate_sink_pads): New API functions.
10262         
10263         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10264         should fold into gstiterator.c in some form.
10265         (gst_element_pads_activate): Simplified via use of fold and
10266         delegation of decisions to gstpad->activate.
10267
10268         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10269         help in debugging.
10270
10271         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10272         class once in init, like gstmessage. Didn't run into this issue
10273         but it seems correct. Don't initialize a trace, gstminiobject does
10274         that.
10275
10276         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10277         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10278         to the bus.
10279         (assert_live_count): New util function, uses alloc traces to check
10280         cleanup.
10281
10282         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10283         To be modified when unlink drops the internal pad.
10284
10285 2005-06-27  Wim Taymans  <wim@fluendo.com>
10286
10287         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10288         (gst_bin_change_state):
10289         Cleanup the get_state() function a little, make sure it
10290         iterates the same set of elements.
10291         Added stub iterate_state_order().
10292
10293 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10294
10295         * docs/gst/gstreamer-docs.sgml:
10296         * docs/gst/gstreamer-sections.txt:
10297         * docs/gst/gstreamer.types:
10298         * docs/gst/tmpl/gstbasesink.sgml:
10299         * docs/gst/tmpl/gstbasesrc.sgml:
10300         * docs/gst/tmpl/gstbasetransform.sgml:
10301         * docs/gst/tmpl/gstelement.sgml:
10302         * docs/gst/tmpl/gstiterator.sgml:
10303         * gst/base/gstbasesrc.c:
10304         * gst/base/gstbasesrc.h:
10305         * gst/base/gstbasetransform.h:
10306         * gst/gstelement.c:
10307         * gst/gstiterator.h:
10308           adding basetransform and iterator docs
10309
10310 2005-06-27  Andy Wingo  <wingo@pobox.com>
10311
10312         * docs/design/part-activation.txt: Notes on how activation should
10313         work -- not quite implemented yet.
10314
10315 2005-06-25  Wim Taymans  <wim@fluendo.com>
10316
10317         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10318         At least get the chain function correct, needs more
10319         fixing.
10320
10321 2005-06-25  Wim Taymans  <wim@fluendo.com>
10322
10323         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10324         (gst_basesink_handle_object), (gst_basesink_event),
10325         (gst_basesink_do_sync), (gst_basesink_handle_event),
10326         (gst_basesink_change_state):
10327         * gst/gsttask.h:
10328         Right, two problems here: ghostpads don't take locks and
10329         glib _rec_mutex_lock_full() with depth==0 still locks.
10330         Catch illegal locking and g_warn them.
10331
10332 2005-06-25  Wim Taymans  <wim@fluendo.com>
10333
10334         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10335         Have to check for completion now...
10336
10337 2005-06-25  Wim Taymans  <wim@fluendo.com>
10338
10339         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10340         (gst_basesink_handle_object), (gst_basesink_event),
10341         (gst_basesink_do_sync), (gst_basesink_handle_event),
10342         (gst_basesink_change_state):
10343         * gst/gstpad.h:
10344         Unlock STREAM_LOCK whatever the recursion was.
10345
10346 2005-06-25  Wim Taymans  <wim@fluendo.com>
10347
10348         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10349         (gst_basesink_preroll_queue_empty),
10350         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10351         (gst_basesink_event), (gst_basesink_do_sync),
10352         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10353         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10354         (gst_basesink_change_state):
10355         Reworked the base sink, handle event and buffer serialisation
10356         correctly and removed possible deadlock.
10357         Handle EOS correctly.
10358
10359 2005-06-25  Wim Taymans  <wim@fluendo.com>
10360
10361         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10362         (gst_pipeline_change_state):
10363         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10364         Allow elements to post EOS in the state change function.
10365         Fix up -launch, make it exit the poll loop when the
10366         pipeline actually changed state.
10367         Fix up warning parsing in -launch.
10368
10369 2005-06-25  Wim Taymans  <wim@fluendo.com>
10370
10371         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10372         (gst_tee_sink_activate):
10373         Core takes STREAM_LOCK for us now.
10374
10375 2005-06-25  Wim Taymans  <wim@fluendo.com>
10376
10377         * gst/gstelement.c: (gst_element_get_state_func),
10378         (gst_element_set_state):
10379         * gst/gstelement.h:
10380         * gst/gstmessage.c: (gst_message_parse_error),
10381         (gst_message_parse_warning):
10382         Keep track of current target state while performing a state
10383         change so that subclasses can do something interesting.
10384         Fix parsing of warning/error messages when GError is NULL.
10385
10386 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10387
10388         * docs/gst/Makefile.am:
10389         * docs/gst/gstreamer-docs.sgml:
10390         * docs/gst/gstreamer-sections.txt:
10391         * docs/gst/gstreamer.types:
10392         * docs/gst/tmpl/gstbasesink.sgml:
10393         * docs/gst/tmpl/gstbasesrc.sgml:
10394         * docs/gst/tmpl/gstbin.sgml:
10395         * docs/gst/tmpl/gstcompat.sgml:
10396         * docs/gst/tmpl/gstfakesink.sgml:
10397         * docs/gst/tmpl/gstfakesrc.sgml:
10398         * docs/gst/tmpl/gstfilesink.sgml:
10399         * docs/gst/tmpl/gstfilesrc.sgml:
10400         * docs/gst/tmpl/gstindex.sgml:
10401         * docs/manual/appendix-quotes.xml:
10402         * gst/base/gstbasesrc.h:
10403         * gst/elements/gstfakesrc.h:
10404         * gst/gstmessage.h:
10405           start pulling in base classes and elements in our docs
10406
10407 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10408
10409         * docs/gst/Makefile.am:
10410         * docs/libs/Makefile.am:
10411           fixed make distcheck with gtk-doc 1.3
10412
10413 2005-06-23  Wim Taymans  <wim@fluendo.com>
10414
10415         * gst/gstelement.c: (gst_element_get_state_func),
10416         (gst_element_set_state), (gst_element_change_state):
10417         When the state did not change, also report NO_PREROLL
10418         when it matters.
10419
10420 2005-06-23  Wim Taymans  <wim@fluendo.com>
10421
10422         * gst/gstpad.c: (gst_pad_event_default):
10423         * gst/gstqueue.c: (gst_queue_loop):
10424         No unsafe task pausing please.
10425
10426 2005-06-23  Wim Taymans  <wim@fluendo.com>
10427
10428         * gst/schedulers/threadscheduler.c:
10429         (gst_thread_scheduler_task_start),
10430         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10431         Ref the task before pushing it on the threadpool. This
10432         makes sure that we have a ref when the threadfunction is
10433         actually called.
10434
10435 2005-06-23  Andy Wingo  <wingo@pobox.com>
10436
10437         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10438         offset is greater than the file's size.
10439
10440         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10441         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10442         * gst/gstobject.c (gst_object_class_init): Make the class lock
10443         recursive. Wim won't let me drop deep_notify. Decodebin works
10444         again, whoopdy doo.
10445
10446         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10447         internal pad, and hacks accordingly. Doesn't do it on the target
10448         pad because we change its caps. Probably catches all cases of
10449         interest tho.
10450         (gst_ghost_pad_set_property): Connect to notify::caps as
10451         appropritate.
10452
10453         * tests/network-clock.scm (plot-simulation): Pipe data to the
10454         elite python skript.
10455
10456         * tests/network-clock-utils.scm (define-parameter): New macro,
10457         defines a parameter that can be set via the command line.
10458         (set-parameter!, parse-parameter-arguments): Command line args
10459         parser.
10460
10461         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10462         stdin.
10463
10464 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10465
10466         * gst/elements/gsttypefindelement.c:
10467         (gst_type_find_element_handle_event):
10468           Don't restart typefinding on a discont.
10469         * gst/gstelement.c: (gst_element_set_state):
10470           Debug spelling fix.
10471         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10472           Allow changing mode of an active pad.
10473           Debug output fixes.
10474         * gst/registries/gstlibxmlregistry.c: (load_feature):
10475           Don't cast a static pad template to a normal pad template.
10476
10477 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10478
10479         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10480         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10481           remove gst_strtoll completely, since it didn't actually do
10482           anything more than what g_ascii_strtoull already does.
10483           check for range errors when deserializing
10484           do a cast for the unsigned cases; but further fixing needs
10485           a decision on what the interpretation of "(int)" and
10486           deserialization should be for values that fall outside the
10487           type's boundaries (ie, refuse, or interpret as casting)
10488
10489 2005-06-23  Wim Taymans  <wim@fluendo.com>
10490
10491         * check/Makefile.am:
10492         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10493         * docs/design/part-live-source.txt:
10494         * docs/design/part-states.txt:
10495         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10496         (gst_basesrc_set_live), (gst_basesrc_is_live),
10497         (gst_basesrc_get_range), (gst_basesrc_activate),
10498         (gst_basesrc_change_state):
10499         * gst/base/gstbasesrc.h:
10500         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10501         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10502         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10503         * gst/gstelement.c: (gst_element_get_state_func),
10504         (gst_element_set_state):
10505         * gst/gstelement.h:
10506         * gst/gsttypes.h:
10507         * tools/gst-launch.c: (event_loop), (main):
10508         Added support for live sources and other elements that
10509         cannot do preroll.
10510         Updated design docs, added live-source design doc.
10511         Implemented live source functionality in basesrc
10512         Fix error condition in _bin_get_state()
10513         Implement live source handling in -launch.
10514         Added check for live sources.
10515         Fixed case in GstBin where elements were changed state
10516         multiple times.
10517
10518
10519 2005-06-23  Andy Wingo  <wingo@pobox.com>
10520
10521         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10522         borken refcounting.
10523
10524         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10525         gst_caps_replace takes care of this for us.
10526
10527         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10528         gst_pad_set_caps on the target, not just its setcaps() function.
10529
10530         * tests/network-clock.scm: 
10531         * tests/network-clock-utils.scm: A network clock simulator.
10532         Something of an algorithmic testbed before doing something in C.
10533
10534 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10535
10536         * check/Makefile.am:
10537         * check/gst/capslist.h:
10538           copy over from 0.8, and add two with bitmasks specified with
10539           (int) 0xFF...
10540         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10541           add test to parse everything from capslist.h
10542         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10543         (main):
10544           add test for structure deserialization
10545         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10546           add tests for deserialization of strings to int types
10547         * gst/gststructure.c: (gst_structure_nth_field_name):
10548         * gst/gststructure.h:
10549           add a way to get the name of a field referenced by index
10550         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10551           instead of checking if the resulting long long lies between
10552           min and max, we check if the long long would fit into
10553           a number of bytes for the final type.
10554           This fixes cases where a string represents 2^32 - 1, which
10555           when cast to int would be the (valid) -1, but is bigger than
10556           G_MAXINT
10557
10558 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10559
10560         * gst/parse/grammar.y:
10561           add a log line for type deserialization
10562
10563 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10564
10565         * check/gst/gstvalue.c: (START_TEST):
10566         * gst/gstvalue.c: (gst_value_deserialize):
10567           return long long, not int, so gint64 deserialization actually
10568           works.  Is there any flag that makes the compiler check this ?
10569           Fixes #308559
10570
10571 2005-06-22  Wim Taymans  <wim@fluendo.com>
10572
10573         * gst/gstbuffer.h:
10574         Added convenience macros for setting buffers in GValue.
10575
10576 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10577
10578         * check/gst/.cvsignore:
10579         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10580           add a test deserializing int64, and comment part out because
10581           it fails, yay !
10582
10583 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10584
10585         * check/Makefile.am:
10586         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10587         * testsuite/Makefile.am:
10588         * testsuite/caps/Makefile.am:
10589         * testsuite/caps/value_serialize.c:
10590         * testsuite/test_gst_init.c:
10591           move a value_serialize test over
10592
10593 2005-06-20  Wim Taymans  <wim@fluendo.com>
10594
10595         * gst/gstpad.c:
10596         Small doc updates.
10597         
10598         * gst/gstvalue.c: (gst_value_compare_buffer),
10599         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10600         (gst_value_compare_flags), (gst_value_serialize_flags),
10601         (gst_value_deserialize_flags), (_gst_value_initialize):
10602         Fix serialisation of buffers, they are not boxed types anymore
10603
10604 2005-06-20  Wim Taymans  <wim@fluendo.com>
10605
10606         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10607         Testcase to show error in buffer-on-caps serialisation.
10608
10609 2005-06-20  Andy Wingo  <wingo@pobox.com>
10610
10611         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10612         will be adding to later.
10613
10614         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10615         if its socks fill with rocks.
10616         (gst_system_clock_obtain): Set the name on object construction.
10617         Avoid double-checked locking.
10618
10619 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10620
10621         * gst/gsturi.c: (gst_element_make_from_uri):
10622           Fix potential endless loop.
10623
10624 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10625
10626         * check/Makefile.am:
10627           add gsttag
10628         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10629         (main):
10630           move over from testsuite dir and clean up
10631         * configure.ac:
10632         * gst/gsttag.c:
10633         * testsuite/Makefile.am:
10634         * testsuite/tags/.cvsignore:
10635         * testsuite/tags/Makefile.am:
10636         * testsuite/tags/merge.c:
10637           remove testsuite/tags
10638
10639 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10640
10641         * docs/gst/gstreamer-sections.txt:
10642         * docs/gst/tmpl/gstenumtypes.sgml:
10643         * win32/gstenumtypes.c:
10644           clean up documentation build a little
10645
10646 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10647
10648         * check/gstcheck.h:
10649           add macros for checking refcounts on objects and caps
10650         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10651           add some more unit tests
10652         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10653         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10654           fix leaked refcounts (I hope :)) so unittest works
10655         * gst/gstpad.h:
10656           whitespace removal
10657
10658 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10659
10660         * configure.ac: back to HEAD
10661
10662 === release 0.9.1 ===
10663
10664 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10665
10666         * NEWS:
10667         * RELEASE:
10668           updated
10669
10670 2005-06-17  Andy Wingo  <wingo@pobox.com>
10671
10672         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10673         assert; it's always possible that the pad gets deactivated in
10674         between the checks in gstpad.c and the implementation. Rely on
10675         finish_preroll() to return a FLUSHING or similar instead of on the
10676         assert.
10677         
10678         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10679         clock and post an EOS message if we come out of finish_preroll in
10680         the playing state.
10681
10682 2005-06-16  David Schleef  <ds@schleef.org>
10683
10684         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10685         (gst_capsfilter_set_property): Allow NULL as possible value
10686         for filter_caps property, indicating GST_CAPS_ANY.
10687
10688 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10689
10690         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10691           fix debug output
10692         * gst/schedulers/Makefile.am:
10693           use libgst prefix
10694         * gstreamer.spec.in:
10695           fix spec for it
10696
10697 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10698
10699         * gstreamer.spec.in:
10700           clean up
10701
10702 2005-06-08  Andy Wingo  <wingo@pobox.com>
10703
10704         * gst/gstutils.c: RPAD fixes all around.
10705         (gst_element_link_pads): Refcounting fixes.
10706
10707         * tools/gst-inspect.c:
10708         * tools/gst-xmlinspect.c:
10709         * parse/grammar.y:
10710         * gst/base/gsttypefindhelper.c:
10711         * gst/base/gstbasesink.c:
10712         * gst/gstqueue.c: RPAD fixes.
10713
10714         * gst/gstghostpad.h:
10715         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10716         pads. The tricky thing is they provide both source and sink
10717         interfaces, since they proxy the internal pad for the external
10718         pad, and vice versa. Implement with lower-level ProxyPad objects,
10719         with the interior proxy pad as a child of the exterior ghost pad.
10720         Should write a doc on this.
10721         
10722         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10723         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10724         gst_object API.
10725         
10726         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10727         pads are real pads. No ghost pads in this file. Not documenting
10728         the myriad s/RPAD/PAD/ and REALIZE fixes.
10729         (gst_pad_class_init): Add properties for "direction" and
10730         "template". Both are construct-only, so they can't change during
10731         the life of the pad. Fixes properly deriving from GstPad.
10732         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10733         derived objects, just set properties when creating the objects via
10734         g_object_new.
10735         (gst_pad_get_parent): Implement as a function, return NULL if the
10736         parent is not an element.
10737         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10738         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10739         
10740         * gst/gstobject.c (gst_object_class_init): Make name a construct
10741         property. Don't set it in the object init.
10742
10743         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10744         with UNKNOWN direction.
10745         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10746         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10747         (gst_element_remove_pad): Remove ghost-pad special cases.
10748         (gst_element_pads_activate): Remove rpad cruft.
10749
10750         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10751         catch the pad's-parent-not-an-element case.
10752
10753         * gst/gst.h: Include gstghostpad.h.
10754
10755         * gst/gst.c (init_post): No more real, ghost pads.
10756
10757         * gst/Makefile.am: Add gstghostpad.[ch].
10758
10759         * check/Makefile.am:
10760         * check/gst/gstbin.c:
10761         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10762         into a bin creates ghost pads, and that the refcounts are right.
10763         Partly moved from gstbin.c.
10764
10765 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10766
10767         * check/gst-libs/.cvsignore:
10768         * check/gst/.cvsignore:
10769         * check/pipelines/.cvsignore:
10770           ignore more
10771         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10772         (START_TEST), (cleanup_suite), (main):
10773           add some tests related to cleanup after running pipelines
10774
10775 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10776
10777         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10778           add a testsuite for GstBuffer
10779
10780 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10781
10782         * gst/gstminiobject.h:
10783           add defines for accessing the refcount
10784
10785 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10786
10787         * Makefile.am: added support for html unit test coverage reports
10788
10789 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10790
10791         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10792           Free existing caps if the capsfilter changes. Add a FIXME about
10793           setting those caps on the pads.
10794
10795         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10796           Before adding a ghost pad to a parent bin, check that there isn't
10797           already one for the element on the bin. Prevents infinite recursion
10798           when using decodebin in parse pipelines. Andy says he'll rewrite the
10799           way this works anyway, so ignore the hack.
10800
10801 2005-06-02  Andy Wingo  <wingo@pobox.com>
10802
10803         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10804         file size, pass it on to the type find helper.
10805
10806         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10807         segment_start and segment_end properly according to the seek
10808         method. Segment_end is still a bit flaky because offset can be
10809         negative for CUR and END cases, but it takes -1 as an "unset"
10810         value.
10811
10812 2005-06-02  Wim Taymans  <wim@fluendo.com>
10813
10814         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10815         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10816         (gst_basesink_activate):
10817         * gst/base/gstbasesink.h:
10818         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10819         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10820         (gst_pad_query), (gst_pad_start_task):
10821         * gst/gstpad.h:
10822         * gst/gstqueue.c: (gst_queue_bufferalloc),
10823         (gst_queue_handle_sink_event), (gst_queue_chain):
10824         Bufferalloc: return GstFlowReturn to more accuratly report
10825         why allocation failed.
10826
10827 2005-06-02  Wim Taymans  <wim@fluendo.com>
10828
10829         * gst/gstpipeline.c: (gst_pipeline_send_event):
10830         Take snapshot of state without blocking.
10831
10832 2005-06-02  Wim Taymans  <wim@fluendo.com>
10833
10834         * docs/design/part-TODO.txt:
10835         * docs/design/part-caps.txt:
10836         * docs/design/part-clocks.txt:
10837         * docs/design/part-negotiation.txt:
10838         * docs/design/part-preroll.txt:
10839         Small doc updates 
10840
10841 2005-05-30  Wim Taymans  <wim@fluendo.com>
10842
10843         * gst/elements/gstidentity.c: (gst_identity_event),
10844         (gst_identity_transform), (gst_identity_get_property):
10845         Protect last_message property as it is accessed from
10846         multiple threads.
10847
10848 2005-05-30  Wim Taymans  <wim@fluendo.com>
10849
10850         * gst/gstelement.c: (gst_element_init),
10851         (gst_element_pads_activate), (gst_element_change_state):
10852         Slicker pad activation code.
10853
10854 2005-05-30  Wim Taymans  <wim@fluendo.com>
10855
10856         * gst/Makefile.am:
10857         * gst/gstelement.h:
10858         * gst/gstelementfactory.h:
10859         * gst/gsttypes.h:
10860         Move elementfactory methods to separate .h file.
10861
10862 2005-05-30  Wim Taymans  <wim@fluendo.com>
10863
10864         * docs/design/part-overview.txt:
10865         * gst/gstsystemclock.h:
10866         Small typo fixes, doc updates.
10867
10868 2005-05-30  Wim Taymans  <wim@fluendo.com>
10869
10870         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10871         (init_popt_callback):
10872         Remove cpu-opt flag.
10873
10874 2005-05-30  Wim Taymans  <wim@fluendo.com>
10875
10876         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10877         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10878         * gst/gstbuffer.h:
10879         Avoid typechecking in places where not needed.
10880         Added accessor for malloc_data.
10881
10882 2005-05-30  Wim Taymans  <wim@fluendo.com>
10883
10884         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10885         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10886         (gst_pad_configure_sink), (gst_pad_configure_src),
10887         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10888         (gst_pad_start_task):
10889         Propagate errors from _set_caps() in configure_src/sink
10890         functions instead of returning TRUE.
10891         FLUSH events can travel up and downstream
10892
10893
10894 2005-05-30  Wim Taymans  <wim@fluendo.com>
10895
10896         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10897         (gst_basesink_activate):
10898         Handle EOS in preroll.
10899
10900 2005-05-30  Wim Taymans  <wim@fluendo.com>
10901
10902         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10903         (gst_queue_loop), (gst_queue_handle_src_event):
10904         Remove old pieces of code
10905         Flushing the queue in an upstream event is a very bad idea.
10906
10907 2005-05-26  Andy Wingo  <wingo@pobox.com>
10908
10909         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10910         gst_value_set_mini_object so as to add a ref on the object (which
10911         will be removed when the value is unset).
10912
10913         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10914         arg type in ::handoff.
10915
10916         * gst/gstelement.c (gst_element_change_state): Also deactivate
10917         pads in READY->NULL, just in case the element didn't make it to
10918         PAUSED. Wingo tested, Wim approved.
10919
10920 2005-05-26  Wim Taymans  <wim@fluendo.com>
10921
10922         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10923         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10924         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10925         A flushing pad cannot be used to alloc_buffer from.
10926
10927 2005-05-26  Wim Taymans  <wim@fluendo.com>
10928
10929         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10930         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10931         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10932         (gst_bus_create_watch), (gst_bus_add_watch_full):
10933         * gst/gstbus.h:
10934         Implement a real GSource and use g_main_context_wakeup() to
10935         signal new messages instead of the socketpair.
10936
10937 2005-05-25  Wim Taymans  <wim@fluendo.com>
10938
10939         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10940         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10941         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10942         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10943         (gst_pad_send_event), (gst_pad_start_task):
10944         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10945         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10946         (gst_queue_sink_activate), (gst_queue_src_activate),
10947         (gst_queue_change_state):
10948         * gst/gstqueue.h:
10949         Fix state changes for non sinks. We now change sinks, then elements
10950         with unconnected srcpads, then the rest.
10951         More efficient queue unlocking in flush and state changes.
10952         Set the pad activate mode even if it does not have an activate
10953         function.
10954
10955 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10956
10957         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10958           Don't go in pull mode for non-seekable sources.
10959         * gst/elements/gsttypefindelement.h:
10960         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10961         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10962         (free_entry), (stop_typefinding),
10963         (gst_type_find_element_handle_event), (find_peek),
10964         (gst_type_find_element_chain), (do_pull_typefind),
10965         (gst_type_find_element_change_state):
10966           Allow typefinding (w/o seeking) in push-mode, simplified version
10967           of what was in 0.8.
10968         * gst/gstutils.c: (gst_buffer_join):
10969         * gst/gstutils.h:
10970           gst_buffer_join() from 0.8.
10971
10972 2005-05-25  Wim Taymans  <wim@fluendo.com>
10973
10974         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10975         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10976         (gst_pad_send_event), (gst_pad_start_task):
10977         Disable attempt at mode switching until it is figured out.
10978
10979 2005-05-25  Wim Taymans  <wim@fluendo.com>
10980
10981         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10982         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10983         (gst_basesink_finish_preroll), (gst_basesink_chain),
10984         (gst_basesink_loop), (gst_basesink_activate),
10985         (gst_basesink_change_state):
10986         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10987         (gst_basesrc_get_range), (gst_basesrc_loop),
10988         (gst_basesrc_activate):
10989         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10990         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10991         (gst_real_pad_init), (gst_real_pad_set_property),
10992         (gst_real_pad_get_property), (gst_pad_set_active),
10993         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10994         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10995         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10996         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10997         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10998         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10999         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11000         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11001         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11002         (gst_pad_stop_task):
11003         * gst/gstpad.h:
11004         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11005         (gst_queue_loop), (gst_queue_src_activate):
11006         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11007         (gst_task_get_state):
11008         * gst/gsttask.h:
11009         * gst/schedulers/threadscheduler.c:
11010         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11011         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11012         in task function.
11013         Remove ACTIVE pad flag, use FLUSHING everywhere
11014         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11015         functions.
11016         Add locks around IS_FLUSHING when reading.
11017         Take STREAM lock in chain(), get_range() functions so plugins
11018         don't need to take it anymore.
11019         
11020
11021
11022 2005-05-25  Wim Taymans  <wim@fluendo.com>
11023
11024         * tools/gst-launch.c: (event_loop):
11025         Unref message after using its contents instead of
11026         before.
11027
11028 2005-05-24  Wim Taymans  <wim@fluendo.com>
11029
11030         * docs/design/draft-ghostpads.txt:
11031         * docs/design/draft-push-pull.txt:
11032         * docs/design/draft-query.txt:
11033         * docs/design/part-overview.txt:
11034         Docs updates, added general overview doc.
11035
11036 2005-05-21  David Schleef  <ds@schleef.org>
11037
11038         * docs/gst/tmpl/old/GstBin.sgml:
11039         * docs/gst/tmpl/old/GstBuffer.sgml:
11040         * docs/gst/tmpl/old/GstCaps.sgml:
11041         * docs/gst/tmpl/old/GstClock.sgml:
11042         * docs/gst/tmpl/old/GstCompat.sgml:
11043         * docs/gst/tmpl/old/GstData.sgml:
11044         * docs/gst/tmpl/old/GstElement.sgml:
11045         * docs/gst/tmpl/old/GstEvent.sgml:
11046         * docs/gst/tmpl/old/GstIndex.sgml:
11047         * docs/gst/tmpl/old/GstStructure.sgml:
11048         * docs/gst/tmpl/old/GstTag.sgml:
11049         * docs/gst/tmpl/old/cothreads.sgml:
11050         * docs/gst/tmpl/old/cothreads_compat.sgml:
11051         * docs/gst/tmpl/old/gettext.sgml:
11052         * docs/gst/tmpl/old/gobject2gtk.sgml:
11053         * docs/gst/tmpl/old/grammar.tab.sgml:
11054         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11055         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11056         * docs/gst/tmpl/old/gst_private.sgml:
11057         * docs/gst/tmpl/old/gstaggregator.sgml:
11058         * docs/gst/tmpl/old/gstarch.sgml:
11059         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11060         * docs/gst/tmpl/old/gstbufferstore.sgml:
11061         * docs/gst/tmpl/old/gstdata_private.sgml:
11062         * docs/gst/tmpl/old/gstdisksink.sgml:
11063         * docs/gst/tmpl/old/gstdisksrc.sgml:
11064         * docs/gst/tmpl/old/gstelementfactory.sgml:
11065         * docs/gst/tmpl/old/gstextratypes.sgml:
11066         * docs/gst/tmpl/old/gstfakesink.sgml:
11067         * docs/gst/tmpl/old/gstfakesrc.sgml:
11068         * docs/gst/tmpl/old/gstfdsink.sgml:
11069         * docs/gst/tmpl/old/gstfdsrc.sgml:
11070         * docs/gst/tmpl/old/gstfilesink.sgml:
11071         * docs/gst/tmpl/old/gstfilesrc.sgml:
11072         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11073         * docs/gst/tmpl/old/gstidentity.sgml:
11074         * docs/gst/tmpl/old/gstindexfactory.sgml:
11075         * docs/gst/tmpl/old/gstmarshal.sgml:
11076         * docs/gst/tmpl/old/gstmd5sink.sgml:
11077         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11078         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11079         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11080         * docs/gst/tmpl/old/gstpipefilter.sgml:
11081         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11082         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11083         * docs/gst/tmpl/old/gstshaper.sgml:
11084         * docs/gst/tmpl/old/gstspider.sgml:
11085         * docs/gst/tmpl/old/gstspideridentity.sgml:
11086         * docs/gst/tmpl/old/gststatistics.sgml:
11087         * docs/gst/tmpl/old/gsttee.sgml:
11088         * docs/gst/tmpl/old/gsttimecache.sgml:
11089         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11090         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11091         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11092         * docs/gst/tmpl/old/types.sgml:
11093           I didn't intend to add these or check them in.
11094
11095 2005-05-19  David Schleef  <ds@schleef.org>
11096
11097         * configure.ac: Use -no-common everywhere.  In a sane world, it
11098           would be the default in libtool, because without it, you can't
11099           build DLLs on Windows.
11100         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11101         * docs/gst/gstreamer-sections.txt:
11102         * docs/gst/tmpl/gstcpu.sgml:
11103         * docs/gst/tmpl/gstdata.sgml:
11104         * docs/gst/tmpl/gstthread.sgml:
11105
11106 2005-05-19  David Schleef  <ds@schleef.org>
11107
11108         * gst/gstminiobject.c: (gst_value_set_mini_object),
11109         (gst_value_take_mini_object), (gst_value_get_mini_object):
11110         * gst/gstminiobject.h: Add GValue set/get functions.
11111
11112 2005-05-19  Wim Taymans  <wim@fluendo.com>
11113
11114         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11115         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11116         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11117         * gst/gstbuffer.h:
11118         * gst/gstbus.c: (gst_bus_post):
11119         * gst/gstelement.c: (gst_element_get_random_pad):
11120         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11121         Make subbufer unref the parent in finalize.
11122         some more debugging info.
11123
11124
11125 2005-05-19  Wim Taymans  <wim@fluendo.com>
11126
11127         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11128         (gst_basesink_init), (gst_basesink_finalize),
11129         (gst_basesink_activate), (gst_basesink_change_state):
11130         Don't free preroll queue too early.
11131
11132 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11133
11134         * gst/Makefile.am:
11135         * gst/ROADMAP:
11136           Hi, I'm outdated. Please shoot me.
11137
11138 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11139
11140         * gst/gstpipeline.c: (gst_pipeline_send_event):
11141           Do not access variables after they have been deleted.
11142
11143 2005-05-19  Wim Taymans  <wim@fluendo.com>
11144
11145         * tools/gst-inspect.c: (print_plugin_features):
11146         A plugin feature does unfortunatly not use the
11147         object name yet...
11148
11149 2005-05-18  Wim Taymans  <wim@fluendo.com>
11150
11151         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11152         Port _span() functions to new subbuffers.
11153
11154 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11155
11156         * gst/gstbin.c: (gst_bin_add_func):
11157           Fix clock settery in bins when adding kids after the clock has
11158           been selected.
11159
11160 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11161
11162         * gst/elements/gstidentity.c: (gst_identity_class_init):
11163           Workaround until signals support GstMiniObject.
11164
11165 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11166
11167         * gst/gstbuffer.c:
11168         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11169
11170 2005-05-18  Wim Taymans  <wim@fluendo.com>
11171
11172         * gst/base/Makefile.am:
11173         * gst/base/gstadapter.c: (gst_adapter_base_init),
11174         (gst_adapter_class_init), (gst_adapter_init),
11175         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11176         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11177         (gst_adapter_flush), (gst_adapter_available),
11178         (gst_adapter_available_fast):
11179         * gst/base/gstadapter.h:
11180         Ported and added adapter to the base classes.
11181
11182 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11183
11184         * gst/gst.c:
11185         * gst/gstmessage.c:
11186           Make sure the class is reffed/unreffed once before threads can be
11187           used.  Fixes #304551.
11188
11189 2005-05-17  Wim Taymans  <wim@fluendo.com>
11190
11191         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11192         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11193         * gst/gstminiobject.c: (gst_mini_object_get_type),
11194         (gst_mini_object_free):
11195         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11196         (gst_pad_push), (gst_pad_push_event):
11197         * gst/gstqueue.c: (gst_queue_change_state):
11198         Don't queue buffers in basesink when we are flushing.
11199         Unref buffer when flushing in basesink.
11200         Flush queue when going to READY
11201         Unref buffer when _push() returns an error.
11202         Don't free MiniObject instance when refcount is incremented
11203         in _finalize() so that we can recover objects.
11204
11205 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11206
11207         * docs/manual/advanced-schedulers.xml:
11208         * docs/manual/appendix-checklist.xml:
11209         * docs/pwg/advanced-clock.xml:
11210         * docs/pwg/advanced-interfaces.xml:
11211         * docs/pwg/advanced-request.xml:
11212         * docs/pwg/advanced-types.xml:
11213         * docs/pwg/intro-preface.xml:
11214         * examples/plugins/example.c: (gst_example_get_type),
11215         (gst_example_class_init), (gst_example_chain),
11216         (gst_example_set_property), (gst_example_get_property),
11217         (gst_example_change_state), (plugin_init):
11218         * examples/plugins/example.h:
11219           small doc fixes
11220
11221 2005-05-17  Wim Taymans  <wim@fluendo.com>
11222
11223         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11224         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11225         * gst/gstqueue.c: (gst_queue_change_state):
11226         Clear queue when going to READY.
11227         Remove IN_SETCAPS flag too.
11228
11229 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11230
11231         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11232           Remove implicit cast from gboolean to GstElementStateReturn;
11233           make sure we still return failure in paused => ready case if
11234           the parent class fails to change state and our own stop 
11235           vfunc succeeds.
11236
11237 2005-05-17  Wim Taymans  <wim@fluendo.com>
11238
11239         * tools/gst-launch.c: (event_loop):
11240         Message was unreffed too soon.
11241
11242 2005-05-16  Andy Wingo  <wingo@pobox.com>
11243
11244         * gst/gstbin.c (sink_iterator_filter): Err... um...
11245
11246         * check/gst/gstbin.c (test_ghost_pads): New test for the
11247         ghosting-if-elements-not-in-same-bin behavior.
11248
11249 2005-05-16  David Schleef  <ds@schleef.org>
11250
11251         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11252         accessing refcount directly.
11253
11254 2005-05-15  David Schleef  <ds@schleef.org>
11255
11256         * check/Makefile.am: remove GstData checks
11257         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11258         * gst/Makefile.am: add miniobject, remove data
11259         * gst/gst.h: add miniobject, remove data
11260         * gst/gstdata.c: remove
11261         * gst/gstdata.h: remove
11262         * gst/gstdata_private.h: remove
11263         * gst/gsttypes.h: remove GstEvent and GstMessage
11264         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11265         * gst/gstmarshal.list: change BOXED -> OBJECT
11266
11267         Implement GstMiniObject.
11268         * gst/gstminiobject.c:
11269         * gst/gstminiobject.h:
11270
11271         Modify to be subclasses of GstMiniObject.
11272         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11273         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11274         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11275         (gst_subbuffer_get_type), (gst_subbuffer_init),
11276         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11277         (gst_buffer_span):
11278         * gst/gstbuffer.h:
11279         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11280         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11281         (_gst_event_copy), (gst_event_new):
11282         * gst/gstevent.h:
11283         * gst/gstmessage.c: (_gst_message_initialize),
11284         (gst_message_get_type), (gst_message_class_init),
11285         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11286         (gst_message_new), (gst_message_new_error),
11287         (gst_message_new_warning), (gst_message_new_tag),
11288         (gst_message_new_state_changed), (gst_message_new_application):
11289         * gst/gstmessage.h:
11290         * gst/gstprobe.c: (gst_probe_perform),
11291         (gst_probe_dispatcher_dispatch):
11292         * gst/gstprobe.h:
11293         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11294         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11295         (_gst_query_copy), (gst_query_new):
11296
11297         Update elements for GstData -> GstMiniObject changes
11298         * gst/gstquery.h:
11299         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11300         (gst_queue_chain), (gst_queue_loop):
11301         * gst/elements/gstbufferstore.c:
11302         (gst_buffer_store_add_buffer_func),
11303         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11304         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11305         (gst_fakesink_render):
11306         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11307         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11308         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11309         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11310         (gst_filesrc_create_read):
11311         * gst/elements/gstidentity.c: (gst_identity_class_init):
11312         * gst/elements/gsttypefindelement.c:
11313         (gst_type_find_element_src_event), (free_entry_buffers),
11314         (gst_type_find_element_handle_event):
11315         * libs/gst/dataprotocol/dataprotocol.c:
11316         (gst_dp_header_from_buffer):
11317         * libs/gst/dataprotocol/dataprotocol.h:
11318         * libs/gst/dataprotocol/dp-private.h:
11319
11320 2005-05-15  David Schleef  <ds@schleef.org>
11321
11322         * gst/elements/gstelements.c: Don't include headers that were
11323         just removed.
11324
11325 2005-05-15  David Schleef  <ds@schleef.org>
11326
11327         * gst/elements/Makefile.am: Remove some elements that don't
11328         need to be in the core (or even exist at all).
11329         * gst/elements/gstaggregator.c:
11330         * gst/elements/gstaggregator.h:
11331         * gst/elements/gstmd5sink.c:
11332         * gst/elements/gstmd5sink.h:
11333         * gst/elements/gstmultifilesrc.c:
11334         * gst/elements/gstmultifilesrc.h:
11335         * gst/elements/gstpipefilter.c:
11336         * gst/elements/gstpipefilter.h:
11337         * gst/elements/gstshaper.c:
11338         * gst/elements/gstshaper.h:
11339         * gst/elements/gststatistics.c:
11340         * gst/elements/gststatistics.h:
11341         * po/POTFILES.in: Remove above files.
11342
11343 2005-05-14  Andy Wingo  <wingo@pobox.com>
11344
11345         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11346         so as to get the refs right.
11347         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11348         unreffing objects that don't pass the filter.
11349
11350         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11351         gst_element_set_bus.
11352         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11353         normal cases, this will destroy the bus.
11354
11355         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11356         object.
11357
11358         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11359         has no sinks.
11360
11361 2005-05-13  Andy Wingo  <wingo@pobox.com>
11362
11363         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11364         gst_pad_link, call pad_link_maybe_ghosting,
11365         (pad_link_maybe_ghosting): Links pads, making sure that the
11366         elements being linked are in the same bin.
11367         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11368         Helpers for pad_link_maybe_ghosting.
11369
11370 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11371
11372         * configure.ac:
11373           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11374
11375 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11376
11377         * docs/design/part-element-source.txt:
11378           Mention GstPushSrc
11379
11380 2005-05-12  Wim Taymans  <wim@fluendo.com>
11381
11382         * gst/base/gstbasesink.c: (gst_basesink_init),
11383         (gst_basesink_activate):
11384         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11385         (gst_basesrc_is_seekable):
11386         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11387         (bin_element_is_sink), (gst_bin_change_state):
11388         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11389         * gst/gstelement.h:
11390         Identify sinks by their flag to avoid overly complicated
11391         checks (fow now).
11392         Do state changes even for elements not reachable from the
11393         sinks.
11394         BaseSink is a sink now :)
11395         Some more debugging info in the basesrc.
11396
11397
11398 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11399
11400         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11401           Implement _query on a bin, similar to _send_event.
11402
11403 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11404
11405         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11406           Discont event offset format should be GST_FORMAT_BYTES,
11407           not GST_FORMAT_TIME.
11408
11409 2005-05-12  Wim Taymans  <wim@fluendo.com>
11410
11411         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11412         Same fix as Ronald's but without the signal. 
11413
11414 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11415
11416         * gst/gstutils.c: (gst_element_query_position):
11417           No, an element is not a pad.
11418
11419 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11420
11421         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11422         (gst_bin_get_state):
11423           If a child is removed from a bin while we remove the child from
11424           the bin and while we're retrieving its state, signal this to the
11425           get_state function so we abort the wait (instead of waiting for
11426           a timeout) and can immediately re-iterate over all other elements.
11427
11428 2005-05-12  Wim Taymans  <wim@fluendo.com>
11429
11430         * gst/base/Makefile.am:
11431         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11432         (gst_basesrc_start):
11433         * gst/base/gstbasesrc.h:
11434         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11435         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11436         (gst_pushsrc_init), (gst_pushsrc_create):
11437         * gst/base/gstpushsrc.h:
11438         Added is_seekable to BaseSrc
11439         Added simple PushSrc.
11440
11441 2005-05-11  Wim Taymans  <wim@fluendo.com>
11442
11443         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11444         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11445         (gst_element_link_pads), (gst_element_query_position),
11446         (gst_element_query_convert), (intersect_caps_func),
11447         (gst_pad_query_position), (gst_pad_query_convert):
11448         Fix refcounting in utils function.
11449         No point in trying to activate a pad when it's added, it could
11450         be added from the state change function and then we deadlock, the
11451         element has to decide what to do.
11452
11453 2005-05-10  Andy Wingo  <wingo@pobox.com>
11454
11455         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11456         *all* the arguments.
11457
11458         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11459         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11460         lock (according to the docs -- if this is wrong change the docs).
11461
11462         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11463         flush messages in the NULL state.
11464
11465         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11466         message immediately and return.
11467         (gst_bus_set_flushing): New function. If a bus is flushing, it
11468         flushes out any queued messages and immediately unrefs new
11469         messages. This is so when an element goes to NULL, all of the
11470         unhandled messages coming from it can be freed, and their
11471         references to the element dropped. In other words: message source
11472         ref considered harmful :P
11473
11474         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11475         we're finished with it.
11476
11477         * gst/gstmessage.c (gst_message_new_state_changed): 
11478
11479 2005-05-10  Wim Taymans  <wim@fluendo.com>
11480
11481         * gst/gstvalue.c: (gst_value_compare_flags),
11482         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11483         (_gst_value_initialize):
11484         Added flags serialize/deserialize/compare code.
11485
11486 2005-05-09  Andy Wingo  <wingo@pobox.com>
11487
11488         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11489         Intersect the peer's caps with our caps.
11490
11491 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11492
11493         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11494         * gst/elements/gsttypefindelement.c: (find_peek):
11495           Handle negative offsets better. Fixes decodebin.
11496
11497 2005-05-09  Wim Taymans  <wim@fluendo.com>
11498
11499         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11500         (gst_base_transform_event):
11501         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11502         Implement accept_caps.
11503         Fix silly lock/unlock mismatch in base class.
11504
11505 2005-05-09  Wim Taymans  <wim@fluendo.com>
11506
11507         * docs/design/draft-push-pull.txt:
11508         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11509         * gst/elements/gstfilesink.c: (gst_filesink_init),
11510         (gst_filesink_query):
11511         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11512         (gst_type_find_handle_src_query), (find_element_get_length):
11513         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11514         * gst/gstelement.h:
11515         * gst/gstmessage.c:
11516         * gst/gstmessage.h:
11517         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11518         (gst_real_pad_get_caps_unlocked),
11519         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11520         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11521         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11522         (gst_real_pad_dispose), (gst_real_pad_finalize),
11523         (gst_pad_load_and_link), (gst_pad_save_thyself),
11524         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11525         (gst_pad_check_pull_range), (gst_pad_pull_range),
11526         (gst_pad_template_get_type), (gst_pad_template_class_init),
11527         (gst_pad_template_init), (gst_pad_template_dispose),
11528         (name_is_valid), (gst_static_pad_template_get),
11529         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11530         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11531         (gst_pad_get_element_private), (gst_pad_start_task),
11532         (gst_pad_pause_task), (gst_pad_stop_task),
11533         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11534         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11535         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11536         (gst_ghost_pad_new):
11537         * gst/gstpad.h:
11538         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11539         (gst_query_new_position), (gst_query_set_position),
11540         (gst_query_parse_position), (gst_query_new_convert),
11541         (gst_query_set_convert), (gst_query_parse_convert):
11542         * gst/gstquery.h:
11543         * gst/gstqueryutils.c:
11544         * gst/gstqueryutils.h:
11545         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11546         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11547         (gst_queue_handle_src_query):
11548         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11549         (gst_element_query_position), (gst_element_query_convert),
11550         (intersect_caps_func), (gst_pad_query_position),
11551         (gst_pad_query_convert):
11552         * gst/gstutils.h:
11553         * tools/gst-inspect.c: (print_pad_info):
11554         * tools/gst-xmlinspect.c: (print_element_info):
11555         Remove old query functions. Ported old code.
11556         Added position/convert helper functions to gstutils.
11557         Reordered gstpad.c code, grouping relevant things.
11558         Remove gst_message_new(), always need to speficy a specific
11559         message.
11560
11561
11562 2005-05-09  Andy Wingo  <wingo@pobox.com>
11563
11564         * gst/gstiterator.h: Add some includes.
11565
11566         * gst/gstqueryutils.h: Include more headers.
11567
11568         * gst/gstpad.h:
11569         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11570         some uses of gst_pad_query.
11571
11572         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11573         NULL out parameters.
11574         (gst_query_new_position): New proc, allocates a new position
11575         query.
11576
11577         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11578         gstqueryutils.c to the build.
11579
11580         * gst/gststructure.c (gst_structure_set_valist): Implement with
11581         the generic G_VALUE_COLLECT.
11582         
11583 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11584
11585         * gst/Makefile.am: (gst_headers):
11586         Added gstqueryutils.h to the list of headers to install, that was
11587         a 'nachty' move wingo :)
11588
11589 2005-05-06  Andy Wingo  <wingo@pobox.com>
11590
11591         * gst/gstquery.h
11592         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11593         GstData, init a memchunk.
11594         (standard_definitions): Add a few query types, deprecate a few.
11595         (gst_query_get_type): New proc.
11596         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11597         implementation.
11598         (gst_query_new_application, gst_query_get_structure): New public
11599         procs.
11600
11601         * docs/design/draft-query.txt: Removed LINKS from the query types,
11602         because all the rest can be dispatched to other pads -- seemed
11603         ugly to have a query that couldn't be dispatched. internal_links
11604         is fine as a pad method.
11605
11606         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11607         in gstpad.c, but maintain binary compatibility for the moment.
11608         Will fix before 0.9 is out.
11609
11610         * gst/gstqueryutils.c: 
11611         * gst/gstqueryutils.h: New files, implement 3 methods for each
11612         query type: parse_query, parse_response, and set. Probably need an
11613         allocator as well.
11614
11615         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11616
11617         * gst/elements/gstfilesink.c (gst_filesink_query2):
11618         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11619         query_types, and formats methods.
11620
11621         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11622         (gst_pad_set_query2_function): New functions.
11623         (gst_real_pad_init): Set query2_default as the default query2
11624         function. Basically just dispatches to internally linked pads.
11625
11626         Needs review!
11627         
11628         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11629         without using the atomic operations. Only one thread can possibly
11630         be accessing the data at this point. Changed so as to avoid
11631         gst_atomic operations.
11632
11633 2005-05-06  Wim Taymans  <wim@fluendo.com>
11634
11635         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11636         Also set caps if we use the fallback buffer alloc.
11637
11638 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11639
11640         * docs/gst/Makefile.am:
11641         * docs/gst/gstreamer-docs.sgml:
11642         * docs/gst/gstreamer-sections.txt:
11643         * docs/gst/tmpl/gstatomic.sgml:
11644         * docs/gst/tmpl/gstmemchunk.sgml:
11645         * testsuite/elements/struct_i386.h:
11646         * win32/GStreamer.vcproj:
11647         * win32/Makefile:
11648           Purge GstAtomic stuff from docs and win32 makefiles as well
11649
11650 2005-05-06  Wim Taymans  <wim@fluendo.com>
11651
11652         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11653         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11654         * gst/gstpad.c: (gst_pad_peer_get_caps):
11655         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11656         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11657         (gst_queue_src_activate), (gst_queue_change_state):
11658         * gst/gstqueue.h:
11659         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11660         (intersect_caps_func):
11661         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11662         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11663         Some fixes for the peer_get_caps() change.
11664
11665 2005-05-06  Wim Taymans  <wim@fluendo.com>
11666
11667         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11668         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11669         (gst_basesink_activate):
11670         Actually do something with error codes returned from the push
11671         functions.
11672
11673 2005-05-06  Wim Taymans  <wim@fluendo.com>
11674
11675         * docs/design/part-element-sink.txt:
11676         * docs/design/part-element-source.txt:
11677         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11678         (gst_basesink_event), (gst_basesink_activate):
11679         * gst/base/gstbasesink.h:
11680         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11681         (gst_basesrc_activate):
11682         * gst/base/gstbasesrc.h:
11683         * gst/gstelement.c: (gst_element_pads_activate):
11684         Some more documentation.
11685         Fixed scheduling decision in _pads_activate().
11686
11687 2005-05-05  Andy Wingo  <wingo@pobox.com>
11688
11689         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11690         the test suite.
11691
11692 2005-05-05  Wim Taymans  <wim@fluendo.com>
11693
11694         * gst/base/Makefile.am:
11695         * gst/base/gstbasesink.h:
11696         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11697         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11698         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11699         (gst_collectpads_class_init), (gst_collectpads_init),
11700         (gst_collectpads_finalize), (gst_collectpads_new),
11701         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11702         (find_pad), (gst_collectpads_remove_pad),
11703         (gst_collectpads_is_active), (gst_collectpads_collect),
11704         (gst_collectpads_collect_range), (gst_collectpads_start),
11705         (gst_collectpads_stop), (gst_collectpads_peek),
11706         (gst_collectpads_pop), (gst_collectpads_available),
11707         (gst_collectpads_read), (gst_collectpads_flush),
11708         (gst_collectpads_chain):
11709         * gst/base/gstcollectpads.h:
11710         * gst/elements/Makefile.am:
11711         * gst/elements/gstelements.c:
11712         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11713         (gst_fakesink_get_times), (gst_fakesink_event),
11714         (gst_fakesink_preroll), (gst_fakesink_render):
11715         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11716         (gst_filesink_init), (gst_filesink_set_location),
11717         (gst_filesink_open_file), (gst_filesink_close_file),
11718         (gst_filesink_pad_query), (gst_filesink_event),
11719         (gst_filesink_render), (gst_filesink_change_state):
11720         * gst/elements/gstfilesink.h:
11721         Added object to help in making collect pad based elements.
11722         Ported filesink.
11723         Make event function in sink baseclass return gboolean.
11724
11725 2005-05-05  Wim Taymans  <wim@fluendo.com>
11726
11727         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11728         (gst_bin_get_by_name):
11729         * gst/gstbuffer.h:
11730         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11731         (gst_clock_finalize):
11732         * gst/gstdata.c: (gst_data_replace):
11733         * gst/gstdata.h:
11734         * gst/gstelement.c: (gst_element_request_pad),
11735         (gst_element_pads_activate):
11736         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11737         (gst_object_unref):
11738         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11739         (gst_pad_set_checkgetrange_function),
11740         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11741         (gst_pad_check_pull_range), (gst_pad_pull_range),
11742         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11743         (gst_pad_pause_task), (gst_pad_stop_task):
11744         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11745         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11746         Fix name lookup in GstBin.
11747         Added _data_replace() function and _buffer_replace()
11748         Use finalize method to clean up clock.
11749         Fix refcounting on request pads.
11750         Fix pad schedule mode error.
11751         Some more object refcounting debug info,
11752
11753
11754 2005-05-04  Andy Wingo <wingo@pobox.com>
11755
11756         * check/Makefile.am:
11757         * docs/gst/tmpl/gstatomic.sgml:
11758         * docs/gst/tmpl/gstplugin.sgml:
11759         * gst/base/gstbasesink.c: (gst_basesink_activate):
11760         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11761         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11762         (gst_basesrc_query), (gst_basesrc_set_property),
11763         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11764         (gst_basesrc_activate):
11765         * gst/base/gstbasesrc.h:
11766         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11767         (gst_base_transform_src_activate):
11768         * gst/elements/gstelements.c:
11769         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11770         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11771         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11772         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11773         (gst_type_find_element_checkgetrange),
11774         (gst_type_find_element_activate):
11775         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11776         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11777         (gst_caps_load_thyself):
11778         * gst/gstelement.c: (gst_element_pads_activate),
11779         (gst_element_save_thyself), (gst_element_restore_thyself):
11780         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11781         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11782         * gst/gstpad.h:
11783         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11784         (gst_xml_parse_file), (gst_xml_parse_memory),
11785         (gst_xml_get_element), (gst_xml_make_element):
11786         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11787         (_file_index_id_save_xml), (gst_file_index_commit):
11788         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11789         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11790         (load_paths):
11791         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11792         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11793         * tools/gst-complete.c: (main):
11794         * tools/gst-compprep.c: (main):
11795         * tools/gst-inspect.c: (print_element_properties_info):
11796         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11797         * tools/gst-xmlinspect.c: (print_element_properties):
11798         GCC 4 fixen.
11799         
11800 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11801
11802         * gst/gstplugin.c: (gst_plugin_check_module),
11803         (gst_plugin_check_file), (gst_plugin_load_file):
11804             apply patch from #172526 to make register work on MacOSX
11805
11806 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11807
11808         * docs/gst/tmpl/gstconfig.sgml:
11809         * gst/gstconfig.h.in:
11810           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11811         * testsuite/debug/printf_extension.c: (main):
11812           Do not use GST_PTR_FORMAT on pointers to types with
11813           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11814         * testsuite/elements/property.h:
11815           use correct printf format
11816
11817 2005-05-02  Wim Taymans  <wim@fluendo.com>
11818
11819         * docs/design/draft-push-pull.txt:
11820         * docs/design/draft-query.txt:
11821         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11822         (gst_basesrc_start):
11823         Added draft for new query API.
11824         Added draft for better selecting scheduling methods.
11825         Make basesrc ignore length if the subclass does not support
11826         it.
11827
11828 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11829
11830         * gst/Makefile.am:
11831           possible fixes for automake-1.5 - _LIBADD is reserved
11832
11833 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11834
11835         * docs/faq/Makefile.am:
11836         * docs/manual/Makefile.am:
11837         * docs/manuals.mak:
11838         * docs/pwg/Makefile.am:
11839         * gst/Makefile.am:
11840           possible fixes for automake-1.5
11841
11842 2005-04-28  Wim Taymans  <wim@fluendo.com>
11843
11844         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11845         (gst_basesink_pad_getcaps), (gst_basesink_init),
11846         (gst_basesink_do_sync):
11847         * gst/gstclock.c: (gst_clock_entry_new):
11848         * gst/gstevent.c: (gst_event_discont_get_value):
11849         * gst/gstpipeline.c: (pipeline_bus_handler),
11850         (gst_pipeline_change_state):
11851         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11852         Better debugging of clocking info.
11853         Allow NULL values when getting discont values.
11854
11855 2005-04-27  Wim Taymans  <wim@fluendo.com>
11856
11857         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11858         * check/gst/gstpad.c: (gst_pad_suite):
11859         Increase timeout for checks.
11860
11861 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11862
11863         * check/Makefile.am:
11864           fix the broken rule for cleanup.  Apparently this rule is
11865           only needed on FC2, so maybe this warrants further autotool
11866           inspection.
11867
11868 2005-04-26  Wim Taymans  <wim@fluendo.com>
11869
11870         * gst/gsttrashstack.h:
11871         Ooohh. a nasty one! After having a failed pop() from the stack,
11872         it's possible that the stack is empty. In that case, don't
11873         follow the NULL pointer.
11874
11875 2005-04-25  Wim Taymans  <wim@fluendo.com>
11876
11877         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11878         (gst_pad_set_checkgetrange_function),
11879         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11880         (gst_pad_check_pull_range), (gst_pad_pull_range),
11881         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11882         (gst_pad_pause_task), (gst_pad_stop_task):
11883         * gst/gstplugin.c: (gst_plugin_load):
11884         * gst/gstplugin.h:
11885         Remove gst_library_load as it does more harm than good with
11886         the new g_module flags.
11887         Revert bogus caps template check in pad linking, pad caps
11888         are important when linking not the template, which is more
11889         general than the current caps.
11890
11891 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11892
11893         * gst/autoplug/.cvsignore:
11894         * gst/autoplug/Makefile.am:
11895         * gst/autoplug/gstsearchfuncs.c:
11896         * gst/autoplug/gstsearchfuncs.h:
11897         * gst/autoplug/gstspider.c:
11898         * gst/autoplug/gstspider.h:
11899         * gst/autoplug/gstspideridentity.c:
11900         * gst/autoplug/gstspideridentity.h:
11901         * gst/autoplug/spidertest.c:
11902           Die, spider, die.
11903
11904 2005-04-25  Wim Taymans  <wim@fluendo.com>
11905
11906         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11907         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11908         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11909         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11910         * gst/gstpad.h:
11911         Added stubs for unimplemented functions. 
11912
11913 2005-04-24  David Schleef  <ds@schleef.org>
11914
11915         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11916         please fix.
11917
11918 2005-04-24  David Schleef  <ds@schleef.org>
11919
11920         Convert everything from GstAtomicInt to g_atomic_int_*, and
11921         remove gstatomic.
11922         * gst/Makefile.am:
11923         * gst/gstatomic.c:
11924         * gst/gstatomic.h:
11925         * gst/gstatomic_impl.h:
11926         * gst/gstbuffer.c:
11927         * gst/gstcaps.c:
11928         * gst/gstcaps.h:
11929         * gst/gstclock.c:
11930         * gst/gstclock.h:
11931         * gst/gstdata.c:
11932         * gst/gstdata.h:
11933         * gst/gstdata_private.h:
11934         * gst/gstevent.c:
11935         * gst/gstinfo.c:
11936         * gst/gstinfo.h:
11937         * gst/gstmessage.c:
11938         * gst/gstobject.c:
11939         * gst/gstobject.h:
11940         * gst/gststructure.c:
11941         * gst/gststructure.h:
11942         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11943         * gst/gstutils.h:
11944
11945 2005-04-24  David Schleef  <ds@schleef.org>
11946
11947         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11948         make the regressions tests work.  Remove some code that is no
11949         longer true.
11950         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11951         Disable warning for pads without templates.
11952
11953 2005-04-24  David Schleef  <ds@schleef.org>
11954
11955         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11956         functions that handle filtered links.
11957         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11958         removed functions.
11959         * gst/gstutils.c: Fix/remove utility functions that handle
11960         filtered caps.
11961         * gst/gstutils.h:
11962         * gst/gstvalue.c: Add serialization/deserialization of caps
11963         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11964         requires fixing so that the filter caps notation creates
11965         a capsfilter element and sets the filter_caps property.  I
11966         think everyone probably wants to keep the shorthand notation.
11967         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11968         * docs/gst/tmpl/gstpad.sgml:
11969
11970         * gst/elements/gstelements.c: Register capsfilter element.
11971         * gst/Makefile.am: fix spacing
11972         * docs/random/ds/0.9-suggested-changes: random
11973
11974 2005-04-23  David Schleef  <ds@schleef.org>
11975
11976         * gst/elements/Makefile.am:
11977         * gst/elements/gstcapsfilter.c: New element that acts like an
11978         identity, but filters caps.  Will eventually replace filtered
11979         caps in pad linking.
11980         * gst/gstutils.c: (gst_element_create_all_pads): New function
11981         to create all the ALWAYS pads that are registered with an
11982         element class.  This functionality should eventually be
11983         merged in with GstElement initialization.
11984         * gst/gstutils.h:
11985         * testsuite/trigger/README: part of trigger test code that should
11986         have been checked in a long time ago.
11987
11988 2005-04-23  David Schleef  <ds@schleef.org>
11989
11990         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11991         needed with new versions of libtool (nobody will confirm this),
11992         and hard to carry around.
11993         * gst/autoplug/Makefile.am:
11994         * gst/base/Makefile.am:
11995         * gst/elements/Makefile.am:
11996         * gst/indexers/Makefile.am:
11997         * gst/schedulers/Makefile.am:
11998         * libs/gst/bytestream/Makefile.am:
11999         * libs/gst/control/Makefile.am:
12000         * libs/gst/dataprotocol/Makefile.am:
12001         * libs/gst/getbits/Makefile.am:
12002
12003 2005-04-21  Wim Taymans  <wim@fluendo.com>
12004
12005         * docs/design/draft-push-pull.txt:
12006         * docs/design/part-MT-refcounting.txt:
12007         * docs/design/part-TODO.txt:
12008         * docs/design/part-caps.txt:
12009         * docs/design/part-events.txt:
12010         * docs/design/part-gstbus.txt:
12011         * docs/design/part-gstpipeline.txt:
12012         * docs/design/part-messages.txt:
12013         * docs/design/part-push-pull.txt:
12014         * docs/design/part-query.txt:
12015         Some more docs.
12016
12017 2005-04-21  Wim Taymans  <wim@fluendo.com>
12018
12019         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12020         (gst_message_new), (gst_message_new_error),
12021         (gst_message_new_warning), (gst_message_new_tag),
12022         (gst_message_new_state_changed), (gst_message_new_application),
12023         (gst_message_get_structure):
12024         * gst/gstmessage.h:
12025         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12026         (gst_structure_copy_conditional):
12027         Use parent refcount in GstMessage to ensure GstStructure
12028         consistency.
12029         Cleaned up headers a bit.
12030         
12031
12032 2005-04-20  Wim Taymans  <wim@fluendo.com>
12033
12034         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12035         (gst_basesink_pad_getcaps), (gst_basesink_init),
12036         (gst_basesink_chain_unlocked):
12037         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12038         (gst_type_find_helper):
12039         * gst/elements/gsttypefindelement.c:
12040         (gst_type_find_element_have_type), (gst_type_find_element_init),
12041         (stop_typefinding), (gst_type_find_element_handle_event),
12042         (find_suggest), (gst_type_find_element_chain),
12043         (gst_type_find_element_checkgetrange),
12044         (gst_type_find_element_getrange), (do_typefind),
12045         (gst_type_find_element_activate):
12046         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12047         (gst_buffer_default_free), (gst_buffer_default_copy),
12048         (gst_buffer_set_caps):
12049         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12050         (gst_caps_replace):
12051         * gst/gstmessage.c: (gst_message_new),
12052         (gst_message_new_state_changed):
12053         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12054         (gst_pad_set_checkgetrange_function),
12055         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12056         (gst_pad_set_caps), (gst_pad_check_pull_range),
12057         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12058         * gst/gstpad.h:
12059         * gst/gsttypefind.c: (gst_type_find_register):
12060         Make gst_caps_replace() work like other _replace() functions.
12061         Use _caps_replace() where possible.
12062         Make sure _message_new() initialises its field.
12063         Add gst_static_pad_template_get_caps()
12064
12065
12066 2005-04-18  Andy Wingo  <wingo@pobox.com>
12067
12068         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12069         on the peer, not the pad. I think that was a typo. Pass an extra
12070         arg to see if random access is possible. Activate the pads as
12071         PULL_RANGE if possible.
12072
12073         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12074
12075         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12076         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12077         to PROP_....
12078
12079 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12080
12081         * docs/faq/using.xml:
12082           Add note on gstreamer-properties (#154996).
12083
12084 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12085
12086         * docs/random/bbb/optional-properties:
12087           Some analysis on optional properties.
12088
12089 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12090
12091         * docs/gst/tmpl/gstelementfactory.sgml:
12092         * gst/gstelement.h:
12093         * gst/gstelementfactory.c: (gst_element_factory_init),
12094         (gst_element_factory_cleanup), (gst_element_register),
12095         (__gst_element_factory_add_static_pad_template),
12096         (gst_element_factory_get_static_pad_templates),
12097         (gst_element_factory_can_src_caps),
12098         (gst_element_factory_can_sink_caps):
12099         * gst/registries/Makefile.am:
12100         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12101         (gst_xml_registry_class_init), (gst_xml_registry_init),
12102         (gst_xml_registry_new), (gst_xml_registry_set_property),
12103         (gst_xml_registry_get_property), (get_time), (make_dir),
12104         (gst_xml_registry_get_perms_func),
12105         (plugin_times_older_than_recurse), (plugin_times_older_than),
12106         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12107         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12108         (add_to_char_array), (read_string), (read_uint), (read_enum),
12109         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12110         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12111         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12112         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12113         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12114         (gst_xml_registry_rebuild):
12115         * gst/registries/gstlibxmlregistry.h:
12116         * tools/gst-compprep.c: (main):
12117         * tools/gst-inspect.c: (print_pad_templates_info):
12118         * tools/gst-xmlinspect.c: (print_element_info):
12119           Use libxml2 for registry parsing, use staticpadtemplates in
12120           elementfactories. Makes gst_init() +/- 10x faster.
12121
12122 2005-04-12  Wim Taymans  <wim@fluendo.com>
12123
12124         * gst/base/Makefile.am:
12125         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12126         (gst_basesink_pad_getcaps), (gst_basesink_init),
12127         (gst_basesink_event), (gst_basesink_change_state):
12128         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12129         (gst_basesrc_init), (gst_basesrc_query),
12130         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12131         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12132         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12133         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12134         (gst_basesrc_stop), (gst_basesrc_activate),
12135         (gst_basesrc_change_state):
12136         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12137         (helper_find_suggest), (gst_type_find_helper):
12138         * gst/base/gsttypefindhelper.h:
12139         * gst/elements/Makefile.am:
12140         * gst/elements/gstelements.c:
12141         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12142         (gst_fakesink_get_times), (gst_fakesink_event),
12143         (gst_fakesink_preroll), (gst_fakesink_render):
12144         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12145         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12146         (gst_fakesrc_get_property), (gst_fakesrc_create),
12147         (gst_fakesrc_start), (gst_fakesrc_stop):
12148         * gst/elements/gstfakesrc.h:
12149         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12150         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12151         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12152         (gst_filesrc_create_read), (gst_filesrc_create),
12153         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12154         (gst_filesrc_start):
12155         * gst/elements/gsttypefindelement.c:
12156         (gst_type_find_element_have_type), (gst_type_find_element_init),
12157         (start_typefinding), (stop_typefinding), (push_buffer_store),
12158         (gst_type_find_element_handle_event),
12159         (gst_type_find_element_chain),
12160         (gst_type_find_element_checkgetrange),
12161         (gst_type_find_element_getrange), (do_typefind),
12162         (gst_type_find_element_activate),
12163         (gst_type_find_element_change_state):
12164         * gst/elements/gsttypefindelement.h:
12165         * gst/gstpipeline.c: (pipeline_bus_handler):
12166         Added typefind helper.
12167         Small preroll fix in the base sink.
12168         Disable typefind code in basesrc.
12169         Crude port of typefindelement.
12170         Fakesrc cleanups.
12171
12172
12173 2005-04-11  Wim Taymans  <wim@fluendo.com>
12174
12175         * check/gst/gstbus.c: (gstbus_suite):
12176         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12177         * check/gstcheck.h:
12178           Fix up the timeout so that the test does not fail.
12179
12180 2005-04-06  Wim Taymans  <wim@fluendo.com>
12181
12182         * gst/base/README:
12183         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12184         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12185         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12186         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12187         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12188         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12189         (gst_basesrc_stop), (gst_basesrc_activate),
12190         (gst_basesrc_change_state), (basesrc_find_peek),
12191         (basesrc_find_suggest), (gst_basesrc_type_find):
12192         * gst/base/gstbasesrc.h:
12193         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12194         (gst_filesrc_class_init), (gst_filesrc_init),
12195         (gst_filesrc_finalize), (gst_filesrc_set_location),
12196         (gst_filesrc_set_property), (gst_filesrc_get_property),
12197         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12198         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12199         (gst_filesrc_create_read), (gst_filesrc_create),
12200         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12201         * gst/elements/gstfilesrc.h:
12202         * gst/gstelement.c: (gst_element_get_state_func),
12203         (gst_element_lost_state), (gst_element_pads_activate):
12204         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12205         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12206         (gst_pad_pull_range):
12207         * gst/gstpad.h:
12208         More work on the generic source base class, implement seeking,
12209         query.
12210         Make filesrc extend the base source class.
12211         Added gst_pad_set_checkgetrange_function to GstPad.
12212
12213 2005-04-06  Andy Wingo  <wingo@pobox.com>
12214
12215         * pkgconfig/gstreamer-base.pc.in:
12216         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12217
12218         * pkgconfig/Makefile.am:
12219         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12220
12221 2005-04-04  Wim Taymans  <wim@fluendo.com>
12222
12223         * gst/base/Makefile.am:
12224         * gst/base/README:
12225         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12226         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12227         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12228         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12229         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12230         (gst_basesrc_base_init), (gst_basesrc_class_init),
12231         (gst_basesrc_init), (gst_basesrc_get_formats),
12232         (gst_basesrc_get_query_types), (gst_basesrc_query),
12233         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12234         (gst_basesrc_set_property), (gst_basesrc_get_property),
12235         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12236         (gst_basesrc_loop), (gst_basesrc_activate),
12237         (gst_basesrc_change_state):
12238         * gst/base/gstbasesrc.h:
12239         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12240         (gst_fakesrc_class_init), (gst_fakesrc_init),
12241         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12242         (gst_fakesrc_get_property), (gst_fakesrc_create):
12243         * gst/elements/gstfakesrc.h:
12244         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12245         (gst_filesrc_open_file), (gst_filesrc_loop),
12246         (gst_filesrc_activate), (filesrc_find_peek),
12247         (gst_filesrc_type_find):
12248         Made base source class, make fakesrc extend it.
12249         Add comments to basesink class.
12250         Some filesrc cleanup.
12251
12252 2005-03-31  David Schleef  <ds@schleef.org>
12253
12254         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12255         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12256         expected to link against libgstreamer.
12257         * gst/base/Makefile.am: link against libgstreamer
12258         * gst/elements/Makefile.am: same
12259
12260 2005-03-31  Andy Wingo  <wingo@pobox.com>
12261
12262         * tests/instantiate/Makefile.am:
12263         * tests/instantiate/caps.c: Add test to test speed of caps copy
12264         and free.
12265
12266         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12267         GMemChunk to be fair.
12268
12269         * gst/gsttrashstack.h: Remove warning about using the fallback
12270         trash stack implementation, it's still faster than malloc.
12271
12272 2005-03-30  Andy Wingo  <wingo@pobox.com>
12273
12274         * tests/complexity.c: Add a copyright.
12275
12276 2005-03-31  Wim Taymans  <wim@fluendo.com>
12277
12278         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12279         (gst_base_transform_class_init), (gst_base_transform_init),
12280         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12281         (gst_base_transform_get_property),
12282         (gst_base_transform_sink_activate),
12283         (gst_base_transform_src_activate),
12284         (gst_base_transform_change_state):
12285         * gst/base/gstbasetransform.h:
12286         * gst/elements/gstidentity.c: (gst_identity_class_init),
12287         (gst_identity_event), (gst_identity_check_perfect),
12288         (gst_identity_transform), (gst_identity_start),
12289         (gst_identity_stop):
12290         Added start/stop methods to transform base class so subclasses 
12291         don't need to deal with state changes even.
12292
12293 2005-03-31  Wim Taymans  <wim@fluendo.com>
12294
12295         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12296         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12297         * gst/gstevent.h:
12298         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12299         (gst_pad_pull_range):
12300         Added rate to the discont event to prepare for variable speed
12301         and reverse playback.
12302
12303 2005-03-29  David Schleef  <ds@schleef.org>
12304
12305         * configure.ac:
12306         * testsuite/trigger/Makefile.am:
12307         * testsuite/trigger/trigger.c: A little example program to show
12308         how trigger-based elements can work.
12309
12310 2005-03-29  Wim Taymans  <wim@fluendo.com>
12311
12312         * gst/base/Makefile.am:
12313         * gst/base/README:
12314         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12315         (gst_basesink_base_init), (gst_basesink_class_init),
12316         (gst_basesink_pad_getcaps), (gst_basesink_init),
12317         (gst_basesink_activate), (gst_basesink_change_state):
12318         * gst/base/gstbasesink.h:
12319         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12320         (gst_base_transform_base_init), (gst_base_transform_finalize),
12321         (gst_base_transform_class_init), (gst_base_transform_init),
12322         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12323         (gst_base_transform_event), (gst_base_transform_getrange),
12324         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12325         (gst_base_transform_set_property),
12326         (gst_base_transform_get_property),
12327         (gst_base_transform_sink_activate),
12328         (gst_base_transform_src_activate),
12329         (gst_base_transform_change_state):
12330         * gst/base/gstbasetransform.h:
12331         * gst/elements/gstidentity.c: (gst_identity_finalize),
12332         (gst_identity_class_init), (gst_identity_init),
12333         (gst_identity_event), (gst_identity_check_perfect),
12334         (gst_identity_transform), (gst_identity_set_property),
12335         (gst_identity_get_property), (gst_identity_change_state):
12336         * gst/elements/gstidentity.h:
12337         * gst/gstelement.c: (gst_element_get_state_func),
12338         (gst_element_lost_state), (gst_element_pads_activate):
12339         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12340         (gst_pad_check_pull_range), (gst_pad_pull_range):
12341         * gst/gstpad.h:
12342         Simplify pad activation.
12343         Added function to check if pull_range can be performed.
12344         Error out when pulling inactive or flushing pads.
12345         Removed const from refcounted types as it does not make sense.
12346         Simplify pad templates in basesink
12347         Added base class for simple 1-to-1 transforms.
12348         Make identity subclass the base transform.
12349
12350 2005-03-29  Andy Wingo  <wingo@pobox.com>
12351
12352         * docs/libs/gstreamer-libs-overrides.txt: 
12353         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12354         really don't understand what's going on, but like whatever. I want
12355         green buildbot!
12356
12357         * docs/gst/Makefile.am:
12358         * docs/libs/Makefile.am: Dist the overrides files.
12359
12360         * check/Makefile.am (clean-local): Remove .libs directories.
12361
12362         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12363         elements to EXTRA_DIST, so po/ files are happy.
12364
12365         * po/POTFILES.in: Er, remove it here.
12366
12367         * po/POTFILES: Remove gstspider.c.
12368
12369         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12370
12371         * docs/libs/gstreamer-libs-docs.sgml: 
12372         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12373         bytestream.
12374
12375         * tests/complexity.c (main): Set the length of the preroll queue
12376         on the sinks to prevent a lockup.
12377
12378         * libs/gst/dataprotocol/Makefile.am: 
12379         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12380         the same as the one in check/gst-libs/gdp.c.
12381
12382         * po/, docs/gst/: Commit automatic changes to docs and po files.
12383
12384         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12385         the versioned libgstbase.
12386
12387         * check/Makefile.am: Depend on an unversioned gst-register, seems
12388         to make autoconf happier.
12389
12390         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12391
12392 2005-03-28  Wim Taymans  <wim@fluendo.com>
12393
12394         * configure.ac:
12395         * docs/design/part-gstelement.txt:
12396         * docs/design/part-negotiation.txt:
12397         * docs/design/part-preroll.txt:
12398         * docs/design/part-scheduling.txt:
12399         * docs/design/part-states.txt:
12400         * gst/Makefile.am:
12401         * gst/base/Makefile.am:
12402         * gst/base/README:
12403         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12404         (gst_basesink_base_init), (gst_basesink_class_init),
12405         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12406         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12407         (gst_basesink_set_pad_functions),
12408         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12409         (gst_basesink_set_property), (gst_basesink_get_property),
12410         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12411         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12412         (gst_basesink_preroll_queue_push),
12413         (gst_basesink_preroll_queue_empty),
12414         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12415         (gst_basesink_event), (gst_basesink_get_times),
12416         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12417         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12418         (gst_basesink_loop), (gst_basesink_activate),
12419         (gst_basesink_change_state):
12420         * gst/base/gstbasesink.h:
12421         * gst/elements/Makefile.am:
12422         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12423         (gst_fakesink_class_init), (gst_fakesink_init),
12424         (gst_fakesink_set_property), (gst_fakesink_get_property),
12425         (gst_fakesink_get_times), (gst_fakesink_event),
12426         (gst_fakesink_preroll), (gst_fakesink_render),
12427         (gst_fakesink_change_state):
12428         * gst/elements/gstfakesink.h:
12429         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12430         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12431         * gst/gstelement.c: (gst_element_add_pad),
12432         (gst_element_get_state_func), (gst_element_abort_state),
12433         (gst_element_commit_state), (gst_element_lost_state),
12434         (gst_element_set_state), (gst_element_pads_activate):
12435         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12436         * gst/gstpipeline.c: (gst_pipeline_send_event),
12437         (gst_pipeline_change_state):
12438         Added state change code.
12439         Added/updated docs.
12440         Added sink base class, make fakesink extend the base class.
12441         Small cleanups in GstPipeline.
12442
12443 2005-03-26  David Schleef  <ds@schleef.org>
12444
12445         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12446         is broken and should be implemented in a different library.
12447         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12448         * gst/gst.h: remove gstcpu.h
12449         * gst/gstcpu.c: remove
12450         * gst/gstcpu.h: remove
12451         * gst/Makefile.am.future: Remove this file.  It's ancient.
12452
12453 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12454
12455         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12456         (gst_bin_send_event):
12457           Add default event/set_manager handlers. The set_manager handler
12458           takes care that the manager is distributed over kids that were
12459           already in the bin before the manager was set. The event handler
12460           is a utility virtual function that sends the event over all sinks,
12461           so that gst_element_send_event (bin, event); has the expected
12462           behaviour.
12463         * gst/gstpad.c: (gst_pad_event_default):
12464           Re-install default event handling for discontinuities, so that
12465           seeking works without requiring hacks in applications or extra
12466           code in sinks.
12467         * gst/gstpipeline.c: (gst_pipeline_class_init),
12468         (gst_pipeline_send_event):
12469           Half hack, half utility: set a pipeline to PAUSED for seek events,
12470           since that is the only way we can guarantee a/v sync. Means that
12471           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12472           and it "just works".
12473
12474 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12475
12476         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12477           Lock/unlock mismatch.
12478
12479 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12480
12481         * docs/faq/gst-uninstalled:
12482           add gst-plugins-base
12483         * docs/gst/Makefile.am:
12484           don't error out until docs are fixed
12485         * docs/gst/gstreamer.types:
12486           remove thread
12487
12488 2005-03-22  Wim Taymans  <wim@fluendo.com>
12489
12490         * check/Makefile.am:
12491         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12492         * gst/gststructure.c: (gst_structure_set_valist),
12493         (gst_structure_copy_conditional):
12494         Activated more tests.
12495         Added message test.
12496         Added G_TYPE_POINTER to GstStructure.
12497         
12498
12499 2005-03-22  Wim Taymans  <wim@fluendo.com>
12500
12501         * docs/design/part-TODO.txt:
12502         * docs/design/part-events.txt:
12503         * docs/design/part-gstbin.txt:
12504         * docs/design/part-gstbus.txt:
12505         * docs/design/part-gstpipeline.txt:
12506         * docs/design/part-messages.txt:
12507         * gst/gstbus.c:
12508         * gst/gstmessage.c:
12509         Docs updates
12510
12511 2005-03-21  Wim Taymans  <wim@fluendo.com>
12512
12513         * gst/gstbus.c: (gst_bus_post):
12514         Fix copy-and-paste error.
12515
12516 2005-03-21  Wim Taymans  <wim@fluendo.com>
12517
12518         * check/Makefile.am:
12519         * gst/Makefile.am:
12520         * gst/elements/Makefile.am:
12521         * gst/elements/gstelements.c:
12522         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12523         (gst_fakesink_event), (gst_fakesink_chain):
12524         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12525         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12526         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12527         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12528         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12529         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12530         (gst_fakesrc_loop), (gst_fakesrc_activate),
12531         (gst_fakesrc_change_state):
12532         * gst/elements/gstfakesrc.h:
12533         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12534         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12535         (gst_filesrc_open_file), (gst_filesrc_loop),
12536         (gst_filesrc_activate), (gst_filesrc_change_state),
12537         (filesrc_find_peek), (filesrc_find_suggest),
12538         (gst_filesrc_type_find):
12539         * gst/elements/gstidentity.c: (gst_identity_finalize),
12540         (gst_identity_class_init), (gst_identity_init),
12541         (gst_identity_proxy_getcaps), (identity_queue_push),
12542         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12543         (gst_identity_getrange), (gst_identity_chain),
12544         (gst_identity_sink_loop), (gst_identity_src_loop),
12545         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12546         (gst_identity_set_property), (gst_identity_get_property),
12547         (gst_identity_change_state):
12548         * gst/elements/gstidentity.h:
12549         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12550         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12551         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12552         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12553         (gst_tee_sink_activate):
12554         * gst/elements/gsttee.h:
12555         * gst/gst.c: (gst_register_core_elements), (init_post):
12556         * gst/gst.h:
12557         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12558         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12559         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12560         (gst_bin_change_state):
12561         * gst/gstbin.h:
12562         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12563         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12564         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12565         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12566         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12567         (bus_watch_callback), (bus_watch_destroy),
12568         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12569         (poll_timeout), (gst_bus_poll):
12570         * gst/gstbus.h:
12571         * gst/gstcaps.h:
12572         * gst/gstdata.h:
12573         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12574         (gst_element_post_message), (gst_element_message_full),
12575         (gst_element_get_state_func), (gst_element_get_state),
12576         (gst_element_abort_state), (gst_element_commit_state),
12577         (gst_element_lost_state), (gst_element_set_state),
12578         (gst_element_pads_activate), (gst_element_change_state),
12579         (gst_element_dispose), (gst_element_set_manager_func),
12580         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12581         (gst_element_set_manager), (gst_element_get_manager),
12582         (gst_element_set_bus), (gst_element_get_bus),
12583         (gst_element_set_scheduler), (gst_element_get_scheduler):
12584         * gst/gstelement.h:
12585         * gst/gstevent.c: (gst_event_new_segment_seek),
12586         (gst_event_new_flush):
12587         * gst/gstevent.h:
12588         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12589         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12590         (gst_message_new_eos), (gst_message_new_error),
12591         (gst_message_new_warning), (gst_message_new_tag),
12592         (gst_message_new_state_changed), (gst_message_new_application),
12593         (gst_message_get_structure), (gst_message_parse_tag),
12594         (gst_message_parse_state_changed), (gst_message_parse_error),
12595         (gst_message_parse_warning):
12596         * gst/gstmessage.h:
12597         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12598         (gst_real_pad_set_property), (gst_pad_set_active),
12599         (gst_pad_is_active), (gst_pad_set_blocked_async),
12600         (gst_pad_set_blocked), (gst_pad_is_blocked),
12601         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12602         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12603         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12604         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12605         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12606         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12607         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12608         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12609         (gst_pad_set_caps), (gst_pad_configure_sink),
12610         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12611         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12612         (gst_real_pad_dispose), (gst_real_pad_finalize),
12613         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12614         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12615         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12616         * gst/gstpad.h:
12617         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12618         (pipeline_bus_handler), (gst_pipeline_change_state),
12619         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12620         * gst/gstpipeline.h:
12621         * gst/gstprobe.h:
12622         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12623         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12624         (gst_queue_link_src), (gst_queue_bufferalloc),
12625         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12626         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12627         (gst_queue_loop), (gst_queue_handle_src_event),
12628         (gst_queue_handle_src_query), (gst_queue_src_activate),
12629         (gst_queue_change_state):
12630         * gst/gstqueue.h:
12631         * gst/gstscheduler.c: (gst_scheduler_init),
12632         (gst_scheduler_dispose), (gst_scheduler_create_task),
12633         (gst_scheduler_factory_create):
12634         * gst/gstscheduler.h:
12635         * gst/gststructure.c: (gst_structure_get_type),
12636         (gst_structure_copy_conditional):
12637         * gst/gststructure.h:
12638         * gst/gsttaginterface.h:
12639         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12640         (gst_task_init), (gst_task_dispose), (gst_task_create),
12641         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12642         (gst_task_pause):
12643         * gst/gsttask.h:
12644         * gst/gstthread.c:
12645         * gst/gstthread.h:
12646         * gst/gsttypes.h:
12647         * gst/schedulers/Makefile.am:
12648         * gst/schedulers/cothreads_compat.h:
12649         * gst/schedulers/entryscheduler.c:
12650         * gst/schedulers/faircothreads.c:
12651         * gst/schedulers/faircothreads.h:
12652         * gst/schedulers/fairscheduler.c:
12653         * gst/schedulers/gstbasicscheduler.c:
12654         * gst/schedulers/gstoptimalscheduler.c:
12655         * gst/schedulers/gthread-cothreads.h:
12656         * gst/schedulers/threadscheduler.c:
12657         (gst_thread_scheduler_task_get_type),
12658         (gst_thread_scheduler_task_class_init),
12659         (gst_thread_scheduler_task_init),
12660         (gst_thread_scheduler_task_start),
12661         (gst_thread_scheduler_task_stop),
12662         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12663         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12664         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12665         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12666         (plugin_init):
12667         * libs/gst/Makefile.am:
12668         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12669         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12670         (gst_file_pad_parent_set):
12671         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12672         (gst_dp_event_from_packet):
12673         * tests/complexity.c: (main):
12674         * tests/mass_elements.c: (main):
12675         * testsuite/states/locked.c: (message_received), (main):
12676         * testsuite/states/parent.c: (main):
12677         * tools/gst-inspect.c: (print_element_flag_info),
12678         (print_implementation_info), (print_pad_info):
12679         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12680         (main):
12681         * tools/gst-md5sum.c: (event_loop), (main):
12682         * tools/gst-typefind.c: (main):
12683         * tools/gst-xmlinspect.c: (print_element_info):
12684         Next big merge.
12685         Added GstBus for mainloop integration.
12686         Added GstMessage for sending notifications on the bus.
12687         Added GstTask as an abstraction for pipeline entry points.
12688         Removed GstThread.
12689         Removed Schedulers.
12690         Simplified GstQueue for multithreaded core.
12691         Made _link threadsafe, removed old capsnego.
12692         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12693         Added pad blocking functions.
12694         Reworked scheduling functions in GstPad to prepare for
12695         scheduling updates soon.
12696         Moved events out of data stream.
12697         Simplified GstEvent types.
12698         Added return values to push/pull.
12699         Removed clocking from GstElement.
12700         Added prototypes for state change function for next merge.
12701         Removed iterate from bins and state change management.
12702         Fixed some elements, disabled others for now.
12703         Fixed -inspect and -launch.
12704         Added check for GstBus.
12705
12706 2005-03-10  Wim Taymans  <wim@fluendo.com>
12707
12708         * docs/design/part-MT-refcounting.txt:
12709         * docs/design/part-clocks.txt:
12710         * docs/design/part-gstelement.txt:
12711         * docs/design/part-gstobject.txt:
12712         * docs/design/part-standards.txt:
12713         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12714         (gst_bin_remove_func), (gst_bin_remove):
12715         * gst/gstbin.h:
12716         * gst/gstbuffer.c:
12717         * gst/gstcaps.h:
12718         * testsuite/clock/clock1.c: (main):
12719         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12720         (main):
12721         * testsuite/dlopen/loadgst.c: (do_test):
12722         * testsuite/refcounting/bin.c: (add_remove_test1),
12723         (add_remove_test2), (main):
12724         * testsuite/refcounting/element.c: (main):
12725         * testsuite/refcounting/element_pad.c: (main):
12726         * testsuite/refcounting/pad.c: (main):
12727         * tools/gst-launch.c: (sigint_handler_sighandler):
12728         * tools/gst-typefind.c: (main):
12729         Doc updates.
12730         Added doc about clock.
12731         removed gst_bin_iterate_recurse_up(), marked methods
12732         for removal.
12733         Fix more testsuites.
12734
12735 2005-03-09  Wim Taymans  <wim@fluendo.com>
12736
12737         * gst/gstpad.c: (gst_pad_get_direction),
12738         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12739         (gst_pad_collect_valist):
12740         * testsuite/bins/interface.c: (main):
12741         * testsuite/caps/audioscale.c: (test_caps):
12742         * testsuite/caps/caps.c: (test1), (test2), (test3):
12743         * testsuite/caps/deserialize.c: (main):
12744         * testsuite/caps/enumcaps.c: (main):
12745         * testsuite/caps/filtercaps.c: (main):
12746         * testsuite/caps/intersect2.c: (main):
12747         * testsuite/caps/random.c: (main):
12748         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12749         * testsuite/caps/sets.c: (check_caps):
12750         * testsuite/caps/simplify.c: (check_caps), (main):
12751         * testsuite/caps/subtract.c: (check_caps):
12752         Fix _pad_get_direction wrt ghostpads.
12753         Fix caps testsuite.
12754
12755 2005-03-09  Wim Taymans  <wim@fluendo.com>
12756
12757         * check/Makefile.am:
12758         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12759         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12760         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12761         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12762         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12763         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12764         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12765         (bin_element_is_sink), (gst_bin_iterate_sinks),
12766         (gst_bin_iterate_all_by_interface):
12767         * gst/gstbin.h:
12768         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12769         (gst_element_change_state), (gst_element_dispose),
12770         (gst_element_finalize), (gst_element_set_loop_function):
12771         * gst/gstelement.h:
12772         * gst/gstiterator.c: (find_custom_fold_func):
12773         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12774         (gst_pad_collectv), (gst_pad_collect_valist),
12775         (gst_pad_template_new):
12776         * gst/gstpipeline.c: (gst_pipeline_class_init),
12777         (gst_pipeline_dispose), (gst_pipeline_set_property),
12778         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12779         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12780         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12781         * gst/gstutils.h:
12782         * gst/schedulers/entryscheduler.c:
12783         * gst/schedulers/gstbasicscheduler.c:
12784         (gst_basic_scheduler_cothreaded_chain),
12785         (gst_basic_scheduler_chain_add_element):
12786         * testsuite/bins/interface.c: (main):
12787         Added GstBin test.
12788         Added GstSystemClock test.
12789         Implemented clock distribution code in GstBin.
12790         Implemented iterate sinks method for future use.
12791         Rearranged gstelement.h
12792         Fix GstIterator comparison bug.
12793         Moved some code to GstPipeline, mostly clocking related.
12794
12795 2005-03-09  Wim Taymans  <wim@fluendo.com>
12796
12797         * configure.ac:
12798         * gst/gst_private.h:
12799         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12800         (gst_bin_remove_func), (gst_bin_remove),
12801         (gst_bin_get_by_name_recurse_up):
12802         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12803         (gst_clock_id_compare_func), (gst_clock_id_wait),
12804         (gst_clock_id_wait_async), (gst_clock_init),
12805         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12806         * gst/gstelement.h:
12807         * gst/gstinfo.c: (_gst_debug_init):
12808         * gst/gstobject.h:
12809         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12810         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12811         * gst/gstpad.h:
12812         Bump version number, we're now 0.9.0
12813         Add future debugging category.
12814         Fix NULL _unref() in _get_by_name_recurse_up
12815         Rearrange gstpad.h.
12816         Update some docs.
12817
12818 2005-03-08  Wim Taymans  <wim@fluendo.com>
12819
12820         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12821         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12822         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12823         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12824         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12825         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12826         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12827         * gst/elements/gstidentity.c: (gst_identity_class_init):
12828         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12829         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12830         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12831         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12832         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12833         (gst_tee_link):
12834         * gst/gstelement.c: (gst_element_class_init),
12835         (gst_element_base_class_init), (gst_element_init),
12836         (gst_element_get_random_pad), (gst_element_wait_state_change),
12837         (gst_element_change_state), (gst_element_dispose),
12838         (gst_element_finalize), (gst_element_set_loop_function):
12839         * gst/gstelement.h:
12840         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12841         * gst/gstthread.c: (gst_thread_class_init),
12842         (gst_thread_release_children_locks), (gst_thread_change_state):
12843         * gst/schedulers/gstbasicscheduler.c:
12844         (gst_basic_scheduler_loopfunc_wrapper),
12845         (gst_basic_scheduler_chain_wrapper),
12846         (gst_basic_scheduler_src_wrapper),
12847         (gst_basic_scheduler_remove_element):
12848         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12849         Remove threadsafe properties. Fix elements because GObject
12850         complains when installing a property before declaring a
12851         set/get_property handler.
12852         Rearrange gstelement.h file, use STATE macros for state locks.
12853         Free mutexes in the finalize method instead of dispose.
12854
12855 2005-03-08  Wim Taymans  <wim@fluendo.com>
12856
12857         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12858         * gst/gstthread.c: (gst_thread_release_children_locks):
12859         Added parentage check.
12860         Fix build og GstThread again.
12861
12862 2005-03-08  Wim Taymans  <wim@fluendo.com>
12863
12864         * docs/design/part-MT-refcounting.txt:
12865         * docs/design/part-conventions.txt:
12866         * docs/design/part-gstobject.txt:
12867         * docs/design/part-relations.txt:
12868         * docs/design/part-standards.txt:
12869         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12870         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12871         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12872         (gst_bin_iterate_all_by_interface):
12873         * gst/gstbuffer.h:
12874         * gst/gstclock.h:
12875         * gst/gstelement.c: (gst_element_class_init),
12876         (gst_element_change_state), (gst_element_set_loop_function):
12877         * gst/gstelement.h:
12878         * gst/gstiterator.c:
12879         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12880         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12881         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12882         (gst_object_set_parent), (gst_object_unparent),
12883         (gst_object_check_uniqueness):
12884         * gst/gstobject.h:
12885         Docs updates, clean up some headers.
12886
12887 2005-03-07  Wim Taymans  <wim@fluendo.com>
12888
12889         * check/.cvsignore:
12890         * check/Makefile.am:
12891         * check/gst-libs/.cvsignore:
12892         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12893         * check/gst/.cvsignore:
12894         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12895         (START_TEST), (gstbus_suite), (main):
12896         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12897         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12898         (gst_data_suite), (main):
12899         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12900         (add_fold_func), (gstiterator_suite), (main):
12901         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12902         (thread_name_object), (thread_name_object_default),
12903         (gst_object_name_compare), (gst_object_suite), (main):
12904         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12905         (gst_pad_suite), (main):
12906         * check/gstcheck.c: (gst_check_log_message_func),
12907         (gst_check_log_critical_func), (gst_check_init):
12908         * check/gstcheck.h:
12909         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12910         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12911         Added checks.
12912
12913 2005-03-07  Wim Taymans  <wim@fluendo.com>
12914
12915         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12916         (gst_list_iterator_next), (gst_list_iterator_resync),
12917         (gst_list_iterator_free), (gst_iterator_new_list),
12918         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12919         (gst_iterator_free), (gst_iterator_push), (filter_next),
12920         (filter_resync), (filter_uninit), (filter_free),
12921         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12922         (gst_iterator_foreach), (find_custom_fold_func),
12923         (gst_iterator_find_custom):
12924         * gst/gstiterator.h:
12925         Added missing files.
12926
12927 2005-03-07  Wim Taymans  <wim@fluendo.com>
12928
12929         * Makefile.am:
12930         * configure.ac:
12931         * docs/design/part-MT-refcounting.txt:
12932         * docs/design/part-conventions.txt:
12933         * docs/design/part-gstobject.txt:
12934         * docs/design/part-relations.txt:
12935         * examples/mixer/mixer.c: (main):
12936         * examples/thread/thread.c: (eos), (main):
12937         * gst/Makefile.am:
12938         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12939         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12940         (gst_spider_plug_from_srcpad):
12941         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12942         (gst_spider_identity_change_state),
12943         (gst_spider_identity_sink_loop_type_finding):
12944         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12945         * gst/elements/gstidentity.c: (gst_identity_init):
12946         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12947         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12948         * gst/elements/gsttypefindelement.c: (free_entry):
12949         * gst/gst.c:
12950         * gst/gst.h:
12951         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12952         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12953         (gst_bin_set_index), (gst_bin_set_element_sched),
12954         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12955         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12956         (gst_bin_iterate_elements), (iterate_child_recurse),
12957         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12958         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12959         (compare_interface), (gst_bin_get_by_interface),
12960         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12961         * gst/gstbin.h:
12962         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12963         (gst_buffer_default_free), (gst_buffer_default_copy),
12964         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12965         (gst_buffer_create_sub):
12966         * gst/gstbuffer.h:
12967         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12968         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12969         (gst_caps_unref), (gst_static_caps_get),
12970         (gst_caps_remove_and_get_structure), (gst_caps_append),
12971         (gst_caps_append_structure), (gst_caps_remove_structure),
12972         (gst_caps_copy_nth), (gst_caps_set_simple),
12973         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12974         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12975         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12976         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12977         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12978         (gst_caps_structure_figure_out_union),
12979         (gst_caps_switch_structures), (gst_caps_do_simplify),
12980         (gst_caps_replace), (gst_caps_from_string),
12981         (gst_caps_copy_conditional):
12982         * gst/gstcaps.h:
12983         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12984         (_gst_clock_id_free), (gst_clock_id_unref),
12985         (gst_clock_id_compare_func), (gst_clock_id_wait),
12986         (gst_clock_id_wait_async), (gst_clock_class_init),
12987         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12988         (gst_clock_get_time), (gst_clock_set_time_adjust),
12989         (gst_clock_set_property), (gst_clock_get_property):
12990         * gst/gstclock.h:
12991         * gst/gstcompat.h:
12992         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12993         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12994         * gst/gstdata.h:
12995         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12996         (gst_element_requires_clock), (gst_element_provides_clock),
12997         (gst_element_set_clock), (gst_element_clock_wait),
12998         (gst_element_wait), (gst_element_set_time_delay),
12999         (gst_element_is_indexable), (gst_element_add_pad),
13000         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13001         (pad_compare_name), (gst_element_get_static_pad),
13002         (gst_element_request_pad), (gst_element_get_request_pad),
13003         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13004         (gst_element_class_get_pad_template_list),
13005         (gst_element_class_get_pad_template), (gst_element_error_func),
13006         (gst_element_get_random_pad), (gst_element_get_event_masks),
13007         (gst_element_send_event), (gst_element_seek),
13008         (gst_element_get_query_types), (gst_element_query),
13009         (gst_element_get_formats), (gst_element_convert),
13010         (gst_element_is_locked_state), (gst_element_set_locked_state),
13011         (gst_element_sync_state_with_parent), (gst_element_change_state),
13012         (gst_element_finalize), (gst_element_yield),
13013         (gst_element_interrupt), (gst_element_set_scheduler),
13014         (gst_element_get_scheduler), (gst_element_set_loop_function):
13015         * gst/gstelement.h:
13016         * gst/gstevent.h:
13017         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13018         (gst_format_get_by_nick), (gst_format_get_details),
13019         (gst_format_iterate_definitions):
13020         * gst/gstformat.h:
13021         * gst/gstindex.c: (gst_index_gtype_resolver):
13022         * gst/gstinfo.c:
13023         * gst/gstinfo.h:
13024         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13025         (gst_mem_chunk_free):
13026         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13027         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13028         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13029         (gst_object_dispatch_properties_changed),
13030         (gst_object_set_name_default), (gst_object_set_name),
13031         (gst_object_get_name), (gst_object_set_name_prefix),
13032         (gst_object_get_name_prefix), (gst_object_set_parent),
13033         (gst_object_get_parent), (gst_object_unparent),
13034         (gst_object_check_uniqueness), (gst_object_save_thyself),
13035         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13036         (gst_object_set_property), (gst_object_get_property),
13037         (gst_object_get_path_string):
13038         * gst/gstobject.h:
13039         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13040         (gst_real_pad_init), (gst_real_pad_get_property),
13041         (gst_pad_custom_new), (gst_pad_get_direction),
13042         (gst_pad_set_active), (gst_pad_is_active),
13043         (gst_pad_set_event_function), (gst_pad_is_linked),
13044         (gst_pad_link_free), (gst_pad_link_intersect),
13045         (gst_pad_link_fixate), (gst_pad_set_caps),
13046         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13047         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13048         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13049         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13050         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13051         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13052         (gst_pad_realize), (gst_pad_get_allowed_caps),
13053         (gst_real_pad_dispose), (gst_real_pad_finalize),
13054         (gst_pad_collectv), (gst_pad_collect_valist),
13055         (gst_pad_template_dispose), (gst_pad_template_new),
13056         (gst_pad_get_internal_links):
13057         * gst/gstpad.h:
13058         * gst/gstpipeline.c: (gst_pipeline_dispose),
13059         (gst_pipeline_change_state):
13060         * gst/gstpipeline.h:
13061         * gst/gstplugin.c:
13062         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13063         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13064         * gst/gstpluginfeature.h:
13065         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13066         * gst/gstquery.c: (_gst_query_type_initialize),
13067         (gst_query_type_register), (gst_query_type_get_by_nick),
13068         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13069         * gst/gstquery.h:
13070         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13071         * gst/gstscheduler.c: (gst_scheduler_add_element),
13072         (gst_scheduler_factory_create):
13073         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13074         (gst_structure_free), (gst_structure_set_name),
13075         (gst_structure_id_set_value), (gst_structure_set_value),
13076         (gst_structure_set_valist), (gst_structure_remove_field),
13077         (gst_structure_remove_fields),
13078         (gst_structure_remove_fields_valist),
13079         (gst_structure_remove_all_fields), (gst_structure_foreach),
13080         (gst_structure_map_in_place),
13081         (gst_caps_structure_fixate_field_nearest_int),
13082         (gst_caps_structure_fixate_field_nearest_double):
13083         * gst/gststructure.h:
13084         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13085         (gst_system_clock_init), (gst_system_clock_dispose),
13086         (gst_system_clock_async_thread),
13087         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13088         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13089         * gst/gstsystemclock.h:
13090         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13091         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13092         * gst/gsttaginterface.c:
13093         * gst/gstthread.c: (gst_thread_dispose),
13094         (gst_thread_release_children_locks), (gst_thread_change_state),
13095         (gst_thread_main_loop):
13096         * gst/gsttrashstack.h:
13097         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13098         * gst/gsttypes.h:
13099         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13100         (gst_element_request_pad), (gst_element_get_pad_from_template),
13101         (gst_element_request_compatible_pad),
13102         (gst_element_get_compatible_pad_filtered),
13103         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13104         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13105         (gst_element_link_many), (gst_element_link),
13106         (gst_element_link_pads), (gst_element_unlink_pads),
13107         (gst_element_unlink_many), (gst_element_unlink),
13108         (gst_pad_can_link_filtered), (gst_pad_can_link),
13109         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13110         (gst_object_default_error), (gst_bin_add_many),
13111         (gst_bin_remove_many), (gst_element_populate_std_props),
13112         (gst_element_class_install_std_props), (gst_buffer_merge),
13113         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13114         (link_fold_func), (gst_pad_proxy_setcaps):
13115         * gst/gstutils.h:
13116         * gst/gstvalue.c: (gst_value_deserialize_string):
13117         * gst/parse/grammar.y:
13118         * gst/schedulers/gstbasicscheduler.c:
13119         (gst_basic_scheduler_cothreaded_chain),
13120         (gst_basic_scheduler_chain_recursive_add),
13121         (gst_basic_scheduler_pad_link):
13122         * gst/schedulers/gstoptimalscheduler.c:
13123         (get_group_schedule_function),
13124         (gst_opt_scheduler_state_transition),
13125         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13126         * libs/gst/bytestream/bytestream.c:
13127         * libs/gst/dataprotocol/dataprotocol.c:
13128         (gst_dp_header_from_buffer):
13129         * po/nb.po:
13130         * po/ru.po:
13131         * tests/threadstate/threadstate2.c: (eos):
13132         * tools/gst-compprep.c: (main):
13133         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13134         (print_pad_info), (print_children_info):
13135         * tools/gst-launch.c: (idle_func), (main):
13136         * tools/gst-md5sum.c: (idle_func), (main):
13137         * tools/gst-xmlinspect.c: (print_element_info):
13138         First THREADED backport attempt, focusing on adding locks and
13139         making sure the API is threadsafe. Needs more work. More docs
13140         follow this week.
13141
13142 2005-02-24  Andy Wingo  <wingo@pobox.com>
13143
13144         * tests/bench-complexity.scm:
13145         * tests/complexity.gnuplot: New files, good for running complexity
13146         benchmarks.
13147
13148         * tests/Makefile.am:
13149         * tests/complexity.c: New test, sets up N elements, at each level
13150         teeing into M streams per element. Eeeenteresting.
13151
13152         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13153         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13154         running bench-mass_elements.scm.
13155
13156         * tests/bench-mass_elements.scm: New script, runs mass_elements
13157         for various numbers of identities, outputting the results to a
13158         file. Requires guile 1.6. Just for testing.
13159
13160 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13161
13162         * gst/schedulers/fairscheduler.c:
13163           compile with debug disabled
13164
13165 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13166
13167         * configure.ac:
13168           hunting season on 0.9 is now OPEN