plugins/elements/gstfakesrc.*: Fix broken sync code.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-05  Wim Taymans  <wim@fluendo.com>
2
3         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4         (gst_fake_src_get_times), (gst_fake_src_create):
5         * plugins/elements/gstfakesrc.h:
6         Fix broken sync code.
7
8 2005-12-05  Wim Taymans  <wim@fluendo.com>
9
10         * gst/gstcaps.c: (gst_caps_is_equal):
11         Comparing NULL against !NULL yields different caps, not a
12         failure.
13
14 2005-12-05  Wim Taymans  <wim@fluendo.com>
15
16         * gst/gstpipeline.c:
17         Fix small typo in docs.
18
19 2005-12-05  Andy Wingo  <wingo@pobox.com>
20
21         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
22
23         * gst/gst.c (init_post): remove hard-coded 0.9 location for
24         registries/plugins with a MAJORMINOR one.
25         (plugin_desc): Rename library from gstcoreleements to
26         staticelements. Fixes #323222.
27
28 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
29
30         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
31           Change debug category to 'collectpads' from 'collect_pads'
32           (fixes #323250).
33
34 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
35
36         patch by: Sebastien Moutte
37
38         * libs/gst/controller/gstinterpolation.c:
39           use convert function for uint64/double
40         * win32/vs6/libgstcontroller.dsp:
41           link to GLib
42
43 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
44
45         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
46         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
47         * gst/gstutils.h:
48         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
49           add tests that seem to show that the guint64/gdouble conversions
50           are correct.
51
52 2005-12-02  Wim Taymans  <wim@fluendo.com>
53
54         * gst/gstregistry.c: (gst_registry_add_path):
55         * gst/gstregistry.h:
56         * gst/gstregistryxml.c:
57         Fix docs again.
58
59 2005-12-02  Wim Taymans  <wim@fluendo.com>
60
61         * gst/gstutils.c: (gst_util_uint64_scale_int64),
62         (gst_util_uint64_scale_int):
63         Small cleanup.
64
65         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
66         Add debug log line.
67
68         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
69         Add FIXME.
70
71 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
72
73         * win32/MANIFEST:
74         * win32/common/config.h:
75         * win32/vs6/gstreamer.dsw:
76         * win32/vs6/libgstcoreelements.dsp:
77         * win32/vs6/libgstelements.dsp:
78           renamed core elements plugin
79
80 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
81
82         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
83         (get_candidates):
84           do piece-wise major/minor comparison so 0.9 < 0.10
85           also allow .exe extensions for tools
86
87 2005-12-02  Michael Smith  <msmith@fluendo.com>
88
89         * gst/gst.c:
90           Escape a % to make gtkdoc happier; bug 322958.
91
92 === release 0.9.7 ===
93
94 2005-12-01   <thomas (at) apestaart (dot) org>
95
96         * configure.ac:
97           releasing 0.9.7, "My Dog Has No Nose"
98
99 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
100
101         * common/gst-xmlinspect.py:
102         * configure.ac:
103         * docs/libs/tmpl/gstdataprotocol.sgml:
104         * docs/random/release:
105         * po/af.po:
106         * po/az.po:
107         * po/bg.po:
108         * po/ca.po:
109         * po/cs.po:
110         * po/de.po:
111         * po/en_GB.po:
112         * po/fr.po:
113         * po/it.po:
114         * po/nb.po:
115         * po/nl.po:
116         * po/ru.po:
117         * po/sq.po:
118         * po/sr.po:
119         * po/sv.po:
120         * po/tr.po:
121         * po/uk.po:
122         * po/vi.po:
123         * win32/common/config.h:
124         * win32/common/config.h.in:
125         * win32/vs6/gst_inspect.dsp:
126         * win32/vs6/gst_launch.dsp:
127         * win32/vs6/libgstbase.dsp:
128         * win32/vs6/libgstelements.dsp:
129         * win32/vs6/libgstreamer.dsp:
130         * win32/vs7/GStreamer.vcproj:
131         * win32/vs7/gst-inspect.vcproj:
132         * win32/vs7/gst-launch.vcproj:
133         * win32/vs7/libgstbase.vcproj:
134           bump GST_MAJORMINOR to 0.10
135           reset libtool version
136
137 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
138
139         * po/LINGUAS:
140         * po/bg.po:
141           Added Bulgarian translation by (Alexander Shopov)
142
143 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
144
145         * tests/check/gst/gstplugin.c:
146           fix test
147
148 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
149
150         * common/gst-xmlinspect.py:
151         * common/gtk-doc-plugins.mak:
152         * configure.ac:
153         * docs/Makefile.am:
154         * docs/gst/Makefile.am:
155         * docs/gst/gstreamer-docs.sgml:
156         * docs/gst/gstreamer-sections.txt:
157         * docs/gst/gstreamer.types:
158         * docs/gst/gstreamer.types.in:
159         * docs/plugins/Makefile.am:
160         * docs/plugins/gstreamer-plugins-docs.sgml:
161         * docs/plugins/gstreamer-plugins-sections.txt:
162         * docs/plugins/gstreamer-plugins.types:
163         * docs/plugins/inspect.stamp:
164         * docs/plugins/inspect/plugin-coreelements.xml:
165         * docs/plugins/inspect/plugin-coreindexers.xml:
166         * docs/plugins/scanobj-build.stamp:
167         * gstreamer.spec.in:
168         * plugins/elements/Makefile.am:
169         * plugins/elements/gstelements.c:
170         * plugins/elements/gstfakesink.c:
171         * plugins/elements/gstfakesrc.c:
172         * plugins/elements/gstfilesink.c:
173         * plugins/elements/gstfilesrc.c:
174         * plugins/elements/gstqueue.c:
175         * plugins/indexers/Makefile.am:
176         * plugins/indexers/gstindexers.c:
177           document core plugins in a separate document just like all the
178           others
179           rename these plugins to something starting with core
180
181 2005-12-01  Andy Wingo  <wingo@pobox.com>
182
183         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
184         padding here before, but it missed the commit.
185
186 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
187
188         * libs/gst/controller/gstinterpolation.c:
189           whitespace prices have crashed, we should feel free to use some now
190           use gst_guint64_to_gdouble
191
192 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
193
194         * libs/gst/controller/gstcontroller.c:
195         * libs/gst/controller/gsthelper.c:
196         * libs/gst/controller/gstinterpolation.c:
197         * libs/gst/controller/lib.c:
198           wrap config.h include
199
200 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
201
202         * docs/gst/gstreamer-sections.txt:
203           update docs
204
205 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
206
207         * plugins/elements/gstelements.c:
208         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
209         (gst_fd_sink__class_init), (gst_fd_sink__init),
210         (gst_fd_sink__chain), (gst_fd_sink__set_property),
211         (gst_fd_sink__get_property):
212         * plugins/elements/gstfdsink.h:
213         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
214         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
215         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
216         (gst_fd_src_unlock), (gst_fd_src_set_property),
217         (gst_fd_src_get_property), (gst_fd_src_create),
218         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
219         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
220         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
221         (gst_fd_src_uri_handler_init):
222         * plugins/elements/gstfdsrc.h:
223         * plugins/elements/gstqueue.c: (gst_queue_get_type):
224           more anal cleanup
225
226 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
227
228         * docs/gst/Makefile.am:
229         * docs/gst/gstreamer.types.in:
230         * gst/Makefile.am:
231           fix the docs build
232
233 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
234
235         * configure.ac:
236         * gst/Makefile.am:
237         * gst/gst.c:
238         * gst/gstplugin.h:
239         * gst/gstregistry.h:
240         * tests/benchmarks/complexity.c:
241         * tests/benchmarks/mass-elements.c:
242         * tests/check/Makefile.am:
243         * tools/Makefile.am:
244         * tools/gst-inspect.c:
245         * tools/gst-xmlinspect.c:
246           various fixes to make
247           --disable-nls --disable-registry --disable-loadsave
248           --disable-parse --disable-gst-debug
249           work and get the core .so down to 360444 bytes after stripping
250
251 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
252
253         * Makefile.am:
254         * configure.ac:
255           descend into tests
256         * docs/random/thomasvs/TODO:
257         * tests/Makefile.am:
258         * tests/README:
259           add a README
260
261 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
262
263         * win32/GStreamer.vcproj:
264         * win32/MANIFEST:
265         * win32/Makefile:
266         * win32/Makefile.inspect:
267         * win32/Makefile.launch:
268         * win32/Makefile.register:
269         * win32/README.txt:
270         * win32/gst-inspect.vcproj:
271         * win32/gst-launch.vcproj:
272         * win32/gst-register.vcproj:
273         * win32/gstelements.vcproj:
274         * win32/gstgetbits.def:
275         * win32/gstgetbits.vcproj:
276         * win32/gstreamer-dbg.def:
277         * win32/gstreamer.def:
278         * win32/libgstbase.def:
279         * win32/libgstbase.vcproj:
280         * win32/link_oldruntime.c:
281         * win32/mman.c:
282         * win32/mman.h:
283         * win32/mman.inl:
284         * win32/msvc71.sln:
285           move even more stuff, win32/ is nice and clean now
286
287 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
288
289         * libs/gst/control/.cvsignore:
290         * win32/MANIFEST:
291         * win32/config.h:
292         * win32/dirent.c:
293         * win32/dirent.h:
294         * win32/gstbytestream.def:
295         * win32/gstbytestream.vcproj:
296         * win32/gstconfig.h:
297         * win32/gstenumtypes.c:
298         * win32/gstenumtypes.h:
299         * win32/gstoptimalscheduler.vcproj:
300         * win32/gstversion.h:
301         * win32/gtchar.h:
302         * win32/testsuite/bins.vcproj:
303         * win32/testsuite/bytestream.vcproj:
304         * win32/testsuite/caps.vcproj:
305         * win32/testsuite/cleanup.vcproj:
306         * win32/testsuite/clock.vcproj:
307         * win32/testsuite/debug.vcproj:
308         * win32/testsuite/dlopen.vcproj:
309         * win32/testsuite/dynparams.vcproj:
310         * win32/testsuite/elements.vcproj:
311         * win32/testsuite/ghostpads.vcproj:
312         * win32/testsuite/indexers.vcproj:
313         * win32/testsuite/negotiation.vcproj:
314         * win32/testsuite/parse.vcproj:
315         * win32/testsuite/plugin.vcproj:
316         * win32/testsuite/refcounting.vcproj:
317         * win32/testsuite/schedulers.vcproj:
318         * win32/testsuite/states.vcproj:
319         * win32/testsuite/tags.vcproj:
320         * win32/testsuite/threads.vcproj:
321           remove old win32 stuff that isn't maintained and should be
322           reorganized
323
324 2005-11-30  Andy Wingo  <wingo@pobox.com>
325
326         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
327         loading the gst.interfaces python module bork.
328
329         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
330         available since GLib 2.2. Fixes #318031.
331
332 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
333
334         * Makefile.am:
335         * check/.cvsignore:
336         * check/Makefile.am:
337         * check/elements/.cvsignore:
338         * check/elements/fakesrc.c:
339         * check/elements/fdsrc.c:
340         * check/elements/identity.c:
341         * check/generic/.cvsignore:
342         * check/generic/states.c:
343         * check/gst-libs/.cvsignore:
344         * check/gst-libs/controller.c:
345         * check/gst-libs/gdp.c:
346         * check/gst/.cvsignore:
347         * check/gst/capslist.h:
348         * check/gst/gst.c:
349         * check/gst/gstbin.c:
350         * check/gst/gstbuffer.c:
351         * check/gst/gstbus.c:
352         * check/gst/gstcaps.c:
353         * check/gst/gstelement.c:
354         * check/gst/gstevent.c:
355         * check/gst/gstghostpad.c:
356         * check/gst/gstiterator.c:
357         * check/gst/gstmessage.c:
358         * check/gst/gstminiobject.c:
359         * check/gst/gstobject.c:
360         * check/gst/gstpad.c:
361         * check/gst/gstpipeline.c:
362         * check/gst/gstplugin.c:
363         * check/gst/gstsegment.c:
364         * check/gst/gststructure.c:
365         * check/gst/gstsystemclock.c:
366         * check/gst/gsttag.c:
367         * check/gst/gstutils.c:
368         * check/gst/gstvalue.c:
369         * check/net/.cvsignore:
370         * check/net/gstnetclientclock.c:
371         * check/net/gstnettimeprovider.c:
372         * check/pipelines/.cvsignore:
373         * check/pipelines/cleanup.c:
374         * check/pipelines/simple_launch_lines.c:
375         * check/pipelines/stress.c:
376         * check/states/.cvsignore:
377         * check/states/sinks.c:
378         * configure.ac:
379         * examples/Makefile.am:
380         * examples/appreader/.cvsignore:
381         * examples/appreader/Makefile.am:
382         * examples/appreader/appreader.c:
383         * examples/controller/.cvsignore:
384         * examples/controller/Makefile.am:
385         * examples/controller/audio-example.c:
386         * examples/cutter/.cvsignore:
387         * examples/cutter/Makefile.am:
388         * examples/cutter/cutter.c:
389         * examples/cutter/cutter.h:
390         * examples/events/Makefile.am:
391         * examples/events/seek.c:
392         * examples/helloworld/.cvsignore:
393         * examples/helloworld/Makefile.am:
394         * examples/helloworld/helloworld.c:
395         * examples/helloworld2/.cvsignore:
396         * examples/helloworld2/Makefile.am:
397         * examples/helloworld2/helloworld2.c:
398         * examples/launch/.cvsignore:
399         * examples/launch/Makefile.am:
400         * examples/launch/mp3parselaunch.c:
401         * examples/launch/mp3play:
402         * examples/manual/.cvsignore:
403         * examples/manual/Makefile.am:
404         * examples/manual/extract.pl:
405         * examples/metadata/Makefile.am:
406         * examples/metadata/read-metadata.c:
407         * examples/mixer/.cvsignore:
408         * examples/mixer/Makefile.am:
409         * examples/mixer/mixer.c:
410         * examples/mixer/mixer.h:
411         * examples/pingpong/.cvsignore:
412         * examples/pingpong/Makefile.am:
413         * examples/pingpong/pingpong.c:
414         * examples/plugins/.cvsignore:
415         * examples/plugins/Makefile.am:
416         * examples/plugins/example.c:
417         * examples/plugins/example.h:
418         * examples/pwg/.cvsignore:
419         * examples/pwg/Makefile.am:
420         * examples/pwg/extract.pl:
421         * examples/queue/.cvsignore:
422         * examples/queue/Makefile.am:
423         * examples/queue/queue.c:
424         * examples/queue2/.cvsignore:
425         * examples/queue2/Makefile.am:
426         * examples/queue2/queue2.c:
427         * examples/queue3/.cvsignore:
428         * examples/queue3/Makefile.am:
429         * examples/queue3/queue3.c:
430         * examples/queue4/.cvsignore:
431         * examples/queue4/Makefile.am:
432         * examples/queue4/queue4.c:
433         * examples/retag/.cvsignore:
434         * examples/retag/Makefile.am:
435         * examples/retag/retag.c:
436         * examples/retag/transcode.c:
437         * examples/thread/.cvsignore:
438         * examples/thread/Makefile.am:
439         * examples/thread/thread.c:
440         * examples/typefind/.cvsignore:
441         * examples/typefind/Makefile.am:
442         * examples/typefind/typefind.c:
443         * examples/xml/.cvsignore:
444         * examples/xml/Makefile.am:
445         * examples/xml/createxml.c:
446         * examples/xml/runxml.c:
447         * tests/Makefile.am:
448         * tests/check/Makefile.am:
449         * testsuite/.cvsignore:
450         * testsuite/Makefile.am:
451         * testsuite/Rules:
452         * testsuite/caps/.cvsignore:
453         * testsuite/caps/Makefile.am:
454         * testsuite/caps/app_fixate.c:
455         * testsuite/caps/audioscale.c:
456         * testsuite/caps/caps.c:
457         * testsuite/caps/caps.h:
458         * testsuite/caps/caps_strings:
459         * testsuite/caps/compatibility.c:
460         * testsuite/caps/deserialize.c:
461         * testsuite/caps/enumcaps.c:
462         * testsuite/caps/eratosthenes.c:
463         * testsuite/caps/filtercaps.c:
464         * testsuite/caps/fixed.c:
465         * testsuite/caps/fraction-convert.c:
466         * testsuite/caps/fraction-multiply-and-zero.c:
467         * testsuite/caps/intersect2.c:
468         * testsuite/caps/intersection.c:
469         * testsuite/caps/normalisation.c:
470         * testsuite/caps/random.c:
471         * testsuite/caps/renegotiate.c:
472         * testsuite/caps/sets.c:
473         * testsuite/caps/simplify.c:
474         * testsuite/caps/string-conversions.c:
475         * testsuite/caps/structure.c:
476         * testsuite/caps/subtract.c:
477         * testsuite/caps/union.c:
478         * testsuite/debug/.cvsignore:
479         * testsuite/debug/Makefile.am:
480         * testsuite/debug/category.c:
481         * testsuite/debug/commandline.c:
482         * testsuite/debug/global.c:
483         * testsuite/debug/output.c:
484         * testsuite/debug/printf_extension.c:
485         * testsuite/dlopen/.cvsignore:
486         * testsuite/dlopen/Makefile.am:
487         * testsuite/dlopen/dlopen_gst.c:
488         * testsuite/dlopen/loadgst.c:
489         * testsuite/elements/.cvsignore:
490         * testsuite/elements/Makefile.am:
491         * testsuite/elements/gst-inspect-check.in:
492         * testsuite/elements/struct_i386.h:
493         * testsuite/elements/struct_size.c:
494         * testsuite/indexers/.cvsignore:
495         * testsuite/indexers/Makefile.am:
496         * testsuite/indexers/cache1.c:
497         * testsuite/indexers/indexdump.c:
498         * testsuite/parse/.cvsignore:
499         * testsuite/parse/Makefile.am:
500         * testsuite/parse/parse1.c:
501         * testsuite/parse/parse2.c:
502         * testsuite/plugin/.cvsignore:
503         * testsuite/plugin/Makefile.am:
504         * testsuite/plugin/README:
505         * testsuite/plugin/dynamic.c:
506         * testsuite/plugin/linked.c:
507         * testsuite/plugin/loading.c:
508         * testsuite/plugin/registry.c:
509         * testsuite/plugin/static.c:
510         * testsuite/plugin/static2.c:
511         * testsuite/plugin/testplugin.c:
512         * testsuite/plugin/testplugin2.c:
513         * testsuite/plugin/testplugin2_s.c:
514         * testsuite/plugin/testplugin_s.c:
515         * testsuite/refcounting/.cvsignore:
516         * testsuite/refcounting/Makefile.am:
517         * testsuite/refcounting/bin.c:
518         * testsuite/refcounting/element.c:
519         * testsuite/refcounting/element_pad.c:
520         * testsuite/refcounting/mainloop.c:
521         * testsuite/refcounting/mem.c:
522         * testsuite/refcounting/mem.h:
523         * testsuite/refcounting/object.c:
524         * testsuite/refcounting/pad.c:
525         * testsuite/refcounting/sched.c:
526         * testsuite/refcounting/thread.c:
527         * testsuite/states/.cvsignore:
528         * testsuite/states/Makefile.am:
529         * testsuite/states/bin.c:
530         * testsuite/states/locked.c:
531         * testsuite/states/parent.c:
532         * testsuite/threads/.cvsignore:
533         * testsuite/threads/159566.c:
534         * testsuite/threads/159852.c:
535         * testsuite/threads/Makefile.am:
536         * testsuite/threads/queue.c:
537         * testsuite/threads/signals.c:
538         * testsuite/threads/staticrec.c:
539         * testsuite/threads/thread.c:
540         * testsuite/threads/threadb.c:
541         * testsuite/threads/threadc.c:
542         * testsuite/threads/threadd.c:
543         * testsuite/threads/threade.c:
544         * testsuite/threads/threadf.c:
545         * testsuite/threads/threadg.c:
546         * testsuite/threads/threadh.c:
547         * testsuite/threads/threadi.c:
548           move all of these under tests
549
550 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
551
552         * configure.ac:
553         * tests/Makefile.am:
554           fix distcheck
555
556 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
557
558         * docs/gst/gstreamer-sections.txt:
559         * tests/sched/.cvsignore:
560         * tests/sched/Makefile.am:
561         * tests/sched/cases/(fs-fs).xml:
562         * tests/sched/cases/(fs-i-fs).xml:
563         * tests/sched/cases/(fs-i-i-fs).xml:
564         * tests/sched/cases/(fs-i-q[i-fs]).xml:
565         * tests/sched/dynamic-pipeline.c:
566         * tests/sched/interrupt1.c:
567         * tests/sched/interrupt2.c:
568         * tests/sched/interrupt3.c:
569         * tests/sched/runtestcases:
570         * tests/sched/runxml.c:
571         * tests/sched/sched-stress.c:
572         * tests/sched/sort.c:
573         * tests/sched/testcases:
574         * tests/sched/testcases1.tc:
575         * tests/seeking/.cvsignore:
576         * tests/seeking/Makefile.am:
577         * tests/seeking/seeking1.c:
578         * tests/threadstate/.cvsignore:
579         * tests/threadstate/Makefile.am:
580         * tests/threadstate/test1.c:
581         * tests/threadstate/test2.c:
582         * tests/threadstate/threadstate1.c:
583         * tests/threadstate/threadstate2.c:
584         * tests/threadstate/threadstate3.c:
585         * tests/threadstate/threadstate4.c:
586         * tests/threadstate/threadstate5.c:
587           remove obsolete tests
588         * configure.ac:
589         * tests/bench-complexity.scm:
590         * tests/bench-mass_elements.scm:
591         * tests/complexity.c:
592         * tests/complexity.gnuplot:
593         * tests/instantiate/.cvsignore:
594         * tests/instantiate/Makefile.am:
595         * tests/instantiate/caps.c:
596         * tests/mass_elements.c:
597         * tests/network-clock-utils.scm:
598         * tests/network-clock.scm:
599         * tests/plot-data:
600         First pass at cleaning up tests/ dir before moving the rest
601         Combined with CVS surgery
602
603 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
604
605         * po/POTFILES.in:
606           queue has moved, update
607
608 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
609
610         * docs/gst/gstreamer-sections.txt:
611           remove double entries from the docs
612         * gst/gst_private.h:
613         * gst/gstinfo.c: (_gst_debug_init):
614           remove the THREAD debug category
615         * gst/Makefile.am:
616         * gst/gstqueue.c:
617         * gst/gstqueue.h:
618         * docs/gst/gstreamer.types:
619         * plugins/elements/gstqueue.c: (gst_queue_get_type),
620         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
621           completely move queue and fix up debugging categories
622
623 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
624
625         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
626           make initialization portable, using LL is not
627
628 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
629
630         * win32/common/gstconfig.h:
631           add large padding
632
633 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
634
635         * win32/common/libgstreamer.def:
636           rename symbols; sort base section
637
638 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
639
640         * gst/gstclock.c: (do_linear_regression):
641           remove crack non-portable handrolled DEBUG macro
642
643 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
644
645         * docs/random/release:
646           update notes
647         * win32/common/gstenumtypes.c: (register_gst_object_flags),
648         (gst_object_flags_get_type), (register_gst_bin_flags),
649         (gst_bin_flags_get_type), (register_gst_buffer_flag),
650         (gst_buffer_flag_get_type), (register_gst_bus_flags),
651         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
652         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
653         (gst_caps_flags_get_type), (register_gst_clock_return),
654         (gst_clock_return_get_type), (register_gst_clock_entry_type),
655         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
656         (gst_clock_flags_get_type), (register_gst_state),
657         (gst_state_get_type), (register_gst_state_change_return),
658         (gst_state_change_return_get_type), (register_gst_state_change),
659         (gst_state_change_get_type), (register_gst_element_flags),
660         (gst_element_flags_get_type), (register_gst_core_error),
661         (gst_core_error_get_type), (register_gst_library_error),
662         (gst_library_error_get_type), (register_gst_resource_error),
663         (gst_resource_error_get_type), (register_gst_stream_error),
664         (gst_stream_error_get_type), (register_gst_event_type_flags),
665         (gst_event_type_flags_get_type), (register_gst_event_type),
666         (gst_event_type_get_type), (register_gst_seek_type),
667         (gst_seek_type_get_type), (register_gst_seek_flags),
668         (gst_seek_flags_get_type), (register_gst_format),
669         (gst_format_get_type), (register_gst_index_certainty),
670         (gst_index_certainty_get_type), (register_gst_index_entry_type),
671         (gst_index_entry_type_get_type),
672         (register_gst_index_lookup_method),
673         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
674         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
675         (gst_index_resolver_method_get_type), (register_gst_index_flags),
676         (gst_index_flags_get_type), (register_gst_debug_level),
677         (gst_debug_level_get_type), (register_gst_debug_color_flags),
678         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
679         (gst_iterator_result_get_type), (register_gst_iterator_item),
680         (gst_iterator_item_get_type), (register_gst_message_type),
681         (gst_message_type_get_type), (register_gst_mini_object_flags),
682         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
683         (gst_pad_link_return_get_type), (register_gst_flow_return),
684         (gst_flow_return_get_type), (register_gst_activate_mode),
685         (gst_activate_mode_get_type), (register_gst_pad_direction),
686         (gst_pad_direction_get_type), (register_gst_pad_flags),
687         (gst_pad_flags_get_type), (register_gst_pad_presence),
688         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
689         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
690         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
691         (gst_plugin_error_get_type), (register_gst_plugin_flags),
692         (gst_plugin_flags_get_type), (register_gst_rank),
693         (gst_rank_get_type), (register_gst_query_type),
694         (gst_query_type_get_type), (register_gst_tag_merge_mode),
695         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
696         (gst_tag_flag_get_type), (register_gst_task_state),
697         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
698         (gst_alloc_trace_flags_get_type),
699         (register_gst_type_find_probability),
700         (gst_type_find_probability_get_type), (register_gst_uri_type),
701         (gst_uri_type_get_type), (register_gst_parse_error),
702         (gst_parse_error_get_type):
703         * win32/common/gstenumtypes.h:
704         * win32/common/gstversion.h:
705           update visual studio generated files
706
707 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
708
709         * win32/vs6/libgstbase.dsp:
710         * win32/vs6/libgstelements.dsp:
711           update project files for new locations
712
713 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
714
715         * Makefile.am:
716           remove some files
717         * README:
718           reinstate and update
719         * DEVEL:
720         * REQUIREMENTS:
721           removed
722         * LICENSE:
723         * docs/random/LICENSE:
724           moved to random
725
726 2005-11-30  Edward Hervey  <edward@fluendo.com>
727
728         * gst/gsttypefind.c: (gst_type_find_register):
729         * gst/gsttypefind.h:
730         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
731         (gst_type_find_factory_dispose):
732         * gst/gsttypefindfactory.h:
733         Fix memory leak in GstTypeFindFactory.
734
735 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
736
737         * gst/gst.c:
738         * plugins/elements/Makefile.am:
739         * plugins/elements/gstelements.c:
740         * plugins/elements/gstqueue.c:
741           move queue from core to the elements plugin
742
743 2005-11-29  Andy Wingo  <wingo@pobox.com>
744
745         * libs/gst/base/gstbasetransform.h: 
746         * libs/gst/base/gstbasesrc.h: 
747         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
748
749         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
750         of pointers by which to pad very extensible base classes (like the
751         ones in libs/gst/base).
752
753 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
754
755         * docs/gst/gstreamer-docs.sgml:
756         * docs/gst/gstreamer-sections.txt:
757         * docs/libs/gstreamer-libs-docs.sgml:
758         * docs/libs/gstreamer-libs-sections.txt:
759           moving documentation from core to lib
760
761 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
762
763         * check/Makefile.am:
764         * configure.ac:
765         * docs/gst/Makefile.am:
766         * gst/Makefile.am:
767         * gst/base/.cvsignore:
768         * gst/base/Makefile.am:
769         * gst/base/README:
770         * gst/base/gstadapter.c:
771         * gst/base/gstadapter.h:
772         * gst/base/gstbasesink.c:
773         * gst/base/gstbasesink.h:
774         * gst/base/gstbasesrc.c:
775         * gst/base/gstbasesrc.h:
776         * gst/base/gstbasetransform.c:
777         * gst/base/gstbasetransform.h:
778         * gst/base/gstcollectpads.c:
779         * gst/base/gstcollectpads.h:
780         * gst/base/gstpushsrc.c:
781         * gst/base/gstpushsrc.h:
782         * gst/base/gsttypefindhelper.c:
783         * gst/base/gsttypefindhelper.h:
784         * gst/check/Makefile.am:
785         * gst/check/gstcheck.c:
786         * gst/check/gstcheck.h:
787         * gst/net/Makefile.am:
788         * gst/net/gstnet.h:
789         * gst/net/gstnetclientclock.c:
790         * gst/net/gstnetclientclock.h:
791         * gst/net/gstnettimepacket.c:
792         * gst/net/gstnettimepacket.h:
793         * gst/net/gstnettimeprovider.c:
794         * gst/net/gstnettimeprovider.h:
795         * libs/gst/Makefile.am:
796         * libs/gst/base/Makefile.am:
797         * libs/gst/base/gstbasetransform.c:
798         * libs/gst/check/Makefile.am:
799         * plugins/elements/Makefile.am:
800         * po/POTFILES.in:
801           CVS surgery + support to move base, check, and net out of gst
802           and into libs/gst
803
804 2005-11-29  Andy Wingo  <wingo@pobox.com>
805
806         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
807
808         * gst/gststructure.h (struct _GstStructure): Only one pointer of
809         padding.
810
811         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
812
813         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
814
815         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
816
817         * gst/gstobject.h: (struct _GstObject): Only one pointer of
818         padding; reduces object size by about 30%. We don't expect
819         anything else to go into gstobject.
820
821         * gst/gstminiobject.h (struct _GstMiniObject)
822         (struct _GstMiniObjectClass): Only one pointer of padding; the
823         payload is only a pointer and two ints anyway. For the class there
824         are only two methods as well.
825         
826         * gst/gstelement.h (struct _GstElementClass): Removed
827         the state_changed signal callback, it is not used.
828
829 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
830
831         * docs/gst/gstreamer.types:
832           fix includes, though they are a little dinky
833
834 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
835
836         * check/Makefile.am:
837           look in the right place for elements, a lot more chance of
838           success
839         * gst/Makefile.am:
840           remove indexers and elements subdirs
841         * plugins/Makefile.am:
842           make indexers conditional
843
844 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
845
846         * Makefile.am:
847         * configure.ac:
848         * plugins/elements/Makefile.am:
849         * plugins/elements/gstcapsfilter.c:
850         * plugins/elements/gstfilesink.c:
851         * plugins/elements/gstfilesrc.c:
852         * plugins/elements/gstidentity.c:
853         * plugins/indexers/Makefile.am:
854           do CVS surgery and related build fixery to move elements
855           and indexers in a new gstreamer/plugins directory, out of the
856           gst/ directory
857
858 2005-11-29  Andy Wingo  <wingo@pobox.com>
859
860         * check/Makefile.am:
861         * pkgconfig/gstreamer-net-uninstalled.pc.in:
862         * pkgconfig/gstreamer-net.pc.in:
863         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
864         #322257.
865
866 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
867
868         * tools/Makefile.am:
869         * tools/gst-complete.1.in:
870         * tools/gst-complete.c:
871         * tools/gst-compprep.1.in:
872         * tools/gst-compprep.c:
873           removing -compprep and -complete
874
875 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
876
877         * gst/gstevent.c: (gst_event_new_new_segment),
878         (gst_event_parse_new_segment):
879         * gst/gstevent.h:
880           fix #320529 - clean up new_segment API and structure.
881           Let's hope everyone was using the methods, and not the structure.
882
883 2005-11-29  Edward Hervey  <edward@fluendo.com>
884
885         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
886         (gst_base_sink_event), (gst_base_sink_do_sync),
887         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
888         Properly handle non GST_FORMAT_TIME segment
889         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
890         Properly handle non GST_FORMAT_TIME segment
891         * gst/gstsegment.c:
892         This function is valid if the accumulator is 0 and the format
893         is different from the requested format.
894         
895 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
896
897         * docs/gst/gstreamer-sections.txt:
898         Add gst_query_new_seeking and gst_query_parse_seeking to the
899         docs.
900
901 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
902
903         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
904           Treat a pad alloc with new caps the same as if we were not
905           negotiated, in order to allow a changing upstream output
906           to produce a new format of data.
907
908 2005-11-29  Edward Hervey  <edward@fluendo.com>
909
910         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
911         (gst_base_transform_event), (gst_base_transform_eventfunc):
912         The event virtual method is now properly implemented, with a default
913         handler
914         Sub classes should call the parent_class event method. They should
915         return FALSE if they had a problem handling the given event, or don't
916         want GstBaseTransform to send that even downstream
917         * gst/elements/gstidentity.c: (gst_identity_class_init),
918         (gst_identity_init), (gst_identity_event),
919         (gst_identity_transform_ip), (gst_identity_set_property),
920         (gst_identity_get_property):
921         * gst/elements/gstidentity.h:
922         Added the single-segment boolean property.
923         If set to TRUE, it will output a single segment of data, starting from
924         0, will eat up all incoming newsegment, and modify the timestamp of the
925         buffers accordingly
926
927 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
928
929         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
930           Don't ref NULL target pad (#322751). Improve docs.
931
932 2005-11-29  Michael Smith  <msmith@fluendo.com>
933
934         * gst/gstregistryxml.c: (load_plugin):
935           Don't crash if we failed to load a feature from a plugin. 
936
937 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
938
939         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
940         (GST_START_TEST):
941           use more check API and less GLib API
942
943 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
944
945         * Makefile.am:
946           don't run checks if we don't have check
947         * common/check.mak:
948           remove the registry when running make torture
949         * docs/gst/gstreamer-sections.txt:
950           remove second multiply
951         * gst/gstqueue.c: (gst_queue_loop):
952           fix a compile warning when disabling debug
953
954 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
955
956         * gst/gstinfo.h:
957         Hey! Let's print the pad name if the pointer != NULL instead
958         of when it == NULL :-)
959
960 2005-11-28  Wim Taymans  <wim@fluendo.com>
961
962         * check/gst/gstutils.c: (GST_START_TEST):
963         Updated check, add some scaling accuracy checking code.
964
965         * gst/gstutils.c: (gst_util_div128_64),
966         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
967         (gst_util_uint64_scale_int):
968         Fix 6 times faster division code. Optimize for common 
969         1/1 and less common X/1 cases.
970
971 2005-11-28  Wim Taymans  <wim@fluendo.com>
972
973         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
974         More checks.
975
976         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
977         (do_linear_regression), (gst_clock_add_observation):
978         Cleanups.
979         Release lock when the clock cannot be slaved.
980         Catch the case where the regression returned an invalid denominator.
981
982         * gst/gstutils.c: (gst_util_div128_64_iterate),
983         (gst_util_div128_64), (gst_util_uint64_scale_int64),
984         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
985         Add protentially more performant non-iterative 128/64 divide function
986         that unfortunatly does not work yet.
987         Shortcut the trivial 0/X = 0 case.
988         Remove the warnings on overflow.
989
990 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
991
992         * gst/gstplugin.c: (gst_plugin_register_func):
993           everything causing a plugin not to load should be at least a WARNING
994
995 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
996
997         * docs/random/ensonic/dparams.txt:
998           some TODOs for the next dev cycle
999         * libs/gst/controller/gstcontroller.c:
1000         (gst_controlled_property_set_interpolation_mode),
1001         (gst_controlled_property_new):
1002         * libs/gst/controller/gstcontroller.h:
1003           use base type to assign acccessor functions
1004
1005 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1006
1007         * check/Makefile.am:
1008         Oops, that should have been top_srcdir
1009
1010 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1011
1012         * check/Makefile.am:
1013         * check/elements/fdsrc.c: (GST_START_TEST):
1014         Use a cmdline define to specify the location of a file to use for
1015         testing, to avoid breaking distcheck.
1016
1017 2005-11-28  Andy Wingo  <wingo@pobox.com>
1018
1019         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1020
1021 2005-11-28  Edward Hervey  <edward@fluendo.com>
1022
1023         * tools/gst-launch.c: (main):
1024         Clarify the output strings, makes it easier to translate.
1025         Fixes #322626
1026
1027 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1028
1029         * gst/Makefile.am:
1030           don't try and build net if we don't even have <sys/socket.h>
1031
1032 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1033
1034         * check/Makefile.am:
1035         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1036         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1037           Add tests for fdsrc seekability
1038
1039         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1040         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1041         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1042         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1043         * gst/elements/gstfdsrc.h:
1044           fdsrc should not be a 'live' source.
1045           Implement seeking on seekable fd's.
1046
1047         * gst/gstquery.c: (gst_query_new_seeking),
1048         (gst_query_parse_seeking):
1049         * gst/gstquery.h:
1050           Implement SEEKING query functions: 
1051             *_new_seeking and *_parse_seeking
1052
1053 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1054
1055         * gst/gstelement.c: (gst_element_dispose):
1056           don't loop forever
1057
1058         * gst/gstiterator.c:
1059         * gst/gststructure.c:
1060           doc fixes
1061
1062         * libs/gst/controller/gstcontroller.c:
1063         (gst_controlled_property_set_interpolation_mode):
1064         * libs/gst/controller/gstcontroller.h:
1065         * libs/gst/controller/gstinterpolation.c:
1066         (interpolate_none_get_enum_value_array):
1067           support controlling enums
1068
1069 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1070
1071         * gst/gstvalue.c:
1072           Improve documentation for gst_value_union().
1073
1074         * gst/gstvalue.h:
1075           Change return value for union, intersect and subtract functions
1076           from gint to gboolean.
1077
1078 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1079
1080         * gst/gstvalue.c: (gst_value_serialize_any_list),
1081         (gst_value_transform_any_list_string),
1082         (gst_value_deserialize_list), (gst_value_deserialize_array),
1083         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1084         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1085         (gst_value_set_fraction_range_full),
1086         (gst_value_deserialize_fraction_range),
1087         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1088         (gst_value_deserialize_boolean),
1089         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1090         (gst_value_serialize_float), (gst_value_deserialize_float),
1091         (gst_string_wrap), (gst_value_deserialize_string),
1092         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1093         (gst_value_union_int_range_int_range),
1094         (gst_value_intersect_int_range_int_range),
1095         (gst_value_intersect_double_range_double_range),
1096         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1097         (gst_value_subtract_int_range_int_range),
1098         (gst_value_subtract_double_double_range),
1099         (gst_value_subtract_double_range_double_range),
1100         (gst_value_deserialize_fraction):
1101         * gst/gstvalue.h:
1102           Use gint, gdouble and gchar in our API instead of int, double and
1103           char (and make usage in gstvalue.c more consistent).
1104
1105 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1106
1107         * check/Makefile.am:
1108         * libs/gst/controller/Makefile.am:
1109         * libs/gst/dataprotocol/Makefile.am:
1110           fix up Makefile.am and remove GST_ENABLE_NEW
1111
1112 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1113
1114         * configure.ac:
1115         * gst/Makefile.am:
1116         * gst/base/Makefile.am:
1117         * gst/check/Makefile.am:
1118         * gst/elements/Makefile.am:
1119         * gst/net/Makefile.am:
1120           update LDFLAGS use some more
1121
1122 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1123
1124         * common/m4/gst-doc.m4:
1125           Fixes #312589
1126
1127 2005-11-26  Edward Hervey  <edward@fluendo.com>
1128
1129         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1130         This shouldn't issue a g_warning since it returns NULL if it
1131         couldn't find the plugin, and all functions using this behave
1132         properly on a NULL return. Switching to a GST_WARNING.
1133
1134 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1135
1136         * gst/gstbin.c: (gst_bin_handle_message_func):
1137         Don't leak clock messages.
1138
1139 2005-11-25  Wim Taymans  <wim@fluendo.com>
1140
1141         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1142         (gst_util_uint64_scale_int):
1143         Optimisations, remove unneeded vars.
1144
1145 2005-11-25  Wim Taymans  <wim@fluendo.com>
1146
1147         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1148         Added more checks for the high precision uint64 cases.
1149
1150         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1151         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1152         Implement high precision (guint64 * guint64) / guint64.
1153
1154 2005-11-24  Wim Taymans  <wim@fluendo.com>
1155
1156         * gst/base/gstbasesrc.c: (gst_base_src_query):
1157         Fix wrong percentage query.
1158
1159         * gst/gstutils.c: (gst_util_uint64_scale),
1160         (gst_util_uint64_scale_int):
1161         Add some more common cases that can be handled 
1162         efficiently to _scale.
1163
1164 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1165
1166         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1167         (gst_mini_object_suite):
1168           don't use check calls from threads; check probably isn't
1169           threadsafe and using a lock to make it threadsafe would
1170           defeat the purpose of this check
1171         * gst/check/gstcheck.c:
1172         * gst/check/gstcheck.h:
1173           use GST_DEBUG some more
1174
1175 2005-11-24  Wim Taymans  <wim@fluendo.com>
1176
1177         * gst/gstutils.c: (gst_util_uint64_scale),
1178         (gst_util_uint64_scale_int):
1179         Chain trivial case to _scale_int.
1180
1181 2005-11-24  Wim Taymans  <wim@fluendo.com>
1182
1183         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1184         Added test for scaling.
1185
1186         * gst/gstclock.h:
1187         Small doc fix.
1188
1189         * gst/gstutils.c: (gst_util_uint64_scale_int):
1190         Implemented high precision scaling code.
1191
1192 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1193
1194         * gst/gstinfo.h:
1195           do not crash on pad==NULL
1196
1197 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1198
1199         Patch by: Stefan Kost
1200
1201         * common/gtk-doc.mak:
1202         * docs/gst/Makefile.am:
1203         * docs/libs/Makefile.am:
1204           Fix distcheck issues for the libraries docs build
1205           Closes #319599.
1206
1207 2005-11-24  Michael Smith <msmith@fluendo.com>
1208
1209         * docs/manual/basics-helloworld.xml:
1210           Fix bug #315027: memory leak in example code in docs.
1211
1212 2005-11-24  Michael Smith <msmith@fluendo.com>
1213
1214         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1215           Unlock the PREROLL_LOCK in a failure case.
1216
1217 2005-11-24  Wim Taymans  <wim@fluendo.com>
1218
1219         * docs/gst/gstreamer-sections.txt:
1220         * gst/base/gstadapter.h:
1221         * gst/base/gstbasesink.h:
1222         * gst/base/gstbasesrc.h:
1223         * gst/base/gstbasetransform.h:
1224         * gst/base/gstpushsrc.h:
1225         * gst/elements/gstfakesink.h:
1226         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1227         * gst/elements/gstfakesrc.h:
1228         * gst/elements/gstfilesink.h:
1229         * gst/elements/gstfilesrc.h:
1230         * gst/gst.c:
1231         * gst/gstbin.c:
1232         * gst/gstbuffer.c: (_gst_buffer_copy):
1233         * gst/gstbus.h:
1234         * gst/gstcaps.c:
1235         * gst/gstchildproxy.c:
1236         * gst/gstclock.c:
1237         * gst/gstelement.c:
1238         * gst/gstelementfactory.c:
1239         * gst/gstelementfactory.h:
1240         * gst/gstevent.c:
1241         * gst/gstghostpad.h:
1242         * gst/gstindex.h:
1243         * gst/gstinterface.h:
1244         * gst/gstminiobject.c:
1245         * gst/gstminiobject.h:
1246         * gst/gstpad.c:
1247         * gst/gstpad.h:
1248         * gst/gstpadtemplate.h:
1249         * gst/gstpipeline.h:
1250         * gst/gstpluginfeature.h:
1251         * gst/gstquery.h:
1252         * gst/gstqueue.h:
1253         * gst/gsttaglist.c:
1254         * gst/gsttaglist.h:
1255         * gst/gsttagsetter.c:
1256         * gst/gsttagsetter.h:
1257         * gst/gsttrace.c:
1258         * gst/gsttrace.h:
1259         * gst/gsttypefind.h:
1260         * gst/gsturi.h:
1261         * gst/gstvalue.c:
1262         * gst/net/gstnetclientclock.c:
1263         * gst/net/gstnetclientclock.h:
1264         * gst/net/gstnettimepacket.c:
1265         * gst/net/gstnettimeprovider.c:
1266         * gst/net/gstnettimeprovider.h:
1267         Doc fixes.
1268
1269 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1270
1271         * configure.ac: back to HEAD
1272
1273 === release 0.9.6 ===
1274
1275 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1276
1277         * configure.ac:
1278           releasing 0.9.6, "Always On Time"
1279
1280 2005-11-23  Wim Taymans  <wim@fluendo.com>
1281
1282         * docs/gst/gstreamer-sections.txt:
1283         * gst/glib-compat.c:
1284         * gst/gsttagsetter.c:
1285         * gst/gstvalue.c:
1286         * gst/net/gstnetclientclock.c:
1287         * gst/net/gstnettimepacket.h:
1288         Doc updates.
1289
1290 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1291
1292         * docs/faq/using.xml:
1293         * docs/libs/tmpl/gstcontrol.sgml:
1294         * docs/manual/advanced-dparams.xml:
1295         * docs/manual/appendix-checklist.xml:
1296         * docs/manual/basics-elements.xml:
1297         * docs/pwg/other-source.xml:
1298         * docs/random/moving-plugins:
1299         * gst/gstpad.c:
1300         * tools/gst-launch.1.in:
1301           remove mentions of sinesrc
1302
1303 2005-11-23  Michael Smith <msmith@fluendo.com>
1304
1305         * docs/gst/gstreamer-sections.txt:
1306           Update for new API and API changes.
1307         * gst/gstobject.h:
1308           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1309         * gst/gstvalue.c:
1310           Documentation typo fix.
1311         * gst/net/gstnettimepacket.c:
1312           Documentation fixes for arguments.
1313
1314 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1315
1316         * gst/gststructure.c: (gst_structure_get_fraction),
1317         (gst_structure_parse_value),
1318         (gst_structure_fixate_field_nearest_fraction):
1319         * gst/gststructure.h:
1320         * gst/gstutils.c: (gst_util_uint64_scale_int):
1321         * gst/gstutils.h:
1322         * scripts/update-funcnames:
1323         API Changes. 
1324         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1325         Make gst_structure_fixate_field_nearest_fraction take a numerator
1326         and denominator argument instead of a GValue
1327         add gst_structure_get_fraction helper function.
1328
1329 2005-11-23  Wim Taymans  <wim@fluendo.com>
1330
1331         * docs/design/part-TODO.txt:
1332         Update TODO.
1333
1334         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1335         * gst/net/gstnetclientclock.h:
1336         Use parent fields for timeout and window_size.
1337
1338 2005-11-23  Andy Wingo  <wingo@pobox.com>
1339
1340         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1341         rate_num/rate_denom change.
1342
1343         * gst/net/gstnetclientclock.c
1344         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1345         OBJECT_LOCK. Don't call add_observation with the lock.
1346
1347         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1348         fraction.
1349         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1350         rate fraction.
1351         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1352         deal with rate as a fraction whose numerator and denominator are
1353         GstClockTime values.
1354         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1355         master; the other fields are protected by the SLAVE_LOCK.
1356         (do_linear_regression): Note that this must be called with the
1357         SLAVE_LOCK.
1358         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1359         OBJECT_LOCK. Call set_calibration instead of touching the
1360         variables directly.
1361         (gst_clock_set_property, gst_clock_get_property): Protect
1362         master/slave parameters with the SLAVE_LOCK.
1363
1364         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1365         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1366         note that all of the instance variables that add_observation and
1367         the set_master functions use are protected by that lock and not
1368         the OBJECT_LOCK.
1369         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1370
1371         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1372         the caller to take the object lock.
1373
1374 2005-11-23  Wim Taymans  <wim@fluendo.com>
1375
1376         * gst/gsterror.c: (_gst_core_errors_init):
1377         * gst/gsterror.h:
1378         Add error for clock stuff.
1379
1380         * gst/gstpipeline.c: (gst_pipeline_change_state),
1381         (gst_pipeline_set_clock):
1382         Post clock error when clock cannot be used in a pipeline.
1383
1384 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1385
1386         * docs/gst/gstreamer-sections.txt:
1387           make two symbols from gstinfo private for the docs
1388         * gst/base/gstcollectpads.h:
1389         * gst/gstutils.c:
1390           fix doc typos, update docs
1391
1392 2005-11-22  Wim Taymans  <wim@fluendo.com>
1393
1394         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1395         (gst_base_sink_wait), (gst_base_sink_do_sync),
1396         (gst_base_sink_handle_event):
1397         * gst/base/gstbasesink.h:
1398         No need to store the clock, the parent element class already
1399         has it.
1400
1401         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1402         Updates for clock_set returning a gboolean
1403
1404         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1405         (gst_clock_id_wait_async), (gst_clock_class_init),
1406         (gst_clock_init), (gst_clock_finalize),
1407         (gst_clock_get_internal_time), (gst_clock_get_time),
1408         (gst_clock_slave_callback), (gst_clock_set_master),
1409         (gst_clock_get_master), (do_linear_regression),
1410         (gst_clock_add_observation), (gst_clock_set_property),
1411         (gst_clock_get_property):
1412         * gst/gstclock.h:
1413         Implement master/slave. When setting a clock as a slave, a
1414         periodic timeout is scheduled to sample master and slave times.
1415         Then the slave clock is recalibrated to match offset and rate
1416         of the master clock.
1417         Update logging a bit.
1418         Add flag so that a clock can state that is cannot be slaved to
1419         another clock.
1420
1421         * gst/gstelement.c: (gst_element_set_clock):
1422         * gst/gstelement.h:
1423         The set clock returns a gboolean for when an element cannot
1424         deal with the selected clock in the pipeline. 
1425
1426         * gst/gstpipeline.c: (gst_pipeline_change_state),
1427         (gst_pipeline_set_clock):
1428         * gst/gstpipeline.h:
1429         Handle the case where the selected clock cannot be set on
1430         the pipeline.
1431
1432         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1433         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1434         (gst_net_client_clock_set_property),
1435         (gst_net_client_clock_get_property),
1436         (gst_net_client_clock_observe_times):
1437         * gst/net/gstnetclientclock.h:
1438         Use regression code in GstClock parent, remove duplicated
1439         functionality.
1440
1441 2005-11-22  Michael Smith <msmith@fluendo.com>
1442
1443         * gst/gstutils.c: (gst_util_clock_time_scale):
1444         * gst/gstutils.h:
1445         * docs/gst/gstreamer-sections.txt:
1446           Rename method to have extra underscore.
1447
1448 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1449
1450         * gst/elements/Makefile.am:
1451         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1452         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1453         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1454         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1455         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1456         * gst/elements/gstfakesrc.h:
1457         * gst/gstqueue.c: (queue_leaky_get_type):
1458           correctly fix GEnumValues so that nick is the short lowercase
1459           dashed tag
1460         * tools/gst-inspect.c: (print_element_properties_info):
1461           also show the nick, since it's useful to use from parse_launch
1462           syntax
1463           Fixes #322139
1464
1465 2005-11-22  Michael Smith <msmith@fluendo.com>
1466
1467         * gst/gstutils.c: (gst_util_clocktime_scale):
1468         * gst/gstutils.h:
1469         * docs/gst/gstreamer-sections.txt:
1470           Add util method for scaling a clocktime by a fraction. Useful 
1471           implementation is left as an exercise for the reader.
1472
1473 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1474
1475         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1476         If needed, allocate storage in the destination value during
1477         collection.
1478
1479 2005-11-22  Edward Hervey  <edward@fluendo.com>
1480
1481         * docs/gst/gstreamer-sections.txt:
1482         * gst/Makefile.am:
1483         * gst/gst.h:
1484         * gst/gsturitype.c:
1485         * gst/gsturitype.h:
1486         * gst/gstutils.c: (gst_util_set_object_arg):
1487         * tools/gst-compprep.c: (main):
1488         * tools/gst-inspect.c: (print_element_properties_info):
1489         Removed GstURI, closes bug #321061
1490
1491 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1492
1493         * check/gst/gststructure.c: (GST_START_TEST):
1494         * gst/gststructure.c: (gst_structure_parse_value):
1495           Oops, broke automatic string type parsing.
1496           Add a test to catch it in future.
1497
1498 2005-11-22  Andy Wingo  <wingo@pobox.com>
1499
1500         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1501         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1502         Actually rename the function implementations. Grr.
1503
1504 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1505
1506         * check/gst/capslist.h:
1507           Comment test cases
1508         * check/gst/gststructure.c: (GST_START_TEST),
1509         (gst_structure_suite):
1510           Test automatic value type detection in gst_structure_from_string.
1511         * gst/gststructure.c: (gst_structure_parse_value):
1512           Add fraction as a type we try and guess automatically in
1513           caps/structure strings.
1514
1515 2005-11-22  Andy Wingo  <wingo@pobox.com>
1516
1517         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1518
1519         * gst/gsttagsetter.h:
1520         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1521         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1522         (gst_tag_setter_add_tag_valist)
1523         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1524         _add_values, _add_valist, and _add_valist_values. Since this is an
1525         interface the function suffixes should be more explicit so
1526         language binding don't end up with element.add_valist ->
1527         gst_tag_setter_add_valist, for example. Fixes #322069.
1528
1529 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1530
1531         * check/gst/gstcaps.c: (GST_START_TEST):
1532           Extend caps string tests to check that a caps to string
1533           conversion is reversible and produces the same caps.
1534
1535         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1536           Output "fraction" as the generic type fraction range, so caps
1537           serialisation and deserialisation works.
1538         * check/gst/capslist.h:
1539         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1540           Support 'MIN' and 'MAX' for deserialising fractions.
1541
1542 2005-11-22  Andy Wingo  <wingo@pobox.com>
1543
1544         * gst/gstevent.h (gst_event_new_new_segment)
1545         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1546         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1547         Renamed from *_newsegment, *_buffersize, *_notarget.
1548
1549         * scripts/update-funcnames: New script, performs the changes
1550         listed above.
1551
1552 2005-11-22  Wim Taymans  <wim@fluendo.com>
1553
1554         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1555         Make sure the GstFlowReturn is returned.
1556
1557         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1558         (gst_bus_add_signal_watch):
1559         * gst/gstbus.h:
1560         add gst_bus_add_signal_watch_full.
1561
1562         * gst/gstplugin.c: (gst_plugin_load_file):
1563         Small style cleanup.
1564
1565 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1566
1567         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1568           Block the fakesrc srcpad when we send an event, to avoid
1569           contention on the stream_lock causing random test failures.
1570
1571 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1572
1573         * check/gst/gstvalue.c: (GST_START_TEST):
1574         * gst/gstvalue.c: (gst_value_fraction_subtract):
1575           Fix subtraction.
1576
1577 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1578
1579         * gst/gst.h:
1580           include "gstchildproxy.h"
1581         * gst/gstchildproxy.h:
1582         * libs/gst/controller/gstcontroller.h:
1583           use G_GNUC_NULL_TERMINATED
1584
1585 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1586
1587         * check/gst/capslist.h:
1588         * check/gst/gstcaps.c: (GST_START_TEST):
1589         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1590         * gst/gststructure.c: (gst_structure_parse_range),
1591         (gst_structure_fixate_field_nearest_fraction):
1592         * gst/gststructure.h:
1593         * gst/gstvalue.c: (gst_value_init_fraction_range),
1594         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1595         (gst_value_collect_fraction_range),
1596         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1597         (gst_value_set_fraction_range_full),
1598         (gst_value_get_fraction_range_min),
1599         (gst_value_get_fraction_range_max),
1600         (gst_value_serialize_fraction_range),
1601         (gst_value_transform_fraction_range_string),
1602         (gst_value_compare_fraction_range),
1603         (gst_value_deserialize_fraction_range),
1604         (gst_value_intersect_fraction_fraction_range),
1605         (gst_value_intersect_fraction_range_fraction_range),
1606         (gst_value_subtract_fraction_fraction_range),
1607         (gst_value_subtract_fraction_range_fraction),
1608         (gst_value_subtract_fraction_range_fraction_range),
1609         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1610         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1611         (gst_value_transform_string_fraction), (_gst_value_initialize):
1612         * gst/gstvalue.h:
1613           Implement fraction ranges and extend GstFraction to support
1614           arithmetic subtraction, as well as deserialization from integer
1615           strings such as "100"
1616           Add a testsuite as for int and double range set operations
1617
1618 2005-11-21  Andy Wingo  <wingo@pobox.com>
1619
1620         * gst/gsttaglist.h: 
1621         * gst/gstcaps.h: 
1622         * gst/gststructure.h: Add glib-compat.h.
1623
1624 2005-11-21  Wim Taymans  <wim@fluendo.com>
1625
1626         * gst/gstbin.c: (gst_bin_change_state_func):
1627         Fix for #321595
1628
1629 2005-11-21  Wim Taymans  <wim@fluendo.com>
1630
1631         * gst/gstsegment.h:
1632         And add a nice define too.
1633
1634 2005-11-21  Wim Taymans  <wim@fluendo.com>
1635
1636         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1637         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1638         (gst_segment_set_duration), (gst_segment_set_last_stop),
1639         (gst_segment_set_seek), (gst_segment_set_newsegment),
1640         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1641         (gst_segment_clip):
1642         * gst/gstsegment.h:
1643         Make binding friendly.
1644
1645 2005-11-21  Andy Wingo  <wingo@pobox.com>
1646
1647         * gst/gsttagsetter.h: 
1648         * gst/gsttaglist.h: 
1649         * gst/gststructure.h: 
1650         * gst/gstcaps.h: 
1651         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1652         #319940.
1653
1654         * gst/gsterror.c (_gst_core_errors_init):
1655         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1656         category.
1657
1658         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1659         (noinst_HEADERS): noinst the -private.
1660
1661 2005-11-21  Michael Smith <msmith@fluendo.com>
1662
1663         * gst/gstplugin.h:
1664         * gst/gstregistry.h:
1665           Remove unimplemented declarations for which we can see no sensible
1666           use.
1667
1668 2005-11-21  Andy Wingo  <wingo@pobox.com>
1669
1670         * gst/gst.h: Include glib-compat.h.
1671
1672         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1673
1674         * gst/glib-compat.c: Include the public and the private header.
1675
1676         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1677
1678         * gst/gstvalue.c: 
1679         * gst/gstpad.c: 
1680         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1681
1682         * check/gst/gstevent.c (create_custom_events): Check that
1683         FLUSH_STOP is serialized.
1684
1685         * check/elements/identity.c (event_func): 
1686         * check/elements/fakesrc.c (event_func): No stream lock, the core
1687         takes it.
1688
1689         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1690         stream lock taking, yay.
1691
1692         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1693         ensure that core takes the stream lock.
1694
1695         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1696         lock name change.
1697
1698         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1699         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1700         it already. For the flush start we do take it though so we get the
1701         right preroll state change messages.
1702
1703         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1704         the stream lock here, the core does it for us.
1705
1706         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1707         GST_STREAM_GET_LOCK.
1708         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1709         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1710         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1711         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1712         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1713         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1714
1715         * gst/gstpad.c: Update for stream lock name change.
1716
1717         * gst/base/gstbasesink.c: Update for preroll lock name change.
1718
1719 2005-11-21  Wim Taymans  <wim@fluendo.com>
1720
1721         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1722         (gst_clock_get_master):
1723         * gst/gstclock.h:
1724         * gst/gstsystemclock.c: (gst_system_clock_init):
1725         Convert Clock flags to object flags.
1726         Added methods to manage master/slave clocks.
1727
1728 2005-11-21  Wim Taymans  <wim@fluendo.com>
1729
1730         * check/gst/gstsegment.c: (GST_START_TEST):
1731         * docs/design/part-TODO.txt:
1732         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1733         (gst_base_sink_event), (gst_base_sink_do_sync),
1734         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1735         (gst_base_sink_query), (gst_base_sink_change_state):
1736         * gst/base/gstbasesink.h:
1737         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1738         (gst_base_src_default_newsegment),
1739         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1740         (gst_base_src_get_range), (gst_base_src_loop),
1741         (gst_base_src_change_state):
1742         * gst/base/gstbasesrc.h:
1743         * gst/base/gstbasetransform.c:
1744         (gst_base_transform_prepare_output_buf),
1745         (gst_base_transform_event), (gst_base_transform_change_state):
1746         * gst/base/gstbasetransform.h:
1747         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1748         (gst_collect_pads_event):
1749         * gst/base/gstcollectpads.h:
1750         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1751         (gst_fake_src_create):
1752         * gst/elements/gstfakesrc.h:
1753         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1754         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1755         (gst_segment_set_last_stop), (gst_segment_set_seek),
1756         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1757         (gst_segment_to_running_time), (gst_segment_clip):
1758         * gst/gstsegment.h:
1759         More segment updates, replace code in plugins with segment
1760         helper functions.
1761
1762 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1763
1764         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1765         Don't ignore sscanf results
1766
1767 2005-11-21  Andy Wingo  <wingo@pobox.com>
1768
1769         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1770
1771         * *.h:
1772         * *.c: Ran scripts/update-macros. Oh yes.
1773
1774         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1775         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1776         GST_GET_LOCK, etc.
1777
1778         * scripts/update-macros: New script. Run it on your files to
1779         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1780         well.
1781
1782 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1783
1784         * docs/gst/Makefile.am:
1785         * docs/gst/gstreamer-docs.sgml:
1786         * docs/gst/gstreamer-sections.txt:
1787         * docs/gst/gstreamer.types:
1788         * gst/gstinfo.h:
1789           more docs fixes, add new api to the docs
1790
1791 2005-11-21  Andy Wingo  <wingo@pobox.com>
1792
1793         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1794         state_broadcast call.
1795
1796         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1797
1798 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1799
1800         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1801         function calls for arrays.
1802
1803 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1804
1805         * docs/random/ensonic/media-device-daemon.txt:
1806           wild idea, can this be done?
1807         * docs/gst/gstreamer-sections.txt:
1808         * gst/gsterror.h:
1809         * gst/gstfilter.c:
1810         * gst/gstfilter.h:
1811         * gst/gstplugin.h:
1812         * gst/gstpluginfeature.c:
1813         * gst/gsttrace.c:
1814         * gst/gstvalue.c:
1815         * gst/gstvalue.h:
1816           doc fixes and additions
1817
1818 2005-11-21  Andy Wingo  <wingo@pobox.com>
1819
1820         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1821         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1822         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1823         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1824         private to the basesrc implementation.
1825
1826         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1827         behalf of event function if necessary. It should no longer be
1828         necessary to take the stream lock in pad's event functions. Fixes
1829         #320299.
1830
1831 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1832         * docs/gst/gstreamer-sections.txt:
1833         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1834         (gst_structure_fixate_field_nearest_double),
1835         (gst_structure_fixate_field_boolean):
1836         * gst/gststructure.h:
1837         * win32/common/libgstreamer.def:
1838         * win32/gstreamer.def:
1839
1840         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1841         (#322027)
1842
1843 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1844
1845         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1846         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1847         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1848         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1849         (gst_fdsrc_uri_handler_init):
1850         * gst/elements/gstfdsrc.h:
1851           Port fd:// URI handler from 0.8 to fdsrc
1852
1853 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1854
1855         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1856         (gst_value_serialize_fourcc):
1857         * gst/gstvalue.h:
1858           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1859           consistent with our other format defines (#320324).
1860
1861 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1862
1863         * gst/gstvalue.c: (gst_value_is_fixed):
1864           Revert previous commit. Value lists are by definition
1865           not fixed, as they are a list of possible values.
1866
1867 2005-11-21  Andy Wingo  <wingo@pobox.com>
1868
1869         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1870         during the stable series if we need it. Fixes #319178.
1871
1872         * gst/gstevent.c (gst_event_new_filler): Removed.
1873
1874         * check/gst/gstevent.c: Update comment about filler events.
1875
1876 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1877
1878         * gst/gstvalue.c: (gst_value_is_fixed):
1879           Should handle both value arrays and value lists.
1880
1881 2005-11-21  Andy Wingo  <wingo@pobox.com>
1882
1883         patch by: Alessandro Dessina <alessandro nnva org>
1884
1885         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1886         functions to access arrays. Fixes #321962.
1887
1888 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1889
1890         * docs/gst/gstreamer.types:
1891           gst_collectpads_get_type => gst_collect_pads_get_type.
1892           
1893         * gst/base/gstbasetransform.c:
1894           Remove unused SIGNAL_HANDOFF enum.
1895
1896 2005-11-21  Andy Wingo  <wingo@pobox.com>
1897
1898         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1899         the event type (upstream, downstream, serialized). Renamed
1900         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1901         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1902         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1903
1904         * gst/gstevent.c: Update for new CUSTOM event names.
1905
1906         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1907
1908         * gst/gstevent.h:
1909         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1910         bug #319392.
1911
1912 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1913
1914         * docs/gst/gstreamer-sections.txt:
1915         * win32/common/libgstbase.def:
1916         * win32/libgstbase.def:
1917         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1918         (gst_collect_pads_class_init), (gst_collect_pads_init),
1919         (gst_collect_pads_finalize), (gst_collect_pads_new),
1920         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1921         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1922         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1923         (gst_collect_pads_start), (gst_collect_pads_stop),
1924         (gst_collect_pads_peek), (gst_collect_pads_pop),
1925         (gst_collect_pads_available), (gst_collect_pads_read),
1926         (gst_collect_pads_flush), (gst_collect_pads_event),
1927         (gst_collect_pads_chain):
1928         * gst/base/gstcollectpads.h:
1929           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1930           unimplemented functions as unimplemented. Add padding to
1931           GstCollectData. (#320766, #320423)
1932
1933 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1934
1935         * gst/gstmessage.c:
1936           Improve docs for DURATION message (usage of duration parameter)
1937           (#320113)
1938
1939 2005-11-20  Wim Taymans  <wim@fluendo.com>
1940
1941         * check/Makefile.am:
1942         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1943         (main):
1944         * gst/Makefile.am:
1945         * gst/gst.h:
1946         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1947         (gst_segment_set_seek), (gst_segment_set_newsegment),
1948         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1949         (gst_segment_clip):
1950         * gst/gstsegment.h:
1951         Added segment helper structure and methods. Not fully implemented
1952         yet.
1953         Added segment check.
1954
1955 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1956
1957         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1958           Add a deserialisation test for fractions
1959         * examples/metadata/read-metadata.c: (message_loop),
1960         (make_pipeline), (main):
1961           Fix up metadata reading sample.
1962         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1963           Debug format fix
1964         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1965           Don't try and fixate empty caps
1966         * gst/gst_private.h:
1967           Wrap in G_BEGIN_DECLS/G_END_DECLS
1968         * gst/gstvalue.c: (gst_value_collect_fraction),
1969         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1970         (gst_value_transform_string_fraction),
1971         (gst_value_compare_fraction):
1972           Add some extra guards to ensure that we don't end up 
1973           with an invalid denominator of 0 in a gstfraction and
1974           that fractions always get reduced.
1975
1976 2005-11-20  Wim Taymans  <wim@fluendo.com>
1977
1978         * docs/gst/gstreamer-sections.txt:
1979         * gst/gstbuffer.h:
1980         * gst/gstelement.c:
1981         * gst/gstformat.c:
1982         * gst/gstformat.h:
1983         * gst/gstindex.h:
1984         * gst/gstquery.c:
1985         * gst/gstquery.h:
1986         * gst/gstvalue.c:
1987         Doc fixes.
1988
1989 2005-11-20  Wim Taymans  <wim@fluendo.com>
1990
1991         * docs/design/part-TODO.txt:
1992         * gst/gstcaps.h:
1993         Make a proper enum of the flag.
1994
1995 2005-11-19  Wim Taymans  <wim@fluendo.com>
1996
1997         * docs/design/part-TODO.txt:
1998         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1999         (gst_format_to_quark), (gst_format_register):
2000         * gst/gstformat.h:
2001         * gst/gstquery.c: (_gst_query_initialize),
2002         (gst_query_type_get_name), (gst_query_type_to_quark),
2003         (gst_query_type_register):
2004         * gst/gstquery.h:
2005         Add type to quark and type to string conversions.
2006
2007 2005-11-19  Andy Wingo  <wingo@pobox.com>
2008
2009         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2010         #320097.
2011
2012 2005-11-19  Wim Taymans  <wim@fluendo.com>
2013
2014         * docs/design/part-TODO.txt:
2015         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2016         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2017         (gst_bin_handle_message_func):
2018         * gst/gstbin.h:
2019         Make message handling overridable.
2020
2021 2005-11-19  Andy Wingo  <wingo@pobox.com>
2022
2023         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2024
2025         * gst/gstclock.h:
2026         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2027         be a GstClockTime.
2028         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2029         is a GstClockTime. Fixes #321710.
2030
2031         * gst/gstclock.h (GstClock): Remove offset property. Add
2032         internal_calibration and external_calibration. Fix padding. Pad
2033         also by GstClockTime so we don't run into problems.
2034
2035         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2036         (gst_clock_get_rate_offset): Remove.
2037         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2038
2039         * gst/gstutils.h:
2040         * gst/gstutils.c (g_static_rec_cond_wait)
2041         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2042
2043         * gst/gstbin.c: Remove terrible continue_state prototype.
2044
2045         * gst/gstelement.h (gst_element_continue_state): Make public.
2046
2047         * gst/gstelement.h:
2048         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2049         by continue_state. Fixes #319389.
2050
2051         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2052         Really fixes #168438. However I don't see anywhere where the
2053         filter function is called... stupid GStreamer...
2054         
2055         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2056         don't have a dispose function, so it won't get called when the
2057         object is unreffed, but oh well!
2058
2059         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2060         allows a destroy function to be set so user_data can be freed.
2061         Fixes #168438.
2062         (gst_index_set_filter): Call gst_index_set_filter_full.
2063
2064         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2065
2066         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2067         string should produce an error, given the lack of a way to
2068         represent NULL strings. Fixes #165650.
2069         
2070         * gst/gstvalue.h: 
2071         * gst/gstvalue.c (gst_value_array_append_value) 
2072         (gst_value_array_prepend_value, gst_value_array_get_size) 
2073         (gst_value_array_get_value): New API, copied from
2074         gst_value_list_*, only operates on arrays.
2075         (gst_value_list_append_value, gst_value_list_prepend_value) 
2076         (gst_value_list_concat, gst_value_list_get_size) 
2077         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2078
2079         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2080         init_list, because it works on both.
2081         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2082         (gst_value_copy_list_or_array): Renamed from copy_list.
2083         (gst_value_free_list_or_array): Renamed from free_list.
2084         (gst_value_collect_list_or_array): Renamed from collect_list.
2085         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2086         (gst_value_list_or_array_peek_pointer): Renamed from
2087         list_peek_pointer.
2088         (_gst_value_array_value_table, _gst_value_list_value_table):
2089         Update value table functions.
2090         (gst_value_compare_list_or_array): Renamed from compare_list.
2091
2092         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2093         some constness.
2094
2095         * gst/gsttaglist.c:
2096         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2097         GstTagList*. Fixes #143472.
2098
2099         * gst/gststructure.h: Clarify what the foreach/map functions can
2100         or can't do to their arguments.
2101
2102 2005-11-18  Wim Taymans  <wim@fluendo.com>
2103
2104         * gst/gstclock.c: (gst_clock_set_calibration),
2105         (gst_clock_get_calibration):
2106         Doc and API fixes.
2107         Calibration can be set with internal time equal to current
2108         internal time too.
2109
2110 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2111
2112         * gst/gsterror.c:
2113         * gst/gsterror.h:
2114           document
2115
2116 2005-11-18  Andy Wingo  <wingo@pobox.com>
2117
2118         * configure.ac: 
2119         * pkgconfig/gstreamer-net.pc.in:
2120         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2121         * pkgconfig/Makefile.am: Add net pkgconfig files.
2122
2123 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2124
2125         * gst/gstcaps.c:
2126         * gst/gstghostpad.c:
2127         * gst/gsttrace.c:
2128         * gst/gstvalue.c:
2129         * gst/gstvalue.h:
2130           docs fixes
2131
2132 2005-11-18  Andy Wingo  <wingo@pobox.com>
2133
2134         * gst/net/gstnetclientclock.c: Turn off debugging.
2135
2136         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2137         times connverge somewhat. Can't make a real test.
2138
2139         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2140         integer arithmetic. Return the minimum of the domain, which can be
2141         set as "internal" for gst_clock_set_calibration.
2142         (gst_net_client_clock_observe_times): Call _set_calibration.
2143         (gst_net_client_clock_new): Call _set_calibration instead of
2144         rate_offset.
2145
2146         * check/net/gstnetclientclock.c (test_functioning): Use the right
2147         adjustment api.
2148
2149         * gst/gstclock.h:
2150         * gst/gstclock.c (gst_clock_get_calibration) 
2151         (gst_clock_set_calibration): New functions, obsolete the ones I
2152         added yesterday. Doh. Precision issues mean we have to extrapolate
2153         from a point in the more recent past than 1970.
2154         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2155         obsolete.
2156         (gst_clock_adjust_unlocked): Use the right calibration data.
2157
2158 2005-11-18  Edward Hervey  <edward@fluendo.com>
2159
2160         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2161         Also reset the ->current_* values in READY->PAUSED
2162
2163 2005-11-18  Andy Wingo  <wingo@pobox.com>
2164
2165         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2166         Whoops, check the right fd. Also add some debugging.
2167         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2168         (do_linear_regression): Add a crapload of debugging. Subtract off
2169         the minimum values from the input series to discard unneeded bits.
2170         Use only int arithmetic. There is still double arithmetic when
2171         calculating the intercept that needs fixing. Return boolean to
2172         indicate success; FALSE would mean the domain or range is too
2173         great. Still needs fixes.
2174
2175 2005-11-18  Wim Taymans  <wim@fluendo.com>
2176
2177         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2178         For the current position in stream time, we need to subtract
2179         accumulated time.
2180         
2181         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2182         Release lock before calling the callback function of async
2183         entries.
2184
2185 2005-11-18  Andy Wingo  <wingo@pobox.com>
2186
2187         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2188         Port goes all the way to MAXUINT16.
2189
2190         * gst/net/gstnettimeprovider.c: Make the port range the same as
2191         for the kernel: 0 assigns, otherwise ports are less than
2192         MAXUINT16.
2193
2194         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2195         port change.
2196
2197         * check/net/gstnetclientclock.c (test_functioning): Add the start
2198         of another test. 
2199
2200 2005-11-18  Wim Taymans  <wim@fluendo.com>
2201
2202         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2203         (gst_bin_remove_func), (bin_bus_handler):
2204         * gst/gstbin.h:
2205         Removing a clock provider from a bin, triggers a clock lost message
2206         so that a new clock will be selected.
2207         Adding a clock to a bin triggers a clock provider message.
2208         Make sure we reselect a clock when we received a clock lost message.
2209         Keep a reference to the element that provided the clock.
2210
2211 2005-11-18  Andy Wingo  <wingo@pobox.com>
2212
2213         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2214         the clock initially so it produces values around the base time.
2215         (gst_net_client_clock_class_init): Typo fix.
2216         (gst_net_client_clock_thread): Add note on when the socket gets
2217         closed.
2218
2219 2005-11-17  Wim Taymans  <wim@fluendo.com>
2220
2221         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2222         Free remote and local time arrays.
2223
2224 2005-11-17  Wim Taymans  <wim@fluendo.com>
2225
2226         * gst/net/gstnetclientclock.c: (do_linear_regression),
2227         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2228         Fix compilation, uninitialized vars and a forgotten continue.
2229
2230 2005-11-17  Andy Wingo  <wingo@pobox.com>
2231
2232         * check/Makefile.am (check_PROGRAMS): 
2233         * check/net/gstnetclientclock.c: Add a most minimal test for the
2234         net client clock. More to come later.
2235
2236         * gst/net/gstnet.h: 
2237         * gst/net/Makefile.am: Add netclientclock.
2238
2239         * gst/net/gstnetclientclock.h:
2240         * gst/net/gstnetclientclock.c: New files, implement an untested
2241         GstClock that takes its time from a network time provider.
2242         Implements the algorithm in network-clock.scm.
2243
2244         * tests/network-clock.scm (*window-size*): Rename from
2245         *queue-length*.
2246         * tests/network-clock.scm (network-time): 
2247         * tests/network-clock-utils.scm (q-push): Update callers.
2248
2249 2005-11-17  Wim Taymans  <wim@fluendo.com>
2250
2251         * gst/gstbin.c: (gst_bin_provide_clock_func),
2252         (gst_bin_sort_iterator_new):
2253         And unref the child too..
2254
2255 2005-11-17  Wim Taymans  <wim@fluendo.com>
2256
2257         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2258         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2259         Refactor the sort iterator so it can be used while holding the
2260         LOCK too.
2261         Make clock selection select a clock closest to the source.
2262
2263 2005-11-17  Michael Smith <msmith@fluendo.com>
2264
2265         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2266         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2267         * gst/gstclock.h:
2268           Anonymous structs are a gcc (and some other compilers) extension, so
2269           don't use them. Since this is only for ABI-compatibility, and our
2270           API/ABI freeze is over in a few days, this whole thing will only
2271           last a few days, so don't bother trying to think up a meaningful
2272           name for the struct.
2273
2274 2005-11-17  Andy Wingo  <wingo@pobox.com>
2275
2276         * gst/gstclock.h (GstClock): Add rate and offset properties,
2277         preserving ABI stability. Add rate/offset accessors. Will file bug
2278         for the freeze break.
2279
2280         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2281         and offset, trying to keep precision and avoiding
2282         underflow/overflow.
2283         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2284         functions. Make gst_clock_set_time_adjust obsolete.
2285         (gst_clock_set_time_adjust): Note that this function is obsolete.
2286         Will file bug soon.
2287
2288         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2289         greppable by using GST_PADDING-1+1.
2290
2291 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2292
2293         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2294
2295         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2296           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2297
2298         * gst/gstpadtemplate.h:
2299         * gst/gstpluginfeature.h:
2300           Don't use c++ style comments in headers (#321638).
2301
2302 2005-11-16  Andy Wingo  <wingo@pobox.com>
2303
2304         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2305         buffer.
2306
2307         * check/net/gstnettimeprovider.c: Check to see that the time
2308         provider actually provides times. Works, yo!
2309
2310 2005-11-16  Wim Taymans  <wim@fluendo.com>
2311
2312         * check/Makefile.am:
2313         Enable more tests.
2314
2315         * check/elements/fakesrc.c: (GST_START_TEST):
2316         Set element to NULL before disposing it.
2317
2318 2005-11-16  Andy Wingo  <wingo@pobox.com>
2319
2320         * gst/net/Makefile.am:
2321         * gst/net/gstnet.h:
2322         * gst/net/gstnettimeprovider.c: 
2323         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2324         provider, include it from gstnet.h, and add it to the build.
2325
2326         * gst/net/gstnettimepacket.h: 
2327         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2328         sending and receiving.
2329
2330 2005-11-16  Wim Taymans  <wim@fluendo.com>
2331
2332         * check/Makefile.am:
2333         Enable valgrind check.
2334
2335         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2336         (gst_fake_src_alloc_buffer):
2337         Fix memleak.
2338
2339 2005-11-16  Wim Taymans  <wim@fluendo.com>
2340
2341         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2342         Call parent finalize too.
2343
2344 2005-11-16  Wim Taymans  <wim@fluendo.com>
2345
2346         * check/Makefile.am:
2347         Enable valgrind check that should work fine now.
2348
2349         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2350         * gst/gstqueue.c: (gst_queue_init):
2351         Fix memleaks in pad allocation.
2352
2353 2005-11-16  Andy Wingo  <wingo@pobox.com>
2354
2355         * gst/net/Makefile.am:
2356         * gst/net/gstnet.h: New part of core to hold network elements and
2357         objects. Put in core because it exposes API that applications want
2358         to use. The library is named libgstnet-tempname right now because
2359         of the existing libgstnet in gst-plugins-base. Solution is
2360         probably to rename the one in plugins-base; will file a bug for
2361         the freeze break.
2362
2363         * gst/net/gstnettimeprovider.c: 
2364         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2365         get_time call over the network.
2366
2367         * configure.ac: 
2368         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2369
2370         * check/Makefile.am:
2371         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2372         get additions shortly.
2373
2374 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2375
2376         * gst/gstpad.c: (gst_pad_new_from_static_template):
2377         * gst/gstpad.h:
2378           add gst_pad_new_from_static_template functions
2379         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2380         (gst_check_setup_sink_pad):
2381         * gst/elements/gsttee.c: (gst_tee_init):
2382           and use them
2383
2384 2005-11-16  Wim Taymans  <wim@fluendo.com>
2385
2386         * gst/gstpad.c: (gst_pad_pause_task):
2387         Removed warning, it's not really an error either.
2388
2389 2005-11-16  Wim Taymans  <wim@fluendo.com>
2390
2391         * gst/base/gstbasetransform.c:
2392         (gst_base_transform_prepare_output_buf),
2393         (gst_base_transform_event):
2394         Check if the caps are NULL, this can happen if the element
2395         is shutting down and the pad caps are set to NULL.
2396
2397 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2398
2399         * gst/elements/gsttee.c: (gst_tee_init):
2400           fix pad template leak in tee
2401
2402 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2403
2404         * gst/glib-compat.c: (g_value_dup_gst_object):
2405         * gst/glib-compat.h:
2406         * gst/gstpad.c: (gst_pad_set_property):
2407           use gst_object_ref when setting the pad template; this will
2408           trigger the pad template leaks on GLib 2.6 and the slaves
2409
2410 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2411
2412         * gst/glib-compat.c: (gst_flags_get_first_value):
2413         * gst/glib-compat.h:
2414         * gst/gstregistryxml.c:
2415           remove functions copied from GLib 2.6
2416
2417 2005-11-16  Michael Smith <msmith@fluendo.com>
2418
2419         * gst/Makefile.am:
2420           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2421           do, but only breaks with newer valgrind versions. We're not a
2422           valgrind tool, we have no link-time dependencies on libcoregrind.
2423
2424 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2425
2426         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2427           some debug changes
2428         * gst/gstmessage.h:
2429           typo fixes
2430
2431 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2432
2433         * gst/base/gstbasesrc.c: (gst_base_src_init):
2434         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2435         * gst/gstqueue.c: (gst_queue_init):
2436         * gst/gstregistryxml.c: (load_feature):
2437           Revert all these unrefs, they don't even pass make check !
2438
2439 2005-11-15  Johan Dahlin  <johan@gnome.org>
2440
2441         * gst/base/gstbasesrc.c: (gst_base_src_init):
2442         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2443         * gst/gstqueue.c: (gst_queue_init): 
2444         Free pad templates, fixes a couple of leaks.
2445
2446 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2447
2448         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2449
2450         * gst/gstpad.c: (gst_pad_get_property):
2451           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2452           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2453           (#321452)
2454
2455 2005-11-15  Wim Taymans  <wim@fluendo.com>
2456
2457         * gst/gstevent.c:
2458         Small doc update.
2459
2460 2005-11-15  Andy Wingo  <wingo@pobox.com>
2461
2462         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2463
2464         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2465         using GST_CLOCK_TIME_NONE to disable base time management.
2466         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2467         time if it was NONE before.
2468         (gst_pipeline_change_state): Only munge the base time if
2469         stream_time != GST_CLOCK_TIME_NONE.
2470
2471         * check/gst/gstpipeline.c (test_base_time): Punt around the
2472         problem of the probe not being called, because that's not the
2473         issue I'm looking at. Add a check that setting stream_time to NONE
2474         disables base time management.
2475         
2476 2005-11-15  Wim Taymans  <wim@fluendo.com>
2477
2478         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2479         segment_stop == -1 at startup.
2480
2481         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2482         (gst_base_transform_change_state):
2483         Init segment values at start.
2484
2485 2005-11-15  Wim Taymans  <wim@fluendo.com>
2486
2487         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2488         0 segment values are 0 in any format.
2489
2490         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2491         * gst/base/gstbasetransform.h:
2492         Parse newsegment correctly in basetransform
2493
2494         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2495         Sync to clock using updated segment values.
2496
2497 2005-11-15  Andy Wingo  <wingo@pobox.com>
2498
2499         * check/gst/gstpipeline.c (test_base_time): Add check that the
2500         base time and stream time are reset correctly.
2501
2502 2005-11-15  Wim Taymans  <wim@fluendo.com>
2503
2504         * docs/design/part-TODO.txt:
2505         Some more TODO items.
2506
2507 2005-11-15  Andy Wingo  <wingo@pobox.com>
2508
2509         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2510         error if the user selected "no clock" as the clocking method.
2511
2512         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2513         timestamps with live capture.
2514
2515         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2516         is 0 but we are a live source, timestamp the buffers using the
2517         element's clock.
2518
2519 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2520
2521         * docs/gst/gstreamer-sections.txt:
2522         * gst/gsterror.c:
2523         * gst/gstghostpad.c:
2524         * gst/gstobject.h:
2525         * gst/gstxml.c:
2526           more section docs
2527
2528 2005-11-14  Wim Taymans  <wim@fluendo.com>
2529
2530         * common/gst.supp:
2531           add suppressions from Wim's Debian machine
2532
2533 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2534
2535         * common/gst.supp:
2536           add suppressions from Andy's AMD64 Ubuntu machine
2537
2538 2005-11-14  Andy Wingo  <wingo@pobox.com>
2539
2540         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2541         STATE_LOCK not necessary. Fixes #311489.
2542
2543         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2544         #305291.
2545
2546         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2547         this function is not implemented.
2548
2549 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2550
2551         * gst/base/gstbasetransform.c:
2552         (gst_base_transform_prepare_output_buf):
2553         Ref the source pad caps while we need them.
2554         Fixes (#321386)
2555
2556 2005-11-11  Wim Taymans  <wim@fluendo.com>
2557
2558         * docs/gst/gstreamer-sections.txt:
2559         Added some docs for GstCollectData.
2560
2561         * gst/base/gstadapter.c:
2562         Some small code example fix.
2563
2564         * gst/base/gstcollectpads.c:
2565         * gst/base/gstcollectpads.h:
2566         Document some more.
2567
2568 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2569
2570         * configure.ac: back to HEAD
2571
2572 === release 0.9.5 ===
2573
2574 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2575
2576         * configure.ac:
2577           releasing 0.9.5, "Bike Lunch Day"
2578
2579 2005-11-11  Wim Taymans  <wim@fluendo.com>
2580
2581         * gst/gstbuffer.c: (_gst_buffer_copy):
2582         Copy more flags.
2583
2584         * gst/gstcaps.c: (gst_caps_is_equal):
2585         Fix some docs.
2586         Make _is_equal fast in the trivial cases.
2587
2588         * gst/gstminiobject.c:
2589         * gst/gstminiobject.h:
2590         More docs. Spifify .h file.
2591
2592         * gst/gstutils.c:
2593         Small doc update.
2594
2595 2005-11-11  Wim Taymans  <wim@fluendo.com>
2596
2597         * gst/base/gstbasetransform.c:
2598         (gst_base_transform_prepare_output_buf),
2599         (gst_base_transform_handle_buffer):
2600         Small cleanups.
2601         If we're processing a buffer and need to allocate an output
2602         buffer, we cannot accept a format change. If we did get a 
2603         format change, we have to alloc a buffer ourselves of the 
2604         right size.
2605
2606 2005-11-11  Wim Taymans  <wim@fluendo.com>
2607
2608         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2609         While checking the flag for reentrancy in the gstcaps function
2610         is nice to detect recursive invocations, it also makes it 
2611         impossible to call getcaps from multiple threads, which must be
2612         possible. So, checking for recursive calls has to go.
2613
2614 2005-11-11  Michael Smith <msmith@fluendo.com>
2615
2616         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2617           Don't sync on buffers that fall partially outside our current
2618           segment. Prevents an assertion failure/abort playing some files.
2619
2620 2005-11-10  Andy Wingo  <wingo@pobox.com>
2621
2622         * check/gst/gstbin.c (test_message_state_changed_children): Style
2623         fix..
2624
2625         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2626         gst_bus_poll with the signal watch. Ensures that poll and a signal
2627         watch see the same messages.
2628
2629         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2630         a poll and a watch at the same time get the same messages.
2631
2632 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2633
2634         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2635         * gst/gstcaps.c: (gst_caps_intersect):
2636           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2637           and it's not needed.
2638
2639 2005-11-10  Wim Taymans  <wim@fluendo.com>
2640
2641         * docs/design/part-TODO.txt:
2642         Updated todo.
2643
2644 2005-11-10  Wim Taymans  <wim@fluendo.com>
2645
2646         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2647         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2648         (gst_base_src_do_sync), (gst_base_src_get_range):
2649         Implement clock sync in base class.
2650
2651 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2652
2653         patch by: Tim-Philipp Müller <tim at centricular dot net>
2654
2655         * gst/gststructure.c: (gst_structure_parse_field),
2656         (gst_structure_from_string):
2657           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2658           so that gst_parse_launch() can deal with spaces in filtered link
2659           caps (fixes #164479)
2660         * check/gst/capslist.h:
2661         * check/gst/gststructure.c: (GST_START_TEST):
2662           add unit tests for this change
2663
2664 2005-11-10  Wim Taymans  <wim@fluendo.com>
2665
2666         * docs/gst/gstreamer-sections.txt:
2667         * gst/gstelement.c:
2668         * gst/gstelement.h:
2669         Fix docs, move some STATE macros to private.
2670
2671 2005-11-10  Wim Taymans  <wim@fluendo.com>
2672
2673         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2674         Added check for bug #317341
2675
2676         * gst/gstbuffer.c:
2677         * gst/gstbuffer.h:
2678         Some more spiffifying.
2679
2680         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2681         Call peer linkfunction if we are a source pad. Totally fixes
2682         #317341
2683
2684         * gst/gstpad.c:
2685         Update docs, source pads should call the peer linkfunction
2686         so they can atomically perform the pad link.
2687
2688 2005-11-09  Wim Taymans  <wim@fluendo.com>
2689
2690         * gst/gstbuffer.c:
2691         * gst/gstbuffer.h:
2692         Uber-spiffy-spiffify some more.
2693
2694 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2695
2696         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2697         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2698         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2699         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2700         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2701         * gst/gstpad.c: (gst_pad_init):
2702           Use GST_DEBUG_FUNCPTR() more extensively.
2703
2704 2005-11-09  Wim Taymans  <wim@fluendo.com>
2705
2706         * gst/gstobject.c: (gst_object_class_init):
2707         * gst/gstobject.h:
2708         Documentation fixes.
2709
2710 2005-11-09  Edward Hervey  <edward@fluendo.com>
2711
2712         * gst/gsttypefindfactory.c:
2713         Fix docs.
2714         
2715 2005-11-09  Edward Hervey  <edward@fluendo.com>
2716
2717         * gst/base/gsttypefindhelper.c:
2718         * gst/gsttypefind.c:
2719         * gst/gsttypefind.h:
2720         Fix docs.
2721
2722 2005-11-09  Wim Taymans  <wim@fluendo.com>
2723
2724         * gst/gstiterator.c:
2725         Fix revision data.
2726
2727         * gst/gsttask.c:
2728         * gst/gsttask.h:
2729         Fix docs.
2730
2731 2005-11-09  Wim Taymans  <wim@fluendo.com>
2732
2733         * gst/gstevent.h:
2734         * gst/gsturi.h:
2735         Fix docs.
2736
2737 2005-11-09  Wim Taymans  <wim@fluendo.com>
2738
2739         * docs/gst/gstreamer-sections.txt:
2740         Moved the message async delivery private lock and cond
2741         to the private section.
2742
2743         * gst/gstmessage.c:
2744         * gst/gstmessage.h:
2745         Fixed docs.
2746
2747 2005-11-09  Edward Hervey  <edward@fluendo.com>
2748
2749         * docs/gst/gstreamer-sections.txt:
2750         * gst/gsturi.c:
2751         * gst/gsturi.h:
2752         Document GstURIHandler
2753
2754 2005-11-09  Wim Taymans  <wim@fluendo.com>
2755
2756         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2757         (gst_iterator_find_custom):
2758         * gst/gstiterator.h:
2759         Fix iterator docs.
2760
2761 2005-11-09  Wim Taymans  <wim@fluendo.com>
2762
2763         * gst/gstbin.h:
2764         Document another field.
2765
2766         * gst/gststructure.c:
2767         * gst/gststructure.h:
2768         Document.
2769
2770 2005-11-09  Wim Taymans  <wim@fluendo.com>
2771
2772         * gst/gstbin.h:
2773         Documented structs.
2774
2775 2005-11-09  Wim Taymans  <wim@fluendo.com>
2776
2777         * docs/gst/gstreamer-sections.txt:
2778         Added some new macros.
2779
2780         * gst/gstclock.c:
2781         * gst/gstclock.h:
2782         * gst/gstobject.h:
2783         Docs updates.
2784
2785 2005-11-09  Wim Taymans  <wim@fluendo.com>
2786
2787         * docs/design/part-TODO.txt:
2788         Some more items for the TODO
2789
2790         * gst/gstcaps.c:
2791         * gst/gstcaps.h:
2792         Document GstCaps.
2793
2794 2005-11-09  Andy Wingo  <wingo@pobox.com>
2795
2796         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2797         to work on something else now tho...
2798
2799         * gst/base/gstadapter.c: More adapter docs.
2800
2801         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2802         (gst_file_sink_stop): New functions, replace the state change
2803         handler.
2804         (gst_file_sink_class_init): Hook up the start and stop functions.
2805         (gst_file_sink_base_init): Don't set the state change handler any
2806         more. It was a bit ugly too, being set from here...
2807         (gst_file_sink_get_property, gst_file_sink_set_property):
2808         Cleanups...
2809         (gst_file_sink_set_location): More robust check that doesn't call
2810         GST_STATE. Ugggggg.
2811
2812 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2813
2814         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2815           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2816
2817 2005-11-08  Wim Taymans  <wim@fluendo.com>
2818
2819         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2820         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2821         (gst_base_sink_chain), (gst_base_sink_change_state):
2822         * gst/base/gstbasesink.h:
2823         * gst/base/gstbasesrc.h:
2824         * gst/gstelement.h:
2825         * gst/gstevent.h:
2826         Avoid excessive typechecking in macros.
2827
2828         * gst/gstminiobject.c: (gst_mini_object_get_type),
2829         (gst_mini_object_init), (gst_mini_object_new),
2830         (gst_mini_object_free):
2831         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2832         (gst_object_finalize):
2833         Remove cruft code, optimize alloc_trace.
2834
2835 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2836
2837         * docs/faq/gst-uninstalled:
2838           fix up PS1 for systems that try to reset it
2839
2840 2005-11-07  Wim Taymans  <wim@fluendo.com>
2841
2842         * gst/base/gstbasesrc.c: (gst_base_src_init),
2843         (gst_base_src_get_range):
2844         Set the segment_end to -1 initially. Fixed typefind.
2845
2846 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2847
2848         * gst/base/gstadapter.c:
2849           Debug category should be 'adapter', not 'GstAdapter'.
2850           
2851         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2852         (gst_collectpads_class_init), (gst_collectpads_init),
2853         (gst_collectpads_peek), (gst_collectpads_pop),
2854         (gst_collectpads_event), (gst_collectpads_chain):
2855           Add debug category and some debugging output. Use boilerplate
2856           macros. Remove some extraneous words from docs.
2857
2858 2005-11-05  Andy Wingo  <wingo@pobox.com>
2859
2860         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2861         macro.
2862
2863 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2864
2865         * docs/gst/gstreamer-sections.txt:
2866         * gst/gstcaps.h:
2867         * gst/gstinfo.c:
2868         * gst/gstminiobject.h:
2869         * gst/gstobject.h:
2870         * gst/gstutils.h:
2871           more docs added
2872
2873 2005-11-04  Wim Taymans  <wim@fluendo.com>
2874
2875         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2876         Small update to stop at the configured segment_end
2877         position.
2878
2879 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2880
2881         * gst/gstregistry.c:
2882         * gst/gstregistry.h:
2883           added missing docs
2884
2885 2005-11-04  Edward Hervey  <edward@fluendo.com>
2886
2887         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2888         Check if we are doing a segment seek and have arrived at the
2889         end of that segment.
2890
2891 2005-11-04  Wim Taymans  <wim@fluendo.com>
2892
2893         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2894         Don't leak a mutex unlock in case of an error.
2895
2896         * gst/gstbus.h:
2897         Doc fixes.
2898
2899 2005-11-04  Wim Taymans  <wim@fluendo.com>
2900
2901         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2902         (gst_bus_post):
2903         Get the context to wake up only once.
2904
2905 2005-11-03  Wim Taymans  <wim@fluendo.com>
2906
2907         * check/states/sinks.c: (GST_START_TEST):
2908         Uncomment fixed check.
2909
2910         * docs/design/part-TODO.txt:
2911         Updated TODO.
2912
2913         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2914         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2915         (gst_base_sink_get_position):
2916         If we are going to PLAYING, post the right pending state
2917         when we post the intermediate paused message.
2918
2919         * gst/gstelement.c: (gst_element_continue_state),
2920         (gst_element_set_state_func), (gst_element_change_state):
2921         Don't post state changes that were between the same state
2922         and were not ASYNC.
2923
2924 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2925
2926         * docs/gst/gstreamer-sections.txt:
2927         * gst/gstcaps.h:
2928         * gst/gstinfo.c:
2929         * gst/gstminiobject.h:
2930         * gst/gstobject.h:
2931         * gst/gstutils.h:
2932           more docs and doc style fixes
2933
2934 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2935
2936         * docs/gst/gstreamer-sections.txt:
2937         * gst/gstelement.c:
2938         * gst/gstminiobject.c:
2939         doc fixes
2940
2941 2005-11-03  Andy Wingo  <wingo@pobox.com>
2942
2943         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2944         state-changed messages actually have the right order and the right
2945         values.
2946
2947 2005-11-03  Wim Taymans  <wim@fluendo.com>
2948
2949         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2950         Added some more checks. Specifically the case where NO_PREROLL
2951         elements are in the pipeline.
2952
2953         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2954         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2955         (gst_base_sink_get_position):
2956         Post READY->PAUSED state change messages too.
2957         Fix bug where VOID was posted as pending state...
2958
2959         * gst/gstbin.c: (gst_bin_recalc_state):
2960         use _element_continue_state() to continue the state change.
2961
2962         * gst/gstelement.c: (gst_element_continue_state),
2963         (gst_element_commit_state), (gst_element_set_state_func),
2964         (gst_element_change_state), (gst_element_change_state_func):
2965         Lots of state change cleanups, assign the STATE_RETURN in
2966         a new continue_state() function that also propagates the
2967         last return value from a state change to the app.
2968         Update some debug statements with proper category.
2969
2970 2005-11-03  Wim Taymans  <wim@fluendo.com>
2971
2972         * docs/design/part-events.txt:
2973         * docs/design/part-gstpipeline.txt:
2974         * docs/design/part-messages.txt:
2975         * docs/design/part-overview.txt:
2976         * docs/design/part-seeking.txt:
2977         * docs/design/part-states.txt:
2978         * docs/design/part-trickmodes.txt:
2979         * docs/manual/advanced-position.xml:
2980         Small docs updates.
2981
2982         * gst/gstobject.h:
2983         People think !! is ugly, this looks better.
2984
2985         * gst/gstpad.c: (gst_pad_set_blocked_async):
2986         Remove !! since it's fixed elsewhere now.
2987
2988 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2989
2990         * gst/gstminiobject.h:
2991         * gst/gstobject.h:
2992           Add !! to _FLAG_IS_SET macros to make the result boolean.
2993
2994 2005-11-03  Edward Hervey  <edward@fluendo.com>
2995
2996         * gst/gstpad.c: (gst_pad_set_blocked_async):
2997         comparing a flag and a gboolean rarely returns coherent results...
2998         Added two characters (!!) to make that work correctly.
2999         
3000 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3001
3002         * gst/gstbus.c: (gst_bus_class_init):
3003           Fix some typos.
3004           
3005         * gst/gstqueue.c: (gst_queue_loop):
3006           Don't assume a miniobject that isn't a buffer is an
3007           event (it could be that there is a refcounting
3008           problem somewhere and the pointer is stale and
3009           refers to an already destroyed miniobject).
3010
3011 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3012
3013         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3014
3015 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3016
3017         * docs/manual/advanced-position.xml:
3018           Update seek example and explanations to current 0.9 API.
3019
3020         * gst/elements/gsttypefindelement.c:
3021         (gst_type_find_element_activate):
3022           Remove FIXME comment now that the found caps
3023           are unreffed.
3024
3025 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3026
3027         * gst/gstregistryxml.c: (load_feature):
3028           Add another GST_STR_NULL instance
3029
3030 2005-11-02  Edward Hervey  <edward@fluendo.com>
3031
3032         * gst/gstpad.c: (handle_pad_block):
3033         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3034         
3035 2005-11-02  Wim Taymans  <wim@fluendo.com>
3036
3037         * gst/gstbin.c:
3038         Fix typo in docs.
3039
3040         * gst/gstelement.c: (gst_element_commit_state):
3041         Remove unused value.
3042
3043         * gst/gstiterator.c:
3044         Mention that the returned element is reffed in the docs.
3045
3046 2005-11-02  Wim Taymans  <wim@fluendo.com>
3047
3048         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3049         (gst_pad_push), (gst_pad_push_event):
3050         Unlock blocked pads when they are flushed.
3051
3052 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3053
3054         * docs/README:
3055         * docs/gst/gstreamer-sections.txt:
3056         * gst/gstbin.c:
3057           doc updates
3058         * gst/gstregistry.c: (gst_registry_scan_path_level):
3059           fix for a nasty little missed situation where an installed plug-in
3060           which was in the cache did not get overridden by an uninstalled one
3061           which was earlier in the plugin path because the newly created plugin
3062           for the uninstalled one (not in the registry) didn't get its
3063           ->registered set to TRUE
3064
3065 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3066
3067         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3068         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3069         (gst_collectpads_is_active), (gst_collectpads_collect),
3070         (gst_collectpads_collect_range), (gst_collectpads_start),
3071         (gst_collectpads_stop), (gst_collectpads_peek),
3072         (gst_collectpads_pop), (gst_collectpads_available),
3073         (gst_collectpads_read), (gst_collectpads_flush):
3074           Guard public API with assertions.
3075         
3076         * gst/gstpad.c:
3077           Fix docs for gst_pad_set_link_function().
3078
3079 2005-11-02  Johan Dahlin  <johan@gnome.org>
3080
3081         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3082         Unref found_caps after we used it.
3083
3084 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3085
3086         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3087           Don't try to ref NULL.
3088
3089 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3090
3091         * win32/common/config.h.in:
3092           provide a GST_FUNCTION that just gives a string for now
3093
3094 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3095
3096         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3097         (gst_object_flags_get_type), (register_gst_bin_flags),
3098         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3099         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3100         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3101         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3102         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3103         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3104         (gst_clock_flags_get_type), (register_gst_state),
3105         (gst_state_get_type), (register_gst_state_change_return),
3106         (gst_state_change_return_get_type), (register_gst_state_change),
3107         (gst_state_change_get_type), (register_gst_element_flags),
3108         (gst_element_flags_get_type), (register_gst_core_error),
3109         (gst_core_error_get_type), (register_gst_library_error),
3110         (gst_library_error_get_type), (register_gst_resource_error),
3111         (gst_resource_error_get_type), (register_gst_stream_error),
3112         (gst_stream_error_get_type), (register_gst_event_type),
3113         (gst_event_type_get_type), (register_gst_seek_type),
3114         (gst_seek_type_get_type), (register_gst_seek_flags),
3115         (gst_seek_flags_get_type), (register_gst_format),
3116         (gst_format_get_type), (register_gst_index_certainty),
3117         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3118         (gst_index_entry_type_get_type),
3119         (register_gst_index_lookup_method),
3120         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3121         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3122         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3123         (gst_index_flags_get_type), (register_gst_debug_level),
3124         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3125         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3126         (gst_iterator_result_get_type), (register_gst_iterator_item),
3127         (gst_iterator_item_get_type), (register_gst_message_type),
3128         (gst_message_type_get_type), (register_gst_mini_object_flags),
3129         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3130         (gst_pad_link_return_get_type), (register_gst_flow_return),
3131         (gst_flow_return_get_type), (register_gst_activate_mode),
3132         (gst_activate_mode_get_type), (register_gst_pad_direction),
3133         (gst_pad_direction_get_type), (register_gst_pad_flags),
3134         (gst_pad_flags_get_type), (register_gst_pad_presence),
3135         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3136         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3137         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3138         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3139         (gst_plugin_flags_get_type), (register_gst_rank),
3140         (gst_rank_get_type), (register_gst_query_type),
3141         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3142         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3143         (gst_tag_flag_get_type), (register_gst_task_state),
3144         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3145         (gst_alloc_trace_flags_get_type),
3146         (register_gst_type_find_probability),
3147         (gst_type_find_probability_get_type), (register_gst_uri_type),
3148         (gst_uri_type_get_type), (register_gst_parse_error),
3149         (gst_parse_error_get_type):
3150         * win32/common/gstversion.h:
3151           update win32 copies
3152
3153 2005-11-01  Luca Ognibene  <luogni@tin.it>
3154
3155         * gst/gst.c:
3156           fix docs. popt is dead, long live GOption.
3157
3158 2005-10-31  Wim Taymans  <wim@fluendo.com>
3159
3160         * gst/gstbuffer.h:
3161         Small doc fix.
3162
3163 2005-10-31  Andy Wingo  <wingo@pobox.com>
3164
3165         * Boo!
3166
3167         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3168
3169         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3170         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3171         the possibility of deadlocks here if code calling notify() or
3172         set() has a lock that can be taken in another notify handler (ABBA
3173         with class lock and e.g. python GIL state lock).
3174
3175 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3176
3177         * gst/gstbus.c: Doc updates.
3178
3179 2005-10-28  Wim Taymans  <wim@fluendo.com>
3180
3181         * docs/design/part-TODO.txt:
3182         * gst/gstiterator.c:
3183         * gst/gstsystemclock.c:
3184         * gst/gstsystemclock.h:
3185         Doc updates.
3186
3187 2005-10-28  Edward Hervey  <edward@fluendo.com>
3188
3189         * docs/gst/gstreamer-docs.sgml:
3190         * docs/gst/gstreamer-sections.txt:
3191         the GstURIType documentation page is private, it only defines GstURIType
3192         which should be defined in the GstURIHandler page
3193         
3194 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3195
3196         * gst/gstbin.c: (gst_bin_class_init):
3197         * gst/gstbin.h:
3198         * gst/gstutils.c:
3199         Documentation updates.
3200
3201 2005-10-28  Wim Taymans  <wim@fluendo.com>
3202
3203         * docs/gst/gstreamer-sections.txt:
3204         * gst/gstclock.c:
3205         * gst/gstclock.h:
3206         Documented the clocks.
3207
3208 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3209
3210         * docs/gst/gstreamer-sections.txt:
3211           move some macros to private sections
3212         * gst/gstminiobject.c:
3213         * gst/gstminiobject.h:
3214           add descriptions provided by ds and some more
3215         * gst/gstpad.h:
3216           mark macro as to be removed
3217
3218 2005-10-28  Wim Taymans  <wim@fluendo.com>
3219
3220         * docs/design/part-TODO.txt:
3221         Add an item to TODO.
3222
3223         * gst/gstiterator.c: (gst_iterator_fold),
3224         (gst_iterator_find_custom):
3225         * gst/gstiterator.h:
3226         Add iterator docs.
3227
3228 2005-10-28  Wim Taymans  <wim@fluendo.com>
3229
3230         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3231         (gst_base_transform_init):
3232         Don't leak class.
3233
3234         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3235         An EOS event marks the queue as completely filled.
3236
3237 2005-10-27  Wim Taymans  <wim@fluendo.com>
3238
3239         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3240         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3241         Some more debugging.
3242
3243         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3244         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3245         (gst_base_transform_event), (gst_base_transform_getrange),
3246         (gst_base_transform_chain):
3247         * gst/base/gstbasetransform.h:
3248         Fix debugging,
3249         Protect transform and concurrent buffer alloc with a new lock.
3250         Try not to break ABI/API.
3251
3252 2005-10-27  Wim Taymans  <wim@fluendo.com>
3253
3254         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3255         (gst_base_src_init), (gst_base_src_query),
3256         (gst_base_src_default_newsegment),
3257         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3258         (gst_base_src_send_event), (gst_base_src_event_handler),
3259         (gst_base_src_pad_get_range), (gst_base_src_loop),
3260         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3261         (gst_base_src_start), (gst_base_src_deactivate),
3262         (gst_base_src_activate_push), (gst_base_src_change_state):
3263         Move some stuff around and cleanup things.
3264
3265 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3266
3267         * gst/base/gstbasesrc.c: (gst_base_src_query):
3268           Add missing break statements.
3269
3270 2005-10-27  Wim Taymans  <wim@fluendo.com>
3271
3272         * check/gst/gstbin.c: (GST_START_TEST):
3273         An extra refcount is taken in basesrc.
3274
3275         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3276         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3277         (gst_base_src_loop):
3278         Small cleanups, check for flushing after being unlocked from the 
3279         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3280         Don't send out EOS when going to READY.
3281
3282 2005-10-27  Wim Taymans  <wim@fluendo.com>
3283
3284         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3285         (gst_base_sink_get_position):
3286         Some more debug.
3287
3288         * gst/gstbin.c: (message_check), (bin_replace_message),
3289         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3290         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3291         (bin_query_duration_init), (bin_query_duration_fold),
3292         (bin_query_duration_done), (bin_query_generic_fold),
3293         (gst_bin_query):
3294         * tools/gst-launch.c: (main):
3295         Remove old option.
3296
3297 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3298
3299         * examples/controller/audio-example.c: (main):
3300         * examples/queue/queue.c: (event_loop):
3301         * gst/base/gstbasetransform.h:
3302         * gst/gstelement.c: (gst_element_send_event):
3303         * gst/gstevent.h:
3304         * gst/gstpad.c: (gst_pad_send_event):
3305           fixing examples
3306           fixing docs typos
3307           changing log priority in error situations
3308
3309 2005-10-25  Wim Taymans  <wim@fluendo.com>
3310
3311         * gst/gstbin.c: (message_check), (bin_replace_message),
3312         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3313         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3314         (bin_query_duration_init), (bin_query_duration_fold),
3315         (bin_query_duration_done), (bin_query_generic_fold),
3316         (gst_bin_query):
3317         Some doc and debug updates.
3318         Cache previously requested query DURATION for speed. invalidate
3319         cached duration if element posts a DURATION message.
3320
3321 2005-10-25  Wim Taymans  <wim@fluendo.com>
3322
3323         * docs/design/part-TODO.txt:
3324         Update TODO.
3325
3326         * gst/gstbin.c: (message_check), (bin_replace_message),
3327         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3328         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3329         (bin_query_duration_init), (bin_query_duration_fold),
3330         (bin_query_duration_done), (bin_query_generic_fold),
3331         (gst_bin_query):
3332         Handle SEGMENT_START/DONE messages correctly.
3333         More evolved query algorithm that handles duration queries
3334         correctly.
3335
3336         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3337         (gst_element_get_state_func), (gst_element_abort_state),
3338         (gst_element_commit_state), (gst_element_lost_state):
3339         Some more debugging.
3340
3341         * gst/gstmessage.h:
3342         Added doc.
3343
3344 2005-10-25  Wim Taymans  <wim@fluendo.com>
3345
3346         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3347         Don't use invalid stream_time.
3348
3349         * gst/gstevent.c: (gst_event_new_newsegment):
3350         stream_time in newsegment cannot be undefined.
3351
3352 2005-10-24  Wim Taymans  <wim@fluendo.com>
3353
3354         * gst/gstbus.c:
3355         Doc fix.
3356
3357         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3358         (gst_queue_loop):
3359         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3360
3361 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3362
3363         * docs/libs/tmpl/gstdparam.sgml:
3364         * docs/libs/tmpl/gstdplinint.sgml:
3365         * docs/libs/tmpl/gstdpman.sgml:
3366         * docs/libs/tmpl/gstdpsmooth.sgml:
3367         * docs/libs/tmpl/gstunitconvert.sgml:
3368           these are obsolete
3369
3370 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3371
3372         * configure.ac:
3373           back to HEAD
3374
3375 === release 0.9.4 ===
3376
3377 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3378
3379         * configure.ac:
3380           releasing 0.9.4, "Tyrannosaurus Rex"
3381
3382 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3383
3384         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3385         (gst_file_sink_get_current_offset):
3386           Use fseeko() and ftello() if available. When falling back on
3387           lseek() to get the current offset, fflush() first to make sure
3388           everything is up-to-date and we get the right offset.
3389
3390 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3391
3392         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3393         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3394         * gst/gsterror.c: (_gst_stream_errors_init):
3395         * gst/gsterror.h:
3396         * gst/gstqueue.c: (gst_queue_loop):
3397         * po/POTFILES.in:
3398           remove prematurely added error category and clean up the instances
3399
3400 2005-10-21  Wim Taymans  <wim@fluendo.com>
3401
3402         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3403         (gst_base_sink_get_position), (gst_base_sink_query),
3404         (gst_base_sink_change_state):
3405         Simply set the right flag when going to playing, that's all
3406         we need to do instead of calling a function inside the object
3407         lock (that could take the lock as well and deadlock)
3408
3409 2005-10-21  Wim Taymans  <wim@fluendo.com>
3410
3411         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3412         (gst_base_src_loop):
3413         Don't warn, the peer element knows what to do best when
3414         the seek failed, it might try something else.
3415
3416 2005-10-21  Wim Taymans  <wim@fluendo.com>
3417
3418         * gst/base/gstbasesrc.c: (gst_base_src_init),
3419         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3420         Fix seeking.
3421
3422 2005-10-21  Wim Taymans  <wim@fluendo.com>
3423
3424         * docs/design/part-segments.txt:
3425         More docs.
3426
3427         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3428         Correctly set caps, even on the subbufer.
3429
3430 2005-10-21  Wim Taymans  <wim@fluendo.com>
3431
3432         * docs/gst/gstreamer-docs.sgml:
3433         * docs/gst/gstreamer-sections.txt:
3434         * gst/gstelement.h:
3435         * gst/gstevent.c:
3436         * gst/gstevent.h:
3437         * gst/gstmessage.h:
3438         * gst/gstpad.h:
3439         * gst/gstparse.h:
3440         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3441         * gst/gsttask.h:
3442         * gst/gstutils.c:
3443         * gst/gstutils.h:
3444         And 2% more doc coverage.
3445
3446 2005-10-21  Andy Wingo  <wingo@pobox.com>
3447
3448         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3449         position reporting.
3450
3451 2005-10-20  Wim Taymans  <wim@fluendo.com>
3452
3453         * gst/gsterror.c: (gst_error_get_message):
3454         * gst/gstparse.h:
3455         * gst/gstquery.h:
3456         * gst/gststructure.c:
3457         * gst/gsttrace.c:
3458         * gst/gstutils.c:
3459         More docs.
3460
3461 2005-10-20  Wim Taymans  <wim@fluendo.com>
3462
3463         * gst/gstbuffer.h:
3464         * gst/gstpad.c:
3465         * gst/gstparse.c:
3466         Another 1% more coverage.
3467
3468 2005-10-20  Wim Taymans  <wim@fluendo.com>
3469
3470         * docs/gst/gstreamer-sections.txt:
3471         * gst/gstelement.c: (gst_element_get_state_func),
3472         (gst_element_abort_state), (gst_element_commit_state),
3473         (gst_element_lost_state):
3474         * gst/gstevent.h:
3475         * gst/gstquery.c: (gst_query_set_position),
3476         (gst_query_parse_position), (gst_query_set_duration),
3477         (gst_query_parse_duration), (gst_query_new_convert):
3478         * gst/gstutils.c:
3479         Yay! 1% more docs coverage.
3480
3481 2005-10-20  Wim Taymans  <wim@fluendo.com>
3482
3483         * gst/gstpad.h:
3484         * gst/gstquery.c: (gst_query_set_position),
3485         (gst_query_parse_position), (gst_query_set_duration),
3486         (gst_query_parse_duration), (gst_query_new_convert):
3487         * gst/gstquery.h:
3488         * gst/gstutils.c: (gst_element_query_convert):
3489         * gst/gstutils.h:
3490         Docs and consistency fixes.
3491
3492 2005-10-20  Wim Taymans  <wim@fluendo.com>
3493
3494         * gst/gsttask.c:
3495         * gst/gsttask.h:
3496         More docs.
3497
3498 2005-10-20  Wim Taymans  <wim@fluendo.com>
3499
3500         * gst/gstbin.c: (message_check), (bin_replace_message),
3501         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3502         (update_degree), (gst_bin_sort_iterator_next),
3503         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3504         Reworked the message handling a bit, cache the messages instead of
3505         only the senders. alows us to do more in the future.
3506
3507 2005-10-20  Wim Taymans  <wim@fluendo.com>
3508
3509         * docs/design/part-TODO.txt:
3510         Update TODO
3511
3512         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3513         (gst_base_sink_query):
3514         Don't use clock time to report position when in EOS.
3515
3516 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3517
3518         * tools/gst-inspect.c: (print_interfaces),
3519         (print_element_properties_info), (print_element_info):
3520           Fix interface output with gst-inspect -a; don't print
3521           newlines after double/float properties.
3522
3523 2005-10-20  Wim Taymans  <wim@fluendo.com>
3524
3525         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3526         (gst_base_sink_query):
3527         Speed up current position calculation.
3528
3529         * gst/base/gstbasesrc.c: (gst_base_src_query),
3530         (gst_base_src_default_newsegment):
3531         Correctly set stream position in newsegment.
3532
3533         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3534         (update_degree), (gst_bin_sort_iterator_next),
3535         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3536         * gst/gstmessage.c: (gst_message_new_custom):
3537         Clean up debugging info
3538
3539         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3540         (gst_queue_loop), (gst_queue_handle_src_query):
3541         Pause task faster.
3542
3543 2005-10-19  Wim Taymans  <wim@fluendo.com>
3544
3545         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3546         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3547         Fix query handling again.
3548
3549 2005-10-19  Wim Taymans  <wim@fluendo.com>
3550
3551         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3552         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3553         * gst/base/gstbasesrc.c: (gst_base_src_query):
3554         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3555         * gst/elements/gsttypefindelement.c:
3556         (gst_type_find_handle_src_query), (find_element_get_length),
3557         (gst_type_find_element_activate):
3558         API change fix.
3559
3560         * gst/gstquery.c: (gst_query_new_position),
3561         (gst_query_set_position), (gst_query_parse_position),
3562         (gst_query_new_duration), (gst_query_set_duration),
3563         (gst_query_parse_duration), (gst_query_set_segment),
3564         (gst_query_parse_segment):
3565         * gst/gstquery.h:
3566         Bundling query position/duration is not a good idea since duration
3567         does not change much and we don't want to recalculate it for every
3568         position query, so they are separated again..
3569         Base value in segment query is not needed.
3570
3571         * gst/gstqueue.c: (gst_queue_handle_src_query):
3572         * gst/gstutils.c: (gst_element_query_position),
3573         (gst_element_query_duration), (gst_pad_query_position),
3574         (gst_pad_query_duration):
3575         * gst/gstutils.h:
3576         Updates for query API change.
3577         Added some docs here and there.
3578
3579 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3580
3581         * check/gst/gstbin.c: (GST_START_TEST):
3582         * check/gst/gstghostpad.c: (GST_START_TEST):
3583         * check/pipelines/cleanup.c: (GST_START_TEST):
3584           wait on thread to die so we can check refcount correctly
3585
3586 2005-10-18  Wim Taymans  <wim@fluendo.com>
3587
3588         * check/pipelines/stress.c: (GST_START_TEST):
3589         Make check a little more time consuming.
3590
3591 2005-10-18  Wim Taymans  <wim@fluendo.com>
3592
3593         * check/Makefile.am:
3594         * check/pipelines/stress.c: (GST_START_TEST),
3595         (simple_launch_lines_suite), (main):
3596         Small state change torture test.
3597
3598         * docs/design/part-states.txt:
3599         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3600         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3601         (gst_base_sink_change_state):
3602         Never take state lock from streaming thread, clean up ugly
3603         hacks. Unfortunatly core does not yet support nice ways to
3604         async commit state.
3605         
3606         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3607         (bin_bus_handler):
3608         Start state recalc if a STATE_DIRTY message is posted, but only
3609         on the toplevel bin.
3610
3611         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3612         (gst_element_get_state_func), (gst_element_abort_state),
3613         (gst_element_commit_state), (gst_element_lost_state),
3614         (gst_element_set_state_func), (gst_element_change_state):
3615         * gst/gstelement.h:
3616         State variables are now protected with the LOCK, the state
3617         lock is only used to serialize _set_state().
3618
3619 2005-10-18  Wim Taymans  <wim@fluendo.com>
3620
3621         * check/gst/gstbin.c: (GST_START_TEST):
3622         * check/gst/gstmessage.c: (GST_START_TEST):
3623         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3624         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3625         (bin_bus_handler):
3626         * gst/gstelement.c: (gst_element_abort_state),
3627         (gst_element_commit_state), (gst_element_lost_state):
3628         * gst/gstmessage.c: (gst_message_new_state_changed),
3629         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3630         (gst_message_new_segment_done), (gst_message_new_duration),
3631         (gst_message_parse_state_changed),
3632         (gst_message_parse_segment_start),
3633         (gst_message_parse_segment_done), (gst_message_parse_duration):
3634         * gst/gstmessage.h:
3635         * tools/gst-launch.c: (event_loop):
3636         Seriously, this is better than a previous commit as we only need
3637         to notify the fact that an element changed state in a streaming
3638         thread, marking the state of the parents dirty, hence the 
3639         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3640         message.
3641
3642 2005-10-18  Wim Taymans  <wim@fluendo.com>
3643
3644         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3645         (gst_bin_recalc_func):
3646         * gst/gstelement.c: (gst_element_set_clock),
3647         (gst_element_abort_state), (gst_element_lost_state):
3648         Cleanups, prepare for state change fixes.
3649
3650 2005-10-18  Wim Taymans  <wim@fluendo.com>
3651
3652         * gst/gstbin.h:
3653         * gst/gstelement.c: (gst_element_class_init),
3654         (gst_element_set_state), (gst_element_set_state_func):
3655         * gst/gstelement.h:
3656         Pending ABI changes.
3657         GThreadPool in GstBinClass to monitor async state changes.
3658         state_cookie in GstElement to detect concurrent gst/set state.
3659         set_state is now virtual too in case a very complicated element
3660         has to be constructed.
3661
3662 2005-10-18  Wim Taymans  <wim@fluendo.com>
3663
3664         * check/gst/gstbin.c: (GST_START_TEST):
3665         * check/gst/gstmessage.c: (GST_START_TEST):
3666         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3667         * gst/gstbin.c: (bin_bus_handler):
3668         * gst/gstelement.c: (gst_element_commit_state),
3669         (gst_element_lost_state):
3670         * gst/gstmessage.c: (gst_message_new_state_changed),
3671         (gst_message_new_segment_start), (gst_message_new_segment_done),
3672         (gst_message_new_duration), (gst_message_parse_state_changed),
3673         (gst_message_parse_segment_start),
3674         (gst_message_parse_segment_done), (gst_message_parse_duration):
3675         * gst/gstmessage.h:
3676         * tools/gst-launch.c: (event_loop):
3677         Make messages future proof.
3678         state-change gets a flag if it was a message comming from the
3679         streaming thread.
3680         segment-start/stop can also be specified in other formats.
3681         A message to notify an app that a pipeline changed playback 
3682         duration.
3683         Also fix a GstMessage leak in -launch
3684
3685 2005-10-18  Andy Wingo  <wingo@pobox.com>
3686
3687         * gst/gstelement.c (gst_element_dispose): More helpful message.
3688
3689 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3690
3691         reviewed by: <delete if not using a buddy>
3692
3693         * common/gtk-doc.mak:
3694
3695 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3696
3697         * gst/gstregistry.c: (gst_registry_scan_path_level):
3698           unref a plug-in we get that was already initialized
3699
3700 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3701
3702         * docs/gst/gstreamer-sections.txt:
3703         * docs/libs/gstreamer-libs-sections.txt:
3704         * gst/gstelement.h:
3705           add new api entries
3706           hide internal macro
3707
3708 2005-10-17  Andy Wingo  <wingo@pobox.com>
3709
3710         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3711         cleanup.
3712
3713         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3714
3715         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3716
3717         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3718         (gst_element_get_state_func): Better debug message.
3719         (gst_element_commit_state): s/INFO/DEBUG/.
3720         (gst_element_lost_state, gst_element_change_state): 
3721
3722         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3723         (gst_message_new_custom): s/INFO/LOG/.
3724
3725 2005-10-17  Michael Smith <msmith@fluendo.com>
3726
3727         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3728           Check if end time is valid using end time, not start time.
3729
3730 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3731
3732         * check/gst-libs/controller.c: (GST_START_TEST),
3733         (gst_controller_suite):
3734         * libs/gst/controller/gstcontroller.c:
3735         (gst_controlled_property_set_interpolation_mode):
3736         * libs/gst/controller/gstcontroller.h:
3737         * libs/gst/controller/gstinterpolation.c:
3738         * testsuite/controller/.cvsignore:
3739         * testsuite/controller/Makefile.am:
3740         * testsuite/controller/interpolator.c:
3741           merge controller testsuites
3742           fix broken tests
3743           remove mem-chunk from docs
3744
3745 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3746
3747         * gst/gstmemchunk.c:
3748         * gst/gstmemchunk.h:
3749         * gst/gsttrashstack.c:
3750         * gst/gsttrashstack.h:
3751           out.  get out.  you're fired.  to the Attic !
3752
3753 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3754
3755         * gst/gstcaps.c: (gst_caps_intersect):
3756           fix signedness issues in a (hopefully) correct way
3757         * gst/gstelement.c: (gst_element_pads_activate):
3758           some debugging
3759         * gst/gstobject.c: (gst_object_set_parent):
3760           some debugging
3761
3762 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3763
3764         * gst/gstvalue.h: Fix prototypes.
3765
3766 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3767
3768         * docs/gst/gstreamer-sections.txt:
3769         * gst/gst.c: (gst_version_string):
3770         * gst/gst.h:
3771         * gst/gstversion.h.in:
3772         * win32/common/libgstreamer.def:
3773           add gst_version_string ()
3774
3775 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3776
3777         * configure.ac:
3778           clean up further
3779         * gst/gst.c: (init_post):
3780         * win32/common/config.h.in:
3781           it's PLUGINDIR now
3782         * gst/gstcaps.c: (gst_caps_intersect):
3783           use gint64, the range could be bigger than a guint
3784
3785 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3786
3787         * gst/gstclock.h:
3788           document potential problem in 2038
3789
3790 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3791
3792         * gst/gstcaps.c: (gst_caps_intersect):
3793           Fix guint j diving under 0
3794
3795 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3796
3797         * configure.ac:
3798         * win32/common/config.h:
3799         * win32/common/config.h.in:
3800           check for process.h, declares getpid() on Windows
3801         * gst/gstinfo.c:
3802           include process.h if we have it
3803         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3804         * gst/gstmemchunk.h:
3805           fix signedness issues
3806         * win32/common/libgstreamer.def:
3807           fix get_type's
3808
3809 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3810
3811         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3812         fix. Because of unsigned ints, caps intersection was going nuts and
3813         trying to access structures with G_MAXUINT index. That fixes
3814         videotestsrc ! ffmpegcolorspace ! fakesink
3815         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3816         consistency.
3817
3818 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3819
3820         * configure.ac:
3821           use the gettext macro
3822         * gst/elements/gstelements.c:
3823         * gst/gst.c:
3824         * gst/indexers/gstindexers.c:
3825           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3826         * win32/common/config.h:
3827           updated config.h
3828         * win32/common/config.h.in:
3829           add the template to generate config.h
3830         * win32/common/gstenumtypes.c:
3831         * win32/common/gstversion.h:
3832           updated copies
3833
3834 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3835
3836         * gst/gst.c: (gst_version):
3837         * gst/gstversion.h.in:
3838           add the nano
3839
3840 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3841
3842         * gst/gstevent.h:
3843           Oops, add missing closing bracket.
3844
3845 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3846
3847         * configure.ac:
3848           use common m4's for argument checking
3849
3850 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3851
3852         * docs/gst/gstreamer-sections.txt:
3853         * gst/gstevent.h:
3854           Add GST_EVENT_TYPE_NAME() macro.
3855
3856 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3857
3858         * gst/gstinfo.c:
3859         * gst/gstpluginfeature.c:
3860         * gst/gsttask.c:
3861           privatize more symbols
3862
3863 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3864
3865         * configure.ac:
3866           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3867           everything that uses GStreamer API should have the includes
3868
3869 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3870
3871         * docs/gst/gstreamer-sections.txt:
3872         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3873         * gst/gstvalue.h:
3874           give each value a _get_type, removes the DATA exports
3875
3876 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3877
3878         * gst/gst.c:
3879         * gst/gst.h:
3880           remove _gst_registry_auto_load, not used anymore
3881         * gst/gstbin.c: (gst_bin_get_type):
3882         * gst/gstbin.h:
3883         * gst/gstelement.c: (gst_element_get_type):
3884         * gst/gstelement.h:
3885         * gst/gstobject.c: (gst_object_get_type):
3886         * gst/gstobject.h:
3887         * gst/gstpad.c: (gst_pad_get_type):
3888         * gst/gstpad.h:
3889           make _get_type functions similar, fixes data export from library
3890
3891 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3892
3893         * configure.ac:
3894           correctly make conditionals
3895         * gst/elements/Makefile.am:
3896         * gst/elements/gstelements.c:
3897           fix typo causing fdsrc not to build
3898
3899 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3900
3901         * testsuite/Makefile.am:
3902         * testsuite/bytestream/.cvsignore:
3903         * testsuite/bytestream/Makefile.am:
3904         * testsuite/bytestream/filepadsink.c:
3905         * testsuite/bytestream/gstbstest.c:
3906         * testsuite/bytestream/test1.c:
3907         * testsuite/bytestream/testfile1:
3908         * testsuite/caps/normalisation.c:
3909         * testsuite/caps/random.c: (main):
3910         * testsuite/cleanup/.cvsignore:
3911         * testsuite/cleanup/Makefile.am:
3912         * testsuite/cleanup/cleanup1.c:
3913         * testsuite/cleanup/cleanup2.c:
3914         * testsuite/cleanup/cleanup3.c:
3915         * testsuite/cleanup/cleanup4.c:
3916         * testsuite/cleanup/cleanup5.c:
3917         * testsuite/controller/interpolator.c:
3918         * testsuite/debug/printf_extension.c: (main):
3919         * testsuite/elements/tee.c:
3920         * testsuite/negotiation/.cvsignore:
3921         * testsuite/negotiation/Makefile.am:
3922         * testsuite/negotiation/pad_link.c:
3923         * testsuite/pad/Makefile.am:
3924         * testsuite/pad/chainnopull.c:
3925         * testsuite/pad/getnopush.c:
3926         * testsuite/pad/link.c:
3927         * testsuite/refcounting/sched.c: (create_pipeline):
3928         * testsuite/registry/Makefile.am:
3929         * testsuite/registry/gst-print-formats.c:
3930         * testsuite/schedulers/.cvsignore:
3931         * testsuite/schedulers/142183-2.c:
3932         * testsuite/schedulers/142183.c:
3933         * testsuite/schedulers/143777-2.c:
3934         * testsuite/schedulers/143777.c:
3935         * testsuite/schedulers/147713.c:
3936         * testsuite/schedulers/147819.c:
3937         * testsuite/schedulers/147894-2.c:
3938         * testsuite/schedulers/147894.c:
3939         * testsuite/schedulers/Makefile.am:
3940         * testsuite/schedulers/group_link.c:
3941         * testsuite/schedulers/queue_link.c:
3942         * testsuite/schedulers/relink.c:
3943         * testsuite/schedulers/unlink.c:
3944         * testsuite/schedulers/unref.c:
3945         * testsuite/schedulers/useless_iteration.c:
3946         * testsuite/states/bin.c:
3947           clean out/remove some stuff from the testsuite directories
3948
3949 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3950
3951         * configure.ac:
3952           check for some headers
3953         * gst/elements/Makefile.am:
3954         * gst/elements/gstelements.c:
3955           don't compile fdsrc without sys/socket.h
3956         * gst/indexers/Makefile.am:
3957         * gst/indexers/gstindexers.c: (plugin_init):
3958           don't compile fileindex without mmap
3959
3960 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3961
3962         * configure.ac:
3963           reorganize
3964           clean up
3965           document more
3966           remove cruft
3967         * check/Makefile.am:
3968         * docs/gst/Makefile.am:
3969         * examples/helloworld/Makefile.am:
3970         * gst/Makefile.am:
3971         * gst/base/Makefile.am:
3972         * gst/check/Makefile.am:
3973         * gst/elements/Makefile.am:
3974         * gst/indexers/Makefile.am:
3975         * gst/parse/Makefile.am:
3976         * libs/gst/controller/Makefile.am:
3977         * libs/gst/dataprotocol/Makefile.am:
3978         * examples/helloworld/helloworld.c: (event_loop):
3979           compile fixes, though it's not being compiled currently
3980
3981 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3982
3983         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3984           Add some simple tests for the new taglist date API.
3985
3986 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3987
3988         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3989         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3990           Beautify 'last-message' output: print 'none' for buffer timestamps
3991           and durations if none is set; improve alignment with next messages.
3992
3993 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3994
3995         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3996         * gst/gstpluginfeature.h:
3997         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3998         * gst/gstregistry.h:
3999         * docs/gst/gstreamer-sections.txt:
4000           Add new API to check plugin feature version requirements.
4001
4002         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4003           Some basic tests for the above.         
4004
4005 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4006
4007         * gst/gststructure.c: (gst_structure_to_string):
4008           guard against NULL printf - happens when for example
4009           a message structure with GstClock gets serialized
4010
4011 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4012
4013         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4014           Fix presumable copy'n'pasto.
4015
4016 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4017
4018         * gst/elements/gstfakesrc.h:
4019         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4020         * gst/elements/gsttypefindelement.c:
4021           fix some signedness
4022         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4023           I wonder if this could actually write +2GB files before
4024
4025 2005-10-13  Andy Wingo  <wingo@pobox.com>
4026
4027         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4028         Fix Timmeke Waymans bug.
4029         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4030         string of the proper length to gst_caps_from_string. There's a
4031         potential for, before this fix, that this could cause someone
4032         connecting over the network to cause a segfault if the payload is
4033         not NUL-terminated.
4034
4035 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4036
4037         * docs/design/draft-push-pull.txt:
4038         * docs/design/part-overview.txt:
4039         * docs/random/TODO-pre-0.9:
4040         * docs/random/old/ChangeLog.gstreamer:
4041         * gst/base/gstpushsrc.c:
4042         * gst/gstclock.c:
4043           fixed typos
4044
4045 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4046
4047         * gst/glib-compat.c: (gst_flags_get_first_value):
4048         * gst/glib-compat.h:
4049         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4050         (gst_value_compare_double), (gst_value_serialize_flags):
4051           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4052           infinite loop
4053
4054 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4055
4056         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4057         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4058           fix up debugging
4059         * tools/gst-launch.c: (event_loop):
4060           print out clock nicely
4061
4062 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4063
4064         * docs/gst/gstreamer-sections.txt:
4065         * gst/gsttaglist.h:
4066         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4067         (gst_tag_list_get_date_index):
4068           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4069           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4070
4071 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4072
4073         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4074         (gst_collectpads_chain):
4075         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4076         in CollectData.
4077
4078 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4079
4080         * docs/gst/gstreamer-sections.txt:
4081         * gst/gst.c:
4082         * gst/gsterror.h:
4083         * tools/gst-inspect.c: (main):
4084         * tools/gst-launch.c: (main):
4085         * tools/gst-run.c: (main):
4086         * tools/gst-xmlinspect.c: (main):
4087           fix GOption context leaks
4088           doc fixes
4089
4090 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4091
4092         * gst/gstbus.c:
4093           use HAVE_UNISTD_H
4094         * win32/common/config.h:
4095           update config
4096         * win32/vs6/grammar.dsp:
4097         * win32/vs6/libgstelements.dsp:
4098         * win32/vs6/libgstreamer.dsp:
4099           update vs6 files
4100
4101 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4102
4103         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4104         * gst/base/gstbasesrc.c: (gst_base_src_query):
4105           fix more guint64<->gdouble conversions
4106
4107 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4108
4109         * Makefile.am:
4110           add win32-update target
4111         * win32/common/gstconfig.h:
4112         * win32/common/gstenumtypes.c:
4113         * win32/common/gstenumtypes.h:
4114         * win32/common/gstversion.h:
4115           add files that visual studio can't generate
4116
4117 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4118
4119         * Makefile.am:
4120           add a win32-update target
4121         * configure.ac:
4122
4123 2005-10-12  Wim Taymans  <wim@fluendo.com>
4124
4125         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4126         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4127         * gst/gstelement.c: (gst_element_commit_state),
4128         (gst_element_set_state):
4129         Protect flags with proper lock.
4130         unref provided cached clock in dispose.
4131
4132 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4133
4134         * gst/gst.c:
4135         * gst/gstminiobject.h:
4136         * gst/gstpad.h:
4137         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4138           removed unused flags from miniobject
4139           doc fixes
4140
4141 2005-10-12  Wim Taymans  <wim@fluendo.com>
4142
4143         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4144         (gst_file_sink_event), (gst_file_sink_render):
4145         Flush before seeking.
4146
4147 2005-10-12  Andy Wingo  <wingo@pobox.com>
4148
4149         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4150         always been the case.
4151
4152 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4153
4154         * check/gst/gstbin.c: (GST_START_TEST):
4155         * docs/gst/gstreamer-sections.txt:
4156         * gst/base/gstbasesink.c: (gst_base_sink_init):
4157         * gst/base/gstbasesrc.c: (gst_base_src_init),
4158         (gst_base_src_get_range), (gst_base_src_check_get_range),
4159         (gst_base_src_start), (gst_base_src_stop):
4160         * gst/base/gstbasesrc.h:
4161         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4162         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4163         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4164         (bin_bus_handler):
4165         * gst/gstbin.h:
4166         * gst/gstbuffer.h:
4167         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4168         * gst/gstbus.h:
4169         * gst/gstelement.c: (gst_element_is_locked_state),
4170         (gst_element_set_locked_state), (gst_element_commit_state),
4171         (gst_element_set_state):
4172         * gst/gstelement.h:
4173         * gst/gstindex.c: (gst_index_init):
4174         * gst/gstindex.h:
4175         * gst/gstminiobject.h:
4176         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4177         (gst_object_set_parent):
4178         * gst/gstobject.h:
4179         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4180         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4181         * gst/gstpad.h:
4182         * gst/gstpadtemplate.h:
4183         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4184         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4185         * gst/gstpipeline.h:
4186         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4187         (gst_file_index_commit):
4188         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4189         * testsuite/pad/link.c: (gst_test_src_init),
4190         (gst_test_filter_init), (gst_test_sink_init):
4191         * testsuite/states/locked.c: (main):
4192           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4193           moved bitshift from macro to enum definition
4194
4195 2005-10-12  Wim Taymans  <wim@fluendo.com>
4196
4197         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4198         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4199         (gst_file_sink_render):
4200         Some more debugging info.
4201
4202 2005-10-12  Wim Taymans  <wim@fluendo.com>
4203
4204         * docs/design/part-states.txt:
4205         * tools/gst-launch.c: (main):
4206         Some doc updates.
4207         Revert non-intentional change.
4208
4209 2005-10-12  Wim Taymans  <wim@fluendo.com>
4210
4211         * check/gst/gstbin.c: (GST_START_TEST):
4212         * check/gst/gstelement.c: (GST_START_TEST):
4213         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4214         * check/gst/gstghostpad.c: (GST_START_TEST):
4215         * check/gst/gstpipeline.c: (GST_START_TEST):
4216         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4217         * check/states/sinks.c: (GST_START_TEST):
4218         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4219         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4220         (gst_bin_remove_func), (gst_bin_get_state_func),
4221         (gst_bin_recalc_state), (gst_bin_change_state_func),
4222         (bin_bus_handler):
4223         * gst/gstelement.c: (gst_element_get_state_func),
4224         (gst_element_get_state), (gst_element_abort_state),
4225         (gst_element_commit_state), (gst_element_set_state),
4226         (gst_element_change_state), (gst_element_change_state_func):
4227         * gst/gstelement.h:
4228         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4229         (gst_pipeline_provide_clock_func):
4230         * gst/gstutils.c: (gst_element_link_pads_filtered):
4231         * tools/gst-launch.c: (main):
4232         * tools/gst-typefind.c: (main):
4233         Use GstClockTime in _get_state() instead of GTimeVal.
4234         Remove old code in gstutils.c
4235
4236 2005-10-12  Andy Wingo  <wingo@pobox.com>
4237
4238         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4239         removed.
4240
4241         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4242         there is no task. Shouldn't affect any code, as nothing in our
4243         plugins checks this return value.
4244         (gst_pad_stop_task): Also take the stream lock if the pad has no
4245         task. Docs updated.
4246
4247 2005-10-12  Wim Taymans  <wim@fluendo.com>
4248
4249         * gst/gstpad.c: (pre_activate), (post_activate),
4250         (gst_pad_activate_pull), (gst_pad_activate_push):
4251         Cleanup activation code. Reset old state if
4252         activation failed.
4253
4254 2005-10-12  Wim Taymans  <wim@fluendo.com>
4255
4256         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4257         (gst_base_sink_change_state):
4258         No need to prerol after receiving EOS.
4259
4260         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4261         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4262         * gst/elements/gstidentity.c: (gst_identity_event):
4263         Print events more verbosely.
4264
4265 2005-10-12  Wim Taymans  <wim@fluendo.com>
4266
4267         * check/Makefile.am:
4268         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4269         * check/states/sinks2.c:
4270         Moved sinks2 testcode in sinks check.
4271
4272         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4273         (gst_bin_remove_func), (gst_bin_recalc_state),
4274         (gst_bin_change_state_func), (bin_bus_handler):
4275         Fix potential race condition when _get_state() iterated over an
4276         ASYNC element right before it posted a state completion.
4277
4278         * gst/gstclock.h:
4279         Do proper cast here.
4280
4281         * gst/gstevent.c: (gst_event_new_newsegment),
4282         (gst_event_parse_newsegment):
4283         A playback rate of 0.0 is not allowed.
4284
4285 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4286
4287         * win32/common/config.h:
4288         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4289         (_trewinddir), (_ttelldir), (_tseekdir):
4290         * win32/common/dirent.h:
4291         * win32/common/gtchar.h:
4292         * win32/common/libgstbase.def:
4293         * win32/common/libgstreamer.def:
4294         * win32/vs6/grammar.dsp:
4295         * win32/vs6/gst_inspect.dsp:
4296         * win32/vs6/gst_launch.dsp:
4297         * win32/vs6/gstreamer.dsw:
4298         * win32/vs6/libgstbase.dsp:
4299         * win32/vs6/libgstelements.dsp:
4300         * win32/vs6/libgstreamer.dsp:
4301           Visual Studio 6 project files, and a new common directory.
4302           Phear.
4303
4304 2005-10-11  Wim Taymans  <wim@fluendo.com>
4305
4306         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4307         (gst_base_sink_do_sync), (gst_base_sink_query),
4308         (gst_base_sink_change_state):
4309         * gst/base/gstbasesink.h:
4310         Correctly parse newsegment info.
4311
4312 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4313
4314         * gst/gst.c: (init_post):
4315           split plugin paths correctly
4316
4317 2005-10-11  Wim Taymans  <wim@fluendo.com>
4318
4319         * check/gst/gstevent.c: (GST_START_TEST):
4320         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4321         (gst_base_sink_change_state):
4322         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4323         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4324         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4325         * gst/gstevent.c: (gst_event_new_newsegment),
4326         (gst_event_parse_newsegment):
4327         * gst/gstevent.h:
4328         Added extra flag to newsegment for future API freeze.
4329         Updated check and base elements.
4330
4331 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4332
4333         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4334         (gst_collectpads_add_pad), (gst_collectpads_pop),
4335         (gst_collectpads_event), (gst_collectpads_chain):
4336         * gst/base/gstcollectpads.h: Handle EOS correctly.
4337
4338 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4339
4340         * tools/gst-launch.c: (main):
4341           more null protecting
4342
4343 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4344
4345         * gst/gst-i18n-lib.h:
4346           check for ENABLE_NLS, not GETTEXT_PACKAGE
4347         * gst/gstregistry.c: (gst_registry_add_plugin),
4348         (gst_registry_scan_path_level),
4349         (_gst_registry_remove_cache_plugins):
4350           protect possibly NULL strings
4351         * gst/parse/types.h:
4352           config.h already included before
4353         * tools/gst-inspect.c: (main):
4354           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4355           check for ENABLE_NLS, not GETTEXT_PACKAGE
4356         * tools/gst-launch.c: (main):
4357           check for ENABLE_NLS, not GETTEXT_PACKAGE
4358
4359 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4360
4361         * configure.ac:
4362           if we don't have glib, fail before testing 2.8
4363         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4364           fix a leak, should fix plugins-base testsuite
4365
4366 2005-10-11  Andy Wingo  <wingo@pobox.com>
4367
4368         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4369         take the mode we're going to as an arg. Go head and set the mode
4370         and flushing flags now, so that if the activate function starts a
4371         thread all the flags will be in the right state.
4372         (post_activate): Renamed also. Just handle making sure streaming
4373         finishes for the deactivation case, and setting the deactivated
4374         mode.
4375         (gst_pad_set_active): Complain loudly if deactivation fails.
4376         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4377         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4378         remove the terrible hack.
4379
4380 2005-10-11  Wim Taymans  <wim@fluendo.com>
4381
4382         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4383         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4384         (gst_bin_recalc_state), (gst_bin_change_state_func),
4385         (gst_bin_dispose), (bin_bus_handler):
4386         * gst/gstbin.h:
4387         Prepare to make current EOS message queue more generic.
4388         Fix some typos.
4389
4390         * gst/gstevent.c: (gst_event_new_newsegment),
4391         (gst_event_parse_newsegment):
4392         * gst/gstevent.h:
4393         Rename base to stream_time.
4394
4395         * gst/gstmessage.h:
4396         Fix typo in docs.
4397
4398 2005-10-11  Wim Taymans  <wim@fluendo.com>
4399
4400         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4401         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4402         (gst_bin_change_state_func), (bin_bus_handler):
4403         * gst/gstbin.h:
4404         Work on proper clock selection.
4405
4406 2005-10-11  Edward Hervey  <edward@fluendo.com>
4407
4408         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4409         * libs/gst/controller/gstcontroller.h:
4410         Added GList* version of _remove_properties() in order to be able to wrap
4411         it in bindings.
4412
4413 2005-10-11  Wim Taymans  <wim@fluendo.com>
4414
4415         * docs/design/part-states.txt:
4416         Some more docs.
4417
4418         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4419         (gst_bin_change_state_func), (bin_bus_handler):
4420         Doc updates. Don't distribute the same clock over and over again.
4421
4422         * gst/gstclock.c:
4423         * gst/gstclock.h:
4424         Doc updates.
4425
4426         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4427         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4428         (gst_pad_send_event):
4429         * gst/gstpad.h:
4430         Make probe emission threadsafe again.
4431         Register quarks and move _get_name() from utils.
4432         Doc updates.
4433
4434         * gst/gstpipeline.c: (gst_pipeline_class_init),
4435         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4436         Only redistribute the clock of it changed.
4437
4438         * gst/gstsystemclock.h:
4439         Doc updates. 
4440
4441         * gst/gstutils.c:
4442         * gst/gstutils.h:
4443         Moved the _flow_get_name() to GstPad.
4444
4445 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4446
4447         * check/gst-libs/gdp.c: (GST_START_TEST):
4448         * check/gst/gstcaps.c: (GST_START_TEST):
4449         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4450         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4451         (gst_dp_packet_from_caps):
4452           fix more valgrind warnings before turning up the heat
4453
4454 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4455
4456         * gst/parse/grammar.y:
4457           some cleanup before the hacking
4458
4459 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4460
4461         * gst/base/gstbasesrc.c: (gst_base_src_query):
4462           use conversions
4463         * gst/gstutils.c: (gst_guint64_to_gdouble),
4464         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4465         * gst/gstutils.h:
4466           externalize, basesrc uses it
4467           obviously the implementation needs testing
4468
4469 2005-10-10  Wim Taymans  <wim@fluendo.com>
4470
4471         * tests/sched/Makefile.am:
4472         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4473         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4474
4475 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4476
4477         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4478           apparently converting from guint64 to double is not implemented
4479           on MSVC
4480
4481 2005-10-10  Wim Taymans  <wim@fluendo.com>
4482
4483         * check/Makefile.am:
4484         * check/generic/states.c: (GST_START_TEST):
4485         * check/gst/gstbin.c: (GST_START_TEST):
4486         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4487         * check/states/sinks.c: (GST_START_TEST):
4488         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4489         (main):
4490         Check fixes, use API as stated in design docs, remove hacks.
4491
4492         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4493         (gst_base_sink_change_state):
4494         Catch stopping our task while we're shutting down.
4495
4496         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4497         (gst_bin_remove_func), (gst_bin_get_state_func),
4498         (gst_bin_recalc_state), (gst_bin_change_state_func),
4499         (bin_bus_handler):
4500         * gst/gstbin.h:
4501         * gst/gstelement.c: (gst_element_init),
4502         (gst_element_get_state_func), (gst_element_abort_state),
4503         (gst_element_commit_state), (gst_element_lost_state),
4504         (gst_element_set_state), (gst_element_change_state),
4505         (gst_element_change_state_func):
4506         * gst/gstelement.h:
4507         New state change algorithm (see #318116)
4508
4509         * gst/gstpipeline.c: (gst_pipeline_class_init),
4510         (gst_pipeline_init), (gst_pipeline_set_property),
4511         (gst_pipeline_get_property), (do_pipeline_seek),
4512         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4513         * gst/gstpipeline.h:
4514         Remove crude state change hacks.
4515
4516         * gst/gstutils.h:
4517         Remove crude hacks.
4518
4519         * tools/gst-launch.c: (main):
4520         Fixes for state change. Needs some more work to fully use the
4521         new stuff.
4522
4523 2005-10-10  Andy Wingo  <wingo@pobox.com>
4524
4525         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4526
4527         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4528         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4529         issue.
4530
4531 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4532
4533         * gst/gstiterator.c: (gst_iterator_new):
4534           Fix my previous commit: GTypes passed to gst_iterator_new()
4535           can be fundamental types.
4536
4537 2005-10-10  Wim Taymans  <wim@fluendo.com>
4538
4539         * gst/gstelement.c: (gst_element_iterate_pad_list),
4540         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4541         (gst_element_iterate_sink_pads):
4542         Use src/sink pads lists for the respective iterators instead
4543         of filtering.
4544
4545 2005-10-10  Andy Wingo  <wingo@pobox.com>
4546
4547         Merged in popt removal + GOption addition patch from Ronald, bug
4548         #169772.
4549
4550         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4551         GstElement macros around, remove popt-related symbols, add goption
4552         stuff.
4553
4554         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4555         
4556         * docs/gst/Makefile.am:
4557         * docs/libs/Makefile.am: No POPT_CFLAGS.
4558         
4559         * examples/manual/Makefile.am:
4560         * docs/manual/basics-init.xml: Doc updates with an example.
4561         
4562         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4563         (gst_init), (parse_one_option), (parse_goption_arg):
4564         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4565         bit of hand merging and debugging to get the GOption stuff working
4566         tho.
4567         
4568         * tests/Makefile.am:
4569         * tools/Makefile.am:
4570         * tools/gst-inspect.c: (main):
4571         * tools/gst-launch.c: (main):
4572         * tools/gst-run.c: (main):
4573         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4574
4575 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4576
4577         * gst/gstiterator.c: (gst_iterator_new):
4578           Add assertions to make sure passed GType is likely to really
4579           be a GType (as the compiler won't catch it if the size and
4580           GType arguments get mixed up, see #318447).
4581
4582 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4583
4584         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4585
4586         * gst/gstbin.c: (gst_bin_iterate_sorted):
4587           Pass GType and size arguments to gst_iterator_new() in the right
4588           order (maybe we should make _new() take the GType as first argument
4589           just like _new_list()?) (#318447).
4590           
4591
4592 2005-10-10  Wim Taymans  <wim@fluendo.com>
4593
4594         * gst/gstelement.c: (gst_element_finalize):
4595         And free the GStaticRecMutex too
4596
4597 2005-10-10  Andy Wingo  <wingo@pobox.com>
4598
4599         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4600         Allocate and free the mutex properly.
4601
4602         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4603         New macros.
4604         (GstElement): The state_lock is now recursive. Rebuild your
4605         plugins, suckers. Old macros adapted.
4606
4607         * docs/gst/gstreamer-sections.txt: Doc updates.
4608
4609         * gst/gstutils.h:
4610         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4611         (g_static_rec_cond_wait): Ported from state changes patch, while
4612         we wait on bug #317802 to be solved in a well-distributed GLib.
4613
4614         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4615         gst_element_change_state, variable name changes.
4616         (gst_element_change_state): Split out of gst_element_set_state in
4617         preparation for the state change merge. Doesn't pay attention to
4618         the 'transition' argument.
4619         (gst_element_set_state): Updates, hopefully purely cosmetic.
4620         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4621         state change patch.
4622         (gst_element_get_state_func): Renamed from get_state, cosmetic
4623         changes.
4624
4625 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4626
4627         * gst/elements/gstelements.c:
4628         * win32/GStreamer.vcproj:
4629         * win32/config.h:
4630         * win32/dirent.c: (_tseekdir):
4631         * win32/gst-inspect.vcproj:
4632         * win32/gst-launch.vcproj:
4633         * win32/gstconfig.h:
4634         * win32/gstelements.vcproj:
4635         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4636         * win32/gstreamer.def:
4637         * win32/msvc71.sln:
4638           updates for the win32 build (patch from Sebastien Moutte)
4639
4640 2005-10-10  Andy Wingo  <wingo@pobox.com>
4641
4642         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4643         gst_bin_get_state, cleaned up (but no logic changes).
4644         (bin_element_is_sink): Comment updates.
4645         (sink_iterator_filter): Remove needless cast.
4646         (gst_bin_iterate_sinks): Doc update.
4647         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4648         cleaned up (but no logic changes).
4649
4650         * check/states/sinks.c (test_src_sink): Cleanups from the state
4651         change patch.
4652         (test_livesrc_sink): Sync on the state.
4653
4654         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4655         the state change patch.
4656
4657         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4658         change patch.
4659
4660         * check/gst/gstbin.c: Merge in some style fixes and additional
4661         checks from Wim's state change patch.
4662
4663 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4664
4665         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4666         (gst_type_find_helper):
4667           Check whether we have the requested data already in our list of
4668           cached buffers before pulling a new buffer; also make the buffer
4669           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4670
4671 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4672
4673         * gst/gstcaps.c:
4674         * gst/gstevent.c:
4675           doc updates
4676         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4677           don't use long long, it's not portable.  Replacing with
4678           gint64 seems to work; let's hope no skeletons fall out of the closet.
4679
4680 2005-10-10  Andy Wingo  <wingo@pobox.com>
4681
4682         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4683
4684 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4685
4686         * docs/gst/gstreamer-sections.txt:
4687         * gst/gstevent.c:
4688         * gst/gstevent.h:
4689         * gst/gstinfo.c:
4690         * gst/gstinfo.h:
4691         * gst/gstmessage.c: (gst_message_parse_state_changed):
4692         * gst/gstpad.c:
4693         * gst/gstpad.h:
4694           more docs, fix compilation
4695
4696 2005-10-09  Philippe Khalaf <burger@speedy.org>
4697         * gst/gstmessage.c:
4698           Fixed a few forgotten variables on previous commit
4699
4700 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4701
4702         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4703           Fix evil typefind crasher: getrange() might return a short
4704           buffer at the end of a file, but gst_type_find_peek() must
4705           either return the full data as requested or NULL, but
4706           never a short buffer.
4707
4708 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4709
4710         * gst/gstmessage.c: (gst_message_new_state_changed),
4711         (gst_message_parse_state_changed):
4712         * gst/gstmessage.h:
4713           don't use "new", it's a C++ keyword
4714
4715 2005-10-08  Wim Taymans  <wim@fluendo.com>
4716
4717         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4718         * gst/gstelement.c: (gst_element_post_message):
4719         * gst/gstpipeline.c: (gst_pipeline_change_state):
4720         Small docs and debug updates.
4721
4722 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4723
4724         * docs/gst/gstreamer-sections.txt:
4725         * gst/gstelementfactory.c:
4726         * gst/gstevent.c:
4727         * gst/gsttaglist.c:
4728           more docs
4729
4730 2005-10-08  Wim Taymans  <wim@fluendo.com>
4731
4732         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4733         (gst_bin_dispose), (bin_bus_handler):
4734         Fix typos, add comments.
4735         Clear EOS list when going to PAUSED from any direction and do it
4736         in a threadsafe way.
4737         Get base time in a threadsafe way too.
4738         Fix confusing debug in the change_state function.
4739         Various other small cleanups.
4740         
4741         * gst/gstelement.c: (gst_element_post_message):
4742         Fix very verbose bus posting code.
4743
4744         * gst/gstpipeline.c: (gst_pipeline_class_init),
4745         (gst_pipeline_set_property), (gst_pipeline_get_property),
4746         (gst_pipeline_change_state):
4747         Small ARG_ -> PROP_ cleanup
4748
4749 2005-10-08  Wim Taymans  <wim@fluendo.com>
4750
4751         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4752         Do a less CPU demanding EOS check because we can.
4753
4754 2005-10-08  Wim Taymans  <wim@fluendo.com>
4755
4756         * libs/gst/dataprotocol/dataprotocol.c:
4757         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4758         (gst_dp_packet_from_event):
4759         * libs/gst/dataprotocol/dataprotocol.h:
4760         * libs/gst/dataprotocol/dp-private.h:
4761         It's about time we bump the version number.
4762         Since event types don't fit in the guint8 anymore describing
4763         the payload type, make payload type 16 bits wide.
4764
4765 2005-10-08  Wim Taymans  <wim@fluendo.com>
4766
4767         * docs/design/part-TODO.txt:
4768         * docs/design/part-clocks.txt:
4769         * docs/design/part-events.txt:
4770         * docs/design/part-gstbin.txt:
4771         * docs/design/part-gstelement.txt:
4772         * docs/design/part-gstpipeline.txt:
4773         * docs/design/part-live-source.txt:
4774         * docs/design/part-messages.txt:
4775         * docs/design/part-overview.txt:
4776         * docs/design/part-states.txt:
4777         Many doc updates.
4778
4779 2005-10-08  Wim Taymans  <wim@fluendo.com>
4780
4781         * gst/gstevent.c:
4782         * gst/gstevent.h:
4783         Fix event quark registration.
4784         Add some space between events so we can insert them in the
4785         right groups.
4786
4787 2005-10-08  Wim Taymans  <wim@fluendo.com>
4788
4789         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4790         (gst_base_sink_handle_buffer):
4791         Better log message.
4792
4793         * gst/gstbus.h:
4794         * gst/gstelement.h:
4795         More docs.
4796
4797         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4798         (gst_queue_set_property), (gst_queue_get_property):
4799         * gst/gstqueue.h:
4800         Remove old unused properties.
4801
4802 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4803         * docs/gst/gstreamer-sections.txt:
4804         * gst/gstmessage.c:
4805         * gst/gstmessage.h:
4806         * gst/gstminiobject.c:
4807         * gst/gstminiobject.h:
4808         * gst/gstobject.h:
4809         * gst/gstpad.h:
4810         * gst/gstutils.h:
4811           lots of new docs and doc fixes
4812
4813 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4814
4815         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4816         * gst/gstplugin.h:
4817         * gst/gstregistry.c: (gst_registry_lookup_locked),
4818         (gst_registry_scan_path_level):
4819         * gst/gstregistryxml.c: (load_plugin):
4820           Only ever load one plugin for a given plugin basename.
4821           This ensures correct overriding of GST_PLUGIN_PATH over
4822           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4823           system installed plugins.
4824
4825 2005-10-08  Wim Taymans  <wim@fluendo.com>
4826
4827         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4828         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4829         Prepare for doing QOS.
4830
4831 2005-10-08  Wim Taymans  <wim@fluendo.com>
4832
4833         * check/gst/gstbin.c: (GST_START_TEST):
4834         * check/pipelines/cleanup.c: (GST_START_TEST):
4835         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4836         Allow new clock message too.
4837
4838 2005-10-08  Wim Taymans  <wim@fluendo.com>
4839
4840         * gst/gstmessage.c: (gst_message_new_error),
4841         (gst_message_new_warning), (gst_message_new_tag),
4842         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4843         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4844         (gst_message_new_segment_start), (gst_message_new_segment_done),
4845         (gst_message_parse_state_changed),
4846         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4847         (gst_message_parse_new_clock):
4848         * gst/gstmessage.h:
4849         Also carry the clock in question.
4850
4851 2005-10-08  Wim Taymans  <wim@fluendo.com>
4852
4853         * gst/gstmessage.c: (gst_message_new_custom),
4854         (gst_message_new_eos), (gst_message_new_error),
4855         (gst_message_new_warning), (gst_message_new_tag),
4856         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4857         (gst_message_new_new_clock), (gst_message_new_segment_start),
4858         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4859         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4860         * gst/gstmessage.h:
4861         Clean up.
4862         Added clock related messages.
4863
4864         * gst/gstpipeline.c: (gst_pipeline_change_state):
4865         Post message when the clock changed.
4866
4867         * tools/gst-launch.c: (event_loop):
4868         Print new clock.
4869
4870 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4871
4872         * tools/gst-inspect.c: (print_element_properties_info):
4873           Can't pass NULL strings to g_print() on windows.
4874
4875 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4876
4877         * docs/Makefile.am:
4878         * docs/gst/Makefile.am:
4879         * docs/gst/gstreamer-docs.sgml:
4880         * docs/gst/running.xml:
4881         * docs/version.entities.in:
4882           add a chapter on running GStreamer.
4883           document GST_DEBUG and GST_PLUGIN* env vars
4884
4885 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4886
4887         * Makefile.am:
4888           remove include dir
4889         * configure.ac:
4890           remove PLUGINS_BUILDDIR stuff
4891         * gst/gst.c: (init_post):
4892           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4893         * idiottest.mak:
4894           remove, it was condescending and not needed
4895
4896 2005-10-08  Wim Taymans  <wim@fluendo.com>
4897
4898         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4899         (gst_base_sink_handle_object), (gst_base_sink_event),
4900         (gst_base_sink_wait), (gst_base_sink_handle_event),
4901         (gst_base_sink_change_state):
4902         * gst/base/gstbasesink.h:
4903         Repost EOS message while going to PLAYING if still EOS.
4904         Make sure that when receiving a FLUSH_START we don't attempt
4905         to sync on the clock anymore.
4906
4907 2005-10-08  Wim Taymans  <wim@fluendo.com>
4908
4909         * tools/gst-launch.c: (event_loop):
4910         Better message printout.
4911
4912 2005-10-08  Wim Taymans  <wim@fluendo.com>
4913
4914         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4915         (gst_bin_child_proxy_get_children_count):
4916         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4917         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4918         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4919         (gst_child_proxy_set_valist):
4920         * gst/parse/grammar.y:
4921         Make ChildProxy threadsafe and fix mem leaks.
4922
4923 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4924
4925         * gst/gst.c: (init_post):
4926           debug the GST_PLUGIN_ env vars
4927
4928 2005-10-08  Wim Taymans  <wim@fluendo.com>
4929
4930         * check/gst/gstbin.c: (GST_START_TEST):
4931         * check/gst/gstmessage.c: (GST_START_TEST):
4932         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4933         * gst/gstelement.c: (gst_element_commit_state),
4934         (gst_element_lost_state):
4935         * gst/gstmessage.c: (gst_message_new_state_changed),
4936         (gst_message_parse_state_changed):
4937         * gst/gstmessage.h:
4938         * tools/gst-launch.c: (event_loop):
4939         Added extra field to STATE_CHANGE message with the pending
4940         state, which will be different from the new state soon.
4941
4942 2005-10-08  Wim Taymans  <wim@fluendo.com>
4943
4944         * gst/gstbus.c: (gst_bus_pop):
4945         * gst/gstclock.c:
4946         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4947         Small cleanups and doc updates.
4948
4949 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4950
4951         * gst/gst.c: (init_pre):
4952         * gst/gstbin.c: (gst_bin_add_func):
4953           log distributing clocks and base time
4954         * gst/gstregistry.c: (gst_registry_add_plugin),
4955         (gst_registry_scan_path_level), (gst_registry_scan_path):
4956           clean up the debugging output a little
4957         * gst/gstutils.c: (gst_element_state_get_name):
4958           warn about a memleak (I've actually seen this be used, though
4959           it was probably a bug)
4960
4961 2005-10-07  Wim Taymans  <wim@fluendo.com>
4962
4963         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4964         (gst_base_src_init), (gst_base_src_default_newsegment),
4965         (gst_base_src_newsegment), (gst_base_src_do_seek),
4966         (gst_base_src_loop), (gst_base_src_start):
4967         * gst/base/gstbasesrc.h:
4968         Make the newsegment event customizable by subclasses.
4969
4970 2005-10-07  Wim Taymans  <wim@fluendo.com>
4971
4972         * gst/gstevent.c: (gst_event_new_buffersize),
4973         (gst_event_parse_buffersize):
4974         * gst/gstevent.h:
4975         New event for future idea.
4976
4977 2005-10-07  Andy Wingo  <wingo@pobox.com>
4978
4979         * gst/gstelement.c (gst_element_post_message): Doc update.
4980
4981         * docs/gst/gstreamer-sections.txt: Update.
4982
4983         * gst/gstmessage.c (gst_message_new_application): Made into a
4984         function like honest API calls.
4985         (gst_message_new_element): New message type.
4986
4987         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4988
4989         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4990         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4991         times.
4992
4993         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4994         NO_PREROLL from gst_element_change_state to fall through.
4995
4996 2005-10-07  Wim Taymans  <wim@fluendo.com>
4997
4998         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4999         (gst_ghost_pad_do_activate_push):
5000         Activating a ghostpad with no internal pad in push mode
5001         is ok.
5002
5003 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5004
5005         * gst/gstobject.h:
5006           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5007           Fixes compilation on Windows.
5008
5009 2005-10-07  Michael Smith <msmith@fluendo.com>
5010
5011         * tools/gst-inspect.c:
5012           Print out feature and plugin count at the end when printing out
5013           all features.
5014
5015 2005-10-04  Michael Smith <msmith@fluendo.com>
5016
5017         * gst/gsterror.c: (_gst_stream_errors_init):
5018           Add another error string used in a few existing plugins.
5019
5020         * gst/gstplugin.c:
5021         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5022         * tools/gst-inspect.c: (print_element_info):
5023           When a feature disappears from a plugin (and the feature exists in
5024           the cached registry file), things went horribly wrong. This isn't a
5025           complete fix, we should actually be removing the 'missing' features
5026           from the features list when we load the actual plugin. That's not
5027           yet implemented. 
5028
5029 2005-10-04  Johan Dahlin  <johan@gnome.org>
5030
5031         * check/gst/gstiterator.c: (GST_START_TEST):
5032         * gst/gstbin.c: (gst_bin_iterate_elements),
5033         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5034         * gst/gstelement.c: (gst_element_iterate_pads):
5035         * gst/gstformat.c: (gst_format_iterate_definitions):
5036         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5037         (gst_iterator_new_list), (gst_iterator_filter):
5038         * gst/gstiterator.h:
5039         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5040         Add a GType to GstIterator, update callsites and tests.
5041
5042 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5043
5044         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5045           give events a chance to be handled by event probes when the pad
5046           is not linked
5047
5048 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5049
5050         * gst/gstevent.c: (gst_event_type_get_name),
5051         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5052         * gst/gstevent.h:
5053           add string representations for event types
5054
5055 2005-10-06  Wim Taymans  <wim@fluendo.com>
5056
5057         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5058         Don't use NULL pointers.
5059
5060 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5061
5062         * gst/gst_private.h:
5063         * gst/gstbus.c:
5064         * gst/gstelement.c:
5065         * gst/gstinfo.c:
5066         * gst/gstpluginfeature.c:
5067           widen the debug category in output to fit the biggest one we have
5068           add a bus category and use it
5069           play with the colors
5070           fix up some categories
5071
5072 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5073
5074         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5075           add push activation of sink ghost pads.
5076           Andye, please verify
5077
5078 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5079
5080         * gst/gstutils.c: (gst_element_link_pads):
5081           fix a bug in the case where neither element has a pad
5082         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5083           add a test for that case
5084
5085 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5086
5087         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5088           emit have-data before checking for peers.  This allows
5089           for probe handlers to connect elements.  This helps autopluggers.
5090         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5091         (gst_pad_suite):
5092           add six checks, linked/unlinked with no/true/false probe
5093
5094 2005-10-04  Wim Taymans  <wim@fluendo.com>
5095
5096         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5097         (gst_fake_sink_event), (gst_fake_sink_preroll),
5098         (gst_fake_sink_render), (gst_fake_sink_change_state):
5099         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5100         (gst_fake_src_get_property), (gst_fake_src_create),
5101         (gst_fake_src_stop):
5102         * gst/elements/gstidentity.c: (gst_identity_stop):
5103         Protect last_message with lock.
5104
5105 2005-10-04  Edward Hervey  <edward@fluendo.com>
5106
5107         * gst/gstformat.h: 
5108         Added precision in the comments for GST_FORMAT_DEFAULT
5109
5110 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5111
5112         * tools/gst-launch.c: (main):
5113           Don't try to run erroneous pipelines.
5114
5115 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5116
5117         * gst/gstbus.c: We don't need this header.
5118
5119 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5120
5121         * configure.ac:
5122           back to development
5123
5124 === release 0.9.3 ===
5125
5126 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5127
5128         * README:
5129         * configure.ac:
5130           Releasing 0.9.3, "Unregistered"
5131
5132 2005-10-03  Andy Wingo  <wingo@pobox.com>
5133
5134         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5135         whereby calling a pad's activatepush() function can start a thread
5136         that starts to push or pull before the pad gets the FLUSHING flag
5137         unset. Hack around it by holding the stream lock until the flag is
5138         set. Need to replace this with a proper solution. Together with
5139         the ghost pad fixes, this fixes mp3 playing/tagreading.
5140
5141         * docs/design/part-gstghostpad.txt: Add a note about activation of
5142         proxy pads outside of ghost pads.
5143
5144         * gst/gstghostpad.c: Implement the ghost pad activation design.
5145
5146 2005-10-02  Andy Wingo  <wingo@pobox.com>
5147
5148         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5149         It is volatile, after all.
5150
5151         * docs/design/part-gstghostpad.txt: Flesh out activation with
5152         ghost pads.
5153
5154         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5155         GST_DEBUG_FUNCPTR.
5156
5157 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5158
5159         * configure.ac:
5160           Fix (unused) AM_CONDITIONAL tests.
5161
5162 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5163
5164         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5165
5166         * gst/gstutils.c: (gst_pad_query_convert):
5167           Add assertion that makes sure src_val is >=0, just like
5168           gst_query_new_convert() has. (#315895)
5169
5170 2005-09-30  Edward Hervey  <edward@fluendo.com>
5171
5172         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5173         Let's not iterate pads we're not interested in, it avoids getting 
5174         sky-high refcounts on sinkpad.
5175
5176 2005-09-30  Wim Taymans  <wim@fluendo.com>
5177
5178         * gst/gstelement.c: (gst_element_set_state),
5179         (gst_element_change_state):
5180         Small tweak, element in ASYNC remains ASYNC.
5181
5182 2005-09-30  Wim Taymans  <wim@fluendo.com>
5183
5184         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5185         Only error is an error.
5186
5187         * gst/gstbin.c: (gst_bin_change_state):
5188         Better debugging.
5189
5190         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5191         Also call pad_block in pad alloc.
5192
5193         * gst/gstutils.c: (gst_flow_get_name):
5194         Better debugging.
5195
5196 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5197
5198         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5199         (gst_base_src_get_range):
5200           Fix documentation typos. Add some more debug info.
5201
5202 2005-09-29  David Schleef  <ds@schleef.org>
5203
5204         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5205           more end-user friendly.
5206         * tools/gst-inspect.c: (main): Check if command-line argument is
5207           a file and attempt to load that file as a plugin.
5208
5209 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5210
5211         * check/gst/gstbin.c:
5212         * check/states/sinks.c:
5213           fix tests for the new warning
5214         * check/gst/gstpipeline.c:
5215           add a test for pipeline and bus interaction
5216         * gst/gstelement.c:
5217           elements should be NULL if they get disposed; add a warning if not
5218
5219 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5220
5221         * gst/gstobject.c:
5222           for 2.6 refcounting, make debug log more correct by printing
5223           the actual refcounts at the time of swap (Wim)
5224
5225 2005-09-29  Andy Wingo  <wingo@pobox.com>
5226
5227         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5228         removes signal watches previously added via
5229         gst_bus_add_signal_watch.
5230         (gst_bus_add_signal_watch): Don't return the source id, just store
5231         it on the bus if there wasn't an id already.
5232
5233         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5234         add_signal_watch and remove_signal_watch.
5235
5236 2005-09-29  Edward Hervey  <edward@fluendo.com>
5237
5238         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5239         Better if we actually iterate the list :)
5240
5241 2005-09-29  Wim Taymans  <wim@fluendo.com>
5242
5243         * check/gst/gstbin.c: (GST_START_TEST):
5244         Change for new bus API.
5245
5246         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5247         (send_messages), (GST_START_TEST), (gstbus_suite):
5248         Change for new bus signal API.
5249
5250         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5251         (gst_bus_source_prepare), (gst_bus_source_check),
5252         (gst_bus_create_watch), (gst_bus_add_watch_full),
5253         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5254         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5255         * gst/gstbus.h:
5256         Remove support for multiple GSources operating on different
5257         message types as it is too complex and unneeded when using
5258         signals.
5259         Added support for receiving signals from the bus.
5260
5261 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5262
5263         * docs/libs/tmpl/gstdataprotocol.sgml:
5264         * docs/manual/advanced-dataaccess.xml:
5265         * gst/elements/gstcapsfilter.c:
5266         * gst/gstutils.c:
5267           rename filter-caps to caps property
5268
5269 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5270
5271         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5272           More robust fraction string parsing.
5273
5274         * docs/pwg/appendix-porting.xml:
5275           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5276
5277 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5278
5279         * gst/gstcaps.c: (gst_caps_do_simplify):
5280           Thou shalt not free a structure and then continue using it
5281           in the next loop iteration.
5282
5283         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5284         (gst_caps_suite):
5285           Add test case for caps simplification.
5286
5287 2005-09-29  Wim Taymans  <wim@fluendo.com>
5288
5289         * check/gst/gstbin.c: (GST_START_TEST):
5290         Oops.
5291
5292 2005-09-29  Wim Taymans  <wim@fluendo.com>
5293
5294         * check/gst/gstbin.c: (GST_START_TEST):
5295         Add bus to bin.
5296
5297         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5298         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5299         (find_element), (gst_bin_sort_iterator_next),
5300         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5301         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5302         (gst_bin_change_state), (gst_bin_dispose):
5303         A bin does not have a bus, it gets the bus from the parent.
5304
5305         * gst/gstelement.c: (gst_element_requires_clock),
5306         (gst_element_provides_clock), (gst_element_is_indexable),
5307         (gst_element_is_locked_state), (gst_element_change_state),
5308         (gst_element_set_bus_func):
5309         Small cleanups.
5310
5311         * gst/gstpipeline.c: (gst_pipeline_class_init),
5312         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5313         The pipeline provides a bus.
5314
5315 2005-09-28  Johan Dahlin  <johan@gnome.org>
5316
5317         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5318         gst_structure_get_enum instead of gst_structure_get_int
5319
5320         * gst/gststructure.c (gst_structure_get_enum): Impl.
5321
5322         * gst/gststructure.h (gst_structure_get_enum): Add
5323
5324         * docs/gst/gstreamer-sections.txt: Ditto
5325
5326         * gst/gstmessage.c (gst_message_new_state_changed): Use
5327         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5328         which does introspection.
5329         Reviewed by Christian Schaller
5330
5331 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5332
5333         * gst/gstinfo.c: (gst_debug_log_default):
5334           don't do dummy g_strdup()s
5335         * libs/gst/controller/gstcontroller.c:
5336         (on_object_controlled_property_changed),
5337         (gst_controlled_property_new), (gst_controller_new_valist),
5338         (gst_controller_new_list),
5339         (gst_controller_remove_properties_valist), (gst_controller_set),
5340         (gst_controller_get), (gst_controller_sync_values),
5341         (gst_controller_get_value_array), (_gst_controller_class_init),
5342         (gst_controller_get_type):
5343         * libs/gst/controller/gstcontroller.h:
5344         * libs/gst/controller/gstinterpolation.c:
5345         (gst_controlled_property_find_timed_value_node):
5346           convert // to /**/ comments
5347
5348 2005-09-28  Wim Taymans  <wim@fluendo.com>
5349
5350         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5351         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5352         (gst_bus_sync_signal_handler):
5353         * gst/gstbus.h:
5354         Added async-message and sync-message signals to the bus.
5355         Added helper BusFunc to emit signals for all posted messages.
5356
5357         * gst/gstmessage.c: (gst_message_type_get_name),
5358         (gst_message_type_to_quark), (gst_message_get_type):
5359         * gst/gstmessage.h:
5360         Register quarks for message names.
5361
5362 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5363
5364         * docs/libs/gstreamer-libs-sections.txt:
5365         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5366         (gst_controller_new_list):
5367         * libs/gst/controller/gstcontroller.h:
5368           added another constructor for language bindings
5369
5370 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5371
5372         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5373           add another check
5374         * gst/gstbus.c:
5375           add some doc
5376         * gst/gstinfo.c: (_gst_debug_init):
5377           slightly more readable color for refcount debugging
5378
5379 2005-09-28  Wim Taymans  <wim@fluendo.com>
5380
5381         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5382         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5383         (find_element), (gst_bin_sort_iterator_next),
5384         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5385         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5386         (gst_bin_change_state), (gst_bin_dispose):
5387         Small doc fixes. get_clock -> provide_clock.
5388
5389         * gst/gstelement.c: (gst_element_class_init),
5390         (gst_element_provides_clock), (gst_element_provide_clock),
5391         (gst_element_get_clock), (gst_element_commit_state),
5392         (gst_element_lost_state):
5393         * gst/gstelement.h:
5394         Make get/set_clock() symetric. Add provide_clock vmethod since
5395         that is actually what this function does.
5396
5397         * gst/gstpipeline.c: (gst_pipeline_class_init),
5398         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5399         (gst_pipeline_get_clock):
5400         get_clock -> provide_clock.
5401
5402 2005-09-28  Andy Wingo  <wingo@pobox.com>
5403
5404         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5405         lieu of real docs...
5406
5407         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5408
5409 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5410
5411         * gst/elements/gstcapsfilter.c:
5412         * gst/elements/gstfakesink.c:
5413         * gst/elements/gstfakesrc.c:
5414         * gst/elements/gstfdsink.c:
5415         * gst/elements/gstfdsrc.c:
5416         * gst/elements/gstfilesink.c:
5417         * gst/elements/gstfilesrc.c:
5418         * gst/elements/gstidentity.c:
5419         * gst/elements/gsttee.c:
5420         * gst/elements/gsttypefindelement.c:
5421           Make element details static.
5422
5423 2005-09-28  Wim Taymans  <wim@fluendo.com>
5424
5425         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5426         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5427         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5428         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5429         (gst_bin_change_state), (gst_bin_dispose):
5430         Some documentation updates.
5431         Clean up dispose handlers.
5432
5433         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5434         * gst/gstpad.c: (gst_pad_dispose):
5435         Clean up dispose handler.
5436
5437         * gst/gstpipeline.c: (gst_pipeline_change_state):
5438         Removed spurious UNLOCK.
5439
5440 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5441
5442         * docs/gst/gstreamer-sections.txt:
5443         * gst/base/gstbasesrc.h:
5444         * gst/gstelement.h:
5445         * gst/gstevent.h:
5446         * gst/gstobject.h:
5447         * gst/gstpad.h:
5448         * gst/gstpipeline.c:
5449         * gst/gstpipeline.h:
5450         * gst/gstutils.h:
5451         * gst/gstxml.h:
5452           added two new functions to the docs
5453                 documents all undocumented GstXXXFlags
5454                 completed some incomplete docs 
5455
5456 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5457
5458         * gst/gstbin.c: (gst_bin_dispose):
5459         * gst/gstelement.c: (gst_element_dispose):
5460           remove now useless and leaky resurrection code in dispose
5461         * gst/base/gstbasesrc.c: (gst_base_src_init):
5462         * gst/gstelementfactory.c: (gst_element_factory_create):
5463         * gst/gstobject.c: (gst_object_set_parent):
5464           add some debugging
5465
5466 2005-09-27  Wim Taymans  <wim@fluendo.com>
5467
5468         * docs/design/part-TODO.txt:
5469         Update TODO.
5470
5471         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5472         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5473         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5474         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5475         (gst_bin_change_state):
5476         * gst/gstelement.h:
5477         Remove element variable, we keep element info in the iterator now.
5478
5479 2005-09-27  Andy Wingo  <wingo@pobox.com>
5480
5481         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5482         values.
5483
5484 2005-09-27  Wim Taymans  <wim@fluendo.com>
5485
5486         * check/gst/gstbin.c: (GST_START_TEST):
5487         Enable check that works now.
5488
5489         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5490         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5491         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5492         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5493         (gst_bin_change_state):
5494         * gst/gstbin.h:
5495         Redid the state change algorithm using a topological sort algo.
5496         Handles all cases correctly.
5497         Exposed iterator for state change order.
5498
5499         * gst/gstelement.h:
5500         Temp storage for state changes. Need to get rid of this soon.
5501
5502 2005-09-27  Wim Taymans  <wim@fluendo.com>
5503
5504         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5505         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5506         (link_fold_func), (gst_pad_proxy_setcaps):
5507         Leak fixes, the fold functions need to unref the passed object and
5508         _get_parent_*() returns ref to parent.
5509
5510 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5511
5512         * check/gst/gstbuffer.c: (test_make_writable):
5513           Plug leak in test case and fix 'make check-valgrind'
5514
5515 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5516
5517         * gst/gstbuffer.c: (gst_subbuffer_init):
5518           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5519           works correctly in all circumstances (we could have just copied
5520           the parent buffer's readonly flag, but conceptually it seems
5521           cleaner to mark all subbuffers as read-only). (based on patch
5522           by Alessandro Decina, #314710).
5523         
5524         * check/gst/gstbuffer.c: (create_read_only_buffer),
5525         (test_make_writable), (test_subbuffer_make_writable),
5526         (gst_test_suite):
5527           Add some tests for gst_buffer_make_writable().
5528
5529 2005-09-27  Wim Taymans  <wim@fluendo.com>
5530
5531         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5532         use gst_object_has_ancestor().
5533
5534         * gst/gstobject.c: (gst_object_has_ancestor):
5535         * gst/gstobject.h:
5536         gst_object_has_ancestor() copied from gstbin.c as it is a
5537         usefull function.
5538
5539         * tests/instantiate/create.c: (create_all_elements):
5540         * tests/lat.c: (handoff_src), (handoff_sink):
5541         * tests/sched/runxml.c: (main):
5542         * tests/seeking/seeking1.c: (main):
5543         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5544         (main):
5545         Fix compilation of some tests.
5546
5547 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5548
5549         * gst/gsterror.h:
5550           Remove comment. GST_TYPE_G_ERROR is here to stay,
5551           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5552           (#316961, #300610).
5553
5554 2005-09-26  Wim Taymans  <wim@fluendo.com>
5555
5556         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5557         Added check that shows error in state change order.
5558
5559 2005-09-26  Wim Taymans  <wim@fluendo.com>
5560
5561         * gst/gstbin.c: (gst_bin_change_state):
5562         Make state change function use 3 queues again, we were
5563         adding elements in the wrong order.
5564
5565         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5566         Some debug info,
5567
5568         * gst/gstpad.c: (gst_pad_dispose):
5569         Added some debug info first.
5570
5571 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5572
5573         * docs/design/draft-push-pull.txt:
5574         * docs/design/part-events.txt:
5575         * docs/design/part-overview.txt:
5576         * docs/design/part-scheduling.txt:
5577           Replace all _pull_region() with _pull_range()
5578           
5579 2005-09-26  Andy Wingo  <wingo@pobox.com>
5580
5581         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5582
5583         * check/gst-libs/controller.c: Update for controller api change.
5584
5585         * configure.ac: 
5586         * tests/Makefile.am:
5587         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5588         over by GLib bug 118439.
5589         
5590         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5591         routines to a function.
5592
5593         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5594
5595         * libs/gst/controller/gsthelper.c:
5596         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5597         (gst_object_sync_values): Renamed from sink_values. Ugh.
5598
5599         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5600
5601         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5602         Renamed from controller_key, as it is exported.
5603
5604         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5605
5606 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5607
5608         * gst/Makefile.am:
5609         * gst/gst.h:
5610         * gst/gstpad.h:
5611         * gst/gstpadtemplate.h:
5612         * gst/gstquery.c:
5613         * gst/gstquery.h:
5614         * gst/gstqueryutils.c:
5615         * gst/gstqueryutils.h:
5616           remove queryutils headers after moving the two used functions
5617           to gstquery.  also fixes build problem for gstsiddec
5618
5619 2005-09-26  Michael Smith <msmith@fluendo.com>
5620
5621         * tools/gst-launch.1.in:
5622         Correct documentation in manpage of debug syntax
5623
5624 2005-09-26  Wim Taymans  <wim@fluendo.com>
5625
5626         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5627         (gst_base_src_is_seekable), (gst_base_src_change_state):
5628         Some more debugging info.
5629
5630 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5631
5632         * docs/gst/gstreamer-sections.txt:
5633         * gst/base/gstbasetransform.h:
5634         * gst/gstindex.h:
5635           added more docs
5636
5637 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5638
5639         * docs/gst/.cvsignore:
5640         * docs/gst/tmpl/.cvsignore:
5641         * docs/gst/tmpl/gstpipeline.sgml:
5642         * docs/gst/tmpl/gstplugin.sgml:
5643         * gst/gstpipeline.c:
5644         * gst/gstplugin.c:
5645         * gst/gstplugin.h:
5646           inlined the last two docs files
5647           removed the tmpl directory from cvs (no more conflicts here!)
5648
5649 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5650
5651         * docs/gst/gstreamer-sections.txt:
5652         * docs/gst/tmpl/.cvsignore:
5653         * docs/gst/tmpl/gstpad.sgml:
5654         * docs/gst/tmpl/gstpadtemplate.sgml:
5655         * gst/Makefile.am:
5656         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5657         (gst_pad_finalize), (gst_pad_set_pad_template):
5658         * gst/gstpad.h:
5659         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5660         (gst_pad_template_class_init), (gst_pad_template_init),
5661         (gst_pad_template_dispose), (name_is_valid),
5662         (gst_static_pad_template_get), (gst_pad_template_new),
5663         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5664         (gst_pad_template_pad_created):
5665         * gst/gstpadtemplate.h:
5666           inlined two more docs
5667           factored gstpadtemplate out of gstpad
5668
5669 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5670
5671         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5672         (test_children_state_change_order_semi_sink):
5673           Fix test case: we can't rely on a fixed state change order when
5674           going from READY => PAUSED because the sink might commit its 
5675           new state first when the first buffer created by the source 
5676           reaches the sink before the source has finished its change state.
5677           (Test case still fails at times, see #316856, comment 5 onwards)
5678
5679 2005-09-24  Wim Taymans  <wim@fluendo.com>
5680
5681         * docs/design/part-events.txt:
5682         * docs/design/part-gstbus.txt:
5683         * docs/design/part-gstpipeline.txt:
5684         * docs/design/part-messages.txt:
5685         * docs/design/part-overview.txt:
5686         * docs/design/part-segments.txt:
5687         * gst/gstbin.c:
5688         * gst/gstbuffer.c:
5689         * gst/gstclock.c:
5690         * gst/gstelement.c:
5691         * gst/gstevent.c:
5692         * gst/gstfilter.c:
5693         * gst/gstiterator.c:
5694         Various documentation updates.
5695
5696 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5697
5698         * gst/gstclock.h:
5699           Well, that's embarassing.  Luckily we weren't using
5700           GST_CLOCK_DIFF anywhere.
5701
5702 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5703
5704         * common/gtk-doc.mak:
5705           don't fail on building XML, FC4 slave shows a bunch of doc
5706           missing bits that I don't get
5707         * gst/gstpad.c:
5708         * gst/gstpipeline.c:
5709         * gst/gststructure.c:
5710           some doc updates
5711
5712 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5713
5714         * docs/design/part-gstbin.txt:
5715         * docs/design/part-gstbus.txt:
5716         * gst/gstbus.c:
5717           Add blurb about how the bus goes into flushing mode and
5718           drops all messages when its bin goes from READY into NULL 
5719           state.
5720
5721 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5722
5723         * docs/gst/gstreamer-sections.txt:
5724         * gst/gststructure.c: (gst_structure_get_clock_time):
5725         * gst/gststructure.h:
5726           add a method to get a GstClockTime out of a structure
5727
5728 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5729
5730         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5731         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5732           Added test to check state change order in bins (can still be made
5733           to fail here under heavy disk load; bails out with 'Push on pad
5734           fakesink:sink0, but it was not activated in push mode').
5735
5736         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5737           Fix state change order when there is only a semi sink (#316856)
5738
5739         * gst/gstbus.c: (gst_bus_class_init):
5740           Use _class_peek_parent(), not _class_ref(); fix docs to say
5741           'default main context' instead of 'mainloop' where that is
5742           what's meant.
5743
5744         * gst/gstelement.c: (gst_element_commit_state),
5745         (gst_element_set_state):
5746           Fix typos in debug messages
5747
5748 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5749
5750         * docs/README:
5751         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5752         * gst/gstpluginfeature.c:
5753         * gst/gstutils.c:
5754           various doc updates
5755         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5756           change an assert into an error until it gets fixed properly
5757
5758 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5759
5760         * docs/gst/gstreamer-sections.txt:
5761         * docs/gst/tmpl/.cvsignore:
5762         * docs/gst/tmpl/gstelement.sgml:
5763         * docs/gst/tmpl/gstinfo.sgml:
5764         * docs/gst/tmpl/gstobject.sgml:
5765         * gst/gstelement.c:
5766         * gst/gstelement.h:
5767         * gst/gstinfo.c:
5768         * gst/gstinfo.h:
5769         * gst/gstobject.c: (gst_object_class_init):
5770         * gst/gstobject.h:
5771           inlined 3 more biiiig doc files and added some missing docs on the fly
5772
5773 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5774
5775         * check/gst/.cvsignore:
5776         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5777         * gst/gstregistryxml.c: (load_plugin),
5778         (gst_registry_xml_save_plugin):
5779           put back source in registry.  add checks for find_plugin.
5780         * testsuite/states/bin.c: (assert_state), (empty_bin),
5781         (test_adding_one_element), (main):
5782         * testsuite/states/locked.c: (main):
5783           some compile/run fixes
5784
5785 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5786
5787         * check/gst/gstvalue.c: (GST_START_TEST):
5788           fix leaks in the test itself
5789
5790 2005-09-22  Wim Taymans  <wim@fluendo.com>
5791
5792         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5793         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5794         (gst_base_sink_query):
5795         Prepare for more accurate position reporting and query
5796         handling.
5797
5798         * gst/gstelement.c: (gst_element_send_event),
5799         (gst_element_set_state):
5800         Add some comment.
5801
5802 2005-09-22  Wim Taymans  <wim@fluendo.com>
5803
5804         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5805         (gst_query_parse_segment):
5806         * gst/gstquery.h:
5807         More documentation.
5808         Add segment query for future use.
5809
5810 2005-09-22  Wim Taymans  <wim@fluendo.com>
5811
5812         * gst/gstbin.c: (gst_bin_add_func):
5813         Some more debug info.
5814
5815         * gst/gstelement.c: (gst_element_send_event):
5816         Simplify send_event
5817
5818         * gst/gstelement.h:
5819         Don't know how flags got broken.
5820
5821         * gst/gstquery.h:
5822         Added new query.
5823
5824 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5825
5826         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5827           Add simplistic test suite for GST_TYPE_DATE serialisation and
5828           deserialisation.
5829
5830 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5831
5832         * docs/gst/gstreamer-sections.txt:
5833         * gst/gststructure.c: (gst_structure_set_valist),
5834         (gst_structure_get_date):
5835         * gst/gststructure.h:
5836         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5837         (gst_date_copy), (gst_value_compare_date),
5838         (gst_value_serialize_date), (gst_value_deserialize_date),
5839         (gst_value_transform_date_string),
5840         (gst_value_transform_string_date), (_gst_value_initialize):
5841         * gst/gstvalue.h:
5842           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5843           bunch of utility functions along with a hack that checks that
5844           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5845           is required. Part of the grand scheme in #170777.
5846
5847 2005-09-22  Andy Wingo  <wingo@pobox.com>
5848
5849         * gst/gstconfig.h.in: Psych out gtk-doc.
5850
5851         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5852
5853         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5854
5855         * tools/gst-inspect.c (print_element_list): Plug some
5856         inconsequential leaks.
5857
5858         * gst/gstregistry.c (gst_registry_get_default): Doc.
5859
5860         * check/gst/gstplugin.c: 
5861         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5862         * gst/gstelementfactory.c (gst_element_factory_create): 
5863         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5864         refcount changes.
5865
5866         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5867         (gst_plugin_feature_load): Doc, don't eat refs.
5868
5869         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5870         (gst_plugin_list_free): Doc.
5871         (gst_plugin_load_file): Doc updates.
5872
5873         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5874         accessors returning refcounted objects, return a ref.
5875
5876         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5877         accessor for caps. IDEMPOTENCE. Oh yes.
5878
5879 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5880
5881         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5882
5883         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5884         (_gst_debug_register_funcptr):
5885           Add mutex to serialise access to the hash table with
5886           the function pointer => function name string mapping;
5887           make that hash table static scope (#316809).
5888
5889         * gst/registries/.cvsignore:
5890           Remove left-over file.
5891
5892 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5893
5894         * docs/pwg/appendix-porting.xml:
5895           And something about newsegment events and caps-on-buffers to
5896           the porting guide (feel free to improve).
5897
5898 2005-09-21  Andy Wingo  <wingo@pobox.com>
5899
5900         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5901         data and event probes on the same pad.
5902         (test_buffer_probe_once): Test that removing probes from within
5903         the probe functions works.
5904
5905 2005-09-21  Andy Wingo  <wingo@pobox.com>
5906
5907         * check/gst/gstutils.c: New file.
5908         (test_buffer_probe_n_times): A simple buffer probe test. More to
5909         come, foolios.
5910
5911         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5912         have-data::buffer, not have-data.
5913         (gst_pad_add_event_probe): Likewise for have-data::event.
5914         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5915         peer' isn't quite right yet though.
5916         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5917         (gst_pad_remove_data_probe): Change to take the guint handler_id
5918         as their arg, not the function+data, which is more glib-like.
5919
5920         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5921         the signal emission to indicate if the data is a buffer or an
5922         event.
5923         (gst_pad_get_type): Initialize buffer and event quarks.
5924         (gst_pad_class_init): have-data is now a detailed signal, yes it
5925         is.
5926
5927 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5928
5929         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5930         * gst/gstutils.c: (gst_util_set_value_from_string),
5931         (gst_util_set_object_arg):
5932           Don't put functional code in g_return_if_fail() or
5933           g_return_val_if_fail() statements, otherwise things will 
5934           break when G_DISABLE_CHECKS is defined during compilation.
5935
5936 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5937
5938         * docs/gst/tmpl/.cvsignore:
5939         * docs/gst/tmpl/gstvalue.sgml:
5940         * gst/gstvalue.c:
5941         * gst/gstvalue.h:
5942           inlied another one and added  some obvious docs
5943
5944 2005-09-21  Wim Taymans  <wim@fluendo.com>
5945
5946         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5947         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5948         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5949         (gst_fdsrc_get_property), (gst_fdsrc_create):
5950         * gst/elements/gstfdsrc.h:
5951         Properly implement fdsrc. Removed signal and timeout,
5952         better implemented somewhere else.
5953
5954 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5955
5956         * docs/gst/tmpl/.cvsignore:
5957         * docs/gst/tmpl/gstimplementsinterface.sgml:
5958         * gst/gstinterface.c:
5959           inlined more docs
5960
5961 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5962
5963         * docs/gst/gstreamer-sections.txt:
5964         * docs/gst/tmpl/.cvsignore:
5965         * docs/gst/tmpl/gstenumtypes.sgml:
5966           remove obsolete doc file
5967
5968 2005-09-21  David Schleef  <ds@schleef.org>
5969
5970         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5971         little beer, fix a little leak.
5972
5973 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5974
5975         * docs/gst/gstreamer-docs.sgml:
5976         * docs/gst/gstreamer-sections.txt:
5977         * docs/gst/tmpl/.cvsignore:
5978         * gst/Makefile.am:
5979         * gst/gst.h:
5980         * gst/gstbin.c:
5981         * gst/gstelement.h:
5982         * gst/gstindex.c: (gst_index_class_init):
5983         * gst/gstindex.h:
5984         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5985         (gst_index_factory_class_init), (gst_index_factory_init),
5986         (gst_index_factory_finalize), (gst_index_factory_new),
5987         (gst_index_factory_destroy), (gst_index_factory_find),
5988         (gst_index_factory_create), (gst_index_factory_make):
5989         * gst/gstindexfactory.h:
5990         * gst/gstpluginfeature.c:
5991         * gst/gstpluginfeature.h:
5992         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5993           more docs inlined, splitted gstindex.{c,h}
5994
5995 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5996
5997         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5998           fix a leak
5999
6000 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6001
6002         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6003           Set sync to FALSE by default.
6004
6005 2005-09-20  Wim Taymans  <wim@fluendo.com>
6006
6007         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6008         (gst_base_sink_init):
6009         Make sync property settable from subclass.
6010
6011         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6012         (gst_fake_sink_change_state):
6013         Set sync to FALSE by default.
6014
6015 2005-09-20  Wim Taymans  <wim@fluendo.com>
6016
6017         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6018         * tools/gst-launch.c: (main):
6019         The timeout handler should have lower priority than the source
6020         so we don't timeout before popping a message with 0 timeout.
6021         Dump error messages after failed state change.
6022
6023 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6024
6025         * tools/gst-inspect.c: (print_element_properties_info):
6026           Fix two typos.
6027
6028 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6029
6030         * check/gst/gstevent.c:
6031         * gst/elements/gstfakesink.c:
6032         * gst/elements/gstfakesink.h:
6033           remove the sync property from fakesink.
6034           has the side effect of setting sync TRUE
6035           for fakesink, which is a change.  Anyone who knows how
6036           to fix this nicely in a GObject-y way, feel free.
6037
6038 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6039
6040         * docs/gst/gstreamer-docs.sgml:
6041           remove probe refsection
6042
6043 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6044
6045         * check/Makefile.am:
6046           disable valgrinding the controller test again
6047         * docs/gst/gstreamer-sections.txt:
6048           update for api-changes
6049
6050 2005-09-20  Wim Taymans  <wim@fluendo.com>
6051
6052         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6053         (gst_base_sink_set_property), (gst_base_sink_get_property),
6054         (gst_base_sink_do_sync):
6055         * gst/base/gstbasesink.h:
6056         Added sync property to basesink to disable clock sync.
6057
6058 2005-09-20  Andy Wingo  <wingo@pobox.com>
6059
6060         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6061         eating the caller's refcount.
6062
6063         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6064         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6065         refcount.
6066
6067         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6068         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6069         of GLib 2.8 public, so we can know which refcount to check in
6070         tests.
6071
6072         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6073         (gst_object_init): Only set the gst refcount if we're going ahead
6074         with the refcount hack.
6075
6076 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6077
6078         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6079         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6080           more leaks plumbed, added more debug-logging
6081         * gst/gstmacros.h:
6082           whitespace fix
6083
6084 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6085
6086         * gst/gstmessage.c:
6087           remove include of gstmemchunk.h
6088
6089 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6090
6091         * gst/gstclock.c: (_gst_clock_id_free):
6092           Commit from the Political Party For More Atomic CVS Commits,
6093           so that people don't waste too much of their day fishing
6094           out obvious leaks out of massive commits.
6095           Oh, and fix a pretty damn obvious leak in the memchunk
6096           removal code.
6097
6098 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6099
6100         * check/Makefile.am:
6101         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6102           plug mem-leak, re-add to valgrindable tests
6103
6104 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6105
6106         * gst/gstplugin.h:
6107           unbreak the build for those who have chronic arthritis
6108           and typing "make check" is just too taxing on the hands
6109
6110 2005-09-20  Andy Wingo  <wingo@pobox.com>
6111
6112         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6113         really want it out, you should fix plugins at the same time.
6114
6115 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6116
6117         * configure.ac:
6118         * docs/gst/gstreamer-sections.txt:
6119         * gst/gstobject.c:
6120           added missing symbols to api docs
6121           disable ref-count hack if we have glib >= 2.8
6122
6123 2005-09-19  David Schleef  <ds@schleef.org>
6124
6125         * docs/gst/Makefile.am: Ignore a few more internal headers
6126         * docs/gst/gstreamer-docs.sgml: Remove old sections
6127         * docs/gst/gstreamer-sections.txt: Remove old sections
6128         * docs/gst/tmpl/gstobject.sgml: update
6129         * docs/gst/tmpl/gstplugin.sgml: update
6130         * docs/gst/tmpl/gstpluginfeature.sgml: update
6131         * docs/random/ds/0.9-suggested-changes: update.
6132         * gst/Makefile.am: remove memchunk and trashstack, since they're
6133           not used.
6134         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6135         * gst/gst.h: don't include some headers
6136         * gst/gstchildproxy.c: add gstmarshal.h
6137         * gst/gstclock.c: Don't use memchunks
6138         * gst/gstminiobject.c: Add some docs
6139         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6140         * gst/gstobject.h: same
6141         * gst/gstplugin.c: include gstmacros.h
6142         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6143         * gst/gstquery.c: don't use memchunks
6144         * gst/gstregistry.c: rename gst_registry_deinit()
6145         * gst/gstregistry.h: same
6146
6147 2005-09-19  David Schleef  <ds@schleef.org>
6148
6149         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6150         * docs/libs/gstreamer-libs-sections.txt:
6151         * docs/libs/tmpl/gstgetbits.sgml:
6152         * docs/libs/tmpl/gstputbits.sgml:
6153
6154 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6155
6156         * win32/gstenumtypes.c:
6157         * win32/gstenumtypes.h:
6158           Update.
6159
6160 2005-09-19  Wim Taymans  <wim@fluendo.com>
6161
6162         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6163         Automatically PAUSE and RESUME a pipeline when a flushing seek
6164         is performed.
6165
6166 2005-09-19  Andy Wingo  <wingo@pobox.com>
6167
6168         * gst/gstregistry.h: Spacing fixen.
6169
6170 2005-09-19  Wim Taymans  <wim@fluendo.com>
6171
6172         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6173         Handle state change failure more correctly.
6174
6175 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6176
6177         * check/Makefile.am:
6178         * check/pipelines/cleanup.c: (run_pipeline):
6179         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6180         (GST_START_TEST):
6181           enable cleanup again after fixing the leak
6182         * docs/README:
6183           some more info on docs
6184
6185 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6186
6187         * check/Makefile.am:
6188           re-enable tests now that leaks are plugged
6189         * check/gst/gst.c:
6190         * check/gst/gstbin.c:
6191         * check/gst/gstpipeline.c:
6192           add some more tests while fixing leaks
6193         * common/check.mak:
6194           make sure binaries are uptodate when valgrinding/gdbing
6195         * gst/gst.c:
6196         * gst/gstelementfactory.c:
6197           remove a ref too many, and add a FIXME for when we get
6198           round to disposing of classes
6199         * gst/gstplugin.c:
6200           fix the refcounting when loading a plugin from a file and
6201           the code pretends that the pointer is the same even though
6202           of course it can change
6203         * gst/gstpluginfeature.c:
6204           unref plugins marked cached (a bit confusing as a name)
6205           as the docs state should be done
6206           various doc additions to explain refcounting
6207         * gst/gstregistry.c:
6208         * gst/gstregistryxml.c:
6209           debugging
6210
6211 2005-09-19  Wim Taymans  <wim@fluendo.com>
6212
6213         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6214         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6215         (send_messages), (GST_START_TEST), (gstbus_suite):
6216         * check/gst/gstpipeline.c: (GST_START_TEST):
6217         * check/pipelines/cleanup.c: (run_pipeline):
6218         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6219         (GST_START_TEST):
6220         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6221         (gst_bus_source_check), (gst_bus_source_dispatch),
6222         (gst_bus_create_watch), (gst_bus_add_watch_full),
6223         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6224         * gst/gstbus.h:
6225         * tools/gst-launch.c: (event_loop):
6226         * tools/gst-md5sum.c: (event_loop):
6227         GstBusHandler -> GstBusFunc, return value has the same meaning as
6228         any other GSource (FALSE == remove source).
6229         _add_watch() and _add_watch_full() now take a MessageType mask to
6230         only handle specific types of messages.
6231         _poll() returns the GstMessage instead of the message type to avoid
6232         race conditions.
6233         _have_pending() takes a MessageType mask now too.
6234         Added testsuite for multiple bus watches.
6235         Fix testsuites and applications for new bus API.
6236
6237 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6238
6239         * check/Makefile.am:
6240           mark a bunch of the tests as to fix until we fix them
6241
6242 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6243
6244         * common/check.mak:
6245           use GST_PLUGIN settings for valgrind tests as well, so we're
6246           valgrinding the correct thing
6247         * gst/gst.c: (init_post):
6248           plug another leak
6249
6250 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6251
6252         * gst/gst.c: (init_post), (gst_deinit):
6253         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6254         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6255         * gst/gstindex.c: (gst_index_factory_class_init),
6256         (gst_index_factory_finalize):
6257         * gst/gstobject.c: (gst_object_dispose):
6258         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6259         (gst_plugin_load_file), (gst_plugin_desc_free):
6260         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6261         (gst_plugin_feature_finalize):
6262         * gst/gstregistry.c: (gst_registry_class_init),
6263         (gst_registry_init), (gst_registry_finalize),
6264         (gst_registry_get_default), (gst_registry_deinit):
6265         * gst/gstregistry.h:
6266         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6267           various cleanups and memleak plugging.  make valgrind is happy now.
6268
6269 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6270
6271         * common/check.mak:
6272           add a check-valgrind target
6273
6274 2005-09-18  David Schleef  <ds@schleef.org>
6275
6276         * tools/gst-inspect.c: Revert the GOption code.
6277
6278 2005-09-17  David Schleef  <ds@schleef.org>
6279
6280         * check/Makefile.am: Fix environment variables.
6281         * check/gst/gstplugin.c: Fix for API changes.
6282         * tools/gst-inspect.c: Fix for API changes.
6283         * tools/gst-xmlinspect.c: Fix for API changes.
6284         * gst/gstelementfactory.c:
6285         * gst/gstplugin.c:
6286         * gst/gstplugin.h:
6287         * gst/gstpluginfeature.c:
6288         * gst/gstpluginfeature.h:
6289         * gst/gstregistry.c:
6290         * gst/gstregistry.h:
6291         * gst/gstregistryxml.c:
6292         * gst/gsttypefind.c:
6293         * gst/gsttypefindfactory.c:
6294         * gst/indexers/gstfileindex.c:
6295         * gst/indexers/gstmemindex.c:
6296         * gst/schedulers/Makefile.am:
6297           Change registry to keep track of both plugins and features,
6298           removing the feature tracking from plugins themselves.
6299
6300 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6301
6302         * check/Makefile.am:
6303         * tools/gst-register.1.in:
6304           remove gst-register
6305
6306 2005-09-15  David Schleef  <ds@schleef.org>
6307
6308         * check/gst/gstplugin.c:
6309         * gst/gstelementfactory.c:
6310         * gst/gstplugin.c:
6311         * gst/gstpluginfeature.c:
6312         * gst/gstregistry.c:
6313           Getting tired of debugging.  Disabled all the unreffing of
6314           plugins and features, which fixes the segfaults, but of
6315           course leaks like crazy.  At least playbin works.
6316
6317 2005-09-15  David Schleef  <ds@schleef.org>
6318
6319         * check/gst/gstplugin.c: (register_check_elements),
6320         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6321         More testing
6322         * gst/elements/gsttypefindelement.c: Fix refcounting.
6323         * gst/gsttypefind.c:
6324         * gst/gsttypefindfactory.c:
6325         * gst/gsttypefindfactory.h:
6326
6327 2005-09-15  David Schleef  <ds@schleef.org>
6328
6329         * gst/gstindex.c: get refcounting correct.
6330         * gst/gstregistry.c: Handle the case where a feature/plugin is
6331           not found.
6332
6333 2005-09-15  David Schleef  <ds@schleef.org>
6334
6335         * check/Makefile.am:
6336         * check/gst/gstplugin.c: Add test
6337         * gst/gstplugin.c: Fix problems noticed by testsuite
6338         * gst/gstplugin.h:
6339         * gst/gstregistry.c: 
6340         * gst/gstregistry.h:
6341
6342 2005-09-15  David Schleef  <ds@schleef.org>
6343
6344         * gst/gstplugin.c: Implement semi-decent recounting and locking
6345           in plugins and plugin features.
6346         * gst/gstplugin.h:
6347         * gst/gstpluginfeature.c:
6348         * gst/gstpluginfeature.h:
6349         * gst/gstregistry.c:
6350
6351 2005-09-15  Michael Smith <msmith@fluendo.com>
6352
6353         * gst/gstregistry.c: (gst_registry_get_feature_list):
6354           Implement this. Makes oggdemux work; decodebin still broken.
6355
6356 2005-09-14  David Schleef  <ds@schleef.org>
6357
6358         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6359           #316076)
6360         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6361         * gst/check/Makefile.am:
6362         * libs/gst/controller/Makefile.am:
6363         * libs/gst/dataprotocol/Makefile.am:
6364
6365 2005-09-14  David Schleef  <ds@schleef.org>
6366
6367         * configure.ac: Remove getbits library.  Nothing uses it, and
6368           it should be in something like liboil if someone did want
6369           to use it.
6370         * libs/gst/Makefile.am:
6371         * libs/gst/getbits/Makefile.am:
6372         * libs/gst/getbits/gbtest.c:
6373         * libs/gst/getbits/getbits.c:
6374         * libs/gst/getbits/getbits.h:
6375         * libs/gst/getbits/gstgetbits_generic.c:
6376         * libs/gst/getbits/gstgetbits_i386.s:
6377         * libs/gst/getbits/gstgetbits_inl.h:
6378
6379 2005-09-14  David Schleef  <ds@schleef.org>
6380
6381         * gst/Makefile.am: Dist glib-compat.h
6382
6383 2005-09-14  David Schleef  <ds@schleef.org>
6384
6385         * configure.ac: Remove gst/registries, since it's no longer used.
6386         * gst/registries/Makefile.am:
6387         * gst/registries/gstlibxmlregistry.c:
6388         * gst/registries/gstlibxmlregistry.h:
6389         * gst/registries/gstxmlregistry.c:
6390         * gst/registries/gstxmlregistry.h:
6391         * gst/registries/registrytest.c:
6392
6393 2005-09-14  David Schleef  <ds@schleef.org>
6394
6395         * gst/glib-compat.h:
6396         * gst/gstregistryxml.c:
6397           Convergence is near.  Seriously.
6398
6399 2005-09-14  David Schleef  <ds@schleef.org>
6400
6401         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6402         * gst/glib-compat.h:
6403           Attempt #4 to appease the buildbots.
6404
6405 2005-09-14  David Schleef  <ds@schleef.org>
6406
6407         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6408           Attempt #3.
6409
6410 2005-09-14  David Schleef  <ds@schleef.org>
6411
6412         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6413         Attempt #2.
6414
6415 2005-09-14  David Schleef  <ds@schleef.org>
6416
6417         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6418           the new functions.
6419
6420 2005-09-14  David Schleef  <ds@schleef.org>
6421
6422         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6423         * gst/glib-compat.h: Add some functions that are in newer versions
6424           of glib than we care to require.
6425         * gst/gstregistryxml.c: Use them.
6426
6427 2005-09-14  David Schleef  <ds@schleef.org>
6428
6429         * po/POTFILES.in: remove gst-register.c
6430
6431 2005-09-14  David Schleef  <ds@schleef.org>
6432
6433         * docs/gst/gstreamer-docs.sgml:
6434         * docs/gst/gstreamer-sections.txt:
6435         * docs/gst/gstreamer.types:
6436         * docs/gst/tmpl/gstelement.sgml:
6437         * docs/gst/tmpl/gstplugin.sgml:
6438         * docs/gst/tmpl/gstpluginfeature.sgml:
6439           Documentation updates for registry changes.
6440
6441 2005-09-14  David Schleef  <ds@schleef.org>
6442
6443         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6444           because we don't require glib-2.8.
6445
6446 2005-09-14  David Schleef  <ds@schleef.org>
6447
6448         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6449           registries directory.
6450
6451 2005-09-14  David Schleef  <ds@schleef.org>
6452
6453         * check/Makefile.am:
6454         * check/generic/states.c:
6455         * gst/Makefile.am:
6456         * gst/gst.c:
6457         * gst/gst.h:
6458         * gst/gst_private.h:
6459         * gst/gstelementfactory.c:
6460         * gst/gstindex.c:
6461         * gst/gstinfo.c:
6462         * gst/gstplugin.c:
6463         * gst/gstplugin.h:
6464         * gst/gstpluginfeature.c:
6465         * gst/gstpluginfeature.h:
6466         * gst/gstregistry.c:
6467         * gst/gstregistry.h:
6468         * gst/gstregistrypool.c: remove
6469         * gst/gstregistrypool.h: remove
6470         * gst/gsttypefind.c:
6471         * gst/gsttypefindfactory.c:
6472         * gst/gsturi.c:
6473         * tools/Makefile.am:
6474         * tools/gst-compprep.c:
6475         * tools/gst-inspect.c:
6476         * tools/gst-register.c: remove
6477         * tools/gst-xmlinspect.c:
6478           Registry rewrite.  Changes registry from being a file created
6479           by a tool into a simple cache file created automatically by 
6480           libgstreamer.  Removed gst-register (because it's no longer
6481           needed).  Remove registry pools, because we only have one
6482           registry implementation (XML).  Fix up other subsystems as
6483           necessary.
6484
6485 2005-09-13  Michael Smith <msmith@fluendo.com>
6486
6487         * gst/gstconfig.h.in:
6488           Don't Use windows linking attributes for MinGW. Fixes #316157
6489
6490 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6491
6492         * gst/gstutils.c: (set_state_async_thread_func),
6493         (gst_element_set_state_async):
6494           Apparently people think it's better if this function doesn't
6495           try to set the state to whatever state was asked for on the first
6496           call to this function for any object.  Seriously.
6497
6498 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6499
6500         * check/gst/gstpipeline.c: (GST_START_TEST):
6501         * docs/gst/gstreamer-sections.txt:
6502         * gst/gstutils.c: (set_state_async_thread_func),
6503         (gst_element_set_state_async):
6504         * gst/gstutils.h:
6505           add a "gst_element_set_state_async" method that
6506           sets the state and starts a thread to make sure the state
6507           change completes as best as it can
6508
6509 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6510
6511         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6512           codify design+behaviour in testsuite after discussion
6513
6514 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6515
6516         * docs/gst/tmpl/gstelement.sgml:
6517         * docs/manual/appendix-quotes.xml:
6518           add a quote
6519         * gst/gstelement.c: (gst_element_set_state):
6520           add some debug
6521
6522 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6523
6524         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6525         (gst_base_transform_prepare_output_buf),
6526         (gst_base_transform_handle_buffer):
6527         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6528         (gst_capsfilter_prepare_buf):
6529           Remove the requirement for sub-classes to call the parent
6530           implementation of prepare_output_buffer with a wrapper function.
6531           
6532         * gst/gsttaglist.h:
6533         * gst/gsttagsetter.h:
6534           Fix #define wrapper
6535
6536 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6537
6538         * docs/gst/gstreamer-sections.txt:
6539           more doc cleanups
6540
6541 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6542
6543         * docs/gst/gstreamer-sections.txt:
6544         * docs/gst/tmpl/gstelement.sgml:
6545         * docs/gst/tmpl/gstplugin.sgml:
6546         * gst/gstminiobject.c:
6547         * gst/gstvalue.h:
6548           docs now stop throwing warnings
6549
6550 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6551
6552         * docs/gst/gstreamer-sections.txt:
6553         * docs/gst/gstreamer.types:
6554         * docs/gst/tmpl/gstpad.sgml:
6555         * docs/gst/tmpl/gsttypes.sgml:
6556         * gst/base/gstadapter.h:
6557         * gst/base/gstbasesink.h:
6558         * gst/base/gstbasesrc.h:
6559         * gst/gstbin.h:
6560         * gst/gstbuffer.h:
6561         * gst/gstbus.h:
6562         * gst/gstcaps.h:
6563         * gst/gstclock.h:
6564         * gst/gstelement.h:
6565         * gst/gstevent.h:
6566         * gst/gstmessage.h:
6567         * gst/gstpad.h:
6568         * gst/gststructure.c:
6569         * gst/registries/gstlibxmlregistry.h:
6570           various documentation fixes
6571
6572 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6573
6574         * docs/gst/gstreamer-sections.txt:
6575         * docs/gst/tmpl/gstvalue.sgml:
6576           rearrange gstvalue section
6577         * gst/gstutils.c: (gst_element_state_get_name):
6578           NONE -> VOID
6579         * gst/gstvalue.c: (_gst_value_initialize):
6580         * gst/gstvalue.h:
6581           doc updates
6582
6583 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6584
6585         * check/gst-libs/controller.c:
6586           Header include fix.
6587         * gst/base/gstbasetransform.c:
6588         (gst_base_transform_default_prepare_buf),
6589         (gst_base_transform_handle_buffer):
6590         * gst/base/gstbasetransform.h:
6591           Some more basetransform changes and fixes to enable sub-classes
6592           that modify buffer metadata only.
6593         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6594         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6595         (gst_capsfilter_prepare_buf):
6596           If the output pad has fixed allowed caps and input buffers 
6597           don't have any, set the fixed caps on outgoing buffers.
6598
6599 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6600         * check/elements/identity.c: (GST_START_TEST):
6601           Make the error a little clearer when the test fails because
6602           identity made a copy of the buffer.
6603         * docs/gst/gstreamer-sections.txt:
6604           New symbols in gstbasetransform.h
6605         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6606         (gst_base_transform_init), (gst_base_transform_transform_size),
6607         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6608         (gst_base_transform_default_prepare_buf),
6609         (gst_base_transform_get_unit_size),
6610         (gst_base_transform_buffer_alloc),
6611         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6612         (gst_base_transform_change_state),
6613         (gst_base_transform_set_passthrough),
6614         (gst_base_transform_set_in_place),
6615         (gst_base_transform_is_in_place):
6616         * gst/base/gstbasetransform.h:
6617           Change BaseTransform to separate in_place operate from same_caps
6618           output. in_place implies that the element can perform the transform
6619           on incoming buffers in-place, even if the caps on the output are
6620           different.
6621           Sub-class elements can now implement special buffer allocation
6622           methods for outgoing buffers if they wish to.
6623           Big documentation addition.
6624         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6625         * gst/elements/gstelements.c:
6626           Changes for basetransform modifications.
6627         * gst/elements/Makefile.am:
6628         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6629           Compile fix. Extra debug output.
6630
6631 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6632
6633         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6634         (gst_pad_suite):
6635           add tests for valid pad naming
6636         * gst/check/gstcheck.c: (gst_check_log_message_func),
6637         (gst_check_log_critical_func):
6638           add ASSERT_WARNING
6639           remove printing of code, it is fragile when the code contains
6640           % and the line number is enough info
6641         * gst/check/gstcheck.h:
6642         * gst/gstpad.c: (gst_pad_template_new):
6643           fix memleaks
6644
6645 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6646
6647         * configure.ac:
6648           say what CHECK flags we use
6649         * docs/libs/gstreamer-libs.types:
6650         * libs/gst/controller/Makefile.am:
6651         * libs/gst/controller/gst-controller.c:
6652         * libs/gst/controller/gst-controller.h:
6653         * libs/gst/controller/gst-helper.c:
6654         * libs/gst/controller/gst-interpolation.c:
6655         * libs/gst/controller/gstcontroller.c:
6656         * libs/gst/controller/gsthelper.c:
6657         * libs/gst/controller/gstinterpolation.c:
6658         * tools/gst-inspect.c: (print_plugin_info):
6659           we don't use dashes in header names
6660
6661 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6662
6663         * check/Makefile.am:
6664         * check/gst/.cvsignore:
6665         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6666         (gst_pipeline_suite), (main):
6667           adding a test for pipelines and state changes
6668         * gst/gstutils.c: (get_state_func):
6669           add some debugging
6670         * gstreamer.spec.in:
6671           fix up spec file
6672
6673 2005-09-08  Michael Smith <msmith@fluendo.com>
6674
6675         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6676         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6677         (gst_file_src_is_seekable), (gst_file_src_get_size),
6678         (gst_file_src_start):
6679         * gst/elements/gstfilesrc.h:
6680           Various fixes for unseekable, unmmapable, and non-normal files, so
6681           that fallback to read() rather than mmap() works.
6682         * gst/gstevent.c: (gst_event_new_newsegment):
6683           Allow newsegment events with segment_start == segment_end, as will
6684           correctly happen if you use filesrc on a zero-size file, for
6685           example.
6686
6687 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6688
6689         * gst/gstplugin.c: (gst_plugin_load_file):
6690           Call g_module_close when we don't load the module
6691
6692         * gst/registries/gstlibxmlregistry.c:
6693         (gst_xml_registry_get_property):
6694           Port leak fix from 0.8
6695
6696 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6697
6698         * docs/gst/gstreamer-docs.sgml:
6699         * docs/gst/tmpl/.cvsignore:
6700         * docs/gst/tmpl/gsttrace.sgml:
6701         * docs/gst/tmpl/gsttrashstack.sgml:
6702         * gst/Makefile.am:
6703         * gst/gst.h:
6704         * gst/gstelement.h:
6705         * gst/gstevent.h:
6706         * gst/gstmessage.c:
6707         * gst/gstmessage.h:
6708         * gst/gsttag.c:
6709         * gst/gsttag.h:
6710         * gst/gsttaginterface.c:
6711         * gst/gsttaginterface.h:
6712         * gst/gsttaglist.c:
6713         * gst/gsttaglist.h:
6714         * gst/gsttagsetter.c:
6715         * gst/gsttagsetter.h:
6716         * gst/gsttrace.c:
6717         * gst/gsttrace.h:
6718         * gst/gsttrashstack.c:
6719           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6720           inlined docs for gsttrace, gsttrashstack
6721
6722 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6723
6724         * gst/Makefile.am:
6725         * gst/elements/gstbufferstore.h:
6726         * gst/elements/gsttypefindelement.c:
6727         * gst/elements/gsttypefindelement.h:
6728         * gst/gst.h:
6729         * gst/gsttypefind.c:
6730         * gst/gsttypefind.h:
6731         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6732         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6733         (gst_type_find_factory_dispose),
6734         (gst_type_find_factory_unload_thyself),
6735         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6736         (gst_type_find_factory_get_caps),
6737         (gst_type_find_factory_get_extensions),
6738         (gst_type_find_factory_call_function):
6739         * gst/gsttypefindfactory.h:
6740         * gst/registries/gstlibxmlregistry.c:
6741         * gst/registries/gstxmlregistry.c:
6742           splitted gsttypefind into gsttypefind, gsttypefindfactory
6743
6744 2005-09-07  Andy Wingo  <wingo@pobox.com>
6745
6746         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6747         condition whereby the pad's task function is entered before the
6748         pad_mode variable was set.
6749
6750 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6751
6752         * gst/gstpad.c: (gst_pad_alloc_buffer):
6753           Catch misbehaving pad_alloc functions that don't
6754           set up caps and do it for them.
6755
6756 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6757
6758         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6759           test for pipe!=NULL
6760         * docs/gst/tmpl/.cvsignore:
6761         * docs/gst/tmpl/gstmemchunk.sgml:
6762         * docs/gst/tmpl/gstparse.sgml:
6763         * docs/gst/tmpl/gsttaglist.sgml:
6764         * docs/gst/tmpl/gsttagsetter.sgml:
6765         * docs/gst/tmpl/gsttypefind.sgml:
6766         * docs/gst/tmpl/gsttypefindfactory.sgml:
6767         * gst/gstmemchunk.c:
6768         * gst/gstparse.c:
6769         * gst/gsttag.c:
6770         * gst/gsttaginterface.c:
6771         * gst/gsttypefind.c:
6772         * gst/gsttypefind.h:
6773           inlined more docs
6774
6775 === release 0.9.2 ===
6776
6777 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6778
6779         * NEWS:
6780         * RELEASE:
6781         * configure.ac:
6782           releasing 0.9.2, "South"
6783
6784 2005-09-05  Andy Wingo  <wingo@pobox.com>
6785
6786         * gst/registries/gstxmlregistry.h:
6787         * gst/registries/gstxmlregistry.c: Um... resurrect...
6788         
6789         * gst/registries/gstxmlregistry.h:
6790         * gst/registries/gstxmlregistry.c: and update to newer API.
6791         Incidentally they should be a bit faster now that they don't have
6792         to parse the caps.
6793         
6794 2005-09-05  Andy Wingo  <wingo@pobox.com>
6795
6796         * gst/registries/gstxmlregistry.h:
6797         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6798         replaced by the libxml registry a while back
6799
6800 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6801
6802         * docs/gst/tmpl/gstplugin.sgml:
6803         * gst/elements/gstelements.c:
6804         * gst/gst.c:
6805         * gst/gstplugin.c: (gst_plugin_register_func),
6806         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6807         (gst_plugin_get_source):
6808         * gst/gstplugin.h:
6809         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6810         (gst_xml_registry_save_plugin):
6811         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6812         (gst_xml_registry_save_plugin):
6813         * tools/gst-inspect.c: (print_plugin_info):
6814           add a "source" plugin description field, to represent the source
6815           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6816           will set it to PACKAGE, which is automake's idea of the name of
6817           the source project.
6818
6819 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6820
6821         * Makefile.am:
6822         * autogen.sh:
6823         * configure.ac:
6824         * docs/Makefile.am:
6825         * docs/faq/Makefile.am:
6826         * docs/gst/tmpl/gstelement.sgml:
6827         * docs/gst/tmpl/gsttypes.sgml:
6828         * docs/htmlinstall.mak:
6829         * docs/manual/Makefile.am:
6830         * docs/pwg/Makefile.am:
6831           reorganize doc build a little
6832           split out docbook and gtk-doc stuff
6833           have two separate --enable's and enable them through autogen
6834           but disable by default in configure (to be similar to other
6835           projects)
6836         * gstreamer.spec.in:
6837           clean up docs install
6838         * po/af.po:
6839         * po/az.po:
6840         * po/ca.po:
6841         * po/cs.po:
6842         * po/de.po:
6843         * po/en_GB.po:
6844         * po/fr.po:
6845         * po/it.po:
6846         * po/nb.po:
6847         * po/nl.po:
6848         * po/ru.po:
6849         * po/sq.po:
6850         * po/sr.po:
6851         * po/sv.po:
6852         * po/tr.po:
6853         * po/uk.po:
6854         * po/vi.po:
6855           translation updates
6856
6857 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6858
6859         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6860           Add comment.
6861           
6862         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6863         (gst_fake_sink_change_state):
6864           Make state change function thread-safe.
6865           
6866         * gst/gstpad.c: (gst_pad_alloc_buffer):
6867           Set offset on generic buffer allocated by fallback.
6868
6869 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6870
6871         * docs/gst/gstreamer-sections.txt:
6872         * docs/gst/tmpl/gstelement.sgml:
6873         * gst/gstpad.c:
6874         * libs/gst/controller/gst-controller.c:
6875         (gst_controlled_property_set_interpolation_mode),
6876         (gst_controlled_property_new),
6877         (gst_controller_find_controlled_property):
6878          run the wingo-magic script against the docs
6879
6880 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6881
6882         * docs/gst/gstreamer-docs.sgml:
6883         * docs/gst/gstreamer-sections.txt:
6884         * docs/gst/tmpl/.cvsignore:
6885         * docs/gst/tmpl/gstelementdetails.sgml:
6886         * docs/gst/tmpl/gstelementfactory.sgml:
6887         * gst/gst.c:
6888         * gst/gstbus.c:
6889         * gst/gstelementfactory.c:
6890         * gst/gstelementfactory.h:
6891           merged elementdetails docs into elementfactory docs
6892           inlined both
6893
6894 2005-09-02  Andy Wingo  <wingo@pobox.com>
6895
6896         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6897         consider this enum an enum and not a flags.
6898
6899 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6900
6901         * docs/gst/gstreamer-docs.sgml:
6902         * docs/gst/tmpl/.cvsignore:
6903         * docs/gst/tmpl/gstghostpad.sgml:
6904         * docs/gst/tmpl/gstiterator.sgml:
6905         * docs/gst/tmpl/gstmacros.sgml:
6906         * docs/gst/tmpl/gstrealpad.sgml:
6907         * docs/gst/tmpl/gstregistry.sgml:
6908         * docs/gst/tmpl/gstregistrypool.sgml:
6909         * docs/gst/tmpl/gststructure.sgml:
6910         * docs/gst/tmpl/gstsystemclock.sgml:
6911         * docs/gst/tmpl/gsttrace.sgml:
6912         * gst/gstghostpad.c:
6913         * gst/gstmacros.h:
6914         * gst/gstmemchunk.c:
6915         * gst/gstmemchunk.h:
6916         * gst/gstqueue.c:
6917         * gst/gstregistry.c:
6918         * gst/gstregistrypool.c:
6919         * gst/gststructure.c:
6920         * gst/gstsystemclock.c:
6921           more docs inlined
6922
6923 2005-09-02  Andy Wingo  <wingo@pobox.com>
6924
6925         * gst/gstelement.h (GstState): Renamed from GstElementState,
6926         changed to be a normal enum instead of flags.
6927         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6928         munged to be GST_STATE_CHANGE_*.
6929         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6930         work with the new state representation.
6931         (GstStateChange): New enumeration of possible state transitions.
6932         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6933         (GstElementClass::change_state): Pass the GstStateChange along as
6934         an argument. Helps language bindings, so they don't have to use
6935         tricky lock-needing macros like GST_STATE_CHANGE ().
6936
6937         * scripts/update-states (file): New script. Run it on a file to
6938         update it for state naming and API changes. Updates files in
6939         place.
6940
6941         * All files updated for the new API.
6942
6943 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6944
6945         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6946         * gst/gstutils.c: (gst_util_set_value_from_string),
6947         (gst_util_set_object_arg):
6948           fix a bunch of unchecked return values
6949         * tools/gst-complete.c: (main):
6950         * gstreamer.spec.in:
6951           clean up a little
6952
6953 2005-09-01  Wim Taymans  <wim@fluendo.com>
6954
6955         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6956         (gst_base_sink_event), (gst_base_sink_do_sync),
6957         (gst_base_sink_handle_event):
6958         * gst/base/gstbasesink.h:
6959         Handle newsegments more correctly.
6960
6961         * gst/gstbus.c:
6962         Fix docs.
6963
6964         * gst/gstevent.c: (gst_event_new_newsegment):
6965         A newsegment cannot have a start_time of -1
6966
6967 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6968
6969         * win32/gstenumtypes.c:
6970         * win32/gstenumtypes.h:
6971           Update
6972
6973 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6974
6975         * libs/gst/controller/gst-controller.c:
6976         (gst_controlled_property_set_interpolation_mode),
6977         (gst_controlled_property_new):
6978          fixed boolean again
6979
6980 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6981
6982         * docs/faq/gst-uninstalled:
6983           add -good
6984         * gst/gstevent.c:
6985         * gst/gstevent.h:
6986           remove wrong docs
6987         * gst/gstutils.c: (gst_element_link_filtered):
6988         * gst/gstutils.h:
6989           add gst_element_link_filtered
6990
6991 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6992
6993         * docs/gst/gstreamer-docs.sgml:
6994         * docs/gst/gstreamer-sections.txt:
6995         * docs/gst/tmpl/.cvsignore:
6996         * docs/gst/tmpl/gsterror.sgml:
6997         * docs/gst/tmpl/gstfilter.sgml:
6998         * docs/gst/tmpl/gsturihandler.sgml:
6999         * docs/gst/tmpl/gsturitype.sgml:
7000         * docs/gst/tmpl/gstutils.sgml:
7001         * docs/gst/tmpl/gstxml.sgml:
7002         * gst/gsterror.c:
7003         * gst/gsterror.h:
7004         * gst/gstfilter.c:
7005         * gst/gsturi.c:
7006         * gst/gsturitype.c:
7007         * gst/gstutils.c:
7008         * gst/gstxml.c:
7009           inlined more docs, fixed double id-ref
7010
7011 2005-08-31  Wim Taymans  <wim@fluendo.com>
7012
7013         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7014         (gst_base_transform_handle_buffer):
7015         Passthrough elements don't need the caps as they don't care.
7016
7017 2005-08-31  Wim Taymans  <wim@fluendo.com>
7018
7019         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7020         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7021         Don't leak refcounts on buffers.
7022
7023 2005-08-31  Wim Taymans  <wim@fluendo.com>
7024
7025         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7026         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7027         (gst_base_transform_chain), (gst_base_transform_change_state):
7028         * gst/base/gstbasetransform.h:
7029         Handle the case where we are not negotiated more gracefully.
7030
7031 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7032
7033         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7034         (gst_file_src_map_region):
7035           Set READONLY flag on mmap'ed buffers, otherwise
7036           gst_buffer_make_writable() won't work properly (#314708).
7037
7038 2005-08-31  Wim Taymans  <wim@fluendo.com>
7039
7040         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7041         passthrough elements can even do inplace on non writable
7042         buffers (as they don't touch them).
7043
7044 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7045
7046         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7047         (gst_test_mono_source_set_property),
7048         (gst_test_mono_source_class_init), (GST_START_TEST),
7049         (gst_controller_suite):
7050           more tests (hehe I have the most)
7051         * gst/gstbus.c:
7052           describe popping messages whenusing mulltiple sources
7053         * libs/gst/controller/gst-controller.c:
7054         (gst_controlled_property_set_interpolation_mode),
7055         (gst_controlled_property_new):
7056         * libs/gst/controller/gst-controller.h:
7057         * libs/gst/controller/gst-interpolation.c:
7058           implement boolean properties
7059
7060 2005-08-31  Wim Taymans  <wim@fluendo.com>
7061
7062         * gst/gstminiobject.c: (gst_mini_object_ref):
7063         Cannot assert that the refcount has to be positive
7064         since a disposed object can be resurrected.
7065
7066 2005-08-31  Wim Taymans  <wim@fluendo.com>
7067
7068         * gst/gstpad.c: (gst_pad_init):
7069         Revert change, need to first fix badly behaving 
7070         apps.
7071
7072 2005-08-30  Wim Taymans  <wim@fluendo.com>
7073
7074         * check/elements/fakesrc.c: (setup_fakesrc):
7075         * check/elements/identity.c: (setup_identity):
7076         Activate pads before using them.
7077
7078 2005-08-30  Wim Taymans  <wim@fluendo.com>
7079
7080         * gst/base/gstadapter.c: (gst_adapter_flush):
7081         Flushing out 0 bytes is ok for this function.
7082
7083         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7084         no newsegment gives a warning and sets the start/stop to 
7085         invalid.
7086
7087         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7088         (gst_base_transform_set_passthrough):
7089         Some debug info.
7090
7091         * gst/gstminiobject.c: (gst_mini_object_ref):
7092         Check refcount here too.
7093
7094         * gst/gstpad.c: (gst_pad_init):
7095         Pads are initially flushing and refusing data.
7096
7097         * gst/gstutils.c: (gst_element_link_pads_filtered):
7098         When adding a capsfilter element make sure it has the
7099         same state as the parent bin.
7100
7101 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7102
7103         * docs/gst/tmpl/.cvsignore:
7104         * docs/gst/tmpl/gstformat.sgml:
7105         * docs/gst/tmpl/gstversion.sgml:
7106         * gst/gstbus.h:
7107         * gst/gstformat.c:
7108         * gst/gstformat.h:
7109         * gst/gstversion.h.in:
7110           more docs and two more inlined
7111
7112 2005-08-30  Wim Taymans  <wim@fluendo.com>
7113
7114         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7115         Don't sync to clock.
7116
7117 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7118
7119         * docs/gst/gstreamer-sections.txt:
7120           ultral33t func10ns deserve to appear in the docs actually
7121         * docs/gst/tmpl/.cvsignore:
7122         * docs/gst/tmpl/gstcompat.sgml:
7123         * docs/gst/tmpl/gstconfig.sgml:
7124         * gst/check/gstcheck.c:
7125         * gst/gstcompat.h:
7126         * gst/gstconfig.h.in:
7127           inlined more docs
7128
7129 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7130
7131         * docs/gst/tmpl/.cvsignore:
7132         * docs/gst/tmpl/gstquery.sgml:
7133         * docs/gst/tmpl/gstutils.sgml:
7134         * gst/gstquery.c:
7135         * gst/gstquery.h:
7136           inlined and extended docs
7137
7138 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7139
7140         * check/gst-libs/controller.c: (GST_START_TEST),
7141         (gst_controller_suite):
7142           more tests
7143         * docs/gst/tmpl/gstutils.sgml:
7144         * docs/libs/gstreamer-libs-sections.txt:
7145         * docs/libs/tmpl/gstdataprotocol.sgml:
7146           include path fixes
7147         * examples/controller/audio-example.c: (main):
7148           controller example works now
7149         * gst/gstclock.h:
7150           doc fixes
7151         * tools/gst-inspect.c: (print_element_properties_info):
7152           show param spec flags
7153
7154 2005-08-29  Andy Wingo  <wingo@pobox.com>
7155
7156         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7157
7158 2005-08-28  Andy Wingo  <wingo@pobox.com>
7159
7160         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7161         as having two arguments instead of just one. Allows superclasses
7162         to access information on subclasses -- see the terrible for() loop
7163         in gtype.c:g_type_create_instance for the reason why. All callers
7164         changed.
7165
7166 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7167
7168         * docs/design/part-messages.txt:
7169           update info
7170         * docs/gst/tmpl/.cvsignore:
7171         * docs/gst/tmpl/gstcaps.sgml:
7172         * docs/gst/tmpl/gstclock.sgml:
7173         * gst/gstbus.c:
7174         * gst/gstcaps.c:
7175         * gst/gstcaps.h:
7176         * gst/gstclock.c:
7177         * gst/gstclock.h:
7178         * gst/gstmessage.c:
7179           added descriptions for bus and message
7180           inline caps and clock docs
7181
7182 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7183
7184         * gst/gstmessage.c:
7185         * gst/gstmessage.h:
7186           doc fixes
7187
7188 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7189
7190         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7191           fix div-by-zero
7192
7193 2005-08-26  Andy Wingo  <wingo@pobox.com>
7194
7195         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7196         element_set_state's return val.
7197         (test_2_elements): Add test that's been disabled for months.
7198
7199         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7200         can-activate-pull properties.
7201
7202         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7203         can-activate-pull properties. Implement is_seekable so fakesrc can
7204         operate in pull mode.
7205
7206         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7207         properties.
7208         (gst_base_sink_activate, gst_base_sink_activate_pull)
7209         (gst_base_sink_activate_push): Make activation mode choosing work.
7210         Cleanups.
7211         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7212         is right. Make pull mode work. Post an eos before pausing in pull
7213         mode.
7214         (gst_base_sink_change_state): Pay attention to the core's
7215         change_state() return val.
7216         
7217         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7218         has-getrange properties. Cleanups.
7219         
7220         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7221         has_getrange and replace with can_activate_pull and
7222         can_activate_push.
7223
7224         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7225         locking comments. Remove has_loop, has_chain and replace with
7226         can_activate_pull and can_activate_push.
7227
7228 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7229
7230         * configure.ac:
7231         * examples/Makefile.am:
7232         * examples/metadata/Makefile.am:
7233         * examples/metadata/read-metadata.c: (message_loop),
7234         (have_pad_handler), (make_pipeline), (print_tag), (main):
7235           Add metadata reading example that loops over a list of filenames,
7236           dumping any tags found.
7237
7238         * gst/gstbus.c: (gst_bus_dispose):
7239         * gst/gstelement.c: (gst_element_dispose):
7240           Release a few potentially-held references in dispose.
7241
7242 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7243
7244         * docs/gst/tmpl/gstminiobject.sgml:
7245           do *not* add tmpl/*.sgml files to CVS!
7246
7247 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7248
7249         * libs/gst/bytestream/.cvsignore:
7250         * libs/gst/bytestream/Makefile.am:
7251         * libs/gst/bytestream/adapter.c:
7252         * libs/gst/bytestream/adapter.h:
7253         * libs/gst/bytestream/bytestream.c:
7254         * libs/gst/bytestream/bytestream.h:
7255         * libs/gst/bytestream/filepad.c:
7256         * libs/gst/bytestream/filepad.h:
7257           removing obsolete files
7258
7259 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7260
7261         * docs/gst/gstreamer-docs.sgml:
7262         * docs/libs/gstreamer-libs-docs.sgml:
7263           disabed additional index entries again, as this makes docs-gen just
7264           slow and they aren't useful yet
7265         * docs/libs/gstreamer-libs-sections.txt:
7266           little -section.txt cleanup for libs
7267
7268 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7269
7270         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7271         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7272           fix up some debugging
7273         (gst_base_transform_get_unit_size),
7274         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7275         (gst_base_transform_handle_buffer):
7276         * gst/base/gstbasetransform.h:
7277           handle and store timed NEWSEGMENT events so that subclasses that
7278           calculate time by counting samples have a segment_start time they
7279           need to add to their timestamps - see audioresample
7280
7281 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7282
7283         * gst/gstbin.h:
7284           removed ';' from the end of macro defs
7285         * docs/gst/gstreamer-docs.sgml:
7286         * docs/gst/gstreamer-sections.txt:
7287         * docs/gst/tmpl/.cvsignore:
7288         * gst/gstbus.h:
7289         * gst/gstelement.c: (gst_element_class_init),
7290         (gst_element_set_state), (activate_pads),
7291         (gst_element_save_thyself):
7292         * gst/gstevent.c: (gst_event_new_newsegment):
7293         * gst/gstevent.h:
7294         * gst/gstiterator.c:
7295         * gst/gstiterator.h:
7296         * gst/gstpad.c:
7297         * gst/gstprobe.h:
7298         * gst/gstutils.c: (gst_pad_query_convert):
7299         * gst/gstutils.h:
7300           fixed parameter name mismatches between source, header and docs
7301           added some more docs, resolved the last batch of unused elements in
7302           docs (now someone needs to doc them)
7303
7304 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7305
7306         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7307         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7308           don't walk through the plugins backwards.  Where is all this
7309           reversed logic coming from ?
7310
7311 2005-08-25  Wim Taymans  <wim@fluendo.com>
7312
7313         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7314         (gst_base_transform_transform_size),
7315         (gst_base_transform_configure_caps),
7316         (gst_base_transform_get_unit_size),
7317         (gst_base_transform_buffer_alloc),
7318         (gst_base_transform_change_state):
7319         * gst/base/gstbasetransform.h:
7320         Cache caps unit_size.
7321         Make sure we cannot negotiate up and downstream at the
7322         same time.
7323
7324 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7325
7326         * gst/gst.c: (init_pre), (init_post):
7327           register the installed plugin path after the env var
7328         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7329         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7330           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7331           directories, so the tests can prefer uninstalled over installed
7332
7333 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7334
7335         * gst/base/gstbasetransform.h:
7336           comment
7337         * gst/gstpad.c:
7338           add to docs
7339
7340 2005-08-25  Wim Taymans  <wim@fluendo.com>
7341
7342         * gst/gstbin.c: (bin_bus_handler):
7343         Be a bit more conservative about the posted message.
7344         
7345         * gst/gstbus.c: (gst_bus_post):
7346         Some cleanups, warn wrong return values.
7347
7348 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7349
7350         * check/gst/gstbin.c: (GST_START_TEST):
7351         * gst/gstbin.c: (bin_bus_handler):
7352         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7353         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7354         (gst_message_new_warning), (gst_message_new_tag),
7355         (gst_message_new_state_changed), (gst_message_new_segment_start),
7356         (gst_message_new_segment_done), (gst_message_new_custom):
7357         * gst/gstmessage.h:
7358         * tools/gst-launch.c: (event_loop):
7359         * tools/gst-md5sum.c: (event_loop):
7360           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7361
7362 2005-08-25  Wim Taymans  <wim@fluendo.com>
7363
7364         * check/generic/states.c: (GST_START_TEST):
7365         Cleanup can be done at the end.
7366
7367         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7368         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7369         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7370         Oh boy.. Thanks for finding this, Thomas. 
7371
7372 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7373
7374         * docs/gst/gstreamer.types:
7375           added missing types
7376
7377 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7378
7379         * docs/gst/gstreamer-docs.sgml:
7380         * docs/gst/gstreamer-sections.txt:
7381         * docs/gst/tmpl/.cvsignore:
7382         * gst/gstbin.c:
7383         * gst/gstiterator.c:
7384         * gst/gstutils.c:
7385         * gst/registries/gstxmlregistry.h:
7386           added missing classes and symbols (123 more to go)
7387           removed removed symbols from section file
7388           fixed many doc-comments
7389
7390 2005-08-24  Wim Taymans  <wim@fluendo.com>
7391
7392         * check/generic/states.c: (GST_START_TEST):
7393         Make sure all tasks are stopped.
7394
7395         * check/gst/gstbin.c: (GST_START_TEST):
7396         Unref after usage for proper valgrinding.
7397
7398         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7399         Really wait for the task to stop before destroying the
7400         mutex.
7401
7402         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7403         (gst_queue_src_activate_push):
7404         Small cleanups. Don't stop the task when we did not start
7405         it.
7406
7407         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7408         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7409         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7410         (gst_task_join):
7411         * gst/gsttask.h:
7412         Protect the stream lock with the object lock.
7413         Disallow setting the stream lock when running.
7414         Add cleanup_all to wait for the threadpool to finish.
7415         Remove code to autoallocate a mutex if none was provided.
7416         Add _join() to wait for a task to stop.
7417         Protect the thread pool with a global lock.
7418
7419 2005-08-24  Wim Taymans  <wim@fluendo.com>
7420
7421         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7422         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7423         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7424         * gst/base/gstbasesink.h:
7425         Handle newsegment events correctly.
7426         Drop buffers out of the segment range.
7427
7428 2005-08-22  Andy Wingo  <wingo@pobox.com>
7429
7430         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7431         macro, implements an interface and gstimplementsinterface for a
7432         new type.
7433
7434 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7435
7436         * check/Makefile.am:
7437         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7438           add a test that does a bunch of state changes on elements
7439           needs some fixing for valgrind
7440         * check/states/sinks.c: (gst_object_suite):
7441           whitespace
7442         * gst/gstcaps.h:
7443           add prototype for gst_caps_is_equal_fixed
7444         * gst/gstplugin.c:
7445         * gst/gstregistrypool.c:
7446           doc fixes
7447
7448 2005-08-24  Andy Wingo  <wingo@pobox.com>
7449
7450         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7451         convert a negative value. Doesn't make much sense. Mostly this is
7452         here to force callers to ensure -1 maps to -1.
7453
7454 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7455
7456         * docs/pwg/advanced-types.xml:
7457           Well done to Michael for catching my deliberate introduction
7458           of this spelling mistake. 
7459         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7460         * gst/gstelement.h:
7461           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7462           unlink pads before removing the element from the bin.
7463
7464 2005-08-24  Andy Wingo  <wingo@pobox.com>
7465
7466         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7467         the same thing as GST_DEBUG=*:4.
7468         (parse_debug_level, parse_debug_category): New helper parsers.
7469
7470 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7471
7472         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7473         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7474         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7475         (gst_base_transform_buffer_alloc),
7476         (gst_base_transform_handle_buffer):
7477           use gboolean return values and pointers to size so we can use the
7478           full GST_BUFFER_SIZE range (guint) for buffer sizes
7479           use GstPadDirection for transform_caps
7480         * gst/base/gstbasetransform.h:
7481           rename get_size to get_unit_size since that's what it is
7482         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7483           use GstPadDirection for transform_caps
7484         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7485         * gst/gstutils.h:
7486           cleanup and debugging
7487
7488 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7489
7490         * gst/gstelement.c: (gst_element_class_init),
7491         (gst_element_set_state), (activate_pads),
7492         (gst_element_save_thyself):
7493         * tools/gst-compprep.c: (main):
7494         * tools/gst-inspect.c: (print_element_properties_info):
7495         * tools/gst-xmlinspect.c: (print_element_properties):
7496           Fixed long standing mem-leak
7497
7498 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7499
7500         * check/gst/gstbin.c: (GST_START_TEST):
7501         * gst/gstbin.c: (bin_bus_handler):
7502         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7503         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7504         (gst_message_new_warning), (gst_message_new_tag),
7505         (gst_message_new_state_changed), (gst_message_new_segment_start),
7506         (gst_message_new_segment_done), (gst_message_new_custom):
7507         * gst/gstmessage.h:
7508         * tools/gst-launch.c: (event_loop):
7509         * tools/gst-md5sum.c: (event_loop):
7510           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7511           that applications can sensibly post custom messages with references
7512           to their own objects.
7513
7514 2005-08-24  Andy Wingo  <wingo@pobox.com>
7515
7516         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7517         already.
7518
7519 2005-08-24  Wim Taymans  <wim@fluendo.com>
7520
7521         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7522         (gst_base_transform_transform_caps),
7523         (gst_base_transform_transform_size),
7524         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7525         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7526         (gst_base_transform_handle_buffer):
7527         * gst/base/gstbasetransform.h:
7528         Many fixes and new features added by Thomas. Can now also do
7529         transforms with variable sizes and a custom fixate_caps function.
7530
7531 2005-08-24  Wim Taymans  <wim@fluendo.com>
7532
7533         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7534         Some debugging.
7535
7536         * gst/gstclock.h:
7537         Cast to ClockTime before formatting to time.
7538
7539         * gst/gstutils.h:
7540         Cleanups.
7541
7542 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7543
7544         * check/gst-libs/controller.c: (GST_START_TEST),
7545         (gst_controller_suite):
7546         * docs/gst/tmpl/gstcaps.sgml:
7547         * docs/gst/tmpl/gstghostpad.sgml:
7548         * docs/gst/tmpl/gstquery.sgml:
7549         * docs/gst/tmpl/gstutils.sgml:
7550         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7551         (gst_object_sink_values), (gst_object_get_value_arrays),
7552         (gst_object_get_value_array):
7553           gracefully handle helper method calls to objects that are not beeing
7554           controlled, added test case for that          
7555
7556 2005-08-23  Wim Taymans  <wim@fluendo.com>
7557
7558         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7559         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7560         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7561         (gst_event_parse_qos), (gst_event_new_seek),
7562         (gst_event_parse_seek):
7563         * gst/gstevent.h:
7564         Some more debugging output and doc cleanups.
7565
7566         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7567         Fix possible deadlock.
7568
7569 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7570
7571         * docs/gst/gstreamer-docs.sgml:
7572         * docs/gst/gstreamer-sections.txt:
7573         * docs/gst/gstreamer.types:
7574         * docs/gst/tmpl/.cvsignore:
7575         * gst/gstbin.h:
7576         * gst/gstbus.c:
7577         * gst/gstelement.c:
7578         * gst/gstevent.h:
7579           added 100 symbols from gstreamer-unused.txt to the right sections
7580           fixed more broken comments
7581           added GstBus to docs
7582
7583 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7584
7585         * docs/gst/gstreamer-sections.txt:
7586         * docs/gst/tmpl/.cvsignore:
7587         * docs/gst/tmpl/gstbin.sgml:
7588         * docs/gst/tmpl/gstbuffer.sgml:
7589         * gst/base/gstbasesrc.c:
7590         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7591         * gst/gstbuffer.c:
7592         * gst/gstbuffer.h:
7593         * tools/gst-launch.1.in:
7594           inlined more doc comments, added missing comments and fixed comments
7595           fixed typos
7596
7597 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7598
7599         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7600           some debugging
7601         * gst/gstcaps.h:
7602           whitespace fixes
7603         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7604           more debugging
7605         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7606         * gst/gststructure.h:
7607           add a fixate function for booleans; add a FIXME that these func
7608           names should probably be gst_structure_fixate_*
7609
7610 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7611
7612         * docs/gst/gstreamer-docs.sgml:
7613         * docs/gst/gstreamer-sections.txt:
7614         * gst/Makefile.am:
7615         * gst/gstbin.c: (gst_bin_get_type),
7616         (gst_bin_child_proxy_get_child_by_index),
7617         (gst_bin_child_proxy_get_children_count),
7618         (gst_bin_child_proxy_init):
7619         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7620         (gst_child_proxy_get_child_by_index),
7621         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7622         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7623         (gst_child_proxy_get), (gst_child_proxy_set_property),
7624         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7625         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7626         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7627         * gst/gstchildproxy.h:
7628         * gst/parse/grammar.y:
7629         * tools/gst-inspect.c: (print_interfaces),
7630         (print_element_properties_info), (print_element_info):
7631           ported gstchildproxy over from 0.8
7632           ported gst-inspect fixes and enhancements over from 0.8
7633
7634 2005-08-22  Wim Taymans  <wim@fluendo.com>
7635
7636         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7637         (gst_base_transform_handle_buffer):
7638         Also call the transform function if we have ANY caps.
7639
7640         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7641         Fix debug info.
7642
7643 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7644
7645         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7646           Don't pretend to handle seek events if the source is not seekable
7647
7648 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7649
7650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7651           Remove extra parameter to debug output
7652
7653         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7654         (gst_base_src_do_seek), (gst_base_src_activate_push):
7655           Fix seek event handling.
7656
7657         * gst/gstpipeline.c: (gst_pipeline_change_state):
7658         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7659         (gst_queue_src_activate_push):
7660           Don't start the src pad task on FLUSH_STOP if the pad
7661           isn't linked.
7662           Debug changes.
7663
7664 2005-08-22  Wim Taymans  <wim@fluendo.com>
7665
7666         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7667         Added check for gst_static_caps_get() refcounting.
7668
7669 2005-08-22  Wim Taymans  <wim@fluendo.com>
7670
7671         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7672         Make _static_caps_get() refcounting sane.
7673         
7674         * gst/gstelement.c: (gst_element_set_state):
7675         Add g_return_val_if_fail() to protect against segfaults.
7676
7677 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7678
7679         * docs/gst/tmpl/gstevent.sgml:
7680         * gst/gstevent.c:
7681         * gst/gstevent.h:
7682           inlined remaining docs, added missing doc comments
7683
7684 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7685
7686         * check/gst/gstbin.c: (GST_START_TEST):
7687           since we don't know when preroll is done, use refcount range
7688           check for the sink
7689         * gst/check/gstcheck.h:
7690           add macro for checking refcount range
7691
7692 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7693
7694         * check/Makefile.am:
7695           clean up environment for when registry gets built versus
7696           when actual tests are run; valgrind seems to not report
7697           leaks if GST_PLUGIN_PATH is set to some specific values
7698         * check/gst/gstbin.c: (GST_START_TEST):
7699           add more refcounting checks; maybe this exposes a
7700           preroll lock bug ?
7701         * common/check.mak:
7702         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7703         * gst/check/gstcheck.h:
7704         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7705         (gst_bin_change_state):
7706         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7707           add/fix debugging/whitespace
7708
7709 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7710
7711         * check/gst/gstevent.c: (event_probe), (test_event),
7712         (GST_START_TEST):
7713          Er, don't call gst_bin_watch_for_state_change you idiot.
7714
7715 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7716
7717         * check/Makefile.am:
7718           Use CHECK_CFLAGS and CHECK_LIBS
7719         * check/gst/gstevent.c: (event_probe), (test_event),
7720         (GST_START_TEST):
7721           Don't leak events.
7722         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7723         (gst_base_src_start), (gst_base_src_stop),
7724         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7725         (gst_base_src_change_state):
7726           Sprinkle gst_base_src_stop liberally around error paths to fix
7727           problems reusing a source after failed state changes.
7728         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7729         (helper_find_suggest), (gst_type_find_helper):
7730           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7731         * gst/gstevent.h:
7732         * docs/gst/tmpl/gstevent.sgml:
7733           Migrate part of the docs from the SGML file. Wait for ensonic to
7734           tell me how I did it wrong ;)
7735         * tools/gst-typefind.c: (main):
7736           Extra robustness to state changes between files.
7737
7738 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7739
7740         * check/Makefile.am:
7741           don't valgrind the controller test - it's leaking - Stefan, HELP
7742         * gst/check/gstcheck.c: (gst_check_message_error),
7743         (gst_check_chain_func), (gst_check_setup_element),
7744         (gst_check_teardown_element), (gst_check_setup_src_pad),
7745         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7746         (gst_check_teardown_sink_pad):
7747         * gst/check/gstcheck.h:
7748           add a bunch of methods to set up elements, and src and sink pads
7749         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7750         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7751         (GST_START_TEST):
7752           use them
7753         * gst/gstmessage.c:
7754         * gst/gsttag.h:
7755           whitespace/doc fixes
7756
7757 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7758
7759         * gst/gstelement.h:
7760           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7761           be handled by the application and not always printed as well
7762
7763 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7764
7765         * check/Makefile.am:
7766           set GST_TOOLS_DIR
7767         * gst/check/gstcheck.c: (gst_check_message_error):
7768         * gst/check/gstcheck.h:
7769           add a fail_unless_equals_int
7770           add fail_unless for error messages
7771
7772 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7773
7774         * check/Makefile.am:
7775         * check/gst.supp:
7776         * common/Makefile.am:
7777         * common/check.mak:
7778         * common/gst.supp:
7779           factor out some of the common stuff so we can use it
7780
7781 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7782
7783         * check/Makefile.am:
7784         * check/gst/gstiterator.c: (GST_START_TEST):
7785         * check/gst/gstsystemclock.c: (GST_START_TEST),
7786         (gst_systemclock_suite):
7787         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7788         * gst/gstclock.c:
7789           valgrind more tests
7790
7791 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7792
7793         * check/elements/.cvsignore:
7794         * check/elements/gstfakesrc.c:
7795           rename to name of element
7796         * check/elements/identity.c: (chain_func), (event_func),
7797         (setup_identity), (cleanup_identity), (GST_START_TEST),
7798         (identity_suite), (main):
7799           add a test for identity
7800         * check/Makefile.am:
7801         * pkgconfig/Makefile.am:
7802         * pkgconfig/gstreamer-check.pc.in:
7803         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7804         * gst/check:
7805         * gst/Makefile.am:
7806         * configure.ac:
7807           move the check stuff to a library that gets installed
7808         * check/gst-libs/controller.c: (GST_START_TEST):
7809         * check/gst-libs/gdp.c:
7810         * check/gst/gst.c: (GST_START_TEST):
7811         * check/gst/gstbin.c:
7812         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7813         * check/gst/gstbus.c:
7814         * check/gst/gstcaps.c: (GST_START_TEST):
7815         * check/gst/gstelement.c:
7816         * check/gst/gstghostpad.c:
7817         * check/gst/gstiterator.c:
7818         * check/gst/gstmessage.c:
7819         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7820         * check/gst/gstobject.c:
7821         * check/gst/gstpad.c: (GST_START_TEST):
7822         * check/gst/gststructure.c: (GST_START_TEST):
7823         * check/gst/gstsystemclock.c: (GST_START_TEST),
7824         (gst_systemclock_suite):
7825         * check/gst/gsttag.c: (gst_tag_suite):
7826         * check/gst/gstvalue.c:
7827         * check/pipelines/cleanup.c:
7828         * check/pipelines/simple_launch_lines.c:
7829         * check/states/sinks.c:
7830           change include statement
7831
7832         * docs/gst/gstreamer-sections.txt:
7833         * docs/gst/tmpl/gstpad.sgml:
7834           document more pad stuff
7835         * gst/gstminiobject.c: (gst_mini_object_ref),
7836         (gst_mini_object_unref):
7837           debug refcounting
7838
7839 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7840
7841         * docs/gst/tmpl/gst.sgml:
7842         * gst/gst.c:
7843           eliminate another tmpl file, fix spelling in the long-description
7844
7845 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7846
7847         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7848         (test_event), (timediff), (gstevents_suite):
7849           Should fix build on 64-bit arch's
7850
7851 2005-08-18  Andy Wingo  <wingo@pobox.com>
7852
7853         Make sure that when a pipeline goes to PLAYING, that data has
7854         actually hit the sink.
7855
7856         * check/states/sinks.c (test_sink): A sink that doesn't get any
7857         data shouldn't return SUCCESS for going to either PLAYING or
7858         PAUSED. Test also the return values on the way back down.
7859
7860         * gst/gstelement.c (gst_element_set_state): When changing the
7861         state of an element currently changing state asynchronously, go to
7862         lost-state after commiting the pending state. Makes future calls
7863         to get_state continue to return ASYNC.
7864
7865         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7866         ASYNC when going to PLAYING if we still don't have preroll, as can
7867         happen with live sources.
7868
7869 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7870
7871         * docs/pwg/advanced-types.xml:
7872           Hack long paragraph into 2 chunks as a workaround for buggy
7873           jadetex version in sid and breezy that loops infinitely and
7874           eats all RAM.
7875
7876 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7877
7878         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7879         (test_event), (timediff), (gstevents_suite):
7880           Provide more error margin in clock measurements to allow for 
7881           g_get_current_time inaccuracies.
7882
7883 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7884
7885         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7886         (test_event), (timediff), (gstevents_suite):
7887            Fix error message output so I might be able to tell why the
7888            test works here but fails on the build farm.
7889
7890 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7891
7892         * check/Makefile.am:
7893         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7894         (test_event), (timediff), (gstevents_suite), (main):
7895           I wrote a test!
7896
7897         * docs/design/part-seeking.txt:
7898           Spelling correction
7899
7900         * docs/gst/tmpl/gstevent.sgml:
7901         * docs/gst/tmpl/gstfakesrc.sgml:
7902           Docs updates.
7903
7904         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7905           Treat a buffer-without-newsegment the same as a receiving 
7906           a newsegment not in time format, and disable syncing to the clock
7907           with a warning.
7908
7909         * gst/gstbus.c: (gst_bus_set_sync_handler):
7910           Assert if anyone tries to replace the existing sync_handler for bus, 
7911           as only the owner should be setting it.
7912
7913         * gst/gstevent.h:
7914           Have a fixed set of custom event enums with events identified by
7915           their structure name (as in 0.8), rather than a free-for-all
7916           allowing collisions between enum values from different plugins.
7917
7918         * gst/gstpad.c: (gst_pad_class_init):
7919           Docs change.
7920           
7921         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7922           Handle out-of-band downstream events from the sending thread.
7923
7924 2005-08-17  Andy Wingo  <wingo@pobox.com>
7925
7926         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7927         play-timeout==0 to mean no timeout at all. In that case, don't
7928         bother with a get_state or a warning, just return directly, even
7929         if it's ASYNC.
7930
7931         * gst/base/gstbasetransform.c: Debug changes.
7932
7933         * gst/gstutils.h:
7934         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7935         ensure bins post state change messages. A bit of a hack but I can't
7936         think of a way to avoid it.
7937
7938         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7939
7940 2005-08-16  Andy Wingo  <wingo@pobox.com>
7941
7942         * gst/base/gstadapter.h:
7943         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7944         peek() but you own the data. Not terribly efficient atm.
7945
7946 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7947
7948         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7949         (gst_element_found_tags):
7950         * gst/gstutils.h:
7951           Add two utility functions for tag handling.
7952
7953 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7954
7955         * docs/manual/advanced-dataaccess.xml:
7956         * docs/manual/basics-helloworld.xml:
7957           Fix docs to use _bin_add() before _link(), which fixes the examples
7958           with recent core versions (reported by Madhan Raj M
7959           <raj_madan@rediffmail.com>, #313199).
7960
7961 2005-08-16  Wim Taymans  <wim@fluendo.com>
7962
7963         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7964         Added subtract checks.
7965
7966         * docs/design/part-events.txt:
7967         Some more docs about newsegment
7968
7969         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7970         Fix FIXME
7971
7972         * gst/gstcaps.c: (gst_caps_to_string):
7973         Add comments, cleanups.
7974         
7975         * gst/gstelement.c: (gst_element_save_thyself):
7976         cleanups
7977         
7978         * gst/gstvalue.c: (gst_value_collect_int_range),
7979         (gst_string_unwrap), (gst_value_union_int_int_range),
7980         (gst_value_union_int_range_int_range),
7981         (gst_value_intersect_int_int_range),
7982         (gst_value_intersect_int_range_int_range),
7983         (gst_value_intersect_double_double_range),
7984         (gst_value_intersect_double_range_double_range),
7985         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7986         (gst_value_subtract_int_range_int),
7987         (gst_value_subtract_double_range_double),
7988         (gst_value_subtract_double_range_double_range),
7989         (gst_value_subtract_from_list), (gst_value_subtract_list),
7990         (gst_value_can_compare), (gst_value_compare_fraction):
7991         Cleanups, add comments, remove unneeded asserts.
7992
7993 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7994
7995         * tools/gst-launch.c: (event_loop):
7996           don't convert NULL structures to strings
7997
7998 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7999
8000         * docs/gst/gstreamer-sections.txt:
8001           made some defines private
8002         * docs/gst/tmpl/gstconfig.sgml:
8003         * docs/gst/tmpl/gstqueue.sgml:
8004         * docs/gst/tmpl/gsttaglist.sgml:
8005         * docs/gst/tmpl/gsttypes.sgml:
8006         * docs/gst/tmpl/gstutils.sgml:
8007         * docs/pwg/appendix-porting.xml:
8008         * gst/base/gstbasesink.h:
8009         * gst/base/gstbasesrc.c:
8010         * gst/base/gstbasesrc.h:
8011         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8012         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8013         * gst/gstelement.c: (gst_element_class_init):
8014         * gst/gstpad.c: (gst_pad_class_init):
8015         * gst/gstqueue.c: (gst_queue_class_init):
8016         * gst/gstxml.c: (gst_xml_class_init):
8017           documented all undocumented signal inline
8018         * libs/gst/controller/gst-controller.h:
8019           added padding
8020
8021 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8022
8023         * docs/pwg/appendix-porting.xml:
8024           Document _set_link_function -> _set_setcaps_function.
8025
8026 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8027
8028         * check/Makefile.am:
8029           add a .check target for running the check
8030         * check/gst-libs/controller.c: (GST_START_TEST):
8031           cosmetic fixups
8032         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8033           complete checks for gstbuffer; would be nice if I could get the
8034           gcov stuff to work so I can see if I actually completed gstbuffer.c
8035         * check/gstcheck.h:
8036           add ASSERT_BUFFER_REFCOUNT
8037
8038 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8039
8040         * docs/gst/gstreamer-sections.txt:
8041         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8042         * gst/gsttag.h:
8043           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8044           spew out a warning if a tag that is already registered
8045           is re-registered, unless it is re-registered with a 
8046           different type (#308438).
8047
8048 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8049
8050         * docs/pwg/appendix-porting.xml:
8051         * docs/pwg/building-state.xml:
8052           Add some paragraphs about state changes in 0.9 to the PWG
8053           and the porting guide, in particular about the new meaning
8054           of GST_STATE_PAUSED and how to write state change functions
8055           with concurrent access by multiple threads in mind.
8056
8057 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8058
8059         * docs/gst/gstreamer-docs.sgml:
8060         * docs/libs/gstreamer-libs-docs.sgml:
8061           added deprecation and since indexes
8062         * libs/gst/controller/gst-controller.c:
8063         * libs/gst/controller/gst-helper.c:
8064           added since tags
8065
8066
8067 2005-08-11  Wim Taymans  <wim@fluendo.com>
8068
8069         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8070         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8071         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8072         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8073         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8074         (gst_ghost_pad_set_target):
8075         Actually implement (re)setting the target on a ghostpad
8076         as described in the docs.
8077
8078 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8079
8080         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8081           Check whether GST_DEBUG_NO_COLOR environment variable is
8082           set and disable coloured debug output if that is the case.
8083
8084 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8085
8086         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8087         (gst_type_find_helper):
8088           The memory returned by gst_type_find_peek() needs to
8089           stay valid until the end of a typefind function, and
8090           typefind functions may keep results from different 
8091           offsets around, so we can't just unref the buffer from
8092           the previous _peek(), but have to save all buffers 
8093           returned by _peek() until typefinding is done and only
8094           free them then.
8095
8096 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8097
8098         * docs/gst/gstreamer-sections.txt:
8099         * gst/gstutils.h:
8100           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8101
8102 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8103
8104         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8105           Fix a pretty good memleak.
8106
8107 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8108
8109         * gst/gstiterator.h:
8110           Fix wrong include and 'make distcheck'.
8111
8112 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8113
8114         * gst/gstbin.c: (bin_bus_handler):
8115           Use gst_element_post_message() instead.
8116
8117 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8118
8119         * gst/base/gstadapter.h:
8120         * gst/base/gstbasesink.h:
8121         * gst/base/gstbasesrc.h:
8122         * gst/base/gstbasetransform.h:
8123         * gst/base/gstcollectpads.h:
8124         * gst/base/gstpushsrc.h:
8125         * gst/gstiterator.h:
8126           Add padding to our base elements' class and instance structs and
8127           to GstIterator (you will need to rebuild all plugins and apps!)
8128
8129 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8130
8131         * gst/gstbin.c: (bin_bus_handler):
8132           Make default message forwarding from child->bus to bin->bus
8133           threadsafe and make it not emit warnings if the parent has no bus.
8134
8135 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8136
8137         * gst/gstelement.c: (activate_pads):
8138           On paused->ready, set pad->caps to NULL, as is the documented
8139           behaviour in this state change. Fixes playback of series of
8140           media files when visualization is enabled in Totem.
8141
8142 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8143
8144         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8145           Allow NULL as filter-caps (which means "any").
8146
8147 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8148
8149         * docs/libs/gstreamer-libs-sections.txt:
8150         * libs/gst/controller/gst-controller.c:
8151         * libs/gst/controller/gst-controller.h:
8152         * libs/gst/controller/gst-helper.c:
8153           adding more entries to the docs and fix small doc-bugs
8154
8155 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8156
8157         * docs/gst/gstreamer-docs.sgml:
8158         * docs/gst/gstreamer-sections.txt:
8159         * docs/gst/gstreamer.types:
8160         * docs/gst/tmpl/gstbasesink.sgml:
8161         * docs/gst/tmpl/gstbasesrc.sgml:
8162         * docs/gst/tmpl/gstbasetransform.sgml:
8163         * docs/gst/tmpl/gstfakesrc.sgml:
8164         * gst/base/gstcollectpads.c:
8165         * gst/base/gstcollectpads.h:
8166         * libs/gst/controller/gst-controller.c:
8167         * libs/gst/controller/gst-controller.h:
8168         * libs/gst/controller/gst-helper.c:
8169         * libs/gst/controller/gst-interpolation.c:
8170         * libs/gst/controller/lib.c:
8171           added long/short desc for controller docs
8172           added collectpads base class docs
8173           added correct includes to base-class docs
8174
8175 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8176
8177         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8178         (gst_test_mono_source_set_property),
8179         (gst_test_mono_source_class_init), (GST_START_TEST),
8180         (gst_controller_suite):
8181         * docs/gst/gstreamer-docs.sgml:
8182         * docs/gst/gstreamer-sections.txt:
8183         * docs/gst/gstreamer.types:
8184         * docs/libs/gstreamer-libs-docs.sgml:
8185         * docs/libs/gstreamer-libs-sections.txt:
8186         * gst/base/gstadapter.c:
8187         * libs/gst/controller/gst-controller.c:
8188         (gst_controlled_property_new), (gst_controlled_property_free),
8189         (gst_controller_new_valist),
8190         (gst_controller_remove_properties_valist),
8191         (gst_controller_sink_values), (_gst_controller_finalize):
8192         * libs/gst/controller/gst-controller.h:
8193         * libs/gst/controller/gst-helper.c:
8194         (gst_object_control_properties), (gst_object_uncontrol_properties),
8195         (gst_object_get_controller), (gst_object_set_controller),
8196         (gst_object_sink_values), (gst_object_get_value_arrays),
8197         (gst_object_get_value_array):
8198           more tests (and fixes) for the controller
8199           more docs for the controller
8200           integrated companies docs for the adapter 
8201
8202 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8203
8204         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8205         (GST_START_TEST), (fakesrc_suite):
8206           add tests for sizetype
8207
8208 2005-08-04  Andy Wingo  <wingo@pobox.com>
8209
8210         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8211         fixes buffer_alloc proxying among other things.
8212
8213         * gst/base/gstbasetransform.c:
8214         * gst/base/gstbasetransform.h:
8215         Revert patch to gstbasetransform from 7-28 removing
8216         delay_configure.
8217
8218         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8219         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8220         Semantics changed, should return not the size of the output buffer
8221         but the byte size of a buffer with a given caps.
8222
8223         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8224         debug object.
8225         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8226         out) are not the pad caps until setcaps finishes.
8227         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8228         not-in-place case as well. Deal with changing from in-place to
8229         not-in-place within calling pad_alloc_buffer. Still a bit
8230         concerned about the overhead here...
8231
8232 2005-08-03  Andy Wingo  <wingo@pobox.com>
8233
8234         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8235         fixating is an error.
8236
8237 2005-08-04  Edward Hervey  <edward@fluendo.com>
8238
8239         * gst/base/gstadapter.h: 
8240         Added gst_adapter_get_type() to the header
8241
8242 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8243
8244         * check/Makefile.am:
8245         * check/gst-libs/controller.c:
8246         * libs/gst/controller/gst-controller.c:
8247         (gst_controller_new_valist):
8248           added check test suite for the controller
8249         * gst/base/gstpushsrc.c:
8250           fixed a doc typo
8251
8252 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8253
8254         * docs/gst/Makefile.am:
8255         * docs/gst/gstreamer-docs.sgml:
8256         * docs/gst/gstreamer-sections.txt:
8257         * docs/gst/gstreamer.types:
8258         * docs/gst/tmpl/gstfakesrc.sgml:
8259         * gst/base/README:
8260         * gst/base/gstbasesink.c:
8261         * gst/base/gstbasesink.h:
8262         * gst/base/gstbasesrc.c:
8263         * gst/base/gstbasesrc.h:
8264         * gst/base/gstbasetransform.c:
8265         * gst/base/gstpushsrc.c:
8266         * gst/base/gstpushsrc.h:
8267           add short/long description docs to base classes
8268           add pushsrc to the docs
8269           remove consolidated doc fragments
8270
8271 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8272
8273         * configure.ac:
8274         * docs/libs/Makefile.am:
8275         * docs/libs/gstreamer-libs-docs.sgml:
8276         * docs/libs/gstreamer-libs-sections.txt:
8277         * docs/libs/gstreamer-libs.types:
8278         * examples/Makefile.am:
8279         * examples/controller/.cvsignore:
8280         * examples/controller/Makefile.am:
8281         * examples/controller/audio-example.c: (main):
8282         * libs/gst/Makefile.am:
8283         * libs/gst/controller/.cvsignore:
8284         * libs/gst/controller/Makefile.am:
8285         * libs/gst/controller/gst-controller.c:
8286         (on_object_controlled_property_changed), (gst_timed_value_compare),
8287         (gst_timed_value_find),
8288         (gst_controlled_property_set_interpolation_mode),
8289         (gst_controlled_property_new), (gst_controlled_property_free),
8290         (gst_controller_find_controlled_property),
8291         (gst_controller_new_valist), (gst_controller_new),
8292         (gst_controller_remove_properties_valist),
8293         (gst_controller_remove_properties), (gst_controller_set),
8294         (gst_controller_set_from_list), (gst_controller_unset),
8295         (gst_controller_get), (gst_controller_get_all),
8296         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8297         (gst_controller_get_value_array),
8298         (gst_controller_set_interpolation_mode),
8299         (_gst_controller_finalize), (_gst_controller_init),
8300         (_gst_controller_class_init), (gst_controller_get_type):
8301         * libs/gst/controller/gst-controller.h:
8302         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8303         (g_object_uncontrol_properties), (g_object_get_controller),
8304         (g_object_set_controller), (g_object_sink_values),
8305         (g_object_get_value_arrays), (g_object_get_value_array):
8306         * libs/gst/controller/gst-interpolation.c:
8307         (gst_controlled_property_find_timed_value_node),
8308         (interpolate_none_get), (interpolate_trigger_get),
8309         (interpolate_trigger_get_value_array):
8310         * libs/gst/controller/lib.c: (gst_controller_init):
8311         * pkgconfig/Makefile.am:
8312         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8313         * pkgconfig/gstreamer-control.pc.in:
8314         * testsuite/Makefile.am:
8315         * testsuite/controller/.cvsignore:
8316         * testsuite/controller/Makefile.am:
8317         * testsuite/controller/interpolator.c: (main):
8318           added controller code
8319           removed dparam pc files
8320
8321 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8322         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8323         (gst_collectpads_stop):
8324           Broadcast the condition when shutting down, to make sure we wake all
8325           threads up. Shut down pads on finalize, for safety.
8326
8327 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8328         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8329         (gst_base_transform_handle_buffer),
8330         (gst_base_transform_change_state):
8331           Handle PAUSED->READY->PAUSED transition after negotiation
8332           occurred already.
8333         * gst/gstmessage.c: (gst_message_init):
8334           Extra piece of debug for new messages.
8335
8336 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8337
8338         * configure.ac:
8339         * docs/gst/tmpl/gstbasesrc.sgml:
8340         * docs/gst/tmpl/gstelement.sgml:
8341         * docs/gst/tmpl/gstevent.sgml:
8342         * docs/gst/tmpl/gstfakesrc.sgml:
8343         * docs/gst/tmpl/gstformat.sgml:
8344         * docs/gst/tmpl/gstghostpad.sgml:
8345         * docs/gst/tmpl/gstpad.sgml:
8346         * docs/gst/tmpl/gstquery.sgml:
8347         * docs/gst/tmpl/gststructure.sgml:
8348         * docs/gst/tmpl/gsttaglist.sgml:
8349         * docs/gst/tmpl/gstvalue.sgml:
8350         * docs/libs/gstreamer-libs-docs.sgml:
8351         * docs/libs/gstreamer-libs-sections.txt:
8352         * docs/libs/gstreamer-libs.types:
8353         * libs/gst/Makefile.am:
8354         * libs/gst/control/.cvsignore:
8355         * libs/gst/control/Makefile.am:
8356         * libs/gst/control/control.c:
8357         * libs/gst/control/control.h:
8358         * libs/gst/control/dparam.c:
8359         * libs/gst/control/dparam.h:
8360         * libs/gst/control/dparam_smooth.c:
8361         * libs/gst/control/dparam_smooth.h:
8362         * libs/gst/control/dparamcommon.h:
8363         * libs/gst/control/dparammanager.c:
8364         * libs/gst/control/dparammanager.h:
8365         * libs/gst/control/dplinearinterp.c:
8366         * libs/gst/control/dplinearinterp.h:
8367         * libs/gst/control/unitconvert.c:
8368         * libs/gst/control/unitconvert.h:
8369         * testsuite/Makefile.am:
8370         * testsuite/dynparams/.cvsignore:
8371         * testsuite/dynparams/Makefile.am:
8372         * testsuite/dynparams/dparamstest.c:
8373         * tools/Makefile.am:
8374         * tools/gst-inspect.c: (print_element_info), (main):
8375         * tools/gst-xmlinspect.c: (print_element_info), (main):
8376           deactivate and remove dparams (libgstcontrol)
8377
8378 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8379
8380         * gst/elements/gsttypefindelement.c:
8381         (gst_type_find_element_have_type), (gst_type_find_element_init),
8382         (stop_typefinding), (gst_type_find_element_handle_event),
8383         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8384         * gst/elements/gsttypefindelement.h:
8385           Set caps on all outgoing buffers, not just the first one.
8386
8387 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8388
8389         * gst/elements/gsttypefindelement.c:
8390         (gst_type_find_element_have_type),
8391         (gst_type_find_element_check_set_buffer_caps),
8392         (gst_type_find_element_init), (stop_typefinding),
8393         (gst_type_find_element_handle_event),
8394         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8395         * gst/elements/gsttypefindelement.h:
8396           Set caps on first outgoing buffer when we've found the type.
8397
8398 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8399
8400         * docs/gst/gstreamer-docs.sgml:
8401         * docs/gst/gstreamer-sections.txt:
8402         * docs/gst/tmpl/gstscheduler.sgml:
8403         * docs/gst/tmpl/gstschedulerfactory.sgml:
8404           Remove some old cruft from docs.
8405
8406 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8407
8408         * gst/gstpad.h:
8409           Fix inline docs for GstPadLinkReturn.
8410           
8411         * gst/gststructure.c: (gst_structure_has_name):
8412         * gst/gststructure.h:
8413         * docs/gst/gstreamer-sections.txt:
8414           New API: gst_structure_has_name().
8415
8416 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8417
8418         * configure.ac:
8419           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8420           and _LARGEFILE_SOURCE in config.h as required. Do not 
8421           export those flags in our .pc files any longer (#142209).
8422
8423           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8424
8425         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8426         (gst_file_sink_do_seek), (gst_file_sink_event),
8427         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8428           Redo seek/tell calls with large file support in mind; add some
8429           debugging messages; add log message that tells us when large
8430           file support is unavailable or not enabled for some reason.
8431
8432         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8433           Add log message that tells us when large file support 
8434           is unavailable or not enabled for some reason.
8435
8436 2005-07-29  Wim Taymans  <wim@fluendo.com>
8437
8438         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8439         Added test for removing an element with ghostpad from a bin.
8440         Fixed test as current implementation does the right thing.
8441
8442         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8443         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8444         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8445         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8446         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8447         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8448         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8449         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8450         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8451         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8452         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8453         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8454         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8455         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8456         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8457         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8458         * gst/gstghostpad.h:
8459         Clean up ghostpads, remove properties for internal stuff.
8460         Make threadsafe.
8461         Fix refcounting.
8462         Prepare for switching targets, not all use cases work yet.
8463
8464 2005-07-29  Wim Taymans  <wim@fluendo.com>
8465
8466         * docs/design/part-gstghostpad.txt:
8467         Small update.
8468
8469         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8470         (gst_bin_remove_func):
8471         Unlinking pads while holding the bin LOCK is not a good
8472         idea.
8473
8474         * gst/gstpad.c: (gst_pad_class_init),
8475         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8476         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8477         No prob setting template after creating the pad.
8478
8479 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8480
8481         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8482         (gst_bus_peek), (gst_bus_source_dispatch),
8483         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8484         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8485           gst_bus_poll may be called from other threads. Handle
8486           this nicely by not making poll_data disappear off the
8487           stack once gst_bus_poll returns.
8488           gst_bus_peek now increments the refcount on the returned
8489           message.
8490
8491 2005-07-29  Wim Taymans  <wim@fluendo.com>
8492
8493         * docs/design/part-gstghostpad.txt:
8494         Overview of current GhostPad datastructures and use
8495         cases for changing the target.
8496
8497 2005-07-28  Wim Taymans  <wim@fluendo.com>
8498
8499         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8500         Added checks for hierarchy consistency whan adding linked
8501         elements to bins.
8502
8503         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8504         Added check to test element scheduling without bin/pipeline.
8505
8506         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8507         First add elements to bin, then link.
8508         
8509         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8510         (gst_bin_remove_func):
8511         Unlink pads from elements added/removed from bin to maintain
8512         hierarchy consistency.
8513
8514 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8515
8516         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8517         (gst_base_transform_handle_buffer):
8518         * gst/base/gstbasetransform.h:
8519           Remove broken delay_configure (fixes renegotiation of software
8520           scaling pipelines); remove some leftover printf()s.
8521
8522 2005-07-28  Wim Taymans  <wim@fluendo.com>
8523
8524         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8525         Added some more tests for wrong hierarchy
8526
8527         * docs/design/part-overview.txt:
8528         Some updates.
8529
8530         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8531         Cleanups.
8532
8533         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8534         (gst_element_dispose):
8535         Some more cleanups.
8536
8537         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8538         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8539         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8540         (gst_pad_set_caps), (gst_pad_send_event):
8541         Check for correct hierarchy when linking pads. Moving to
8542         strict requirement for ghostpads when linking elements in
8543         different bins.
8544
8545         * gst/gstpad.h:
8546         Clean ups. Added WRONG_HIERARCHY return value.
8547
8548 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8549
8550         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8551           Better debug if no transform is possible.
8552
8553 2005-07-27  Wim Taymans  <wim@fluendo.com>
8554
8555         * docs/random/wtay/network-transp:
8556         Some old doc I had.
8557
8558 2005-07-27  Wim Taymans  <wim@fluendo.com>
8559
8560         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8561         (gst_dp_event_from_packet):
8562         Fix serialization of seek events.
8563
8564 2005-07-27  Wim Taymans  <wim@fluendo.com>
8565
8566         * check/gst-libs/gdp.c: (GST_START_TEST):
8567         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8568         Fix compilation and fix event serialization.
8569
8570 2005-07-27  Wim Taymans  <wim@fluendo.com>
8571
8572         * CHANGES-0.9:
8573         * docs/design/part-TODO.txt:
8574         * docs/design/part-events.txt:
8575         Some docs updates
8576
8577         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8578         (gst_base_sink_event), (gst_base_sink_do_sync),
8579         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8580         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8581         (gst_base_src_do_seek), (gst_base_src_event_handler),
8582         (gst_base_src_loop):
8583         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8584         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8585         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8586         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8587         (gst_base_transform_set_passthrough),
8588         (gst_base_transform_is_passthrough):
8589         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8590         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8591         Event updates.
8592
8593         * gst/gstbuffer.h:
8594         Use faster casts.
8595
8596         * gst/gstelement.c: (gst_element_seek):
8597         * gst/gstelement.h:
8598         Update gst_element_seek.
8599
8600         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8601         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8602         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8603         (gst_event_new_eos), (gst_event_new_newsegment),
8604         (gst_event_parse_newsegment), (gst_event_new_tag),
8605         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8606         (gst_event_parse_qos), (gst_event_new_seek),
8607         (gst_event_parse_seek), (gst_event_new_navigation):
8608         * gst/gstevent.h:
8609         Make GstEvent use GstStructure. Add parsing code, make sure the
8610         API is sufficiently generic.
8611         Mark possible directions of events and serialization.
8612
8613         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8614         (_gst_message_copy), (gst_message_new_segment_start),
8615         (gst_message_new_segment_done), (gst_message_new_custom),
8616         (gst_message_parse_segment_start),
8617         (gst_message_parse_segment_done):
8618         Small cleanups.
8619
8620         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8621         (gst_pad_set_caps), (gst_pad_send_event):
8622         Update for new events. 
8623         Catch events sent in wrong directions.
8624
8625         * gst/gstqueue.c: (gst_queue_link_src),
8626         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8627         (gst_queue_handle_src_query):
8628         Event updates.
8629
8630         * gst/gsttag.c:
8631         * gst/gsttag.h:
8632         Remove event code from this file.
8633
8634         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8635         (gst_dp_event_from_packet):
8636         Event updates.
8637
8638 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8639
8640         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8641         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8642         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8643           Make debugging actually useful.
8644
8645 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8646
8647         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8648         (gst_pad_fixate_caps):
8649           Implement default fixation once again, so that gst_pad_fixate()
8650           actually does anything at all. This probably needs to be some
8651           sort of a last resort, and use profile-based fixation first, but
8652           since that doesn't exist yet, this is the best we have. Fixes
8653           visualization in Totem.
8654
8655 2005-07-22  Wim Taymans  <wim@fluendo.com>
8656
8657         * docs/design/part-events.txt:
8658         Small update.
8659
8660         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8661         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8662         (gst_base_sink_activate_pull):
8663         Some more comments.
8664
8665         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8666         (gst_fake_src_create):
8667         Fix handoff marshall.
8668
8669         * gst/elements/gstidentity.c: (gst_identity_class_init),
8670         (gst_identity_transform_ip):
8671         We're a real inplace element.
8672
8673         * gst/gstbus.c: (gst_bus_post):
8674         Added some comments.
8675
8676         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8677         * tests/muxing/case1.c: (main):
8678         * tests/sched/dynamic-pipeline.c: (main):
8679         * tests/sched/interrupt1.c: (main):
8680         * tests/sched/interrupt2.c: (main):
8681         * tests/sched/interrupt3.c: (main):
8682         * tests/sched/runxml.c: (main):
8683         * tests/sched/sched-stress.c: (main):
8684         * tests/seeking/seeking1.c: (event_received), (main):
8685         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8686         (main):
8687         * tests/threadstate/threadstate3.c: (main):
8688         * tests/threadstate/threadstate4.c: (main):
8689         * tests/threadstate/threadstate5.c: (main):
8690         Fix the tests.
8691
8692 2005-07-21  Wim Taymans  <wim@fluendo.com>
8693
8694         * docs/design/part-seeking.txt:
8695         Some small additions.
8696
8697         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8698         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8699         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8700         * gst/base/gstbasesink.h:
8701         discont values are gint64, handle the math correctly.
8702
8703         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8704         Make the basesrc report error if the source pad is not linked.
8705
8706         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8707         (gst_queue_loop), (gst_queue_handle_src_query),
8708         (gst_queue_src_activate_push):
8709         Make queue collect data even if the srcpad is not linked.
8710         Start pushing out data as soon as it is linked.
8711
8712         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8713         * gst/gstutils.h:
8714         Added gst_flow_get_name() to ease error reporting.
8715
8716 2005-07-20  Wim Taymans  <wim@fluendo.com>
8717
8718         * gst/gstmessage.c: (gst_message_new_segment_start),
8719         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8720         (gst_message_parse_segment_done):
8721         * gst/gstmessage.h:
8722         Added a bunch of messages for advanced seeking.
8723
8724         * gst/parse/grammar.y:
8725         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8726         (gst_dpman_state_changed):
8727         Fix some new-pad -> pad-added signals
8728
8729 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8730
8731         * docs/manual/appendix-porting.xml:
8732         * docs/pwg/appendix-porting.xml:
8733           Document new-pad/state-change signal renames and the FixedList
8734           type rename.
8735
8736 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8737
8738         * docs/manual/advanced-autoplugging.xml:
8739         * docs/manual/basics-helloworld.xml:
8740         * docs/manual/basics-pads.xml:
8741         * docs/random/ds/0.9-suggested-changes:
8742         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8743         * gst/gstelement.h:
8744         * gst/gstevent.h:
8745         * gst/gstformat.h:
8746         * gst/gstquery.h:
8747         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8748         (gst_structure_parse_array), (gst_structure_parse_value):
8749         * gst/gstvalue.c: (gst_type_is_fixed),
8750         (gst_value_list_prepend_value), (gst_value_list_append_value),
8751         (gst_value_list_get_size), (gst_value_list_get_value),
8752         (gst_value_transform_array_string), (gst_value_serialize_array),
8753         (gst_value_deserialize_array), (gst_value_intersect_array),
8754         (gst_value_is_fixed), (_gst_value_initialize):
8755         * gst/gstvalue.h:
8756           GstElement::new-pad -> pad-added, GstElement::state-change ->
8757           state-changed, GstValueFixedList -> GstValueArray, add format and
8758           flags as their own arguments in gst_element_seek() (should improve
8759           "bindeability"), remove function generators since they don't work
8760           under a whole bunch of compilers (they were deprecated already
8761           anyway).
8762
8763 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8764
8765         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8766         (_gst_debug_register_funcptr):
8767         * gst/gstinfo.h:
8768           Fix illegal cast on some platforms (#309253).
8769
8770 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8771
8772         * gst/gstmessage.c: (gst_message_new_custom):
8773         * gst/gstmessage.h:
8774           Add _new_custom, make _new_application a macro to _new_custom.
8775
8776 2005-07-20  Wim Taymans  <wim@fluendo.com>
8777
8778         * gst/base/gstbasesrc.c: (gst_base_src_init),
8779         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8780         * gst/base/gstbasesrc.h:
8781         Add a gboolean to decide when to push out a discont.
8782
8783         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8784         (gst_queue_loop), (gst_queue_handle_src_query),
8785         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8786         (gst_queue_set_property), (gst_queue_get_property):
8787         Some cleanups.
8788
8789         * tests/threadstate/threadstate1.c: (main):
8790         Make a thread test compile and run... very silly..
8791
8792
8793 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8794
8795         * docs/manual/appendix-porting.xml:
8796           Mention removal of libgstgconf-0.9.la and existence of gconf
8797           elements.
8798
8799 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8800
8801         * docs/pwg/advanced-clock.xml:
8802         * docs/pwg/appendix-porting.xml:
8803         * docs/pwg/intro-preface.xml:
8804         * docs/pwg/other-base.xml:
8805         * docs/pwg/other-manager.xml:
8806         * docs/pwg/other-nton.xml:
8807         * docs/pwg/other-ntoone.xml:
8808         * docs/pwg/other-oneton.xml:
8809         * docs/pwg/pwg.xml:
8810           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8811           demuxer), remove n-to-n (was never written), fix some code examples
8812           and links and update the porting section to include all this.
8813
8814 2005-07-19  Wim Taymans  <wim@fluendo.com>
8815
8816         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8817         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8818         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8819         (gst_queue_src_activate_push), (gst_queue_change_state),
8820         (gst_queue_get_property):
8821         * gst/gstqueue.h:
8822         Propagate GstFlowReturn more intelligently upstream and output
8823         an ERROR/EOS when streaming stopped due to fatal error.
8824
8825 2005-07-19  Wim Taymans  <wim@fluendo.com>
8826
8827         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8828         Don't block forever for the state change to complete, the
8829         pipeline already did with a sensible timeout.
8830
8831 2005-07-19  Wim Taymans  <wim@fluendo.com>
8832
8833         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8834         Make sure we never call the create function is we
8835         got deactivated.
8836
8837 2005-07-19  Andy Wingo  <wingo@pobox.com>
8838
8839         * gst/parse/parse.l: Attempt to solve bug #172815.
8840
8841 2005-07-19  Wim Taymans  <wim@fluendo.com>
8842
8843         * docs/design/part-clocks.txt:
8844         * docs/design/part-events.txt:
8845         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8846         Small docs updates.
8847         Only update the seeking values when we are not
8848         busy streaming.
8849
8850 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8851
8852         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8853           Oops, ignore the result of gst_pad_push_event here.
8854
8855 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8856
8857         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8858         (gst_base_src_activate_push):
8859           Send discont event from the loop function, as pads
8860           aren't activated yet in the activate_push handler.
8861
8862         * gst/gstbin.c: (bin_bus_handler):
8863           Don't leak element name.
8864
8865 2005-07-18  Andy Wingo  <wingo@pobox.com>
8866
8867         * configure.ac: Use AS_LIBTOOL_TAGS.
8868
8869 2005-07-18  Wim Taymans  <wim@fluendo.com>
8870
8871         * docs/gst/gstreamer.types:
8872         Remove deleted types.
8873
8874 2005-07-18  Wim Taymans  <wim@fluendo.com>
8875
8876         * check/elements/gstfakesrc.c: (GST_START_TEST):
8877         * configure.ac:
8878         * gst/Makefile.am:
8879         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8880         (init_popt_callback):
8881         * gst/gst.h:
8882         * gst/gst_private.h:
8883         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8884         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8885         * gst/gstbin.h:
8886         * gst/gstbus.h:
8887         * gst/gstconfig.h.in:
8888         * gst/gstelement.c: (gst_element_class_init),
8889         (gst_element_set_base_time), (gst_element_get_base_time),
8890         (iterator_fold_with_resync), (gst_element_change_state),
8891         (gst_element_dispose), (gst_element_get_bus):
8892         * gst/gstelement.h:
8893         * gst/gstelementfactory.h:
8894         * gst/gsterror.c: (_gst_core_errors_init):
8895         * gst/gsterror.h:
8896         * gst/gstevent.h:
8897         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8898         * gst/gstindex.c:
8899         * gst/gstinfo.c: (_gst_debug_init):
8900         * gst/gstmessage.c: (_gst_message_copy):
8901         * gst/gstmessage.h:
8902         * gst/gstminiobject.h:
8903         * gst/gstobject.c:
8904         * gst/gstobject.h:
8905         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8906         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8907         * gst/gstpad.h:
8908         * gst/gstparse.h:
8909         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8910         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8911         (gst_pipeline_get_last_stream_time):
8912         * gst/gstpipeline.h:
8913         * gst/gstpluginfeature.h:
8914         * gst/gstquery.h:
8915         * gst/gstscheduler.c:
8916         * gst/gstscheduler.h:
8917         * gst/gststructure.h:
8918         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8919         (gst_task_finalize), (gst_task_func), (gst_task_create),
8920         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8921         (gst_task_stop), (gst_task_pause):
8922         * gst/gsttask.h:
8923         * gst/gsttypefind.h:
8924         * gst/gsttypes.h:
8925         * gst/registries/gstlibxmlregistry.c: (load_feature),
8926         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8927         * gst/registries/gstxmlregistry.c:
8928         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8929         * gst/schedulers/threadscheduler.c:
8930         * libs/gst/control/dparammanager.h:
8931         * tools/gst-inspect.c: (print_element_list),
8932         (print_plugin_features), (print_element_features):
8933         * tools/gst-xmlinspect.c: (print_element_list),
8934         (print_plugin_info), (main):
8935         Removed plugable schedulers.
8936         Removed Scheduler/Manager from elements.
8937         Removed gsttypes.h, rearranged includes.
8938         Removed dependency pad<->element, element<>pipeline, and
8939         various others,  fix includes.
8940         implement gst_pad_get_parent() with gst_object_get_parent()
8941         Make GstTask sefcontained.
8942         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8943         timeout.
8944         Fix endless loop in iterator_fold_with_resync.
8945
8946
8947 2005-07-18  Wim Taymans  <wim@fluendo.com>
8948
8949         * gst/Makefile.am:
8950         * gst/gstarch.h:
8951         Remove old file.
8952
8953 2005-07-18  Wim Taymans  <wim@fluendo.com>
8954
8955         * gst/Makefile.am:
8956         No more cothreads.h
8957
8958 2005-07-18  Wim Taymans  <wim@fluendo.com>
8959
8960         * gst/cothreads.c:
8961         * gst/cothreads.h:
8962         Let's remove these.
8963
8964 2005-07-18  Wim Taymans  <wim@fluendo.com>
8965
8966         * docs/design/part-dynamic.txt:
8967         * docs/design/part-events.txt:
8968         * docs/design/part-seeking.txt:
8969         Some more docs in the works.
8970
8971         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8972         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8973         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8974         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8975         (gst_base_transform_handle_buffer),
8976         (gst_base_transform_sink_activate_push),
8977         (gst_base_transform_src_activate_pull),
8978         (gst_base_transform_set_passthrough),
8979         (gst_base_transform_is_passthrough):
8980         Refcounting fixes.
8981
8982         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8983         Cleanups.
8984
8985         * gst/gstevent.c: (gst_event_finalize):
8986         Set SRC to NULL.
8987
8988         * gst/gstutils.c: (gst_element_unlink),
8989         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8990         (gst_pad_proxy_setcaps):
8991         * gst/gstutils.h:
8992         Add _get_parent_element() to get a pads parent as an element.
8993
8994 2005-07-18  Wim Taymans  <wim@fluendo.com>
8995
8996         * check/gst/gstbin.c: (GST_START_TEST):
8997         Remove bogus test.
8998
8999 2005-07-18  Wim Taymans  <wim@fluendo.com>
9000
9001         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9002         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9003         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9004         (gst_base_sink_event), (gst_base_sink_do_sync),
9005         (gst_base_sink_chain), (gst_base_sink_loop),
9006         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9007         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9008         Refcounting fixes.
9009         Fix logic for returning ASYNC when not prerolled.
9010
9011 2005-07-18  Wim Taymans  <wim@fluendo.com>
9012
9013         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9014         Fix nasty refcount bug.
9015
9016 2005-07-16 Philippe Khalaf <burger@speedy.org>
9017
9018         * gst/elements/gstfdsrc.c:
9019         * gst/elements/gstfdsrc.h:
9020         * gst/elements/gstelements.c:
9021         * gst/elements/Makefile.am:
9022         Ported fdsrc to 0.9.
9023
9024 2005-07-16  Wim Taymans  <wim@fluendo.com>
9025
9026         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9027         (gst_base_sink_do_sync):
9028         Fix compile error.
9029
9030 2005-07-16  Wim Taymans  <wim@fluendo.com>
9031
9032         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9033         (gst_base_sink_event), (gst_base_sink_get_times),
9034         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9035         * gst/base/gstbasesink.h:
9036         Store and use discont values when syncing buffers as described
9037         in design docs.
9038         
9039         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9040         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9041         (gst_base_src_activate_push):
9042         Push discont event when starting.
9043
9044         * gst/elements/gstidentity.c: (gst_identity_transform):
9045         Small cleanups.
9046
9047         * gst/gstbin.c: (gst_bin_change_state):
9048         Small cleanups in base_time  distribution.
9049
9050         * gst/gstelement.c: (gst_element_set_base_time),
9051         (gst_element_get_base_time), (gst_element_change_state):
9052         * gst/gstelement.h:
9053         Added methods for the base_time of the element.
9054         Some MT fixes.
9055
9056         * gst/gstpipeline.c: (gst_pipeline_send_event),
9057         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9058         (gst_pipeline_get_last_stream_time):
9059         * gst/gstpipeline.h:
9060         MT fixes.
9061         Handle seeking as described in design doc, remove stream_time
9062         hack.
9063         Cleanups clock and stream_time selection code. Added accessors
9064         for the stream_time.
9065         
9066
9067 2005-07-16  Andy Wingo  <wingo@pobox.com>
9068
9069         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9070         (#305291).
9071
9072 2005-07-16  Wim Taymans  <wim@fluendo.com>
9073
9074         * check/gst/gstbin.c: (GST_START_TEST):
9075         Make elements silent as the deep_notify refs the
9076         parent, which might make the test fail.
9077
9078         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9079         Don't hold the lock for too long.
9080
9081 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9082
9083         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9084           Don't unref the caps we passed to gst_caps_make_writable() after
9085           passing them. gst_caps_make_writable() will do that for us.
9086
9087 2005-07-15  Andy Wingo  <wingo@pobox.com>
9088
9089         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9090         (#157311).
9091
9092         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9093         own marshalling function for the handoff signal. Properly type the
9094         buffer as a buffer. Fixes some warnings. Should do a more general
9095         solution.
9096         (gst_identity_class_init): Plug into the right marshaller.
9097
9098 2005-07-15  Wim Taymans  <wim@fluendo.com>
9099
9100         * docs/design/part-TODO.txt:
9101         * docs/design/part-clocks.txt:
9102         * docs/design/part-element-sink.txt:
9103         * docs/design/part-events.txt:
9104         * docs/design/part-gstpipeline.txt:
9105         Updated docs, mostly DISCONT related.
9106
9107 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9108
9109         * docs/pwg/building-pads.xml:
9110           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9111
9112 2005-07-15  Andy Wingo  <wingo@pobox.com>
9113
9114         * tools/gst-typefind.c: Update, add copyright block.
9115
9116         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9117         Normalize and truncate caps before fixation.
9118
9119         * gst/gstcaps.h:
9120         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9121         discards all but the first structure from its argument.
9122
9123 2005-07-15  Wim Taymans  <wim@fluendo.com>
9124
9125         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9126         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9127         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9128         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9129         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9130         (gst_base_transform_chain), (gst_base_transform_change_state),
9131         (gst_base_transform_set_passthrough),
9132         (gst_base_transform_is_passthrough):
9133         * gst/base/gstbasetransform.h:
9134         Make passthrough work using the bufferpools.
9135         Changed API a bit, subclasses have to write into a buffer
9136         provided by the base class.
9137         More debug info in nego functions.
9138         
9139         * gst/elements/gstidentity.c: (gst_identity_init),
9140         (gst_identity_transform):
9141         Port to new base class.
9142
9143 2005-07-15  Wim Taymans  <wim@fluendo.com>
9144
9145         * gst/gstmessage.c: (gst_message_new_state_changed):
9146         * tools/gst-launch.c: (event_loop), (main):
9147         Totally dump messages in -launch with the -m option.
9148         Fix message name for State messages,
9149
9150 2005-07-14  Wim Taymans  <wim@fluendo.com>
9151
9152         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9153         Post error messages on errors.
9154
9155 2005-07-14  Wim Taymans  <wim@fluendo.com>
9156
9157         * gst/gstcaps.c: (gst_caps_do_simplify):
9158         Remove debug info.
9159
9160         * gst/gsterror.h:
9161         Define error for stream stopped.
9162
9163         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9164         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9165         Do proper return values.
9166
9167         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9168         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9169         (gst_pad_get_range):
9170         Better return values.
9171
9172         * gst/gstpad.h:
9173         Reorganise return values, add macro to check for fatal errors.
9174
9175         * gst/gstqueue.c: (gst_queue_chain):
9176         Return proper GstFlowReturn values,
9177
9178 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9179
9180         * docs/gst/gstreamer-sections.txt:
9181         * docs/gst/gstreamer.types:
9182         * docs/gst/tmpl/gst.sgml:
9183         * docs/gst/tmpl/gstbasesink.sgml:
9184         * docs/gst/tmpl/gstbasesrc.sgml:
9185         * docs/gst/tmpl/gstbasetransform.sgml:
9186         * docs/gst/tmpl/gstbin.sgml:
9187         * docs/gst/tmpl/gstbuffer.sgml:
9188         * docs/gst/tmpl/gstcaps.sgml:
9189         * docs/gst/tmpl/gstclock.sgml:
9190         * docs/gst/tmpl/gstcompat.sgml:
9191         * docs/gst/tmpl/gstconfig.sgml:
9192         * docs/gst/tmpl/gstelement.sgml:
9193         * docs/gst/tmpl/gstelementdetails.sgml:
9194         * docs/gst/tmpl/gstelementfactory.sgml:
9195         * docs/gst/tmpl/gstenumtypes.sgml:
9196         * docs/gst/tmpl/gsterror.sgml:
9197         * docs/gst/tmpl/gstevent.sgml:
9198         * docs/gst/tmpl/gstfakesink.sgml:
9199         * docs/gst/tmpl/gstfakesrc.sgml:
9200         * docs/gst/tmpl/gstfilesink.sgml:
9201         * docs/gst/tmpl/gstfilesrc.sgml:
9202         * docs/gst/tmpl/gstfilter.sgml:
9203         * docs/gst/tmpl/gstformat.sgml:
9204         * docs/gst/tmpl/gstghostpad.sgml:
9205         * docs/gst/tmpl/gstimplementsinterface.sgml:
9206         * docs/gst/tmpl/gstindex.sgml:
9207         * docs/gst/tmpl/gstindexfactory.sgml:
9208         * docs/gst/tmpl/gstinfo.sgml:
9209         * docs/gst/tmpl/gstiterator.sgml:
9210         * docs/gst/tmpl/gstmacros.sgml:
9211         * docs/gst/tmpl/gstmemchunk.sgml:
9212         * docs/gst/tmpl/gstminiobject.sgml:
9213         * docs/gst/tmpl/gstobject.sgml:
9214         * docs/gst/tmpl/gstpad.sgml:
9215         * docs/gst/tmpl/gstpadtemplate.sgml:
9216         * docs/gst/tmpl/gstparse.sgml:
9217         * docs/gst/tmpl/gstpipeline.sgml:
9218         * docs/gst/tmpl/gstplugin.sgml:
9219         * docs/gst/tmpl/gstpluginfeature.sgml:
9220         * docs/gst/tmpl/gstquery.sgml:
9221         * docs/gst/tmpl/gstqueue.sgml:
9222         * docs/gst/tmpl/gstregistry.sgml:
9223         * docs/gst/tmpl/gstregistrypool.sgml:
9224         * docs/gst/tmpl/gstscheduler.sgml:
9225         * docs/gst/tmpl/gstschedulerfactory.sgml:
9226         * docs/gst/tmpl/gststructure.sgml:
9227         * docs/gst/tmpl/gstsystemclock.sgml:
9228         * docs/gst/tmpl/gsttaglist.sgml:
9229         * docs/gst/tmpl/gsttagsetter.sgml:
9230         * docs/gst/tmpl/gsttrace.sgml:
9231         * docs/gst/tmpl/gsttrashstack.sgml:
9232         * docs/gst/tmpl/gsttypefind.sgml:
9233         * docs/gst/tmpl/gsttypefindfactory.sgml:
9234         * docs/gst/tmpl/gsttypes.sgml:
9235         * docs/gst/tmpl/gsturihandler.sgml:
9236         * docs/gst/tmpl/gsturitype.sgml:
9237         * docs/gst/tmpl/gstutils.sgml:
9238         * docs/gst/tmpl/gstvalue.sgml:
9239         * docs/gst/tmpl/gstversion.sgml:
9240         * docs/gst/tmpl/gstxml.sgml:
9241         * docs/libs/tmpl/gstcontrol.sgml:
9242         * docs/libs/tmpl/gstdataprotocol.sgml:
9243         * docs/libs/tmpl/gstdparam.sgml:
9244         * docs/libs/tmpl/gstdplinint.sgml:
9245         * docs/libs/tmpl/gstdpman.sgml:
9246         * docs/libs/tmpl/gstdpsmooth.sgml:
9247         * docs/libs/tmpl/gstgetbits.sgml:
9248         * docs/libs/tmpl/gstunitconvert.sgml:
9249         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9250         (gst_push_src_base_init), (gst_push_src_class_init),
9251         (gst_push_src_init), (gst_push_src_create):
9252         * gst/base/gstpushsrc.h:
9253         * gst/elements/gstelements.c:
9254         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9255         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9256         (gst_fake_sink_init), (gst_fake_sink_set_property),
9257         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9258         (gst_fake_sink_event), (gst_fake_sink_preroll),
9259         (gst_fake_sink_render), (gst_fake_sink_change_state):
9260         * gst/elements/gstfakesink.h:
9261         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9262         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9263         (gst_fake_src_base_init), (gst_fake_src_class_init),
9264         (gst_fake_src_init), (gst_fake_src_event_handler),
9265         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9266         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9267         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9268         (gst_fake_src_create_buffer), (gst_fake_src_create),
9269         (gst_fake_src_start), (gst_fake_src_stop):
9270         * gst/elements/gstfakesrc.h:
9271         * gst/elements/gstfilesink.c: (_do_init),
9272         (gst_file_sink_base_init), (gst_file_sink_class_init),
9273         (gst_file_sink_init), (gst_file_sink_dispose),
9274         (gst_file_sink_set_location), (gst_file_sink_set_property),
9275         (gst_file_sink_get_property), (gst_file_sink_open_file),
9276         (gst_file_sink_close_file), (gst_file_sink_query),
9277         (gst_file_sink_event), (gst_file_sink_render),
9278         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9279         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9280         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9281         * gst/elements/gstfilesink.h:
9282         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9283         (gst_file_src_class_init), (gst_file_src_init),
9284         (gst_file_src_finalize), (gst_file_src_set_location),
9285         (gst_file_src_set_property), (gst_file_src_get_property),
9286         (gst_file_src_map_region), (gst_file_src_map_small_region),
9287         (gst_file_src_create_mmap), (gst_file_src_create_read),
9288         (gst_file_src_create), (gst_file_src_is_seekable),
9289         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9290         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9291         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9292         (gst_file_src_uri_handler_init):
9293         * gst/elements/gstfilesrc.h:
9294           more autistic cleanliness in functions/names/defines
9295
9296 2005-07-13  Andy Wingo  <wingo@pobox.com>
9297
9298         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9299         source couldn't negotiate.
9300
9301         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9302         connections again.
9303
9304         * gst/gstutils.h:
9305         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9306         function. I am channeling Hades. Put your boots on suckers!!!
9307
9308 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9309
9310         * testsuite/caps/Makefile.am:
9311         * testsuite/caps/value_compare.c:
9312         * testsuite/caps/value_intersect.c:
9313         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9314           move two testsuite apps over to the check dir
9315
9316 2005-07-12  Wim Taymans  <wim@fluendo.com>
9317
9318         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9319         Added more debug info in the negotiate process.
9320
9321         * gst/gstmessage.h:
9322         Prepare for segment playback.
9323
9324         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9325         Better debugging.
9326
9327         * gst/gstutils.c:
9328         Some more docs.
9329
9330         * tools/gst-launch.c: (main):
9331         NULL pipeline on errors.
9332
9333 2005-07-12  Andy Wingo  <wingo@pobox.com>
9334
9335         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9336         not it comes from a malloc region. Make sure our copy gets freed.
9337
9338 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9339
9340         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9341         * check/gst/gstmessage.c: (GST_START_TEST):
9342         * check/gst/gststructure.c: (GST_START_TEST),
9343         (gst_structure_suite), (main):
9344           more testing
9345         * gst/gstelement.c: (gst_element_message_full):
9346           clean up GError and debug string now that they get copied
9347         * gst/gstmessage.c: (gst_message_new_error),
9348         (gst_message_new_warning), (gst_message_parse_error),
9349         (gst_message_parse_warning):
9350           use GST_TYPE_G_ERROR for structure_new, and take copies of
9351           arguments, so that we don't mess up refcounting
9352
9353 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9354
9355         * check/Makefile.am:
9356           add per-test valgrind targets
9357         * check/gst-libs/gdp.c: (GST_START_TEST),
9358         (gst_data_protocol_suite), (main):
9359           clean up
9360
9361 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9362
9363         * check/Makefile.am:
9364           instate more valgrindable tests
9365         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9366         (GST_START_TEST), (fakesrc_suite):
9367         * check/gst/gstpad.c: (GST_START_TEST):
9368         * check/gst/gststructure.c: (GST_START_TEST):
9369           fix test leaks
9370         * docs/gst/tmpl/gstminiobject.sgml:
9371         * gst/gstpad.c: (gst_pad_finalize):
9372           fix the static mutex leak
9373
9374 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9375
9376         * check/Makefile.am:
9377           add two more tests for valgrinding
9378         * check/gst/gstvalue.c: (GST_START_TEST):
9379           test refcount of deserialized buffer, found a leak
9380         * docs/gst/gstreamer-docs.sgml:
9381         * docs/gst/gstreamer-sections.txt:
9382         * docs/gst/gstreamer.types:
9383         * docs/gst/tmpl/gstminiobject.sgml:
9384           add miniobject to docs
9385         * gst/gstminiobject.c:
9386           add some docs
9387         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9388         (gst_string_unwrap):
9389           fix a hard-to-find invalid write for one of the tests
9390           fix a leak for deserialized buffers
9391
9392 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9393
9394         * docs/pwg/advanced-events.xml:
9395         * docs/pwg/advanced-request.xml:
9396         * docs/pwg/advanced-scheduling.xml:
9397         * docs/pwg/appendix-porting.xml:
9398         * docs/pwg/building-boiler.xml:
9399         * docs/pwg/intro-preface.xml:
9400         * docs/pwg/other-ntoone.xml:
9401           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9402           of example code and explanation for pad activation, loop() and
9403           getrange() functions and a bit more. Remove old comments pointing
9404           to loop-functions.
9405         * examples/pwg/Makefile.am:
9406           Add loop/getrange examples.
9407
9408 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9409
9410         * configure.ac:
9411           check for valgrind binary + some fixes
9412         * check/gst.supp:
9413           valgrind suppressions for the tests
9414         * check/Makefile.am:
9415           add a valgrind: target that valgrinds the unit tests
9416         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9417         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9418         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9419         * check/gst/gstghostpad.c:
9420           added some cleanup
9421         * check/gst/gstdata.c:
9422           removed
9423         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9424         (thread_unref), (gst_mini_object_suite), (main):
9425           added
9426         * gst/gst.c: (gst_deinit):
9427         * gst/gst.h:
9428           add a method to clean up.
9429         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9430         (gst_system_clock_obtain):
9431           allow for disposing the system clock.
9432         * tools/gst-launch.c: (main):
9433           deinit
9434
9435 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9436
9437         * docs/gst/tmpl/gstbasesrc.sgml:
9438         * docs/gst/tmpl/gstfakesrc.sgml:
9439         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9440         (gst_base_src_init), (gst_base_src_set_property),
9441         (gst_base_src_get_property), (gst_base_src_get_range),
9442         (gst_base_src_start):
9443         * gst/base/gstbasesrc.h:
9444           add num-buffers property
9445         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9446         (gst_fakesrc_init), (gst_fakesrc_set_property),
9447         (gst_fakesrc_get_property), (gst_fakesrc_create),
9448         (gst_fakesrc_start):
9449           remove num-buffers property
9450
9451 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9452
9453         * docs/gst/gstreamer-sections.txt:
9454         * docs/gst/tmpl/gstbasesink.sgml:
9455         * docs/gst/tmpl/gstbasesrc.sgml:
9456         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9457         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9458         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9459         (gst_base_sink_set_property), (gst_base_sink_get_property),
9460         (gst_base_sink_handle_object), (gst_base_sink_event),
9461         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9462         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9463         (gst_base_sink_loop), (gst_base_sink_deactivate),
9464         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9465         (gst_base_sink_change_state):
9466         * gst/base/gstbasesink.h:
9467         * gst/base/gstbasesrc.h:
9468         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9469         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9470         (gst_filesink_init):
9471           more macro splitting
9472
9473 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9474
9475         * gst/gstelement.c: (gst_element_get_bus):
9476           add debug
9477         * tools/gst-launch.c: (check_intr), (event_loop):
9478           fix bus leaks
9479
9480 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9481
9482         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9483           fix a caps leak
9484
9485 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9486
9487         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9488         (gst_base_src_finalize):
9489           add finalize method and clean up properly
9490         * gst/gstpipeline.c: (gst_pipeline_dispose):
9491           add debug
9492
9493 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9494
9495         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9496         (gst_bin_suite):
9497           add more things to check
9498         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9499         * gst/gstelement.c:
9500           more debug
9501
9502 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9503
9504         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9505         (GST_START_TEST), (fakesrc_suite):
9506         * check/gst-libs/gdp.c: (GST_START_TEST):
9507         * check/gst/gst.c: (GST_START_TEST):
9508         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9509         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9510         * check/gst/gstbus.c: (GST_START_TEST):
9511         * check/gst/gstcaps.c: (GST_START_TEST):
9512         * check/gst/gstdata.c: (GST_START_TEST):
9513         * check/gst/gstelement.c: (GST_START_TEST):
9514         * check/gst/gstghostpad.c: (GST_START_TEST):
9515         * check/gst/gstiterator.c: (GST_START_TEST):
9516         * check/gst/gstmessage.c: (GST_START_TEST):
9517         * check/gst/gstobject.c: (GST_START_TEST):
9518         * check/gst/gstpad.c: (GST_START_TEST):
9519         * check/gst/gststructure.c: (GST_START_TEST):
9520         * check/gst/gstsystemclock.c: (GST_START_TEST),
9521         (gst_systemclock_suite):
9522         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9523         * check/gst/gstvalue.c: (GST_START_TEST):
9524         * check/pipelines/cleanup.c: (GST_START_TEST):
9525         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9526         * check/states/sinks.c: (GST_START_TEST):
9527         * check/gstcheck.c: (gst_check_init):
9528         * check/gstcheck.h:
9529           add debugging category
9530           use GST_START_TEST now, so we add a debug line
9531
9532 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9533
9534         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9535           add test for state change message on a bin
9536         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9537           add another test
9538         * gst/gstbin.c: (gst_bin_init):
9539         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9540         * gst/gstelement.c: (gst_element_post_message),
9541         (gst_element_set_state):
9542         * gst/gstelementfactory.c: (gst_element_factory_create):
9543         * gst/gstmessage.c: (gst_message_new):
9544         * gst/gstscheduler.c:
9545           various debugging additions and cleanups
9546
9547 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9548
9549         * check/Makefile.am:
9550         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9551         (main):
9552           adding tests for elements
9553         * gst/gstelement.c: (gst_element_dispose):
9554
9555 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9556
9557         * gst/registries/gstlibxmlregistry.c: (load_feature):
9558           plug more leaks.  A simple gst_init() now is leakfree, yay.
9559
9560 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9561
9562         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9563         (gst_xml_registry_load):
9564           plug another memleak
9565
9566 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9567
9568         * configure.ac:
9569           use GST_SET_ERROR_CFLAGS
9570         * docs/faq/cvs.xml:
9571           change to ERROR_CFLAGS
9572
9573 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9574
9575         * configure.ac:
9576           make GST_ERROR_CFLAGS overridable and re-enable Werror
9577         * docs/faq/cvs.xml:
9578           add a note about error CFLAGS
9579         * docs/gst/tmpl/gstfakesrc.sgml:
9580         * gst/elements/gstfakesrc.c:
9581           comment out some unused code
9582         * gst/gst.c: (split_and_iterate):
9583         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9584         (load_feature):
9585           plug some memleaks
9586
9587 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9588
9589         * common/Makefile.am:
9590         * common/gtk-doc.mak:
9591         * docs/gst/Makefile.am:
9592           factor out gtk-doc.mak
9593
9594 2005-07-07  Wim Taymans  <wim@fluendo.com>
9595
9596         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9597         (gst_thread_scheduler_dispose):
9598         Unlock the STREAM_LOCK completely.
9599
9600 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9601
9602         * check/Makefile.am:
9603         * check/elements/.cvsignore:
9604         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9605         (START_TEST), (fakesrc_suite), (main):
9606         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9607         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9608         (gst_fakesrc_create), (gst_fakesrc_start):
9609         * gst/elements/gstfakesrc.h:
9610           adding a first element test
9611
9612 2005-07-07  Andy Wingo  <wingo@pobox.com>
9613
9614         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9615         debug message.
9616
9617 2005-07-07  Wim Taymans  <wim@fluendo.com>
9618
9619         * gst/gstquery.c:
9620         * gst/gstquery.h:
9621         Remove old types
9622
9623 2005-07-07  Wim Taymans  <wim@fluendo.com>
9624
9625         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9626         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9627         Allow subclasses to implement their own negotiation.
9628
9629 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9630
9631         * docs/design/part-gstbin.txt:
9632         * docs/design/part-gstpipeline.txt:
9633           Update design notes to reflect the movement of
9634           responsibility for bus handling from GstPipeline to
9635           GstBin
9636
9637 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9638
9639         * configure.ac:
9640           Remove unnecessary queue2/3/4 examples.
9641
9642 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9643
9644         * examples/Makefile.am:
9645         * examples/helloworld/helloworld.c: (event_loop), (main):
9646         * examples/queue/queue.c: (event_loop), (main):
9647         * examples/queue2/queue2.c: (main):
9648           Update a couple of the examples to work again.
9649
9650         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9651         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9652          Spelling corrections and extra debug.
9653         
9654         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9655         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9656         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9657         * gst/gstbin.h:
9658         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9659         (gst_pipeline_change_state):
9660         * gst/gstpipeline.h:
9661           Move the bus handler for children to the GstBin, and create a
9662           separate bus for receiving messages from children to the one the
9663           bus sends 'upwards' on.
9664
9665 2005-07-06  Wim Taymans  <wim@fluendo.com>
9666
9667         * gst/base/README:
9668         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9669         (gst_base_sink_handle_object), (gst_base_sink_loop),
9670         (gst_base_sink_change_state):
9671         * gst/base/gstbasesink.h:
9672         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9673         (gst_base_src_init), (gst_base_src_setcaps),
9674         (gst_base_src_getcaps), (gst_base_src_loop),
9675         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9676         (gst_base_src_start), (gst_base_src_change_state):
9677         * gst/base/gstbasesrc.h:
9678         Make basesrc negotiate.
9679         Handle the case where preroll fails in basesink.
9680         Update README.
9681
9682 2005-07-06  Wim Taymans  <wim@fluendo.com>
9683
9684         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9685         Implement the fixate function.
9686         Clean up acceptcaps.
9687
9688 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9689
9690         * docs/pwg/building-filterfactory.xml:
9691         * docs/pwg/pwg.xml:
9692           Remove never-written filter-factory chapter; I'll add the various
9693           base classes to part 4 ("other element types") later on.
9694
9695 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9696
9697         * docs/pwg/advanced-negotiation.xml:
9698         * docs/pwg/building-boiler.xml:
9699         * docs/pwg/building-pads.xml:
9700         * docs/pwg/pwg.xml:
9701         * examples/pwg/Makefile.am:
9702           Add a chapter on caps negotiation, simplify the original code
9703           samples a bit w.r.t. caps negotiation, add link to the advanced
9704           section. Add a bunch of examples showing different use cases of
9705           different types of caps negotiation. Upstream renegotiation isn't
9706           fully documented yet since nobody knows how that works.
9707
9708 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9709
9710         * check/gst/gstpad.c:
9711         * check/gstcheck.c:
9712         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9713           if pad has no parent, return NULL as list of internal links
9714
9715 2005-07-05  Andy Wingo  <wingo@pobox.com>
9716
9717         * gst/elements/gstfilesrc.c:
9718         * gst/elements/gstfakesrc.c: 
9719         * gst/base/gstpushsrc.c:
9720         * gst/base/gstbasesrc.h: 
9721         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9722         
9723 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9724
9725         * Makefile.am:
9726           better report generation target (lcov needs a patch)
9727
9728 2005-07-05  Andy Wingo  <wingo@pobox.com>
9729
9730         * gst/elements, testsuite: Null if we got it...
9731
9732 2005-07-05  Wim Taymans  <wim@fluendo.com>
9733
9734         * configure.ac:
9735         * libs/gst/dataprotocol/Makefile.am:
9736         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9737         * libs/gst/dataprotocol/dataprotocol.h:
9738         * pkgconfig/Makefile.am:
9739         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9740         * pkgconfig/gstreamer-dataprotocol.pc.in:
9741         Ported dataprotol to 0.9. 
9742         Added pkgconfig files.
9743
9744 2005-07-05  Andy Wingo  <wingo@pobox.com>
9745
9746         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9747         Default to returning TRUE for the case when tranform_caps returns
9748         a fixed caps, like for identity or volume.
9749
9750         * check/gst/gstbus.c (pound_bus_with_messages): 
9751         * check/gst/gstmessage.c (START_TEST): 
9752         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9753         message API change.
9754
9755         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9756         logic weaks here: always run transform_caps, trying passthrough
9757         operation only if the original caps intersects with the transform.
9758
9759         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9760         source and sink caps.
9761
9762         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9763         Intersect the peer caps with the pad template before going into
9764         transform_caps.
9765         (gst_base_transform_transform_caps): More debugging.
9766
9767         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9768         src argument.
9769
9770 2005-07-04  Edward Hervey  <edward@fluendo.com>
9771
9772         * gst/gstutils.c:
9773         * gst/gstutils.h:
9774         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9775         in bindings.
9776
9777 2005-07-04  Andy Wingo  <wingo@pobox.com>
9778
9779         * check/gst/gstpad.c: Only set explicit caps on pads.
9780
9781 2005-07-01  Andy Wingo  <wingo@pobox.com>
9782
9783         * tests/network-clock.scm: Commentary update.
9784
9785         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9786         Didn't really make sense, not implementable with basetransform,
9787         etc.
9788         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9789         attempt at implementing the sync property, needs an unlock method.
9790
9791         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9792         New func, by default returns the same caps (the identity
9793         transformation).
9794         (gst_base_transform_getcaps): Uses transform_caps to return
9795         something sensible.
9796         (gst_base_transform_setcaps): Complicated logic to get caps on
9797         both pads, even if they are different, and to call set_caps once
9798         for every time both pads get their caps set.
9799         (gst_base_transform_handle_buffer): Give the ref to the transform
9800         function. Allows in-place modification of the buffer.
9801
9802         * gst/base/gstbasetransform.h (transform_caps): New class method.
9803         Given caps on one side, what can I do on the other.
9804         (set_caps): Take two caps, one for each side of the element.
9805
9806         * gst/gstpad.h:
9807         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9808         caps in place. This is safe because we can check the mutability of
9809         the caps, and a good idea because fixate functions are just called
9810         as a matter of last resort. (Not actually implemented.)
9811         (gst_pad_set_caps): If the caps we're setting is actually the same
9812         as the existing pad caps, just update the pointer without calling
9813         setcaps. Assert that caps is either NULL or fixed, as per the
9814         docs.
9815
9816         * gst/gstghostpad.c: Update for fixate changes.
9817
9818 2005-07-02  Andy Wingo  <wingo@pobox.com>
9819
9820         * gst/gstcaps.c:
9821         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9822         two refcounts makes it immutable, which is enough. Doc more.
9823
9824 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9825
9826         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9827           Put the mini_object into GValue as a mini_object,
9828           not a gpointer, since that's how we declared
9829           the signal.
9830
9831 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9832
9833         * examples/pwg/Makefile.am:
9834           Fix buildbot again.
9835
9836 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9837
9838         * docs/pwg/building-testapp.xml:
9839           Add extra check.
9840         * examples/pwg/Makefile.am:
9841           Fix buildbot.
9842
9843 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9844
9845         * configure.ac:
9846         * examples/Makefile.am:
9847         * examples/pwg/Makefile.am:
9848         * examples/pwg/extract.pl:
9849           Enable building the PWG examples.
9850         * docs/pwg/advanced-interfaces.xml:
9851           Add URI interface stub.
9852         * docs/pwg/advanced-types.xml:
9853         * docs/pwg/other-autoplugger.xml:
9854         * docs/pwg/appendix-porting.xml:
9855         * docs/pwg/pwg.xml:
9856           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9857         * docs/pwg/building-boiler.xml:
9858         * docs/pwg/building-chainfn.xml:
9859         * docs/pwg/building-pads.xml:
9860         * docs/pwg/building-props.xml:
9861         * docs/pwg/building-state.xml:
9862         * docs/pwg/building-testapp.xml:
9863           Update the building-*.xml parts for 0.9 changes. All examples
9864           code blocks compile in examples/pwg/*.
9865
9866 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9867
9868         * docs/manual/advanced-autoplugging.xml:
9869         * docs/manual/appendix-checklist.xml:
9870         * docs/manual/appendix-integration.xml:
9871         * docs/manual/highlevel-components.xml:
9872           Fix playbin/decodebin examples, update docs a bit, mention bus
9873           instead of signals in various places, mention kmplayer and
9874           kaffeine since they have a working GStreamer backend in the KDE
9875           section.
9876
9877 2005-06-30  Wim Taymans  <wim@fluendo.com>
9878
9879         * CHANGES-0.9:
9880         * docs/design/draft-ghostpads.txt:
9881         * docs/design/draft-push-pull.txt:
9882         * docs/design/draft-query.txt:
9883         * docs/design/part-TODO.txt:
9884         * docs/design/part-query.txt:
9885         Added CHANGES-0.9 doc, updated status of other docs.
9886         
9887         * gst/gstquery.h:
9888         Remove "hmm" macro
9889
9890 2005-06-30  Wim Taymans  <wim@fluendo.com>
9891
9892         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9893         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9894         (gst_base_sink_change_state):
9895         * gst/base/gstbasesink.h:
9896         Some tweaks, only EOS and a buffer complete a preroll.
9897
9898 2005-06-30  Andy Wingo  <wingo@pobox.com>
9899
9900         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9901         activate_push down to the internal pad as well.
9902
9903 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9904
9905         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9906
9907         * gst/gsttaginterface.c:
9908           Some documentation fixes (#307394 and #307397).
9909
9910 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9911
9912         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9913
9914         * gst/gstvalue.c: (gst_value_intersect_list):
9915           Fix memleak (#309125).
9916
9917 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9918
9919         * docs/manual/advanced-dataaccess.xml:
9920           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9921         * docs/manual/basics-pads.xml:
9922           Add reference for filtered caps to above chapter.
9923
9924 2005-06-30  Wim Taymans  <wim@fluendo.com>
9925
9926         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9927         (gst_bin_change_state):
9928         Probes are gone.
9929         Lame attempt at making the state change function a bit
9930         more readable.
9931
9932 2005-06-30  Wim Taymans  <wim@fluendo.com>
9933
9934         * docs/design/part-clocks.txt:
9935         * docs/design/part-element-sink.txt:
9936         * docs/design/part-events.txt:
9937         * docs/design/part-preroll.txt:
9938         * docs/design/part-states.txt:
9939         Some more tweeks and additions to the docs.
9940
9941 2005-06-30  Wim Taymans  <wim@fluendo.com>
9942
9943         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9944         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9945         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9946         (gst_pad_check_pull_range), (gst_pad_get_range),
9947         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9948         * gst/gstpad.h:
9949         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9950         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9951         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9952         (gst_pad_remove_buffer_probe):
9953         Removed atomic operations, use existing LOCK.
9954         Move exception handling out of main code path.
9955
9956 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9957
9958         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9959         (silly_return_true_function), (gst_pad_class_init),
9960         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9961         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9962         (gst_pad_send_event):
9963           Fix accumulator, add default value by using _emitv() instead
9964           of _emit() for signal emission.
9965
9966 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9967
9968         * docs/manual/advanced-dataaccess.xml:
9969         * examples/manual/Makefile.am:
9970           Add probe example.
9971         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9972           Make work (??).
9973
9974 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9975
9976         * gst/elements/gstfilesink.c: (gst_filesink_render):
9977           Simplify code so that we don't have to handle short
9978           writes and return GST_FLOW_ERROR if an error occured.
9979
9980 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9981
9982         * docs/gst/gstreamer-docs.sgml:
9983           Remove probes more.
9984
9985 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9986
9987         * docs/gst/gstreamer-sections.txt:
9988         * docs/gst/tmpl/gstpad.sgml:
9989         * docs/gst/tmpl/gstprobe.sgml:
9990         * gst/Makefile.am:
9991         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9992         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9993         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9994         (gst_pad_push_event), (gst_pad_send_event):
9995         * gst/gstpad.h:
9996         * gst/gstutils.c: (gst_pad_add_data_probe),
9997         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9998         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9999         (gst_pad_remove_buffer_probe):
10000         * gst/gstutils.h:
10001           Remove old probes, add new g-signal-based probes and some utility
10002           functions.
10003
10004 2005-06-29  Edward Hervey  <edward@fluendo.com>
10005
10006         * gst/gstelementfactory.c:
10007         * gst/gstutils.h:
10008         * gst/gstutils.c:
10009         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10010         the definition to the header file.
10011
10012 2005-06-29  Andy Wingo  <wingo@pobox.com>
10013
10014         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10015         plugins from the source directory.
10016
10017 2005-06-29  Wim Taymans  <wim@fluendo.com>
10018
10019         * docs/gst/tmpl/gstbuffer.sgml:
10020         * docs/gst/tmpl/gstclock.sgml:
10021         Some fixings for blantently wrong text.
10022
10023 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10024
10025         * check/Makefile.am:
10026         * gst/gst.c: (add_path_func), (init_pre):
10027         * gst/gstregistry.c: (gst_registry_add_path):
10028           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10029           only scan the GST_PLUGIN_PATH locations, and not add
10030           system locations
10031
10032 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10033
10034         * docs/gst/gstreamer-sections.txt:
10035         * docs/gst/tmpl/gstbasesrc.sgml:
10036         * gst/gstelement.c:
10037         * gst/gstelement.h:
10038         * gst/gstevent.c:
10039         * gst/gstutils.c:
10040           doc fixes
10041
10042 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10043
10044         * docs/manual/advanced-autoplugging.xml:
10045           Fix autoplugging example.
10046
10047 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10048
10049         * docs/manual/advanced-autoplugging.xml:
10050         * docs/manual/mime-world.fig:
10051           Try to get autoplugging working, fix type detection. Fix text
10052           in hello-world image.
10053
10054 2005-06-29  Wim Taymans  <wim@fluendo.com>
10055
10056         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10057         (gst_base_sink_change_state):
10058         Small debug line.
10059
10060         * gst/gstclock.h:
10061         map SIGNAL and BROADCAST to the right function.
10062
10063         * gst/gstobject.h:
10064         Remove redundant braces.
10065
10066         * gst/gstpad.c: (gst_pad_set_caps):
10067         Don't call setcaps function when reseting caps to NULL.
10068
10069         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10070         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10071         (gst_system_clock_id_unschedule):
10072         Use BROADCAST as this is what we do.
10073
10074 2005-06-29  Wim Taymans  <wim@fluendo.com>
10075
10076         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10077         We are actually prerolling before commiting the state
10078         change. 
10079
10080 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10081
10082         * docs/manual/advanced-clocks.xml:
10083         * docs/manual/advanced-interfaces.xml:
10084         * docs/manual/advanced-metadata.xml:
10085         * docs/manual/advanced-position.xml:
10086         * docs/manual/advanced-schedulers.xml:
10087         * docs/manual/advanced-threads.xml:
10088         * docs/manual/appendix-porting.xml:
10089         * docs/manual/basics-bins.xml:
10090         * docs/manual/basics-bus.xml:
10091         * docs/manual/basics-elements.xml:
10092         * docs/manual/basics-helloworld.xml:
10093         * docs/manual/basics-pads.xml:
10094         * docs/manual/highlevel-components.xml:
10095         * docs/manual/manual.xml:
10096         * docs/manual/thread.fig:
10097           Update (until threads/scheduling) Application Development Manual;
10098           remove GstThread, add GstBus, add simple porting checklist, add
10099           documentation for tag writing, clocks, make all examples until this
10100           part compile and run.
10101         * examples/manual/Makefile.am:
10102           Update from changes to Application Development Manual; add bus
10103           example, remove thread example.
10104
10105 2005-06-28  Wim Taymans  <wim@fluendo.com>
10106
10107         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10108         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10109         (gst_bus_source_dispatch):
10110         Add debugging messages.
10111         Make internal methods static.
10112         Handle the case where the bus is flushed in the handler.
10113         
10114         * gst/gstelement.c: (gst_element_get_bus):
10115         Fix refcount in _get_bus();
10116
10117         * gst/gstpipeline.c: (gst_pipeline_change_state),
10118         (gst_pipeline_get_clock_func):
10119         Clock refcounting fixes.
10120         Handle the case where preroll timed out more gracefully.
10121         
10122         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10123         Clean up the internal thread in dispose. This is needed
10124         for subclasses that actually get disposed.
10125         
10126         * gst/schedulers/threadscheduler.c:
10127         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10128         (gst_thread_scheduler_dispose):
10129         Free thread pool in dispose.
10130
10131 2005-06-28  Andy Wingo  <wingo@pobox.com>
10132
10133         * tests/network-clock-utils.scm (debug, print-event): New utils.
10134
10135         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10136         (*packet-loss*): Unified loss probability.
10137         (network-time): Report out-of-band events.
10138
10139         * tests/plot-data: Add support for out-of-band events. Hack it
10140         into this script instead of passing it down the pipe; should fix
10141         this later.
10142
10143 2005-06-28  Wim Taymans  <wim@fluendo.com>
10144
10145         * docs/gst/gstreamer.types:
10146         * docs/gst/tmpl/gstbasesrc.sgml:
10147         * docs/gst/tmpl/gstpad.sgml:
10148         Docs fixes.
10149
10150 2005-06-28  Wim Taymans  <wim@fluendo.com>
10151
10152         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10153         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10154         (gst_proxy_pad_do_fixatecaps):
10155         Correctly proxy the check_pull_range function.
10156
10157 2005-06-28  Andy Wingo  <wingo@pobox.com>
10158
10159         * tests/network-clock.scm: Removed need for slib.
10160         
10161 2005-06-28  Wim Taymans  <wim@fluendo.com>
10162
10163         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10164         (gst_basesink_preroll_queue_flush):
10165         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10166         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10167         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10168         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10169         (gst_proxy_pad_set_property):
10170         * gst/gstpad.c:
10171         * gst/gstpad.h:
10172         * gst/gstqueue.c: (gst_queue_init):
10173         The deprecated pad loop function is removed now.
10174
10175 2005-06-28  Andy Wingo  <wingo@pobox.com>
10176
10177         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10178         New parameters, simulate network packet loss.
10179
10180         * tests/network-clock-utils.scm: Initialize the RNG.
10181
10182 2005-06-28  Wim Taymans  <wim@fluendo.com>
10183
10184         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10185         (gst_basesink_event), (gst_basesink_deactivate):
10186         Flushing the preroll queue always needs to unlock the waiters.
10187
10188 2005-06-28  Edward Hervey  <edward@fluendo.com>
10189
10190         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10191         Wheen a seek was successful on a pipeline, set the stream_time to the
10192         seek offset in order to have a synchronized stream_time.
10193
10194 2005-06-28  Wim Taymans  <wim@fluendo.com>
10195
10196         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10197         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10198         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10199         (gst_proxy_pad_do_fixatecaps):
10200         Call wrapper function instead of just calling the function
10201         pointers. This takes care of any locking and whatmore.
10202
10203 2005-06-28  Wim Taymans  <wim@fluendo.com>
10204
10205         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10206         (gst_pad_pull_range):
10207         * gst/gstpad.h:
10208         CONNECTED -> LINKED.
10209
10210 2005-06-28  Andy Wingo  <wingo@pobox.com>
10211
10212         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10213         source-munging commit!!!
10214
10215         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10216         (gst_object_sink): Take gpointer arguments, not GstObject --
10217         avoids casts. Like GLib.
10218
10219         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10220         activate.
10221
10222 2005-06-27  Andy Wingo  <wingo@pobox.com>
10223
10224         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10225         remaining buffer.
10226
10227         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10228         returns a sorted copy of the trace list.
10229         (gst_alloc_trace_print_live): New API, only prints traces with
10230         live objects. Sort the list.
10231         (gst_alloc_trace_print_all): Sort the list.
10232         (gst_alloc_trace_print): Align columns.
10233
10234         * gst/elements/gstttypefindelement.c:
10235         * gst/elements/gsttee.c:
10236         * gst/base/gstbasesrc.c:
10237         * gst/base/gstbasesink.c:
10238         * gst/base/gstbasetransform.c:
10239         * gst/gstqueue.c: Adapt for pad activation changes.
10240
10241         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10242         sched.
10243         (gst_pipeline_dispose): Drop ref on sched.
10244
10245         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10246         (gst_pad_activate_default): Push mode by default.
10247         (pre_activate_switch, post_activate_switch): New stubs, things to
10248         do before and after switching activation modes on pads.
10249         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10250         the pad's activate function to choose which mode to activate.
10251         Shortcut on deactivation and call the right function directly.
10252         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10253         mode.
10254         (gst_pad_activate_push): New API, same for push mode.
10255         (gst_pad_set_activate_function) 
10256         (gst_pad_set_activatepull_function) 
10257         (gst_pad_set_activatepush_function): Setters for new API.
10258
10259         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10260         Trace all miniobjects.
10261         (gst_mini_object_make_writable): Unref the arg if we copy, like
10262         gst_caps_make_writable.
10263
10264         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10265
10266         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10267         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10268         Adapt for new pad API.
10269
10270         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10271
10272         * gst/gstelement.h:
10273         * gst/gstelement.c (gst_element_iterate_src_pads) 
10274         (gst_element_iterate_sink_pads): New API functions.
10275         
10276         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10277         should fold into gstiterator.c in some form.
10278         (gst_element_pads_activate): Simplified via use of fold and
10279         delegation of decisions to gstpad->activate.
10280
10281         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10282         help in debugging.
10283
10284         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10285         class once in init, like gstmessage. Didn't run into this issue
10286         but it seems correct. Don't initialize a trace, gstminiobject does
10287         that.
10288
10289         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10290         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10291         to the bus.
10292         (assert_live_count): New util function, uses alloc traces to check
10293         cleanup.
10294
10295         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10296         To be modified when unlink drops the internal pad.
10297
10298 2005-06-27  Wim Taymans  <wim@fluendo.com>
10299
10300         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10301         (gst_bin_change_state):
10302         Cleanup the get_state() function a little, make sure it
10303         iterates the same set of elements.
10304         Added stub iterate_state_order().
10305
10306 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10307
10308         * docs/gst/gstreamer-docs.sgml:
10309         * docs/gst/gstreamer-sections.txt:
10310         * docs/gst/gstreamer.types:
10311         * docs/gst/tmpl/gstbasesink.sgml:
10312         * docs/gst/tmpl/gstbasesrc.sgml:
10313         * docs/gst/tmpl/gstbasetransform.sgml:
10314         * docs/gst/tmpl/gstelement.sgml:
10315         * docs/gst/tmpl/gstiterator.sgml:
10316         * gst/base/gstbasesrc.c:
10317         * gst/base/gstbasesrc.h:
10318         * gst/base/gstbasetransform.h:
10319         * gst/gstelement.c:
10320         * gst/gstiterator.h:
10321           adding basetransform and iterator docs
10322
10323 2005-06-27  Andy Wingo  <wingo@pobox.com>
10324
10325         * docs/design/part-activation.txt: Notes on how activation should
10326         work -- not quite implemented yet.
10327
10328 2005-06-25  Wim Taymans  <wim@fluendo.com>
10329
10330         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10331         At least get the chain function correct, needs more
10332         fixing.
10333
10334 2005-06-25  Wim Taymans  <wim@fluendo.com>
10335
10336         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10337         (gst_basesink_handle_object), (gst_basesink_event),
10338         (gst_basesink_do_sync), (gst_basesink_handle_event),
10339         (gst_basesink_change_state):
10340         * gst/gsttask.h:
10341         Right, two problems here: ghostpads don't take locks and
10342         glib _rec_mutex_lock_full() with depth==0 still locks.
10343         Catch illegal locking and g_warn them.
10344
10345 2005-06-25  Wim Taymans  <wim@fluendo.com>
10346
10347         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10348         Have to check for completion now...
10349
10350 2005-06-25  Wim Taymans  <wim@fluendo.com>
10351
10352         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10353         (gst_basesink_handle_object), (gst_basesink_event),
10354         (gst_basesink_do_sync), (gst_basesink_handle_event),
10355         (gst_basesink_change_state):
10356         * gst/gstpad.h:
10357         Unlock STREAM_LOCK whatever the recursion was.
10358
10359 2005-06-25  Wim Taymans  <wim@fluendo.com>
10360
10361         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10362         (gst_basesink_preroll_queue_empty),
10363         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10364         (gst_basesink_event), (gst_basesink_do_sync),
10365         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10366         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10367         (gst_basesink_change_state):
10368         Reworked the base sink, handle event and buffer serialisation
10369         correctly and removed possible deadlock.
10370         Handle EOS correctly.
10371
10372 2005-06-25  Wim Taymans  <wim@fluendo.com>
10373
10374         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10375         (gst_pipeline_change_state):
10376         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10377         Allow elements to post EOS in the state change function.
10378         Fix up -launch, make it exit the poll loop when the
10379         pipeline actually changed state.
10380         Fix up warning parsing in -launch.
10381
10382 2005-06-25  Wim Taymans  <wim@fluendo.com>
10383
10384         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10385         (gst_tee_sink_activate):
10386         Core takes STREAM_LOCK for us now.
10387
10388 2005-06-25  Wim Taymans  <wim@fluendo.com>
10389
10390         * gst/gstelement.c: (gst_element_get_state_func),
10391         (gst_element_set_state):
10392         * gst/gstelement.h:
10393         * gst/gstmessage.c: (gst_message_parse_error),
10394         (gst_message_parse_warning):
10395         Keep track of current target state while performing a state
10396         change so that subclasses can do something interesting.
10397         Fix parsing of warning/error messages when GError is NULL.
10398
10399 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10400
10401         * docs/gst/Makefile.am:
10402         * docs/gst/gstreamer-docs.sgml:
10403         * docs/gst/gstreamer-sections.txt:
10404         * docs/gst/gstreamer.types:
10405         * docs/gst/tmpl/gstbasesink.sgml:
10406         * docs/gst/tmpl/gstbasesrc.sgml:
10407         * docs/gst/tmpl/gstbin.sgml:
10408         * docs/gst/tmpl/gstcompat.sgml:
10409         * docs/gst/tmpl/gstfakesink.sgml:
10410         * docs/gst/tmpl/gstfakesrc.sgml:
10411         * docs/gst/tmpl/gstfilesink.sgml:
10412         * docs/gst/tmpl/gstfilesrc.sgml:
10413         * docs/gst/tmpl/gstindex.sgml:
10414         * docs/manual/appendix-quotes.xml:
10415         * gst/base/gstbasesrc.h:
10416         * gst/elements/gstfakesrc.h:
10417         * gst/gstmessage.h:
10418           start pulling in base classes and elements in our docs
10419
10420 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10421
10422         * docs/gst/Makefile.am:
10423         * docs/libs/Makefile.am:
10424           fixed make distcheck with gtk-doc 1.3
10425
10426 2005-06-23  Wim Taymans  <wim@fluendo.com>
10427
10428         * gst/gstelement.c: (gst_element_get_state_func),
10429         (gst_element_set_state), (gst_element_change_state):
10430         When the state did not change, also report NO_PREROLL
10431         when it matters.
10432
10433 2005-06-23  Wim Taymans  <wim@fluendo.com>
10434
10435         * gst/gstpad.c: (gst_pad_event_default):
10436         * gst/gstqueue.c: (gst_queue_loop):
10437         No unsafe task pausing please.
10438
10439 2005-06-23  Wim Taymans  <wim@fluendo.com>
10440
10441         * gst/schedulers/threadscheduler.c:
10442         (gst_thread_scheduler_task_start),
10443         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10444         Ref the task before pushing it on the threadpool. This
10445         makes sure that we have a ref when the threadfunction is
10446         actually called.
10447
10448 2005-06-23  Andy Wingo  <wingo@pobox.com>
10449
10450         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10451         offset is greater than the file's size.
10452
10453         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10454         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10455         * gst/gstobject.c (gst_object_class_init): Make the class lock
10456         recursive. Wim won't let me drop deep_notify. Decodebin works
10457         again, whoopdy doo.
10458
10459         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10460         internal pad, and hacks accordingly. Doesn't do it on the target
10461         pad because we change its caps. Probably catches all cases of
10462         interest tho.
10463         (gst_ghost_pad_set_property): Connect to notify::caps as
10464         appropritate.
10465
10466         * tests/network-clock.scm (plot-simulation): Pipe data to the
10467         elite python skript.
10468
10469         * tests/network-clock-utils.scm (define-parameter): New macro,
10470         defines a parameter that can be set via the command line.
10471         (set-parameter!, parse-parameter-arguments): Command line args
10472         parser.
10473
10474         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10475         stdin.
10476
10477 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10478
10479         * gst/elements/gsttypefindelement.c:
10480         (gst_type_find_element_handle_event):
10481           Don't restart typefinding on a discont.
10482         * gst/gstelement.c: (gst_element_set_state):
10483           Debug spelling fix.
10484         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10485           Allow changing mode of an active pad.
10486           Debug output fixes.
10487         * gst/registries/gstlibxmlregistry.c: (load_feature):
10488           Don't cast a static pad template to a normal pad template.
10489
10490 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10491
10492         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10493         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10494           remove gst_strtoll completely, since it didn't actually do
10495           anything more than what g_ascii_strtoull already does.
10496           check for range errors when deserializing
10497           do a cast for the unsigned cases; but further fixing needs
10498           a decision on what the interpretation of "(int)" and
10499           deserialization should be for values that fall outside the
10500           type's boundaries (ie, refuse, or interpret as casting)
10501
10502 2005-06-23  Wim Taymans  <wim@fluendo.com>
10503
10504         * check/Makefile.am:
10505         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10506         * docs/design/part-live-source.txt:
10507         * docs/design/part-states.txt:
10508         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10509         (gst_basesrc_set_live), (gst_basesrc_is_live),
10510         (gst_basesrc_get_range), (gst_basesrc_activate),
10511         (gst_basesrc_change_state):
10512         * gst/base/gstbasesrc.h:
10513         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10514         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10515         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10516         * gst/gstelement.c: (gst_element_get_state_func),
10517         (gst_element_set_state):
10518         * gst/gstelement.h:
10519         * gst/gsttypes.h:
10520         * tools/gst-launch.c: (event_loop), (main):
10521         Added support for live sources and other elements that
10522         cannot do preroll.
10523         Updated design docs, added live-source design doc.
10524         Implemented live source functionality in basesrc
10525         Fix error condition in _bin_get_state()
10526         Implement live source handling in -launch.
10527         Added check for live sources.
10528         Fixed case in GstBin where elements were changed state
10529         multiple times.
10530
10531
10532 2005-06-23  Andy Wingo  <wingo@pobox.com>
10533
10534         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10535         borken refcounting.
10536
10537         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10538         gst_caps_replace takes care of this for us.
10539
10540         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10541         gst_pad_set_caps on the target, not just its setcaps() function.
10542
10543         * tests/network-clock.scm: 
10544         * tests/network-clock-utils.scm: A network clock simulator.
10545         Something of an algorithmic testbed before doing something in C.
10546
10547 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10548
10549         * check/Makefile.am:
10550         * check/gst/capslist.h:
10551           copy over from 0.8, and add two with bitmasks specified with
10552           (int) 0xFF...
10553         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10554           add test to parse everything from capslist.h
10555         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10556         (main):
10557           add test for structure deserialization
10558         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10559           add tests for deserialization of strings to int types
10560         * gst/gststructure.c: (gst_structure_nth_field_name):
10561         * gst/gststructure.h:
10562           add a way to get the name of a field referenced by index
10563         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10564           instead of checking if the resulting long long lies between
10565           min and max, we check if the long long would fit into
10566           a number of bytes for the final type.
10567           This fixes cases where a string represents 2^32 - 1, which
10568           when cast to int would be the (valid) -1, but is bigger than
10569           G_MAXINT
10570
10571 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10572
10573         * gst/parse/grammar.y:
10574           add a log line for type deserialization
10575
10576 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10577
10578         * check/gst/gstvalue.c: (START_TEST):
10579         * gst/gstvalue.c: (gst_value_deserialize):
10580           return long long, not int, so gint64 deserialization actually
10581           works.  Is there any flag that makes the compiler check this ?
10582           Fixes #308559
10583
10584 2005-06-22  Wim Taymans  <wim@fluendo.com>
10585
10586         * gst/gstbuffer.h:
10587         Added convenience macros for setting buffers in GValue.
10588
10589 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10590
10591         * check/gst/.cvsignore:
10592         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10593           add a test deserializing int64, and comment part out because
10594           it fails, yay !
10595
10596 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10597
10598         * check/Makefile.am:
10599         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10600         * testsuite/Makefile.am:
10601         * testsuite/caps/Makefile.am:
10602         * testsuite/caps/value_serialize.c:
10603         * testsuite/test_gst_init.c:
10604           move a value_serialize test over
10605
10606 2005-06-20  Wim Taymans  <wim@fluendo.com>
10607
10608         * gst/gstpad.c:
10609         Small doc updates.
10610         
10611         * gst/gstvalue.c: (gst_value_compare_buffer),
10612         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10613         (gst_value_compare_flags), (gst_value_serialize_flags),
10614         (gst_value_deserialize_flags), (_gst_value_initialize):
10615         Fix serialisation of buffers, they are not boxed types anymore
10616
10617 2005-06-20  Wim Taymans  <wim@fluendo.com>
10618
10619         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10620         Testcase to show error in buffer-on-caps serialisation.
10621
10622 2005-06-20  Andy Wingo  <wingo@pobox.com>
10623
10624         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10625         will be adding to later.
10626
10627         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10628         if its socks fill with rocks.
10629         (gst_system_clock_obtain): Set the name on object construction.
10630         Avoid double-checked locking.
10631
10632 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10633
10634         * gst/gsturi.c: (gst_element_make_from_uri):
10635           Fix potential endless loop.
10636
10637 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10638
10639         * check/Makefile.am:
10640           add gsttag
10641         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10642         (main):
10643           move over from testsuite dir and clean up
10644         * configure.ac:
10645         * gst/gsttag.c:
10646         * testsuite/Makefile.am:
10647         * testsuite/tags/.cvsignore:
10648         * testsuite/tags/Makefile.am:
10649         * testsuite/tags/merge.c:
10650           remove testsuite/tags
10651
10652 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10653
10654         * docs/gst/gstreamer-sections.txt:
10655         * docs/gst/tmpl/gstenumtypes.sgml:
10656         * win32/gstenumtypes.c:
10657           clean up documentation build a little
10658
10659 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10660
10661         * check/gstcheck.h:
10662           add macros for checking refcounts on objects and caps
10663         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10664           add some more unit tests
10665         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10666         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10667           fix leaked refcounts (I hope :)) so unittest works
10668         * gst/gstpad.h:
10669           whitespace removal
10670
10671 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10672
10673         * configure.ac: back to HEAD
10674
10675 === release 0.9.1 ===
10676
10677 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10678
10679         * NEWS:
10680         * RELEASE:
10681           updated
10682
10683 2005-06-17  Andy Wingo  <wingo@pobox.com>
10684
10685         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10686         assert; it's always possible that the pad gets deactivated in
10687         between the checks in gstpad.c and the implementation. Rely on
10688         finish_preroll() to return a FLUSHING or similar instead of on the
10689         assert.
10690         
10691         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10692         clock and post an EOS message if we come out of finish_preroll in
10693         the playing state.
10694
10695 2005-06-16  David Schleef  <ds@schleef.org>
10696
10697         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10698         (gst_capsfilter_set_property): Allow NULL as possible value
10699         for filter_caps property, indicating GST_CAPS_ANY.
10700
10701 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10702
10703         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10704           fix debug output
10705         * gst/schedulers/Makefile.am:
10706           use libgst prefix
10707         * gstreamer.spec.in:
10708           fix spec for it
10709
10710 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10711
10712         * gstreamer.spec.in:
10713           clean up
10714
10715 2005-06-08  Andy Wingo  <wingo@pobox.com>
10716
10717         * gst/gstutils.c: RPAD fixes all around.
10718         (gst_element_link_pads): Refcounting fixes.
10719
10720         * tools/gst-inspect.c:
10721         * tools/gst-xmlinspect.c:
10722         * parse/grammar.y:
10723         * gst/base/gsttypefindhelper.c:
10724         * gst/base/gstbasesink.c:
10725         * gst/gstqueue.c: RPAD fixes.
10726
10727         * gst/gstghostpad.h:
10728         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10729         pads. The tricky thing is they provide both source and sink
10730         interfaces, since they proxy the internal pad for the external
10731         pad, and vice versa. Implement with lower-level ProxyPad objects,
10732         with the interior proxy pad as a child of the exterior ghost pad.
10733         Should write a doc on this.
10734         
10735         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10736         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10737         gst_object API.
10738         
10739         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10740         pads are real pads. No ghost pads in this file. Not documenting
10741         the myriad s/RPAD/PAD/ and REALIZE fixes.
10742         (gst_pad_class_init): Add properties for "direction" and
10743         "template". Both are construct-only, so they can't change during
10744         the life of the pad. Fixes properly deriving from GstPad.
10745         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10746         derived objects, just set properties when creating the objects via
10747         g_object_new.
10748         (gst_pad_get_parent): Implement as a function, return NULL if the
10749         parent is not an element.
10750         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10751         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10752         
10753         * gst/gstobject.c (gst_object_class_init): Make name a construct
10754         property. Don't set it in the object init.
10755
10756         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10757         with UNKNOWN direction.
10758         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10759         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10760         (gst_element_remove_pad): Remove ghost-pad special cases.
10761         (gst_element_pads_activate): Remove rpad cruft.
10762
10763         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10764         catch the pad's-parent-not-an-element case.
10765
10766         * gst/gst.h: Include gstghostpad.h.
10767
10768         * gst/gst.c (init_post): No more real, ghost pads.
10769
10770         * gst/Makefile.am: Add gstghostpad.[ch].
10771
10772         * check/Makefile.am:
10773         * check/gst/gstbin.c:
10774         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10775         into a bin creates ghost pads, and that the refcounts are right.
10776         Partly moved from gstbin.c.
10777
10778 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10779
10780         * check/gst-libs/.cvsignore:
10781         * check/gst/.cvsignore:
10782         * check/pipelines/.cvsignore:
10783           ignore more
10784         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10785         (START_TEST), (cleanup_suite), (main):
10786           add some tests related to cleanup after running pipelines
10787
10788 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10789
10790         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10791           add a testsuite for GstBuffer
10792
10793 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10794
10795         * gst/gstminiobject.h:
10796           add defines for accessing the refcount
10797
10798 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10799
10800         * Makefile.am: added support for html unit test coverage reports
10801
10802 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10803
10804         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10805           Free existing caps if the capsfilter changes. Add a FIXME about
10806           setting those caps on the pads.
10807
10808         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10809           Before adding a ghost pad to a parent bin, check that there isn't
10810           already one for the element on the bin. Prevents infinite recursion
10811           when using decodebin in parse pipelines. Andy says he'll rewrite the
10812           way this works anyway, so ignore the hack.
10813
10814 2005-06-02  Andy Wingo  <wingo@pobox.com>
10815
10816         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10817         file size, pass it on to the type find helper.
10818
10819         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10820         segment_start and segment_end properly according to the seek
10821         method. Segment_end is still a bit flaky because offset can be
10822         negative for CUR and END cases, but it takes -1 as an "unset"
10823         value.
10824
10825 2005-06-02  Wim Taymans  <wim@fluendo.com>
10826
10827         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10828         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10829         (gst_basesink_activate):
10830         * gst/base/gstbasesink.h:
10831         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10832         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10833         (gst_pad_query), (gst_pad_start_task):
10834         * gst/gstpad.h:
10835         * gst/gstqueue.c: (gst_queue_bufferalloc),
10836         (gst_queue_handle_sink_event), (gst_queue_chain):
10837         Bufferalloc: return GstFlowReturn to more accuratly report
10838         why allocation failed.
10839
10840 2005-06-02  Wim Taymans  <wim@fluendo.com>
10841
10842         * gst/gstpipeline.c: (gst_pipeline_send_event):
10843         Take snapshot of state without blocking.
10844
10845 2005-06-02  Wim Taymans  <wim@fluendo.com>
10846
10847         * docs/design/part-TODO.txt:
10848         * docs/design/part-caps.txt:
10849         * docs/design/part-clocks.txt:
10850         * docs/design/part-negotiation.txt:
10851         * docs/design/part-preroll.txt:
10852         Small doc updates 
10853
10854 2005-05-30  Wim Taymans  <wim@fluendo.com>
10855
10856         * gst/elements/gstidentity.c: (gst_identity_event),
10857         (gst_identity_transform), (gst_identity_get_property):
10858         Protect last_message property as it is accessed from
10859         multiple threads.
10860
10861 2005-05-30  Wim Taymans  <wim@fluendo.com>
10862
10863         * gst/gstelement.c: (gst_element_init),
10864         (gst_element_pads_activate), (gst_element_change_state):
10865         Slicker pad activation code.
10866
10867 2005-05-30  Wim Taymans  <wim@fluendo.com>
10868
10869         * gst/Makefile.am:
10870         * gst/gstelement.h:
10871         * gst/gstelementfactory.h:
10872         * gst/gsttypes.h:
10873         Move elementfactory methods to separate .h file.
10874
10875 2005-05-30  Wim Taymans  <wim@fluendo.com>
10876
10877         * docs/design/part-overview.txt:
10878         * gst/gstsystemclock.h:
10879         Small typo fixes, doc updates.
10880
10881 2005-05-30  Wim Taymans  <wim@fluendo.com>
10882
10883         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10884         (init_popt_callback):
10885         Remove cpu-opt flag.
10886
10887 2005-05-30  Wim Taymans  <wim@fluendo.com>
10888
10889         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10890         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10891         * gst/gstbuffer.h:
10892         Avoid typechecking in places where not needed.
10893         Added accessor for malloc_data.
10894
10895 2005-05-30  Wim Taymans  <wim@fluendo.com>
10896
10897         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10898         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10899         (gst_pad_configure_sink), (gst_pad_configure_src),
10900         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10901         (gst_pad_start_task):
10902         Propagate errors from _set_caps() in configure_src/sink
10903         functions instead of returning TRUE.
10904         FLUSH events can travel up and downstream
10905
10906
10907 2005-05-30  Wim Taymans  <wim@fluendo.com>
10908
10909         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10910         (gst_basesink_activate):
10911         Handle EOS in preroll.
10912
10913 2005-05-30  Wim Taymans  <wim@fluendo.com>
10914
10915         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10916         (gst_queue_loop), (gst_queue_handle_src_event):
10917         Remove old pieces of code
10918         Flushing the queue in an upstream event is a very bad idea.
10919
10920 2005-05-26  Andy Wingo  <wingo@pobox.com>
10921
10922         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10923         gst_value_set_mini_object so as to add a ref on the object (which
10924         will be removed when the value is unset).
10925
10926         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10927         arg type in ::handoff.
10928
10929         * gst/gstelement.c (gst_element_change_state): Also deactivate
10930         pads in READY->NULL, just in case the element didn't make it to
10931         PAUSED. Wingo tested, Wim approved.
10932
10933 2005-05-26  Wim Taymans  <wim@fluendo.com>
10934
10935         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10936         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10937         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10938         A flushing pad cannot be used to alloc_buffer from.
10939
10940 2005-05-26  Wim Taymans  <wim@fluendo.com>
10941
10942         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10943         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10944         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10945         (gst_bus_create_watch), (gst_bus_add_watch_full):
10946         * gst/gstbus.h:
10947         Implement a real GSource and use g_main_context_wakeup() to
10948         signal new messages instead of the socketpair.
10949
10950 2005-05-25  Wim Taymans  <wim@fluendo.com>
10951
10952         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10953         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10954         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10955         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10956         (gst_pad_send_event), (gst_pad_start_task):
10957         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10958         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10959         (gst_queue_sink_activate), (gst_queue_src_activate),
10960         (gst_queue_change_state):
10961         * gst/gstqueue.h:
10962         Fix state changes for non sinks. We now change sinks, then elements
10963         with unconnected srcpads, then the rest.
10964         More efficient queue unlocking in flush and state changes.
10965         Set the pad activate mode even if it does not have an activate
10966         function.
10967
10968 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10969
10970         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10971           Don't go in pull mode for non-seekable sources.
10972         * gst/elements/gsttypefindelement.h:
10973         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10974         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10975         (free_entry), (stop_typefinding),
10976         (gst_type_find_element_handle_event), (find_peek),
10977         (gst_type_find_element_chain), (do_pull_typefind),
10978         (gst_type_find_element_change_state):
10979           Allow typefinding (w/o seeking) in push-mode, simplified version
10980           of what was in 0.8.
10981         * gst/gstutils.c: (gst_buffer_join):
10982         * gst/gstutils.h:
10983           gst_buffer_join() from 0.8.
10984
10985 2005-05-25  Wim Taymans  <wim@fluendo.com>
10986
10987         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10988         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10989         (gst_pad_send_event), (gst_pad_start_task):
10990         Disable attempt at mode switching until it is figured out.
10991
10992 2005-05-25  Wim Taymans  <wim@fluendo.com>
10993
10994         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10995         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10996         (gst_basesink_finish_preroll), (gst_basesink_chain),
10997         (gst_basesink_loop), (gst_basesink_activate),
10998         (gst_basesink_change_state):
10999         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11000         (gst_basesrc_get_range), (gst_basesrc_loop),
11001         (gst_basesrc_activate):
11002         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11003         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11004         (gst_real_pad_init), (gst_real_pad_set_property),
11005         (gst_real_pad_get_property), (gst_pad_set_active),
11006         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11007         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11008         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11009         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11010         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11011         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11012         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11013         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11014         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11015         (gst_pad_stop_task):
11016         * gst/gstpad.h:
11017         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11018         (gst_queue_loop), (gst_queue_src_activate):
11019         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11020         (gst_task_get_state):
11021         * gst/gsttask.h:
11022         * gst/schedulers/threadscheduler.c:
11023         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11024         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11025         in task function.
11026         Remove ACTIVE pad flag, use FLUSHING everywhere
11027         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11028         functions.
11029         Add locks around IS_FLUSHING when reading.
11030         Take STREAM lock in chain(), get_range() functions so plugins
11031         don't need to take it anymore.
11032         
11033
11034
11035 2005-05-25  Wim Taymans  <wim@fluendo.com>
11036
11037         * tools/gst-launch.c: (event_loop):
11038         Unref message after using its contents instead of
11039         before.
11040
11041 2005-05-24  Wim Taymans  <wim@fluendo.com>
11042
11043         * docs/design/draft-ghostpads.txt:
11044         * docs/design/draft-push-pull.txt:
11045         * docs/design/draft-query.txt:
11046         * docs/design/part-overview.txt:
11047         Docs updates, added general overview doc.
11048
11049 2005-05-21  David Schleef  <ds@schleef.org>
11050
11051         * docs/gst/tmpl/old/GstBin.sgml:
11052         * docs/gst/tmpl/old/GstBuffer.sgml:
11053         * docs/gst/tmpl/old/GstCaps.sgml:
11054         * docs/gst/tmpl/old/GstClock.sgml:
11055         * docs/gst/tmpl/old/GstCompat.sgml:
11056         * docs/gst/tmpl/old/GstData.sgml:
11057         * docs/gst/tmpl/old/GstElement.sgml:
11058         * docs/gst/tmpl/old/GstEvent.sgml:
11059         * docs/gst/tmpl/old/GstIndex.sgml:
11060         * docs/gst/tmpl/old/GstStructure.sgml:
11061         * docs/gst/tmpl/old/GstTag.sgml:
11062         * docs/gst/tmpl/old/cothreads.sgml:
11063         * docs/gst/tmpl/old/cothreads_compat.sgml:
11064         * docs/gst/tmpl/old/gettext.sgml:
11065         * docs/gst/tmpl/old/gobject2gtk.sgml:
11066         * docs/gst/tmpl/old/grammar.tab.sgml:
11067         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11068         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11069         * docs/gst/tmpl/old/gst_private.sgml:
11070         * docs/gst/tmpl/old/gstaggregator.sgml:
11071         * docs/gst/tmpl/old/gstarch.sgml:
11072         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11073         * docs/gst/tmpl/old/gstbufferstore.sgml:
11074         * docs/gst/tmpl/old/gstdata_private.sgml:
11075         * docs/gst/tmpl/old/gstdisksink.sgml:
11076         * docs/gst/tmpl/old/gstdisksrc.sgml:
11077         * docs/gst/tmpl/old/gstelementfactory.sgml:
11078         * docs/gst/tmpl/old/gstextratypes.sgml:
11079         * docs/gst/tmpl/old/gstfakesink.sgml:
11080         * docs/gst/tmpl/old/gstfakesrc.sgml:
11081         * docs/gst/tmpl/old/gstfdsink.sgml:
11082         * docs/gst/tmpl/old/gstfdsrc.sgml:
11083         * docs/gst/tmpl/old/gstfilesink.sgml:
11084         * docs/gst/tmpl/old/gstfilesrc.sgml:
11085         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11086         * docs/gst/tmpl/old/gstidentity.sgml:
11087         * docs/gst/tmpl/old/gstindexfactory.sgml:
11088         * docs/gst/tmpl/old/gstmarshal.sgml:
11089         * docs/gst/tmpl/old/gstmd5sink.sgml:
11090         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11091         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11092         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11093         * docs/gst/tmpl/old/gstpipefilter.sgml:
11094         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11095         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11096         * docs/gst/tmpl/old/gstshaper.sgml:
11097         * docs/gst/tmpl/old/gstspider.sgml:
11098         * docs/gst/tmpl/old/gstspideridentity.sgml:
11099         * docs/gst/tmpl/old/gststatistics.sgml:
11100         * docs/gst/tmpl/old/gsttee.sgml:
11101         * docs/gst/tmpl/old/gsttimecache.sgml:
11102         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11103         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11104         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11105         * docs/gst/tmpl/old/types.sgml:
11106           I didn't intend to add these or check them in.
11107
11108 2005-05-19  David Schleef  <ds@schleef.org>
11109
11110         * configure.ac: Use -no-common everywhere.  In a sane world, it
11111           would be the default in libtool, because without it, you can't
11112           build DLLs on Windows.
11113         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11114         * docs/gst/gstreamer-sections.txt:
11115         * docs/gst/tmpl/gstcpu.sgml:
11116         * docs/gst/tmpl/gstdata.sgml:
11117         * docs/gst/tmpl/gstthread.sgml:
11118
11119 2005-05-19  David Schleef  <ds@schleef.org>
11120
11121         * gst/gstminiobject.c: (gst_value_set_mini_object),
11122         (gst_value_take_mini_object), (gst_value_get_mini_object):
11123         * gst/gstminiobject.h: Add GValue set/get functions.
11124
11125 2005-05-19  Wim Taymans  <wim@fluendo.com>
11126
11127         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11128         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11129         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11130         * gst/gstbuffer.h:
11131         * gst/gstbus.c: (gst_bus_post):
11132         * gst/gstelement.c: (gst_element_get_random_pad):
11133         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11134         Make subbufer unref the parent in finalize.
11135         some more debugging info.
11136
11137
11138 2005-05-19  Wim Taymans  <wim@fluendo.com>
11139
11140         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11141         (gst_basesink_init), (gst_basesink_finalize),
11142         (gst_basesink_activate), (gst_basesink_change_state):
11143         Don't free preroll queue too early.
11144
11145 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11146
11147         * gst/Makefile.am:
11148         * gst/ROADMAP:
11149           Hi, I'm outdated. Please shoot me.
11150
11151 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11152
11153         * gst/gstpipeline.c: (gst_pipeline_send_event):
11154           Do not access variables after they have been deleted.
11155
11156 2005-05-19  Wim Taymans  <wim@fluendo.com>
11157
11158         * tools/gst-inspect.c: (print_plugin_features):
11159         A plugin feature does unfortunatly not use the
11160         object name yet...
11161
11162 2005-05-18  Wim Taymans  <wim@fluendo.com>
11163
11164         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11165         Port _span() functions to new subbuffers.
11166
11167 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11168
11169         * gst/gstbin.c: (gst_bin_add_func):
11170           Fix clock settery in bins when adding kids after the clock has
11171           been selected.
11172
11173 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11174
11175         * gst/elements/gstidentity.c: (gst_identity_class_init):
11176           Workaround until signals support GstMiniObject.
11177
11178 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11179
11180         * gst/gstbuffer.c:
11181         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11182
11183 2005-05-18  Wim Taymans  <wim@fluendo.com>
11184
11185         * gst/base/Makefile.am:
11186         * gst/base/gstadapter.c: (gst_adapter_base_init),
11187         (gst_adapter_class_init), (gst_adapter_init),
11188         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11189         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11190         (gst_adapter_flush), (gst_adapter_available),
11191         (gst_adapter_available_fast):
11192         * gst/base/gstadapter.h:
11193         Ported and added adapter to the base classes.
11194
11195 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11196
11197         * gst/gst.c:
11198         * gst/gstmessage.c:
11199           Make sure the class is reffed/unreffed once before threads can be
11200           used.  Fixes #304551.
11201
11202 2005-05-17  Wim Taymans  <wim@fluendo.com>
11203
11204         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11205         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11206         * gst/gstminiobject.c: (gst_mini_object_get_type),
11207         (gst_mini_object_free):
11208         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11209         (gst_pad_push), (gst_pad_push_event):
11210         * gst/gstqueue.c: (gst_queue_change_state):
11211         Don't queue buffers in basesink when we are flushing.
11212         Unref buffer when flushing in basesink.
11213         Flush queue when going to READY
11214         Unref buffer when _push() returns an error.
11215         Don't free MiniObject instance when refcount is incremented
11216         in _finalize() so that we can recover objects.
11217
11218 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11219
11220         * docs/manual/advanced-schedulers.xml:
11221         * docs/manual/appendix-checklist.xml:
11222         * docs/pwg/advanced-clock.xml:
11223         * docs/pwg/advanced-interfaces.xml:
11224         * docs/pwg/advanced-request.xml:
11225         * docs/pwg/advanced-types.xml:
11226         * docs/pwg/intro-preface.xml:
11227         * examples/plugins/example.c: (gst_example_get_type),
11228         (gst_example_class_init), (gst_example_chain),
11229         (gst_example_set_property), (gst_example_get_property),
11230         (gst_example_change_state), (plugin_init):
11231         * examples/plugins/example.h:
11232           small doc fixes
11233
11234 2005-05-17  Wim Taymans  <wim@fluendo.com>
11235
11236         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11237         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11238         * gst/gstqueue.c: (gst_queue_change_state):
11239         Clear queue when going to READY.
11240         Remove IN_SETCAPS flag too.
11241
11242 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11243
11244         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11245           Remove implicit cast from gboolean to GstElementStateReturn;
11246           make sure we still return failure in paused => ready case if
11247           the parent class fails to change state and our own stop 
11248           vfunc succeeds.
11249
11250 2005-05-17  Wim Taymans  <wim@fluendo.com>
11251
11252         * tools/gst-launch.c: (event_loop):
11253         Message was unreffed too soon.
11254
11255 2005-05-16  Andy Wingo  <wingo@pobox.com>
11256
11257         * gst/gstbin.c (sink_iterator_filter): Err... um...
11258
11259         * check/gst/gstbin.c (test_ghost_pads): New test for the
11260         ghosting-if-elements-not-in-same-bin behavior.
11261
11262 2005-05-16  David Schleef  <ds@schleef.org>
11263
11264         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11265         accessing refcount directly.
11266
11267 2005-05-15  David Schleef  <ds@schleef.org>
11268
11269         * check/Makefile.am: remove GstData checks
11270         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11271         * gst/Makefile.am: add miniobject, remove data
11272         * gst/gst.h: add miniobject, remove data
11273         * gst/gstdata.c: remove
11274         * gst/gstdata.h: remove
11275         * gst/gstdata_private.h: remove
11276         * gst/gsttypes.h: remove GstEvent and GstMessage
11277         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11278         * gst/gstmarshal.list: change BOXED -> OBJECT
11279
11280         Implement GstMiniObject.
11281         * gst/gstminiobject.c:
11282         * gst/gstminiobject.h:
11283
11284         Modify to be subclasses of GstMiniObject.
11285         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11286         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11287         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11288         (gst_subbuffer_get_type), (gst_subbuffer_init),
11289         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11290         (gst_buffer_span):
11291         * gst/gstbuffer.h:
11292         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11293         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11294         (_gst_event_copy), (gst_event_new):
11295         * gst/gstevent.h:
11296         * gst/gstmessage.c: (_gst_message_initialize),
11297         (gst_message_get_type), (gst_message_class_init),
11298         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11299         (gst_message_new), (gst_message_new_error),
11300         (gst_message_new_warning), (gst_message_new_tag),
11301         (gst_message_new_state_changed), (gst_message_new_application):
11302         * gst/gstmessage.h:
11303         * gst/gstprobe.c: (gst_probe_perform),
11304         (gst_probe_dispatcher_dispatch):
11305         * gst/gstprobe.h:
11306         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11307         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11308         (_gst_query_copy), (gst_query_new):
11309
11310         Update elements for GstData -> GstMiniObject changes
11311         * gst/gstquery.h:
11312         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11313         (gst_queue_chain), (gst_queue_loop):
11314         * gst/elements/gstbufferstore.c:
11315         (gst_buffer_store_add_buffer_func),
11316         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11317         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11318         (gst_fakesink_render):
11319         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11320         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11321         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11322         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11323         (gst_filesrc_create_read):
11324         * gst/elements/gstidentity.c: (gst_identity_class_init):
11325         * gst/elements/gsttypefindelement.c:
11326         (gst_type_find_element_src_event), (free_entry_buffers),
11327         (gst_type_find_element_handle_event):
11328         * libs/gst/dataprotocol/dataprotocol.c:
11329         (gst_dp_header_from_buffer):
11330         * libs/gst/dataprotocol/dataprotocol.h:
11331         * libs/gst/dataprotocol/dp-private.h:
11332
11333 2005-05-15  David Schleef  <ds@schleef.org>
11334
11335         * gst/elements/gstelements.c: Don't include headers that were
11336         just removed.
11337
11338 2005-05-15  David Schleef  <ds@schleef.org>
11339
11340         * gst/elements/Makefile.am: Remove some elements that don't
11341         need to be in the core (or even exist at all).
11342         * gst/elements/gstaggregator.c:
11343         * gst/elements/gstaggregator.h:
11344         * gst/elements/gstmd5sink.c:
11345         * gst/elements/gstmd5sink.h:
11346         * gst/elements/gstmultifilesrc.c:
11347         * gst/elements/gstmultifilesrc.h:
11348         * gst/elements/gstpipefilter.c:
11349         * gst/elements/gstpipefilter.h:
11350         * gst/elements/gstshaper.c:
11351         * gst/elements/gstshaper.h:
11352         * gst/elements/gststatistics.c:
11353         * gst/elements/gststatistics.h:
11354         * po/POTFILES.in: Remove above files.
11355
11356 2005-05-14  Andy Wingo  <wingo@pobox.com>
11357
11358         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11359         so as to get the refs right.
11360         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11361         unreffing objects that don't pass the filter.
11362
11363         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11364         gst_element_set_bus.
11365         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11366         normal cases, this will destroy the bus.
11367
11368         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11369         object.
11370
11371         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11372         has no sinks.
11373
11374 2005-05-13  Andy Wingo  <wingo@pobox.com>
11375
11376         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11377         gst_pad_link, call pad_link_maybe_ghosting,
11378         (pad_link_maybe_ghosting): Links pads, making sure that the
11379         elements being linked are in the same bin.
11380         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11381         Helpers for pad_link_maybe_ghosting.
11382
11383 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11384
11385         * configure.ac:
11386           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11387
11388 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11389
11390         * docs/design/part-element-source.txt:
11391           Mention GstPushSrc
11392
11393 2005-05-12  Wim Taymans  <wim@fluendo.com>
11394
11395         * gst/base/gstbasesink.c: (gst_basesink_init),
11396         (gst_basesink_activate):
11397         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11398         (gst_basesrc_is_seekable):
11399         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11400         (bin_element_is_sink), (gst_bin_change_state):
11401         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11402         * gst/gstelement.h:
11403         Identify sinks by their flag to avoid overly complicated
11404         checks (fow now).
11405         Do state changes even for elements not reachable from the
11406         sinks.
11407         BaseSink is a sink now :)
11408         Some more debugging info in the basesrc.
11409
11410
11411 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11412
11413         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11414           Implement _query on a bin, similar to _send_event.
11415
11416 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11417
11418         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11419           Discont event offset format should be GST_FORMAT_BYTES,
11420           not GST_FORMAT_TIME.
11421
11422 2005-05-12  Wim Taymans  <wim@fluendo.com>
11423
11424         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11425         Same fix as Ronald's but without the signal. 
11426
11427 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11428
11429         * gst/gstutils.c: (gst_element_query_position):
11430           No, an element is not a pad.
11431
11432 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11433
11434         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11435         (gst_bin_get_state):
11436           If a child is removed from a bin while we remove the child from
11437           the bin and while we're retrieving its state, signal this to the
11438           get_state function so we abort the wait (instead of waiting for
11439           a timeout) and can immediately re-iterate over all other elements.
11440
11441 2005-05-12  Wim Taymans  <wim@fluendo.com>
11442
11443         * gst/base/Makefile.am:
11444         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11445         (gst_basesrc_start):
11446         * gst/base/gstbasesrc.h:
11447         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11448         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11449         (gst_pushsrc_init), (gst_pushsrc_create):
11450         * gst/base/gstpushsrc.h:
11451         Added is_seekable to BaseSrc
11452         Added simple PushSrc.
11453
11454 2005-05-11  Wim Taymans  <wim@fluendo.com>
11455
11456         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11457         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11458         (gst_element_link_pads), (gst_element_query_position),
11459         (gst_element_query_convert), (intersect_caps_func),
11460         (gst_pad_query_position), (gst_pad_query_convert):
11461         Fix refcounting in utils function.
11462         No point in trying to activate a pad when it's added, it could
11463         be added from the state change function and then we deadlock, the
11464         element has to decide what to do.
11465
11466 2005-05-10  Andy Wingo  <wingo@pobox.com>
11467
11468         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11469         *all* the arguments.
11470
11471         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11472         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11473         lock (according to the docs -- if this is wrong change the docs).
11474
11475         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11476         flush messages in the NULL state.
11477
11478         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11479         message immediately and return.
11480         (gst_bus_set_flushing): New function. If a bus is flushing, it
11481         flushes out any queued messages and immediately unrefs new
11482         messages. This is so when an element goes to NULL, all of the
11483         unhandled messages coming from it can be freed, and their
11484         references to the element dropped. In other words: message source
11485         ref considered harmful :P
11486
11487         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11488         we're finished with it.
11489
11490         * gst/gstmessage.c (gst_message_new_state_changed): 
11491
11492 2005-05-10  Wim Taymans  <wim@fluendo.com>
11493
11494         * gst/gstvalue.c: (gst_value_compare_flags),
11495         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11496         (_gst_value_initialize):
11497         Added flags serialize/deserialize/compare code.
11498
11499 2005-05-09  Andy Wingo  <wingo@pobox.com>
11500
11501         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11502         Intersect the peer's caps with our caps.
11503
11504 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11505
11506         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11507         * gst/elements/gsttypefindelement.c: (find_peek):
11508           Handle negative offsets better. Fixes decodebin.
11509
11510 2005-05-09  Wim Taymans  <wim@fluendo.com>
11511
11512         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11513         (gst_base_transform_event):
11514         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11515         Implement accept_caps.
11516         Fix silly lock/unlock mismatch in base class.
11517
11518 2005-05-09  Wim Taymans  <wim@fluendo.com>
11519
11520         * docs/design/draft-push-pull.txt:
11521         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11522         * gst/elements/gstfilesink.c: (gst_filesink_init),
11523         (gst_filesink_query):
11524         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11525         (gst_type_find_handle_src_query), (find_element_get_length):
11526         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11527         * gst/gstelement.h:
11528         * gst/gstmessage.c:
11529         * gst/gstmessage.h:
11530         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11531         (gst_real_pad_get_caps_unlocked),
11532         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11533         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11534         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11535         (gst_real_pad_dispose), (gst_real_pad_finalize),
11536         (gst_pad_load_and_link), (gst_pad_save_thyself),
11537         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11538         (gst_pad_check_pull_range), (gst_pad_pull_range),
11539         (gst_pad_template_get_type), (gst_pad_template_class_init),
11540         (gst_pad_template_init), (gst_pad_template_dispose),
11541         (name_is_valid), (gst_static_pad_template_get),
11542         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11543         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11544         (gst_pad_get_element_private), (gst_pad_start_task),
11545         (gst_pad_pause_task), (gst_pad_stop_task),
11546         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11547         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11548         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11549         (gst_ghost_pad_new):
11550         * gst/gstpad.h:
11551         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11552         (gst_query_new_position), (gst_query_set_position),
11553         (gst_query_parse_position), (gst_query_new_convert),
11554         (gst_query_set_convert), (gst_query_parse_convert):
11555         * gst/gstquery.h:
11556         * gst/gstqueryutils.c:
11557         * gst/gstqueryutils.h:
11558         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11559         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11560         (gst_queue_handle_src_query):
11561         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11562         (gst_element_query_position), (gst_element_query_convert),
11563         (intersect_caps_func), (gst_pad_query_position),
11564         (gst_pad_query_convert):
11565         * gst/gstutils.h:
11566         * tools/gst-inspect.c: (print_pad_info):
11567         * tools/gst-xmlinspect.c: (print_element_info):
11568         Remove old query functions. Ported old code.
11569         Added position/convert helper functions to gstutils.
11570         Reordered gstpad.c code, grouping relevant things.
11571         Remove gst_message_new(), always need to speficy a specific
11572         message.
11573
11574
11575 2005-05-09  Andy Wingo  <wingo@pobox.com>
11576
11577         * gst/gstiterator.h: Add some includes.
11578
11579         * gst/gstqueryutils.h: Include more headers.
11580
11581         * gst/gstpad.h:
11582         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11583         some uses of gst_pad_query.
11584
11585         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11586         NULL out parameters.
11587         (gst_query_new_position): New proc, allocates a new position
11588         query.
11589
11590         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11591         gstqueryutils.c to the build.
11592
11593         * gst/gststructure.c (gst_structure_set_valist): Implement with
11594         the generic G_VALUE_COLLECT.
11595         
11596 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11597
11598         * gst/Makefile.am: (gst_headers):
11599         Added gstqueryutils.h to the list of headers to install, that was
11600         a 'nachty' move wingo :)
11601
11602 2005-05-06  Andy Wingo  <wingo@pobox.com>
11603
11604         * gst/gstquery.h
11605         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11606         GstData, init a memchunk.
11607         (standard_definitions): Add a few query types, deprecate a few.
11608         (gst_query_get_type): New proc.
11609         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11610         implementation.
11611         (gst_query_new_application, gst_query_get_structure): New public
11612         procs.
11613
11614         * docs/design/draft-query.txt: Removed LINKS from the query types,
11615         because all the rest can be dispatched to other pads -- seemed
11616         ugly to have a query that couldn't be dispatched. internal_links
11617         is fine as a pad method.
11618
11619         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11620         in gstpad.c, but maintain binary compatibility for the moment.
11621         Will fix before 0.9 is out.
11622
11623         * gst/gstqueryutils.c: 
11624         * gst/gstqueryutils.h: New files, implement 3 methods for each
11625         query type: parse_query, parse_response, and set. Probably need an
11626         allocator as well.
11627
11628         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11629
11630         * gst/elements/gstfilesink.c (gst_filesink_query2):
11631         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11632         query_types, and formats methods.
11633
11634         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11635         (gst_pad_set_query2_function): New functions.
11636         (gst_real_pad_init): Set query2_default as the default query2
11637         function. Basically just dispatches to internally linked pads.
11638
11639         Needs review!
11640         
11641         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11642         without using the atomic operations. Only one thread can possibly
11643         be accessing the data at this point. Changed so as to avoid
11644         gst_atomic operations.
11645
11646 2005-05-06  Wim Taymans  <wim@fluendo.com>
11647
11648         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11649         Also set caps if we use the fallback buffer alloc.
11650
11651 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11652
11653         * docs/gst/Makefile.am:
11654         * docs/gst/gstreamer-docs.sgml:
11655         * docs/gst/gstreamer-sections.txt:
11656         * docs/gst/tmpl/gstatomic.sgml:
11657         * docs/gst/tmpl/gstmemchunk.sgml:
11658         * testsuite/elements/struct_i386.h:
11659         * win32/GStreamer.vcproj:
11660         * win32/Makefile:
11661           Purge GstAtomic stuff from docs and win32 makefiles as well
11662
11663 2005-05-06  Wim Taymans  <wim@fluendo.com>
11664
11665         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11666         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11667         * gst/gstpad.c: (gst_pad_peer_get_caps):
11668         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11669         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11670         (gst_queue_src_activate), (gst_queue_change_state):
11671         * gst/gstqueue.h:
11672         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11673         (intersect_caps_func):
11674         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11675         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11676         Some fixes for the peer_get_caps() change.
11677
11678 2005-05-06  Wim Taymans  <wim@fluendo.com>
11679
11680         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11681         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11682         (gst_basesink_activate):
11683         Actually do something with error codes returned from the push
11684         functions.
11685
11686 2005-05-06  Wim Taymans  <wim@fluendo.com>
11687
11688         * docs/design/part-element-sink.txt:
11689         * docs/design/part-element-source.txt:
11690         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11691         (gst_basesink_event), (gst_basesink_activate):
11692         * gst/base/gstbasesink.h:
11693         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11694         (gst_basesrc_activate):
11695         * gst/base/gstbasesrc.h:
11696         * gst/gstelement.c: (gst_element_pads_activate):
11697         Some more documentation.
11698         Fixed scheduling decision in _pads_activate().
11699
11700 2005-05-05  Andy Wingo  <wingo@pobox.com>
11701
11702         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11703         the test suite.
11704
11705 2005-05-05  Wim Taymans  <wim@fluendo.com>
11706
11707         * gst/base/Makefile.am:
11708         * gst/base/gstbasesink.h:
11709         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11710         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11711         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11712         (gst_collectpads_class_init), (gst_collectpads_init),
11713         (gst_collectpads_finalize), (gst_collectpads_new),
11714         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11715         (find_pad), (gst_collectpads_remove_pad),
11716         (gst_collectpads_is_active), (gst_collectpads_collect),
11717         (gst_collectpads_collect_range), (gst_collectpads_start),
11718         (gst_collectpads_stop), (gst_collectpads_peek),
11719         (gst_collectpads_pop), (gst_collectpads_available),
11720         (gst_collectpads_read), (gst_collectpads_flush),
11721         (gst_collectpads_chain):
11722         * gst/base/gstcollectpads.h:
11723         * gst/elements/Makefile.am:
11724         * gst/elements/gstelements.c:
11725         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11726         (gst_fakesink_get_times), (gst_fakesink_event),
11727         (gst_fakesink_preroll), (gst_fakesink_render):
11728         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11729         (gst_filesink_init), (gst_filesink_set_location),
11730         (gst_filesink_open_file), (gst_filesink_close_file),
11731         (gst_filesink_pad_query), (gst_filesink_event),
11732         (gst_filesink_render), (gst_filesink_change_state):
11733         * gst/elements/gstfilesink.h:
11734         Added object to help in making collect pad based elements.
11735         Ported filesink.
11736         Make event function in sink baseclass return gboolean.
11737
11738 2005-05-05  Wim Taymans  <wim@fluendo.com>
11739
11740         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11741         (gst_bin_get_by_name):
11742         * gst/gstbuffer.h:
11743         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11744         (gst_clock_finalize):
11745         * gst/gstdata.c: (gst_data_replace):
11746         * gst/gstdata.h:
11747         * gst/gstelement.c: (gst_element_request_pad),
11748         (gst_element_pads_activate):
11749         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11750         (gst_object_unref):
11751         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11752         (gst_pad_set_checkgetrange_function),
11753         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11754         (gst_pad_check_pull_range), (gst_pad_pull_range),
11755         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11756         (gst_pad_pause_task), (gst_pad_stop_task):
11757         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11758         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11759         Fix name lookup in GstBin.
11760         Added _data_replace() function and _buffer_replace()
11761         Use finalize method to clean up clock.
11762         Fix refcounting on request pads.
11763         Fix pad schedule mode error.
11764         Some more object refcounting debug info,
11765
11766
11767 2005-05-04  Andy Wingo <wingo@pobox.com>
11768
11769         * check/Makefile.am:
11770         * docs/gst/tmpl/gstatomic.sgml:
11771         * docs/gst/tmpl/gstplugin.sgml:
11772         * gst/base/gstbasesink.c: (gst_basesink_activate):
11773         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11774         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11775         (gst_basesrc_query), (gst_basesrc_set_property),
11776         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11777         (gst_basesrc_activate):
11778         * gst/base/gstbasesrc.h:
11779         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11780         (gst_base_transform_src_activate):
11781         * gst/elements/gstelements.c:
11782         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11783         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11784         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11785         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11786         (gst_type_find_element_checkgetrange),
11787         (gst_type_find_element_activate):
11788         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11789         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11790         (gst_caps_load_thyself):
11791         * gst/gstelement.c: (gst_element_pads_activate),
11792         (gst_element_save_thyself), (gst_element_restore_thyself):
11793         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11794         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11795         * gst/gstpad.h:
11796         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11797         (gst_xml_parse_file), (gst_xml_parse_memory),
11798         (gst_xml_get_element), (gst_xml_make_element):
11799         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11800         (_file_index_id_save_xml), (gst_file_index_commit):
11801         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11802         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11803         (load_paths):
11804         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11805         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11806         * tools/gst-complete.c: (main):
11807         * tools/gst-compprep.c: (main):
11808         * tools/gst-inspect.c: (print_element_properties_info):
11809         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11810         * tools/gst-xmlinspect.c: (print_element_properties):
11811         GCC 4 fixen.
11812         
11813 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11814
11815         * gst/gstplugin.c: (gst_plugin_check_module),
11816         (gst_plugin_check_file), (gst_plugin_load_file):
11817             apply patch from #172526 to make register work on MacOSX
11818
11819 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11820
11821         * docs/gst/tmpl/gstconfig.sgml:
11822         * gst/gstconfig.h.in:
11823           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11824         * testsuite/debug/printf_extension.c: (main):
11825           Do not use GST_PTR_FORMAT on pointers to types with
11826           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11827         * testsuite/elements/property.h:
11828           use correct printf format
11829
11830 2005-05-02  Wim Taymans  <wim@fluendo.com>
11831
11832         * docs/design/draft-push-pull.txt:
11833         * docs/design/draft-query.txt:
11834         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11835         (gst_basesrc_start):
11836         Added draft for new query API.
11837         Added draft for better selecting scheduling methods.
11838         Make basesrc ignore length if the subclass does not support
11839         it.
11840
11841 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11842
11843         * gst/Makefile.am:
11844           possible fixes for automake-1.5 - _LIBADD is reserved
11845
11846 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11847
11848         * docs/faq/Makefile.am:
11849         * docs/manual/Makefile.am:
11850         * docs/manuals.mak:
11851         * docs/pwg/Makefile.am:
11852         * gst/Makefile.am:
11853           possible fixes for automake-1.5
11854
11855 2005-04-28  Wim Taymans  <wim@fluendo.com>
11856
11857         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11858         (gst_basesink_pad_getcaps), (gst_basesink_init),
11859         (gst_basesink_do_sync):
11860         * gst/gstclock.c: (gst_clock_entry_new):
11861         * gst/gstevent.c: (gst_event_discont_get_value):
11862         * gst/gstpipeline.c: (pipeline_bus_handler),
11863         (gst_pipeline_change_state):
11864         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11865         Better debugging of clocking info.
11866         Allow NULL values when getting discont values.
11867
11868 2005-04-27  Wim Taymans  <wim@fluendo.com>
11869
11870         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11871         * check/gst/gstpad.c: (gst_pad_suite):
11872         Increase timeout for checks.
11873
11874 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11875
11876         * check/Makefile.am:
11877           fix the broken rule for cleanup.  Apparently this rule is
11878           only needed on FC2, so maybe this warrants further autotool
11879           inspection.
11880
11881 2005-04-26  Wim Taymans  <wim@fluendo.com>
11882
11883         * gst/gsttrashstack.h:
11884         Ooohh. a nasty one! After having a failed pop() from the stack,
11885         it's possible that the stack is empty. In that case, don't
11886         follow the NULL pointer.
11887
11888 2005-04-25  Wim Taymans  <wim@fluendo.com>
11889
11890         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11891         (gst_pad_set_checkgetrange_function),
11892         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11893         (gst_pad_check_pull_range), (gst_pad_pull_range),
11894         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11895         (gst_pad_pause_task), (gst_pad_stop_task):
11896         * gst/gstplugin.c: (gst_plugin_load):
11897         * gst/gstplugin.h:
11898         Remove gst_library_load as it does more harm than good with
11899         the new g_module flags.
11900         Revert bogus caps template check in pad linking, pad caps
11901         are important when linking not the template, which is more
11902         general than the current caps.
11903
11904 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11905
11906         * gst/autoplug/.cvsignore:
11907         * gst/autoplug/Makefile.am:
11908         * gst/autoplug/gstsearchfuncs.c:
11909         * gst/autoplug/gstsearchfuncs.h:
11910         * gst/autoplug/gstspider.c:
11911         * gst/autoplug/gstspider.h:
11912         * gst/autoplug/gstspideridentity.c:
11913         * gst/autoplug/gstspideridentity.h:
11914         * gst/autoplug/spidertest.c:
11915           Die, spider, die.
11916
11917 2005-04-25  Wim Taymans  <wim@fluendo.com>
11918
11919         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11920         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11921         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11922         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11923         * gst/gstpad.h:
11924         Added stubs for unimplemented functions. 
11925
11926 2005-04-24  David Schleef  <ds@schleef.org>
11927
11928         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11929         please fix.
11930
11931 2005-04-24  David Schleef  <ds@schleef.org>
11932
11933         Convert everything from GstAtomicInt to g_atomic_int_*, and
11934         remove gstatomic.
11935         * gst/Makefile.am:
11936         * gst/gstatomic.c:
11937         * gst/gstatomic.h:
11938         * gst/gstatomic_impl.h:
11939         * gst/gstbuffer.c:
11940         * gst/gstcaps.c:
11941         * gst/gstcaps.h:
11942         * gst/gstclock.c:
11943         * gst/gstclock.h:
11944         * gst/gstdata.c:
11945         * gst/gstdata.h:
11946         * gst/gstdata_private.h:
11947         * gst/gstevent.c:
11948         * gst/gstinfo.c:
11949         * gst/gstinfo.h:
11950         * gst/gstmessage.c:
11951         * gst/gstobject.c:
11952         * gst/gstobject.h:
11953         * gst/gststructure.c:
11954         * gst/gststructure.h:
11955         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11956         * gst/gstutils.h:
11957
11958 2005-04-24  David Schleef  <ds@schleef.org>
11959
11960         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11961         make the regressions tests work.  Remove some code that is no
11962         longer true.
11963         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11964         Disable warning for pads without templates.
11965
11966 2005-04-24  David Schleef  <ds@schleef.org>
11967
11968         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11969         functions that handle filtered links.
11970         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11971         removed functions.
11972         * gst/gstutils.c: Fix/remove utility functions that handle
11973         filtered caps.
11974         * gst/gstutils.h:
11975         * gst/gstvalue.c: Add serialization/deserialization of caps
11976         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11977         requires fixing so that the filter caps notation creates
11978         a capsfilter element and sets the filter_caps property.  I
11979         think everyone probably wants to keep the shorthand notation.
11980         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11981         * docs/gst/tmpl/gstpad.sgml:
11982
11983         * gst/elements/gstelements.c: Register capsfilter element.
11984         * gst/Makefile.am: fix spacing
11985         * docs/random/ds/0.9-suggested-changes: random
11986
11987 2005-04-23  David Schleef  <ds@schleef.org>
11988
11989         * gst/elements/Makefile.am:
11990         * gst/elements/gstcapsfilter.c: New element that acts like an
11991         identity, but filters caps.  Will eventually replace filtered
11992         caps in pad linking.
11993         * gst/gstutils.c: (gst_element_create_all_pads): New function
11994         to create all the ALWAYS pads that are registered with an
11995         element class.  This functionality should eventually be
11996         merged in with GstElement initialization.
11997         * gst/gstutils.h:
11998         * testsuite/trigger/README: part of trigger test code that should
11999         have been checked in a long time ago.
12000
12001 2005-04-23  David Schleef  <ds@schleef.org>
12002
12003         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12004         needed with new versions of libtool (nobody will confirm this),
12005         and hard to carry around.
12006         * gst/autoplug/Makefile.am:
12007         * gst/base/Makefile.am:
12008         * gst/elements/Makefile.am:
12009         * gst/indexers/Makefile.am:
12010         * gst/schedulers/Makefile.am:
12011         * libs/gst/bytestream/Makefile.am:
12012         * libs/gst/control/Makefile.am:
12013         * libs/gst/dataprotocol/Makefile.am:
12014         * libs/gst/getbits/Makefile.am:
12015
12016 2005-04-21  Wim Taymans  <wim@fluendo.com>
12017
12018         * docs/design/draft-push-pull.txt:
12019         * docs/design/part-MT-refcounting.txt:
12020         * docs/design/part-TODO.txt:
12021         * docs/design/part-caps.txt:
12022         * docs/design/part-events.txt:
12023         * docs/design/part-gstbus.txt:
12024         * docs/design/part-gstpipeline.txt:
12025         * docs/design/part-messages.txt:
12026         * docs/design/part-push-pull.txt:
12027         * docs/design/part-query.txt:
12028         Some more docs.
12029
12030 2005-04-21  Wim Taymans  <wim@fluendo.com>
12031
12032         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12033         (gst_message_new), (gst_message_new_error),
12034         (gst_message_new_warning), (gst_message_new_tag),
12035         (gst_message_new_state_changed), (gst_message_new_application),
12036         (gst_message_get_structure):
12037         * gst/gstmessage.h:
12038         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12039         (gst_structure_copy_conditional):
12040         Use parent refcount in GstMessage to ensure GstStructure
12041         consistency.
12042         Cleaned up headers a bit.
12043         
12044
12045 2005-04-20  Wim Taymans  <wim@fluendo.com>
12046
12047         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12048         (gst_basesink_pad_getcaps), (gst_basesink_init),
12049         (gst_basesink_chain_unlocked):
12050         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12051         (gst_type_find_helper):
12052         * gst/elements/gsttypefindelement.c:
12053         (gst_type_find_element_have_type), (gst_type_find_element_init),
12054         (stop_typefinding), (gst_type_find_element_handle_event),
12055         (find_suggest), (gst_type_find_element_chain),
12056         (gst_type_find_element_checkgetrange),
12057         (gst_type_find_element_getrange), (do_typefind),
12058         (gst_type_find_element_activate):
12059         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12060         (gst_buffer_default_free), (gst_buffer_default_copy),
12061         (gst_buffer_set_caps):
12062         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12063         (gst_caps_replace):
12064         * gst/gstmessage.c: (gst_message_new),
12065         (gst_message_new_state_changed):
12066         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12067         (gst_pad_set_checkgetrange_function),
12068         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12069         (gst_pad_set_caps), (gst_pad_check_pull_range),
12070         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12071         * gst/gstpad.h:
12072         * gst/gsttypefind.c: (gst_type_find_register):
12073         Make gst_caps_replace() work like other _replace() functions.
12074         Use _caps_replace() where possible.
12075         Make sure _message_new() initialises its field.
12076         Add gst_static_pad_template_get_caps()
12077
12078
12079 2005-04-18  Andy Wingo  <wingo@pobox.com>
12080
12081         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12082         on the peer, not the pad. I think that was a typo. Pass an extra
12083         arg to see if random access is possible. Activate the pads as
12084         PULL_RANGE if possible.
12085
12086         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12087
12088         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12089         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12090         to PROP_....
12091
12092 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12093
12094         * docs/faq/using.xml:
12095           Add note on gstreamer-properties (#154996).
12096
12097 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12098
12099         * docs/random/bbb/optional-properties:
12100           Some analysis on optional properties.
12101
12102 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12103
12104         * docs/gst/tmpl/gstelementfactory.sgml:
12105         * gst/gstelement.h:
12106         * gst/gstelementfactory.c: (gst_element_factory_init),
12107         (gst_element_factory_cleanup), (gst_element_register),
12108         (__gst_element_factory_add_static_pad_template),
12109         (gst_element_factory_get_static_pad_templates),
12110         (gst_element_factory_can_src_caps),
12111         (gst_element_factory_can_sink_caps):
12112         * gst/registries/Makefile.am:
12113         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12114         (gst_xml_registry_class_init), (gst_xml_registry_init),
12115         (gst_xml_registry_new), (gst_xml_registry_set_property),
12116         (gst_xml_registry_get_property), (get_time), (make_dir),
12117         (gst_xml_registry_get_perms_func),
12118         (plugin_times_older_than_recurse), (plugin_times_older_than),
12119         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12120         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12121         (add_to_char_array), (read_string), (read_uint), (read_enum),
12122         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12123         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12124         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12125         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12126         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12127         (gst_xml_registry_rebuild):
12128         * gst/registries/gstlibxmlregistry.h:
12129         * tools/gst-compprep.c: (main):
12130         * tools/gst-inspect.c: (print_pad_templates_info):
12131         * tools/gst-xmlinspect.c: (print_element_info):
12132           Use libxml2 for registry parsing, use staticpadtemplates in
12133           elementfactories. Makes gst_init() +/- 10x faster.
12134
12135 2005-04-12  Wim Taymans  <wim@fluendo.com>
12136
12137         * gst/base/Makefile.am:
12138         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12139         (gst_basesink_pad_getcaps), (gst_basesink_init),
12140         (gst_basesink_event), (gst_basesink_change_state):
12141         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12142         (gst_basesrc_init), (gst_basesrc_query),
12143         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12144         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12145         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12146         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12147         (gst_basesrc_stop), (gst_basesrc_activate),
12148         (gst_basesrc_change_state):
12149         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12150         (helper_find_suggest), (gst_type_find_helper):
12151         * gst/base/gsttypefindhelper.h:
12152         * gst/elements/Makefile.am:
12153         * gst/elements/gstelements.c:
12154         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12155         (gst_fakesink_get_times), (gst_fakesink_event),
12156         (gst_fakesink_preroll), (gst_fakesink_render):
12157         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12158         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12159         (gst_fakesrc_get_property), (gst_fakesrc_create),
12160         (gst_fakesrc_start), (gst_fakesrc_stop):
12161         * gst/elements/gstfakesrc.h:
12162         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12163         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12164         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12165         (gst_filesrc_create_read), (gst_filesrc_create),
12166         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12167         (gst_filesrc_start):
12168         * gst/elements/gsttypefindelement.c:
12169         (gst_type_find_element_have_type), (gst_type_find_element_init),
12170         (start_typefinding), (stop_typefinding), (push_buffer_store),
12171         (gst_type_find_element_handle_event),
12172         (gst_type_find_element_chain),
12173         (gst_type_find_element_checkgetrange),
12174         (gst_type_find_element_getrange), (do_typefind),
12175         (gst_type_find_element_activate),
12176         (gst_type_find_element_change_state):
12177         * gst/elements/gsttypefindelement.h:
12178         * gst/gstpipeline.c: (pipeline_bus_handler):
12179         Added typefind helper.
12180         Small preroll fix in the base sink.
12181         Disable typefind code in basesrc.
12182         Crude port of typefindelement.
12183         Fakesrc cleanups.
12184
12185
12186 2005-04-11  Wim Taymans  <wim@fluendo.com>
12187
12188         * check/gst/gstbus.c: (gstbus_suite):
12189         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12190         * check/gstcheck.h:
12191           Fix up the timeout so that the test does not fail.
12192
12193 2005-04-06  Wim Taymans  <wim@fluendo.com>
12194
12195         * gst/base/README:
12196         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12197         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12198         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12199         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12200         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12201         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12202         (gst_basesrc_stop), (gst_basesrc_activate),
12203         (gst_basesrc_change_state), (basesrc_find_peek),
12204         (basesrc_find_suggest), (gst_basesrc_type_find):
12205         * gst/base/gstbasesrc.h:
12206         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12207         (gst_filesrc_class_init), (gst_filesrc_init),
12208         (gst_filesrc_finalize), (gst_filesrc_set_location),
12209         (gst_filesrc_set_property), (gst_filesrc_get_property),
12210         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12211         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12212         (gst_filesrc_create_read), (gst_filesrc_create),
12213         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12214         * gst/elements/gstfilesrc.h:
12215         * gst/gstelement.c: (gst_element_get_state_func),
12216         (gst_element_lost_state), (gst_element_pads_activate):
12217         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12218         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12219         (gst_pad_pull_range):
12220         * gst/gstpad.h:
12221         More work on the generic source base class, implement seeking,
12222         query.
12223         Make filesrc extend the base source class.
12224         Added gst_pad_set_checkgetrange_function to GstPad.
12225
12226 2005-04-06  Andy Wingo  <wingo@pobox.com>
12227
12228         * pkgconfig/gstreamer-base.pc.in:
12229         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12230
12231         * pkgconfig/Makefile.am:
12232         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12233
12234 2005-04-04  Wim Taymans  <wim@fluendo.com>
12235
12236         * gst/base/Makefile.am:
12237         * gst/base/README:
12238         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12239         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12240         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12241         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12242         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12243         (gst_basesrc_base_init), (gst_basesrc_class_init),
12244         (gst_basesrc_init), (gst_basesrc_get_formats),
12245         (gst_basesrc_get_query_types), (gst_basesrc_query),
12246         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12247         (gst_basesrc_set_property), (gst_basesrc_get_property),
12248         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12249         (gst_basesrc_loop), (gst_basesrc_activate),
12250         (gst_basesrc_change_state):
12251         * gst/base/gstbasesrc.h:
12252         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12253         (gst_fakesrc_class_init), (gst_fakesrc_init),
12254         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12255         (gst_fakesrc_get_property), (gst_fakesrc_create):
12256         * gst/elements/gstfakesrc.h:
12257         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12258         (gst_filesrc_open_file), (gst_filesrc_loop),
12259         (gst_filesrc_activate), (filesrc_find_peek),
12260         (gst_filesrc_type_find):
12261         Made base source class, make fakesrc extend it.
12262         Add comments to basesink class.
12263         Some filesrc cleanup.
12264
12265 2005-03-31  David Schleef  <ds@schleef.org>
12266
12267         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12268         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12269         expected to link against libgstreamer.
12270         * gst/base/Makefile.am: link against libgstreamer
12271         * gst/elements/Makefile.am: same
12272
12273 2005-03-31  Andy Wingo  <wingo@pobox.com>
12274
12275         * tests/instantiate/Makefile.am:
12276         * tests/instantiate/caps.c: Add test to test speed of caps copy
12277         and free.
12278
12279         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12280         GMemChunk to be fair.
12281
12282         * gst/gsttrashstack.h: Remove warning about using the fallback
12283         trash stack implementation, it's still faster than malloc.
12284
12285 2005-03-30  Andy Wingo  <wingo@pobox.com>
12286
12287         * tests/complexity.c: Add a copyright.
12288
12289 2005-03-31  Wim Taymans  <wim@fluendo.com>
12290
12291         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12292         (gst_base_transform_class_init), (gst_base_transform_init),
12293         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12294         (gst_base_transform_get_property),
12295         (gst_base_transform_sink_activate),
12296         (gst_base_transform_src_activate),
12297         (gst_base_transform_change_state):
12298         * gst/base/gstbasetransform.h:
12299         * gst/elements/gstidentity.c: (gst_identity_class_init),
12300         (gst_identity_event), (gst_identity_check_perfect),
12301         (gst_identity_transform), (gst_identity_start),
12302         (gst_identity_stop):
12303         Added start/stop methods to transform base class so subclasses 
12304         don't need to deal with state changes even.
12305
12306 2005-03-31  Wim Taymans  <wim@fluendo.com>
12307
12308         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12309         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12310         * gst/gstevent.h:
12311         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12312         (gst_pad_pull_range):
12313         Added rate to the discont event to prepare for variable speed
12314         and reverse playback.
12315
12316 2005-03-29  David Schleef  <ds@schleef.org>
12317
12318         * configure.ac:
12319         * testsuite/trigger/Makefile.am:
12320         * testsuite/trigger/trigger.c: A little example program to show
12321         how trigger-based elements can work.
12322
12323 2005-03-29  Wim Taymans  <wim@fluendo.com>
12324
12325         * gst/base/Makefile.am:
12326         * gst/base/README:
12327         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12328         (gst_basesink_base_init), (gst_basesink_class_init),
12329         (gst_basesink_pad_getcaps), (gst_basesink_init),
12330         (gst_basesink_activate), (gst_basesink_change_state):
12331         * gst/base/gstbasesink.h:
12332         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12333         (gst_base_transform_base_init), (gst_base_transform_finalize),
12334         (gst_base_transform_class_init), (gst_base_transform_init),
12335         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12336         (gst_base_transform_event), (gst_base_transform_getrange),
12337         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12338         (gst_base_transform_set_property),
12339         (gst_base_transform_get_property),
12340         (gst_base_transform_sink_activate),
12341         (gst_base_transform_src_activate),
12342         (gst_base_transform_change_state):
12343         * gst/base/gstbasetransform.h:
12344         * gst/elements/gstidentity.c: (gst_identity_finalize),
12345         (gst_identity_class_init), (gst_identity_init),
12346         (gst_identity_event), (gst_identity_check_perfect),
12347         (gst_identity_transform), (gst_identity_set_property),
12348         (gst_identity_get_property), (gst_identity_change_state):
12349         * gst/elements/gstidentity.h:
12350         * gst/gstelement.c: (gst_element_get_state_func),
12351         (gst_element_lost_state), (gst_element_pads_activate):
12352         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12353         (gst_pad_check_pull_range), (gst_pad_pull_range):
12354         * gst/gstpad.h:
12355         Simplify pad activation.
12356         Added function to check if pull_range can be performed.
12357         Error out when pulling inactive or flushing pads.
12358         Removed const from refcounted types as it does not make sense.
12359         Simplify pad templates in basesink
12360         Added base class for simple 1-to-1 transforms.
12361         Make identity subclass the base transform.
12362
12363 2005-03-29  Andy Wingo  <wingo@pobox.com>
12364
12365         * docs/libs/gstreamer-libs-overrides.txt: 
12366         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12367         really don't understand what's going on, but like whatever. I want
12368         green buildbot!
12369
12370         * docs/gst/Makefile.am:
12371         * docs/libs/Makefile.am: Dist the overrides files.
12372
12373         * check/Makefile.am (clean-local): Remove .libs directories.
12374
12375         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12376         elements to EXTRA_DIST, so po/ files are happy.
12377
12378         * po/POTFILES.in: Er, remove it here.
12379
12380         * po/POTFILES: Remove gstspider.c.
12381
12382         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12383
12384         * docs/libs/gstreamer-libs-docs.sgml: 
12385         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12386         bytestream.
12387
12388         * tests/complexity.c (main): Set the length of the preroll queue
12389         on the sinks to prevent a lockup.
12390
12391         * libs/gst/dataprotocol/Makefile.am: 
12392         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12393         the same as the one in check/gst-libs/gdp.c.
12394
12395         * po/, docs/gst/: Commit automatic changes to docs and po files.
12396
12397         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12398         the versioned libgstbase.
12399
12400         * check/Makefile.am: Depend on an unversioned gst-register, seems
12401         to make autoconf happier.
12402
12403         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12404
12405 2005-03-28  Wim Taymans  <wim@fluendo.com>
12406
12407         * configure.ac:
12408         * docs/design/part-gstelement.txt:
12409         * docs/design/part-negotiation.txt:
12410         * docs/design/part-preroll.txt:
12411         * docs/design/part-scheduling.txt:
12412         * docs/design/part-states.txt:
12413         * gst/Makefile.am:
12414         * gst/base/Makefile.am:
12415         * gst/base/README:
12416         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12417         (gst_basesink_base_init), (gst_basesink_class_init),
12418         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12419         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12420         (gst_basesink_set_pad_functions),
12421         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12422         (gst_basesink_set_property), (gst_basesink_get_property),
12423         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12424         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12425         (gst_basesink_preroll_queue_push),
12426         (gst_basesink_preroll_queue_empty),
12427         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12428         (gst_basesink_event), (gst_basesink_get_times),
12429         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12430         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12431         (gst_basesink_loop), (gst_basesink_activate),
12432         (gst_basesink_change_state):
12433         * gst/base/gstbasesink.h:
12434         * gst/elements/Makefile.am:
12435         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12436         (gst_fakesink_class_init), (gst_fakesink_init),
12437         (gst_fakesink_set_property), (gst_fakesink_get_property),
12438         (gst_fakesink_get_times), (gst_fakesink_event),
12439         (gst_fakesink_preroll), (gst_fakesink_render),
12440         (gst_fakesink_change_state):
12441         * gst/elements/gstfakesink.h:
12442         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12443         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12444         * gst/gstelement.c: (gst_element_add_pad),
12445         (gst_element_get_state_func), (gst_element_abort_state),
12446         (gst_element_commit_state), (gst_element_lost_state),
12447         (gst_element_set_state), (gst_element_pads_activate):
12448         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12449         * gst/gstpipeline.c: (gst_pipeline_send_event),
12450         (gst_pipeline_change_state):
12451         Added state change code.
12452         Added/updated docs.
12453         Added sink base class, make fakesink extend the base class.
12454         Small cleanups in GstPipeline.
12455
12456 2005-03-26  David Schleef  <ds@schleef.org>
12457
12458         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12459         is broken and should be implemented in a different library.
12460         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12461         * gst/gst.h: remove gstcpu.h
12462         * gst/gstcpu.c: remove
12463         * gst/gstcpu.h: remove
12464         * gst/Makefile.am.future: Remove this file.  It's ancient.
12465
12466 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12467
12468         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12469         (gst_bin_send_event):
12470           Add default event/set_manager handlers. The set_manager handler
12471           takes care that the manager is distributed over kids that were
12472           already in the bin before the manager was set. The event handler
12473           is a utility virtual function that sends the event over all sinks,
12474           so that gst_element_send_event (bin, event); has the expected
12475           behaviour.
12476         * gst/gstpad.c: (gst_pad_event_default):
12477           Re-install default event handling for discontinuities, so that
12478           seeking works without requiring hacks in applications or extra
12479           code in sinks.
12480         * gst/gstpipeline.c: (gst_pipeline_class_init),
12481         (gst_pipeline_send_event):
12482           Half hack, half utility: set a pipeline to PAUSED for seek events,
12483           since that is the only way we can guarantee a/v sync. Means that
12484           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12485           and it "just works".
12486
12487 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12488
12489         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12490           Lock/unlock mismatch.
12491
12492 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12493
12494         * docs/faq/gst-uninstalled:
12495           add gst-plugins-base
12496         * docs/gst/Makefile.am:
12497           don't error out until docs are fixed
12498         * docs/gst/gstreamer.types:
12499           remove thread
12500
12501 2005-03-22  Wim Taymans  <wim@fluendo.com>
12502
12503         * check/Makefile.am:
12504         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12505         * gst/gststructure.c: (gst_structure_set_valist),
12506         (gst_structure_copy_conditional):
12507         Activated more tests.
12508         Added message test.
12509         Added G_TYPE_POINTER to GstStructure.
12510         
12511
12512 2005-03-22  Wim Taymans  <wim@fluendo.com>
12513
12514         * docs/design/part-TODO.txt:
12515         * docs/design/part-events.txt:
12516         * docs/design/part-gstbin.txt:
12517         * docs/design/part-gstbus.txt:
12518         * docs/design/part-gstpipeline.txt:
12519         * docs/design/part-messages.txt:
12520         * gst/gstbus.c:
12521         * gst/gstmessage.c:
12522         Docs updates
12523
12524 2005-03-21  Wim Taymans  <wim@fluendo.com>
12525
12526         * gst/gstbus.c: (gst_bus_post):
12527         Fix copy-and-paste error.
12528
12529 2005-03-21  Wim Taymans  <wim@fluendo.com>
12530
12531         * check/Makefile.am:
12532         * gst/Makefile.am:
12533         * gst/elements/Makefile.am:
12534         * gst/elements/gstelements.c:
12535         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12536         (gst_fakesink_event), (gst_fakesink_chain):
12537         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12538         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12539         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12540         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12541         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12542         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12543         (gst_fakesrc_loop), (gst_fakesrc_activate),
12544         (gst_fakesrc_change_state):
12545         * gst/elements/gstfakesrc.h:
12546         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12547         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12548         (gst_filesrc_open_file), (gst_filesrc_loop),
12549         (gst_filesrc_activate), (gst_filesrc_change_state),
12550         (filesrc_find_peek), (filesrc_find_suggest),
12551         (gst_filesrc_type_find):
12552         * gst/elements/gstidentity.c: (gst_identity_finalize),
12553         (gst_identity_class_init), (gst_identity_init),
12554         (gst_identity_proxy_getcaps), (identity_queue_push),
12555         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12556         (gst_identity_getrange), (gst_identity_chain),
12557         (gst_identity_sink_loop), (gst_identity_src_loop),
12558         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12559         (gst_identity_set_property), (gst_identity_get_property),
12560         (gst_identity_change_state):
12561         * gst/elements/gstidentity.h:
12562         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12563         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12564         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12565         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12566         (gst_tee_sink_activate):
12567         * gst/elements/gsttee.h:
12568         * gst/gst.c: (gst_register_core_elements), (init_post):
12569         * gst/gst.h:
12570         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12571         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12572         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12573         (gst_bin_change_state):
12574         * gst/gstbin.h:
12575         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12576         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12577         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12578         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12579         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12580         (bus_watch_callback), (bus_watch_destroy),
12581         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12582         (poll_timeout), (gst_bus_poll):
12583         * gst/gstbus.h:
12584         * gst/gstcaps.h:
12585         * gst/gstdata.h:
12586         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12587         (gst_element_post_message), (gst_element_message_full),
12588         (gst_element_get_state_func), (gst_element_get_state),
12589         (gst_element_abort_state), (gst_element_commit_state),
12590         (gst_element_lost_state), (gst_element_set_state),
12591         (gst_element_pads_activate), (gst_element_change_state),
12592         (gst_element_dispose), (gst_element_set_manager_func),
12593         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12594         (gst_element_set_manager), (gst_element_get_manager),
12595         (gst_element_set_bus), (gst_element_get_bus),
12596         (gst_element_set_scheduler), (gst_element_get_scheduler):
12597         * gst/gstelement.h:
12598         * gst/gstevent.c: (gst_event_new_segment_seek),
12599         (gst_event_new_flush):
12600         * gst/gstevent.h:
12601         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12602         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12603         (gst_message_new_eos), (gst_message_new_error),
12604         (gst_message_new_warning), (gst_message_new_tag),
12605         (gst_message_new_state_changed), (gst_message_new_application),
12606         (gst_message_get_structure), (gst_message_parse_tag),
12607         (gst_message_parse_state_changed), (gst_message_parse_error),
12608         (gst_message_parse_warning):
12609         * gst/gstmessage.h:
12610         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12611         (gst_real_pad_set_property), (gst_pad_set_active),
12612         (gst_pad_is_active), (gst_pad_set_blocked_async),
12613         (gst_pad_set_blocked), (gst_pad_is_blocked),
12614         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12615         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12616         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12617         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12618         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12619         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12620         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12621         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12622         (gst_pad_set_caps), (gst_pad_configure_sink),
12623         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12624         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12625         (gst_real_pad_dispose), (gst_real_pad_finalize),
12626         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12627         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12628         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12629         * gst/gstpad.h:
12630         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12631         (pipeline_bus_handler), (gst_pipeline_change_state),
12632         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12633         * gst/gstpipeline.h:
12634         * gst/gstprobe.h:
12635         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12636         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12637         (gst_queue_link_src), (gst_queue_bufferalloc),
12638         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12639         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12640         (gst_queue_loop), (gst_queue_handle_src_event),
12641         (gst_queue_handle_src_query), (gst_queue_src_activate),
12642         (gst_queue_change_state):
12643         * gst/gstqueue.h:
12644         * gst/gstscheduler.c: (gst_scheduler_init),
12645         (gst_scheduler_dispose), (gst_scheduler_create_task),
12646         (gst_scheduler_factory_create):
12647         * gst/gstscheduler.h:
12648         * gst/gststructure.c: (gst_structure_get_type),
12649         (gst_structure_copy_conditional):
12650         * gst/gststructure.h:
12651         * gst/gsttaginterface.h:
12652         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12653         (gst_task_init), (gst_task_dispose), (gst_task_create),
12654         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12655         (gst_task_pause):
12656         * gst/gsttask.h:
12657         * gst/gstthread.c:
12658         * gst/gstthread.h:
12659         * gst/gsttypes.h:
12660         * gst/schedulers/Makefile.am:
12661         * gst/schedulers/cothreads_compat.h:
12662         * gst/schedulers/entryscheduler.c:
12663         * gst/schedulers/faircothreads.c:
12664         * gst/schedulers/faircothreads.h:
12665         * gst/schedulers/fairscheduler.c:
12666         * gst/schedulers/gstbasicscheduler.c:
12667         * gst/schedulers/gstoptimalscheduler.c:
12668         * gst/schedulers/gthread-cothreads.h:
12669         * gst/schedulers/threadscheduler.c:
12670         (gst_thread_scheduler_task_get_type),
12671         (gst_thread_scheduler_task_class_init),
12672         (gst_thread_scheduler_task_init),
12673         (gst_thread_scheduler_task_start),
12674         (gst_thread_scheduler_task_stop),
12675         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12676         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12677         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12678         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12679         (plugin_init):
12680         * libs/gst/Makefile.am:
12681         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12682         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12683         (gst_file_pad_parent_set):
12684         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12685         (gst_dp_event_from_packet):
12686         * tests/complexity.c: (main):
12687         * tests/mass_elements.c: (main):
12688         * testsuite/states/locked.c: (message_received), (main):
12689         * testsuite/states/parent.c: (main):
12690         * tools/gst-inspect.c: (print_element_flag_info),
12691         (print_implementation_info), (print_pad_info):
12692         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12693         (main):
12694         * tools/gst-md5sum.c: (event_loop), (main):
12695         * tools/gst-typefind.c: (main):
12696         * tools/gst-xmlinspect.c: (print_element_info):
12697         Next big merge.
12698         Added GstBus for mainloop integration.
12699         Added GstMessage for sending notifications on the bus.
12700         Added GstTask as an abstraction for pipeline entry points.
12701         Removed GstThread.
12702         Removed Schedulers.
12703         Simplified GstQueue for multithreaded core.
12704         Made _link threadsafe, removed old capsnego.
12705         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12706         Added pad blocking functions.
12707         Reworked scheduling functions in GstPad to prepare for
12708         scheduling updates soon.
12709         Moved events out of data stream.
12710         Simplified GstEvent types.
12711         Added return values to push/pull.
12712         Removed clocking from GstElement.
12713         Added prototypes for state change function for next merge.
12714         Removed iterate from bins and state change management.
12715         Fixed some elements, disabled others for now.
12716         Fixed -inspect and -launch.
12717         Added check for GstBus.
12718
12719 2005-03-10  Wim Taymans  <wim@fluendo.com>
12720
12721         * docs/design/part-MT-refcounting.txt:
12722         * docs/design/part-clocks.txt:
12723         * docs/design/part-gstelement.txt:
12724         * docs/design/part-gstobject.txt:
12725         * docs/design/part-standards.txt:
12726         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12727         (gst_bin_remove_func), (gst_bin_remove):
12728         * gst/gstbin.h:
12729         * gst/gstbuffer.c:
12730         * gst/gstcaps.h:
12731         * testsuite/clock/clock1.c: (main):
12732         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12733         (main):
12734         * testsuite/dlopen/loadgst.c: (do_test):
12735         * testsuite/refcounting/bin.c: (add_remove_test1),
12736         (add_remove_test2), (main):
12737         * testsuite/refcounting/element.c: (main):
12738         * testsuite/refcounting/element_pad.c: (main):
12739         * testsuite/refcounting/pad.c: (main):
12740         * tools/gst-launch.c: (sigint_handler_sighandler):
12741         * tools/gst-typefind.c: (main):
12742         Doc updates.
12743         Added doc about clock.
12744         removed gst_bin_iterate_recurse_up(), marked methods
12745         for removal.
12746         Fix more testsuites.
12747
12748 2005-03-09  Wim Taymans  <wim@fluendo.com>
12749
12750         * gst/gstpad.c: (gst_pad_get_direction),
12751         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12752         (gst_pad_collect_valist):
12753         * testsuite/bins/interface.c: (main):
12754         * testsuite/caps/audioscale.c: (test_caps):
12755         * testsuite/caps/caps.c: (test1), (test2), (test3):
12756         * testsuite/caps/deserialize.c: (main):
12757         * testsuite/caps/enumcaps.c: (main):
12758         * testsuite/caps/filtercaps.c: (main):
12759         * testsuite/caps/intersect2.c: (main):
12760         * testsuite/caps/random.c: (main):
12761         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12762         * testsuite/caps/sets.c: (check_caps):
12763         * testsuite/caps/simplify.c: (check_caps), (main):
12764         * testsuite/caps/subtract.c: (check_caps):
12765         Fix _pad_get_direction wrt ghostpads.
12766         Fix caps testsuite.
12767
12768 2005-03-09  Wim Taymans  <wim@fluendo.com>
12769
12770         * check/Makefile.am:
12771         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12772         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12773         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12774         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12775         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12776         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12777         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12778         (bin_element_is_sink), (gst_bin_iterate_sinks),
12779         (gst_bin_iterate_all_by_interface):
12780         * gst/gstbin.h:
12781         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12782         (gst_element_change_state), (gst_element_dispose),
12783         (gst_element_finalize), (gst_element_set_loop_function):
12784         * gst/gstelement.h:
12785         * gst/gstiterator.c: (find_custom_fold_func):
12786         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12787         (gst_pad_collectv), (gst_pad_collect_valist),
12788         (gst_pad_template_new):
12789         * gst/gstpipeline.c: (gst_pipeline_class_init),
12790         (gst_pipeline_dispose), (gst_pipeline_set_property),
12791         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12792         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12793         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12794         * gst/gstutils.h:
12795         * gst/schedulers/entryscheduler.c:
12796         * gst/schedulers/gstbasicscheduler.c:
12797         (gst_basic_scheduler_cothreaded_chain),
12798         (gst_basic_scheduler_chain_add_element):
12799         * testsuite/bins/interface.c: (main):
12800         Added GstBin test.
12801         Added GstSystemClock test.
12802         Implemented clock distribution code in GstBin.
12803         Implemented iterate sinks method for future use.
12804         Rearranged gstelement.h
12805         Fix GstIterator comparison bug.
12806         Moved some code to GstPipeline, mostly clocking related.
12807
12808 2005-03-09  Wim Taymans  <wim@fluendo.com>
12809
12810         * configure.ac:
12811         * gst/gst_private.h:
12812         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12813         (gst_bin_remove_func), (gst_bin_remove),
12814         (gst_bin_get_by_name_recurse_up):
12815         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12816         (gst_clock_id_compare_func), (gst_clock_id_wait),
12817         (gst_clock_id_wait_async), (gst_clock_init),
12818         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12819         * gst/gstelement.h:
12820         * gst/gstinfo.c: (_gst_debug_init):
12821         * gst/gstobject.h:
12822         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12823         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12824         * gst/gstpad.h:
12825         Bump version number, we're now 0.9.0
12826         Add future debugging category.
12827         Fix NULL _unref() in _get_by_name_recurse_up
12828         Rearrange gstpad.h.
12829         Update some docs.
12830
12831 2005-03-08  Wim Taymans  <wim@fluendo.com>
12832
12833         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12834         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12835         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12836         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12837         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12838         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12839         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12840         * gst/elements/gstidentity.c: (gst_identity_class_init):
12841         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12842         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12843         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12844         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12845         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12846         (gst_tee_link):
12847         * gst/gstelement.c: (gst_element_class_init),
12848         (gst_element_base_class_init), (gst_element_init),
12849         (gst_element_get_random_pad), (gst_element_wait_state_change),
12850         (gst_element_change_state), (gst_element_dispose),
12851         (gst_element_finalize), (gst_element_set_loop_function):
12852         * gst/gstelement.h:
12853         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12854         * gst/gstthread.c: (gst_thread_class_init),
12855         (gst_thread_release_children_locks), (gst_thread_change_state):
12856         * gst/schedulers/gstbasicscheduler.c:
12857         (gst_basic_scheduler_loopfunc_wrapper),
12858         (gst_basic_scheduler_chain_wrapper),
12859         (gst_basic_scheduler_src_wrapper),
12860         (gst_basic_scheduler_remove_element):
12861         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12862         Remove threadsafe properties. Fix elements because GObject
12863         complains when installing a property before declaring a
12864         set/get_property handler.
12865         Rearrange gstelement.h file, use STATE macros for state locks.
12866         Free mutexes in the finalize method instead of dispose.
12867
12868 2005-03-08  Wim Taymans  <wim@fluendo.com>
12869
12870         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12871         * gst/gstthread.c: (gst_thread_release_children_locks):
12872         Added parentage check.
12873         Fix build og GstThread again.
12874
12875 2005-03-08  Wim Taymans  <wim@fluendo.com>
12876
12877         * docs/design/part-MT-refcounting.txt:
12878         * docs/design/part-conventions.txt:
12879         * docs/design/part-gstobject.txt:
12880         * docs/design/part-relations.txt:
12881         * docs/design/part-standards.txt:
12882         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12883         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12884         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12885         (gst_bin_iterate_all_by_interface):
12886         * gst/gstbuffer.h:
12887         * gst/gstclock.h:
12888         * gst/gstelement.c: (gst_element_class_init),
12889         (gst_element_change_state), (gst_element_set_loop_function):
12890         * gst/gstelement.h:
12891         * gst/gstiterator.c:
12892         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12893         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12894         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12895         (gst_object_set_parent), (gst_object_unparent),
12896         (gst_object_check_uniqueness):
12897         * gst/gstobject.h:
12898         Docs updates, clean up some headers.
12899
12900 2005-03-07  Wim Taymans  <wim@fluendo.com>
12901
12902         * check/.cvsignore:
12903         * check/Makefile.am:
12904         * check/gst-libs/.cvsignore:
12905         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12906         * check/gst/.cvsignore:
12907         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12908         (START_TEST), (gstbus_suite), (main):
12909         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12910         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12911         (gst_data_suite), (main):
12912         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12913         (add_fold_func), (gstiterator_suite), (main):
12914         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12915         (thread_name_object), (thread_name_object_default),
12916         (gst_object_name_compare), (gst_object_suite), (main):
12917         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12918         (gst_pad_suite), (main):
12919         * check/gstcheck.c: (gst_check_log_message_func),
12920         (gst_check_log_critical_func), (gst_check_init):
12921         * check/gstcheck.h:
12922         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12923         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12924         Added checks.
12925
12926 2005-03-07  Wim Taymans  <wim@fluendo.com>
12927
12928         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12929         (gst_list_iterator_next), (gst_list_iterator_resync),
12930         (gst_list_iterator_free), (gst_iterator_new_list),
12931         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12932         (gst_iterator_free), (gst_iterator_push), (filter_next),
12933         (filter_resync), (filter_uninit), (filter_free),
12934         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12935         (gst_iterator_foreach), (find_custom_fold_func),
12936         (gst_iterator_find_custom):
12937         * gst/gstiterator.h:
12938         Added missing files.
12939
12940 2005-03-07  Wim Taymans  <wim@fluendo.com>
12941
12942         * Makefile.am:
12943         * configure.ac:
12944         * docs/design/part-MT-refcounting.txt:
12945         * docs/design/part-conventions.txt:
12946         * docs/design/part-gstobject.txt:
12947         * docs/design/part-relations.txt:
12948         * examples/mixer/mixer.c: (main):
12949         * examples/thread/thread.c: (eos), (main):
12950         * gst/Makefile.am:
12951         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12952         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12953         (gst_spider_plug_from_srcpad):
12954         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12955         (gst_spider_identity_change_state),
12956         (gst_spider_identity_sink_loop_type_finding):
12957         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12958         * gst/elements/gstidentity.c: (gst_identity_init):
12959         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12960         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12961         * gst/elements/gsttypefindelement.c: (free_entry):
12962         * gst/gst.c:
12963         * gst/gst.h:
12964         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12965         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12966         (gst_bin_set_index), (gst_bin_set_element_sched),
12967         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12968         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12969         (gst_bin_iterate_elements), (iterate_child_recurse),
12970         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12971         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12972         (compare_interface), (gst_bin_get_by_interface),
12973         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12974         * gst/gstbin.h:
12975         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12976         (gst_buffer_default_free), (gst_buffer_default_copy),
12977         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12978         (gst_buffer_create_sub):
12979         * gst/gstbuffer.h:
12980         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12981         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12982         (gst_caps_unref), (gst_static_caps_get),
12983         (gst_caps_remove_and_get_structure), (gst_caps_append),
12984         (gst_caps_append_structure), (gst_caps_remove_structure),
12985         (gst_caps_copy_nth), (gst_caps_set_simple),
12986         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12987         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12988         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12989         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12990         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12991         (gst_caps_structure_figure_out_union),
12992         (gst_caps_switch_structures), (gst_caps_do_simplify),
12993         (gst_caps_replace), (gst_caps_from_string),
12994         (gst_caps_copy_conditional):
12995         * gst/gstcaps.h:
12996         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12997         (_gst_clock_id_free), (gst_clock_id_unref),
12998         (gst_clock_id_compare_func), (gst_clock_id_wait),
12999         (gst_clock_id_wait_async), (gst_clock_class_init),
13000         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13001         (gst_clock_get_time), (gst_clock_set_time_adjust),
13002         (gst_clock_set_property), (gst_clock_get_property):
13003         * gst/gstclock.h:
13004         * gst/gstcompat.h:
13005         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13006         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13007         * gst/gstdata.h:
13008         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13009         (gst_element_requires_clock), (gst_element_provides_clock),
13010         (gst_element_set_clock), (gst_element_clock_wait),
13011         (gst_element_wait), (gst_element_set_time_delay),
13012         (gst_element_is_indexable), (gst_element_add_pad),
13013         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13014         (pad_compare_name), (gst_element_get_static_pad),
13015         (gst_element_request_pad), (gst_element_get_request_pad),
13016         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13017         (gst_element_class_get_pad_template_list),
13018         (gst_element_class_get_pad_template), (gst_element_error_func),
13019         (gst_element_get_random_pad), (gst_element_get_event_masks),
13020         (gst_element_send_event), (gst_element_seek),
13021         (gst_element_get_query_types), (gst_element_query),
13022         (gst_element_get_formats), (gst_element_convert),
13023         (gst_element_is_locked_state), (gst_element_set_locked_state),
13024         (gst_element_sync_state_with_parent), (gst_element_change_state),
13025         (gst_element_finalize), (gst_element_yield),
13026         (gst_element_interrupt), (gst_element_set_scheduler),
13027         (gst_element_get_scheduler), (gst_element_set_loop_function):
13028         * gst/gstelement.h:
13029         * gst/gstevent.h:
13030         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13031         (gst_format_get_by_nick), (gst_format_get_details),
13032         (gst_format_iterate_definitions):
13033         * gst/gstformat.h:
13034         * gst/gstindex.c: (gst_index_gtype_resolver):
13035         * gst/gstinfo.c:
13036         * gst/gstinfo.h:
13037         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13038         (gst_mem_chunk_free):
13039         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13040         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13041         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13042         (gst_object_dispatch_properties_changed),
13043         (gst_object_set_name_default), (gst_object_set_name),
13044         (gst_object_get_name), (gst_object_set_name_prefix),
13045         (gst_object_get_name_prefix), (gst_object_set_parent),
13046         (gst_object_get_parent), (gst_object_unparent),
13047         (gst_object_check_uniqueness), (gst_object_save_thyself),
13048         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13049         (gst_object_set_property), (gst_object_get_property),
13050         (gst_object_get_path_string):
13051         * gst/gstobject.h:
13052         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13053         (gst_real_pad_init), (gst_real_pad_get_property),
13054         (gst_pad_custom_new), (gst_pad_get_direction),
13055         (gst_pad_set_active), (gst_pad_is_active),
13056         (gst_pad_set_event_function), (gst_pad_is_linked),
13057         (gst_pad_link_free), (gst_pad_link_intersect),
13058         (gst_pad_link_fixate), (gst_pad_set_caps),
13059         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13060         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13061         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13062         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13063         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13064         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13065         (gst_pad_realize), (gst_pad_get_allowed_caps),
13066         (gst_real_pad_dispose), (gst_real_pad_finalize),
13067         (gst_pad_collectv), (gst_pad_collect_valist),
13068         (gst_pad_template_dispose), (gst_pad_template_new),
13069         (gst_pad_get_internal_links):
13070         * gst/gstpad.h:
13071         * gst/gstpipeline.c: (gst_pipeline_dispose),
13072         (gst_pipeline_change_state):
13073         * gst/gstpipeline.h:
13074         * gst/gstplugin.c:
13075         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13076         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13077         * gst/gstpluginfeature.h:
13078         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13079         * gst/gstquery.c: (_gst_query_type_initialize),
13080         (gst_query_type_register), (gst_query_type_get_by_nick),
13081         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13082         * gst/gstquery.h:
13083         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13084         * gst/gstscheduler.c: (gst_scheduler_add_element),
13085         (gst_scheduler_factory_create):
13086         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13087         (gst_structure_free), (gst_structure_set_name),
13088         (gst_structure_id_set_value), (gst_structure_set_value),
13089         (gst_structure_set_valist), (gst_structure_remove_field),
13090         (gst_structure_remove_fields),
13091         (gst_structure_remove_fields_valist),
13092         (gst_structure_remove_all_fields), (gst_structure_foreach),
13093         (gst_structure_map_in_place),
13094         (gst_caps_structure_fixate_field_nearest_int),
13095         (gst_caps_structure_fixate_field_nearest_double):
13096         * gst/gststructure.h:
13097         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13098         (gst_system_clock_init), (gst_system_clock_dispose),
13099         (gst_system_clock_async_thread),
13100         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13101         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13102         * gst/gstsystemclock.h:
13103         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13104         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13105         * gst/gsttaginterface.c:
13106         * gst/gstthread.c: (gst_thread_dispose),
13107         (gst_thread_release_children_locks), (gst_thread_change_state),
13108         (gst_thread_main_loop):
13109         * gst/gsttrashstack.h:
13110         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13111         * gst/gsttypes.h:
13112         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13113         (gst_element_request_pad), (gst_element_get_pad_from_template),
13114         (gst_element_request_compatible_pad),
13115         (gst_element_get_compatible_pad_filtered),
13116         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13117         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13118         (gst_element_link_many), (gst_element_link),
13119         (gst_element_link_pads), (gst_element_unlink_pads),
13120         (gst_element_unlink_many), (gst_element_unlink),
13121         (gst_pad_can_link_filtered), (gst_pad_can_link),
13122         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13123         (gst_object_default_error), (gst_bin_add_many),
13124         (gst_bin_remove_many), (gst_element_populate_std_props),
13125         (gst_element_class_install_std_props), (gst_buffer_merge),
13126         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13127         (link_fold_func), (gst_pad_proxy_setcaps):
13128         * gst/gstutils.h:
13129         * gst/gstvalue.c: (gst_value_deserialize_string):
13130         * gst/parse/grammar.y:
13131         * gst/schedulers/gstbasicscheduler.c:
13132         (gst_basic_scheduler_cothreaded_chain),
13133         (gst_basic_scheduler_chain_recursive_add),
13134         (gst_basic_scheduler_pad_link):
13135         * gst/schedulers/gstoptimalscheduler.c:
13136         (get_group_schedule_function),
13137         (gst_opt_scheduler_state_transition),
13138         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13139         * libs/gst/bytestream/bytestream.c:
13140         * libs/gst/dataprotocol/dataprotocol.c:
13141         (gst_dp_header_from_buffer):
13142         * po/nb.po:
13143         * po/ru.po:
13144         * tests/threadstate/threadstate2.c: (eos):
13145         * tools/gst-compprep.c: (main):
13146         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13147         (print_pad_info), (print_children_info):
13148         * tools/gst-launch.c: (idle_func), (main):
13149         * tools/gst-md5sum.c: (idle_func), (main):
13150         * tools/gst-xmlinspect.c: (print_element_info):
13151         First THREADED backport attempt, focusing on adding locks and
13152         making sure the API is threadsafe. Needs more work. More docs
13153         follow this week.
13154
13155 2005-02-24  Andy Wingo  <wingo@pobox.com>
13156
13157         * tests/bench-complexity.scm:
13158         * tests/complexity.gnuplot: New files, good for running complexity
13159         benchmarks.
13160
13161         * tests/Makefile.am:
13162         * tests/complexity.c: New test, sets up N elements, at each level
13163         teeing into M streams per element. Eeeenteresting.
13164
13165         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13166         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13167         running bench-mass_elements.scm.
13168
13169         * tests/bench-mass_elements.scm: New script, runs mass_elements
13170         for various numbers of identities, outputting the results to a
13171         file. Requires guile 1.6. Just for testing.
13172
13173 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13174
13175         * gst/schedulers/fairscheduler.c:
13176           compile with debug disabled
13177
13178 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13179
13180         * configure.ac:
13181           hunting season on 0.9 is now OPEN