libs/gst/base/gstbasetransform.c: speling fix.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-06  David Schleef  <ds@schleef.org>
2
3         * libs/gst/base/gstbasetransform.c: speling fix.
4
5 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6
7         * docs/libs/tmpl/gstdataprotocol.sgml:
8         * docs/random/omega/testing/gstobject.c:
9         * gst/gst.c:
10         * gst/gstclock.c:
11         * gst/gstelement.c:
12         * gst/gstelementfactory.c:
13         * gst/gsterror.c:
14         * gst/gstevent.c:
15         * gst/gstghostpad.c:
16         * gst/gstinfo.c:
17         * gst/gstpadtemplate.c:
18         * gst/gstregistryxml.c:
19         * gst/gsttaglist.c:
20         * gst/gsttagsetter.c:
21         * gst/gsttypefind.c:
22         * gst/gstvalue.c:
23         * libs/gst/base/gstbasesrc.c:
24         * libs/gst/net/gstnetclientclock.c:
25         * libs/gst/net/gstnettimeprovider.c:
26         * plugins/elements/gstfakesrc.c:
27         * plugins/elements/gstfdsrc.c:
28         * plugins/elements/gstfilesrc.c:
29         * plugins/elements/gstidentity.c:
30         * plugins/elements/gstqueue.c:
31         * plugins/elements/gsttypefindelement.c:
32         * plugins/indexers/gstfileindex.c:
33         * plugins/indexers/gstmemindex.c:
34         * tests/check/gst/gsttag.c:
35         * tests/old/examples/cutter/cutter.c:
36         * tests/old/examples/mixer/mixer.c:
37         * tests/old/examples/xml/runxml.c: (main):
38         * tests/old/testsuite/caps/normalisation.c:
39         * tests/old/testsuite/debug/global.c:
40         * tests/old/testsuite/parse/parse1.c:
41         * tools/gst-xmlinspect.c:
42         * win32/common/dirent.c:
43           expand tabs
44
45 === release 0.10.0 ===
46
47 2005-12-05   <thomas (at) apestaart (dot) org>
48
49         * configure.ac:
50           releasing 0.10.0, "Maroilles"
51
52 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
53
54         submitted by: Funda Wang <fundawang@linux.net.cn>
55
56         * po/LINGUAS:
57         * po/zh_CN.po:
58           added Chinese (Traditional) translation
59
60 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
61
62         * docs/gst/gstreamer-sections.txt:
63         * docs/libs/tmpl/gstdataprotocol.sgml:
64         * docs/random/thomasvs/TODO:
65         * gst/gstutils.c:
66         * gst/gstutils.h:
67           fix docs
68
69 2005-12-05  Andy Wingo  <wingo@pobox.com>
70
71         patch by: Wim Taymans <wim@fluendo.com>
72
73         * libs/gst/base/gstbasetransform.c
74         (gst_base_transform_prepare_output_buf)
75         (gst_base_transform_buffer_alloc):
76         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
77         alloc_buffer_and_set_caps.
78
79         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
80         set_caps on the source pad.
81         (gst_pad_alloc_buffer_and_set_caps): New function, does what
82         alloc_buffer used to do. Fixes #322874.
83
84         * docs/gst/gstreamer-sections.txt: 
85         * docs/design/part-negotiation.txt: 
86         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
87         changes.
88
89 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
90
91         patch by: Sebastien Moutte
92
93         * win32/MANIFEST:
94         * win32/common/config.h.in:
95         * win32/vs6/libgstcontroller.dsp:
96           win32 build fixes
97
98 2005-12-05  Wim Taymans  <wim@fluendo.com>
99
100         * gst/gstcaps.c: (gst_caps_is_equal):
101         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
102         (gst_fake_src_create):
103         Back out previous code changes, leave doc updates, file bugs 
104         instead. 
105
106 2005-12-05  Wim Taymans  <wim@fluendo.com>
107
108         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
109         (gst_fake_src_get_times), (gst_fake_src_create):
110         * plugins/elements/gstfakesrc.h:
111         Fix broken sync code.
112
113 2005-12-05  Wim Taymans  <wim@fluendo.com>
114
115         * gst/gstcaps.c: (gst_caps_is_equal):
116         Comparing NULL against !NULL yields different caps, not a
117         failure.
118
119 2005-12-05  Wim Taymans  <wim@fluendo.com>
120
121         * gst/gstpipeline.c:
122         Fix small typo in docs.
123
124 2005-12-05  Andy Wingo  <wingo@pobox.com>
125
126         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
127
128         * gst/gst.c (init_post): remove hard-coded 0.9 location for
129         registries/plugins with a MAJORMINOR one.
130         (plugin_desc): Rename library from gstcoreleements to
131         staticelements. Fixes #323222.
132
133 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
134
135         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
136           Change debug category to 'collectpads' from 'collect_pads'
137           (fixes #323250).
138
139 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
140
141         patch by: Sebastien Moutte
142
143         * libs/gst/controller/gstinterpolation.c:
144           use convert function for uint64/double
145         * win32/vs6/libgstcontroller.dsp:
146           link to GLib
147
148 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
149
150         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
151         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
152         * gst/gstutils.h:
153         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
154           add tests that seem to show that the guint64/gdouble conversions
155           are correct.
156
157 2005-12-02  Wim Taymans  <wim@fluendo.com>
158
159         * gst/gstregistry.c: (gst_registry_add_path):
160         * gst/gstregistry.h:
161         * gst/gstregistryxml.c:
162         Fix docs again.
163
164 2005-12-02  Wim Taymans  <wim@fluendo.com>
165
166         * gst/gstutils.c: (gst_util_uint64_scale_int64),
167         (gst_util_uint64_scale_int):
168         Small cleanup.
169
170         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
171         Add debug log line.
172
173         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
174         Add FIXME.
175
176 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
177
178         * win32/MANIFEST:
179         * win32/common/config.h:
180         * win32/vs6/gstreamer.dsw:
181         * win32/vs6/libgstcoreelements.dsp:
182         * win32/vs6/libgstelements.dsp:
183           renamed core elements plugin
184
185 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
186
187         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
188         (get_candidates):
189           do piece-wise major/minor comparison so 0.9 < 0.10
190           also allow .exe extensions for tools
191
192 2005-12-02  Michael Smith  <msmith@fluendo.com>
193
194         * gst/gst.c:
195           Escape a % to make gtkdoc happier; bug 322958.
196
197 === release 0.9.7 ===
198
199 2005-12-01   <thomas (at) apestaart (dot) org>
200
201         * configure.ac:
202           releasing 0.9.7, "My Dog Has No Nose"
203
204 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
205
206         * common/gst-xmlinspect.py:
207         * configure.ac:
208         * docs/libs/tmpl/gstdataprotocol.sgml:
209         * docs/random/release:
210         * po/af.po:
211         * po/az.po:
212         * po/bg.po:
213         * po/ca.po:
214         * po/cs.po:
215         * po/de.po:
216         * po/en_GB.po:
217         * po/fr.po:
218         * po/it.po:
219         * po/nb.po:
220         * po/nl.po:
221         * po/ru.po:
222         * po/sq.po:
223         * po/sr.po:
224         * po/sv.po:
225         * po/tr.po:
226         * po/uk.po:
227         * po/vi.po:
228         * win32/common/config.h:
229         * win32/common/config.h.in:
230         * win32/vs6/gst_inspect.dsp:
231         * win32/vs6/gst_launch.dsp:
232         * win32/vs6/libgstbase.dsp:
233         * win32/vs6/libgstelements.dsp:
234         * win32/vs6/libgstreamer.dsp:
235         * win32/vs7/GStreamer.vcproj:
236         * win32/vs7/gst-inspect.vcproj:
237         * win32/vs7/gst-launch.vcproj:
238         * win32/vs7/libgstbase.vcproj:
239           bump GST_MAJORMINOR to 0.10
240           reset libtool version
241
242 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
243
244         * po/LINGUAS:
245         * po/bg.po:
246           Added Bulgarian translation by (Alexander Shopov)
247
248 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
249
250         * tests/check/gst/gstplugin.c:
251           fix test
252
253 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
254
255         * common/gst-xmlinspect.py:
256         * common/gtk-doc-plugins.mak:
257         * configure.ac:
258         * docs/Makefile.am:
259         * docs/gst/Makefile.am:
260         * docs/gst/gstreamer-docs.sgml:
261         * docs/gst/gstreamer-sections.txt:
262         * docs/gst/gstreamer.types:
263         * docs/gst/gstreamer.types.in:
264         * docs/plugins/Makefile.am:
265         * docs/plugins/gstreamer-plugins-docs.sgml:
266         * docs/plugins/gstreamer-plugins-sections.txt:
267         * docs/plugins/gstreamer-plugins.types:
268         * docs/plugins/inspect.stamp:
269         * docs/plugins/inspect/plugin-coreelements.xml:
270         * docs/plugins/inspect/plugin-coreindexers.xml:
271         * docs/plugins/scanobj-build.stamp:
272         * gstreamer.spec.in:
273         * plugins/elements/Makefile.am:
274         * plugins/elements/gstelements.c:
275         * plugins/elements/gstfakesink.c:
276         * plugins/elements/gstfakesrc.c:
277         * plugins/elements/gstfilesink.c:
278         * plugins/elements/gstfilesrc.c:
279         * plugins/elements/gstqueue.c:
280         * plugins/indexers/Makefile.am:
281         * plugins/indexers/gstindexers.c:
282           document core plugins in a separate document just like all the
283           others
284           rename these plugins to something starting with core
285
286 2005-12-01  Andy Wingo  <wingo@pobox.com>
287
288         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
289         padding here before, but it missed the commit.
290
291 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
292
293         * libs/gst/controller/gstinterpolation.c:
294           whitespace prices have crashed, we should feel free to use some now
295           use gst_guint64_to_gdouble
296
297 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
298
299         * libs/gst/controller/gstcontroller.c:
300         * libs/gst/controller/gsthelper.c:
301         * libs/gst/controller/gstinterpolation.c:
302         * libs/gst/controller/lib.c:
303           wrap config.h include
304
305 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
306
307         * docs/gst/gstreamer-sections.txt:
308           update docs
309
310 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
311
312         * plugins/elements/gstelements.c:
313         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
314         (gst_fd_sink__class_init), (gst_fd_sink__init),
315         (gst_fd_sink__chain), (gst_fd_sink__set_property),
316         (gst_fd_sink__get_property):
317         * plugins/elements/gstfdsink.h:
318         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
319         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
320         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
321         (gst_fd_src_unlock), (gst_fd_src_set_property),
322         (gst_fd_src_get_property), (gst_fd_src_create),
323         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
324         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
325         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
326         (gst_fd_src_uri_handler_init):
327         * plugins/elements/gstfdsrc.h:
328         * plugins/elements/gstqueue.c: (gst_queue_get_type):
329           more anal cleanup
330
331 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
332
333         * docs/gst/Makefile.am:
334         * docs/gst/gstreamer.types.in:
335         * gst/Makefile.am:
336           fix the docs build
337
338 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
339
340         * configure.ac:
341         * gst/Makefile.am:
342         * gst/gst.c:
343         * gst/gstplugin.h:
344         * gst/gstregistry.h:
345         * tests/benchmarks/complexity.c:
346         * tests/benchmarks/mass-elements.c:
347         * tests/check/Makefile.am:
348         * tools/Makefile.am:
349         * tools/gst-inspect.c:
350         * tools/gst-xmlinspect.c:
351           various fixes to make
352           --disable-nls --disable-registry --disable-loadsave
353           --disable-parse --disable-gst-debug
354           work and get the core .so down to 360444 bytes after stripping
355
356 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
357
358         * Makefile.am:
359         * configure.ac:
360           descend into tests
361         * docs/random/thomasvs/TODO:
362         * tests/Makefile.am:
363         * tests/README:
364           add a README
365
366 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
367
368         * win32/GStreamer.vcproj:
369         * win32/MANIFEST:
370         * win32/Makefile:
371         * win32/Makefile.inspect:
372         * win32/Makefile.launch:
373         * win32/Makefile.register:
374         * win32/README.txt:
375         * win32/gst-inspect.vcproj:
376         * win32/gst-launch.vcproj:
377         * win32/gst-register.vcproj:
378         * win32/gstelements.vcproj:
379         * win32/gstgetbits.def:
380         * win32/gstgetbits.vcproj:
381         * win32/gstreamer-dbg.def:
382         * win32/gstreamer.def:
383         * win32/libgstbase.def:
384         * win32/libgstbase.vcproj:
385         * win32/link_oldruntime.c:
386         * win32/mman.c:
387         * win32/mman.h:
388         * win32/mman.inl:
389         * win32/msvc71.sln:
390           move even more stuff, win32/ is nice and clean now
391
392 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
393
394         * libs/gst/control/.cvsignore:
395         * win32/MANIFEST:
396         * win32/config.h:
397         * win32/dirent.c:
398         * win32/dirent.h:
399         * win32/gstbytestream.def:
400         * win32/gstbytestream.vcproj:
401         * win32/gstconfig.h:
402         * win32/gstenumtypes.c:
403         * win32/gstenumtypes.h:
404         * win32/gstoptimalscheduler.vcproj:
405         * win32/gstversion.h:
406         * win32/gtchar.h:
407         * win32/testsuite/bins.vcproj:
408         * win32/testsuite/bytestream.vcproj:
409         * win32/testsuite/caps.vcproj:
410         * win32/testsuite/cleanup.vcproj:
411         * win32/testsuite/clock.vcproj:
412         * win32/testsuite/debug.vcproj:
413         * win32/testsuite/dlopen.vcproj:
414         * win32/testsuite/dynparams.vcproj:
415         * win32/testsuite/elements.vcproj:
416         * win32/testsuite/ghostpads.vcproj:
417         * win32/testsuite/indexers.vcproj:
418         * win32/testsuite/negotiation.vcproj:
419         * win32/testsuite/parse.vcproj:
420         * win32/testsuite/plugin.vcproj:
421         * win32/testsuite/refcounting.vcproj:
422         * win32/testsuite/schedulers.vcproj:
423         * win32/testsuite/states.vcproj:
424         * win32/testsuite/tags.vcproj:
425         * win32/testsuite/threads.vcproj:
426           remove old win32 stuff that isn't maintained and should be
427           reorganized
428
429 2005-11-30  Andy Wingo  <wingo@pobox.com>
430
431         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
432         loading the gst.interfaces python module bork.
433
434         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
435         available since GLib 2.2. Fixes #318031.
436
437 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
438
439         * Makefile.am:
440         * check/.cvsignore:
441         * check/Makefile.am:
442         * check/elements/.cvsignore:
443         * check/elements/fakesrc.c:
444         * check/elements/fdsrc.c:
445         * check/elements/identity.c:
446         * check/generic/.cvsignore:
447         * check/generic/states.c:
448         * check/gst-libs/.cvsignore:
449         * check/gst-libs/controller.c:
450         * check/gst-libs/gdp.c:
451         * check/gst/.cvsignore:
452         * check/gst/capslist.h:
453         * check/gst/gst.c:
454         * check/gst/gstbin.c:
455         * check/gst/gstbuffer.c:
456         * check/gst/gstbus.c:
457         * check/gst/gstcaps.c:
458         * check/gst/gstelement.c:
459         * check/gst/gstevent.c:
460         * check/gst/gstghostpad.c:
461         * check/gst/gstiterator.c:
462         * check/gst/gstmessage.c:
463         * check/gst/gstminiobject.c:
464         * check/gst/gstobject.c:
465         * check/gst/gstpad.c:
466         * check/gst/gstpipeline.c:
467         * check/gst/gstplugin.c:
468         * check/gst/gstsegment.c:
469         * check/gst/gststructure.c:
470         * check/gst/gstsystemclock.c:
471         * check/gst/gsttag.c:
472         * check/gst/gstutils.c:
473         * check/gst/gstvalue.c:
474         * check/net/.cvsignore:
475         * check/net/gstnetclientclock.c:
476         * check/net/gstnettimeprovider.c:
477         * check/pipelines/.cvsignore:
478         * check/pipelines/cleanup.c:
479         * check/pipelines/simple_launch_lines.c:
480         * check/pipelines/stress.c:
481         * check/states/.cvsignore:
482         * check/states/sinks.c:
483         * configure.ac:
484         * examples/Makefile.am:
485         * examples/appreader/.cvsignore:
486         * examples/appreader/Makefile.am:
487         * examples/appreader/appreader.c:
488         * examples/controller/.cvsignore:
489         * examples/controller/Makefile.am:
490         * examples/controller/audio-example.c:
491         * examples/cutter/.cvsignore:
492         * examples/cutter/Makefile.am:
493         * examples/cutter/cutter.c:
494         * examples/cutter/cutter.h:
495         * examples/events/Makefile.am:
496         * examples/events/seek.c:
497         * examples/helloworld/.cvsignore:
498         * examples/helloworld/Makefile.am:
499         * examples/helloworld/helloworld.c:
500         * examples/helloworld2/.cvsignore:
501         * examples/helloworld2/Makefile.am:
502         * examples/helloworld2/helloworld2.c:
503         * examples/launch/.cvsignore:
504         * examples/launch/Makefile.am:
505         * examples/launch/mp3parselaunch.c:
506         * examples/launch/mp3play:
507         * examples/manual/.cvsignore:
508         * examples/manual/Makefile.am:
509         * examples/manual/extract.pl:
510         * examples/metadata/Makefile.am:
511         * examples/metadata/read-metadata.c:
512         * examples/mixer/.cvsignore:
513         * examples/mixer/Makefile.am:
514         * examples/mixer/mixer.c:
515         * examples/mixer/mixer.h:
516         * examples/pingpong/.cvsignore:
517         * examples/pingpong/Makefile.am:
518         * examples/pingpong/pingpong.c:
519         * examples/plugins/.cvsignore:
520         * examples/plugins/Makefile.am:
521         * examples/plugins/example.c:
522         * examples/plugins/example.h:
523         * examples/pwg/.cvsignore:
524         * examples/pwg/Makefile.am:
525         * examples/pwg/extract.pl:
526         * examples/queue/.cvsignore:
527         * examples/queue/Makefile.am:
528         * examples/queue/queue.c:
529         * examples/queue2/.cvsignore:
530         * examples/queue2/Makefile.am:
531         * examples/queue2/queue2.c:
532         * examples/queue3/.cvsignore:
533         * examples/queue3/Makefile.am:
534         * examples/queue3/queue3.c:
535         * examples/queue4/.cvsignore:
536         * examples/queue4/Makefile.am:
537         * examples/queue4/queue4.c:
538         * examples/retag/.cvsignore:
539         * examples/retag/Makefile.am:
540         * examples/retag/retag.c:
541         * examples/retag/transcode.c:
542         * examples/thread/.cvsignore:
543         * examples/thread/Makefile.am:
544         * examples/thread/thread.c:
545         * examples/typefind/.cvsignore:
546         * examples/typefind/Makefile.am:
547         * examples/typefind/typefind.c:
548         * examples/xml/.cvsignore:
549         * examples/xml/Makefile.am:
550         * examples/xml/createxml.c:
551         * examples/xml/runxml.c:
552         * tests/Makefile.am:
553         * tests/check/Makefile.am:
554         * testsuite/.cvsignore:
555         * testsuite/Makefile.am:
556         * testsuite/Rules:
557         * testsuite/caps/.cvsignore:
558         * testsuite/caps/Makefile.am:
559         * testsuite/caps/app_fixate.c:
560         * testsuite/caps/audioscale.c:
561         * testsuite/caps/caps.c:
562         * testsuite/caps/caps.h:
563         * testsuite/caps/caps_strings:
564         * testsuite/caps/compatibility.c:
565         * testsuite/caps/deserialize.c:
566         * testsuite/caps/enumcaps.c:
567         * testsuite/caps/eratosthenes.c:
568         * testsuite/caps/filtercaps.c:
569         * testsuite/caps/fixed.c:
570         * testsuite/caps/fraction-convert.c:
571         * testsuite/caps/fraction-multiply-and-zero.c:
572         * testsuite/caps/intersect2.c:
573         * testsuite/caps/intersection.c:
574         * testsuite/caps/normalisation.c:
575         * testsuite/caps/random.c:
576         * testsuite/caps/renegotiate.c:
577         * testsuite/caps/sets.c:
578         * testsuite/caps/simplify.c:
579         * testsuite/caps/string-conversions.c:
580         * testsuite/caps/structure.c:
581         * testsuite/caps/subtract.c:
582         * testsuite/caps/union.c:
583         * testsuite/debug/.cvsignore:
584         * testsuite/debug/Makefile.am:
585         * testsuite/debug/category.c:
586         * testsuite/debug/commandline.c:
587         * testsuite/debug/global.c:
588         * testsuite/debug/output.c:
589         * testsuite/debug/printf_extension.c:
590         * testsuite/dlopen/.cvsignore:
591         * testsuite/dlopen/Makefile.am:
592         * testsuite/dlopen/dlopen_gst.c:
593         * testsuite/dlopen/loadgst.c:
594         * testsuite/elements/.cvsignore:
595         * testsuite/elements/Makefile.am:
596         * testsuite/elements/gst-inspect-check.in:
597         * testsuite/elements/struct_i386.h:
598         * testsuite/elements/struct_size.c:
599         * testsuite/indexers/.cvsignore:
600         * testsuite/indexers/Makefile.am:
601         * testsuite/indexers/cache1.c:
602         * testsuite/indexers/indexdump.c:
603         * testsuite/parse/.cvsignore:
604         * testsuite/parse/Makefile.am:
605         * testsuite/parse/parse1.c:
606         * testsuite/parse/parse2.c:
607         * testsuite/plugin/.cvsignore:
608         * testsuite/plugin/Makefile.am:
609         * testsuite/plugin/README:
610         * testsuite/plugin/dynamic.c:
611         * testsuite/plugin/linked.c:
612         * testsuite/plugin/loading.c:
613         * testsuite/plugin/registry.c:
614         * testsuite/plugin/static.c:
615         * testsuite/plugin/static2.c:
616         * testsuite/plugin/testplugin.c:
617         * testsuite/plugin/testplugin2.c:
618         * testsuite/plugin/testplugin2_s.c:
619         * testsuite/plugin/testplugin_s.c:
620         * testsuite/refcounting/.cvsignore:
621         * testsuite/refcounting/Makefile.am:
622         * testsuite/refcounting/bin.c:
623         * testsuite/refcounting/element.c:
624         * testsuite/refcounting/element_pad.c:
625         * testsuite/refcounting/mainloop.c:
626         * testsuite/refcounting/mem.c:
627         * testsuite/refcounting/mem.h:
628         * testsuite/refcounting/object.c:
629         * testsuite/refcounting/pad.c:
630         * testsuite/refcounting/sched.c:
631         * testsuite/refcounting/thread.c:
632         * testsuite/states/.cvsignore:
633         * testsuite/states/Makefile.am:
634         * testsuite/states/bin.c:
635         * testsuite/states/locked.c:
636         * testsuite/states/parent.c:
637         * testsuite/threads/.cvsignore:
638         * testsuite/threads/159566.c:
639         * testsuite/threads/159852.c:
640         * testsuite/threads/Makefile.am:
641         * testsuite/threads/queue.c:
642         * testsuite/threads/signals.c:
643         * testsuite/threads/staticrec.c:
644         * testsuite/threads/thread.c:
645         * testsuite/threads/threadb.c:
646         * testsuite/threads/threadc.c:
647         * testsuite/threads/threadd.c:
648         * testsuite/threads/threade.c:
649         * testsuite/threads/threadf.c:
650         * testsuite/threads/threadg.c:
651         * testsuite/threads/threadh.c:
652         * testsuite/threads/threadi.c:
653           move all of these under tests
654
655 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
656
657         * configure.ac:
658         * tests/Makefile.am:
659           fix distcheck
660
661 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
662
663         * docs/gst/gstreamer-sections.txt:
664         * tests/sched/.cvsignore:
665         * tests/sched/Makefile.am:
666         * tests/sched/cases/(fs-fs).xml:
667         * tests/sched/cases/(fs-i-fs).xml:
668         * tests/sched/cases/(fs-i-i-fs).xml:
669         * tests/sched/cases/(fs-i-q[i-fs]).xml:
670         * tests/sched/dynamic-pipeline.c:
671         * tests/sched/interrupt1.c:
672         * tests/sched/interrupt2.c:
673         * tests/sched/interrupt3.c:
674         * tests/sched/runtestcases:
675         * tests/sched/runxml.c:
676         * tests/sched/sched-stress.c:
677         * tests/sched/sort.c:
678         * tests/sched/testcases:
679         * tests/sched/testcases1.tc:
680         * tests/seeking/.cvsignore:
681         * tests/seeking/Makefile.am:
682         * tests/seeking/seeking1.c:
683         * tests/threadstate/.cvsignore:
684         * tests/threadstate/Makefile.am:
685         * tests/threadstate/test1.c:
686         * tests/threadstate/test2.c:
687         * tests/threadstate/threadstate1.c:
688         * tests/threadstate/threadstate2.c:
689         * tests/threadstate/threadstate3.c:
690         * tests/threadstate/threadstate4.c:
691         * tests/threadstate/threadstate5.c:
692           remove obsolete tests
693         * configure.ac:
694         * tests/bench-complexity.scm:
695         * tests/bench-mass_elements.scm:
696         * tests/complexity.c:
697         * tests/complexity.gnuplot:
698         * tests/instantiate/.cvsignore:
699         * tests/instantiate/Makefile.am:
700         * tests/instantiate/caps.c:
701         * tests/mass_elements.c:
702         * tests/network-clock-utils.scm:
703         * tests/network-clock.scm:
704         * tests/plot-data:
705         First pass at cleaning up tests/ dir before moving the rest
706         Combined with CVS surgery
707
708 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
709
710         * po/POTFILES.in:
711           queue has moved, update
712
713 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
714
715         * docs/gst/gstreamer-sections.txt:
716           remove double entries from the docs
717         * gst/gst_private.h:
718         * gst/gstinfo.c: (_gst_debug_init):
719           remove the THREAD debug category
720         * gst/Makefile.am:
721         * gst/gstqueue.c:
722         * gst/gstqueue.h:
723         * docs/gst/gstreamer.types:
724         * plugins/elements/gstqueue.c: (gst_queue_get_type),
725         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
726           completely move queue and fix up debugging categories
727
728 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
729
730         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
731           make initialization portable, using LL is not
732
733 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
734
735         * win32/common/gstconfig.h:
736           add large padding
737
738 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
739
740         * win32/common/libgstreamer.def:
741           rename symbols; sort base section
742
743 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
744
745         * gst/gstclock.c: (do_linear_regression):
746           remove crack non-portable handrolled DEBUG macro
747
748 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
749
750         * docs/random/release:
751           update notes
752         * win32/common/gstenumtypes.c: (register_gst_object_flags),
753         (gst_object_flags_get_type), (register_gst_bin_flags),
754         (gst_bin_flags_get_type), (register_gst_buffer_flag),
755         (gst_buffer_flag_get_type), (register_gst_bus_flags),
756         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
757         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
758         (gst_caps_flags_get_type), (register_gst_clock_return),
759         (gst_clock_return_get_type), (register_gst_clock_entry_type),
760         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
761         (gst_clock_flags_get_type), (register_gst_state),
762         (gst_state_get_type), (register_gst_state_change_return),
763         (gst_state_change_return_get_type), (register_gst_state_change),
764         (gst_state_change_get_type), (register_gst_element_flags),
765         (gst_element_flags_get_type), (register_gst_core_error),
766         (gst_core_error_get_type), (register_gst_library_error),
767         (gst_library_error_get_type), (register_gst_resource_error),
768         (gst_resource_error_get_type), (register_gst_stream_error),
769         (gst_stream_error_get_type), (register_gst_event_type_flags),
770         (gst_event_type_flags_get_type), (register_gst_event_type),
771         (gst_event_type_get_type), (register_gst_seek_type),
772         (gst_seek_type_get_type), (register_gst_seek_flags),
773         (gst_seek_flags_get_type), (register_gst_format),
774         (gst_format_get_type), (register_gst_index_certainty),
775         (gst_index_certainty_get_type), (register_gst_index_entry_type),
776         (gst_index_entry_type_get_type),
777         (register_gst_index_lookup_method),
778         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
779         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
780         (gst_index_resolver_method_get_type), (register_gst_index_flags),
781         (gst_index_flags_get_type), (register_gst_debug_level),
782         (gst_debug_level_get_type), (register_gst_debug_color_flags),
783         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
784         (gst_iterator_result_get_type), (register_gst_iterator_item),
785         (gst_iterator_item_get_type), (register_gst_message_type),
786         (gst_message_type_get_type), (register_gst_mini_object_flags),
787         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
788         (gst_pad_link_return_get_type), (register_gst_flow_return),
789         (gst_flow_return_get_type), (register_gst_activate_mode),
790         (gst_activate_mode_get_type), (register_gst_pad_direction),
791         (gst_pad_direction_get_type), (register_gst_pad_flags),
792         (gst_pad_flags_get_type), (register_gst_pad_presence),
793         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
794         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
795         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
796         (gst_plugin_error_get_type), (register_gst_plugin_flags),
797         (gst_plugin_flags_get_type), (register_gst_rank),
798         (gst_rank_get_type), (register_gst_query_type),
799         (gst_query_type_get_type), (register_gst_tag_merge_mode),
800         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
801         (gst_tag_flag_get_type), (register_gst_task_state),
802         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
803         (gst_alloc_trace_flags_get_type),
804         (register_gst_type_find_probability),
805         (gst_type_find_probability_get_type), (register_gst_uri_type),
806         (gst_uri_type_get_type), (register_gst_parse_error),
807         (gst_parse_error_get_type):
808         * win32/common/gstenumtypes.h:
809         * win32/common/gstversion.h:
810           update visual studio generated files
811
812 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
813
814         * win32/vs6/libgstbase.dsp:
815         * win32/vs6/libgstelements.dsp:
816           update project files for new locations
817
818 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
819
820         * Makefile.am:
821           remove some files
822         * README:
823           reinstate and update
824         * DEVEL:
825         * REQUIREMENTS:
826           removed
827         * LICENSE:
828         * docs/random/LICENSE:
829           moved to random
830
831 2005-11-30  Edward Hervey  <edward@fluendo.com>
832
833         * gst/gsttypefind.c: (gst_type_find_register):
834         * gst/gsttypefind.h:
835         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
836         (gst_type_find_factory_dispose):
837         * gst/gsttypefindfactory.h:
838         Fix memory leak in GstTypeFindFactory.
839
840 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
841
842         * gst/gst.c:
843         * plugins/elements/Makefile.am:
844         * plugins/elements/gstelements.c:
845         * plugins/elements/gstqueue.c:
846           move queue from core to the elements plugin
847
848 2005-11-29  Andy Wingo  <wingo@pobox.com>
849
850         * libs/gst/base/gstbasetransform.h: 
851         * libs/gst/base/gstbasesrc.h: 
852         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
853
854         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
855         of pointers by which to pad very extensible base classes (like the
856         ones in libs/gst/base).
857
858 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
859
860         * docs/gst/gstreamer-docs.sgml:
861         * docs/gst/gstreamer-sections.txt:
862         * docs/libs/gstreamer-libs-docs.sgml:
863         * docs/libs/gstreamer-libs-sections.txt:
864           moving documentation from core to lib
865
866 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
867
868         * check/Makefile.am:
869         * configure.ac:
870         * docs/gst/Makefile.am:
871         * gst/Makefile.am:
872         * gst/base/.cvsignore:
873         * gst/base/Makefile.am:
874         * gst/base/README:
875         * gst/base/gstadapter.c:
876         * gst/base/gstadapter.h:
877         * gst/base/gstbasesink.c:
878         * gst/base/gstbasesink.h:
879         * gst/base/gstbasesrc.c:
880         * gst/base/gstbasesrc.h:
881         * gst/base/gstbasetransform.c:
882         * gst/base/gstbasetransform.h:
883         * gst/base/gstcollectpads.c:
884         * gst/base/gstcollectpads.h:
885         * gst/base/gstpushsrc.c:
886         * gst/base/gstpushsrc.h:
887         * gst/base/gsttypefindhelper.c:
888         * gst/base/gsttypefindhelper.h:
889         * gst/check/Makefile.am:
890         * gst/check/gstcheck.c:
891         * gst/check/gstcheck.h:
892         * gst/net/Makefile.am:
893         * gst/net/gstnet.h:
894         * gst/net/gstnetclientclock.c:
895         * gst/net/gstnetclientclock.h:
896         * gst/net/gstnettimepacket.c:
897         * gst/net/gstnettimepacket.h:
898         * gst/net/gstnettimeprovider.c:
899         * gst/net/gstnettimeprovider.h:
900         * libs/gst/Makefile.am:
901         * libs/gst/base/Makefile.am:
902         * libs/gst/base/gstbasetransform.c:
903         * libs/gst/check/Makefile.am:
904         * plugins/elements/Makefile.am:
905         * po/POTFILES.in:
906           CVS surgery + support to move base, check, and net out of gst
907           and into libs/gst
908
909 2005-11-29  Andy Wingo  <wingo@pobox.com>
910
911         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
912
913         * gst/gststructure.h (struct _GstStructure): Only one pointer of
914         padding.
915
916         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
917
918         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
919
920         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
921
922         * gst/gstobject.h: (struct _GstObject): Only one pointer of
923         padding; reduces object size by about 30%. We don't expect
924         anything else to go into gstobject.
925
926         * gst/gstminiobject.h (struct _GstMiniObject)
927         (struct _GstMiniObjectClass): Only one pointer of padding; the
928         payload is only a pointer and two ints anyway. For the class there
929         are only two methods as well.
930         
931         * gst/gstelement.h (struct _GstElementClass): Removed
932         the state_changed signal callback, it is not used.
933
934 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
935
936         * docs/gst/gstreamer.types:
937           fix includes, though they are a little dinky
938
939 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
940
941         * check/Makefile.am:
942           look in the right place for elements, a lot more chance of
943           success
944         * gst/Makefile.am:
945           remove indexers and elements subdirs
946         * plugins/Makefile.am:
947           make indexers conditional
948
949 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
950
951         * Makefile.am:
952         * configure.ac:
953         * plugins/elements/Makefile.am:
954         * plugins/elements/gstcapsfilter.c:
955         * plugins/elements/gstfilesink.c:
956         * plugins/elements/gstfilesrc.c:
957         * plugins/elements/gstidentity.c:
958         * plugins/indexers/Makefile.am:
959           do CVS surgery and related build fixery to move elements
960           and indexers in a new gstreamer/plugins directory, out of the
961           gst/ directory
962
963 2005-11-29  Andy Wingo  <wingo@pobox.com>
964
965         * check/Makefile.am:
966         * pkgconfig/gstreamer-net-uninstalled.pc.in:
967         * pkgconfig/gstreamer-net.pc.in:
968         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
969         #322257.
970
971 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
972
973         * tools/Makefile.am:
974         * tools/gst-complete.1.in:
975         * tools/gst-complete.c:
976         * tools/gst-compprep.1.in:
977         * tools/gst-compprep.c:
978           removing -compprep and -complete
979
980 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
981
982         * gst/gstevent.c: (gst_event_new_new_segment),
983         (gst_event_parse_new_segment):
984         * gst/gstevent.h:
985           fix #320529 - clean up new_segment API and structure.
986           Let's hope everyone was using the methods, and not the structure.
987
988 2005-11-29  Edward Hervey  <edward@fluendo.com>
989
990         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
991         (gst_base_sink_event), (gst_base_sink_do_sync),
992         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
993         Properly handle non GST_FORMAT_TIME segment
994         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
995         Properly handle non GST_FORMAT_TIME segment
996         * gst/gstsegment.c:
997         This function is valid if the accumulator is 0 and the format
998         is different from the requested format.
999         
1000 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1001
1002         * docs/gst/gstreamer-sections.txt:
1003         Add gst_query_new_seeking and gst_query_parse_seeking to the
1004         docs.
1005
1006 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1007
1008         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1009           Treat a pad alloc with new caps the same as if we were not
1010           negotiated, in order to allow a changing upstream output
1011           to produce a new format of data.
1012
1013 2005-11-29  Edward Hervey  <edward@fluendo.com>
1014
1015         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1016         (gst_base_transform_event), (gst_base_transform_eventfunc):
1017         The event virtual method is now properly implemented, with a default
1018         handler
1019         Sub classes should call the parent_class event method. They should
1020         return FALSE if they had a problem handling the given event, or don't
1021         want GstBaseTransform to send that even downstream
1022         * gst/elements/gstidentity.c: (gst_identity_class_init),
1023         (gst_identity_init), (gst_identity_event),
1024         (gst_identity_transform_ip), (gst_identity_set_property),
1025         (gst_identity_get_property):
1026         * gst/elements/gstidentity.h:
1027         Added the single-segment boolean property.
1028         If set to TRUE, it will output a single segment of data, starting from
1029         0, will eat up all incoming newsegment, and modify the timestamp of the
1030         buffers accordingly
1031
1032 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
1033
1034         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1035           Don't ref NULL target pad (#322751). Improve docs.
1036
1037 2005-11-29  Michael Smith  <msmith@fluendo.com>
1038
1039         * gst/gstregistryxml.c: (load_plugin):
1040           Don't crash if we failed to load a feature from a plugin. 
1041
1042 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1043
1044         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1045         (GST_START_TEST):
1046           use more check API and less GLib API
1047
1048 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1049
1050         * Makefile.am:
1051           don't run checks if we don't have check
1052         * common/check.mak:
1053           remove the registry when running make torture
1054         * docs/gst/gstreamer-sections.txt:
1055           remove second multiply
1056         * gst/gstqueue.c: (gst_queue_loop):
1057           fix a compile warning when disabling debug
1058
1059 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1060
1061         * gst/gstinfo.h:
1062         Hey! Let's print the pad name if the pointer != NULL instead
1063         of when it == NULL :-)
1064
1065 2005-11-28  Wim Taymans  <wim@fluendo.com>
1066
1067         * check/gst/gstutils.c: (GST_START_TEST):
1068         Updated check, add some scaling accuracy checking code.
1069
1070         * gst/gstutils.c: (gst_util_div128_64),
1071         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1072         (gst_util_uint64_scale_int):
1073         Fix 6 times faster division code. Optimize for common 
1074         1/1 and less common X/1 cases.
1075
1076 2005-11-28  Wim Taymans  <wim@fluendo.com>
1077
1078         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1079         More checks.
1080
1081         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1082         (do_linear_regression), (gst_clock_add_observation):
1083         Cleanups.
1084         Release lock when the clock cannot be slaved.
1085         Catch the case where the regression returned an invalid denominator.
1086
1087         * gst/gstutils.c: (gst_util_div128_64_iterate),
1088         (gst_util_div128_64), (gst_util_uint64_scale_int64),
1089         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1090         Add protentially more performant non-iterative 128/64 divide function
1091         that unfortunatly does not work yet.
1092         Shortcut the trivial 0/X = 0 case.
1093         Remove the warnings on overflow.
1094
1095 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1096
1097         * gst/gstplugin.c: (gst_plugin_register_func):
1098           everything causing a plugin not to load should be at least a WARNING
1099
1100 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
1101
1102         * docs/random/ensonic/dparams.txt:
1103           some TODOs for the next dev cycle
1104         * libs/gst/controller/gstcontroller.c:
1105         (gst_controlled_property_set_interpolation_mode),
1106         (gst_controlled_property_new):
1107         * libs/gst/controller/gstcontroller.h:
1108           use base type to assign acccessor functions
1109
1110 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1111
1112         * check/Makefile.am:
1113         Oops, that should have been top_srcdir
1114
1115 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1116
1117         * check/Makefile.am:
1118         * check/elements/fdsrc.c: (GST_START_TEST):
1119         Use a cmdline define to specify the location of a file to use for
1120         testing, to avoid breaking distcheck.
1121
1122 2005-11-28  Andy Wingo  <wingo@pobox.com>
1123
1124         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1125
1126 2005-11-28  Edward Hervey  <edward@fluendo.com>
1127
1128         * tools/gst-launch.c: (main):
1129         Clarify the output strings, makes it easier to translate.
1130         Fixes #322626
1131
1132 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1133
1134         * gst/Makefile.am:
1135           don't try and build net if we don't even have <sys/socket.h>
1136
1137 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1138
1139         * check/Makefile.am:
1140         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1141         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1142           Add tests for fdsrc seekability
1143
1144         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1145         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1146         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1147         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1148         * gst/elements/gstfdsrc.h:
1149           fdsrc should not be a 'live' source.
1150           Implement seeking on seekable fd's.
1151
1152         * gst/gstquery.c: (gst_query_new_seeking),
1153         (gst_query_parse_seeking):
1154         * gst/gstquery.h:
1155           Implement SEEKING query functions: 
1156             *_new_seeking and *_parse_seeking
1157
1158 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1159
1160         * gst/gstelement.c: (gst_element_dispose):
1161           don't loop forever
1162
1163         * gst/gstiterator.c:
1164         * gst/gststructure.c:
1165           doc fixes
1166
1167         * libs/gst/controller/gstcontroller.c:
1168         (gst_controlled_property_set_interpolation_mode):
1169         * libs/gst/controller/gstcontroller.h:
1170         * libs/gst/controller/gstinterpolation.c:
1171         (interpolate_none_get_enum_value_array):
1172           support controlling enums
1173
1174 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1175
1176         * gst/gstvalue.c:
1177           Improve documentation for gst_value_union().
1178
1179         * gst/gstvalue.h:
1180           Change return value for union, intersect and subtract functions
1181           from gint to gboolean.
1182
1183 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1184
1185         * gst/gstvalue.c: (gst_value_serialize_any_list),
1186         (gst_value_transform_any_list_string),
1187         (gst_value_deserialize_list), (gst_value_deserialize_array),
1188         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1189         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1190         (gst_value_set_fraction_range_full),
1191         (gst_value_deserialize_fraction_range),
1192         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1193         (gst_value_deserialize_boolean),
1194         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1195         (gst_value_serialize_float), (gst_value_deserialize_float),
1196         (gst_string_wrap), (gst_value_deserialize_string),
1197         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1198         (gst_value_union_int_range_int_range),
1199         (gst_value_intersect_int_range_int_range),
1200         (gst_value_intersect_double_range_double_range),
1201         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1202         (gst_value_subtract_int_range_int_range),
1203         (gst_value_subtract_double_double_range),
1204         (gst_value_subtract_double_range_double_range),
1205         (gst_value_deserialize_fraction):
1206         * gst/gstvalue.h:
1207           Use gint, gdouble and gchar in our API instead of int, double and
1208           char (and make usage in gstvalue.c more consistent).
1209
1210 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1211
1212         * check/Makefile.am:
1213         * libs/gst/controller/Makefile.am:
1214         * libs/gst/dataprotocol/Makefile.am:
1215           fix up Makefile.am and remove GST_ENABLE_NEW
1216
1217 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1218
1219         * configure.ac:
1220         * gst/Makefile.am:
1221         * gst/base/Makefile.am:
1222         * gst/check/Makefile.am:
1223         * gst/elements/Makefile.am:
1224         * gst/net/Makefile.am:
1225           update LDFLAGS use some more
1226
1227 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1228
1229         * common/m4/gst-doc.m4:
1230           Fixes #312589
1231
1232 2005-11-26  Edward Hervey  <edward@fluendo.com>
1233
1234         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1235         This shouldn't issue a g_warning since it returns NULL if it
1236         couldn't find the plugin, and all functions using this behave
1237         properly on a NULL return. Switching to a GST_WARNING.
1238
1239 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1240
1241         * gst/gstbin.c: (gst_bin_handle_message_func):
1242         Don't leak clock messages.
1243
1244 2005-11-25  Wim Taymans  <wim@fluendo.com>
1245
1246         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1247         (gst_util_uint64_scale_int):
1248         Optimisations, remove unneeded vars.
1249
1250 2005-11-25  Wim Taymans  <wim@fluendo.com>
1251
1252         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1253         Added more checks for the high precision uint64 cases.
1254
1255         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1256         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1257         Implement high precision (guint64 * guint64) / guint64.
1258
1259 2005-11-24  Wim Taymans  <wim@fluendo.com>
1260
1261         * gst/base/gstbasesrc.c: (gst_base_src_query):
1262         Fix wrong percentage query.
1263
1264         * gst/gstutils.c: (gst_util_uint64_scale),
1265         (gst_util_uint64_scale_int):
1266         Add some more common cases that can be handled 
1267         efficiently to _scale.
1268
1269 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1270
1271         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1272         (gst_mini_object_suite):
1273           don't use check calls from threads; check probably isn't
1274           threadsafe and using a lock to make it threadsafe would
1275           defeat the purpose of this check
1276         * gst/check/gstcheck.c:
1277         * gst/check/gstcheck.h:
1278           use GST_DEBUG some more
1279
1280 2005-11-24  Wim Taymans  <wim@fluendo.com>
1281
1282         * gst/gstutils.c: (gst_util_uint64_scale),
1283         (gst_util_uint64_scale_int):
1284         Chain trivial case to _scale_int.
1285
1286 2005-11-24  Wim Taymans  <wim@fluendo.com>
1287
1288         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1289         Added test for scaling.
1290
1291         * gst/gstclock.h:
1292         Small doc fix.
1293
1294         * gst/gstutils.c: (gst_util_uint64_scale_int):
1295         Implemented high precision scaling code.
1296
1297 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1298
1299         * gst/gstinfo.h:
1300           do not crash on pad==NULL
1301
1302 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1303
1304         Patch by: Stefan Kost
1305
1306         * common/gtk-doc.mak:
1307         * docs/gst/Makefile.am:
1308         * docs/libs/Makefile.am:
1309           Fix distcheck issues for the libraries docs build
1310           Closes #319599.
1311
1312 2005-11-24  Michael Smith <msmith@fluendo.com>
1313
1314         * docs/manual/basics-helloworld.xml:
1315           Fix bug #315027: memory leak in example code in docs.
1316
1317 2005-11-24  Michael Smith <msmith@fluendo.com>
1318
1319         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1320           Unlock the PREROLL_LOCK in a failure case.
1321
1322 2005-11-24  Wim Taymans  <wim@fluendo.com>
1323
1324         * docs/gst/gstreamer-sections.txt:
1325         * gst/base/gstadapter.h:
1326         * gst/base/gstbasesink.h:
1327         * gst/base/gstbasesrc.h:
1328         * gst/base/gstbasetransform.h:
1329         * gst/base/gstpushsrc.h:
1330         * gst/elements/gstfakesink.h:
1331         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1332         * gst/elements/gstfakesrc.h:
1333         * gst/elements/gstfilesink.h:
1334         * gst/elements/gstfilesrc.h:
1335         * gst/gst.c:
1336         * gst/gstbin.c:
1337         * gst/gstbuffer.c: (_gst_buffer_copy):
1338         * gst/gstbus.h:
1339         * gst/gstcaps.c:
1340         * gst/gstchildproxy.c:
1341         * gst/gstclock.c:
1342         * gst/gstelement.c:
1343         * gst/gstelementfactory.c:
1344         * gst/gstelementfactory.h:
1345         * gst/gstevent.c:
1346         * gst/gstghostpad.h:
1347         * gst/gstindex.h:
1348         * gst/gstinterface.h:
1349         * gst/gstminiobject.c:
1350         * gst/gstminiobject.h:
1351         * gst/gstpad.c:
1352         * gst/gstpad.h:
1353         * gst/gstpadtemplate.h:
1354         * gst/gstpipeline.h:
1355         * gst/gstpluginfeature.h:
1356         * gst/gstquery.h:
1357         * gst/gstqueue.h:
1358         * gst/gsttaglist.c:
1359         * gst/gsttaglist.h:
1360         * gst/gsttagsetter.c:
1361         * gst/gsttagsetter.h:
1362         * gst/gsttrace.c:
1363         * gst/gsttrace.h:
1364         * gst/gsttypefind.h:
1365         * gst/gsturi.h:
1366         * gst/gstvalue.c:
1367         * gst/net/gstnetclientclock.c:
1368         * gst/net/gstnetclientclock.h:
1369         * gst/net/gstnettimepacket.c:
1370         * gst/net/gstnettimeprovider.c:
1371         * gst/net/gstnettimeprovider.h:
1372         Doc fixes.
1373
1374 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1375
1376         * configure.ac: back to HEAD
1377
1378 === release 0.9.6 ===
1379
1380 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1381
1382         * configure.ac:
1383           releasing 0.9.6, "Always On Time"
1384
1385 2005-11-23  Wim Taymans  <wim@fluendo.com>
1386
1387         * docs/gst/gstreamer-sections.txt:
1388         * gst/glib-compat.c:
1389         * gst/gsttagsetter.c:
1390         * gst/gstvalue.c:
1391         * gst/net/gstnetclientclock.c:
1392         * gst/net/gstnettimepacket.h:
1393         Doc updates.
1394
1395 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1396
1397         * docs/faq/using.xml:
1398         * docs/libs/tmpl/gstcontrol.sgml:
1399         * docs/manual/advanced-dparams.xml:
1400         * docs/manual/appendix-checklist.xml:
1401         * docs/manual/basics-elements.xml:
1402         * docs/pwg/other-source.xml:
1403         * docs/random/moving-plugins:
1404         * gst/gstpad.c:
1405         * tools/gst-launch.1.in:
1406           remove mentions of sinesrc
1407
1408 2005-11-23  Michael Smith <msmith@fluendo.com>
1409
1410         * docs/gst/gstreamer-sections.txt:
1411           Update for new API and API changes.
1412         * gst/gstobject.h:
1413           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1414         * gst/gstvalue.c:
1415           Documentation typo fix.
1416         * gst/net/gstnettimepacket.c:
1417           Documentation fixes for arguments.
1418
1419 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1420
1421         * gst/gststructure.c: (gst_structure_get_fraction),
1422         (gst_structure_parse_value),
1423         (gst_structure_fixate_field_nearest_fraction):
1424         * gst/gststructure.h:
1425         * gst/gstutils.c: (gst_util_uint64_scale_int):
1426         * gst/gstutils.h:
1427         * scripts/update-funcnames:
1428         API Changes. 
1429         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1430         Make gst_structure_fixate_field_nearest_fraction take a numerator
1431         and denominator argument instead of a GValue
1432         add gst_structure_get_fraction helper function.
1433
1434 2005-11-23  Wim Taymans  <wim@fluendo.com>
1435
1436         * docs/design/part-TODO.txt:
1437         Update TODO.
1438
1439         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1440         * gst/net/gstnetclientclock.h:
1441         Use parent fields for timeout and window_size.
1442
1443 2005-11-23  Andy Wingo  <wingo@pobox.com>
1444
1445         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1446         rate_num/rate_denom change.
1447
1448         * gst/net/gstnetclientclock.c
1449         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1450         OBJECT_LOCK. Don't call add_observation with the lock.
1451
1452         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1453         fraction.
1454         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1455         rate fraction.
1456         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1457         deal with rate as a fraction whose numerator and denominator are
1458         GstClockTime values.
1459         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1460         master; the other fields are protected by the SLAVE_LOCK.
1461         (do_linear_regression): Note that this must be called with the
1462         SLAVE_LOCK.
1463         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1464         OBJECT_LOCK. Call set_calibration instead of touching the
1465         variables directly.
1466         (gst_clock_set_property, gst_clock_get_property): Protect
1467         master/slave parameters with the SLAVE_LOCK.
1468
1469         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1470         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1471         note that all of the instance variables that add_observation and
1472         the set_master functions use are protected by that lock and not
1473         the OBJECT_LOCK.
1474         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1475
1476         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1477         the caller to take the object lock.
1478
1479 2005-11-23  Wim Taymans  <wim@fluendo.com>
1480
1481         * gst/gsterror.c: (_gst_core_errors_init):
1482         * gst/gsterror.h:
1483         Add error for clock stuff.
1484
1485         * gst/gstpipeline.c: (gst_pipeline_change_state),
1486         (gst_pipeline_set_clock):
1487         Post clock error when clock cannot be used in a pipeline.
1488
1489 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1490
1491         * docs/gst/gstreamer-sections.txt:
1492           make two symbols from gstinfo private for the docs
1493         * gst/base/gstcollectpads.h:
1494         * gst/gstutils.c:
1495           fix doc typos, update docs
1496
1497 2005-11-22  Wim Taymans  <wim@fluendo.com>
1498
1499         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1500         (gst_base_sink_wait), (gst_base_sink_do_sync),
1501         (gst_base_sink_handle_event):
1502         * gst/base/gstbasesink.h:
1503         No need to store the clock, the parent element class already
1504         has it.
1505
1506         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1507         Updates for clock_set returning a gboolean
1508
1509         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1510         (gst_clock_id_wait_async), (gst_clock_class_init),
1511         (gst_clock_init), (gst_clock_finalize),
1512         (gst_clock_get_internal_time), (gst_clock_get_time),
1513         (gst_clock_slave_callback), (gst_clock_set_master),
1514         (gst_clock_get_master), (do_linear_regression),
1515         (gst_clock_add_observation), (gst_clock_set_property),
1516         (gst_clock_get_property):
1517         * gst/gstclock.h:
1518         Implement master/slave. When setting a clock as a slave, a
1519         periodic timeout is scheduled to sample master and slave times.
1520         Then the slave clock is recalibrated to match offset and rate
1521         of the master clock.
1522         Update logging a bit.
1523         Add flag so that a clock can state that is cannot be slaved to
1524         another clock.
1525
1526         * gst/gstelement.c: (gst_element_set_clock):
1527         * gst/gstelement.h:
1528         The set clock returns a gboolean for when an element cannot
1529         deal with the selected clock in the pipeline. 
1530
1531         * gst/gstpipeline.c: (gst_pipeline_change_state),
1532         (gst_pipeline_set_clock):
1533         * gst/gstpipeline.h:
1534         Handle the case where the selected clock cannot be set on
1535         the pipeline.
1536
1537         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1538         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1539         (gst_net_client_clock_set_property),
1540         (gst_net_client_clock_get_property),
1541         (gst_net_client_clock_observe_times):
1542         * gst/net/gstnetclientclock.h:
1543         Use regression code in GstClock parent, remove duplicated
1544         functionality.
1545
1546 2005-11-22  Michael Smith <msmith@fluendo.com>
1547
1548         * gst/gstutils.c: (gst_util_clock_time_scale):
1549         * gst/gstutils.h:
1550         * docs/gst/gstreamer-sections.txt:
1551           Rename method to have extra underscore.
1552
1553 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1554
1555         * gst/elements/Makefile.am:
1556         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1557         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1558         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1559         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1560         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1561         * gst/elements/gstfakesrc.h:
1562         * gst/gstqueue.c: (queue_leaky_get_type):
1563           correctly fix GEnumValues so that nick is the short lowercase
1564           dashed tag
1565         * tools/gst-inspect.c: (print_element_properties_info):
1566           also show the nick, since it's useful to use from parse_launch
1567           syntax
1568           Fixes #322139
1569
1570 2005-11-22  Michael Smith <msmith@fluendo.com>
1571
1572         * gst/gstutils.c: (gst_util_clocktime_scale):
1573         * gst/gstutils.h:
1574         * docs/gst/gstreamer-sections.txt:
1575           Add util method for scaling a clocktime by a fraction. Useful 
1576           implementation is left as an exercise for the reader.
1577
1578 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1579
1580         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1581         If needed, allocate storage in the destination value during
1582         collection.
1583
1584 2005-11-22  Edward Hervey  <edward@fluendo.com>
1585
1586         * docs/gst/gstreamer-sections.txt:
1587         * gst/Makefile.am:
1588         * gst/gst.h:
1589         * gst/gsturitype.c:
1590         * gst/gsturitype.h:
1591         * gst/gstutils.c: (gst_util_set_object_arg):
1592         * tools/gst-compprep.c: (main):
1593         * tools/gst-inspect.c: (print_element_properties_info):
1594         Removed GstURI, closes bug #321061
1595
1596 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1597
1598         * check/gst/gststructure.c: (GST_START_TEST):
1599         * gst/gststructure.c: (gst_structure_parse_value):
1600           Oops, broke automatic string type parsing.
1601           Add a test to catch it in future.
1602
1603 2005-11-22  Andy Wingo  <wingo@pobox.com>
1604
1605         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1606         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1607         Actually rename the function implementations. Grr.
1608
1609 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1610
1611         * check/gst/capslist.h:
1612           Comment test cases
1613         * check/gst/gststructure.c: (GST_START_TEST),
1614         (gst_structure_suite):
1615           Test automatic value type detection in gst_structure_from_string.
1616         * gst/gststructure.c: (gst_structure_parse_value):
1617           Add fraction as a type we try and guess automatically in
1618           caps/structure strings.
1619
1620 2005-11-22  Andy Wingo  <wingo@pobox.com>
1621
1622         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1623
1624         * gst/gsttagsetter.h:
1625         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1626         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1627         (gst_tag_setter_add_tag_valist)
1628         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1629         _add_values, _add_valist, and _add_valist_values. Since this is an
1630         interface the function suffixes should be more explicit so
1631         language binding don't end up with element.add_valist ->
1632         gst_tag_setter_add_valist, for example. Fixes #322069.
1633
1634 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1635
1636         * check/gst/gstcaps.c: (GST_START_TEST):
1637           Extend caps string tests to check that a caps to string
1638           conversion is reversible and produces the same caps.
1639
1640         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1641           Output "fraction" as the generic type fraction range, so caps
1642           serialisation and deserialisation works.
1643         * check/gst/capslist.h:
1644         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1645           Support 'MIN' and 'MAX' for deserialising fractions.
1646
1647 2005-11-22  Andy Wingo  <wingo@pobox.com>
1648
1649         * gst/gstevent.h (gst_event_new_new_segment)
1650         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1651         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1652         Renamed from *_newsegment, *_buffersize, *_notarget.
1653
1654         * scripts/update-funcnames: New script, performs the changes
1655         listed above.
1656
1657 2005-11-22  Wim Taymans  <wim@fluendo.com>
1658
1659         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1660         Make sure the GstFlowReturn is returned.
1661
1662         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1663         (gst_bus_add_signal_watch):
1664         * gst/gstbus.h:
1665         add gst_bus_add_signal_watch_full.
1666
1667         * gst/gstplugin.c: (gst_plugin_load_file):
1668         Small style cleanup.
1669
1670 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1671
1672         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1673           Block the fakesrc srcpad when we send an event, to avoid
1674           contention on the stream_lock causing random test failures.
1675
1676 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1677
1678         * check/gst/gstvalue.c: (GST_START_TEST):
1679         * gst/gstvalue.c: (gst_value_fraction_subtract):
1680           Fix subtraction.
1681
1682 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1683
1684         * gst/gst.h:
1685           include "gstchildproxy.h"
1686         * gst/gstchildproxy.h:
1687         * libs/gst/controller/gstcontroller.h:
1688           use G_GNUC_NULL_TERMINATED
1689
1690 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1691
1692         * check/gst/capslist.h:
1693         * check/gst/gstcaps.c: (GST_START_TEST):
1694         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1695         * gst/gststructure.c: (gst_structure_parse_range),
1696         (gst_structure_fixate_field_nearest_fraction):
1697         * gst/gststructure.h:
1698         * gst/gstvalue.c: (gst_value_init_fraction_range),
1699         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1700         (gst_value_collect_fraction_range),
1701         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1702         (gst_value_set_fraction_range_full),
1703         (gst_value_get_fraction_range_min),
1704         (gst_value_get_fraction_range_max),
1705         (gst_value_serialize_fraction_range),
1706         (gst_value_transform_fraction_range_string),
1707         (gst_value_compare_fraction_range),
1708         (gst_value_deserialize_fraction_range),
1709         (gst_value_intersect_fraction_fraction_range),
1710         (gst_value_intersect_fraction_range_fraction_range),
1711         (gst_value_subtract_fraction_fraction_range),
1712         (gst_value_subtract_fraction_range_fraction),
1713         (gst_value_subtract_fraction_range_fraction_range),
1714         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1715         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1716         (gst_value_transform_string_fraction), (_gst_value_initialize):
1717         * gst/gstvalue.h:
1718           Implement fraction ranges and extend GstFraction to support
1719           arithmetic subtraction, as well as deserialization from integer
1720           strings such as "100"
1721           Add a testsuite as for int and double range set operations
1722
1723 2005-11-21  Andy Wingo  <wingo@pobox.com>
1724
1725         * gst/gsttaglist.h: 
1726         * gst/gstcaps.h: 
1727         * gst/gststructure.h: Add glib-compat.h.
1728
1729 2005-11-21  Wim Taymans  <wim@fluendo.com>
1730
1731         * gst/gstbin.c: (gst_bin_change_state_func):
1732         Fix for #321595
1733
1734 2005-11-21  Wim Taymans  <wim@fluendo.com>
1735
1736         * gst/gstsegment.h:
1737         And add a nice define too.
1738
1739 2005-11-21  Wim Taymans  <wim@fluendo.com>
1740
1741         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1742         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1743         (gst_segment_set_duration), (gst_segment_set_last_stop),
1744         (gst_segment_set_seek), (gst_segment_set_newsegment),
1745         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1746         (gst_segment_clip):
1747         * gst/gstsegment.h:
1748         Make binding friendly.
1749
1750 2005-11-21  Andy Wingo  <wingo@pobox.com>
1751
1752         * gst/gsttagsetter.h: 
1753         * gst/gsttaglist.h: 
1754         * gst/gststructure.h: 
1755         * gst/gstcaps.h: 
1756         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1757         #319940.
1758
1759         * gst/gsterror.c (_gst_core_errors_init):
1760         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1761         category.
1762
1763         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1764         (noinst_HEADERS): noinst the -private.
1765
1766 2005-11-21  Michael Smith <msmith@fluendo.com>
1767
1768         * gst/gstplugin.h:
1769         * gst/gstregistry.h:
1770           Remove unimplemented declarations for which we can see no sensible
1771           use.
1772
1773 2005-11-21  Andy Wingo  <wingo@pobox.com>
1774
1775         * gst/gst.h: Include glib-compat.h.
1776
1777         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1778
1779         * gst/glib-compat.c: Include the public and the private header.
1780
1781         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1782
1783         * gst/gstvalue.c: 
1784         * gst/gstpad.c: 
1785         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1786
1787         * check/gst/gstevent.c (create_custom_events): Check that
1788         FLUSH_STOP is serialized.
1789
1790         * check/elements/identity.c (event_func): 
1791         * check/elements/fakesrc.c (event_func): No stream lock, the core
1792         takes it.
1793
1794         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1795         stream lock taking, yay.
1796
1797         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1798         ensure that core takes the stream lock.
1799
1800         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1801         lock name change.
1802
1803         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1804         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1805         it already. For the flush start we do take it though so we get the
1806         right preroll state change messages.
1807
1808         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1809         the stream lock here, the core does it for us.
1810
1811         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1812         GST_STREAM_GET_LOCK.
1813         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1814         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1815         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1816         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1817         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1818         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1819
1820         * gst/gstpad.c: Update for stream lock name change.
1821
1822         * gst/base/gstbasesink.c: Update for preroll lock name change.
1823
1824 2005-11-21  Wim Taymans  <wim@fluendo.com>
1825
1826         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1827         (gst_clock_get_master):
1828         * gst/gstclock.h:
1829         * gst/gstsystemclock.c: (gst_system_clock_init):
1830         Convert Clock flags to object flags.
1831         Added methods to manage master/slave clocks.
1832
1833 2005-11-21  Wim Taymans  <wim@fluendo.com>
1834
1835         * check/gst/gstsegment.c: (GST_START_TEST):
1836         * docs/design/part-TODO.txt:
1837         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1838         (gst_base_sink_event), (gst_base_sink_do_sync),
1839         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1840         (gst_base_sink_query), (gst_base_sink_change_state):
1841         * gst/base/gstbasesink.h:
1842         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1843         (gst_base_src_default_newsegment),
1844         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1845         (gst_base_src_get_range), (gst_base_src_loop),
1846         (gst_base_src_change_state):
1847         * gst/base/gstbasesrc.h:
1848         * gst/base/gstbasetransform.c:
1849         (gst_base_transform_prepare_output_buf),
1850         (gst_base_transform_event), (gst_base_transform_change_state):
1851         * gst/base/gstbasetransform.h:
1852         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1853         (gst_collect_pads_event):
1854         * gst/base/gstcollectpads.h:
1855         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1856         (gst_fake_src_create):
1857         * gst/elements/gstfakesrc.h:
1858         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1859         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1860         (gst_segment_set_last_stop), (gst_segment_set_seek),
1861         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1862         (gst_segment_to_running_time), (gst_segment_clip):
1863         * gst/gstsegment.h:
1864         More segment updates, replace code in plugins with segment
1865         helper functions.
1866
1867 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1868
1869         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1870         Don't ignore sscanf results
1871
1872 2005-11-21  Andy Wingo  <wingo@pobox.com>
1873
1874         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1875
1876         * *.h:
1877         * *.c: Ran scripts/update-macros. Oh yes.
1878
1879         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1880         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1881         GST_GET_LOCK, etc.
1882
1883         * scripts/update-macros: New script. Run it on your files to
1884         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1885         well.
1886
1887 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1888
1889         * docs/gst/Makefile.am:
1890         * docs/gst/gstreamer-docs.sgml:
1891         * docs/gst/gstreamer-sections.txt:
1892         * docs/gst/gstreamer.types:
1893         * gst/gstinfo.h:
1894           more docs fixes, add new api to the docs
1895
1896 2005-11-21  Andy Wingo  <wingo@pobox.com>
1897
1898         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1899         state_broadcast call.
1900
1901         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1902
1903 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1904
1905         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1906         function calls for arrays.
1907
1908 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1909
1910         * docs/random/ensonic/media-device-daemon.txt:
1911           wild idea, can this be done?
1912         * docs/gst/gstreamer-sections.txt:
1913         * gst/gsterror.h:
1914         * gst/gstfilter.c:
1915         * gst/gstfilter.h:
1916         * gst/gstplugin.h:
1917         * gst/gstpluginfeature.c:
1918         * gst/gsttrace.c:
1919         * gst/gstvalue.c:
1920         * gst/gstvalue.h:
1921           doc fixes and additions
1922
1923 2005-11-21  Andy Wingo  <wingo@pobox.com>
1924
1925         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1926         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1927         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1928         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1929         private to the basesrc implementation.
1930
1931         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1932         behalf of event function if necessary. It should no longer be
1933         necessary to take the stream lock in pad's event functions. Fixes
1934         #320299.
1935
1936 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1937         * docs/gst/gstreamer-sections.txt:
1938         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1939         (gst_structure_fixate_field_nearest_double),
1940         (gst_structure_fixate_field_boolean):
1941         * gst/gststructure.h:
1942         * win32/common/libgstreamer.def:
1943         * win32/gstreamer.def:
1944
1945         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1946         (#322027)
1947
1948 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1949
1950         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1951         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1952         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1953         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1954         (gst_fdsrc_uri_handler_init):
1955         * gst/elements/gstfdsrc.h:
1956           Port fd:// URI handler from 0.8 to fdsrc
1957
1958 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1959
1960         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1961         (gst_value_serialize_fourcc):
1962         * gst/gstvalue.h:
1963           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1964           consistent with our other format defines (#320324).
1965
1966 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1967
1968         * gst/gstvalue.c: (gst_value_is_fixed):
1969           Revert previous commit. Value lists are by definition
1970           not fixed, as they are a list of possible values.
1971
1972 2005-11-21  Andy Wingo  <wingo@pobox.com>
1973
1974         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1975         during the stable series if we need it. Fixes #319178.
1976
1977         * gst/gstevent.c (gst_event_new_filler): Removed.
1978
1979         * check/gst/gstevent.c: Update comment about filler events.
1980
1981 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1982
1983         * gst/gstvalue.c: (gst_value_is_fixed):
1984           Should handle both value arrays and value lists.
1985
1986 2005-11-21  Andy Wingo  <wingo@pobox.com>
1987
1988         patch by: Alessandro Dessina <alessandro nnva org>
1989
1990         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1991         functions to access arrays. Fixes #321962.
1992
1993 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1994
1995         * docs/gst/gstreamer.types:
1996           gst_collectpads_get_type => gst_collect_pads_get_type.
1997           
1998         * gst/base/gstbasetransform.c:
1999           Remove unused SIGNAL_HANDOFF enum.
2000
2001 2005-11-21  Andy Wingo  <wingo@pobox.com>
2002
2003         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2004         the event type (upstream, downstream, serialized). Renamed
2005         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2006         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2007         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2008
2009         * gst/gstevent.c: Update for new CUSTOM event names.
2010
2011         * check/gst/gstevent.c: Update check for new CUSTOM event names.
2012
2013         * gst/gstevent.h:
2014         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2015         bug #319392.
2016
2017 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2018
2019         * docs/gst/gstreamer-sections.txt:
2020         * win32/common/libgstbase.def:
2021         * win32/libgstbase.def:
2022         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2023         (gst_collect_pads_class_init), (gst_collect_pads_init),
2024         (gst_collect_pads_finalize), (gst_collect_pads_new),
2025         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2026         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2027         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2028         (gst_collect_pads_start), (gst_collect_pads_stop),
2029         (gst_collect_pads_peek), (gst_collect_pads_pop),
2030         (gst_collect_pads_available), (gst_collect_pads_read),
2031         (gst_collect_pads_flush), (gst_collect_pads_event),
2032         (gst_collect_pads_chain):
2033         * gst/base/gstcollectpads.h:
2034           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2035           unimplemented functions as unimplemented. Add padding to
2036           GstCollectData. (#320766, #320423)
2037
2038 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2039
2040         * gst/gstmessage.c:
2041           Improve docs for DURATION message (usage of duration parameter)
2042           (#320113)
2043
2044 2005-11-20  Wim Taymans  <wim@fluendo.com>
2045
2046         * check/Makefile.am:
2047         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2048         (main):
2049         * gst/Makefile.am:
2050         * gst/gst.h:
2051         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2052         (gst_segment_set_seek), (gst_segment_set_newsegment),
2053         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2054         (gst_segment_clip):
2055         * gst/gstsegment.h:
2056         Added segment helper structure and methods. Not fully implemented
2057         yet.
2058         Added segment check.
2059
2060 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
2061
2062         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2063           Add a deserialisation test for fractions
2064         * examples/metadata/read-metadata.c: (message_loop),
2065         (make_pipeline), (main):
2066           Fix up metadata reading sample.
2067         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2068           Debug format fix
2069         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2070           Don't try and fixate empty caps
2071         * gst/gst_private.h:
2072           Wrap in G_BEGIN_DECLS/G_END_DECLS
2073         * gst/gstvalue.c: (gst_value_collect_fraction),
2074         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2075         (gst_value_transform_string_fraction),
2076         (gst_value_compare_fraction):
2077           Add some extra guards to ensure that we don't end up 
2078           with an invalid denominator of 0 in a gstfraction and
2079           that fractions always get reduced.
2080
2081 2005-11-20  Wim Taymans  <wim@fluendo.com>
2082
2083         * docs/gst/gstreamer-sections.txt:
2084         * gst/gstbuffer.h:
2085         * gst/gstelement.c:
2086         * gst/gstformat.c:
2087         * gst/gstformat.h:
2088         * gst/gstindex.h:
2089         * gst/gstquery.c:
2090         * gst/gstquery.h:
2091         * gst/gstvalue.c:
2092         Doc fixes.
2093
2094 2005-11-20  Wim Taymans  <wim@fluendo.com>
2095
2096         * docs/design/part-TODO.txt:
2097         * gst/gstcaps.h:
2098         Make a proper enum of the flag.
2099
2100 2005-11-19  Wim Taymans  <wim@fluendo.com>
2101
2102         * docs/design/part-TODO.txt:
2103         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2104         (gst_format_to_quark), (gst_format_register):
2105         * gst/gstformat.h:
2106         * gst/gstquery.c: (_gst_query_initialize),
2107         (gst_query_type_get_name), (gst_query_type_to_quark),
2108         (gst_query_type_register):
2109         * gst/gstquery.h:
2110         Add type to quark and type to string conversions.
2111
2112 2005-11-19  Andy Wingo  <wingo@pobox.com>
2113
2114         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2115         #320097.
2116
2117 2005-11-19  Wim Taymans  <wim@fluendo.com>
2118
2119         * docs/design/part-TODO.txt:
2120         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2121         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2122         (gst_bin_handle_message_func):
2123         * gst/gstbin.h:
2124         Make message handling overridable.
2125
2126 2005-11-19  Andy Wingo  <wingo@pobox.com>
2127
2128         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2129
2130         * gst/gstclock.h:
2131         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2132         be a GstClockTime.
2133         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2134         is a GstClockTime. Fixes #321710.
2135
2136         * gst/gstclock.h (GstClock): Remove offset property. Add
2137         internal_calibration and external_calibration. Fix padding. Pad
2138         also by GstClockTime so we don't run into problems.
2139
2140         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2141         (gst_clock_get_rate_offset): Remove.
2142         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2143
2144         * gst/gstutils.h:
2145         * gst/gstutils.c (g_static_rec_cond_wait)
2146         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2147
2148         * gst/gstbin.c: Remove terrible continue_state prototype.
2149
2150         * gst/gstelement.h (gst_element_continue_state): Make public.
2151
2152         * gst/gstelement.h:
2153         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2154         by continue_state. Fixes #319389.
2155
2156         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2157         Really fixes #168438. However I don't see anywhere where the
2158         filter function is called... stupid GStreamer...
2159         
2160         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2161         don't have a dispose function, so it won't get called when the
2162         object is unreffed, but oh well!
2163
2164         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2165         allows a destroy function to be set so user_data can be freed.
2166         Fixes #168438.
2167         (gst_index_set_filter): Call gst_index_set_filter_full.
2168
2169         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2170
2171         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2172         string should produce an error, given the lack of a way to
2173         represent NULL strings. Fixes #165650.
2174         
2175         * gst/gstvalue.h: 
2176         * gst/gstvalue.c (gst_value_array_append_value) 
2177         (gst_value_array_prepend_value, gst_value_array_get_size) 
2178         (gst_value_array_get_value): New API, copied from
2179         gst_value_list_*, only operates on arrays.
2180         (gst_value_list_append_value, gst_value_list_prepend_value) 
2181         (gst_value_list_concat, gst_value_list_get_size) 
2182         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2183
2184         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2185         init_list, because it works on both.
2186         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2187         (gst_value_copy_list_or_array): Renamed from copy_list.
2188         (gst_value_free_list_or_array): Renamed from free_list.
2189         (gst_value_collect_list_or_array): Renamed from collect_list.
2190         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2191         (gst_value_list_or_array_peek_pointer): Renamed from
2192         list_peek_pointer.
2193         (_gst_value_array_value_table, _gst_value_list_value_table):
2194         Update value table functions.
2195         (gst_value_compare_list_or_array): Renamed from compare_list.
2196
2197         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2198         some constness.
2199
2200         * gst/gsttaglist.c:
2201         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2202         GstTagList*. Fixes #143472.
2203
2204         * gst/gststructure.h: Clarify what the foreach/map functions can
2205         or can't do to their arguments.
2206
2207 2005-11-18  Wim Taymans  <wim@fluendo.com>
2208
2209         * gst/gstclock.c: (gst_clock_set_calibration),
2210         (gst_clock_get_calibration):
2211         Doc and API fixes.
2212         Calibration can be set with internal time equal to current
2213         internal time too.
2214
2215 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2216
2217         * gst/gsterror.c:
2218         * gst/gsterror.h:
2219           document
2220
2221 2005-11-18  Andy Wingo  <wingo@pobox.com>
2222
2223         * configure.ac: 
2224         * pkgconfig/gstreamer-net.pc.in:
2225         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2226         * pkgconfig/Makefile.am: Add net pkgconfig files.
2227
2228 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2229
2230         * gst/gstcaps.c:
2231         * gst/gstghostpad.c:
2232         * gst/gsttrace.c:
2233         * gst/gstvalue.c:
2234         * gst/gstvalue.h:
2235           docs fixes
2236
2237 2005-11-18  Andy Wingo  <wingo@pobox.com>
2238
2239         * gst/net/gstnetclientclock.c: Turn off debugging.
2240
2241         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2242         times connverge somewhat. Can't make a real test.
2243
2244         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2245         integer arithmetic. Return the minimum of the domain, which can be
2246         set as "internal" for gst_clock_set_calibration.
2247         (gst_net_client_clock_observe_times): Call _set_calibration.
2248         (gst_net_client_clock_new): Call _set_calibration instead of
2249         rate_offset.
2250
2251         * check/net/gstnetclientclock.c (test_functioning): Use the right
2252         adjustment api.
2253
2254         * gst/gstclock.h:
2255         * gst/gstclock.c (gst_clock_get_calibration) 
2256         (gst_clock_set_calibration): New functions, obsolete the ones I
2257         added yesterday. Doh. Precision issues mean we have to extrapolate
2258         from a point in the more recent past than 1970.
2259         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2260         obsolete.
2261         (gst_clock_adjust_unlocked): Use the right calibration data.
2262
2263 2005-11-18  Edward Hervey  <edward@fluendo.com>
2264
2265         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2266         Also reset the ->current_* values in READY->PAUSED
2267
2268 2005-11-18  Andy Wingo  <wingo@pobox.com>
2269
2270         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2271         Whoops, check the right fd. Also add some debugging.
2272         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2273         (do_linear_regression): Add a crapload of debugging. Subtract off
2274         the minimum values from the input series to discard unneeded bits.
2275         Use only int arithmetic. There is still double arithmetic when
2276         calculating the intercept that needs fixing. Return boolean to
2277         indicate success; FALSE would mean the domain or range is too
2278         great. Still needs fixes.
2279
2280 2005-11-18  Wim Taymans  <wim@fluendo.com>
2281
2282         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2283         For the current position in stream time, we need to subtract
2284         accumulated time.
2285         
2286         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2287         Release lock before calling the callback function of async
2288         entries.
2289
2290 2005-11-18  Andy Wingo  <wingo@pobox.com>
2291
2292         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2293         Port goes all the way to MAXUINT16.
2294
2295         * gst/net/gstnettimeprovider.c: Make the port range the same as
2296         for the kernel: 0 assigns, otherwise ports are less than
2297         MAXUINT16.
2298
2299         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2300         port change.
2301
2302         * check/net/gstnetclientclock.c (test_functioning): Add the start
2303         of another test. 
2304
2305 2005-11-18  Wim Taymans  <wim@fluendo.com>
2306
2307         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2308         (gst_bin_remove_func), (bin_bus_handler):
2309         * gst/gstbin.h:
2310         Removing a clock provider from a bin, triggers a clock lost message
2311         so that a new clock will be selected.
2312         Adding a clock to a bin triggers a clock provider message.
2313         Make sure we reselect a clock when we received a clock lost message.
2314         Keep a reference to the element that provided the clock.
2315
2316 2005-11-18  Andy Wingo  <wingo@pobox.com>
2317
2318         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2319         the clock initially so it produces values around the base time.
2320         (gst_net_client_clock_class_init): Typo fix.
2321         (gst_net_client_clock_thread): Add note on when the socket gets
2322         closed.
2323
2324 2005-11-17  Wim Taymans  <wim@fluendo.com>
2325
2326         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2327         Free remote and local time arrays.
2328
2329 2005-11-17  Wim Taymans  <wim@fluendo.com>
2330
2331         * gst/net/gstnetclientclock.c: (do_linear_regression),
2332         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2333         Fix compilation, uninitialized vars and a forgotten continue.
2334
2335 2005-11-17  Andy Wingo  <wingo@pobox.com>
2336
2337         * check/Makefile.am (check_PROGRAMS): 
2338         * check/net/gstnetclientclock.c: Add a most minimal test for the
2339         net client clock. More to come later.
2340
2341         * gst/net/gstnet.h: 
2342         * gst/net/Makefile.am: Add netclientclock.
2343
2344         * gst/net/gstnetclientclock.h:
2345         * gst/net/gstnetclientclock.c: New files, implement an untested
2346         GstClock that takes its time from a network time provider.
2347         Implements the algorithm in network-clock.scm.
2348
2349         * tests/network-clock.scm (*window-size*): Rename from
2350         *queue-length*.
2351         * tests/network-clock.scm (network-time): 
2352         * tests/network-clock-utils.scm (q-push): Update callers.
2353
2354 2005-11-17  Wim Taymans  <wim@fluendo.com>
2355
2356         * gst/gstbin.c: (gst_bin_provide_clock_func),
2357         (gst_bin_sort_iterator_new):
2358         And unref the child too..
2359
2360 2005-11-17  Wim Taymans  <wim@fluendo.com>
2361
2362         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2363         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2364         Refactor the sort iterator so it can be used while holding the
2365         LOCK too.
2366         Make clock selection select a clock closest to the source.
2367
2368 2005-11-17  Michael Smith <msmith@fluendo.com>
2369
2370         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2371         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2372         * gst/gstclock.h:
2373           Anonymous structs are a gcc (and some other compilers) extension, so
2374           don't use them. Since this is only for ABI-compatibility, and our
2375           API/ABI freeze is over in a few days, this whole thing will only
2376           last a few days, so don't bother trying to think up a meaningful
2377           name for the struct.
2378
2379 2005-11-17  Andy Wingo  <wingo@pobox.com>
2380
2381         * gst/gstclock.h (GstClock): Add rate and offset properties,
2382         preserving ABI stability. Add rate/offset accessors. Will file bug
2383         for the freeze break.
2384
2385         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2386         and offset, trying to keep precision and avoiding
2387         underflow/overflow.
2388         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2389         functions. Make gst_clock_set_time_adjust obsolete.
2390         (gst_clock_set_time_adjust): Note that this function is obsolete.
2391         Will file bug soon.
2392
2393         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2394         greppable by using GST_PADDING-1+1.
2395
2396 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2397
2398         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2399
2400         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2401           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2402
2403         * gst/gstpadtemplate.h:
2404         * gst/gstpluginfeature.h:
2405           Don't use c++ style comments in headers (#321638).
2406
2407 2005-11-16  Andy Wingo  <wingo@pobox.com>
2408
2409         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2410         buffer.
2411
2412         * check/net/gstnettimeprovider.c: Check to see that the time
2413         provider actually provides times. Works, yo!
2414
2415 2005-11-16  Wim Taymans  <wim@fluendo.com>
2416
2417         * check/Makefile.am:
2418         Enable more tests.
2419
2420         * check/elements/fakesrc.c: (GST_START_TEST):
2421         Set element to NULL before disposing it.
2422
2423 2005-11-16  Andy Wingo  <wingo@pobox.com>
2424
2425         * gst/net/Makefile.am:
2426         * gst/net/gstnet.h:
2427         * gst/net/gstnettimeprovider.c: 
2428         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2429         provider, include it from gstnet.h, and add it to the build.
2430
2431         * gst/net/gstnettimepacket.h: 
2432         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2433         sending and receiving.
2434
2435 2005-11-16  Wim Taymans  <wim@fluendo.com>
2436
2437         * check/Makefile.am:
2438         Enable valgrind check.
2439
2440         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2441         (gst_fake_src_alloc_buffer):
2442         Fix memleak.
2443
2444 2005-11-16  Wim Taymans  <wim@fluendo.com>
2445
2446         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2447         Call parent finalize too.
2448
2449 2005-11-16  Wim Taymans  <wim@fluendo.com>
2450
2451         * check/Makefile.am:
2452         Enable valgrind check that should work fine now.
2453
2454         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2455         * gst/gstqueue.c: (gst_queue_init):
2456         Fix memleaks in pad allocation.
2457
2458 2005-11-16  Andy Wingo  <wingo@pobox.com>
2459
2460         * gst/net/Makefile.am:
2461         * gst/net/gstnet.h: New part of core to hold network elements and
2462         objects. Put in core because it exposes API that applications want
2463         to use. The library is named libgstnet-tempname right now because
2464         of the existing libgstnet in gst-plugins-base. Solution is
2465         probably to rename the one in plugins-base; will file a bug for
2466         the freeze break.
2467
2468         * gst/net/gstnettimeprovider.c: 
2469         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2470         get_time call over the network.
2471
2472         * configure.ac: 
2473         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2474
2475         * check/Makefile.am:
2476         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2477         get additions shortly.
2478
2479 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2480
2481         * gst/gstpad.c: (gst_pad_new_from_static_template):
2482         * gst/gstpad.h:
2483           add gst_pad_new_from_static_template functions
2484         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2485         (gst_check_setup_sink_pad):
2486         * gst/elements/gsttee.c: (gst_tee_init):
2487           and use them
2488
2489 2005-11-16  Wim Taymans  <wim@fluendo.com>
2490
2491         * gst/gstpad.c: (gst_pad_pause_task):
2492         Removed warning, it's not really an error either.
2493
2494 2005-11-16  Wim Taymans  <wim@fluendo.com>
2495
2496         * gst/base/gstbasetransform.c:
2497         (gst_base_transform_prepare_output_buf),
2498         (gst_base_transform_event):
2499         Check if the caps are NULL, this can happen if the element
2500         is shutting down and the pad caps are set to NULL.
2501
2502 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2503
2504         * gst/elements/gsttee.c: (gst_tee_init):
2505           fix pad template leak in tee
2506
2507 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2508
2509         * gst/glib-compat.c: (g_value_dup_gst_object):
2510         * gst/glib-compat.h:
2511         * gst/gstpad.c: (gst_pad_set_property):
2512           use gst_object_ref when setting the pad template; this will
2513           trigger the pad template leaks on GLib 2.6 and the slaves
2514
2515 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2516
2517         * gst/glib-compat.c: (gst_flags_get_first_value):
2518         * gst/glib-compat.h:
2519         * gst/gstregistryxml.c:
2520           remove functions copied from GLib 2.6
2521
2522 2005-11-16  Michael Smith <msmith@fluendo.com>
2523
2524         * gst/Makefile.am:
2525           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2526           do, but only breaks with newer valgrind versions. We're not a
2527           valgrind tool, we have no link-time dependencies on libcoregrind.
2528
2529 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2530
2531         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2532           some debug changes
2533         * gst/gstmessage.h:
2534           typo fixes
2535
2536 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2537
2538         * gst/base/gstbasesrc.c: (gst_base_src_init):
2539         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2540         * gst/gstqueue.c: (gst_queue_init):
2541         * gst/gstregistryxml.c: (load_feature):
2542           Revert all these unrefs, they don't even pass make check !
2543
2544 2005-11-15  Johan Dahlin  <johan@gnome.org>
2545
2546         * gst/base/gstbasesrc.c: (gst_base_src_init):
2547         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2548         * gst/gstqueue.c: (gst_queue_init): 
2549         Free pad templates, fixes a couple of leaks.
2550
2551 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2552
2553         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2554
2555         * gst/gstpad.c: (gst_pad_get_property):
2556           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2557           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2558           (#321452)
2559
2560 2005-11-15  Wim Taymans  <wim@fluendo.com>
2561
2562         * gst/gstevent.c:
2563         Small doc update.
2564
2565 2005-11-15  Andy Wingo  <wingo@pobox.com>
2566
2567         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2568
2569         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2570         using GST_CLOCK_TIME_NONE to disable base time management.
2571         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2572         time if it was NONE before.
2573         (gst_pipeline_change_state): Only munge the base time if
2574         stream_time != GST_CLOCK_TIME_NONE.
2575
2576         * check/gst/gstpipeline.c (test_base_time): Punt around the
2577         problem of the probe not being called, because that's not the
2578         issue I'm looking at. Add a check that setting stream_time to NONE
2579         disables base time management.
2580         
2581 2005-11-15  Wim Taymans  <wim@fluendo.com>
2582
2583         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2584         segment_stop == -1 at startup.
2585
2586         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2587         (gst_base_transform_change_state):
2588         Init segment values at start.
2589
2590 2005-11-15  Wim Taymans  <wim@fluendo.com>
2591
2592         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2593         0 segment values are 0 in any format.
2594
2595         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2596         * gst/base/gstbasetransform.h:
2597         Parse newsegment correctly in basetransform
2598
2599         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2600         Sync to clock using updated segment values.
2601
2602 2005-11-15  Andy Wingo  <wingo@pobox.com>
2603
2604         * check/gst/gstpipeline.c (test_base_time): Add check that the
2605         base time and stream time are reset correctly.
2606
2607 2005-11-15  Wim Taymans  <wim@fluendo.com>
2608
2609         * docs/design/part-TODO.txt:
2610         Some more TODO items.
2611
2612 2005-11-15  Andy Wingo  <wingo@pobox.com>
2613
2614         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2615         error if the user selected "no clock" as the clocking method.
2616
2617         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2618         timestamps with live capture.
2619
2620         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2621         is 0 but we are a live source, timestamp the buffers using the
2622         element's clock.
2623
2624 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2625
2626         * docs/gst/gstreamer-sections.txt:
2627         * gst/gsterror.c:
2628         * gst/gstghostpad.c:
2629         * gst/gstobject.h:
2630         * gst/gstxml.c:
2631           more section docs
2632
2633 2005-11-14  Wim Taymans  <wim@fluendo.com>
2634
2635         * common/gst.supp:
2636           add suppressions from Wim's Debian machine
2637
2638 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2639
2640         * common/gst.supp:
2641           add suppressions from Andy's AMD64 Ubuntu machine
2642
2643 2005-11-14  Andy Wingo  <wingo@pobox.com>
2644
2645         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2646         STATE_LOCK not necessary. Fixes #311489.
2647
2648         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2649         #305291.
2650
2651         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2652         this function is not implemented.
2653
2654 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2655
2656         * gst/base/gstbasetransform.c:
2657         (gst_base_transform_prepare_output_buf):
2658         Ref the source pad caps while we need them.
2659         Fixes (#321386)
2660
2661 2005-11-11  Wim Taymans  <wim@fluendo.com>
2662
2663         * docs/gst/gstreamer-sections.txt:
2664         Added some docs for GstCollectData.
2665
2666         * gst/base/gstadapter.c:
2667         Some small code example fix.
2668
2669         * gst/base/gstcollectpads.c:
2670         * gst/base/gstcollectpads.h:
2671         Document some more.
2672
2673 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2674
2675         * configure.ac: back to HEAD
2676
2677 === release 0.9.5 ===
2678
2679 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2680
2681         * configure.ac:
2682           releasing 0.9.5, "Bike Lunch Day"
2683
2684 2005-11-11  Wim Taymans  <wim@fluendo.com>
2685
2686         * gst/gstbuffer.c: (_gst_buffer_copy):
2687         Copy more flags.
2688
2689         * gst/gstcaps.c: (gst_caps_is_equal):
2690         Fix some docs.
2691         Make _is_equal fast in the trivial cases.
2692
2693         * gst/gstminiobject.c:
2694         * gst/gstminiobject.h:
2695         More docs. Spifify .h file.
2696
2697         * gst/gstutils.c:
2698         Small doc update.
2699
2700 2005-11-11  Wim Taymans  <wim@fluendo.com>
2701
2702         * gst/base/gstbasetransform.c:
2703         (gst_base_transform_prepare_output_buf),
2704         (gst_base_transform_handle_buffer):
2705         Small cleanups.
2706         If we're processing a buffer and need to allocate an output
2707         buffer, we cannot accept a format change. If we did get a 
2708         format change, we have to alloc a buffer ourselves of the 
2709         right size.
2710
2711 2005-11-11  Wim Taymans  <wim@fluendo.com>
2712
2713         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2714         While checking the flag for reentrancy in the gstcaps function
2715         is nice to detect recursive invocations, it also makes it 
2716         impossible to call getcaps from multiple threads, which must be
2717         possible. So, checking for recursive calls has to go.
2718
2719 2005-11-11  Michael Smith <msmith@fluendo.com>
2720
2721         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2722           Don't sync on buffers that fall partially outside our current
2723           segment. Prevents an assertion failure/abort playing some files.
2724
2725 2005-11-10  Andy Wingo  <wingo@pobox.com>
2726
2727         * check/gst/gstbin.c (test_message_state_changed_children): Style
2728         fix..
2729
2730         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2731         gst_bus_poll with the signal watch. Ensures that poll and a signal
2732         watch see the same messages.
2733
2734         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2735         a poll and a watch at the same time get the same messages.
2736
2737 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2738
2739         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2740         * gst/gstcaps.c: (gst_caps_intersect):
2741           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2742           and it's not needed.
2743
2744 2005-11-10  Wim Taymans  <wim@fluendo.com>
2745
2746         * docs/design/part-TODO.txt:
2747         Updated todo.
2748
2749 2005-11-10  Wim Taymans  <wim@fluendo.com>
2750
2751         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2752         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2753         (gst_base_src_do_sync), (gst_base_src_get_range):
2754         Implement clock sync in base class.
2755
2756 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2757
2758         patch by: Tim-Philipp Müller <tim at centricular dot net>
2759
2760         * gst/gststructure.c: (gst_structure_parse_field),
2761         (gst_structure_from_string):
2762           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2763           so that gst_parse_launch() can deal with spaces in filtered link
2764           caps (fixes #164479)
2765         * check/gst/capslist.h:
2766         * check/gst/gststructure.c: (GST_START_TEST):
2767           add unit tests for this change
2768
2769 2005-11-10  Wim Taymans  <wim@fluendo.com>
2770
2771         * docs/gst/gstreamer-sections.txt:
2772         * gst/gstelement.c:
2773         * gst/gstelement.h:
2774         Fix docs, move some STATE macros to private.
2775
2776 2005-11-10  Wim Taymans  <wim@fluendo.com>
2777
2778         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2779         Added check for bug #317341
2780
2781         * gst/gstbuffer.c:
2782         * gst/gstbuffer.h:
2783         Some more spiffifying.
2784
2785         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2786         Call peer linkfunction if we are a source pad. Totally fixes
2787         #317341
2788
2789         * gst/gstpad.c:
2790         Update docs, source pads should call the peer linkfunction
2791         so they can atomically perform the pad link.
2792
2793 2005-11-09  Wim Taymans  <wim@fluendo.com>
2794
2795         * gst/gstbuffer.c:
2796         * gst/gstbuffer.h:
2797         Uber-spiffy-spiffify some more.
2798
2799 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2800
2801         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2802         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2803         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2804         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2805         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2806         * gst/gstpad.c: (gst_pad_init):
2807           Use GST_DEBUG_FUNCPTR() more extensively.
2808
2809 2005-11-09  Wim Taymans  <wim@fluendo.com>
2810
2811         * gst/gstobject.c: (gst_object_class_init):
2812         * gst/gstobject.h:
2813         Documentation fixes.
2814
2815 2005-11-09  Edward Hervey  <edward@fluendo.com>
2816
2817         * gst/gsttypefindfactory.c:
2818         Fix docs.
2819         
2820 2005-11-09  Edward Hervey  <edward@fluendo.com>
2821
2822         * gst/base/gsttypefindhelper.c:
2823         * gst/gsttypefind.c:
2824         * gst/gsttypefind.h:
2825         Fix docs.
2826
2827 2005-11-09  Wim Taymans  <wim@fluendo.com>
2828
2829         * gst/gstiterator.c:
2830         Fix revision data.
2831
2832         * gst/gsttask.c:
2833         * gst/gsttask.h:
2834         Fix docs.
2835
2836 2005-11-09  Wim Taymans  <wim@fluendo.com>
2837
2838         * gst/gstevent.h:
2839         * gst/gsturi.h:
2840         Fix docs.
2841
2842 2005-11-09  Wim Taymans  <wim@fluendo.com>
2843
2844         * docs/gst/gstreamer-sections.txt:
2845         Moved the message async delivery private lock and cond
2846         to the private section.
2847
2848         * gst/gstmessage.c:
2849         * gst/gstmessage.h:
2850         Fixed docs.
2851
2852 2005-11-09  Edward Hervey  <edward@fluendo.com>
2853
2854         * docs/gst/gstreamer-sections.txt:
2855         * gst/gsturi.c:
2856         * gst/gsturi.h:
2857         Document GstURIHandler
2858
2859 2005-11-09  Wim Taymans  <wim@fluendo.com>
2860
2861         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2862         (gst_iterator_find_custom):
2863         * gst/gstiterator.h:
2864         Fix iterator docs.
2865
2866 2005-11-09  Wim Taymans  <wim@fluendo.com>
2867
2868         * gst/gstbin.h:
2869         Document another field.
2870
2871         * gst/gststructure.c:
2872         * gst/gststructure.h:
2873         Document.
2874
2875 2005-11-09  Wim Taymans  <wim@fluendo.com>
2876
2877         * gst/gstbin.h:
2878         Documented structs.
2879
2880 2005-11-09  Wim Taymans  <wim@fluendo.com>
2881
2882         * docs/gst/gstreamer-sections.txt:
2883         Added some new macros.
2884
2885         * gst/gstclock.c:
2886         * gst/gstclock.h:
2887         * gst/gstobject.h:
2888         Docs updates.
2889
2890 2005-11-09  Wim Taymans  <wim@fluendo.com>
2891
2892         * docs/design/part-TODO.txt:
2893         Some more items for the TODO
2894
2895         * gst/gstcaps.c:
2896         * gst/gstcaps.h:
2897         Document GstCaps.
2898
2899 2005-11-09  Andy Wingo  <wingo@pobox.com>
2900
2901         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2902         to work on something else now tho...
2903
2904         * gst/base/gstadapter.c: More adapter docs.
2905
2906         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2907         (gst_file_sink_stop): New functions, replace the state change
2908         handler.
2909         (gst_file_sink_class_init): Hook up the start and stop functions.
2910         (gst_file_sink_base_init): Don't set the state change handler any
2911         more. It was a bit ugly too, being set from here...
2912         (gst_file_sink_get_property, gst_file_sink_set_property):
2913         Cleanups...
2914         (gst_file_sink_set_location): More robust check that doesn't call
2915         GST_STATE. Ugggggg.
2916
2917 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2918
2919         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2920           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2921
2922 2005-11-08  Wim Taymans  <wim@fluendo.com>
2923
2924         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2925         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2926         (gst_base_sink_chain), (gst_base_sink_change_state):
2927         * gst/base/gstbasesink.h:
2928         * gst/base/gstbasesrc.h:
2929         * gst/gstelement.h:
2930         * gst/gstevent.h:
2931         Avoid excessive typechecking in macros.
2932
2933         * gst/gstminiobject.c: (gst_mini_object_get_type),
2934         (gst_mini_object_init), (gst_mini_object_new),
2935         (gst_mini_object_free):
2936         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2937         (gst_object_finalize):
2938         Remove cruft code, optimize alloc_trace.
2939
2940 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2941
2942         * docs/faq/gst-uninstalled:
2943           fix up PS1 for systems that try to reset it
2944
2945 2005-11-07  Wim Taymans  <wim@fluendo.com>
2946
2947         * gst/base/gstbasesrc.c: (gst_base_src_init),
2948         (gst_base_src_get_range):
2949         Set the segment_end to -1 initially. Fixed typefind.
2950
2951 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2952
2953         * gst/base/gstadapter.c:
2954           Debug category should be 'adapter', not 'GstAdapter'.
2955           
2956         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2957         (gst_collectpads_class_init), (gst_collectpads_init),
2958         (gst_collectpads_peek), (gst_collectpads_pop),
2959         (gst_collectpads_event), (gst_collectpads_chain):
2960           Add debug category and some debugging output. Use boilerplate
2961           macros. Remove some extraneous words from docs.
2962
2963 2005-11-05  Andy Wingo  <wingo@pobox.com>
2964
2965         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2966         macro.
2967
2968 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2969
2970         * docs/gst/gstreamer-sections.txt:
2971         * gst/gstcaps.h:
2972         * gst/gstinfo.c:
2973         * gst/gstminiobject.h:
2974         * gst/gstobject.h:
2975         * gst/gstutils.h:
2976           more docs added
2977
2978 2005-11-04  Wim Taymans  <wim@fluendo.com>
2979
2980         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2981         Small update to stop at the configured segment_end
2982         position.
2983
2984 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2985
2986         * gst/gstregistry.c:
2987         * gst/gstregistry.h:
2988           added missing docs
2989
2990 2005-11-04  Edward Hervey  <edward@fluendo.com>
2991
2992         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2993         Check if we are doing a segment seek and have arrived at the
2994         end of that segment.
2995
2996 2005-11-04  Wim Taymans  <wim@fluendo.com>
2997
2998         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2999         Don't leak a mutex unlock in case of an error.
3000
3001         * gst/gstbus.h:
3002         Doc fixes.
3003
3004 2005-11-04  Wim Taymans  <wim@fluendo.com>
3005
3006         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3007         (gst_bus_post):
3008         Get the context to wake up only once.
3009
3010 2005-11-03  Wim Taymans  <wim@fluendo.com>
3011
3012         * check/states/sinks.c: (GST_START_TEST):
3013         Uncomment fixed check.
3014
3015         * docs/design/part-TODO.txt:
3016         Updated TODO.
3017
3018         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3019         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3020         (gst_base_sink_get_position):
3021         If we are going to PLAYING, post the right pending state
3022         when we post the intermediate paused message.
3023
3024         * gst/gstelement.c: (gst_element_continue_state),
3025         (gst_element_set_state_func), (gst_element_change_state):
3026         Don't post state changes that were between the same state
3027         and were not ASYNC.
3028
3029 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3030
3031         * docs/gst/gstreamer-sections.txt:
3032         * gst/gstcaps.h:
3033         * gst/gstinfo.c:
3034         * gst/gstminiobject.h:
3035         * gst/gstobject.h:
3036         * gst/gstutils.h:
3037           more docs and doc style fixes
3038
3039 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3040
3041         * docs/gst/gstreamer-sections.txt:
3042         * gst/gstelement.c:
3043         * gst/gstminiobject.c:
3044         doc fixes
3045
3046 2005-11-03  Andy Wingo  <wingo@pobox.com>
3047
3048         * check/states/sinks.c (test_livesrc_sink): Add checks that the
3049         state-changed messages actually have the right order and the right
3050         values.
3051
3052 2005-11-03  Wim Taymans  <wim@fluendo.com>
3053
3054         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3055         Added some more checks. Specifically the case where NO_PREROLL
3056         elements are in the pipeline.
3057
3058         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3059         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3060         (gst_base_sink_get_position):
3061         Post READY->PAUSED state change messages too.
3062         Fix bug where VOID was posted as pending state...
3063
3064         * gst/gstbin.c: (gst_bin_recalc_state):
3065         use _element_continue_state() to continue the state change.
3066
3067         * gst/gstelement.c: (gst_element_continue_state),
3068         (gst_element_commit_state), (gst_element_set_state_func),
3069         (gst_element_change_state), (gst_element_change_state_func):
3070         Lots of state change cleanups, assign the STATE_RETURN in
3071         a new continue_state() function that also propagates the
3072         last return value from a state change to the app.
3073         Update some debug statements with proper category.
3074
3075 2005-11-03  Wim Taymans  <wim@fluendo.com>
3076
3077         * docs/design/part-events.txt:
3078         * docs/design/part-gstpipeline.txt:
3079         * docs/design/part-messages.txt:
3080         * docs/design/part-overview.txt:
3081         * docs/design/part-seeking.txt:
3082         * docs/design/part-states.txt:
3083         * docs/design/part-trickmodes.txt:
3084         * docs/manual/advanced-position.xml:
3085         Small docs updates.
3086
3087         * gst/gstobject.h:
3088         People think !! is ugly, this looks better.
3089
3090         * gst/gstpad.c: (gst_pad_set_blocked_async):
3091         Remove !! since it's fixed elsewhere now.
3092
3093 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3094
3095         * gst/gstminiobject.h:
3096         * gst/gstobject.h:
3097           Add !! to _FLAG_IS_SET macros to make the result boolean.
3098
3099 2005-11-03  Edward Hervey  <edward@fluendo.com>
3100
3101         * gst/gstpad.c: (gst_pad_set_blocked_async):
3102         comparing a flag and a gboolean rarely returns coherent results...
3103         Added two characters (!!) to make that work correctly.
3104         
3105 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3106
3107         * gst/gstbus.c: (gst_bus_class_init):
3108           Fix some typos.
3109           
3110         * gst/gstqueue.c: (gst_queue_loop):
3111           Don't assume a miniobject that isn't a buffer is an
3112           event (it could be that there is a refcounting
3113           problem somewhere and the pointer is stale and
3114           refers to an already destroyed miniobject).
3115
3116 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3117
3118         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3119
3120 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3121
3122         * docs/manual/advanced-position.xml:
3123           Update seek example and explanations to current 0.9 API.
3124
3125         * gst/elements/gsttypefindelement.c:
3126         (gst_type_find_element_activate):
3127           Remove FIXME comment now that the found caps
3128           are unreffed.
3129
3130 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3131
3132         * gst/gstregistryxml.c: (load_feature):
3133           Add another GST_STR_NULL instance
3134
3135 2005-11-02  Edward Hervey  <edward@fluendo.com>
3136
3137         * gst/gstpad.c: (handle_pad_block):
3138         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3139         
3140 2005-11-02  Wim Taymans  <wim@fluendo.com>
3141
3142         * gst/gstbin.c:
3143         Fix typo in docs.
3144
3145         * gst/gstelement.c: (gst_element_commit_state):
3146         Remove unused value.
3147
3148         * gst/gstiterator.c:
3149         Mention that the returned element is reffed in the docs.
3150
3151 2005-11-02  Wim Taymans  <wim@fluendo.com>
3152
3153         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3154         (gst_pad_push), (gst_pad_push_event):
3155         Unlock blocked pads when they are flushed.
3156
3157 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3158
3159         * docs/README:
3160         * docs/gst/gstreamer-sections.txt:
3161         * gst/gstbin.c:
3162           doc updates
3163         * gst/gstregistry.c: (gst_registry_scan_path_level):
3164           fix for a nasty little missed situation where an installed plug-in
3165           which was in the cache did not get overridden by an uninstalled one
3166           which was earlier in the plugin path because the newly created plugin
3167           for the uninstalled one (not in the registry) didn't get its
3168           ->registered set to TRUE
3169
3170 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3171
3172         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3173         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3174         (gst_collectpads_is_active), (gst_collectpads_collect),
3175         (gst_collectpads_collect_range), (gst_collectpads_start),
3176         (gst_collectpads_stop), (gst_collectpads_peek),
3177         (gst_collectpads_pop), (gst_collectpads_available),
3178         (gst_collectpads_read), (gst_collectpads_flush):
3179           Guard public API with assertions.
3180         
3181         * gst/gstpad.c:
3182           Fix docs for gst_pad_set_link_function().
3183
3184 2005-11-02  Johan Dahlin  <johan@gnome.org>
3185
3186         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3187         Unref found_caps after we used it.
3188
3189 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3190
3191         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3192           Don't try to ref NULL.
3193
3194 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3195
3196         * win32/common/config.h.in:
3197           provide a GST_FUNCTION that just gives a string for now
3198
3199 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3200
3201         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3202         (gst_object_flags_get_type), (register_gst_bin_flags),
3203         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3204         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3205         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3206         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3207         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3208         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3209         (gst_clock_flags_get_type), (register_gst_state),
3210         (gst_state_get_type), (register_gst_state_change_return),
3211         (gst_state_change_return_get_type), (register_gst_state_change),
3212         (gst_state_change_get_type), (register_gst_element_flags),
3213         (gst_element_flags_get_type), (register_gst_core_error),
3214         (gst_core_error_get_type), (register_gst_library_error),
3215         (gst_library_error_get_type), (register_gst_resource_error),
3216         (gst_resource_error_get_type), (register_gst_stream_error),
3217         (gst_stream_error_get_type), (register_gst_event_type),
3218         (gst_event_type_get_type), (register_gst_seek_type),
3219         (gst_seek_type_get_type), (register_gst_seek_flags),
3220         (gst_seek_flags_get_type), (register_gst_format),
3221         (gst_format_get_type), (register_gst_index_certainty),
3222         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3223         (gst_index_entry_type_get_type),
3224         (register_gst_index_lookup_method),
3225         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3226         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3227         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3228         (gst_index_flags_get_type), (register_gst_debug_level),
3229         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3230         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3231         (gst_iterator_result_get_type), (register_gst_iterator_item),
3232         (gst_iterator_item_get_type), (register_gst_message_type),
3233         (gst_message_type_get_type), (register_gst_mini_object_flags),
3234         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3235         (gst_pad_link_return_get_type), (register_gst_flow_return),
3236         (gst_flow_return_get_type), (register_gst_activate_mode),
3237         (gst_activate_mode_get_type), (register_gst_pad_direction),
3238         (gst_pad_direction_get_type), (register_gst_pad_flags),
3239         (gst_pad_flags_get_type), (register_gst_pad_presence),
3240         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3241         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3242         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3243         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3244         (gst_plugin_flags_get_type), (register_gst_rank),
3245         (gst_rank_get_type), (register_gst_query_type),
3246         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3247         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3248         (gst_tag_flag_get_type), (register_gst_task_state),
3249         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3250         (gst_alloc_trace_flags_get_type),
3251         (register_gst_type_find_probability),
3252         (gst_type_find_probability_get_type), (register_gst_uri_type),
3253         (gst_uri_type_get_type), (register_gst_parse_error),
3254         (gst_parse_error_get_type):
3255         * win32/common/gstversion.h:
3256           update win32 copies
3257
3258 2005-11-01  Luca Ognibene  <luogni@tin.it>
3259
3260         * gst/gst.c:
3261           fix docs. popt is dead, long live GOption.
3262
3263 2005-10-31  Wim Taymans  <wim@fluendo.com>
3264
3265         * gst/gstbuffer.h:
3266         Small doc fix.
3267
3268 2005-10-31  Andy Wingo  <wingo@pobox.com>
3269
3270         * Boo!
3271
3272         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3273
3274         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3275         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3276         the possibility of deadlocks here if code calling notify() or
3277         set() has a lock that can be taken in another notify handler (ABBA
3278         with class lock and e.g. python GIL state lock).
3279
3280 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3281
3282         * gst/gstbus.c: Doc updates.
3283
3284 2005-10-28  Wim Taymans  <wim@fluendo.com>
3285
3286         * docs/design/part-TODO.txt:
3287         * gst/gstiterator.c:
3288         * gst/gstsystemclock.c:
3289         * gst/gstsystemclock.h:
3290         Doc updates.
3291
3292 2005-10-28  Edward Hervey  <edward@fluendo.com>
3293
3294         * docs/gst/gstreamer-docs.sgml:
3295         * docs/gst/gstreamer-sections.txt:
3296         the GstURIType documentation page is private, it only defines GstURIType
3297         which should be defined in the GstURIHandler page
3298         
3299 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3300
3301         * gst/gstbin.c: (gst_bin_class_init):
3302         * gst/gstbin.h:
3303         * gst/gstutils.c:
3304         Documentation updates.
3305
3306 2005-10-28  Wim Taymans  <wim@fluendo.com>
3307
3308         * docs/gst/gstreamer-sections.txt:
3309         * gst/gstclock.c:
3310         * gst/gstclock.h:
3311         Documented the clocks.
3312
3313 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3314
3315         * docs/gst/gstreamer-sections.txt:
3316           move some macros to private sections
3317         * gst/gstminiobject.c:
3318         * gst/gstminiobject.h:
3319           add descriptions provided by ds and some more
3320         * gst/gstpad.h:
3321           mark macro as to be removed
3322
3323 2005-10-28  Wim Taymans  <wim@fluendo.com>
3324
3325         * docs/design/part-TODO.txt:
3326         Add an item to TODO.
3327
3328         * gst/gstiterator.c: (gst_iterator_fold),
3329         (gst_iterator_find_custom):
3330         * gst/gstiterator.h:
3331         Add iterator docs.
3332
3333 2005-10-28  Wim Taymans  <wim@fluendo.com>
3334
3335         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3336         (gst_base_transform_init):
3337         Don't leak class.
3338
3339         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3340         An EOS event marks the queue as completely filled.
3341
3342 2005-10-27  Wim Taymans  <wim@fluendo.com>
3343
3344         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3345         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3346         Some more debugging.
3347
3348         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3349         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3350         (gst_base_transform_event), (gst_base_transform_getrange),
3351         (gst_base_transform_chain):
3352         * gst/base/gstbasetransform.h:
3353         Fix debugging,
3354         Protect transform and concurrent buffer alloc with a new lock.
3355         Try not to break ABI/API.
3356
3357 2005-10-27  Wim Taymans  <wim@fluendo.com>
3358
3359         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3360         (gst_base_src_init), (gst_base_src_query),
3361         (gst_base_src_default_newsegment),
3362         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3363         (gst_base_src_send_event), (gst_base_src_event_handler),
3364         (gst_base_src_pad_get_range), (gst_base_src_loop),
3365         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3366         (gst_base_src_start), (gst_base_src_deactivate),
3367         (gst_base_src_activate_push), (gst_base_src_change_state):
3368         Move some stuff around and cleanup things.
3369
3370 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3371
3372         * gst/base/gstbasesrc.c: (gst_base_src_query):
3373           Add missing break statements.
3374
3375 2005-10-27  Wim Taymans  <wim@fluendo.com>
3376
3377         * check/gst/gstbin.c: (GST_START_TEST):
3378         An extra refcount is taken in basesrc.
3379
3380         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3381         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3382         (gst_base_src_loop):
3383         Small cleanups, check for flushing after being unlocked from the 
3384         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3385         Don't send out EOS when going to READY.
3386
3387 2005-10-27  Wim Taymans  <wim@fluendo.com>
3388
3389         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3390         (gst_base_sink_get_position):
3391         Some more debug.
3392
3393         * gst/gstbin.c: (message_check), (bin_replace_message),
3394         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3395         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3396         (bin_query_duration_init), (bin_query_duration_fold),
3397         (bin_query_duration_done), (bin_query_generic_fold),
3398         (gst_bin_query):
3399         * tools/gst-launch.c: (main):
3400         Remove old option.
3401
3402 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3403
3404         * examples/controller/audio-example.c: (main):
3405         * examples/queue/queue.c: (event_loop):
3406         * gst/base/gstbasetransform.h:
3407         * gst/gstelement.c: (gst_element_send_event):
3408         * gst/gstevent.h:
3409         * gst/gstpad.c: (gst_pad_send_event):
3410           fixing examples
3411           fixing docs typos
3412           changing log priority in error situations
3413
3414 2005-10-25  Wim Taymans  <wim@fluendo.com>
3415
3416         * gst/gstbin.c: (message_check), (bin_replace_message),
3417         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3418         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3419         (bin_query_duration_init), (bin_query_duration_fold),
3420         (bin_query_duration_done), (bin_query_generic_fold),
3421         (gst_bin_query):
3422         Some doc and debug updates.
3423         Cache previously requested query DURATION for speed. invalidate
3424         cached duration if element posts a DURATION message.
3425
3426 2005-10-25  Wim Taymans  <wim@fluendo.com>
3427
3428         * docs/design/part-TODO.txt:
3429         Update TODO.
3430
3431         * gst/gstbin.c: (message_check), (bin_replace_message),
3432         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3433         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3434         (bin_query_duration_init), (bin_query_duration_fold),
3435         (bin_query_duration_done), (bin_query_generic_fold),
3436         (gst_bin_query):
3437         Handle SEGMENT_START/DONE messages correctly.
3438         More evolved query algorithm that handles duration queries
3439         correctly.
3440
3441         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3442         (gst_element_get_state_func), (gst_element_abort_state),
3443         (gst_element_commit_state), (gst_element_lost_state):
3444         Some more debugging.
3445
3446         * gst/gstmessage.h:
3447         Added doc.
3448
3449 2005-10-25  Wim Taymans  <wim@fluendo.com>
3450
3451         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3452         Don't use invalid stream_time.
3453
3454         * gst/gstevent.c: (gst_event_new_newsegment):
3455         stream_time in newsegment cannot be undefined.
3456
3457 2005-10-24  Wim Taymans  <wim@fluendo.com>
3458
3459         * gst/gstbus.c:
3460         Doc fix.
3461
3462         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3463         (gst_queue_loop):
3464         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3465
3466 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3467
3468         * docs/libs/tmpl/gstdparam.sgml:
3469         * docs/libs/tmpl/gstdplinint.sgml:
3470         * docs/libs/tmpl/gstdpman.sgml:
3471         * docs/libs/tmpl/gstdpsmooth.sgml:
3472         * docs/libs/tmpl/gstunitconvert.sgml:
3473           these are obsolete
3474
3475 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3476
3477         * configure.ac:
3478           back to HEAD
3479
3480 === release 0.9.4 ===
3481
3482 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3483
3484         * configure.ac:
3485           releasing 0.9.4, "Tyrannosaurus Rex"
3486
3487 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3488
3489         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3490         (gst_file_sink_get_current_offset):
3491           Use fseeko() and ftello() if available. When falling back on
3492           lseek() to get the current offset, fflush() first to make sure
3493           everything is up-to-date and we get the right offset.
3494
3495 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3496
3497         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3498         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3499         * gst/gsterror.c: (_gst_stream_errors_init):
3500         * gst/gsterror.h:
3501         * gst/gstqueue.c: (gst_queue_loop):
3502         * po/POTFILES.in:
3503           remove prematurely added error category and clean up the instances
3504
3505 2005-10-21  Wim Taymans  <wim@fluendo.com>
3506
3507         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3508         (gst_base_sink_get_position), (gst_base_sink_query),
3509         (gst_base_sink_change_state):
3510         Simply set the right flag when going to playing, that's all
3511         we need to do instead of calling a function inside the object
3512         lock (that could take the lock as well and deadlock)
3513
3514 2005-10-21  Wim Taymans  <wim@fluendo.com>
3515
3516         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3517         (gst_base_src_loop):
3518         Don't warn, the peer element knows what to do best when
3519         the seek failed, it might try something else.
3520
3521 2005-10-21  Wim Taymans  <wim@fluendo.com>
3522
3523         * gst/base/gstbasesrc.c: (gst_base_src_init),
3524         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3525         Fix seeking.
3526
3527 2005-10-21  Wim Taymans  <wim@fluendo.com>
3528
3529         * docs/design/part-segments.txt:
3530         More docs.
3531
3532         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3533         Correctly set caps, even on the subbufer.
3534
3535 2005-10-21  Wim Taymans  <wim@fluendo.com>
3536
3537         * docs/gst/gstreamer-docs.sgml:
3538         * docs/gst/gstreamer-sections.txt:
3539         * gst/gstelement.h:
3540         * gst/gstevent.c:
3541         * gst/gstevent.h:
3542         * gst/gstmessage.h:
3543         * gst/gstpad.h:
3544         * gst/gstparse.h:
3545         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3546         * gst/gsttask.h:
3547         * gst/gstutils.c:
3548         * gst/gstutils.h:
3549         And 2% more doc coverage.
3550
3551 2005-10-21  Andy Wingo  <wingo@pobox.com>
3552
3553         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3554         position reporting.
3555
3556 2005-10-20  Wim Taymans  <wim@fluendo.com>
3557
3558         * gst/gsterror.c: (gst_error_get_message):
3559         * gst/gstparse.h:
3560         * gst/gstquery.h:
3561         * gst/gststructure.c:
3562         * gst/gsttrace.c:
3563         * gst/gstutils.c:
3564         More docs.
3565
3566 2005-10-20  Wim Taymans  <wim@fluendo.com>
3567
3568         * gst/gstbuffer.h:
3569         * gst/gstpad.c:
3570         * gst/gstparse.c:
3571         Another 1% more coverage.
3572
3573 2005-10-20  Wim Taymans  <wim@fluendo.com>
3574
3575         * docs/gst/gstreamer-sections.txt:
3576         * gst/gstelement.c: (gst_element_get_state_func),
3577         (gst_element_abort_state), (gst_element_commit_state),
3578         (gst_element_lost_state):
3579         * gst/gstevent.h:
3580         * gst/gstquery.c: (gst_query_set_position),
3581         (gst_query_parse_position), (gst_query_set_duration),
3582         (gst_query_parse_duration), (gst_query_new_convert):
3583         * gst/gstutils.c:
3584         Yay! 1% more docs coverage.
3585
3586 2005-10-20  Wim Taymans  <wim@fluendo.com>
3587
3588         * gst/gstpad.h:
3589         * gst/gstquery.c: (gst_query_set_position),
3590         (gst_query_parse_position), (gst_query_set_duration),
3591         (gst_query_parse_duration), (gst_query_new_convert):
3592         * gst/gstquery.h:
3593         * gst/gstutils.c: (gst_element_query_convert):
3594         * gst/gstutils.h:
3595         Docs and consistency fixes.
3596
3597 2005-10-20  Wim Taymans  <wim@fluendo.com>
3598
3599         * gst/gsttask.c:
3600         * gst/gsttask.h:
3601         More docs.
3602
3603 2005-10-20  Wim Taymans  <wim@fluendo.com>
3604
3605         * gst/gstbin.c: (message_check), (bin_replace_message),
3606         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3607         (update_degree), (gst_bin_sort_iterator_next),
3608         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3609         Reworked the message handling a bit, cache the messages instead of
3610         only the senders. alows us to do more in the future.
3611
3612 2005-10-20  Wim Taymans  <wim@fluendo.com>
3613
3614         * docs/design/part-TODO.txt:
3615         Update TODO
3616
3617         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3618         (gst_base_sink_query):
3619         Don't use clock time to report position when in EOS.
3620
3621 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3622
3623         * tools/gst-inspect.c: (print_interfaces),
3624         (print_element_properties_info), (print_element_info):
3625           Fix interface output with gst-inspect -a; don't print
3626           newlines after double/float properties.
3627
3628 2005-10-20  Wim Taymans  <wim@fluendo.com>
3629
3630         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3631         (gst_base_sink_query):
3632         Speed up current position calculation.
3633
3634         * gst/base/gstbasesrc.c: (gst_base_src_query),
3635         (gst_base_src_default_newsegment):
3636         Correctly set stream position in newsegment.
3637
3638         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3639         (update_degree), (gst_bin_sort_iterator_next),
3640         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3641         * gst/gstmessage.c: (gst_message_new_custom):
3642         Clean up debugging info
3643
3644         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3645         (gst_queue_loop), (gst_queue_handle_src_query):
3646         Pause task faster.
3647
3648 2005-10-19  Wim Taymans  <wim@fluendo.com>
3649
3650         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3651         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3652         Fix query handling again.
3653
3654 2005-10-19  Wim Taymans  <wim@fluendo.com>
3655
3656         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3657         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3658         * gst/base/gstbasesrc.c: (gst_base_src_query):
3659         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3660         * gst/elements/gsttypefindelement.c:
3661         (gst_type_find_handle_src_query), (find_element_get_length),
3662         (gst_type_find_element_activate):
3663         API change fix.
3664
3665         * gst/gstquery.c: (gst_query_new_position),
3666         (gst_query_set_position), (gst_query_parse_position),
3667         (gst_query_new_duration), (gst_query_set_duration),
3668         (gst_query_parse_duration), (gst_query_set_segment),
3669         (gst_query_parse_segment):
3670         * gst/gstquery.h:
3671         Bundling query position/duration is not a good idea since duration
3672         does not change much and we don't want to recalculate it for every
3673         position query, so they are separated again..
3674         Base value in segment query is not needed.
3675
3676         * gst/gstqueue.c: (gst_queue_handle_src_query):
3677         * gst/gstutils.c: (gst_element_query_position),
3678         (gst_element_query_duration), (gst_pad_query_position),
3679         (gst_pad_query_duration):
3680         * gst/gstutils.h:
3681         Updates for query API change.
3682         Added some docs here and there.
3683
3684 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3685
3686         * check/gst/gstbin.c: (GST_START_TEST):
3687         * check/gst/gstghostpad.c: (GST_START_TEST):
3688         * check/pipelines/cleanup.c: (GST_START_TEST):
3689           wait on thread to die so we can check refcount correctly
3690
3691 2005-10-18  Wim Taymans  <wim@fluendo.com>
3692
3693         * check/pipelines/stress.c: (GST_START_TEST):
3694         Make check a little more time consuming.
3695
3696 2005-10-18  Wim Taymans  <wim@fluendo.com>
3697
3698         * check/Makefile.am:
3699         * check/pipelines/stress.c: (GST_START_TEST),
3700         (simple_launch_lines_suite), (main):
3701         Small state change torture test.
3702
3703         * docs/design/part-states.txt:
3704         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3705         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3706         (gst_base_sink_change_state):
3707         Never take state lock from streaming thread, clean up ugly
3708         hacks. Unfortunatly core does not yet support nice ways to
3709         async commit state.
3710         
3711         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3712         (bin_bus_handler):
3713         Start state recalc if a STATE_DIRTY message is posted, but only
3714         on the toplevel bin.
3715
3716         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3717         (gst_element_get_state_func), (gst_element_abort_state),
3718         (gst_element_commit_state), (gst_element_lost_state),
3719         (gst_element_set_state_func), (gst_element_change_state):
3720         * gst/gstelement.h:
3721         State variables are now protected with the LOCK, the state
3722         lock is only used to serialize _set_state().
3723
3724 2005-10-18  Wim Taymans  <wim@fluendo.com>
3725
3726         * check/gst/gstbin.c: (GST_START_TEST):
3727         * check/gst/gstmessage.c: (GST_START_TEST):
3728         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3729         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3730         (bin_bus_handler):
3731         * gst/gstelement.c: (gst_element_abort_state),
3732         (gst_element_commit_state), (gst_element_lost_state):
3733         * gst/gstmessage.c: (gst_message_new_state_changed),
3734         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3735         (gst_message_new_segment_done), (gst_message_new_duration),
3736         (gst_message_parse_state_changed),
3737         (gst_message_parse_segment_start),
3738         (gst_message_parse_segment_done), (gst_message_parse_duration):
3739         * gst/gstmessage.h:
3740         * tools/gst-launch.c: (event_loop):
3741         Seriously, this is better than a previous commit as we only need
3742         to notify the fact that an element changed state in a streaming
3743         thread, marking the state of the parents dirty, hence the 
3744         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3745         message.
3746
3747 2005-10-18  Wim Taymans  <wim@fluendo.com>
3748
3749         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3750         (gst_bin_recalc_func):
3751         * gst/gstelement.c: (gst_element_set_clock),
3752         (gst_element_abort_state), (gst_element_lost_state):
3753         Cleanups, prepare for state change fixes.
3754
3755 2005-10-18  Wim Taymans  <wim@fluendo.com>
3756
3757         * gst/gstbin.h:
3758         * gst/gstelement.c: (gst_element_class_init),
3759         (gst_element_set_state), (gst_element_set_state_func):
3760         * gst/gstelement.h:
3761         Pending ABI changes.
3762         GThreadPool in GstBinClass to monitor async state changes.
3763         state_cookie in GstElement to detect concurrent gst/set state.
3764         set_state is now virtual too in case a very complicated element
3765         has to be constructed.
3766
3767 2005-10-18  Wim Taymans  <wim@fluendo.com>
3768
3769         * check/gst/gstbin.c: (GST_START_TEST):
3770         * check/gst/gstmessage.c: (GST_START_TEST):
3771         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3772         * gst/gstbin.c: (bin_bus_handler):
3773         * gst/gstelement.c: (gst_element_commit_state),
3774         (gst_element_lost_state):
3775         * gst/gstmessage.c: (gst_message_new_state_changed),
3776         (gst_message_new_segment_start), (gst_message_new_segment_done),
3777         (gst_message_new_duration), (gst_message_parse_state_changed),
3778         (gst_message_parse_segment_start),
3779         (gst_message_parse_segment_done), (gst_message_parse_duration):
3780         * gst/gstmessage.h:
3781         * tools/gst-launch.c: (event_loop):
3782         Make messages future proof.
3783         state-change gets a flag if it was a message comming from the
3784         streaming thread.
3785         segment-start/stop can also be specified in other formats.
3786         A message to notify an app that a pipeline changed playback 
3787         duration.
3788         Also fix a GstMessage leak in -launch
3789
3790 2005-10-18  Andy Wingo  <wingo@pobox.com>
3791
3792         * gst/gstelement.c (gst_element_dispose): More helpful message.
3793
3794 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3795
3796         reviewed by: <delete if not using a buddy>
3797
3798         * common/gtk-doc.mak:
3799
3800 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3801
3802         * gst/gstregistry.c: (gst_registry_scan_path_level):
3803           unref a plug-in we get that was already initialized
3804
3805 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3806
3807         * docs/gst/gstreamer-sections.txt:
3808         * docs/libs/gstreamer-libs-sections.txt:
3809         * gst/gstelement.h:
3810           add new api entries
3811           hide internal macro
3812
3813 2005-10-17  Andy Wingo  <wingo@pobox.com>
3814
3815         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3816         cleanup.
3817
3818         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3819
3820         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3821
3822         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3823         (gst_element_get_state_func): Better debug message.
3824         (gst_element_commit_state): s/INFO/DEBUG/.
3825         (gst_element_lost_state, gst_element_change_state): 
3826
3827         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3828         (gst_message_new_custom): s/INFO/LOG/.
3829
3830 2005-10-17  Michael Smith <msmith@fluendo.com>
3831
3832         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3833           Check if end time is valid using end time, not start time.
3834
3835 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3836
3837         * check/gst-libs/controller.c: (GST_START_TEST),
3838         (gst_controller_suite):
3839         * libs/gst/controller/gstcontroller.c:
3840         (gst_controlled_property_set_interpolation_mode):
3841         * libs/gst/controller/gstcontroller.h:
3842         * libs/gst/controller/gstinterpolation.c:
3843         * testsuite/controller/.cvsignore:
3844         * testsuite/controller/Makefile.am:
3845         * testsuite/controller/interpolator.c:
3846           merge controller testsuites
3847           fix broken tests
3848           remove mem-chunk from docs
3849
3850 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3851
3852         * gst/gstmemchunk.c:
3853         * gst/gstmemchunk.h:
3854         * gst/gsttrashstack.c:
3855         * gst/gsttrashstack.h:
3856           out.  get out.  you're fired.  to the Attic !
3857
3858 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3859
3860         * gst/gstcaps.c: (gst_caps_intersect):
3861           fix signedness issues in a (hopefully) correct way
3862         * gst/gstelement.c: (gst_element_pads_activate):
3863           some debugging
3864         * gst/gstobject.c: (gst_object_set_parent):
3865           some debugging
3866
3867 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3868
3869         * gst/gstvalue.h: Fix prototypes.
3870
3871 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3872
3873         * docs/gst/gstreamer-sections.txt:
3874         * gst/gst.c: (gst_version_string):
3875         * gst/gst.h:
3876         * gst/gstversion.h.in:
3877         * win32/common/libgstreamer.def:
3878           add gst_version_string ()
3879
3880 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3881
3882         * configure.ac:
3883           clean up further
3884         * gst/gst.c: (init_post):
3885         * win32/common/config.h.in:
3886           it's PLUGINDIR now
3887         * gst/gstcaps.c: (gst_caps_intersect):
3888           use gint64, the range could be bigger than a guint
3889
3890 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3891
3892         * gst/gstclock.h:
3893           document potential problem in 2038
3894
3895 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3896
3897         * gst/gstcaps.c: (gst_caps_intersect):
3898           Fix guint j diving under 0
3899
3900 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3901
3902         * configure.ac:
3903         * win32/common/config.h:
3904         * win32/common/config.h.in:
3905           check for process.h, declares getpid() on Windows
3906         * gst/gstinfo.c:
3907           include process.h if we have it
3908         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3909         * gst/gstmemchunk.h:
3910           fix signedness issues
3911         * win32/common/libgstreamer.def:
3912           fix get_type's
3913
3914 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3915
3916         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3917         fix. Because of unsigned ints, caps intersection was going nuts and
3918         trying to access structures with G_MAXUINT index. That fixes
3919         videotestsrc ! ffmpegcolorspace ! fakesink
3920         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3921         consistency.
3922
3923 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3924
3925         * configure.ac:
3926           use the gettext macro
3927         * gst/elements/gstelements.c:
3928         * gst/gst.c:
3929         * gst/indexers/gstindexers.c:
3930           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3931         * win32/common/config.h:
3932           updated config.h
3933         * win32/common/config.h.in:
3934           add the template to generate config.h
3935         * win32/common/gstenumtypes.c:
3936         * win32/common/gstversion.h:
3937           updated copies
3938
3939 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3940
3941         * gst/gst.c: (gst_version):
3942         * gst/gstversion.h.in:
3943           add the nano
3944
3945 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3946
3947         * gst/gstevent.h:
3948           Oops, add missing closing bracket.
3949
3950 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3951
3952         * configure.ac:
3953           use common m4's for argument checking
3954
3955 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3956
3957         * docs/gst/gstreamer-sections.txt:
3958         * gst/gstevent.h:
3959           Add GST_EVENT_TYPE_NAME() macro.
3960
3961 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3962
3963         * gst/gstinfo.c:
3964         * gst/gstpluginfeature.c:
3965         * gst/gsttask.c:
3966           privatize more symbols
3967
3968 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3969
3970         * configure.ac:
3971           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3972           everything that uses GStreamer API should have the includes
3973
3974 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3975
3976         * docs/gst/gstreamer-sections.txt:
3977         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3978         * gst/gstvalue.h:
3979           give each value a _get_type, removes the DATA exports
3980
3981 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3982
3983         * gst/gst.c:
3984         * gst/gst.h:
3985           remove _gst_registry_auto_load, not used anymore
3986         * gst/gstbin.c: (gst_bin_get_type):
3987         * gst/gstbin.h:
3988         * gst/gstelement.c: (gst_element_get_type):
3989         * gst/gstelement.h:
3990         * gst/gstobject.c: (gst_object_get_type):
3991         * gst/gstobject.h:
3992         * gst/gstpad.c: (gst_pad_get_type):
3993         * gst/gstpad.h:
3994           make _get_type functions similar, fixes data export from library
3995
3996 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3997
3998         * configure.ac:
3999           correctly make conditionals
4000         * gst/elements/Makefile.am:
4001         * gst/elements/gstelements.c:
4002           fix typo causing fdsrc not to build
4003
4004 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4005
4006         * testsuite/Makefile.am:
4007         * testsuite/bytestream/.cvsignore:
4008         * testsuite/bytestream/Makefile.am:
4009         * testsuite/bytestream/filepadsink.c:
4010         * testsuite/bytestream/gstbstest.c:
4011         * testsuite/bytestream/test1.c:
4012         * testsuite/bytestream/testfile1:
4013         * testsuite/caps/normalisation.c:
4014         * testsuite/caps/random.c: (main):
4015         * testsuite/cleanup/.cvsignore:
4016         * testsuite/cleanup/Makefile.am:
4017         * testsuite/cleanup/cleanup1.c:
4018         * testsuite/cleanup/cleanup2.c:
4019         * testsuite/cleanup/cleanup3.c:
4020         * testsuite/cleanup/cleanup4.c:
4021         * testsuite/cleanup/cleanup5.c:
4022         * testsuite/controller/interpolator.c:
4023         * testsuite/debug/printf_extension.c: (main):
4024         * testsuite/elements/tee.c:
4025         * testsuite/negotiation/.cvsignore:
4026         * testsuite/negotiation/Makefile.am:
4027         * testsuite/negotiation/pad_link.c:
4028         * testsuite/pad/Makefile.am:
4029         * testsuite/pad/chainnopull.c:
4030         * testsuite/pad/getnopush.c:
4031         * testsuite/pad/link.c:
4032         * testsuite/refcounting/sched.c: (create_pipeline):
4033         * testsuite/registry/Makefile.am:
4034         * testsuite/registry/gst-print-formats.c:
4035         * testsuite/schedulers/.cvsignore:
4036         * testsuite/schedulers/142183-2.c:
4037         * testsuite/schedulers/142183.c:
4038         * testsuite/schedulers/143777-2.c:
4039         * testsuite/schedulers/143777.c:
4040         * testsuite/schedulers/147713.c:
4041         * testsuite/schedulers/147819.c:
4042         * testsuite/schedulers/147894-2.c:
4043         * testsuite/schedulers/147894.c:
4044         * testsuite/schedulers/Makefile.am:
4045         * testsuite/schedulers/group_link.c:
4046         * testsuite/schedulers/queue_link.c:
4047         * testsuite/schedulers/relink.c:
4048         * testsuite/schedulers/unlink.c:
4049         * testsuite/schedulers/unref.c:
4050         * testsuite/schedulers/useless_iteration.c:
4051         * testsuite/states/bin.c:
4052           clean out/remove some stuff from the testsuite directories
4053
4054 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4055
4056         * configure.ac:
4057           check for some headers
4058         * gst/elements/Makefile.am:
4059         * gst/elements/gstelements.c:
4060           don't compile fdsrc without sys/socket.h
4061         * gst/indexers/Makefile.am:
4062         * gst/indexers/gstindexers.c: (plugin_init):
4063           don't compile fileindex without mmap
4064
4065 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4066
4067         * configure.ac:
4068           reorganize
4069           clean up
4070           document more
4071           remove cruft
4072         * check/Makefile.am:
4073         * docs/gst/Makefile.am:
4074         * examples/helloworld/Makefile.am:
4075         * gst/Makefile.am:
4076         * gst/base/Makefile.am:
4077         * gst/check/Makefile.am:
4078         * gst/elements/Makefile.am:
4079         * gst/indexers/Makefile.am:
4080         * gst/parse/Makefile.am:
4081         * libs/gst/controller/Makefile.am:
4082         * libs/gst/dataprotocol/Makefile.am:
4083         * examples/helloworld/helloworld.c: (event_loop):
4084           compile fixes, though it's not being compiled currently
4085
4086 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4087
4088         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4089           Add some simple tests for the new taglist date API.
4090
4091 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4092
4093         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4094         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4095           Beautify 'last-message' output: print 'none' for buffer timestamps
4096           and durations if none is set; improve alignment with next messages.
4097
4098 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4099
4100         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4101         * gst/gstpluginfeature.h:
4102         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4103         * gst/gstregistry.h:
4104         * docs/gst/gstreamer-sections.txt:
4105           Add new API to check plugin feature version requirements.
4106
4107         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4108           Some basic tests for the above.         
4109
4110 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4111
4112         * gst/gststructure.c: (gst_structure_to_string):
4113           guard against NULL printf - happens when for example
4114           a message structure with GstClock gets serialized
4115
4116 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4117
4118         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4119           Fix presumable copy'n'pasto.
4120
4121 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4122
4123         * gst/elements/gstfakesrc.h:
4124         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4125         * gst/elements/gsttypefindelement.c:
4126           fix some signedness
4127         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4128           I wonder if this could actually write +2GB files before
4129
4130 2005-10-13  Andy Wingo  <wingo@pobox.com>
4131
4132         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4133         Fix Timmeke Waymans bug.
4134         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4135         string of the proper length to gst_caps_from_string. There's a
4136         potential for, before this fix, that this could cause someone
4137         connecting over the network to cause a segfault if the payload is
4138         not NUL-terminated.
4139
4140 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4141
4142         * docs/design/draft-push-pull.txt:
4143         * docs/design/part-overview.txt:
4144         * docs/random/TODO-pre-0.9:
4145         * docs/random/old/ChangeLog.gstreamer:
4146         * gst/base/gstpushsrc.c:
4147         * gst/gstclock.c:
4148           fixed typos
4149
4150 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4151
4152         * gst/glib-compat.c: (gst_flags_get_first_value):
4153         * gst/glib-compat.h:
4154         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4155         (gst_value_compare_double), (gst_value_serialize_flags):
4156           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4157           infinite loop
4158
4159 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4160
4161         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4162         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4163           fix up debugging
4164         * tools/gst-launch.c: (event_loop):
4165           print out clock nicely
4166
4167 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4168
4169         * docs/gst/gstreamer-sections.txt:
4170         * gst/gsttaglist.h:
4171         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4172         (gst_tag_list_get_date_index):
4173           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4174           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4175
4176 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4177
4178         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4179         (gst_collectpads_chain):
4180         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4181         in CollectData.
4182
4183 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4184
4185         * docs/gst/gstreamer-sections.txt:
4186         * gst/gst.c:
4187         * gst/gsterror.h:
4188         * tools/gst-inspect.c: (main):
4189         * tools/gst-launch.c: (main):
4190         * tools/gst-run.c: (main):
4191         * tools/gst-xmlinspect.c: (main):
4192           fix GOption context leaks
4193           doc fixes
4194
4195 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4196
4197         * gst/gstbus.c:
4198           use HAVE_UNISTD_H
4199         * win32/common/config.h:
4200           update config
4201         * win32/vs6/grammar.dsp:
4202         * win32/vs6/libgstelements.dsp:
4203         * win32/vs6/libgstreamer.dsp:
4204           update vs6 files
4205
4206 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4207
4208         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4209         * gst/base/gstbasesrc.c: (gst_base_src_query):
4210           fix more guint64<->gdouble conversions
4211
4212 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4213
4214         * Makefile.am:
4215           add win32-update target
4216         * win32/common/gstconfig.h:
4217         * win32/common/gstenumtypes.c:
4218         * win32/common/gstenumtypes.h:
4219         * win32/common/gstversion.h:
4220           add files that visual studio can't generate
4221
4222 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4223
4224         * Makefile.am:
4225           add a win32-update target
4226         * configure.ac:
4227
4228 2005-10-12  Wim Taymans  <wim@fluendo.com>
4229
4230         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4231         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4232         * gst/gstelement.c: (gst_element_commit_state),
4233         (gst_element_set_state):
4234         Protect flags with proper lock.
4235         unref provided cached clock in dispose.
4236
4237 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4238
4239         * gst/gst.c:
4240         * gst/gstminiobject.h:
4241         * gst/gstpad.h:
4242         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4243           removed unused flags from miniobject
4244           doc fixes
4245
4246 2005-10-12  Wim Taymans  <wim@fluendo.com>
4247
4248         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4249         (gst_file_sink_event), (gst_file_sink_render):
4250         Flush before seeking.
4251
4252 2005-10-12  Andy Wingo  <wingo@pobox.com>
4253
4254         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4255         always been the case.
4256
4257 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4258
4259         * check/gst/gstbin.c: (GST_START_TEST):
4260         * docs/gst/gstreamer-sections.txt:
4261         * gst/base/gstbasesink.c: (gst_base_sink_init):
4262         * gst/base/gstbasesrc.c: (gst_base_src_init),
4263         (gst_base_src_get_range), (gst_base_src_check_get_range),
4264         (gst_base_src_start), (gst_base_src_stop):
4265         * gst/base/gstbasesrc.h:
4266         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4267         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4268         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4269         (bin_bus_handler):
4270         * gst/gstbin.h:
4271         * gst/gstbuffer.h:
4272         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4273         * gst/gstbus.h:
4274         * gst/gstelement.c: (gst_element_is_locked_state),
4275         (gst_element_set_locked_state), (gst_element_commit_state),
4276         (gst_element_set_state):
4277         * gst/gstelement.h:
4278         * gst/gstindex.c: (gst_index_init):
4279         * gst/gstindex.h:
4280         * gst/gstminiobject.h:
4281         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4282         (gst_object_set_parent):
4283         * gst/gstobject.h:
4284         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4285         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4286         * gst/gstpad.h:
4287         * gst/gstpadtemplate.h:
4288         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4289         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4290         * gst/gstpipeline.h:
4291         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4292         (gst_file_index_commit):
4293         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4294         * testsuite/pad/link.c: (gst_test_src_init),
4295         (gst_test_filter_init), (gst_test_sink_init):
4296         * testsuite/states/locked.c: (main):
4297           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4298           moved bitshift from macro to enum definition
4299
4300 2005-10-12  Wim Taymans  <wim@fluendo.com>
4301
4302         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4303         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4304         (gst_file_sink_render):
4305         Some more debugging info.
4306
4307 2005-10-12  Wim Taymans  <wim@fluendo.com>
4308
4309         * docs/design/part-states.txt:
4310         * tools/gst-launch.c: (main):
4311         Some doc updates.
4312         Revert non-intentional change.
4313
4314 2005-10-12  Wim Taymans  <wim@fluendo.com>
4315
4316         * check/gst/gstbin.c: (GST_START_TEST):
4317         * check/gst/gstelement.c: (GST_START_TEST):
4318         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4319         * check/gst/gstghostpad.c: (GST_START_TEST):
4320         * check/gst/gstpipeline.c: (GST_START_TEST):
4321         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4322         * check/states/sinks.c: (GST_START_TEST):
4323         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4324         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4325         (gst_bin_remove_func), (gst_bin_get_state_func),
4326         (gst_bin_recalc_state), (gst_bin_change_state_func),
4327         (bin_bus_handler):
4328         * gst/gstelement.c: (gst_element_get_state_func),
4329         (gst_element_get_state), (gst_element_abort_state),
4330         (gst_element_commit_state), (gst_element_set_state),
4331         (gst_element_change_state), (gst_element_change_state_func):
4332         * gst/gstelement.h:
4333         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4334         (gst_pipeline_provide_clock_func):
4335         * gst/gstutils.c: (gst_element_link_pads_filtered):
4336         * tools/gst-launch.c: (main):
4337         * tools/gst-typefind.c: (main):
4338         Use GstClockTime in _get_state() instead of GTimeVal.
4339         Remove old code in gstutils.c
4340
4341 2005-10-12  Andy Wingo  <wingo@pobox.com>
4342
4343         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4344         removed.
4345
4346         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4347         there is no task. Shouldn't affect any code, as nothing in our
4348         plugins checks this return value.
4349         (gst_pad_stop_task): Also take the stream lock if the pad has no
4350         task. Docs updated.
4351
4352 2005-10-12  Wim Taymans  <wim@fluendo.com>
4353
4354         * gst/gstpad.c: (pre_activate), (post_activate),
4355         (gst_pad_activate_pull), (gst_pad_activate_push):
4356         Cleanup activation code. Reset old state if
4357         activation failed.
4358
4359 2005-10-12  Wim Taymans  <wim@fluendo.com>
4360
4361         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4362         (gst_base_sink_change_state):
4363         No need to prerol after receiving EOS.
4364
4365         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4366         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4367         * gst/elements/gstidentity.c: (gst_identity_event):
4368         Print events more verbosely.
4369
4370 2005-10-12  Wim Taymans  <wim@fluendo.com>
4371
4372         * check/Makefile.am:
4373         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4374         * check/states/sinks2.c:
4375         Moved sinks2 testcode in sinks check.
4376
4377         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4378         (gst_bin_remove_func), (gst_bin_recalc_state),
4379         (gst_bin_change_state_func), (bin_bus_handler):
4380         Fix potential race condition when _get_state() iterated over an
4381         ASYNC element right before it posted a state completion.
4382
4383         * gst/gstclock.h:
4384         Do proper cast here.
4385
4386         * gst/gstevent.c: (gst_event_new_newsegment),
4387         (gst_event_parse_newsegment):
4388         A playback rate of 0.0 is not allowed.
4389
4390 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4391
4392         * win32/common/config.h:
4393         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4394         (_trewinddir), (_ttelldir), (_tseekdir):
4395         * win32/common/dirent.h:
4396         * win32/common/gtchar.h:
4397         * win32/common/libgstbase.def:
4398         * win32/common/libgstreamer.def:
4399         * win32/vs6/grammar.dsp:
4400         * win32/vs6/gst_inspect.dsp:
4401         * win32/vs6/gst_launch.dsp:
4402         * win32/vs6/gstreamer.dsw:
4403         * win32/vs6/libgstbase.dsp:
4404         * win32/vs6/libgstelements.dsp:
4405         * win32/vs6/libgstreamer.dsp:
4406           Visual Studio 6 project files, and a new common directory.
4407           Phear.
4408
4409 2005-10-11  Wim Taymans  <wim@fluendo.com>
4410
4411         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4412         (gst_base_sink_do_sync), (gst_base_sink_query),
4413         (gst_base_sink_change_state):
4414         * gst/base/gstbasesink.h:
4415         Correctly parse newsegment info.
4416
4417 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4418
4419         * gst/gst.c: (init_post):
4420           split plugin paths correctly
4421
4422 2005-10-11  Wim Taymans  <wim@fluendo.com>
4423
4424         * check/gst/gstevent.c: (GST_START_TEST):
4425         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4426         (gst_base_sink_change_state):
4427         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4428         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4429         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4430         * gst/gstevent.c: (gst_event_new_newsegment),
4431         (gst_event_parse_newsegment):
4432         * gst/gstevent.h:
4433         Added extra flag to newsegment for future API freeze.
4434         Updated check and base elements.
4435
4436 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4437
4438         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4439         (gst_collectpads_add_pad), (gst_collectpads_pop),
4440         (gst_collectpads_event), (gst_collectpads_chain):
4441         * gst/base/gstcollectpads.h: Handle EOS correctly.
4442
4443 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4444
4445         * tools/gst-launch.c: (main):
4446           more null protecting
4447
4448 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4449
4450         * gst/gst-i18n-lib.h:
4451           check for ENABLE_NLS, not GETTEXT_PACKAGE
4452         * gst/gstregistry.c: (gst_registry_add_plugin),
4453         (gst_registry_scan_path_level),
4454         (_gst_registry_remove_cache_plugins):
4455           protect possibly NULL strings
4456         * gst/parse/types.h:
4457           config.h already included before
4458         * tools/gst-inspect.c: (main):
4459           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4460           check for ENABLE_NLS, not GETTEXT_PACKAGE
4461         * tools/gst-launch.c: (main):
4462           check for ENABLE_NLS, not GETTEXT_PACKAGE
4463
4464 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4465
4466         * configure.ac:
4467           if we don't have glib, fail before testing 2.8
4468         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4469           fix a leak, should fix plugins-base testsuite
4470
4471 2005-10-11  Andy Wingo  <wingo@pobox.com>
4472
4473         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4474         take the mode we're going to as an arg. Go head and set the mode
4475         and flushing flags now, so that if the activate function starts a
4476         thread all the flags will be in the right state.
4477         (post_activate): Renamed also. Just handle making sure streaming
4478         finishes for the deactivation case, and setting the deactivated
4479         mode.
4480         (gst_pad_set_active): Complain loudly if deactivation fails.
4481         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4482         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4483         remove the terrible hack.
4484
4485 2005-10-11  Wim Taymans  <wim@fluendo.com>
4486
4487         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4488         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4489         (gst_bin_recalc_state), (gst_bin_change_state_func),
4490         (gst_bin_dispose), (bin_bus_handler):
4491         * gst/gstbin.h:
4492         Prepare to make current EOS message queue more generic.
4493         Fix some typos.
4494
4495         * gst/gstevent.c: (gst_event_new_newsegment),
4496         (gst_event_parse_newsegment):
4497         * gst/gstevent.h:
4498         Rename base to stream_time.
4499
4500         * gst/gstmessage.h:
4501         Fix typo in docs.
4502
4503 2005-10-11  Wim Taymans  <wim@fluendo.com>
4504
4505         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4506         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4507         (gst_bin_change_state_func), (bin_bus_handler):
4508         * gst/gstbin.h:
4509         Work on proper clock selection.
4510
4511 2005-10-11  Edward Hervey  <edward@fluendo.com>
4512
4513         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4514         * libs/gst/controller/gstcontroller.h:
4515         Added GList* version of _remove_properties() in order to be able to wrap
4516         it in bindings.
4517
4518 2005-10-11  Wim Taymans  <wim@fluendo.com>
4519
4520         * docs/design/part-states.txt:
4521         Some more docs.
4522
4523         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4524         (gst_bin_change_state_func), (bin_bus_handler):
4525         Doc updates. Don't distribute the same clock over and over again.
4526
4527         * gst/gstclock.c:
4528         * gst/gstclock.h:
4529         Doc updates.
4530
4531         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4532         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4533         (gst_pad_send_event):
4534         * gst/gstpad.h:
4535         Make probe emission threadsafe again.
4536         Register quarks and move _get_name() from utils.
4537         Doc updates.
4538
4539         * gst/gstpipeline.c: (gst_pipeline_class_init),
4540         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4541         Only redistribute the clock of it changed.
4542
4543         * gst/gstsystemclock.h:
4544         Doc updates. 
4545
4546         * gst/gstutils.c:
4547         * gst/gstutils.h:
4548         Moved the _flow_get_name() to GstPad.
4549
4550 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4551
4552         * check/gst-libs/gdp.c: (GST_START_TEST):
4553         * check/gst/gstcaps.c: (GST_START_TEST):
4554         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4555         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4556         (gst_dp_packet_from_caps):
4557           fix more valgrind warnings before turning up the heat
4558
4559 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4560
4561         * gst/parse/grammar.y:
4562           some cleanup before the hacking
4563
4564 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4565
4566         * gst/base/gstbasesrc.c: (gst_base_src_query):
4567           use conversions
4568         * gst/gstutils.c: (gst_guint64_to_gdouble),
4569         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4570         * gst/gstutils.h:
4571           externalize, basesrc uses it
4572           obviously the implementation needs testing
4573
4574 2005-10-10  Wim Taymans  <wim@fluendo.com>
4575
4576         * tests/sched/Makefile.am:
4577         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4578         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4579
4580 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4581
4582         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4583           apparently converting from guint64 to double is not implemented
4584           on MSVC
4585
4586 2005-10-10  Wim Taymans  <wim@fluendo.com>
4587
4588         * check/Makefile.am:
4589         * check/generic/states.c: (GST_START_TEST):
4590         * check/gst/gstbin.c: (GST_START_TEST):
4591         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4592         * check/states/sinks.c: (GST_START_TEST):
4593         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4594         (main):
4595         Check fixes, use API as stated in design docs, remove hacks.
4596
4597         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4598         (gst_base_sink_change_state):
4599         Catch stopping our task while we're shutting down.
4600
4601         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4602         (gst_bin_remove_func), (gst_bin_get_state_func),
4603         (gst_bin_recalc_state), (gst_bin_change_state_func),
4604         (bin_bus_handler):
4605         * gst/gstbin.h:
4606         * gst/gstelement.c: (gst_element_init),
4607         (gst_element_get_state_func), (gst_element_abort_state),
4608         (gst_element_commit_state), (gst_element_lost_state),
4609         (gst_element_set_state), (gst_element_change_state),
4610         (gst_element_change_state_func):
4611         * gst/gstelement.h:
4612         New state change algorithm (see #318116)
4613
4614         * gst/gstpipeline.c: (gst_pipeline_class_init),
4615         (gst_pipeline_init), (gst_pipeline_set_property),
4616         (gst_pipeline_get_property), (do_pipeline_seek),
4617         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4618         * gst/gstpipeline.h:
4619         Remove crude state change hacks.
4620
4621         * gst/gstutils.h:
4622         Remove crude hacks.
4623
4624         * tools/gst-launch.c: (main):
4625         Fixes for state change. Needs some more work to fully use the
4626         new stuff.
4627
4628 2005-10-10  Andy Wingo  <wingo@pobox.com>
4629
4630         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4631
4632         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4633         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4634         issue.
4635
4636 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4637
4638         * gst/gstiterator.c: (gst_iterator_new):
4639           Fix my previous commit: GTypes passed to gst_iterator_new()
4640           can be fundamental types.
4641
4642 2005-10-10  Wim Taymans  <wim@fluendo.com>
4643
4644         * gst/gstelement.c: (gst_element_iterate_pad_list),
4645         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4646         (gst_element_iterate_sink_pads):
4647         Use src/sink pads lists for the respective iterators instead
4648         of filtering.
4649
4650 2005-10-10  Andy Wingo  <wingo@pobox.com>
4651
4652         Merged in popt removal + GOption addition patch from Ronald, bug
4653         #169772.
4654
4655         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4656         GstElement macros around, remove popt-related symbols, add goption
4657         stuff.
4658
4659         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4660         
4661         * docs/gst/Makefile.am:
4662         * docs/libs/Makefile.am: No POPT_CFLAGS.
4663         
4664         * examples/manual/Makefile.am:
4665         * docs/manual/basics-init.xml: Doc updates with an example.
4666         
4667         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4668         (gst_init), (parse_one_option), (parse_goption_arg):
4669         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4670         bit of hand merging and debugging to get the GOption stuff working
4671         tho.
4672         
4673         * tests/Makefile.am:
4674         * tools/Makefile.am:
4675         * tools/gst-inspect.c: (main):
4676         * tools/gst-launch.c: (main):
4677         * tools/gst-run.c: (main):
4678         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4679
4680 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4681
4682         * gst/gstiterator.c: (gst_iterator_new):
4683           Add assertions to make sure passed GType is likely to really
4684           be a GType (as the compiler won't catch it if the size and
4685           GType arguments get mixed up, see #318447).
4686
4687 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4688
4689         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4690
4691         * gst/gstbin.c: (gst_bin_iterate_sorted):
4692           Pass GType and size arguments to gst_iterator_new() in the right
4693           order (maybe we should make _new() take the GType as first argument
4694           just like _new_list()?) (#318447).
4695           
4696
4697 2005-10-10  Wim Taymans  <wim@fluendo.com>
4698
4699         * gst/gstelement.c: (gst_element_finalize):
4700         And free the GStaticRecMutex too
4701
4702 2005-10-10  Andy Wingo  <wingo@pobox.com>
4703
4704         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4705         Allocate and free the mutex properly.
4706
4707         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4708         New macros.
4709         (GstElement): The state_lock is now recursive. Rebuild your
4710         plugins, suckers. Old macros adapted.
4711
4712         * docs/gst/gstreamer-sections.txt: Doc updates.
4713
4714         * gst/gstutils.h:
4715         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4716         (g_static_rec_cond_wait): Ported from state changes patch, while
4717         we wait on bug #317802 to be solved in a well-distributed GLib.
4718
4719         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4720         gst_element_change_state, variable name changes.
4721         (gst_element_change_state): Split out of gst_element_set_state in
4722         preparation for the state change merge. Doesn't pay attention to
4723         the 'transition' argument.
4724         (gst_element_set_state): Updates, hopefully purely cosmetic.
4725         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4726         state change patch.
4727         (gst_element_get_state_func): Renamed from get_state, cosmetic
4728         changes.
4729
4730 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4731
4732         * gst/elements/gstelements.c:
4733         * win32/GStreamer.vcproj:
4734         * win32/config.h:
4735         * win32/dirent.c: (_tseekdir):
4736         * win32/gst-inspect.vcproj:
4737         * win32/gst-launch.vcproj:
4738         * win32/gstconfig.h:
4739         * win32/gstelements.vcproj:
4740         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4741         * win32/gstreamer.def:
4742         * win32/msvc71.sln:
4743           updates for the win32 build (patch from Sebastien Moutte)
4744
4745 2005-10-10  Andy Wingo  <wingo@pobox.com>
4746
4747         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4748         gst_bin_get_state, cleaned up (but no logic changes).
4749         (bin_element_is_sink): Comment updates.
4750         (sink_iterator_filter): Remove needless cast.
4751         (gst_bin_iterate_sinks): Doc update.
4752         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4753         cleaned up (but no logic changes).
4754
4755         * check/states/sinks.c (test_src_sink): Cleanups from the state
4756         change patch.
4757         (test_livesrc_sink): Sync on the state.
4758
4759         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4760         the state change patch.
4761
4762         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4763         change patch.
4764
4765         * check/gst/gstbin.c: Merge in some style fixes and additional
4766         checks from Wim's state change patch.
4767
4768 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4769
4770         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4771         (gst_type_find_helper):
4772           Check whether we have the requested data already in our list of
4773           cached buffers before pulling a new buffer; also make the buffer
4774           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4775
4776 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4777
4778         * gst/gstcaps.c:
4779         * gst/gstevent.c:
4780           doc updates
4781         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4782           don't use long long, it's not portable.  Replacing with
4783           gint64 seems to work; let's hope no skeletons fall out of the closet.
4784
4785 2005-10-10  Andy Wingo  <wingo@pobox.com>
4786
4787         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4788
4789 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4790
4791         * docs/gst/gstreamer-sections.txt:
4792         * gst/gstevent.c:
4793         * gst/gstevent.h:
4794         * gst/gstinfo.c:
4795         * gst/gstinfo.h:
4796         * gst/gstmessage.c: (gst_message_parse_state_changed):
4797         * gst/gstpad.c:
4798         * gst/gstpad.h:
4799           more docs, fix compilation
4800
4801 2005-10-09  Philippe Khalaf <burger@speedy.org>
4802         * gst/gstmessage.c:
4803           Fixed a few forgotten variables on previous commit
4804
4805 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4806
4807         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4808           Fix evil typefind crasher: getrange() might return a short
4809           buffer at the end of a file, but gst_type_find_peek() must
4810           either return the full data as requested or NULL, but
4811           never a short buffer.
4812
4813 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4814
4815         * gst/gstmessage.c: (gst_message_new_state_changed),
4816         (gst_message_parse_state_changed):
4817         * gst/gstmessage.h:
4818           don't use "new", it's a C++ keyword
4819
4820 2005-10-08  Wim Taymans  <wim@fluendo.com>
4821
4822         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4823         * gst/gstelement.c: (gst_element_post_message):
4824         * gst/gstpipeline.c: (gst_pipeline_change_state):
4825         Small docs and debug updates.
4826
4827 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4828
4829         * docs/gst/gstreamer-sections.txt:
4830         * gst/gstelementfactory.c:
4831         * gst/gstevent.c:
4832         * gst/gsttaglist.c:
4833           more docs
4834
4835 2005-10-08  Wim Taymans  <wim@fluendo.com>
4836
4837         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4838         (gst_bin_dispose), (bin_bus_handler):
4839         Fix typos, add comments.
4840         Clear EOS list when going to PAUSED from any direction and do it
4841         in a threadsafe way.
4842         Get base time in a threadsafe way too.
4843         Fix confusing debug in the change_state function.
4844         Various other small cleanups.
4845         
4846         * gst/gstelement.c: (gst_element_post_message):
4847         Fix very verbose bus posting code.
4848
4849         * gst/gstpipeline.c: (gst_pipeline_class_init),
4850         (gst_pipeline_set_property), (gst_pipeline_get_property),
4851         (gst_pipeline_change_state):
4852         Small ARG_ -> PROP_ cleanup
4853
4854 2005-10-08  Wim Taymans  <wim@fluendo.com>
4855
4856         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4857         Do a less CPU demanding EOS check because we can.
4858
4859 2005-10-08  Wim Taymans  <wim@fluendo.com>
4860
4861         * libs/gst/dataprotocol/dataprotocol.c:
4862         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4863         (gst_dp_packet_from_event):
4864         * libs/gst/dataprotocol/dataprotocol.h:
4865         * libs/gst/dataprotocol/dp-private.h:
4866         It's about time we bump the version number.
4867         Since event types don't fit in the guint8 anymore describing
4868         the payload type, make payload type 16 bits wide.
4869
4870 2005-10-08  Wim Taymans  <wim@fluendo.com>
4871
4872         * docs/design/part-TODO.txt:
4873         * docs/design/part-clocks.txt:
4874         * docs/design/part-events.txt:
4875         * docs/design/part-gstbin.txt:
4876         * docs/design/part-gstelement.txt:
4877         * docs/design/part-gstpipeline.txt:
4878         * docs/design/part-live-source.txt:
4879         * docs/design/part-messages.txt:
4880         * docs/design/part-overview.txt:
4881         * docs/design/part-states.txt:
4882         Many doc updates.
4883
4884 2005-10-08  Wim Taymans  <wim@fluendo.com>
4885
4886         * gst/gstevent.c:
4887         * gst/gstevent.h:
4888         Fix event quark registration.
4889         Add some space between events so we can insert them in the
4890         right groups.
4891
4892 2005-10-08  Wim Taymans  <wim@fluendo.com>
4893
4894         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4895         (gst_base_sink_handle_buffer):
4896         Better log message.
4897
4898         * gst/gstbus.h:
4899         * gst/gstelement.h:
4900         More docs.
4901
4902         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4903         (gst_queue_set_property), (gst_queue_get_property):
4904         * gst/gstqueue.h:
4905         Remove old unused properties.
4906
4907 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4908         * docs/gst/gstreamer-sections.txt:
4909         * gst/gstmessage.c:
4910         * gst/gstmessage.h:
4911         * gst/gstminiobject.c:
4912         * gst/gstminiobject.h:
4913         * gst/gstobject.h:
4914         * gst/gstpad.h:
4915         * gst/gstutils.h:
4916           lots of new docs and doc fixes
4917
4918 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4919
4920         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4921         * gst/gstplugin.h:
4922         * gst/gstregistry.c: (gst_registry_lookup_locked),
4923         (gst_registry_scan_path_level):
4924         * gst/gstregistryxml.c: (load_plugin):
4925           Only ever load one plugin for a given plugin basename.
4926           This ensures correct overriding of GST_PLUGIN_PATH over
4927           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4928           system installed plugins.
4929
4930 2005-10-08  Wim Taymans  <wim@fluendo.com>
4931
4932         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4933         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4934         Prepare for doing QOS.
4935
4936 2005-10-08  Wim Taymans  <wim@fluendo.com>
4937
4938         * check/gst/gstbin.c: (GST_START_TEST):
4939         * check/pipelines/cleanup.c: (GST_START_TEST):
4940         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4941         Allow new clock message too.
4942
4943 2005-10-08  Wim Taymans  <wim@fluendo.com>
4944
4945         * gst/gstmessage.c: (gst_message_new_error),
4946         (gst_message_new_warning), (gst_message_new_tag),
4947         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4948         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4949         (gst_message_new_segment_start), (gst_message_new_segment_done),
4950         (gst_message_parse_state_changed),
4951         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4952         (gst_message_parse_new_clock):
4953         * gst/gstmessage.h:
4954         Also carry the clock in question.
4955
4956 2005-10-08  Wim Taymans  <wim@fluendo.com>
4957
4958         * gst/gstmessage.c: (gst_message_new_custom),
4959         (gst_message_new_eos), (gst_message_new_error),
4960         (gst_message_new_warning), (gst_message_new_tag),
4961         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4962         (gst_message_new_new_clock), (gst_message_new_segment_start),
4963         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4964         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4965         * gst/gstmessage.h:
4966         Clean up.
4967         Added clock related messages.
4968
4969         * gst/gstpipeline.c: (gst_pipeline_change_state):
4970         Post message when the clock changed.
4971
4972         * tools/gst-launch.c: (event_loop):
4973         Print new clock.
4974
4975 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4976
4977         * tools/gst-inspect.c: (print_element_properties_info):
4978           Can't pass NULL strings to g_print() on windows.
4979
4980 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4981
4982         * docs/Makefile.am:
4983         * docs/gst/Makefile.am:
4984         * docs/gst/gstreamer-docs.sgml:
4985         * docs/gst/running.xml:
4986         * docs/version.entities.in:
4987           add a chapter on running GStreamer.
4988           document GST_DEBUG and GST_PLUGIN* env vars
4989
4990 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4991
4992         * Makefile.am:
4993           remove include dir
4994         * configure.ac:
4995           remove PLUGINS_BUILDDIR stuff
4996         * gst/gst.c: (init_post):
4997           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4998         * idiottest.mak:
4999           remove, it was condescending and not needed
5000
5001 2005-10-08  Wim Taymans  <wim@fluendo.com>
5002
5003         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5004         (gst_base_sink_handle_object), (gst_base_sink_event),
5005         (gst_base_sink_wait), (gst_base_sink_handle_event),
5006         (gst_base_sink_change_state):
5007         * gst/base/gstbasesink.h:
5008         Repost EOS message while going to PLAYING if still EOS.
5009         Make sure that when receiving a FLUSH_START we don't attempt
5010         to sync on the clock anymore.
5011
5012 2005-10-08  Wim Taymans  <wim@fluendo.com>
5013
5014         * tools/gst-launch.c: (event_loop):
5015         Better message printout.
5016
5017 2005-10-08  Wim Taymans  <wim@fluendo.com>
5018
5019         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5020         (gst_bin_child_proxy_get_children_count):
5021         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5022         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5023         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5024         (gst_child_proxy_set_valist):
5025         * gst/parse/grammar.y:
5026         Make ChildProxy threadsafe and fix mem leaks.
5027
5028 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5029
5030         * gst/gst.c: (init_post):
5031           debug the GST_PLUGIN_ env vars
5032
5033 2005-10-08  Wim Taymans  <wim@fluendo.com>
5034
5035         * check/gst/gstbin.c: (GST_START_TEST):
5036         * check/gst/gstmessage.c: (GST_START_TEST):
5037         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5038         * gst/gstelement.c: (gst_element_commit_state),
5039         (gst_element_lost_state):
5040         * gst/gstmessage.c: (gst_message_new_state_changed),
5041         (gst_message_parse_state_changed):
5042         * gst/gstmessage.h:
5043         * tools/gst-launch.c: (event_loop):
5044         Added extra field to STATE_CHANGE message with the pending
5045         state, which will be different from the new state soon.
5046
5047 2005-10-08  Wim Taymans  <wim@fluendo.com>
5048
5049         * gst/gstbus.c: (gst_bus_pop):
5050         * gst/gstclock.c:
5051         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5052         Small cleanups and doc updates.
5053
5054 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5055
5056         * gst/gst.c: (init_pre):
5057         * gst/gstbin.c: (gst_bin_add_func):
5058           log distributing clocks and base time
5059         * gst/gstregistry.c: (gst_registry_add_plugin),
5060         (gst_registry_scan_path_level), (gst_registry_scan_path):
5061           clean up the debugging output a little
5062         * gst/gstutils.c: (gst_element_state_get_name):
5063           warn about a memleak (I've actually seen this be used, though
5064           it was probably a bug)
5065
5066 2005-10-07  Wim Taymans  <wim@fluendo.com>
5067
5068         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5069         (gst_base_src_init), (gst_base_src_default_newsegment),
5070         (gst_base_src_newsegment), (gst_base_src_do_seek),
5071         (gst_base_src_loop), (gst_base_src_start):
5072         * gst/base/gstbasesrc.h:
5073         Make the newsegment event customizable by subclasses.
5074
5075 2005-10-07  Wim Taymans  <wim@fluendo.com>
5076
5077         * gst/gstevent.c: (gst_event_new_buffersize),
5078         (gst_event_parse_buffersize):
5079         * gst/gstevent.h:
5080         New event for future idea.
5081
5082 2005-10-07  Andy Wingo  <wingo@pobox.com>
5083
5084         * gst/gstelement.c (gst_element_post_message): Doc update.
5085
5086         * docs/gst/gstreamer-sections.txt: Update.
5087
5088         * gst/gstmessage.c (gst_message_new_application): Made into a
5089         function like honest API calls.
5090         (gst_message_new_element): New message type.
5091
5092         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5093
5094         * check/elements/fakesrc.c (test_no_preroll): New check, checks
5095         that setting a live fakesrc to PAUSED returns NO_PREROLL both
5096         times.
5097
5098         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5099         NO_PREROLL from gst_element_change_state to fall through.
5100
5101 2005-10-07  Wim Taymans  <wim@fluendo.com>
5102
5103         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5104         (gst_ghost_pad_do_activate_push):
5105         Activating a ghostpad with no internal pad in push mode
5106         is ok.
5107
5108 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5109
5110         * gst/gstobject.h:
5111           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5112           Fixes compilation on Windows.
5113
5114 2005-10-07  Michael Smith <msmith@fluendo.com>
5115
5116         * tools/gst-inspect.c:
5117           Print out feature and plugin count at the end when printing out
5118           all features.
5119
5120 2005-10-04  Michael Smith <msmith@fluendo.com>
5121
5122         * gst/gsterror.c: (_gst_stream_errors_init):
5123           Add another error string used in a few existing plugins.
5124
5125         * gst/gstplugin.c:
5126         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5127         * tools/gst-inspect.c: (print_element_info):
5128           When a feature disappears from a plugin (and the feature exists in
5129           the cached registry file), things went horribly wrong. This isn't a
5130           complete fix, we should actually be removing the 'missing' features
5131           from the features list when we load the actual plugin. That's not
5132           yet implemented. 
5133
5134 2005-10-04  Johan Dahlin  <johan@gnome.org>
5135
5136         * check/gst/gstiterator.c: (GST_START_TEST):
5137         * gst/gstbin.c: (gst_bin_iterate_elements),
5138         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5139         * gst/gstelement.c: (gst_element_iterate_pads):
5140         * gst/gstformat.c: (gst_format_iterate_definitions):
5141         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5142         (gst_iterator_new_list), (gst_iterator_filter):
5143         * gst/gstiterator.h:
5144         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5145         Add a GType to GstIterator, update callsites and tests.
5146
5147 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5148
5149         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5150           give events a chance to be handled by event probes when the pad
5151           is not linked
5152
5153 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5154
5155         * gst/gstevent.c: (gst_event_type_get_name),
5156         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5157         * gst/gstevent.h:
5158           add string representations for event types
5159
5160 2005-10-06  Wim Taymans  <wim@fluendo.com>
5161
5162         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5163         Don't use NULL pointers.
5164
5165 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5166
5167         * gst/gst_private.h:
5168         * gst/gstbus.c:
5169         * gst/gstelement.c:
5170         * gst/gstinfo.c:
5171         * gst/gstpluginfeature.c:
5172           widen the debug category in output to fit the biggest one we have
5173           add a bus category and use it
5174           play with the colors
5175           fix up some categories
5176
5177 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5178
5179         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5180           add push activation of sink ghost pads.
5181           Andye, please verify
5182
5183 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5184
5185         * gst/gstutils.c: (gst_element_link_pads):
5186           fix a bug in the case where neither element has a pad
5187         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5188           add a test for that case
5189
5190 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5191
5192         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5193           emit have-data before checking for peers.  This allows
5194           for probe handlers to connect elements.  This helps autopluggers.
5195         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5196         (gst_pad_suite):
5197           add six checks, linked/unlinked with no/true/false probe
5198
5199 2005-10-04  Wim Taymans  <wim@fluendo.com>
5200
5201         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5202         (gst_fake_sink_event), (gst_fake_sink_preroll),
5203         (gst_fake_sink_render), (gst_fake_sink_change_state):
5204         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5205         (gst_fake_src_get_property), (gst_fake_src_create),
5206         (gst_fake_src_stop):
5207         * gst/elements/gstidentity.c: (gst_identity_stop):
5208         Protect last_message with lock.
5209
5210 2005-10-04  Edward Hervey  <edward@fluendo.com>
5211
5212         * gst/gstformat.h: 
5213         Added precision in the comments for GST_FORMAT_DEFAULT
5214
5215 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5216
5217         * tools/gst-launch.c: (main):
5218           Don't try to run erroneous pipelines.
5219
5220 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5221
5222         * gst/gstbus.c: We don't need this header.
5223
5224 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5225
5226         * configure.ac:
5227           back to development
5228
5229 === release 0.9.3 ===
5230
5231 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5232
5233         * README:
5234         * configure.ac:
5235           Releasing 0.9.3, "Unregistered"
5236
5237 2005-10-03  Andy Wingo  <wingo@pobox.com>
5238
5239         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5240         whereby calling a pad's activatepush() function can start a thread
5241         that starts to push or pull before the pad gets the FLUSHING flag
5242         unset. Hack around it by holding the stream lock until the flag is
5243         set. Need to replace this with a proper solution. Together with
5244         the ghost pad fixes, this fixes mp3 playing/tagreading.
5245
5246         * docs/design/part-gstghostpad.txt: Add a note about activation of
5247         proxy pads outside of ghost pads.
5248
5249         * gst/gstghostpad.c: Implement the ghost pad activation design.
5250
5251 2005-10-02  Andy Wingo  <wingo@pobox.com>
5252
5253         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5254         It is volatile, after all.
5255
5256         * docs/design/part-gstghostpad.txt: Flesh out activation with
5257         ghost pads.
5258
5259         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5260         GST_DEBUG_FUNCPTR.
5261
5262 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5263
5264         * configure.ac:
5265           Fix (unused) AM_CONDITIONAL tests.
5266
5267 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5268
5269         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5270
5271         * gst/gstutils.c: (gst_pad_query_convert):
5272           Add assertion that makes sure src_val is >=0, just like
5273           gst_query_new_convert() has. (#315895)
5274
5275 2005-09-30  Edward Hervey  <edward@fluendo.com>
5276
5277         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5278         Let's not iterate pads we're not interested in, it avoids getting 
5279         sky-high refcounts on sinkpad.
5280
5281 2005-09-30  Wim Taymans  <wim@fluendo.com>
5282
5283         * gst/gstelement.c: (gst_element_set_state),
5284         (gst_element_change_state):
5285         Small tweak, element in ASYNC remains ASYNC.
5286
5287 2005-09-30  Wim Taymans  <wim@fluendo.com>
5288
5289         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5290         Only error is an error.
5291
5292         * gst/gstbin.c: (gst_bin_change_state):
5293         Better debugging.
5294
5295         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5296         Also call pad_block in pad alloc.
5297
5298         * gst/gstutils.c: (gst_flow_get_name):
5299         Better debugging.
5300
5301 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5302
5303         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5304         (gst_base_src_get_range):
5305           Fix documentation typos. Add some more debug info.
5306
5307 2005-09-29  David Schleef  <ds@schleef.org>
5308
5309         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5310           more end-user friendly.
5311         * tools/gst-inspect.c: (main): Check if command-line argument is
5312           a file and attempt to load that file as a plugin.
5313
5314 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5315
5316         * check/gst/gstbin.c:
5317         * check/states/sinks.c:
5318           fix tests for the new warning
5319         * check/gst/gstpipeline.c:
5320           add a test for pipeline and bus interaction
5321         * gst/gstelement.c:
5322           elements should be NULL if they get disposed; add a warning if not
5323
5324 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5325
5326         * gst/gstobject.c:
5327           for 2.6 refcounting, make debug log more correct by printing
5328           the actual refcounts at the time of swap (Wim)
5329
5330 2005-09-29  Andy Wingo  <wingo@pobox.com>
5331
5332         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5333         removes signal watches previously added via
5334         gst_bus_add_signal_watch.
5335         (gst_bus_add_signal_watch): Don't return the source id, just store
5336         it on the bus if there wasn't an id already.
5337
5338         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5339         add_signal_watch and remove_signal_watch.
5340
5341 2005-09-29  Edward Hervey  <edward@fluendo.com>
5342
5343         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5344         Better if we actually iterate the list :)
5345
5346 2005-09-29  Wim Taymans  <wim@fluendo.com>
5347
5348         * check/gst/gstbin.c: (GST_START_TEST):
5349         Change for new bus API.
5350
5351         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5352         (send_messages), (GST_START_TEST), (gstbus_suite):
5353         Change for new bus signal API.
5354
5355         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5356         (gst_bus_source_prepare), (gst_bus_source_check),
5357         (gst_bus_create_watch), (gst_bus_add_watch_full),
5358         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5359         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5360         * gst/gstbus.h:
5361         Remove support for multiple GSources operating on different
5362         message types as it is too complex and unneeded when using
5363         signals.
5364         Added support for receiving signals from the bus.
5365
5366 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5367
5368         * docs/libs/tmpl/gstdataprotocol.sgml:
5369         * docs/manual/advanced-dataaccess.xml:
5370         * gst/elements/gstcapsfilter.c:
5371         * gst/gstutils.c:
5372           rename filter-caps to caps property
5373
5374 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5375
5376         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5377           More robust fraction string parsing.
5378
5379         * docs/pwg/appendix-porting.xml:
5380           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5381
5382 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5383
5384         * gst/gstcaps.c: (gst_caps_do_simplify):
5385           Thou shalt not free a structure and then continue using it
5386           in the next loop iteration.
5387
5388         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5389         (gst_caps_suite):
5390           Add test case for caps simplification.
5391
5392 2005-09-29  Wim Taymans  <wim@fluendo.com>
5393
5394         * check/gst/gstbin.c: (GST_START_TEST):
5395         Oops.
5396
5397 2005-09-29  Wim Taymans  <wim@fluendo.com>
5398
5399         * check/gst/gstbin.c: (GST_START_TEST):
5400         Add bus to bin.
5401
5402         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5403         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5404         (find_element), (gst_bin_sort_iterator_next),
5405         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5406         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5407         (gst_bin_change_state), (gst_bin_dispose):
5408         A bin does not have a bus, it gets the bus from the parent.
5409
5410         * gst/gstelement.c: (gst_element_requires_clock),
5411         (gst_element_provides_clock), (gst_element_is_indexable),
5412         (gst_element_is_locked_state), (gst_element_change_state),
5413         (gst_element_set_bus_func):
5414         Small cleanups.
5415
5416         * gst/gstpipeline.c: (gst_pipeline_class_init),
5417         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5418         The pipeline provides a bus.
5419
5420 2005-09-28  Johan Dahlin  <johan@gnome.org>
5421
5422         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5423         gst_structure_get_enum instead of gst_structure_get_int
5424
5425         * gst/gststructure.c (gst_structure_get_enum): Impl.
5426
5427         * gst/gststructure.h (gst_structure_get_enum): Add
5428
5429         * docs/gst/gstreamer-sections.txt: Ditto
5430
5431         * gst/gstmessage.c (gst_message_new_state_changed): Use
5432         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5433         which does introspection.
5434         Reviewed by Christian Schaller
5435
5436 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5437
5438         * gst/gstinfo.c: (gst_debug_log_default):
5439           don't do dummy g_strdup()s
5440         * libs/gst/controller/gstcontroller.c:
5441         (on_object_controlled_property_changed),
5442         (gst_controlled_property_new), (gst_controller_new_valist),
5443         (gst_controller_new_list),
5444         (gst_controller_remove_properties_valist), (gst_controller_set),
5445         (gst_controller_get), (gst_controller_sync_values),
5446         (gst_controller_get_value_array), (_gst_controller_class_init),
5447         (gst_controller_get_type):
5448         * libs/gst/controller/gstcontroller.h:
5449         * libs/gst/controller/gstinterpolation.c:
5450         (gst_controlled_property_find_timed_value_node):
5451           convert // to /**/ comments
5452
5453 2005-09-28  Wim Taymans  <wim@fluendo.com>
5454
5455         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5456         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5457         (gst_bus_sync_signal_handler):
5458         * gst/gstbus.h:
5459         Added async-message and sync-message signals to the bus.
5460         Added helper BusFunc to emit signals for all posted messages.
5461
5462         * gst/gstmessage.c: (gst_message_type_get_name),
5463         (gst_message_type_to_quark), (gst_message_get_type):
5464         * gst/gstmessage.h:
5465         Register quarks for message names.
5466
5467 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5468
5469         * docs/libs/gstreamer-libs-sections.txt:
5470         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5471         (gst_controller_new_list):
5472         * libs/gst/controller/gstcontroller.h:
5473           added another constructor for language bindings
5474
5475 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5476
5477         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5478           add another check
5479         * gst/gstbus.c:
5480           add some doc
5481         * gst/gstinfo.c: (_gst_debug_init):
5482           slightly more readable color for refcount debugging
5483
5484 2005-09-28  Wim Taymans  <wim@fluendo.com>
5485
5486         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5487         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5488         (find_element), (gst_bin_sort_iterator_next),
5489         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5490         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5491         (gst_bin_change_state), (gst_bin_dispose):
5492         Small doc fixes. get_clock -> provide_clock.
5493
5494         * gst/gstelement.c: (gst_element_class_init),
5495         (gst_element_provides_clock), (gst_element_provide_clock),
5496         (gst_element_get_clock), (gst_element_commit_state),
5497         (gst_element_lost_state):
5498         * gst/gstelement.h:
5499         Make get/set_clock() symetric. Add provide_clock vmethod since
5500         that is actually what this function does.
5501
5502         * gst/gstpipeline.c: (gst_pipeline_class_init),
5503         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5504         (gst_pipeline_get_clock):
5505         get_clock -> provide_clock.
5506
5507 2005-09-28  Andy Wingo  <wingo@pobox.com>
5508
5509         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5510         lieu of real docs...
5511
5512         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5513
5514 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5515
5516         * gst/elements/gstcapsfilter.c:
5517         * gst/elements/gstfakesink.c:
5518         * gst/elements/gstfakesrc.c:
5519         * gst/elements/gstfdsink.c:
5520         * gst/elements/gstfdsrc.c:
5521         * gst/elements/gstfilesink.c:
5522         * gst/elements/gstfilesrc.c:
5523         * gst/elements/gstidentity.c:
5524         * gst/elements/gsttee.c:
5525         * gst/elements/gsttypefindelement.c:
5526           Make element details static.
5527
5528 2005-09-28  Wim Taymans  <wim@fluendo.com>
5529
5530         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5531         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5532         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5533         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5534         (gst_bin_change_state), (gst_bin_dispose):
5535         Some documentation updates.
5536         Clean up dispose handlers.
5537
5538         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5539         * gst/gstpad.c: (gst_pad_dispose):
5540         Clean up dispose handler.
5541
5542         * gst/gstpipeline.c: (gst_pipeline_change_state):
5543         Removed spurious UNLOCK.
5544
5545 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5546
5547         * docs/gst/gstreamer-sections.txt:
5548         * gst/base/gstbasesrc.h:
5549         * gst/gstelement.h:
5550         * gst/gstevent.h:
5551         * gst/gstobject.h:
5552         * gst/gstpad.h:
5553         * gst/gstpipeline.c:
5554         * gst/gstpipeline.h:
5555         * gst/gstutils.h:
5556         * gst/gstxml.h:
5557           added two new functions to the docs
5558                 documents all undocumented GstXXXFlags
5559                 completed some incomplete docs 
5560
5561 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5562
5563         * gst/gstbin.c: (gst_bin_dispose):
5564         * gst/gstelement.c: (gst_element_dispose):
5565           remove now useless and leaky resurrection code in dispose
5566         * gst/base/gstbasesrc.c: (gst_base_src_init):
5567         * gst/gstelementfactory.c: (gst_element_factory_create):
5568         * gst/gstobject.c: (gst_object_set_parent):
5569           add some debugging
5570
5571 2005-09-27  Wim Taymans  <wim@fluendo.com>
5572
5573         * docs/design/part-TODO.txt:
5574         Update TODO.
5575
5576         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5577         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5578         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5579         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5580         (gst_bin_change_state):
5581         * gst/gstelement.h:
5582         Remove element variable, we keep element info in the iterator now.
5583
5584 2005-09-27  Andy Wingo  <wingo@pobox.com>
5585
5586         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5587         values.
5588
5589 2005-09-27  Wim Taymans  <wim@fluendo.com>
5590
5591         * check/gst/gstbin.c: (GST_START_TEST):
5592         Enable check that works now.
5593
5594         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5595         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5596         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5597         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5598         (gst_bin_change_state):
5599         * gst/gstbin.h:
5600         Redid the state change algorithm using a topological sort algo.
5601         Handles all cases correctly.
5602         Exposed iterator for state change order.
5603
5604         * gst/gstelement.h:
5605         Temp storage for state changes. Need to get rid of this soon.
5606
5607 2005-09-27  Wim Taymans  <wim@fluendo.com>
5608
5609         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5610         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5611         (link_fold_func), (gst_pad_proxy_setcaps):
5612         Leak fixes, the fold functions need to unref the passed object and
5613         _get_parent_*() returns ref to parent.
5614
5615 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5616
5617         * check/gst/gstbuffer.c: (test_make_writable):
5618           Plug leak in test case and fix 'make check-valgrind'
5619
5620 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5621
5622         * gst/gstbuffer.c: (gst_subbuffer_init):
5623           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5624           works correctly in all circumstances (we could have just copied
5625           the parent buffer's readonly flag, but conceptually it seems
5626           cleaner to mark all subbuffers as read-only). (based on patch
5627           by Alessandro Decina, #314710).
5628         
5629         * check/gst/gstbuffer.c: (create_read_only_buffer),
5630         (test_make_writable), (test_subbuffer_make_writable),
5631         (gst_test_suite):
5632           Add some tests for gst_buffer_make_writable().
5633
5634 2005-09-27  Wim Taymans  <wim@fluendo.com>
5635
5636         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5637         use gst_object_has_ancestor().
5638
5639         * gst/gstobject.c: (gst_object_has_ancestor):
5640         * gst/gstobject.h:
5641         gst_object_has_ancestor() copied from gstbin.c as it is a
5642         usefull function.
5643
5644         * tests/instantiate/create.c: (create_all_elements):
5645         * tests/lat.c: (handoff_src), (handoff_sink):
5646         * tests/sched/runxml.c: (main):
5647         * tests/seeking/seeking1.c: (main):
5648         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5649         (main):
5650         Fix compilation of some tests.
5651
5652 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5653
5654         * gst/gsterror.h:
5655           Remove comment. GST_TYPE_G_ERROR is here to stay,
5656           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5657           (#316961, #300610).
5658
5659 2005-09-26  Wim Taymans  <wim@fluendo.com>
5660
5661         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5662         Added check that shows error in state change order.
5663
5664 2005-09-26  Wim Taymans  <wim@fluendo.com>
5665
5666         * gst/gstbin.c: (gst_bin_change_state):
5667         Make state change function use 3 queues again, we were
5668         adding elements in the wrong order.
5669
5670         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5671         Some debug info,
5672
5673         * gst/gstpad.c: (gst_pad_dispose):
5674         Added some debug info first.
5675
5676 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5677
5678         * docs/design/draft-push-pull.txt:
5679         * docs/design/part-events.txt:
5680         * docs/design/part-overview.txt:
5681         * docs/design/part-scheduling.txt:
5682           Replace all _pull_region() with _pull_range()
5683           
5684 2005-09-26  Andy Wingo  <wingo@pobox.com>
5685
5686         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5687
5688         * check/gst-libs/controller.c: Update for controller api change.
5689
5690         * configure.ac: 
5691         * tests/Makefile.am:
5692         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5693         over by GLib bug 118439.
5694         
5695         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5696         routines to a function.
5697
5698         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5699
5700         * libs/gst/controller/gsthelper.c:
5701         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5702         (gst_object_sync_values): Renamed from sink_values. Ugh.
5703
5704         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5705
5706         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5707         Renamed from controller_key, as it is exported.
5708
5709         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5710
5711 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5712
5713         * gst/Makefile.am:
5714         * gst/gst.h:
5715         * gst/gstpad.h:
5716         * gst/gstpadtemplate.h:
5717         * gst/gstquery.c:
5718         * gst/gstquery.h:
5719         * gst/gstqueryutils.c:
5720         * gst/gstqueryutils.h:
5721           remove queryutils headers after moving the two used functions
5722           to gstquery.  also fixes build problem for gstsiddec
5723
5724 2005-09-26  Michael Smith <msmith@fluendo.com>
5725
5726         * tools/gst-launch.1.in:
5727         Correct documentation in manpage of debug syntax
5728
5729 2005-09-26  Wim Taymans  <wim@fluendo.com>
5730
5731         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5732         (gst_base_src_is_seekable), (gst_base_src_change_state):
5733         Some more debugging info.
5734
5735 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5736
5737         * docs/gst/gstreamer-sections.txt:
5738         * gst/base/gstbasetransform.h:
5739         * gst/gstindex.h:
5740           added more docs
5741
5742 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5743
5744         * docs/gst/.cvsignore:
5745         * docs/gst/tmpl/.cvsignore:
5746         * docs/gst/tmpl/gstpipeline.sgml:
5747         * docs/gst/tmpl/gstplugin.sgml:
5748         * gst/gstpipeline.c:
5749         * gst/gstplugin.c:
5750         * gst/gstplugin.h:
5751           inlined the last two docs files
5752           removed the tmpl directory from cvs (no more conflicts here!)
5753
5754 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5755
5756         * docs/gst/gstreamer-sections.txt:
5757         * docs/gst/tmpl/.cvsignore:
5758         * docs/gst/tmpl/gstpad.sgml:
5759         * docs/gst/tmpl/gstpadtemplate.sgml:
5760         * gst/Makefile.am:
5761         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5762         (gst_pad_finalize), (gst_pad_set_pad_template):
5763         * gst/gstpad.h:
5764         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5765         (gst_pad_template_class_init), (gst_pad_template_init),
5766         (gst_pad_template_dispose), (name_is_valid),
5767         (gst_static_pad_template_get), (gst_pad_template_new),
5768         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5769         (gst_pad_template_pad_created):
5770         * gst/gstpadtemplate.h:
5771           inlined two more docs
5772           factored gstpadtemplate out of gstpad
5773
5774 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5775
5776         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5777         (test_children_state_change_order_semi_sink):
5778           Fix test case: we can't rely on a fixed state change order when
5779           going from READY => PAUSED because the sink might commit its 
5780           new state first when the first buffer created by the source 
5781           reaches the sink before the source has finished its change state.
5782           (Test case still fails at times, see #316856, comment 5 onwards)
5783
5784 2005-09-24  Wim Taymans  <wim@fluendo.com>
5785
5786         * docs/design/part-events.txt:
5787         * docs/design/part-gstbus.txt:
5788         * docs/design/part-gstpipeline.txt:
5789         * docs/design/part-messages.txt:
5790         * docs/design/part-overview.txt:
5791         * docs/design/part-segments.txt:
5792         * gst/gstbin.c:
5793         * gst/gstbuffer.c:
5794         * gst/gstclock.c:
5795         * gst/gstelement.c:
5796         * gst/gstevent.c:
5797         * gst/gstfilter.c:
5798         * gst/gstiterator.c:
5799         Various documentation updates.
5800
5801 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5802
5803         * gst/gstclock.h:
5804           Well, that's embarassing.  Luckily we weren't using
5805           GST_CLOCK_DIFF anywhere.
5806
5807 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5808
5809         * common/gtk-doc.mak:
5810           don't fail on building XML, FC4 slave shows a bunch of doc
5811           missing bits that I don't get
5812         * gst/gstpad.c:
5813         * gst/gstpipeline.c:
5814         * gst/gststructure.c:
5815           some doc updates
5816
5817 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5818
5819         * docs/design/part-gstbin.txt:
5820         * docs/design/part-gstbus.txt:
5821         * gst/gstbus.c:
5822           Add blurb about how the bus goes into flushing mode and
5823           drops all messages when its bin goes from READY into NULL 
5824           state.
5825
5826 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5827
5828         * docs/gst/gstreamer-sections.txt:
5829         * gst/gststructure.c: (gst_structure_get_clock_time):
5830         * gst/gststructure.h:
5831           add a method to get a GstClockTime out of a structure
5832
5833 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5834
5835         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5836         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5837           Added test to check state change order in bins (can still be made
5838           to fail here under heavy disk load; bails out with 'Push on pad
5839           fakesink:sink0, but it was not activated in push mode').
5840
5841         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5842           Fix state change order when there is only a semi sink (#316856)
5843
5844         * gst/gstbus.c: (gst_bus_class_init):
5845           Use _class_peek_parent(), not _class_ref(); fix docs to say
5846           'default main context' instead of 'mainloop' where that is
5847           what's meant.
5848
5849         * gst/gstelement.c: (gst_element_commit_state),
5850         (gst_element_set_state):
5851           Fix typos in debug messages
5852
5853 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5854
5855         * docs/README:
5856         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5857         * gst/gstpluginfeature.c:
5858         * gst/gstutils.c:
5859           various doc updates
5860         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5861           change an assert into an error until it gets fixed properly
5862
5863 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5864
5865         * docs/gst/gstreamer-sections.txt:
5866         * docs/gst/tmpl/.cvsignore:
5867         * docs/gst/tmpl/gstelement.sgml:
5868         * docs/gst/tmpl/gstinfo.sgml:
5869         * docs/gst/tmpl/gstobject.sgml:
5870         * gst/gstelement.c:
5871         * gst/gstelement.h:
5872         * gst/gstinfo.c:
5873         * gst/gstinfo.h:
5874         * gst/gstobject.c: (gst_object_class_init):
5875         * gst/gstobject.h:
5876           inlined 3 more biiiig doc files and added some missing docs on the fly
5877
5878 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5879
5880         * check/gst/.cvsignore:
5881         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5882         * gst/gstregistryxml.c: (load_plugin),
5883         (gst_registry_xml_save_plugin):
5884           put back source in registry.  add checks for find_plugin.
5885         * testsuite/states/bin.c: (assert_state), (empty_bin),
5886         (test_adding_one_element), (main):
5887         * testsuite/states/locked.c: (main):
5888           some compile/run fixes
5889
5890 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5891
5892         * check/gst/gstvalue.c: (GST_START_TEST):
5893           fix leaks in the test itself
5894
5895 2005-09-22  Wim Taymans  <wim@fluendo.com>
5896
5897         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5898         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5899         (gst_base_sink_query):
5900         Prepare for more accurate position reporting and query
5901         handling.
5902
5903         * gst/gstelement.c: (gst_element_send_event),
5904         (gst_element_set_state):
5905         Add some comment.
5906
5907 2005-09-22  Wim Taymans  <wim@fluendo.com>
5908
5909         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5910         (gst_query_parse_segment):
5911         * gst/gstquery.h:
5912         More documentation.
5913         Add segment query for future use.
5914
5915 2005-09-22  Wim Taymans  <wim@fluendo.com>
5916
5917         * gst/gstbin.c: (gst_bin_add_func):
5918         Some more debug info.
5919
5920         * gst/gstelement.c: (gst_element_send_event):
5921         Simplify send_event
5922
5923         * gst/gstelement.h:
5924         Don't know how flags got broken.
5925
5926         * gst/gstquery.h:
5927         Added new query.
5928
5929 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5930
5931         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5932           Add simplistic test suite for GST_TYPE_DATE serialisation and
5933           deserialisation.
5934
5935 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5936
5937         * docs/gst/gstreamer-sections.txt:
5938         * gst/gststructure.c: (gst_structure_set_valist),
5939         (gst_structure_get_date):
5940         * gst/gststructure.h:
5941         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5942         (gst_date_copy), (gst_value_compare_date),
5943         (gst_value_serialize_date), (gst_value_deserialize_date),
5944         (gst_value_transform_date_string),
5945         (gst_value_transform_string_date), (_gst_value_initialize):
5946         * gst/gstvalue.h:
5947           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5948           bunch of utility functions along with a hack that checks that
5949           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5950           is required. Part of the grand scheme in #170777.
5951
5952 2005-09-22  Andy Wingo  <wingo@pobox.com>
5953
5954         * gst/gstconfig.h.in: Psych out gtk-doc.
5955
5956         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5957
5958         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5959
5960         * tools/gst-inspect.c (print_element_list): Plug some
5961         inconsequential leaks.
5962
5963         * gst/gstregistry.c (gst_registry_get_default): Doc.
5964
5965         * check/gst/gstplugin.c: 
5966         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5967         * gst/gstelementfactory.c (gst_element_factory_create): 
5968         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5969         refcount changes.
5970
5971         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5972         (gst_plugin_feature_load): Doc, don't eat refs.
5973
5974         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5975         (gst_plugin_list_free): Doc.
5976         (gst_plugin_load_file): Doc updates.
5977
5978         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5979         accessors returning refcounted objects, return a ref.
5980
5981         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5982         accessor for caps. IDEMPOTENCE. Oh yes.
5983
5984 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5985
5986         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5987
5988         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5989         (_gst_debug_register_funcptr):
5990           Add mutex to serialise access to the hash table with
5991           the function pointer => function name string mapping;
5992           make that hash table static scope (#316809).
5993
5994         * gst/registries/.cvsignore:
5995           Remove left-over file.
5996
5997 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5998
5999         * docs/pwg/appendix-porting.xml:
6000           And something about newsegment events and caps-on-buffers to
6001           the porting guide (feel free to improve).
6002
6003 2005-09-21  Andy Wingo  <wingo@pobox.com>
6004
6005         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6006         data and event probes on the same pad.
6007         (test_buffer_probe_once): Test that removing probes from within
6008         the probe functions works.
6009
6010 2005-09-21  Andy Wingo  <wingo@pobox.com>
6011
6012         * check/gst/gstutils.c: New file.
6013         (test_buffer_probe_n_times): A simple buffer probe test. More to
6014         come, foolios.
6015
6016         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6017         have-data::buffer, not have-data.
6018         (gst_pad_add_event_probe): Likewise for have-data::event.
6019         (gst_pad_add_data_probe): More docs. The part about 'resolving the
6020         peer' isn't quite right yet though.
6021         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
6022         (gst_pad_remove_data_probe): Change to take the guint handler_id
6023         as their arg, not the function+data, which is more glib-like.
6024
6025         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6026         the signal emission to indicate if the data is a buffer or an
6027         event.
6028         (gst_pad_get_type): Initialize buffer and event quarks.
6029         (gst_pad_class_init): have-data is now a detailed signal, yes it
6030         is.
6031
6032 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6033
6034         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6035         * gst/gstutils.c: (gst_util_set_value_from_string),
6036         (gst_util_set_object_arg):
6037           Don't put functional code in g_return_if_fail() or
6038           g_return_val_if_fail() statements, otherwise things will 
6039           break when G_DISABLE_CHECKS is defined during compilation.
6040
6041 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6042
6043         * docs/gst/tmpl/.cvsignore:
6044         * docs/gst/tmpl/gstvalue.sgml:
6045         * gst/gstvalue.c:
6046         * gst/gstvalue.h:
6047           inlied another one and added  some obvious docs
6048
6049 2005-09-21  Wim Taymans  <wim@fluendo.com>
6050
6051         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6052         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6053         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6054         (gst_fdsrc_get_property), (gst_fdsrc_create):
6055         * gst/elements/gstfdsrc.h:
6056         Properly implement fdsrc. Removed signal and timeout,
6057         better implemented somewhere else.
6058
6059 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6060
6061         * docs/gst/tmpl/.cvsignore:
6062         * docs/gst/tmpl/gstimplementsinterface.sgml:
6063         * gst/gstinterface.c:
6064           inlined more docs
6065
6066 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6067
6068         * docs/gst/gstreamer-sections.txt:
6069         * docs/gst/tmpl/.cvsignore:
6070         * docs/gst/tmpl/gstenumtypes.sgml:
6071           remove obsolete doc file
6072
6073 2005-09-21  David Schleef  <ds@schleef.org>
6074
6075         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6076         little beer, fix a little leak.
6077
6078 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6079
6080         * docs/gst/gstreamer-docs.sgml:
6081         * docs/gst/gstreamer-sections.txt:
6082         * docs/gst/tmpl/.cvsignore:
6083         * gst/Makefile.am:
6084         * gst/gst.h:
6085         * gst/gstbin.c:
6086         * gst/gstelement.h:
6087         * gst/gstindex.c: (gst_index_class_init):
6088         * gst/gstindex.h:
6089         * gst/gstindexfactory.c: (gst_index_factory_get_type),
6090         (gst_index_factory_class_init), (gst_index_factory_init),
6091         (gst_index_factory_finalize), (gst_index_factory_new),
6092         (gst_index_factory_destroy), (gst_index_factory_find),
6093         (gst_index_factory_create), (gst_index_factory_make):
6094         * gst/gstindexfactory.h:
6095         * gst/gstpluginfeature.c:
6096         * gst/gstpluginfeature.h:
6097         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6098           more docs inlined, splitted gstindex.{c,h}
6099
6100 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6101
6102         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6103           fix a leak
6104
6105 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6106
6107         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6108           Set sync to FALSE by default.
6109
6110 2005-09-20  Wim Taymans  <wim@fluendo.com>
6111
6112         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6113         (gst_base_sink_init):
6114         Make sync property settable from subclass.
6115
6116         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6117         (gst_fake_sink_change_state):
6118         Set sync to FALSE by default.
6119
6120 2005-09-20  Wim Taymans  <wim@fluendo.com>
6121
6122         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6123         * tools/gst-launch.c: (main):
6124         The timeout handler should have lower priority than the source
6125         so we don't timeout before popping a message with 0 timeout.
6126         Dump error messages after failed state change.
6127
6128 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6129
6130         * tools/gst-inspect.c: (print_element_properties_info):
6131           Fix two typos.
6132
6133 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6134
6135         * check/gst/gstevent.c:
6136         * gst/elements/gstfakesink.c:
6137         * gst/elements/gstfakesink.h:
6138           remove the sync property from fakesink.
6139           has the side effect of setting sync TRUE
6140           for fakesink, which is a change.  Anyone who knows how
6141           to fix this nicely in a GObject-y way, feel free.
6142
6143 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6144
6145         * docs/gst/gstreamer-docs.sgml:
6146           remove probe refsection
6147
6148 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6149
6150         * check/Makefile.am:
6151           disable valgrinding the controller test again
6152         * docs/gst/gstreamer-sections.txt:
6153           update for api-changes
6154
6155 2005-09-20  Wim Taymans  <wim@fluendo.com>
6156
6157         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6158         (gst_base_sink_set_property), (gst_base_sink_get_property),
6159         (gst_base_sink_do_sync):
6160         * gst/base/gstbasesink.h:
6161         Added sync property to basesink to disable clock sync.
6162
6163 2005-09-20  Andy Wingo  <wingo@pobox.com>
6164
6165         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6166         eating the caller's refcount.
6167
6168         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6169         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6170         refcount.
6171
6172         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6173         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6174         of GLib 2.8 public, so we can know which refcount to check in
6175         tests.
6176
6177         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6178         (gst_object_init): Only set the gst refcount if we're going ahead
6179         with the refcount hack.
6180
6181 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6182
6183         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6184         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6185           more leaks plumbed, added more debug-logging
6186         * gst/gstmacros.h:
6187           whitespace fix
6188
6189 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6190
6191         * gst/gstmessage.c:
6192           remove include of gstmemchunk.h
6193
6194 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6195
6196         * gst/gstclock.c: (_gst_clock_id_free):
6197           Commit from the Political Party For More Atomic CVS Commits,
6198           so that people don't waste too much of their day fishing
6199           out obvious leaks out of massive commits.
6200           Oh, and fix a pretty damn obvious leak in the memchunk
6201           removal code.
6202
6203 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6204
6205         * check/Makefile.am:
6206         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6207           plug mem-leak, re-add to valgrindable tests
6208
6209 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6210
6211         * gst/gstplugin.h:
6212           unbreak the build for those who have chronic arthritis
6213           and typing "make check" is just too taxing on the hands
6214
6215 2005-09-20  Andy Wingo  <wingo@pobox.com>
6216
6217         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6218         really want it out, you should fix plugins at the same time.
6219
6220 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6221
6222         * configure.ac:
6223         * docs/gst/gstreamer-sections.txt:
6224         * gst/gstobject.c:
6225           added missing symbols to api docs
6226           disable ref-count hack if we have glib >= 2.8
6227
6228 2005-09-19  David Schleef  <ds@schleef.org>
6229
6230         * docs/gst/Makefile.am: Ignore a few more internal headers
6231         * docs/gst/gstreamer-docs.sgml: Remove old sections
6232         * docs/gst/gstreamer-sections.txt: Remove old sections
6233         * docs/gst/tmpl/gstobject.sgml: update
6234         * docs/gst/tmpl/gstplugin.sgml: update
6235         * docs/gst/tmpl/gstpluginfeature.sgml: update
6236         * docs/random/ds/0.9-suggested-changes: update.
6237         * gst/Makefile.am: remove memchunk and trashstack, since they're
6238           not used.
6239         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6240         * gst/gst.h: don't include some headers
6241         * gst/gstchildproxy.c: add gstmarshal.h
6242         * gst/gstclock.c: Don't use memchunks
6243         * gst/gstminiobject.c: Add some docs
6244         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6245         * gst/gstobject.h: same
6246         * gst/gstplugin.c: include gstmacros.h
6247         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6248         * gst/gstquery.c: don't use memchunks
6249         * gst/gstregistry.c: rename gst_registry_deinit()
6250         * gst/gstregistry.h: same
6251
6252 2005-09-19  David Schleef  <ds@schleef.org>
6253
6254         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6255         * docs/libs/gstreamer-libs-sections.txt:
6256         * docs/libs/tmpl/gstgetbits.sgml:
6257         * docs/libs/tmpl/gstputbits.sgml:
6258
6259 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6260
6261         * win32/gstenumtypes.c:
6262         * win32/gstenumtypes.h:
6263           Update.
6264
6265 2005-09-19  Wim Taymans  <wim@fluendo.com>
6266
6267         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6268         Automatically PAUSE and RESUME a pipeline when a flushing seek
6269         is performed.
6270
6271 2005-09-19  Andy Wingo  <wingo@pobox.com>
6272
6273         * gst/gstregistry.h: Spacing fixen.
6274
6275 2005-09-19  Wim Taymans  <wim@fluendo.com>
6276
6277         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6278         Handle state change failure more correctly.
6279
6280 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6281
6282         * check/Makefile.am:
6283         * check/pipelines/cleanup.c: (run_pipeline):
6284         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6285         (GST_START_TEST):
6286           enable cleanup again after fixing the leak
6287         * docs/README:
6288           some more info on docs
6289
6290 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6291
6292         * check/Makefile.am:
6293           re-enable tests now that leaks are plugged
6294         * check/gst/gst.c:
6295         * check/gst/gstbin.c:
6296         * check/gst/gstpipeline.c:
6297           add some more tests while fixing leaks
6298         * common/check.mak:
6299           make sure binaries are uptodate when valgrinding/gdbing
6300         * gst/gst.c:
6301         * gst/gstelementfactory.c:
6302           remove a ref too many, and add a FIXME for when we get
6303           round to disposing of classes
6304         * gst/gstplugin.c:
6305           fix the refcounting when loading a plugin from a file and
6306           the code pretends that the pointer is the same even though
6307           of course it can change
6308         * gst/gstpluginfeature.c:
6309           unref plugins marked cached (a bit confusing as a name)
6310           as the docs state should be done
6311           various doc additions to explain refcounting
6312         * gst/gstregistry.c:
6313         * gst/gstregistryxml.c:
6314           debugging
6315
6316 2005-09-19  Wim Taymans  <wim@fluendo.com>
6317
6318         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6319         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6320         (send_messages), (GST_START_TEST), (gstbus_suite):
6321         * check/gst/gstpipeline.c: (GST_START_TEST):
6322         * check/pipelines/cleanup.c: (run_pipeline):
6323         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6324         (GST_START_TEST):
6325         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6326         (gst_bus_source_check), (gst_bus_source_dispatch),
6327         (gst_bus_create_watch), (gst_bus_add_watch_full),
6328         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6329         * gst/gstbus.h:
6330         * tools/gst-launch.c: (event_loop):
6331         * tools/gst-md5sum.c: (event_loop):
6332         GstBusHandler -> GstBusFunc, return value has the same meaning as
6333         any other GSource (FALSE == remove source).
6334         _add_watch() and _add_watch_full() now take a MessageType mask to
6335         only handle specific types of messages.
6336         _poll() returns the GstMessage instead of the message type to avoid
6337         race conditions.
6338         _have_pending() takes a MessageType mask now too.
6339         Added testsuite for multiple bus watches.
6340         Fix testsuites and applications for new bus API.
6341
6342 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6343
6344         * check/Makefile.am:
6345           mark a bunch of the tests as to fix until we fix them
6346
6347 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6348
6349         * common/check.mak:
6350           use GST_PLUGIN settings for valgrind tests as well, so we're
6351           valgrinding the correct thing
6352         * gst/gst.c: (init_post):
6353           plug another leak
6354
6355 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6356
6357         * gst/gst.c: (init_post), (gst_deinit):
6358         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6359         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6360         * gst/gstindex.c: (gst_index_factory_class_init),
6361         (gst_index_factory_finalize):
6362         * gst/gstobject.c: (gst_object_dispose):
6363         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6364         (gst_plugin_load_file), (gst_plugin_desc_free):
6365         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6366         (gst_plugin_feature_finalize):
6367         * gst/gstregistry.c: (gst_registry_class_init),
6368         (gst_registry_init), (gst_registry_finalize),
6369         (gst_registry_get_default), (gst_registry_deinit):
6370         * gst/gstregistry.h:
6371         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6372           various cleanups and memleak plugging.  make valgrind is happy now.
6373
6374 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6375
6376         * common/check.mak:
6377           add a check-valgrind target
6378
6379 2005-09-18  David Schleef  <ds@schleef.org>
6380
6381         * tools/gst-inspect.c: Revert the GOption code.
6382
6383 2005-09-17  David Schleef  <ds@schleef.org>
6384
6385         * check/Makefile.am: Fix environment variables.
6386         * check/gst/gstplugin.c: Fix for API changes.
6387         * tools/gst-inspect.c: Fix for API changes.
6388         * tools/gst-xmlinspect.c: Fix for API changes.
6389         * gst/gstelementfactory.c:
6390         * gst/gstplugin.c:
6391         * gst/gstplugin.h:
6392         * gst/gstpluginfeature.c:
6393         * gst/gstpluginfeature.h:
6394         * gst/gstregistry.c:
6395         * gst/gstregistry.h:
6396         * gst/gstregistryxml.c:
6397         * gst/gsttypefind.c:
6398         * gst/gsttypefindfactory.c:
6399         * gst/indexers/gstfileindex.c:
6400         * gst/indexers/gstmemindex.c:
6401         * gst/schedulers/Makefile.am:
6402           Change registry to keep track of both plugins and features,
6403           removing the feature tracking from plugins themselves.
6404
6405 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6406
6407         * check/Makefile.am:
6408         * tools/gst-register.1.in:
6409           remove gst-register
6410
6411 2005-09-15  David Schleef  <ds@schleef.org>
6412
6413         * check/gst/gstplugin.c:
6414         * gst/gstelementfactory.c:
6415         * gst/gstplugin.c:
6416         * gst/gstpluginfeature.c:
6417         * gst/gstregistry.c:
6418           Getting tired of debugging.  Disabled all the unreffing of
6419           plugins and features, which fixes the segfaults, but of
6420           course leaks like crazy.  At least playbin works.
6421
6422 2005-09-15  David Schleef  <ds@schleef.org>
6423
6424         * check/gst/gstplugin.c: (register_check_elements),
6425         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6426         More testing
6427         * gst/elements/gsttypefindelement.c: Fix refcounting.
6428         * gst/gsttypefind.c:
6429         * gst/gsttypefindfactory.c:
6430         * gst/gsttypefindfactory.h:
6431
6432 2005-09-15  David Schleef  <ds@schleef.org>
6433
6434         * gst/gstindex.c: get refcounting correct.
6435         * gst/gstregistry.c: Handle the case where a feature/plugin is
6436           not found.
6437
6438 2005-09-15  David Schleef  <ds@schleef.org>
6439
6440         * check/Makefile.am:
6441         * check/gst/gstplugin.c: Add test
6442         * gst/gstplugin.c: Fix problems noticed by testsuite
6443         * gst/gstplugin.h:
6444         * gst/gstregistry.c: 
6445         * gst/gstregistry.h:
6446
6447 2005-09-15  David Schleef  <ds@schleef.org>
6448
6449         * gst/gstplugin.c: Implement semi-decent recounting and locking
6450           in plugins and plugin features.
6451         * gst/gstplugin.h:
6452         * gst/gstpluginfeature.c:
6453         * gst/gstpluginfeature.h:
6454         * gst/gstregistry.c:
6455
6456 2005-09-15  Michael Smith <msmith@fluendo.com>
6457
6458         * gst/gstregistry.c: (gst_registry_get_feature_list):
6459           Implement this. Makes oggdemux work; decodebin still broken.
6460
6461 2005-09-14  David Schleef  <ds@schleef.org>
6462
6463         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6464           #316076)
6465         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6466         * gst/check/Makefile.am:
6467         * libs/gst/controller/Makefile.am:
6468         * libs/gst/dataprotocol/Makefile.am:
6469
6470 2005-09-14  David Schleef  <ds@schleef.org>
6471
6472         * configure.ac: Remove getbits library.  Nothing uses it, and
6473           it should be in something like liboil if someone did want
6474           to use it.
6475         * libs/gst/Makefile.am:
6476         * libs/gst/getbits/Makefile.am:
6477         * libs/gst/getbits/gbtest.c:
6478         * libs/gst/getbits/getbits.c:
6479         * libs/gst/getbits/getbits.h:
6480         * libs/gst/getbits/gstgetbits_generic.c:
6481         * libs/gst/getbits/gstgetbits_i386.s:
6482         * libs/gst/getbits/gstgetbits_inl.h:
6483
6484 2005-09-14  David Schleef  <ds@schleef.org>
6485
6486         * gst/Makefile.am: Dist glib-compat.h
6487
6488 2005-09-14  David Schleef  <ds@schleef.org>
6489
6490         * configure.ac: Remove gst/registries, since it's no longer used.
6491         * gst/registries/Makefile.am:
6492         * gst/registries/gstlibxmlregistry.c:
6493         * gst/registries/gstlibxmlregistry.h:
6494         * gst/registries/gstxmlregistry.c:
6495         * gst/registries/gstxmlregistry.h:
6496         * gst/registries/registrytest.c:
6497
6498 2005-09-14  David Schleef  <ds@schleef.org>
6499
6500         * gst/glib-compat.h:
6501         * gst/gstregistryxml.c:
6502           Convergence is near.  Seriously.
6503
6504 2005-09-14  David Schleef  <ds@schleef.org>
6505
6506         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6507         * gst/glib-compat.h:
6508           Attempt #4 to appease the buildbots.
6509
6510 2005-09-14  David Schleef  <ds@schleef.org>
6511
6512         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6513           Attempt #3.
6514
6515 2005-09-14  David Schleef  <ds@schleef.org>
6516
6517         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6518         Attempt #2.
6519
6520 2005-09-14  David Schleef  <ds@schleef.org>
6521
6522         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6523           the new functions.
6524
6525 2005-09-14  David Schleef  <ds@schleef.org>
6526
6527         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6528         * gst/glib-compat.h: Add some functions that are in newer versions
6529           of glib than we care to require.
6530         * gst/gstregistryxml.c: Use them.
6531
6532 2005-09-14  David Schleef  <ds@schleef.org>
6533
6534         * po/POTFILES.in: remove gst-register.c
6535
6536 2005-09-14  David Schleef  <ds@schleef.org>
6537
6538         * docs/gst/gstreamer-docs.sgml:
6539         * docs/gst/gstreamer-sections.txt:
6540         * docs/gst/gstreamer.types:
6541         * docs/gst/tmpl/gstelement.sgml:
6542         * docs/gst/tmpl/gstplugin.sgml:
6543         * docs/gst/tmpl/gstpluginfeature.sgml:
6544           Documentation updates for registry changes.
6545
6546 2005-09-14  David Schleef  <ds@schleef.org>
6547
6548         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6549           because we don't require glib-2.8.
6550
6551 2005-09-14  David Schleef  <ds@schleef.org>
6552
6553         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6554           registries directory.
6555
6556 2005-09-14  David Schleef  <ds@schleef.org>
6557
6558         * check/Makefile.am:
6559         * check/generic/states.c:
6560         * gst/Makefile.am:
6561         * gst/gst.c:
6562         * gst/gst.h:
6563         * gst/gst_private.h:
6564         * gst/gstelementfactory.c:
6565         * gst/gstindex.c:
6566         * gst/gstinfo.c:
6567         * gst/gstplugin.c:
6568         * gst/gstplugin.h:
6569         * gst/gstpluginfeature.c:
6570         * gst/gstpluginfeature.h:
6571         * gst/gstregistry.c:
6572         * gst/gstregistry.h:
6573         * gst/gstregistrypool.c: remove
6574         * gst/gstregistrypool.h: remove
6575         * gst/gsttypefind.c:
6576         * gst/gsttypefindfactory.c:
6577         * gst/gsturi.c:
6578         * tools/Makefile.am:
6579         * tools/gst-compprep.c:
6580         * tools/gst-inspect.c:
6581         * tools/gst-register.c: remove
6582         * tools/gst-xmlinspect.c:
6583           Registry rewrite.  Changes registry from being a file created
6584           by a tool into a simple cache file created automatically by 
6585           libgstreamer.  Removed gst-register (because it's no longer
6586           needed).  Remove registry pools, because we only have one
6587           registry implementation (XML).  Fix up other subsystems as
6588           necessary.
6589
6590 2005-09-13  Michael Smith <msmith@fluendo.com>
6591
6592         * gst/gstconfig.h.in:
6593           Don't Use windows linking attributes for MinGW. Fixes #316157
6594
6595 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6596
6597         * gst/gstutils.c: (set_state_async_thread_func),
6598         (gst_element_set_state_async):
6599           Apparently people think it's better if this function doesn't
6600           try to set the state to whatever state was asked for on the first
6601           call to this function for any object.  Seriously.
6602
6603 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6604
6605         * check/gst/gstpipeline.c: (GST_START_TEST):
6606         * docs/gst/gstreamer-sections.txt:
6607         * gst/gstutils.c: (set_state_async_thread_func),
6608         (gst_element_set_state_async):
6609         * gst/gstutils.h:
6610           add a "gst_element_set_state_async" method that
6611           sets the state and starts a thread to make sure the state
6612           change completes as best as it can
6613
6614 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6615
6616         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6617           codify design+behaviour in testsuite after discussion
6618
6619 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6620
6621         * docs/gst/tmpl/gstelement.sgml:
6622         * docs/manual/appendix-quotes.xml:
6623           add a quote
6624         * gst/gstelement.c: (gst_element_set_state):
6625           add some debug
6626
6627 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6628
6629         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6630         (gst_base_transform_prepare_output_buf),
6631         (gst_base_transform_handle_buffer):
6632         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6633         (gst_capsfilter_prepare_buf):
6634           Remove the requirement for sub-classes to call the parent
6635           implementation of prepare_output_buffer with a wrapper function.
6636           
6637         * gst/gsttaglist.h:
6638         * gst/gsttagsetter.h:
6639           Fix #define wrapper
6640
6641 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6642
6643         * docs/gst/gstreamer-sections.txt:
6644           more doc cleanups
6645
6646 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6647
6648         * docs/gst/gstreamer-sections.txt:
6649         * docs/gst/tmpl/gstelement.sgml:
6650         * docs/gst/tmpl/gstplugin.sgml:
6651         * gst/gstminiobject.c:
6652         * gst/gstvalue.h:
6653           docs now stop throwing warnings
6654
6655 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6656
6657         * docs/gst/gstreamer-sections.txt:
6658         * docs/gst/gstreamer.types:
6659         * docs/gst/tmpl/gstpad.sgml:
6660         * docs/gst/tmpl/gsttypes.sgml:
6661         * gst/base/gstadapter.h:
6662         * gst/base/gstbasesink.h:
6663         * gst/base/gstbasesrc.h:
6664         * gst/gstbin.h:
6665         * gst/gstbuffer.h:
6666         * gst/gstbus.h:
6667         * gst/gstcaps.h:
6668         * gst/gstclock.h:
6669         * gst/gstelement.h:
6670         * gst/gstevent.h:
6671         * gst/gstmessage.h:
6672         * gst/gstpad.h:
6673         * gst/gststructure.c:
6674         * gst/registries/gstlibxmlregistry.h:
6675           various documentation fixes
6676
6677 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6678
6679         * docs/gst/gstreamer-sections.txt:
6680         * docs/gst/tmpl/gstvalue.sgml:
6681           rearrange gstvalue section
6682         * gst/gstutils.c: (gst_element_state_get_name):
6683           NONE -> VOID
6684         * gst/gstvalue.c: (_gst_value_initialize):
6685         * gst/gstvalue.h:
6686           doc updates
6687
6688 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6689
6690         * check/gst-libs/controller.c:
6691           Header include fix.
6692         * gst/base/gstbasetransform.c:
6693         (gst_base_transform_default_prepare_buf),
6694         (gst_base_transform_handle_buffer):
6695         * gst/base/gstbasetransform.h:
6696           Some more basetransform changes and fixes to enable sub-classes
6697           that modify buffer metadata only.
6698         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6699         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6700         (gst_capsfilter_prepare_buf):
6701           If the output pad has fixed allowed caps and input buffers 
6702           don't have any, set the fixed caps on outgoing buffers.
6703
6704 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6705         * check/elements/identity.c: (GST_START_TEST):
6706           Make the error a little clearer when the test fails because
6707           identity made a copy of the buffer.
6708         * docs/gst/gstreamer-sections.txt:
6709           New symbols in gstbasetransform.h
6710         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6711         (gst_base_transform_init), (gst_base_transform_transform_size),
6712         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6713         (gst_base_transform_default_prepare_buf),
6714         (gst_base_transform_get_unit_size),
6715         (gst_base_transform_buffer_alloc),
6716         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6717         (gst_base_transform_change_state),
6718         (gst_base_transform_set_passthrough),
6719         (gst_base_transform_set_in_place),
6720         (gst_base_transform_is_in_place):
6721         * gst/base/gstbasetransform.h:
6722           Change BaseTransform to separate in_place operate from same_caps
6723           output. in_place implies that the element can perform the transform
6724           on incoming buffers in-place, even if the caps on the output are
6725           different.
6726           Sub-class elements can now implement special buffer allocation
6727           methods for outgoing buffers if they wish to.
6728           Big documentation addition.
6729         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6730         * gst/elements/gstelements.c:
6731           Changes for basetransform modifications.
6732         * gst/elements/Makefile.am:
6733         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6734           Compile fix. Extra debug output.
6735
6736 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6737
6738         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6739         (gst_pad_suite):
6740           add tests for valid pad naming
6741         * gst/check/gstcheck.c: (gst_check_log_message_func),
6742         (gst_check_log_critical_func):
6743           add ASSERT_WARNING
6744           remove printing of code, it is fragile when the code contains
6745           % and the line number is enough info
6746         * gst/check/gstcheck.h:
6747         * gst/gstpad.c: (gst_pad_template_new):
6748           fix memleaks
6749
6750 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6751
6752         * configure.ac:
6753           say what CHECK flags we use
6754         * docs/libs/gstreamer-libs.types:
6755         * libs/gst/controller/Makefile.am:
6756         * libs/gst/controller/gst-controller.c:
6757         * libs/gst/controller/gst-controller.h:
6758         * libs/gst/controller/gst-helper.c:
6759         * libs/gst/controller/gst-interpolation.c:
6760         * libs/gst/controller/gstcontroller.c:
6761         * libs/gst/controller/gsthelper.c:
6762         * libs/gst/controller/gstinterpolation.c:
6763         * tools/gst-inspect.c: (print_plugin_info):
6764           we don't use dashes in header names
6765
6766 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6767
6768         * check/Makefile.am:
6769         * check/gst/.cvsignore:
6770         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6771         (gst_pipeline_suite), (main):
6772           adding a test for pipelines and state changes
6773         * gst/gstutils.c: (get_state_func):
6774           add some debugging
6775         * gstreamer.spec.in:
6776           fix up spec file
6777
6778 2005-09-08  Michael Smith <msmith@fluendo.com>
6779
6780         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6781         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6782         (gst_file_src_is_seekable), (gst_file_src_get_size),
6783         (gst_file_src_start):
6784         * gst/elements/gstfilesrc.h:
6785           Various fixes for unseekable, unmmapable, and non-normal files, so
6786           that fallback to read() rather than mmap() works.
6787         * gst/gstevent.c: (gst_event_new_newsegment):
6788           Allow newsegment events with segment_start == segment_end, as will
6789           correctly happen if you use filesrc on a zero-size file, for
6790           example.
6791
6792 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6793
6794         * gst/gstplugin.c: (gst_plugin_load_file):
6795           Call g_module_close when we don't load the module
6796
6797         * gst/registries/gstlibxmlregistry.c:
6798         (gst_xml_registry_get_property):
6799           Port leak fix from 0.8
6800
6801 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6802
6803         * docs/gst/gstreamer-docs.sgml:
6804         * docs/gst/tmpl/.cvsignore:
6805         * docs/gst/tmpl/gsttrace.sgml:
6806         * docs/gst/tmpl/gsttrashstack.sgml:
6807         * gst/Makefile.am:
6808         * gst/gst.h:
6809         * gst/gstelement.h:
6810         * gst/gstevent.h:
6811         * gst/gstmessage.c:
6812         * gst/gstmessage.h:
6813         * gst/gsttag.c:
6814         * gst/gsttag.h:
6815         * gst/gsttaginterface.c:
6816         * gst/gsttaginterface.h:
6817         * gst/gsttaglist.c:
6818         * gst/gsttaglist.h:
6819         * gst/gsttagsetter.c:
6820         * gst/gsttagsetter.h:
6821         * gst/gsttrace.c:
6822         * gst/gsttrace.h:
6823         * gst/gsttrashstack.c:
6824           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6825           inlined docs for gsttrace, gsttrashstack
6826
6827 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6828
6829         * gst/Makefile.am:
6830         * gst/elements/gstbufferstore.h:
6831         * gst/elements/gsttypefindelement.c:
6832         * gst/elements/gsttypefindelement.h:
6833         * gst/gst.h:
6834         * gst/gsttypefind.c:
6835         * gst/gsttypefind.h:
6836         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6837         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6838         (gst_type_find_factory_dispose),
6839         (gst_type_find_factory_unload_thyself),
6840         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6841         (gst_type_find_factory_get_caps),
6842         (gst_type_find_factory_get_extensions),
6843         (gst_type_find_factory_call_function):
6844         * gst/gsttypefindfactory.h:
6845         * gst/registries/gstlibxmlregistry.c:
6846         * gst/registries/gstxmlregistry.c:
6847           splitted gsttypefind into gsttypefind, gsttypefindfactory
6848
6849 2005-09-07  Andy Wingo  <wingo@pobox.com>
6850
6851         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6852         condition whereby the pad's task function is entered before the
6853         pad_mode variable was set.
6854
6855 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6856
6857         * gst/gstpad.c: (gst_pad_alloc_buffer):
6858           Catch misbehaving pad_alloc functions that don't
6859           set up caps and do it for them.
6860
6861 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6862
6863         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6864           test for pipe!=NULL
6865         * docs/gst/tmpl/.cvsignore:
6866         * docs/gst/tmpl/gstmemchunk.sgml:
6867         * docs/gst/tmpl/gstparse.sgml:
6868         * docs/gst/tmpl/gsttaglist.sgml:
6869         * docs/gst/tmpl/gsttagsetter.sgml:
6870         * docs/gst/tmpl/gsttypefind.sgml:
6871         * docs/gst/tmpl/gsttypefindfactory.sgml:
6872         * gst/gstmemchunk.c:
6873         * gst/gstparse.c:
6874         * gst/gsttag.c:
6875         * gst/gsttaginterface.c:
6876         * gst/gsttypefind.c:
6877         * gst/gsttypefind.h:
6878           inlined more docs
6879
6880 === release 0.9.2 ===
6881
6882 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6883
6884         * NEWS:
6885         * RELEASE:
6886         * configure.ac:
6887           releasing 0.9.2, "South"
6888
6889 2005-09-05  Andy Wingo  <wingo@pobox.com>
6890
6891         * gst/registries/gstxmlregistry.h:
6892         * gst/registries/gstxmlregistry.c: Um... resurrect...
6893         
6894         * gst/registries/gstxmlregistry.h:
6895         * gst/registries/gstxmlregistry.c: and update to newer API.
6896         Incidentally they should be a bit faster now that they don't have
6897         to parse the caps.
6898         
6899 2005-09-05  Andy Wingo  <wingo@pobox.com>
6900
6901         * gst/registries/gstxmlregistry.h:
6902         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6903         replaced by the libxml registry a while back
6904
6905 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6906
6907         * docs/gst/tmpl/gstplugin.sgml:
6908         * gst/elements/gstelements.c:
6909         * gst/gst.c:
6910         * gst/gstplugin.c: (gst_plugin_register_func),
6911         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6912         (gst_plugin_get_source):
6913         * gst/gstplugin.h:
6914         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6915         (gst_xml_registry_save_plugin):
6916         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6917         (gst_xml_registry_save_plugin):
6918         * tools/gst-inspect.c: (print_plugin_info):
6919           add a "source" plugin description field, to represent the source
6920           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6921           will set it to PACKAGE, which is automake's idea of the name of
6922           the source project.
6923
6924 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6925
6926         * Makefile.am:
6927         * autogen.sh:
6928         * configure.ac:
6929         * docs/Makefile.am:
6930         * docs/faq/Makefile.am:
6931         * docs/gst/tmpl/gstelement.sgml:
6932         * docs/gst/tmpl/gsttypes.sgml:
6933         * docs/htmlinstall.mak:
6934         * docs/manual/Makefile.am:
6935         * docs/pwg/Makefile.am:
6936           reorganize doc build a little
6937           split out docbook and gtk-doc stuff
6938           have two separate --enable's and enable them through autogen
6939           but disable by default in configure (to be similar to other
6940           projects)
6941         * gstreamer.spec.in:
6942           clean up docs install
6943         * po/af.po:
6944         * po/az.po:
6945         * po/ca.po:
6946         * po/cs.po:
6947         * po/de.po:
6948         * po/en_GB.po:
6949         * po/fr.po:
6950         * po/it.po:
6951         * po/nb.po:
6952         * po/nl.po:
6953         * po/ru.po:
6954         * po/sq.po:
6955         * po/sr.po:
6956         * po/sv.po:
6957         * po/tr.po:
6958         * po/uk.po:
6959         * po/vi.po:
6960           translation updates
6961
6962 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6963
6964         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6965           Add comment.
6966           
6967         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6968         (gst_fake_sink_change_state):
6969           Make state change function thread-safe.
6970           
6971         * gst/gstpad.c: (gst_pad_alloc_buffer):
6972           Set offset on generic buffer allocated by fallback.
6973
6974 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6975
6976         * docs/gst/gstreamer-sections.txt:
6977         * docs/gst/tmpl/gstelement.sgml:
6978         * gst/gstpad.c:
6979         * libs/gst/controller/gst-controller.c:
6980         (gst_controlled_property_set_interpolation_mode),
6981         (gst_controlled_property_new),
6982         (gst_controller_find_controlled_property):
6983          run the wingo-magic script against the docs
6984
6985 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6986
6987         * docs/gst/gstreamer-docs.sgml:
6988         * docs/gst/gstreamer-sections.txt:
6989         * docs/gst/tmpl/.cvsignore:
6990         * docs/gst/tmpl/gstelementdetails.sgml:
6991         * docs/gst/tmpl/gstelementfactory.sgml:
6992         * gst/gst.c:
6993         * gst/gstbus.c:
6994         * gst/gstelementfactory.c:
6995         * gst/gstelementfactory.h:
6996           merged elementdetails docs into elementfactory docs
6997           inlined both
6998
6999 2005-09-02  Andy Wingo  <wingo@pobox.com>
7000
7001         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7002         consider this enum an enum and not a flags.
7003
7004 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7005
7006         * docs/gst/gstreamer-docs.sgml:
7007         * docs/gst/tmpl/.cvsignore:
7008         * docs/gst/tmpl/gstghostpad.sgml:
7009         * docs/gst/tmpl/gstiterator.sgml:
7010         * docs/gst/tmpl/gstmacros.sgml:
7011         * docs/gst/tmpl/gstrealpad.sgml:
7012         * docs/gst/tmpl/gstregistry.sgml:
7013         * docs/gst/tmpl/gstregistrypool.sgml:
7014         * docs/gst/tmpl/gststructure.sgml:
7015         * docs/gst/tmpl/gstsystemclock.sgml:
7016         * docs/gst/tmpl/gsttrace.sgml:
7017         * gst/gstghostpad.c:
7018         * gst/gstmacros.h:
7019         * gst/gstmemchunk.c:
7020         * gst/gstmemchunk.h:
7021         * gst/gstqueue.c:
7022         * gst/gstregistry.c:
7023         * gst/gstregistrypool.c:
7024         * gst/gststructure.c:
7025         * gst/gstsystemclock.c:
7026           more docs inlined
7027
7028 2005-09-02  Andy Wingo  <wingo@pobox.com>
7029
7030         * gst/gstelement.h (GstState): Renamed from GstElementState,
7031         changed to be a normal enum instead of flags.
7032         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7033         munged to be GST_STATE_CHANGE_*.
7034         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7035         work with the new state representation.
7036         (GstStateChange): New enumeration of possible state transitions.
7037         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7038         (GstElementClass::change_state): Pass the GstStateChange along as
7039         an argument. Helps language bindings, so they don't have to use
7040         tricky lock-needing macros like GST_STATE_CHANGE ().
7041
7042         * scripts/update-states (file): New script. Run it on a file to
7043         update it for state naming and API changes. Updates files in
7044         place.
7045
7046         * All files updated for the new API.
7047
7048 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7049
7050         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7051         * gst/gstutils.c: (gst_util_set_value_from_string),
7052         (gst_util_set_object_arg):
7053           fix a bunch of unchecked return values
7054         * tools/gst-complete.c: (main):
7055         * gstreamer.spec.in:
7056           clean up a little
7057
7058 2005-09-01  Wim Taymans  <wim@fluendo.com>
7059
7060         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7061         (gst_base_sink_event), (gst_base_sink_do_sync),
7062         (gst_base_sink_handle_event):
7063         * gst/base/gstbasesink.h:
7064         Handle newsegments more correctly.
7065
7066         * gst/gstbus.c:
7067         Fix docs.
7068
7069         * gst/gstevent.c: (gst_event_new_newsegment):
7070         A newsegment cannot have a start_time of -1
7071
7072 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7073
7074         * win32/gstenumtypes.c:
7075         * win32/gstenumtypes.h:
7076           Update
7077
7078 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7079
7080         * libs/gst/controller/gst-controller.c:
7081         (gst_controlled_property_set_interpolation_mode),
7082         (gst_controlled_property_new):
7083          fixed boolean again
7084
7085 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
7086
7087         * docs/faq/gst-uninstalled:
7088           add -good
7089         * gst/gstevent.c:
7090         * gst/gstevent.h:
7091           remove wrong docs
7092         * gst/gstutils.c: (gst_element_link_filtered):
7093         * gst/gstutils.h:
7094           add gst_element_link_filtered
7095
7096 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7097
7098         * docs/gst/gstreamer-docs.sgml:
7099         * docs/gst/gstreamer-sections.txt:
7100         * docs/gst/tmpl/.cvsignore:
7101         * docs/gst/tmpl/gsterror.sgml:
7102         * docs/gst/tmpl/gstfilter.sgml:
7103         * docs/gst/tmpl/gsturihandler.sgml:
7104         * docs/gst/tmpl/gsturitype.sgml:
7105         * docs/gst/tmpl/gstutils.sgml:
7106         * docs/gst/tmpl/gstxml.sgml:
7107         * gst/gsterror.c:
7108         * gst/gsterror.h:
7109         * gst/gstfilter.c:
7110         * gst/gsturi.c:
7111         * gst/gsturitype.c:
7112         * gst/gstutils.c:
7113         * gst/gstxml.c:
7114           inlined more docs, fixed double id-ref
7115
7116 2005-08-31  Wim Taymans  <wim@fluendo.com>
7117
7118         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7119         (gst_base_transform_handle_buffer):
7120         Passthrough elements don't need the caps as they don't care.
7121
7122 2005-08-31  Wim Taymans  <wim@fluendo.com>
7123
7124         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7125         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7126         Don't leak refcounts on buffers.
7127
7128 2005-08-31  Wim Taymans  <wim@fluendo.com>
7129
7130         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7131         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7132         (gst_base_transform_chain), (gst_base_transform_change_state):
7133         * gst/base/gstbasetransform.h:
7134         Handle the case where we are not negotiated more gracefully.
7135
7136 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7137
7138         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7139         (gst_file_src_map_region):
7140           Set READONLY flag on mmap'ed buffers, otherwise
7141           gst_buffer_make_writable() won't work properly (#314708).
7142
7143 2005-08-31  Wim Taymans  <wim@fluendo.com>
7144
7145         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7146         passthrough elements can even do inplace on non writable
7147         buffers (as they don't touch them).
7148
7149 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7150
7151         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7152         (gst_test_mono_source_set_property),
7153         (gst_test_mono_source_class_init), (GST_START_TEST),
7154         (gst_controller_suite):
7155           more tests (hehe I have the most)
7156         * gst/gstbus.c:
7157           describe popping messages whenusing mulltiple sources
7158         * libs/gst/controller/gst-controller.c:
7159         (gst_controlled_property_set_interpolation_mode),
7160         (gst_controlled_property_new):
7161         * libs/gst/controller/gst-controller.h:
7162         * libs/gst/controller/gst-interpolation.c:
7163           implement boolean properties
7164
7165 2005-08-31  Wim Taymans  <wim@fluendo.com>
7166
7167         * gst/gstminiobject.c: (gst_mini_object_ref):
7168         Cannot assert that the refcount has to be positive
7169         since a disposed object can be resurrected.
7170
7171 2005-08-31  Wim Taymans  <wim@fluendo.com>
7172
7173         * gst/gstpad.c: (gst_pad_init):
7174         Revert change, need to first fix badly behaving 
7175         apps.
7176
7177 2005-08-30  Wim Taymans  <wim@fluendo.com>
7178
7179         * check/elements/fakesrc.c: (setup_fakesrc):
7180         * check/elements/identity.c: (setup_identity):
7181         Activate pads before using them.
7182
7183 2005-08-30  Wim Taymans  <wim@fluendo.com>
7184
7185         * gst/base/gstadapter.c: (gst_adapter_flush):
7186         Flushing out 0 bytes is ok for this function.
7187
7188         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7189         no newsegment gives a warning and sets the start/stop to 
7190         invalid.
7191
7192         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7193         (gst_base_transform_set_passthrough):
7194         Some debug info.
7195
7196         * gst/gstminiobject.c: (gst_mini_object_ref):
7197         Check refcount here too.
7198
7199         * gst/gstpad.c: (gst_pad_init):
7200         Pads are initially flushing and refusing data.
7201
7202         * gst/gstutils.c: (gst_element_link_pads_filtered):
7203         When adding a capsfilter element make sure it has the
7204         same state as the parent bin.
7205
7206 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7207
7208         * docs/gst/tmpl/.cvsignore:
7209         * docs/gst/tmpl/gstformat.sgml:
7210         * docs/gst/tmpl/gstversion.sgml:
7211         * gst/gstbus.h:
7212         * gst/gstformat.c:
7213         * gst/gstformat.h:
7214         * gst/gstversion.h.in:
7215           more docs and two more inlined
7216
7217 2005-08-30  Wim Taymans  <wim@fluendo.com>
7218
7219         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7220         Don't sync to clock.
7221
7222 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7223
7224         * docs/gst/gstreamer-sections.txt:
7225           ultral33t func10ns deserve to appear in the docs actually
7226         * docs/gst/tmpl/.cvsignore:
7227         * docs/gst/tmpl/gstcompat.sgml:
7228         * docs/gst/tmpl/gstconfig.sgml:
7229         * gst/check/gstcheck.c:
7230         * gst/gstcompat.h:
7231         * gst/gstconfig.h.in:
7232           inlined more docs
7233
7234 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7235
7236         * docs/gst/tmpl/.cvsignore:
7237         * docs/gst/tmpl/gstquery.sgml:
7238         * docs/gst/tmpl/gstutils.sgml:
7239         * gst/gstquery.c:
7240         * gst/gstquery.h:
7241           inlined and extended docs
7242
7243 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7244
7245         * check/gst-libs/controller.c: (GST_START_TEST),
7246         (gst_controller_suite):
7247           more tests
7248         * docs/gst/tmpl/gstutils.sgml:
7249         * docs/libs/gstreamer-libs-sections.txt:
7250         * docs/libs/tmpl/gstdataprotocol.sgml:
7251           include path fixes
7252         * examples/controller/audio-example.c: (main):
7253           controller example works now
7254         * gst/gstclock.h:
7255           doc fixes
7256         * tools/gst-inspect.c: (print_element_properties_info):
7257           show param spec flags
7258
7259 2005-08-29  Andy Wingo  <wingo@pobox.com>
7260
7261         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7262
7263 2005-08-28  Andy Wingo  <wingo@pobox.com>
7264
7265         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7266         as having two arguments instead of just one. Allows superclasses
7267         to access information on subclasses -- see the terrible for() loop
7268         in gtype.c:g_type_create_instance for the reason why. All callers
7269         changed.
7270
7271 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7272
7273         * docs/design/part-messages.txt:
7274           update info
7275         * docs/gst/tmpl/.cvsignore:
7276         * docs/gst/tmpl/gstcaps.sgml:
7277         * docs/gst/tmpl/gstclock.sgml:
7278         * gst/gstbus.c:
7279         * gst/gstcaps.c:
7280         * gst/gstcaps.h:
7281         * gst/gstclock.c:
7282         * gst/gstclock.h:
7283         * gst/gstmessage.c:
7284           added descriptions for bus and message
7285           inline caps and clock docs
7286
7287 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7288
7289         * gst/gstmessage.c:
7290         * gst/gstmessage.h:
7291           doc fixes
7292
7293 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7294
7295         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7296           fix div-by-zero
7297
7298 2005-08-26  Andy Wingo  <wingo@pobox.com>
7299
7300         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7301         element_set_state's return val.
7302         (test_2_elements): Add test that's been disabled for months.
7303
7304         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7305         can-activate-pull properties.
7306
7307         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7308         can-activate-pull properties. Implement is_seekable so fakesrc can
7309         operate in pull mode.
7310
7311         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7312         properties.
7313         (gst_base_sink_activate, gst_base_sink_activate_pull)
7314         (gst_base_sink_activate_push): Make activation mode choosing work.
7315         Cleanups.
7316         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7317         is right. Make pull mode work. Post an eos before pausing in pull
7318         mode.
7319         (gst_base_sink_change_state): Pay attention to the core's
7320         change_state() return val.
7321         
7322         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7323         has-getrange properties. Cleanups.
7324         
7325         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7326         has_getrange and replace with can_activate_pull and
7327         can_activate_push.
7328
7329         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7330         locking comments. Remove has_loop, has_chain and replace with
7331         can_activate_pull and can_activate_push.
7332
7333 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7334
7335         * configure.ac:
7336         * examples/Makefile.am:
7337         * examples/metadata/Makefile.am:
7338         * examples/metadata/read-metadata.c: (message_loop),
7339         (have_pad_handler), (make_pipeline), (print_tag), (main):
7340           Add metadata reading example that loops over a list of filenames,
7341           dumping any tags found.
7342
7343         * gst/gstbus.c: (gst_bus_dispose):
7344         * gst/gstelement.c: (gst_element_dispose):
7345           Release a few potentially-held references in dispose.
7346
7347 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7348
7349         * docs/gst/tmpl/gstminiobject.sgml:
7350           do *not* add tmpl/*.sgml files to CVS!
7351
7352 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7353
7354         * libs/gst/bytestream/.cvsignore:
7355         * libs/gst/bytestream/Makefile.am:
7356         * libs/gst/bytestream/adapter.c:
7357         * libs/gst/bytestream/adapter.h:
7358         * libs/gst/bytestream/bytestream.c:
7359         * libs/gst/bytestream/bytestream.h:
7360         * libs/gst/bytestream/filepad.c:
7361         * libs/gst/bytestream/filepad.h:
7362           removing obsolete files
7363
7364 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7365
7366         * docs/gst/gstreamer-docs.sgml:
7367         * docs/libs/gstreamer-libs-docs.sgml:
7368           disabed additional index entries again, as this makes docs-gen just
7369           slow and they aren't useful yet
7370         * docs/libs/gstreamer-libs-sections.txt:
7371           little -section.txt cleanup for libs
7372
7373 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7374
7375         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7376         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7377           fix up some debugging
7378         (gst_base_transform_get_unit_size),
7379         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7380         (gst_base_transform_handle_buffer):
7381         * gst/base/gstbasetransform.h:
7382           handle and store timed NEWSEGMENT events so that subclasses that
7383           calculate time by counting samples have a segment_start time they
7384           need to add to their timestamps - see audioresample
7385
7386 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7387
7388         * gst/gstbin.h:
7389           removed ';' from the end of macro defs
7390         * docs/gst/gstreamer-docs.sgml:
7391         * docs/gst/gstreamer-sections.txt:
7392         * docs/gst/tmpl/.cvsignore:
7393         * gst/gstbus.h:
7394         * gst/gstelement.c: (gst_element_class_init),
7395         (gst_element_set_state), (activate_pads),
7396         (gst_element_save_thyself):
7397         * gst/gstevent.c: (gst_event_new_newsegment):
7398         * gst/gstevent.h:
7399         * gst/gstiterator.c:
7400         * gst/gstiterator.h:
7401         * gst/gstpad.c:
7402         * gst/gstprobe.h:
7403         * gst/gstutils.c: (gst_pad_query_convert):
7404         * gst/gstutils.h:
7405           fixed parameter name mismatches between source, header and docs
7406           added some more docs, resolved the last batch of unused elements in
7407           docs (now someone needs to doc them)
7408
7409 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7410
7411         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7412         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7413           don't walk through the plugins backwards.  Where is all this
7414           reversed logic coming from ?
7415
7416 2005-08-25  Wim Taymans  <wim@fluendo.com>
7417
7418         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7419         (gst_base_transform_transform_size),
7420         (gst_base_transform_configure_caps),
7421         (gst_base_transform_get_unit_size),
7422         (gst_base_transform_buffer_alloc),
7423         (gst_base_transform_change_state):
7424         * gst/base/gstbasetransform.h:
7425         Cache caps unit_size.
7426         Make sure we cannot negotiate up and downstream at the
7427         same time.
7428
7429 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7430
7431         * gst/gst.c: (init_pre), (init_post):
7432           register the installed plugin path after the env var
7433         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7434         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7435           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7436           directories, so the tests can prefer uninstalled over installed
7437
7438 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7439
7440         * gst/base/gstbasetransform.h:
7441           comment
7442         * gst/gstpad.c:
7443           add to docs
7444
7445 2005-08-25  Wim Taymans  <wim@fluendo.com>
7446
7447         * gst/gstbin.c: (bin_bus_handler):
7448         Be a bit more conservative about the posted message.
7449         
7450         * gst/gstbus.c: (gst_bus_post):
7451         Some cleanups, warn wrong return values.
7452
7453 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7454
7455         * check/gst/gstbin.c: (GST_START_TEST):
7456         * gst/gstbin.c: (bin_bus_handler):
7457         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7458         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7459         (gst_message_new_warning), (gst_message_new_tag),
7460         (gst_message_new_state_changed), (gst_message_new_segment_start),
7461         (gst_message_new_segment_done), (gst_message_new_custom):
7462         * gst/gstmessage.h:
7463         * tools/gst-launch.c: (event_loop):
7464         * tools/gst-md5sum.c: (event_loop):
7465           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7466
7467 2005-08-25  Wim Taymans  <wim@fluendo.com>
7468
7469         * check/generic/states.c: (GST_START_TEST):
7470         Cleanup can be done at the end.
7471
7472         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7473         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7474         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7475         Oh boy.. Thanks for finding this, Thomas. 
7476
7477 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7478
7479         * docs/gst/gstreamer.types:
7480           added missing types
7481
7482 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7483
7484         * docs/gst/gstreamer-docs.sgml:
7485         * docs/gst/gstreamer-sections.txt:
7486         * docs/gst/tmpl/.cvsignore:
7487         * gst/gstbin.c:
7488         * gst/gstiterator.c:
7489         * gst/gstutils.c:
7490         * gst/registries/gstxmlregistry.h:
7491           added missing classes and symbols (123 more to go)
7492           removed removed symbols from section file
7493           fixed many doc-comments
7494
7495 2005-08-24  Wim Taymans  <wim@fluendo.com>
7496
7497         * check/generic/states.c: (GST_START_TEST):
7498         Make sure all tasks are stopped.
7499
7500         * check/gst/gstbin.c: (GST_START_TEST):
7501         Unref after usage for proper valgrinding.
7502
7503         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7504         Really wait for the task to stop before destroying the
7505         mutex.
7506
7507         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7508         (gst_queue_src_activate_push):
7509         Small cleanups. Don't stop the task when we did not start
7510         it.
7511
7512         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7513         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7514         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7515         (gst_task_join):
7516         * gst/gsttask.h:
7517         Protect the stream lock with the object lock.
7518         Disallow setting the stream lock when running.
7519         Add cleanup_all to wait for the threadpool to finish.
7520         Remove code to autoallocate a mutex if none was provided.
7521         Add _join() to wait for a task to stop.
7522         Protect the thread pool with a global lock.
7523
7524 2005-08-24  Wim Taymans  <wim@fluendo.com>
7525
7526         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7527         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7528         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7529         * gst/base/gstbasesink.h:
7530         Handle newsegment events correctly.
7531         Drop buffers out of the segment range.
7532
7533 2005-08-22  Andy Wingo  <wingo@pobox.com>
7534
7535         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7536         macro, implements an interface and gstimplementsinterface for a
7537         new type.
7538
7539 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7540
7541         * check/Makefile.am:
7542         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7543           add a test that does a bunch of state changes on elements
7544           needs some fixing for valgrind
7545         * check/states/sinks.c: (gst_object_suite):
7546           whitespace
7547         * gst/gstcaps.h:
7548           add prototype for gst_caps_is_equal_fixed
7549         * gst/gstplugin.c:
7550         * gst/gstregistrypool.c:
7551           doc fixes
7552
7553 2005-08-24  Andy Wingo  <wingo@pobox.com>
7554
7555         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7556         convert a negative value. Doesn't make much sense. Mostly this is
7557         here to force callers to ensure -1 maps to -1.
7558
7559 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7560
7561         * docs/pwg/advanced-types.xml:
7562           Well done to Michael for catching my deliberate introduction
7563           of this spelling mistake. 
7564         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7565         * gst/gstelement.h:
7566           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7567           unlink pads before removing the element from the bin.
7568
7569 2005-08-24  Andy Wingo  <wingo@pobox.com>
7570
7571         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7572         the same thing as GST_DEBUG=*:4.
7573         (parse_debug_level, parse_debug_category): New helper parsers.
7574
7575 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7576
7577         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7578         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7579         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7580         (gst_base_transform_buffer_alloc),
7581         (gst_base_transform_handle_buffer):
7582           use gboolean return values and pointers to size so we can use the
7583           full GST_BUFFER_SIZE range (guint) for buffer sizes
7584           use GstPadDirection for transform_caps
7585         * gst/base/gstbasetransform.h:
7586           rename get_size to get_unit_size since that's what it is
7587         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7588           use GstPadDirection for transform_caps
7589         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7590         * gst/gstutils.h:
7591           cleanup and debugging
7592
7593 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7594
7595         * gst/gstelement.c: (gst_element_class_init),
7596         (gst_element_set_state), (activate_pads),
7597         (gst_element_save_thyself):
7598         * tools/gst-compprep.c: (main):
7599         * tools/gst-inspect.c: (print_element_properties_info):
7600         * tools/gst-xmlinspect.c: (print_element_properties):
7601           Fixed long standing mem-leak
7602
7603 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7604
7605         * check/gst/gstbin.c: (GST_START_TEST):
7606         * gst/gstbin.c: (bin_bus_handler):
7607         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7608         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7609         (gst_message_new_warning), (gst_message_new_tag),
7610         (gst_message_new_state_changed), (gst_message_new_segment_start),
7611         (gst_message_new_segment_done), (gst_message_new_custom):
7612         * gst/gstmessage.h:
7613         * tools/gst-launch.c: (event_loop):
7614         * tools/gst-md5sum.c: (event_loop):
7615           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7616           that applications can sensibly post custom messages with references
7617           to their own objects.
7618
7619 2005-08-24  Andy Wingo  <wingo@pobox.com>
7620
7621         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7622         already.
7623
7624 2005-08-24  Wim Taymans  <wim@fluendo.com>
7625
7626         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7627         (gst_base_transform_transform_caps),
7628         (gst_base_transform_transform_size),
7629         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7630         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7631         (gst_base_transform_handle_buffer):
7632         * gst/base/gstbasetransform.h:
7633         Many fixes and new features added by Thomas. Can now also do
7634         transforms with variable sizes and a custom fixate_caps function.
7635
7636 2005-08-24  Wim Taymans  <wim@fluendo.com>
7637
7638         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7639         Some debugging.
7640
7641         * gst/gstclock.h:
7642         Cast to ClockTime before formatting to time.
7643
7644         * gst/gstutils.h:
7645         Cleanups.
7646
7647 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7648
7649         * check/gst-libs/controller.c: (GST_START_TEST),
7650         (gst_controller_suite):
7651         * docs/gst/tmpl/gstcaps.sgml:
7652         * docs/gst/tmpl/gstghostpad.sgml:
7653         * docs/gst/tmpl/gstquery.sgml:
7654         * docs/gst/tmpl/gstutils.sgml:
7655         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7656         (gst_object_sink_values), (gst_object_get_value_arrays),
7657         (gst_object_get_value_array):
7658           gracefully handle helper method calls to objects that are not beeing
7659           controlled, added test case for that          
7660
7661 2005-08-23  Wim Taymans  <wim@fluendo.com>
7662
7663         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7664         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7665         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7666         (gst_event_parse_qos), (gst_event_new_seek),
7667         (gst_event_parse_seek):
7668         * gst/gstevent.h:
7669         Some more debugging output and doc cleanups.
7670
7671         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7672         Fix possible deadlock.
7673
7674 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7675
7676         * docs/gst/gstreamer-docs.sgml:
7677         * docs/gst/gstreamer-sections.txt:
7678         * docs/gst/gstreamer.types:
7679         * docs/gst/tmpl/.cvsignore:
7680         * gst/gstbin.h:
7681         * gst/gstbus.c:
7682         * gst/gstelement.c:
7683         * gst/gstevent.h:
7684           added 100 symbols from gstreamer-unused.txt to the right sections
7685           fixed more broken comments
7686           added GstBus to docs
7687
7688 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7689
7690         * docs/gst/gstreamer-sections.txt:
7691         * docs/gst/tmpl/.cvsignore:
7692         * docs/gst/tmpl/gstbin.sgml:
7693         * docs/gst/tmpl/gstbuffer.sgml:
7694         * gst/base/gstbasesrc.c:
7695         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7696         * gst/gstbuffer.c:
7697         * gst/gstbuffer.h:
7698         * tools/gst-launch.1.in:
7699           inlined more doc comments, added missing comments and fixed comments
7700           fixed typos
7701
7702 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7703
7704         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7705           some debugging
7706         * gst/gstcaps.h:
7707           whitespace fixes
7708         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7709           more debugging
7710         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7711         * gst/gststructure.h:
7712           add a fixate function for booleans; add a FIXME that these func
7713           names should probably be gst_structure_fixate_*
7714
7715 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7716
7717         * docs/gst/gstreamer-docs.sgml:
7718         * docs/gst/gstreamer-sections.txt:
7719         * gst/Makefile.am:
7720         * gst/gstbin.c: (gst_bin_get_type),
7721         (gst_bin_child_proxy_get_child_by_index),
7722         (gst_bin_child_proxy_get_children_count),
7723         (gst_bin_child_proxy_init):
7724         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7725         (gst_child_proxy_get_child_by_index),
7726         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7727         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7728         (gst_child_proxy_get), (gst_child_proxy_set_property),
7729         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7730         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7731         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7732         * gst/gstchildproxy.h:
7733         * gst/parse/grammar.y:
7734         * tools/gst-inspect.c: (print_interfaces),
7735         (print_element_properties_info), (print_element_info):
7736           ported gstchildproxy over from 0.8
7737           ported gst-inspect fixes and enhancements over from 0.8
7738
7739 2005-08-22  Wim Taymans  <wim@fluendo.com>
7740
7741         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7742         (gst_base_transform_handle_buffer):
7743         Also call the transform function if we have ANY caps.
7744
7745         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7746         Fix debug info.
7747
7748 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7749
7750         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7751           Don't pretend to handle seek events if the source is not seekable
7752
7753 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7754
7755         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7756           Remove extra parameter to debug output
7757
7758         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7759         (gst_base_src_do_seek), (gst_base_src_activate_push):
7760           Fix seek event handling.
7761
7762         * gst/gstpipeline.c: (gst_pipeline_change_state):
7763         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7764         (gst_queue_src_activate_push):
7765           Don't start the src pad task on FLUSH_STOP if the pad
7766           isn't linked.
7767           Debug changes.
7768
7769 2005-08-22  Wim Taymans  <wim@fluendo.com>
7770
7771         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7772         Added check for gst_static_caps_get() refcounting.
7773
7774 2005-08-22  Wim Taymans  <wim@fluendo.com>
7775
7776         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7777         Make _static_caps_get() refcounting sane.
7778         
7779         * gst/gstelement.c: (gst_element_set_state):
7780         Add g_return_val_if_fail() to protect against segfaults.
7781
7782 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7783
7784         * docs/gst/tmpl/gstevent.sgml:
7785         * gst/gstevent.c:
7786         * gst/gstevent.h:
7787           inlined remaining docs, added missing doc comments
7788
7789 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7790
7791         * check/gst/gstbin.c: (GST_START_TEST):
7792           since we don't know when preroll is done, use refcount range
7793           check for the sink
7794         * gst/check/gstcheck.h:
7795           add macro for checking refcount range
7796
7797 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7798
7799         * check/Makefile.am:
7800           clean up environment for when registry gets built versus
7801           when actual tests are run; valgrind seems to not report
7802           leaks if GST_PLUGIN_PATH is set to some specific values
7803         * check/gst/gstbin.c: (GST_START_TEST):
7804           add more refcounting checks; maybe this exposes a
7805           preroll lock bug ?
7806         * common/check.mak:
7807         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7808         * gst/check/gstcheck.h:
7809         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7810         (gst_bin_change_state):
7811         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7812           add/fix debugging/whitespace
7813
7814 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7815
7816         * check/gst/gstevent.c: (event_probe), (test_event),
7817         (GST_START_TEST):
7818          Er, don't call gst_bin_watch_for_state_change you idiot.
7819
7820 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7821
7822         * check/Makefile.am:
7823           Use CHECK_CFLAGS and CHECK_LIBS
7824         * check/gst/gstevent.c: (event_probe), (test_event),
7825         (GST_START_TEST):
7826           Don't leak events.
7827         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7828         (gst_base_src_start), (gst_base_src_stop),
7829         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7830         (gst_base_src_change_state):
7831           Sprinkle gst_base_src_stop liberally around error paths to fix
7832           problems reusing a source after failed state changes.
7833         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7834         (helper_find_suggest), (gst_type_find_helper):
7835           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7836         * gst/gstevent.h:
7837         * docs/gst/tmpl/gstevent.sgml:
7838           Migrate part of the docs from the SGML file. Wait for ensonic to
7839           tell me how I did it wrong ;)
7840         * tools/gst-typefind.c: (main):
7841           Extra robustness to state changes between files.
7842
7843 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7844
7845         * check/Makefile.am:
7846           don't valgrind the controller test - it's leaking - Stefan, HELP
7847         * gst/check/gstcheck.c: (gst_check_message_error),
7848         (gst_check_chain_func), (gst_check_setup_element),
7849         (gst_check_teardown_element), (gst_check_setup_src_pad),
7850         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7851         (gst_check_teardown_sink_pad):
7852         * gst/check/gstcheck.h:
7853           add a bunch of methods to set up elements, and src and sink pads
7854         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7855         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7856         (GST_START_TEST):
7857           use them
7858         * gst/gstmessage.c:
7859         * gst/gsttag.h:
7860           whitespace/doc fixes
7861
7862 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7863
7864         * gst/gstelement.h:
7865           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7866           be handled by the application and not always printed as well
7867
7868 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7869
7870         * check/Makefile.am:
7871           set GST_TOOLS_DIR
7872         * gst/check/gstcheck.c: (gst_check_message_error):
7873         * gst/check/gstcheck.h:
7874           add a fail_unless_equals_int
7875           add fail_unless for error messages
7876
7877 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7878
7879         * check/Makefile.am:
7880         * check/gst.supp:
7881         * common/Makefile.am:
7882         * common/check.mak:
7883         * common/gst.supp:
7884           factor out some of the common stuff so we can use it
7885
7886 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7887
7888         * check/Makefile.am:
7889         * check/gst/gstiterator.c: (GST_START_TEST):
7890         * check/gst/gstsystemclock.c: (GST_START_TEST),
7891         (gst_systemclock_suite):
7892         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7893         * gst/gstclock.c:
7894           valgrind more tests
7895
7896 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7897
7898         * check/elements/.cvsignore:
7899         * check/elements/gstfakesrc.c:
7900           rename to name of element
7901         * check/elements/identity.c: (chain_func), (event_func),
7902         (setup_identity), (cleanup_identity), (GST_START_TEST),
7903         (identity_suite), (main):
7904           add a test for identity
7905         * check/Makefile.am:
7906         * pkgconfig/Makefile.am:
7907         * pkgconfig/gstreamer-check.pc.in:
7908         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7909         * gst/check:
7910         * gst/Makefile.am:
7911         * configure.ac:
7912           move the check stuff to a library that gets installed
7913         * check/gst-libs/controller.c: (GST_START_TEST):
7914         * check/gst-libs/gdp.c:
7915         * check/gst/gst.c: (GST_START_TEST):
7916         * check/gst/gstbin.c:
7917         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7918         * check/gst/gstbus.c:
7919         * check/gst/gstcaps.c: (GST_START_TEST):
7920         * check/gst/gstelement.c:
7921         * check/gst/gstghostpad.c:
7922         * check/gst/gstiterator.c:
7923         * check/gst/gstmessage.c:
7924         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7925         * check/gst/gstobject.c:
7926         * check/gst/gstpad.c: (GST_START_TEST):
7927         * check/gst/gststructure.c: (GST_START_TEST):
7928         * check/gst/gstsystemclock.c: (GST_START_TEST),
7929         (gst_systemclock_suite):
7930         * check/gst/gsttag.c: (gst_tag_suite):
7931         * check/gst/gstvalue.c:
7932         * check/pipelines/cleanup.c:
7933         * check/pipelines/simple_launch_lines.c:
7934         * check/states/sinks.c:
7935           change include statement
7936
7937         * docs/gst/gstreamer-sections.txt:
7938         * docs/gst/tmpl/gstpad.sgml:
7939           document more pad stuff
7940         * gst/gstminiobject.c: (gst_mini_object_ref),
7941         (gst_mini_object_unref):
7942           debug refcounting
7943
7944 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7945
7946         * docs/gst/tmpl/gst.sgml:
7947         * gst/gst.c:
7948           eliminate another tmpl file, fix spelling in the long-description
7949
7950 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7951
7952         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7953         (test_event), (timediff), (gstevents_suite):
7954           Should fix build on 64-bit arch's
7955
7956 2005-08-18  Andy Wingo  <wingo@pobox.com>
7957
7958         Make sure that when a pipeline goes to PLAYING, that data has
7959         actually hit the sink.
7960
7961         * check/states/sinks.c (test_sink): A sink that doesn't get any
7962         data shouldn't return SUCCESS for going to either PLAYING or
7963         PAUSED. Test also the return values on the way back down.
7964
7965         * gst/gstelement.c (gst_element_set_state): When changing the
7966         state of an element currently changing state asynchronously, go to
7967         lost-state after commiting the pending state. Makes future calls
7968         to get_state continue to return ASYNC.
7969
7970         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7971         ASYNC when going to PLAYING if we still don't have preroll, as can
7972         happen with live sources.
7973
7974 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7975
7976         * docs/pwg/advanced-types.xml:
7977           Hack long paragraph into 2 chunks as a workaround for buggy
7978           jadetex version in sid and breezy that loops infinitely and
7979           eats all RAM.
7980
7981 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7982
7983         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7984         (test_event), (timediff), (gstevents_suite):
7985           Provide more error margin in clock measurements to allow for 
7986           g_get_current_time inaccuracies.
7987
7988 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7989
7990         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7991         (test_event), (timediff), (gstevents_suite):
7992            Fix error message output so I might be able to tell why the
7993            test works here but fails on the build farm.
7994
7995 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7996
7997         * check/Makefile.am:
7998         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7999         (test_event), (timediff), (gstevents_suite), (main):
8000           I wrote a test!
8001
8002         * docs/design/part-seeking.txt:
8003           Spelling correction
8004
8005         * docs/gst/tmpl/gstevent.sgml:
8006         * docs/gst/tmpl/gstfakesrc.sgml:
8007           Docs updates.
8008
8009         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8010           Treat a buffer-without-newsegment the same as a receiving 
8011           a newsegment not in time format, and disable syncing to the clock
8012           with a warning.
8013
8014         * gst/gstbus.c: (gst_bus_set_sync_handler):
8015           Assert if anyone tries to replace the existing sync_handler for bus, 
8016           as only the owner should be setting it.
8017
8018         * gst/gstevent.h:
8019           Have a fixed set of custom event enums with events identified by
8020           their structure name (as in 0.8), rather than a free-for-all
8021           allowing collisions between enum values from different plugins.
8022
8023         * gst/gstpad.c: (gst_pad_class_init):
8024           Docs change.
8025           
8026         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8027           Handle out-of-band downstream events from the sending thread.
8028
8029 2005-08-17  Andy Wingo  <wingo@pobox.com>
8030
8031         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8032         play-timeout==0 to mean no timeout at all. In that case, don't
8033         bother with a get_state or a warning, just return directly, even
8034         if it's ASYNC.
8035
8036         * gst/base/gstbasetransform.c: Debug changes.
8037
8038         * gst/gstutils.h:
8039         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8040         ensure bins post state change messages. A bit of a hack but I can't
8041         think of a way to avoid it.
8042
8043         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8044
8045 2005-08-16  Andy Wingo  <wingo@pobox.com>
8046
8047         * gst/base/gstadapter.h:
8048         * gst/base/gstadapter.c (gst_adapter_take): New function, like
8049         peek() but you own the data. Not terribly efficient atm.
8050
8051 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8052
8053         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8054         (gst_element_found_tags):
8055         * gst/gstutils.h:
8056           Add two utility functions for tag handling.
8057
8058 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8059
8060         * docs/manual/advanced-dataaccess.xml:
8061         * docs/manual/basics-helloworld.xml:
8062           Fix docs to use _bin_add() before _link(), which fixes the examples
8063           with recent core versions (reported by Madhan Raj M
8064           <raj_madan@rediffmail.com>, #313199).
8065
8066 2005-08-16  Wim Taymans  <wim@fluendo.com>
8067
8068         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8069         Added subtract checks.
8070
8071         * docs/design/part-events.txt:
8072         Some more docs about newsegment
8073
8074         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8075         Fix FIXME
8076
8077         * gst/gstcaps.c: (gst_caps_to_string):
8078         Add comments, cleanups.
8079         
8080         * gst/gstelement.c: (gst_element_save_thyself):
8081         cleanups
8082         
8083         * gst/gstvalue.c: (gst_value_collect_int_range),
8084         (gst_string_unwrap), (gst_value_union_int_int_range),
8085         (gst_value_union_int_range_int_range),
8086         (gst_value_intersect_int_int_range),
8087         (gst_value_intersect_int_range_int_range),
8088         (gst_value_intersect_double_double_range),
8089         (gst_value_intersect_double_range_double_range),
8090         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8091         (gst_value_subtract_int_range_int),
8092         (gst_value_subtract_double_range_double),
8093         (gst_value_subtract_double_range_double_range),
8094         (gst_value_subtract_from_list), (gst_value_subtract_list),
8095         (gst_value_can_compare), (gst_value_compare_fraction):
8096         Cleanups, add comments, remove unneeded asserts.
8097
8098 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8099
8100         * tools/gst-launch.c: (event_loop):
8101           don't convert NULL structures to strings
8102
8103 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
8104
8105         * docs/gst/gstreamer-sections.txt:
8106           made some defines private
8107         * docs/gst/tmpl/gstconfig.sgml:
8108         * docs/gst/tmpl/gstqueue.sgml:
8109         * docs/gst/tmpl/gsttaglist.sgml:
8110         * docs/gst/tmpl/gsttypes.sgml:
8111         * docs/gst/tmpl/gstutils.sgml:
8112         * docs/pwg/appendix-porting.xml:
8113         * gst/base/gstbasesink.h:
8114         * gst/base/gstbasesrc.c:
8115         * gst/base/gstbasesrc.h:
8116         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8117         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8118         * gst/gstelement.c: (gst_element_class_init):
8119         * gst/gstpad.c: (gst_pad_class_init):
8120         * gst/gstqueue.c: (gst_queue_class_init):
8121         * gst/gstxml.c: (gst_xml_class_init):
8122           documented all undocumented signal inline
8123         * libs/gst/controller/gst-controller.h:
8124           added padding
8125
8126 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8127
8128         * docs/pwg/appendix-porting.xml:
8129           Document _set_link_function -> _set_setcaps_function.
8130
8131 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8132
8133         * check/Makefile.am:
8134           add a .check target for running the check
8135         * check/gst-libs/controller.c: (GST_START_TEST):
8136           cosmetic fixups
8137         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8138           complete checks for gstbuffer; would be nice if I could get the
8139           gcov stuff to work so I can see if I actually completed gstbuffer.c
8140         * check/gstcheck.h:
8141           add ASSERT_BUFFER_REFCOUNT
8142
8143 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8144
8145         * docs/gst/gstreamer-sections.txt:
8146         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8147         * gst/gsttag.h:
8148           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8149           spew out a warning if a tag that is already registered
8150           is re-registered, unless it is re-registered with a 
8151           different type (#308438).
8152
8153 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8154
8155         * docs/pwg/appendix-porting.xml:
8156         * docs/pwg/building-state.xml:
8157           Add some paragraphs about state changes in 0.9 to the PWG
8158           and the porting guide, in particular about the new meaning
8159           of GST_STATE_PAUSED and how to write state change functions
8160           with concurrent access by multiple threads in mind.
8161
8162 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8163
8164         * docs/gst/gstreamer-docs.sgml:
8165         * docs/libs/gstreamer-libs-docs.sgml:
8166           added deprecation and since indexes
8167         * libs/gst/controller/gst-controller.c:
8168         * libs/gst/controller/gst-helper.c:
8169           added since tags
8170
8171
8172 2005-08-11  Wim Taymans  <wim@fluendo.com>
8173
8174         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8175         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8176         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8177         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8178         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8179         (gst_ghost_pad_set_target):
8180         Actually implement (re)setting the target on a ghostpad
8181         as described in the docs.
8182
8183 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8184
8185         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8186           Check whether GST_DEBUG_NO_COLOR environment variable is
8187           set and disable coloured debug output if that is the case.
8188
8189 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8190
8191         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8192         (gst_type_find_helper):
8193           The memory returned by gst_type_find_peek() needs to
8194           stay valid until the end of a typefind function, and
8195           typefind functions may keep results from different 
8196           offsets around, so we can't just unref the buffer from
8197           the previous _peek(), but have to save all buffers 
8198           returned by _peek() until typefinding is done and only
8199           free them then.
8200
8201 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8202
8203         * docs/gst/gstreamer-sections.txt:
8204         * gst/gstutils.h:
8205           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8206
8207 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8208
8209         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8210           Fix a pretty good memleak.
8211
8212 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8213
8214         * gst/gstiterator.h:
8215           Fix wrong include and 'make distcheck'.
8216
8217 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8218
8219         * gst/gstbin.c: (bin_bus_handler):
8220           Use gst_element_post_message() instead.
8221
8222 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8223
8224         * gst/base/gstadapter.h:
8225         * gst/base/gstbasesink.h:
8226         * gst/base/gstbasesrc.h:
8227         * gst/base/gstbasetransform.h:
8228         * gst/base/gstcollectpads.h:
8229         * gst/base/gstpushsrc.h:
8230         * gst/gstiterator.h:
8231           Add padding to our base elements' class and instance structs and
8232           to GstIterator (you will need to rebuild all plugins and apps!)
8233
8234 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8235
8236         * gst/gstbin.c: (bin_bus_handler):
8237           Make default message forwarding from child->bus to bin->bus
8238           threadsafe and make it not emit warnings if the parent has no bus.
8239
8240 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8241
8242         * gst/gstelement.c: (activate_pads):
8243           On paused->ready, set pad->caps to NULL, as is the documented
8244           behaviour in this state change. Fixes playback of series of
8245           media files when visualization is enabled in Totem.
8246
8247 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8248
8249         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8250           Allow NULL as filter-caps (which means "any").
8251
8252 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8253
8254         * docs/libs/gstreamer-libs-sections.txt:
8255         * libs/gst/controller/gst-controller.c:
8256         * libs/gst/controller/gst-controller.h:
8257         * libs/gst/controller/gst-helper.c:
8258           adding more entries to the docs and fix small doc-bugs
8259
8260 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8261
8262         * docs/gst/gstreamer-docs.sgml:
8263         * docs/gst/gstreamer-sections.txt:
8264         * docs/gst/gstreamer.types:
8265         * docs/gst/tmpl/gstbasesink.sgml:
8266         * docs/gst/tmpl/gstbasesrc.sgml:
8267         * docs/gst/tmpl/gstbasetransform.sgml:
8268         * docs/gst/tmpl/gstfakesrc.sgml:
8269         * gst/base/gstcollectpads.c:
8270         * gst/base/gstcollectpads.h:
8271         * libs/gst/controller/gst-controller.c:
8272         * libs/gst/controller/gst-controller.h:
8273         * libs/gst/controller/gst-helper.c:
8274         * libs/gst/controller/gst-interpolation.c:
8275         * libs/gst/controller/lib.c:
8276           added long/short desc for controller docs
8277           added collectpads base class docs
8278           added correct includes to base-class docs
8279
8280 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8281
8282         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8283         (gst_test_mono_source_set_property),
8284         (gst_test_mono_source_class_init), (GST_START_TEST),
8285         (gst_controller_suite):
8286         * docs/gst/gstreamer-docs.sgml:
8287         * docs/gst/gstreamer-sections.txt:
8288         * docs/gst/gstreamer.types:
8289         * docs/libs/gstreamer-libs-docs.sgml:
8290         * docs/libs/gstreamer-libs-sections.txt:
8291         * gst/base/gstadapter.c:
8292         * libs/gst/controller/gst-controller.c:
8293         (gst_controlled_property_new), (gst_controlled_property_free),
8294         (gst_controller_new_valist),
8295         (gst_controller_remove_properties_valist),
8296         (gst_controller_sink_values), (_gst_controller_finalize):
8297         * libs/gst/controller/gst-controller.h:
8298         * libs/gst/controller/gst-helper.c:
8299         (gst_object_control_properties), (gst_object_uncontrol_properties),
8300         (gst_object_get_controller), (gst_object_set_controller),
8301         (gst_object_sink_values), (gst_object_get_value_arrays),
8302         (gst_object_get_value_array):
8303           more tests (and fixes) for the controller
8304           more docs for the controller
8305           integrated companies docs for the adapter 
8306
8307 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8308
8309         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8310         (GST_START_TEST), (fakesrc_suite):
8311           add tests for sizetype
8312
8313 2005-08-04  Andy Wingo  <wingo@pobox.com>
8314
8315         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8316         fixes buffer_alloc proxying among other things.
8317
8318         * gst/base/gstbasetransform.c:
8319         * gst/base/gstbasetransform.h:
8320         Revert patch to gstbasetransform from 7-28 removing
8321         delay_configure.
8322
8323         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8324         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8325         Semantics changed, should return not the size of the output buffer
8326         but the byte size of a buffer with a given caps.
8327
8328         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8329         debug object.
8330         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8331         out) are not the pad caps until setcaps finishes.
8332         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8333         not-in-place case as well. Deal with changing from in-place to
8334         not-in-place within calling pad_alloc_buffer. Still a bit
8335         concerned about the overhead here...
8336
8337 2005-08-03  Andy Wingo  <wingo@pobox.com>
8338
8339         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8340         fixating is an error.
8341
8342 2005-08-04  Edward Hervey  <edward@fluendo.com>
8343
8344         * gst/base/gstadapter.h: 
8345         Added gst_adapter_get_type() to the header
8346
8347 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8348
8349         * check/Makefile.am:
8350         * check/gst-libs/controller.c:
8351         * libs/gst/controller/gst-controller.c:
8352         (gst_controller_new_valist):
8353           added check test suite for the controller
8354         * gst/base/gstpushsrc.c:
8355           fixed a doc typo
8356
8357 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8358
8359         * docs/gst/Makefile.am:
8360         * docs/gst/gstreamer-docs.sgml:
8361         * docs/gst/gstreamer-sections.txt:
8362         * docs/gst/gstreamer.types:
8363         * docs/gst/tmpl/gstfakesrc.sgml:
8364         * gst/base/README:
8365         * gst/base/gstbasesink.c:
8366         * gst/base/gstbasesink.h:
8367         * gst/base/gstbasesrc.c:
8368         * gst/base/gstbasesrc.h:
8369         * gst/base/gstbasetransform.c:
8370         * gst/base/gstpushsrc.c:
8371         * gst/base/gstpushsrc.h:
8372           add short/long description docs to base classes
8373           add pushsrc to the docs
8374           remove consolidated doc fragments
8375
8376 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8377
8378         * configure.ac:
8379         * docs/libs/Makefile.am:
8380         * docs/libs/gstreamer-libs-docs.sgml:
8381         * docs/libs/gstreamer-libs-sections.txt:
8382         * docs/libs/gstreamer-libs.types:
8383         * examples/Makefile.am:
8384         * examples/controller/.cvsignore:
8385         * examples/controller/Makefile.am:
8386         * examples/controller/audio-example.c: (main):
8387         * libs/gst/Makefile.am:
8388         * libs/gst/controller/.cvsignore:
8389         * libs/gst/controller/Makefile.am:
8390         * libs/gst/controller/gst-controller.c:
8391         (on_object_controlled_property_changed), (gst_timed_value_compare),
8392         (gst_timed_value_find),
8393         (gst_controlled_property_set_interpolation_mode),
8394         (gst_controlled_property_new), (gst_controlled_property_free),
8395         (gst_controller_find_controlled_property),
8396         (gst_controller_new_valist), (gst_controller_new),
8397         (gst_controller_remove_properties_valist),
8398         (gst_controller_remove_properties), (gst_controller_set),
8399         (gst_controller_set_from_list), (gst_controller_unset),
8400         (gst_controller_get), (gst_controller_get_all),
8401         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8402         (gst_controller_get_value_array),
8403         (gst_controller_set_interpolation_mode),
8404         (_gst_controller_finalize), (_gst_controller_init),
8405         (_gst_controller_class_init), (gst_controller_get_type):
8406         * libs/gst/controller/gst-controller.h:
8407         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8408         (g_object_uncontrol_properties), (g_object_get_controller),
8409         (g_object_set_controller), (g_object_sink_values),
8410         (g_object_get_value_arrays), (g_object_get_value_array):
8411         * libs/gst/controller/gst-interpolation.c:
8412         (gst_controlled_property_find_timed_value_node),
8413         (interpolate_none_get), (interpolate_trigger_get),
8414         (interpolate_trigger_get_value_array):
8415         * libs/gst/controller/lib.c: (gst_controller_init):
8416         * pkgconfig/Makefile.am:
8417         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8418         * pkgconfig/gstreamer-control.pc.in:
8419         * testsuite/Makefile.am:
8420         * testsuite/controller/.cvsignore:
8421         * testsuite/controller/Makefile.am:
8422         * testsuite/controller/interpolator.c: (main):
8423           added controller code
8424           removed dparam pc files
8425
8426 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8427         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8428         (gst_collectpads_stop):
8429           Broadcast the condition when shutting down, to make sure we wake all
8430           threads up. Shut down pads on finalize, for safety.
8431
8432 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8433         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8434         (gst_base_transform_handle_buffer),
8435         (gst_base_transform_change_state):
8436           Handle PAUSED->READY->PAUSED transition after negotiation
8437           occurred already.
8438         * gst/gstmessage.c: (gst_message_init):
8439           Extra piece of debug for new messages.
8440
8441 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8442
8443         * configure.ac:
8444         * docs/gst/tmpl/gstbasesrc.sgml:
8445         * docs/gst/tmpl/gstelement.sgml:
8446         * docs/gst/tmpl/gstevent.sgml:
8447         * docs/gst/tmpl/gstfakesrc.sgml:
8448         * docs/gst/tmpl/gstformat.sgml:
8449         * docs/gst/tmpl/gstghostpad.sgml:
8450         * docs/gst/tmpl/gstpad.sgml:
8451         * docs/gst/tmpl/gstquery.sgml:
8452         * docs/gst/tmpl/gststructure.sgml:
8453         * docs/gst/tmpl/gsttaglist.sgml:
8454         * docs/gst/tmpl/gstvalue.sgml:
8455         * docs/libs/gstreamer-libs-docs.sgml:
8456         * docs/libs/gstreamer-libs-sections.txt:
8457         * docs/libs/gstreamer-libs.types:
8458         * libs/gst/Makefile.am:
8459         * libs/gst/control/.cvsignore:
8460         * libs/gst/control/Makefile.am:
8461         * libs/gst/control/control.c:
8462         * libs/gst/control/control.h:
8463         * libs/gst/control/dparam.c:
8464         * libs/gst/control/dparam.h:
8465         * libs/gst/control/dparam_smooth.c:
8466         * libs/gst/control/dparam_smooth.h:
8467         * libs/gst/control/dparamcommon.h:
8468         * libs/gst/control/dparammanager.c:
8469         * libs/gst/control/dparammanager.h:
8470         * libs/gst/control/dplinearinterp.c:
8471         * libs/gst/control/dplinearinterp.h:
8472         * libs/gst/control/unitconvert.c:
8473         * libs/gst/control/unitconvert.h:
8474         * testsuite/Makefile.am:
8475         * testsuite/dynparams/.cvsignore:
8476         * testsuite/dynparams/Makefile.am:
8477         * testsuite/dynparams/dparamstest.c:
8478         * tools/Makefile.am:
8479         * tools/gst-inspect.c: (print_element_info), (main):
8480         * tools/gst-xmlinspect.c: (print_element_info), (main):
8481           deactivate and remove dparams (libgstcontrol)
8482
8483 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8484
8485         * gst/elements/gsttypefindelement.c:
8486         (gst_type_find_element_have_type), (gst_type_find_element_init),
8487         (stop_typefinding), (gst_type_find_element_handle_event),
8488         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8489         * gst/elements/gsttypefindelement.h:
8490           Set caps on all outgoing buffers, not just the first one.
8491
8492 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8493
8494         * gst/elements/gsttypefindelement.c:
8495         (gst_type_find_element_have_type),
8496         (gst_type_find_element_check_set_buffer_caps),
8497         (gst_type_find_element_init), (stop_typefinding),
8498         (gst_type_find_element_handle_event),
8499         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8500         * gst/elements/gsttypefindelement.h:
8501           Set caps on first outgoing buffer when we've found the type.
8502
8503 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8504
8505         * docs/gst/gstreamer-docs.sgml:
8506         * docs/gst/gstreamer-sections.txt:
8507         * docs/gst/tmpl/gstscheduler.sgml:
8508         * docs/gst/tmpl/gstschedulerfactory.sgml:
8509           Remove some old cruft from docs.
8510
8511 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8512
8513         * gst/gstpad.h:
8514           Fix inline docs for GstPadLinkReturn.
8515           
8516         * gst/gststructure.c: (gst_structure_has_name):
8517         * gst/gststructure.h:
8518         * docs/gst/gstreamer-sections.txt:
8519           New API: gst_structure_has_name().
8520
8521 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8522
8523         * configure.ac:
8524           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8525           and _LARGEFILE_SOURCE in config.h as required. Do not 
8526           export those flags in our .pc files any longer (#142209).
8527
8528           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8529
8530         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8531         (gst_file_sink_do_seek), (gst_file_sink_event),
8532         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8533           Redo seek/tell calls with large file support in mind; add some
8534           debugging messages; add log message that tells us when large
8535           file support is unavailable or not enabled for some reason.
8536
8537         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8538           Add log message that tells us when large file support 
8539           is unavailable or not enabled for some reason.
8540
8541 2005-07-29  Wim Taymans  <wim@fluendo.com>
8542
8543         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8544         Added test for removing an element with ghostpad from a bin.
8545         Fixed test as current implementation does the right thing.
8546
8547         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8548         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8549         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8550         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8551         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8552         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8553         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8554         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8555         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8556         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8557         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8558         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8559         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8560         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8561         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8562         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8563         * gst/gstghostpad.h:
8564         Clean up ghostpads, remove properties for internal stuff.
8565         Make threadsafe.
8566         Fix refcounting.
8567         Prepare for switching targets, not all use cases work yet.
8568
8569 2005-07-29  Wim Taymans  <wim@fluendo.com>
8570
8571         * docs/design/part-gstghostpad.txt:
8572         Small update.
8573
8574         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8575         (gst_bin_remove_func):
8576         Unlinking pads while holding the bin LOCK is not a good
8577         idea.
8578
8579         * gst/gstpad.c: (gst_pad_class_init),
8580         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8581         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8582         No prob setting template after creating the pad.
8583
8584 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8585
8586         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8587         (gst_bus_peek), (gst_bus_source_dispatch),
8588         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8589         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8590           gst_bus_poll may be called from other threads. Handle
8591           this nicely by not making poll_data disappear off the
8592           stack once gst_bus_poll returns.
8593           gst_bus_peek now increments the refcount on the returned
8594           message.
8595
8596 2005-07-29  Wim Taymans  <wim@fluendo.com>
8597
8598         * docs/design/part-gstghostpad.txt:
8599         Overview of current GhostPad datastructures and use
8600         cases for changing the target.
8601
8602 2005-07-28  Wim Taymans  <wim@fluendo.com>
8603
8604         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8605         Added checks for hierarchy consistency whan adding linked
8606         elements to bins.
8607
8608         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8609         Added check to test element scheduling without bin/pipeline.
8610
8611         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8612         First add elements to bin, then link.
8613         
8614         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8615         (gst_bin_remove_func):
8616         Unlink pads from elements added/removed from bin to maintain
8617         hierarchy consistency.
8618
8619 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8620
8621         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8622         (gst_base_transform_handle_buffer):
8623         * gst/base/gstbasetransform.h:
8624           Remove broken delay_configure (fixes renegotiation of software
8625           scaling pipelines); remove some leftover printf()s.
8626
8627 2005-07-28  Wim Taymans  <wim@fluendo.com>
8628
8629         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8630         Added some more tests for wrong hierarchy
8631
8632         * docs/design/part-overview.txt:
8633         Some updates.
8634
8635         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8636         Cleanups.
8637
8638         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8639         (gst_element_dispose):
8640         Some more cleanups.
8641
8642         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8643         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8644         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8645         (gst_pad_set_caps), (gst_pad_send_event):
8646         Check for correct hierarchy when linking pads. Moving to
8647         strict requirement for ghostpads when linking elements in
8648         different bins.
8649
8650         * gst/gstpad.h:
8651         Clean ups. Added WRONG_HIERARCHY return value.
8652
8653 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8654
8655         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8656           Better debug if no transform is possible.
8657
8658 2005-07-27  Wim Taymans  <wim@fluendo.com>
8659
8660         * docs/random/wtay/network-transp:
8661         Some old doc I had.
8662
8663 2005-07-27  Wim Taymans  <wim@fluendo.com>
8664
8665         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8666         (gst_dp_event_from_packet):
8667         Fix serialization of seek events.
8668
8669 2005-07-27  Wim Taymans  <wim@fluendo.com>
8670
8671         * check/gst-libs/gdp.c: (GST_START_TEST):
8672         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8673         Fix compilation and fix event serialization.
8674
8675 2005-07-27  Wim Taymans  <wim@fluendo.com>
8676
8677         * CHANGES-0.9:
8678         * docs/design/part-TODO.txt:
8679         * docs/design/part-events.txt:
8680         Some docs updates
8681
8682         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8683         (gst_base_sink_event), (gst_base_sink_do_sync),
8684         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8685         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8686         (gst_base_src_do_seek), (gst_base_src_event_handler),
8687         (gst_base_src_loop):
8688         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8689         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8690         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8691         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8692         (gst_base_transform_set_passthrough),
8693         (gst_base_transform_is_passthrough):
8694         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8695         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8696         Event updates.
8697
8698         * gst/gstbuffer.h:
8699         Use faster casts.
8700
8701         * gst/gstelement.c: (gst_element_seek):
8702         * gst/gstelement.h:
8703         Update gst_element_seek.
8704
8705         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8706         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8707         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8708         (gst_event_new_eos), (gst_event_new_newsegment),
8709         (gst_event_parse_newsegment), (gst_event_new_tag),
8710         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8711         (gst_event_parse_qos), (gst_event_new_seek),
8712         (gst_event_parse_seek), (gst_event_new_navigation):
8713         * gst/gstevent.h:
8714         Make GstEvent use GstStructure. Add parsing code, make sure the
8715         API is sufficiently generic.
8716         Mark possible directions of events and serialization.
8717
8718         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8719         (_gst_message_copy), (gst_message_new_segment_start),
8720         (gst_message_new_segment_done), (gst_message_new_custom),
8721         (gst_message_parse_segment_start),
8722         (gst_message_parse_segment_done):
8723         Small cleanups.
8724
8725         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8726         (gst_pad_set_caps), (gst_pad_send_event):
8727         Update for new events. 
8728         Catch events sent in wrong directions.
8729
8730         * gst/gstqueue.c: (gst_queue_link_src),
8731         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8732         (gst_queue_handle_src_query):
8733         Event updates.
8734
8735         * gst/gsttag.c:
8736         * gst/gsttag.h:
8737         Remove event code from this file.
8738
8739         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8740         (gst_dp_event_from_packet):
8741         Event updates.
8742
8743 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8744
8745         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8746         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8747         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8748           Make debugging actually useful.
8749
8750 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8751
8752         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8753         (gst_pad_fixate_caps):
8754           Implement default fixation once again, so that gst_pad_fixate()
8755           actually does anything at all. This probably needs to be some
8756           sort of a last resort, and use profile-based fixation first, but
8757           since that doesn't exist yet, this is the best we have. Fixes
8758           visualization in Totem.
8759
8760 2005-07-22  Wim Taymans  <wim@fluendo.com>
8761
8762         * docs/design/part-events.txt:
8763         Small update.
8764
8765         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8766         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8767         (gst_base_sink_activate_pull):
8768         Some more comments.
8769
8770         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8771         (gst_fake_src_create):
8772         Fix handoff marshall.
8773
8774         * gst/elements/gstidentity.c: (gst_identity_class_init),
8775         (gst_identity_transform_ip):
8776         We're a real inplace element.
8777
8778         * gst/gstbus.c: (gst_bus_post):
8779         Added some comments.
8780
8781         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8782         * tests/muxing/case1.c: (main):
8783         * tests/sched/dynamic-pipeline.c: (main):
8784         * tests/sched/interrupt1.c: (main):
8785         * tests/sched/interrupt2.c: (main):
8786         * tests/sched/interrupt3.c: (main):
8787         * tests/sched/runxml.c: (main):
8788         * tests/sched/sched-stress.c: (main):
8789         * tests/seeking/seeking1.c: (event_received), (main):
8790         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8791         (main):
8792         * tests/threadstate/threadstate3.c: (main):
8793         * tests/threadstate/threadstate4.c: (main):
8794         * tests/threadstate/threadstate5.c: (main):
8795         Fix the tests.
8796
8797 2005-07-21  Wim Taymans  <wim@fluendo.com>
8798
8799         * docs/design/part-seeking.txt:
8800         Some small additions.
8801
8802         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8803         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8804         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8805         * gst/base/gstbasesink.h:
8806         discont values are gint64, handle the math correctly.
8807
8808         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8809         Make the basesrc report error if the source pad is not linked.
8810
8811         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8812         (gst_queue_loop), (gst_queue_handle_src_query),
8813         (gst_queue_src_activate_push):
8814         Make queue collect data even if the srcpad is not linked.
8815         Start pushing out data as soon as it is linked.
8816
8817         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8818         * gst/gstutils.h:
8819         Added gst_flow_get_name() to ease error reporting.
8820
8821 2005-07-20  Wim Taymans  <wim@fluendo.com>
8822
8823         * gst/gstmessage.c: (gst_message_new_segment_start),
8824         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8825         (gst_message_parse_segment_done):
8826         * gst/gstmessage.h:
8827         Added a bunch of messages for advanced seeking.
8828
8829         * gst/parse/grammar.y:
8830         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8831         (gst_dpman_state_changed):
8832         Fix some new-pad -> pad-added signals
8833
8834 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8835
8836         * docs/manual/appendix-porting.xml:
8837         * docs/pwg/appendix-porting.xml:
8838           Document new-pad/state-change signal renames and the FixedList
8839           type rename.
8840
8841 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8842
8843         * docs/manual/advanced-autoplugging.xml:
8844         * docs/manual/basics-helloworld.xml:
8845         * docs/manual/basics-pads.xml:
8846         * docs/random/ds/0.9-suggested-changes:
8847         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8848         * gst/gstelement.h:
8849         * gst/gstevent.h:
8850         * gst/gstformat.h:
8851         * gst/gstquery.h:
8852         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8853         (gst_structure_parse_array), (gst_structure_parse_value):
8854         * gst/gstvalue.c: (gst_type_is_fixed),
8855         (gst_value_list_prepend_value), (gst_value_list_append_value),
8856         (gst_value_list_get_size), (gst_value_list_get_value),
8857         (gst_value_transform_array_string), (gst_value_serialize_array),
8858         (gst_value_deserialize_array), (gst_value_intersect_array),
8859         (gst_value_is_fixed), (_gst_value_initialize):
8860         * gst/gstvalue.h:
8861           GstElement::new-pad -> pad-added, GstElement::state-change ->
8862           state-changed, GstValueFixedList -> GstValueArray, add format and
8863           flags as their own arguments in gst_element_seek() (should improve
8864           "bindeability"), remove function generators since they don't work
8865           under a whole bunch of compilers (they were deprecated already
8866           anyway).
8867
8868 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8869
8870         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8871         (_gst_debug_register_funcptr):
8872         * gst/gstinfo.h:
8873           Fix illegal cast on some platforms (#309253).
8874
8875 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8876
8877         * gst/gstmessage.c: (gst_message_new_custom):
8878         * gst/gstmessage.h:
8879           Add _new_custom, make _new_application a macro to _new_custom.
8880
8881 2005-07-20  Wim Taymans  <wim@fluendo.com>
8882
8883         * gst/base/gstbasesrc.c: (gst_base_src_init),
8884         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8885         * gst/base/gstbasesrc.h:
8886         Add a gboolean to decide when to push out a discont.
8887
8888         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8889         (gst_queue_loop), (gst_queue_handle_src_query),
8890         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8891         (gst_queue_set_property), (gst_queue_get_property):
8892         Some cleanups.
8893
8894         * tests/threadstate/threadstate1.c: (main):
8895         Make a thread test compile and run... very silly..
8896
8897
8898 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8899
8900         * docs/manual/appendix-porting.xml:
8901           Mention removal of libgstgconf-0.9.la and existence of gconf
8902           elements.
8903
8904 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8905
8906         * docs/pwg/advanced-clock.xml:
8907         * docs/pwg/appendix-porting.xml:
8908         * docs/pwg/intro-preface.xml:
8909         * docs/pwg/other-base.xml:
8910         * docs/pwg/other-manager.xml:
8911         * docs/pwg/other-nton.xml:
8912         * docs/pwg/other-ntoone.xml:
8913         * docs/pwg/other-oneton.xml:
8914         * docs/pwg/pwg.xml:
8915           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8916           demuxer), remove n-to-n (was never written), fix some code examples
8917           and links and update the porting section to include all this.
8918
8919 2005-07-19  Wim Taymans  <wim@fluendo.com>
8920
8921         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8922         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8923         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8924         (gst_queue_src_activate_push), (gst_queue_change_state),
8925         (gst_queue_get_property):
8926         * gst/gstqueue.h:
8927         Propagate GstFlowReturn more intelligently upstream and output
8928         an ERROR/EOS when streaming stopped due to fatal error.
8929
8930 2005-07-19  Wim Taymans  <wim@fluendo.com>
8931
8932         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8933         Don't block forever for the state change to complete, the
8934         pipeline already did with a sensible timeout.
8935
8936 2005-07-19  Wim Taymans  <wim@fluendo.com>
8937
8938         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8939         Make sure we never call the create function is we
8940         got deactivated.
8941
8942 2005-07-19  Andy Wingo  <wingo@pobox.com>
8943
8944         * gst/parse/parse.l: Attempt to solve bug #172815.
8945
8946 2005-07-19  Wim Taymans  <wim@fluendo.com>
8947
8948         * docs/design/part-clocks.txt:
8949         * docs/design/part-events.txt:
8950         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8951         Small docs updates.
8952         Only update the seeking values when we are not
8953         busy streaming.
8954
8955 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8956
8957         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8958           Oops, ignore the result of gst_pad_push_event here.
8959
8960 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8961
8962         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8963         (gst_base_src_activate_push):
8964           Send discont event from the loop function, as pads
8965           aren't activated yet in the activate_push handler.
8966
8967         * gst/gstbin.c: (bin_bus_handler):
8968           Don't leak element name.
8969
8970 2005-07-18  Andy Wingo  <wingo@pobox.com>
8971
8972         * configure.ac: Use AS_LIBTOOL_TAGS.
8973
8974 2005-07-18  Wim Taymans  <wim@fluendo.com>
8975
8976         * docs/gst/gstreamer.types:
8977         Remove deleted types.
8978
8979 2005-07-18  Wim Taymans  <wim@fluendo.com>
8980
8981         * check/elements/gstfakesrc.c: (GST_START_TEST):
8982         * configure.ac:
8983         * gst/Makefile.am:
8984         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8985         (init_popt_callback):
8986         * gst/gst.h:
8987         * gst/gst_private.h:
8988         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8989         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8990         * gst/gstbin.h:
8991         * gst/gstbus.h:
8992         * gst/gstconfig.h.in:
8993         * gst/gstelement.c: (gst_element_class_init),
8994         (gst_element_set_base_time), (gst_element_get_base_time),
8995         (iterator_fold_with_resync), (gst_element_change_state),
8996         (gst_element_dispose), (gst_element_get_bus):
8997         * gst/gstelement.h:
8998         * gst/gstelementfactory.h:
8999         * gst/gsterror.c: (_gst_core_errors_init):
9000         * gst/gsterror.h:
9001         * gst/gstevent.h:
9002         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9003         * gst/gstindex.c:
9004         * gst/gstinfo.c: (_gst_debug_init):
9005         * gst/gstmessage.c: (_gst_message_copy):
9006         * gst/gstmessage.h:
9007         * gst/gstminiobject.h:
9008         * gst/gstobject.c:
9009         * gst/gstobject.h:
9010         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9011         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9012         * gst/gstpad.h:
9013         * gst/gstparse.h:
9014         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9015         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9016         (gst_pipeline_get_last_stream_time):
9017         * gst/gstpipeline.h:
9018         * gst/gstpluginfeature.h:
9019         * gst/gstquery.h:
9020         * gst/gstscheduler.c:
9021         * gst/gstscheduler.h:
9022         * gst/gststructure.h:
9023         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9024         (gst_task_finalize), (gst_task_func), (gst_task_create),
9025         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9026         (gst_task_stop), (gst_task_pause):
9027         * gst/gsttask.h:
9028         * gst/gsttypefind.h:
9029         * gst/gsttypes.h:
9030         * gst/registries/gstlibxmlregistry.c: (load_feature),
9031         (gst_xml_registry_load), (gst_xml_registry_save_feature):
9032         * gst/registries/gstxmlregistry.c:
9033         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9034         * gst/schedulers/threadscheduler.c:
9035         * libs/gst/control/dparammanager.h:
9036         * tools/gst-inspect.c: (print_element_list),
9037         (print_plugin_features), (print_element_features):
9038         * tools/gst-xmlinspect.c: (print_element_list),
9039         (print_plugin_info), (main):
9040         Removed plugable schedulers.
9041         Removed Scheduler/Manager from elements.
9042         Removed gsttypes.h, rearranged includes.
9043         Removed dependency pad<->element, element<>pipeline, and
9044         various others,  fix includes.
9045         implement gst_pad_get_parent() with gst_object_get_parent()
9046         Make GstTask sefcontained.
9047         Fix _get_state() on GstBin, it did not return ASYNC with a 0
9048         timeout.
9049         Fix endless loop in iterator_fold_with_resync.
9050
9051
9052 2005-07-18  Wim Taymans  <wim@fluendo.com>
9053
9054         * gst/Makefile.am:
9055         * gst/gstarch.h:
9056         Remove old file.
9057
9058 2005-07-18  Wim Taymans  <wim@fluendo.com>
9059
9060         * gst/Makefile.am:
9061         No more cothreads.h
9062
9063 2005-07-18  Wim Taymans  <wim@fluendo.com>
9064
9065         * gst/cothreads.c:
9066         * gst/cothreads.h:
9067         Let's remove these.
9068
9069 2005-07-18  Wim Taymans  <wim@fluendo.com>
9070
9071         * docs/design/part-dynamic.txt:
9072         * docs/design/part-events.txt:
9073         * docs/design/part-seeking.txt:
9074         Some more docs in the works.
9075
9076         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9077         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9078         (gst_base_transform_setcaps), (gst_base_transform_get_size),
9079         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9080         (gst_base_transform_handle_buffer),
9081         (gst_base_transform_sink_activate_push),
9082         (gst_base_transform_src_activate_pull),
9083         (gst_base_transform_set_passthrough),
9084         (gst_base_transform_is_passthrough):
9085         Refcounting fixes.
9086
9087         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9088         Cleanups.
9089
9090         * gst/gstevent.c: (gst_event_finalize):
9091         Set SRC to NULL.
9092
9093         * gst/gstutils.c: (gst_element_unlink),
9094         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9095         (gst_pad_proxy_setcaps):
9096         * gst/gstutils.h:
9097         Add _get_parent_element() to get a pads parent as an element.
9098
9099 2005-07-18  Wim Taymans  <wim@fluendo.com>
9100
9101         * check/gst/gstbin.c: (GST_START_TEST):
9102         Remove bogus test.
9103
9104 2005-07-18  Wim Taymans  <wim@fluendo.com>
9105
9106         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9107         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9108         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9109         (gst_base_sink_event), (gst_base_sink_do_sync),
9110         (gst_base_sink_chain), (gst_base_sink_loop),
9111         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9112         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9113         Refcounting fixes.
9114         Fix logic for returning ASYNC when not prerolled.
9115
9116 2005-07-18  Wim Taymans  <wim@fluendo.com>
9117
9118         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9119         Fix nasty refcount bug.
9120
9121 2005-07-16 Philippe Khalaf <burger@speedy.org>
9122
9123         * gst/elements/gstfdsrc.c:
9124         * gst/elements/gstfdsrc.h:
9125         * gst/elements/gstelements.c:
9126         * gst/elements/Makefile.am:
9127         Ported fdsrc to 0.9.
9128
9129 2005-07-16  Wim Taymans  <wim@fluendo.com>
9130
9131         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9132         (gst_base_sink_do_sync):
9133         Fix compile error.
9134
9135 2005-07-16  Wim Taymans  <wim@fluendo.com>
9136
9137         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9138         (gst_base_sink_event), (gst_base_sink_get_times),
9139         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9140         * gst/base/gstbasesink.h:
9141         Store and use discont values when syncing buffers as described
9142         in design docs.
9143         
9144         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9145         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9146         (gst_base_src_activate_push):
9147         Push discont event when starting.
9148
9149         * gst/elements/gstidentity.c: (gst_identity_transform):
9150         Small cleanups.
9151
9152         * gst/gstbin.c: (gst_bin_change_state):
9153         Small cleanups in base_time  distribution.
9154
9155         * gst/gstelement.c: (gst_element_set_base_time),
9156         (gst_element_get_base_time), (gst_element_change_state):
9157         * gst/gstelement.h:
9158         Added methods for the base_time of the element.
9159         Some MT fixes.
9160
9161         * gst/gstpipeline.c: (gst_pipeline_send_event),
9162         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9163         (gst_pipeline_get_last_stream_time):
9164         * gst/gstpipeline.h:
9165         MT fixes.
9166         Handle seeking as described in design doc, remove stream_time
9167         hack.
9168         Cleanups clock and stream_time selection code. Added accessors
9169         for the stream_time.
9170         
9171
9172 2005-07-16  Andy Wingo  <wingo@pobox.com>
9173
9174         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9175         (#305291).
9176
9177 2005-07-16  Wim Taymans  <wim@fluendo.com>
9178
9179         * check/gst/gstbin.c: (GST_START_TEST):
9180         Make elements silent as the deep_notify refs the
9181         parent, which might make the test fail.
9182
9183         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9184         Don't hold the lock for too long.
9185
9186 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9187
9188         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9189           Don't unref the caps we passed to gst_caps_make_writable() after
9190           passing them. gst_caps_make_writable() will do that for us.
9191
9192 2005-07-15  Andy Wingo  <wingo@pobox.com>
9193
9194         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9195         (#157311).
9196
9197         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9198         own marshalling function for the handoff signal. Properly type the
9199         buffer as a buffer. Fixes some warnings. Should do a more general
9200         solution.
9201         (gst_identity_class_init): Plug into the right marshaller.
9202
9203 2005-07-15  Wim Taymans  <wim@fluendo.com>
9204
9205         * docs/design/part-TODO.txt:
9206         * docs/design/part-clocks.txt:
9207         * docs/design/part-element-sink.txt:
9208         * docs/design/part-events.txt:
9209         * docs/design/part-gstpipeline.txt:
9210         Updated docs, mostly DISCONT related.
9211
9212 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9213
9214         * docs/pwg/building-pads.xml:
9215           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9216
9217 2005-07-15  Andy Wingo  <wingo@pobox.com>
9218
9219         * tools/gst-typefind.c: Update, add copyright block.
9220
9221         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9222         Normalize and truncate caps before fixation.
9223
9224         * gst/gstcaps.h:
9225         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9226         discards all but the first structure from its argument.
9227
9228 2005-07-15  Wim Taymans  <wim@fluendo.com>
9229
9230         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9231         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9232         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9233         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9234         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9235         (gst_base_transform_chain), (gst_base_transform_change_state),
9236         (gst_base_transform_set_passthrough),
9237         (gst_base_transform_is_passthrough):
9238         * gst/base/gstbasetransform.h:
9239         Make passthrough work using the bufferpools.
9240         Changed API a bit, subclasses have to write into a buffer
9241         provided by the base class.
9242         More debug info in nego functions.
9243         
9244         * gst/elements/gstidentity.c: (gst_identity_init),
9245         (gst_identity_transform):
9246         Port to new base class.
9247
9248 2005-07-15  Wim Taymans  <wim@fluendo.com>
9249
9250         * gst/gstmessage.c: (gst_message_new_state_changed):
9251         * tools/gst-launch.c: (event_loop), (main):
9252         Totally dump messages in -launch with the -m option.
9253         Fix message name for State messages,
9254
9255 2005-07-14  Wim Taymans  <wim@fluendo.com>
9256
9257         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9258         Post error messages on errors.
9259
9260 2005-07-14  Wim Taymans  <wim@fluendo.com>
9261
9262         * gst/gstcaps.c: (gst_caps_do_simplify):
9263         Remove debug info.
9264
9265         * gst/gsterror.h:
9266         Define error for stream stopped.
9267
9268         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9269         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9270         Do proper return values.
9271
9272         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9273         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9274         (gst_pad_get_range):
9275         Better return values.
9276
9277         * gst/gstpad.h:
9278         Reorganise return values, add macro to check for fatal errors.
9279
9280         * gst/gstqueue.c: (gst_queue_chain):
9281         Return proper GstFlowReturn values,
9282
9283 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9284
9285         * docs/gst/gstreamer-sections.txt:
9286         * docs/gst/gstreamer.types:
9287         * docs/gst/tmpl/gst.sgml:
9288         * docs/gst/tmpl/gstbasesink.sgml:
9289         * docs/gst/tmpl/gstbasesrc.sgml:
9290         * docs/gst/tmpl/gstbasetransform.sgml:
9291         * docs/gst/tmpl/gstbin.sgml:
9292         * docs/gst/tmpl/gstbuffer.sgml:
9293         * docs/gst/tmpl/gstcaps.sgml:
9294         * docs/gst/tmpl/gstclock.sgml:
9295         * docs/gst/tmpl/gstcompat.sgml:
9296         * docs/gst/tmpl/gstconfig.sgml:
9297         * docs/gst/tmpl/gstelement.sgml:
9298         * docs/gst/tmpl/gstelementdetails.sgml:
9299         * docs/gst/tmpl/gstelementfactory.sgml:
9300         * docs/gst/tmpl/gstenumtypes.sgml:
9301         * docs/gst/tmpl/gsterror.sgml:
9302         * docs/gst/tmpl/gstevent.sgml:
9303         * docs/gst/tmpl/gstfakesink.sgml:
9304         * docs/gst/tmpl/gstfakesrc.sgml:
9305         * docs/gst/tmpl/gstfilesink.sgml:
9306         * docs/gst/tmpl/gstfilesrc.sgml:
9307         * docs/gst/tmpl/gstfilter.sgml:
9308         * docs/gst/tmpl/gstformat.sgml:
9309         * docs/gst/tmpl/gstghostpad.sgml:
9310         * docs/gst/tmpl/gstimplementsinterface.sgml:
9311         * docs/gst/tmpl/gstindex.sgml:
9312         * docs/gst/tmpl/gstindexfactory.sgml:
9313         * docs/gst/tmpl/gstinfo.sgml:
9314         * docs/gst/tmpl/gstiterator.sgml:
9315         * docs/gst/tmpl/gstmacros.sgml:
9316         * docs/gst/tmpl/gstmemchunk.sgml:
9317         * docs/gst/tmpl/gstminiobject.sgml:
9318         * docs/gst/tmpl/gstobject.sgml:
9319         * docs/gst/tmpl/gstpad.sgml:
9320         * docs/gst/tmpl/gstpadtemplate.sgml:
9321         * docs/gst/tmpl/gstparse.sgml:
9322         * docs/gst/tmpl/gstpipeline.sgml:
9323         * docs/gst/tmpl/gstplugin.sgml:
9324         * docs/gst/tmpl/gstpluginfeature.sgml:
9325         * docs/gst/tmpl/gstquery.sgml:
9326         * docs/gst/tmpl/gstqueue.sgml:
9327         * docs/gst/tmpl/gstregistry.sgml:
9328         * docs/gst/tmpl/gstregistrypool.sgml:
9329         * docs/gst/tmpl/gstscheduler.sgml:
9330         * docs/gst/tmpl/gstschedulerfactory.sgml:
9331         * docs/gst/tmpl/gststructure.sgml:
9332         * docs/gst/tmpl/gstsystemclock.sgml:
9333         * docs/gst/tmpl/gsttaglist.sgml:
9334         * docs/gst/tmpl/gsttagsetter.sgml:
9335         * docs/gst/tmpl/gsttrace.sgml:
9336         * docs/gst/tmpl/gsttrashstack.sgml:
9337         * docs/gst/tmpl/gsttypefind.sgml:
9338         * docs/gst/tmpl/gsttypefindfactory.sgml:
9339         * docs/gst/tmpl/gsttypes.sgml:
9340         * docs/gst/tmpl/gsturihandler.sgml:
9341         * docs/gst/tmpl/gsturitype.sgml:
9342         * docs/gst/tmpl/gstutils.sgml:
9343         * docs/gst/tmpl/gstvalue.sgml:
9344         * docs/gst/tmpl/gstversion.sgml:
9345         * docs/gst/tmpl/gstxml.sgml:
9346         * docs/libs/tmpl/gstcontrol.sgml:
9347         * docs/libs/tmpl/gstdataprotocol.sgml:
9348         * docs/libs/tmpl/gstdparam.sgml:
9349         * docs/libs/tmpl/gstdplinint.sgml:
9350         * docs/libs/tmpl/gstdpman.sgml:
9351         * docs/libs/tmpl/gstdpsmooth.sgml:
9352         * docs/libs/tmpl/gstgetbits.sgml:
9353         * docs/libs/tmpl/gstunitconvert.sgml:
9354         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9355         (gst_push_src_base_init), (gst_push_src_class_init),
9356         (gst_push_src_init), (gst_push_src_create):
9357         * gst/base/gstpushsrc.h:
9358         * gst/elements/gstelements.c:
9359         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9360         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9361         (gst_fake_sink_init), (gst_fake_sink_set_property),
9362         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9363         (gst_fake_sink_event), (gst_fake_sink_preroll),
9364         (gst_fake_sink_render), (gst_fake_sink_change_state):
9365         * gst/elements/gstfakesink.h:
9366         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9367         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9368         (gst_fake_src_base_init), (gst_fake_src_class_init),
9369         (gst_fake_src_init), (gst_fake_src_event_handler),
9370         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9371         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9372         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9373         (gst_fake_src_create_buffer), (gst_fake_src_create),
9374         (gst_fake_src_start), (gst_fake_src_stop):
9375         * gst/elements/gstfakesrc.h:
9376         * gst/elements/gstfilesink.c: (_do_init),
9377         (gst_file_sink_base_init), (gst_file_sink_class_init),
9378         (gst_file_sink_init), (gst_file_sink_dispose),
9379         (gst_file_sink_set_location), (gst_file_sink_set_property),
9380         (gst_file_sink_get_property), (gst_file_sink_open_file),
9381         (gst_file_sink_close_file), (gst_file_sink_query),
9382         (gst_file_sink_event), (gst_file_sink_render),
9383         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9384         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9385         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9386         * gst/elements/gstfilesink.h:
9387         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9388         (gst_file_src_class_init), (gst_file_src_init),
9389         (gst_file_src_finalize), (gst_file_src_set_location),
9390         (gst_file_src_set_property), (gst_file_src_get_property),
9391         (gst_file_src_map_region), (gst_file_src_map_small_region),
9392         (gst_file_src_create_mmap), (gst_file_src_create_read),
9393         (gst_file_src_create), (gst_file_src_is_seekable),
9394         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9395         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9396         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9397         (gst_file_src_uri_handler_init):
9398         * gst/elements/gstfilesrc.h:
9399           more autistic cleanliness in functions/names/defines
9400
9401 2005-07-13  Andy Wingo  <wingo@pobox.com>
9402
9403         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9404         source couldn't negotiate.
9405
9406         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9407         connections again.
9408
9409         * gst/gstutils.h:
9410         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9411         function. I am channeling Hades. Put your boots on suckers!!!
9412
9413 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9414
9415         * testsuite/caps/Makefile.am:
9416         * testsuite/caps/value_compare.c:
9417         * testsuite/caps/value_intersect.c:
9418         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9419           move two testsuite apps over to the check dir
9420
9421 2005-07-12  Wim Taymans  <wim@fluendo.com>
9422
9423         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9424         Added more debug info in the negotiate process.
9425
9426         * gst/gstmessage.h:
9427         Prepare for segment playback.
9428
9429         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9430         Better debugging.
9431
9432         * gst/gstutils.c:
9433         Some more docs.
9434
9435         * tools/gst-launch.c: (main):
9436         NULL pipeline on errors.
9437
9438 2005-07-12  Andy Wingo  <wingo@pobox.com>
9439
9440         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9441         not it comes from a malloc region. Make sure our copy gets freed.
9442
9443 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9444
9445         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9446         * check/gst/gstmessage.c: (GST_START_TEST):
9447         * check/gst/gststructure.c: (GST_START_TEST),
9448         (gst_structure_suite), (main):
9449           more testing
9450         * gst/gstelement.c: (gst_element_message_full):
9451           clean up GError and debug string now that they get copied
9452         * gst/gstmessage.c: (gst_message_new_error),
9453         (gst_message_new_warning), (gst_message_parse_error),
9454         (gst_message_parse_warning):
9455           use GST_TYPE_G_ERROR for structure_new, and take copies of
9456           arguments, so that we don't mess up refcounting
9457
9458 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9459
9460         * check/Makefile.am:
9461           add per-test valgrind targets
9462         * check/gst-libs/gdp.c: (GST_START_TEST),
9463         (gst_data_protocol_suite), (main):
9464           clean up
9465
9466 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9467
9468         * check/Makefile.am:
9469           instate more valgrindable tests
9470         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9471         (GST_START_TEST), (fakesrc_suite):
9472         * check/gst/gstpad.c: (GST_START_TEST):
9473         * check/gst/gststructure.c: (GST_START_TEST):
9474           fix test leaks
9475         * docs/gst/tmpl/gstminiobject.sgml:
9476         * gst/gstpad.c: (gst_pad_finalize):
9477           fix the static mutex leak
9478
9479 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9480
9481         * check/Makefile.am:
9482           add two more tests for valgrinding
9483         * check/gst/gstvalue.c: (GST_START_TEST):
9484           test refcount of deserialized buffer, found a leak
9485         * docs/gst/gstreamer-docs.sgml:
9486         * docs/gst/gstreamer-sections.txt:
9487         * docs/gst/gstreamer.types:
9488         * docs/gst/tmpl/gstminiobject.sgml:
9489           add miniobject to docs
9490         * gst/gstminiobject.c:
9491           add some docs
9492         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9493         (gst_string_unwrap):
9494           fix a hard-to-find invalid write for one of the tests
9495           fix a leak for deserialized buffers
9496
9497 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9498
9499         * docs/pwg/advanced-events.xml:
9500         * docs/pwg/advanced-request.xml:
9501         * docs/pwg/advanced-scheduling.xml:
9502         * docs/pwg/appendix-porting.xml:
9503         * docs/pwg/building-boiler.xml:
9504         * docs/pwg/intro-preface.xml:
9505         * docs/pwg/other-ntoone.xml:
9506           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9507           of example code and explanation for pad activation, loop() and
9508           getrange() functions and a bit more. Remove old comments pointing
9509           to loop-functions.
9510         * examples/pwg/Makefile.am:
9511           Add loop/getrange examples.
9512
9513 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9514
9515         * configure.ac:
9516           check for valgrind binary + some fixes
9517         * check/gst.supp:
9518           valgrind suppressions for the tests
9519         * check/Makefile.am:
9520           add a valgrind: target that valgrinds the unit tests
9521         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9522         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9523         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9524         * check/gst/gstghostpad.c:
9525           added some cleanup
9526         * check/gst/gstdata.c:
9527           removed
9528         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9529         (thread_unref), (gst_mini_object_suite), (main):
9530           added
9531         * gst/gst.c: (gst_deinit):
9532         * gst/gst.h:
9533           add a method to clean up.
9534         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9535         (gst_system_clock_obtain):
9536           allow for disposing the system clock.
9537         * tools/gst-launch.c: (main):
9538           deinit
9539
9540 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9541
9542         * docs/gst/tmpl/gstbasesrc.sgml:
9543         * docs/gst/tmpl/gstfakesrc.sgml:
9544         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9545         (gst_base_src_init), (gst_base_src_set_property),
9546         (gst_base_src_get_property), (gst_base_src_get_range),
9547         (gst_base_src_start):
9548         * gst/base/gstbasesrc.h:
9549           add num-buffers property
9550         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9551         (gst_fakesrc_init), (gst_fakesrc_set_property),
9552         (gst_fakesrc_get_property), (gst_fakesrc_create),
9553         (gst_fakesrc_start):
9554           remove num-buffers property
9555
9556 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9557
9558         * docs/gst/gstreamer-sections.txt:
9559         * docs/gst/tmpl/gstbasesink.sgml:
9560         * docs/gst/tmpl/gstbasesrc.sgml:
9561         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9562         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9563         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9564         (gst_base_sink_set_property), (gst_base_sink_get_property),
9565         (gst_base_sink_handle_object), (gst_base_sink_event),
9566         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9567         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9568         (gst_base_sink_loop), (gst_base_sink_deactivate),
9569         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9570         (gst_base_sink_change_state):
9571         * gst/base/gstbasesink.h:
9572         * gst/base/gstbasesrc.h:
9573         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9574         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9575         (gst_filesink_init):
9576           more macro splitting
9577
9578 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9579
9580         * gst/gstelement.c: (gst_element_get_bus):
9581           add debug
9582         * tools/gst-launch.c: (check_intr), (event_loop):
9583           fix bus leaks
9584
9585 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9586
9587         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9588           fix a caps leak
9589
9590 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9591
9592         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9593         (gst_base_src_finalize):
9594           add finalize method and clean up properly
9595         * gst/gstpipeline.c: (gst_pipeline_dispose):
9596           add debug
9597
9598 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9599
9600         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9601         (gst_bin_suite):
9602           add more things to check
9603         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9604         * gst/gstelement.c:
9605           more debug
9606
9607 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9608
9609         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9610         (GST_START_TEST), (fakesrc_suite):
9611         * check/gst-libs/gdp.c: (GST_START_TEST):
9612         * check/gst/gst.c: (GST_START_TEST):
9613         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9614         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9615         * check/gst/gstbus.c: (GST_START_TEST):
9616         * check/gst/gstcaps.c: (GST_START_TEST):
9617         * check/gst/gstdata.c: (GST_START_TEST):
9618         * check/gst/gstelement.c: (GST_START_TEST):
9619         * check/gst/gstghostpad.c: (GST_START_TEST):
9620         * check/gst/gstiterator.c: (GST_START_TEST):
9621         * check/gst/gstmessage.c: (GST_START_TEST):
9622         * check/gst/gstobject.c: (GST_START_TEST):
9623         * check/gst/gstpad.c: (GST_START_TEST):
9624         * check/gst/gststructure.c: (GST_START_TEST):
9625         * check/gst/gstsystemclock.c: (GST_START_TEST),
9626         (gst_systemclock_suite):
9627         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9628         * check/gst/gstvalue.c: (GST_START_TEST):
9629         * check/pipelines/cleanup.c: (GST_START_TEST):
9630         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9631         * check/states/sinks.c: (GST_START_TEST):
9632         * check/gstcheck.c: (gst_check_init):
9633         * check/gstcheck.h:
9634           add debugging category
9635           use GST_START_TEST now, so we add a debug line
9636
9637 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9638
9639         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9640           add test for state change message on a bin
9641         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9642           add another test
9643         * gst/gstbin.c: (gst_bin_init):
9644         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9645         * gst/gstelement.c: (gst_element_post_message),
9646         (gst_element_set_state):
9647         * gst/gstelementfactory.c: (gst_element_factory_create):
9648         * gst/gstmessage.c: (gst_message_new):
9649         * gst/gstscheduler.c:
9650           various debugging additions and cleanups
9651
9652 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9653
9654         * check/Makefile.am:
9655         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9656         (main):
9657           adding tests for elements
9658         * gst/gstelement.c: (gst_element_dispose):
9659
9660 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9661
9662         * gst/registries/gstlibxmlregistry.c: (load_feature):
9663           plug more leaks.  A simple gst_init() now is leakfree, yay.
9664
9665 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9666
9667         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9668         (gst_xml_registry_load):
9669           plug another memleak
9670
9671 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9672
9673         * configure.ac:
9674           use GST_SET_ERROR_CFLAGS
9675         * docs/faq/cvs.xml:
9676           change to ERROR_CFLAGS
9677
9678 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9679
9680         * configure.ac:
9681           make GST_ERROR_CFLAGS overridable and re-enable Werror
9682         * docs/faq/cvs.xml:
9683           add a note about error CFLAGS
9684         * docs/gst/tmpl/gstfakesrc.sgml:
9685         * gst/elements/gstfakesrc.c:
9686           comment out some unused code
9687         * gst/gst.c: (split_and_iterate):
9688         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9689         (load_feature):
9690           plug some memleaks
9691
9692 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9693
9694         * common/Makefile.am:
9695         * common/gtk-doc.mak:
9696         * docs/gst/Makefile.am:
9697           factor out gtk-doc.mak
9698
9699 2005-07-07  Wim Taymans  <wim@fluendo.com>
9700
9701         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9702         (gst_thread_scheduler_dispose):
9703         Unlock the STREAM_LOCK completely.
9704
9705 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9706
9707         * check/Makefile.am:
9708         * check/elements/.cvsignore:
9709         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9710         (START_TEST), (fakesrc_suite), (main):
9711         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9712         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9713         (gst_fakesrc_create), (gst_fakesrc_start):
9714         * gst/elements/gstfakesrc.h:
9715           adding a first element test
9716
9717 2005-07-07  Andy Wingo  <wingo@pobox.com>
9718
9719         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9720         debug message.
9721
9722 2005-07-07  Wim Taymans  <wim@fluendo.com>
9723
9724         * gst/gstquery.c:
9725         * gst/gstquery.h:
9726         Remove old types
9727
9728 2005-07-07  Wim Taymans  <wim@fluendo.com>
9729
9730         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9731         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9732         Allow subclasses to implement their own negotiation.
9733
9734 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9735
9736         * docs/design/part-gstbin.txt:
9737         * docs/design/part-gstpipeline.txt:
9738           Update design notes to reflect the movement of
9739           responsibility for bus handling from GstPipeline to
9740           GstBin
9741
9742 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9743
9744         * configure.ac:
9745           Remove unnecessary queue2/3/4 examples.
9746
9747 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9748
9749         * examples/Makefile.am:
9750         * examples/helloworld/helloworld.c: (event_loop), (main):
9751         * examples/queue/queue.c: (event_loop), (main):
9752         * examples/queue2/queue2.c: (main):
9753           Update a couple of the examples to work again.
9754
9755         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9756         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9757          Spelling corrections and extra debug.
9758         
9759         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9760         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9761         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9762         * gst/gstbin.h:
9763         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9764         (gst_pipeline_change_state):
9765         * gst/gstpipeline.h:
9766           Move the bus handler for children to the GstBin, and create a
9767           separate bus for receiving messages from children to the one the
9768           bus sends 'upwards' on.
9769
9770 2005-07-06  Wim Taymans  <wim@fluendo.com>
9771
9772         * gst/base/README:
9773         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9774         (gst_base_sink_handle_object), (gst_base_sink_loop),
9775         (gst_base_sink_change_state):
9776         * gst/base/gstbasesink.h:
9777         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9778         (gst_base_src_init), (gst_base_src_setcaps),
9779         (gst_base_src_getcaps), (gst_base_src_loop),
9780         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9781         (gst_base_src_start), (gst_base_src_change_state):
9782         * gst/base/gstbasesrc.h:
9783         Make basesrc negotiate.
9784         Handle the case where preroll fails in basesink.
9785         Update README.
9786
9787 2005-07-06  Wim Taymans  <wim@fluendo.com>
9788
9789         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9790         Implement the fixate function.
9791         Clean up acceptcaps.
9792
9793 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9794
9795         * docs/pwg/building-filterfactory.xml:
9796         * docs/pwg/pwg.xml:
9797           Remove never-written filter-factory chapter; I'll add the various
9798           base classes to part 4 ("other element types") later on.
9799
9800 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9801
9802         * docs/pwg/advanced-negotiation.xml:
9803         * docs/pwg/building-boiler.xml:
9804         * docs/pwg/building-pads.xml:
9805         * docs/pwg/pwg.xml:
9806         * examples/pwg/Makefile.am:
9807           Add a chapter on caps negotiation, simplify the original code
9808           samples a bit w.r.t. caps negotiation, add link to the advanced
9809           section. Add a bunch of examples showing different use cases of
9810           different types of caps negotiation. Upstream renegotiation isn't
9811           fully documented yet since nobody knows how that works.
9812
9813 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9814
9815         * check/gst/gstpad.c:
9816         * check/gstcheck.c:
9817         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9818           if pad has no parent, return NULL as list of internal links
9819
9820 2005-07-05  Andy Wingo  <wingo@pobox.com>
9821
9822         * gst/elements/gstfilesrc.c:
9823         * gst/elements/gstfakesrc.c: 
9824         * gst/base/gstpushsrc.c:
9825         * gst/base/gstbasesrc.h: 
9826         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9827         
9828 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9829
9830         * Makefile.am:
9831           better report generation target (lcov needs a patch)
9832
9833 2005-07-05  Andy Wingo  <wingo@pobox.com>
9834
9835         * gst/elements, testsuite: Null if we got it...
9836
9837 2005-07-05  Wim Taymans  <wim@fluendo.com>
9838
9839         * configure.ac:
9840         * libs/gst/dataprotocol/Makefile.am:
9841         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9842         * libs/gst/dataprotocol/dataprotocol.h:
9843         * pkgconfig/Makefile.am:
9844         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9845         * pkgconfig/gstreamer-dataprotocol.pc.in:
9846         Ported dataprotol to 0.9. 
9847         Added pkgconfig files.
9848
9849 2005-07-05  Andy Wingo  <wingo@pobox.com>
9850
9851         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9852         Default to returning TRUE for the case when tranform_caps returns
9853         a fixed caps, like for identity or volume.
9854
9855         * check/gst/gstbus.c (pound_bus_with_messages): 
9856         * check/gst/gstmessage.c (START_TEST): 
9857         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9858         message API change.
9859
9860         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9861         logic weaks here: always run transform_caps, trying passthrough
9862         operation only if the original caps intersects with the transform.
9863
9864         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9865         source and sink caps.
9866
9867         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9868         Intersect the peer caps with the pad template before going into
9869         transform_caps.
9870         (gst_base_transform_transform_caps): More debugging.
9871
9872         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9873         src argument.
9874
9875 2005-07-04  Edward Hervey  <edward@fluendo.com>
9876
9877         * gst/gstutils.c:
9878         * gst/gstutils.h:
9879         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9880         in bindings.
9881
9882 2005-07-04  Andy Wingo  <wingo@pobox.com>
9883
9884         * check/gst/gstpad.c: Only set explicit caps on pads.
9885
9886 2005-07-01  Andy Wingo  <wingo@pobox.com>
9887
9888         * tests/network-clock.scm: Commentary update.
9889
9890         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9891         Didn't really make sense, not implementable with basetransform,
9892         etc.
9893         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9894         attempt at implementing the sync property, needs an unlock method.
9895
9896         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9897         New func, by default returns the same caps (the identity
9898         transformation).
9899         (gst_base_transform_getcaps): Uses transform_caps to return
9900         something sensible.
9901         (gst_base_transform_setcaps): Complicated logic to get caps on
9902         both pads, even if they are different, and to call set_caps once
9903         for every time both pads get their caps set.
9904         (gst_base_transform_handle_buffer): Give the ref to the transform
9905         function. Allows in-place modification of the buffer.
9906
9907         * gst/base/gstbasetransform.h (transform_caps): New class method.
9908         Given caps on one side, what can I do on the other.
9909         (set_caps): Take two caps, one for each side of the element.
9910
9911         * gst/gstpad.h:
9912         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9913         caps in place. This is safe because we can check the mutability of
9914         the caps, and a good idea because fixate functions are just called
9915         as a matter of last resort. (Not actually implemented.)
9916         (gst_pad_set_caps): If the caps we're setting is actually the same
9917         as the existing pad caps, just update the pointer without calling
9918         setcaps. Assert that caps is either NULL or fixed, as per the
9919         docs.
9920
9921         * gst/gstghostpad.c: Update for fixate changes.
9922
9923 2005-07-02  Andy Wingo  <wingo@pobox.com>
9924
9925         * gst/gstcaps.c:
9926         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9927         two refcounts makes it immutable, which is enough. Doc more.
9928
9929 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9930
9931         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9932           Put the mini_object into GValue as a mini_object,
9933           not a gpointer, since that's how we declared
9934           the signal.
9935
9936 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9937
9938         * examples/pwg/Makefile.am:
9939           Fix buildbot again.
9940
9941 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9942
9943         * docs/pwg/building-testapp.xml:
9944           Add extra check.
9945         * examples/pwg/Makefile.am:
9946           Fix buildbot.
9947
9948 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9949
9950         * configure.ac:
9951         * examples/Makefile.am:
9952         * examples/pwg/Makefile.am:
9953         * examples/pwg/extract.pl:
9954           Enable building the PWG examples.
9955         * docs/pwg/advanced-interfaces.xml:
9956           Add URI interface stub.
9957         * docs/pwg/advanced-types.xml:
9958         * docs/pwg/other-autoplugger.xml:
9959         * docs/pwg/appendix-porting.xml:
9960         * docs/pwg/pwg.xml:
9961           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9962         * docs/pwg/building-boiler.xml:
9963         * docs/pwg/building-chainfn.xml:
9964         * docs/pwg/building-pads.xml:
9965         * docs/pwg/building-props.xml:
9966         * docs/pwg/building-state.xml:
9967         * docs/pwg/building-testapp.xml:
9968           Update the building-*.xml parts for 0.9 changes. All examples
9969           code blocks compile in examples/pwg/*.
9970
9971 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9972
9973         * docs/manual/advanced-autoplugging.xml:
9974         * docs/manual/appendix-checklist.xml:
9975         * docs/manual/appendix-integration.xml:
9976         * docs/manual/highlevel-components.xml:
9977           Fix playbin/decodebin examples, update docs a bit, mention bus
9978           instead of signals in various places, mention kmplayer and
9979           kaffeine since they have a working GStreamer backend in the KDE
9980           section.
9981
9982 2005-06-30  Wim Taymans  <wim@fluendo.com>
9983
9984         * CHANGES-0.9:
9985         * docs/design/draft-ghostpads.txt:
9986         * docs/design/draft-push-pull.txt:
9987         * docs/design/draft-query.txt:
9988         * docs/design/part-TODO.txt:
9989         * docs/design/part-query.txt:
9990         Added CHANGES-0.9 doc, updated status of other docs.
9991         
9992         * gst/gstquery.h:
9993         Remove "hmm" macro
9994
9995 2005-06-30  Wim Taymans  <wim@fluendo.com>
9996
9997         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9998         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9999         (gst_base_sink_change_state):
10000         * gst/base/gstbasesink.h:
10001         Some tweaks, only EOS and a buffer complete a preroll.
10002
10003 2005-06-30  Andy Wingo  <wingo@pobox.com>
10004
10005         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10006         activate_push down to the internal pad as well.
10007
10008 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
10009
10010         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10011
10012         * gst/gsttaginterface.c:
10013           Some documentation fixes (#307394 and #307397).
10014
10015 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
10016
10017         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10018
10019         * gst/gstvalue.c: (gst_value_intersect_list):
10020           Fix memleak (#309125).
10021
10022 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10023
10024         * docs/manual/advanced-dataaccess.xml:
10025           Fix fakesrc example to compile; doesn't work, bug somewhere...?
10026         * docs/manual/basics-pads.xml:
10027           Add reference for filtered caps to above chapter.
10028
10029 2005-06-30  Wim Taymans  <wim@fluendo.com>
10030
10031         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10032         (gst_bin_change_state):
10033         Probes are gone.
10034         Lame attempt at making the state change function a bit
10035         more readable.
10036
10037 2005-06-30  Wim Taymans  <wim@fluendo.com>
10038
10039         * docs/design/part-clocks.txt:
10040         * docs/design/part-element-sink.txt:
10041         * docs/design/part-events.txt:
10042         * docs/design/part-preroll.txt:
10043         * docs/design/part-states.txt:
10044         Some more tweeks and additions to the docs.
10045
10046 2005-06-30  Wim Taymans  <wim@fluendo.com>
10047
10048         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10049         (default_have_data), (gst_pad_class_init), (gst_pad_init),
10050         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10051         (gst_pad_check_pull_range), (gst_pad_get_range),
10052         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10053         * gst/gstpad.h:
10054         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10055         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10056         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10057         (gst_pad_remove_buffer_probe):
10058         Removed atomic operations, use existing LOCK.
10059         Move exception handling out of main code path.
10060
10061 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10062
10063         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10064         (silly_return_true_function), (gst_pad_class_init),
10065         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10066         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10067         (gst_pad_send_event):
10068           Fix accumulator, add default value by using _emitv() instead
10069           of _emit() for signal emission.
10070
10071 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10072
10073         * docs/manual/advanced-dataaccess.xml:
10074         * examples/manual/Makefile.am:
10075           Add probe example.
10076         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10077           Make work (??).
10078
10079 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
10080
10081         * gst/elements/gstfilesink.c: (gst_filesink_render):
10082           Simplify code so that we don't have to handle short
10083           writes and return GST_FLOW_ERROR if an error occured.
10084
10085 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10086
10087         * docs/gst/gstreamer-docs.sgml:
10088           Remove probes more.
10089
10090 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10091
10092         * docs/gst/gstreamer-sections.txt:
10093         * docs/gst/tmpl/gstpad.sgml:
10094         * docs/gst/tmpl/gstprobe.sgml:
10095         * gst/Makefile.am:
10096         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10097         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10098         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10099         (gst_pad_push_event), (gst_pad_send_event):
10100         * gst/gstpad.h:
10101         * gst/gstutils.c: (gst_pad_add_data_probe),
10102         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10103         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10104         (gst_pad_remove_buffer_probe):
10105         * gst/gstutils.h:
10106           Remove old probes, add new g-signal-based probes and some utility
10107           functions.
10108
10109 2005-06-29  Edward Hervey  <edward@fluendo.com>
10110
10111         * gst/gstelementfactory.c:
10112         * gst/gstutils.h:
10113         * gst/gstutils.c:
10114         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10115         the definition to the header file.
10116
10117 2005-06-29  Andy Wingo  <wingo@pobox.com>
10118
10119         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10120         plugins from the source directory.
10121
10122 2005-06-29  Wim Taymans  <wim@fluendo.com>
10123
10124         * docs/gst/tmpl/gstbuffer.sgml:
10125         * docs/gst/tmpl/gstclock.sgml:
10126         Some fixings for blantently wrong text.
10127
10128 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10129
10130         * check/Makefile.am:
10131         * gst/gst.c: (add_path_func), (init_pre):
10132         * gst/gstregistry.c: (gst_registry_add_path):
10133           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10134           only scan the GST_PLUGIN_PATH locations, and not add
10135           system locations
10136
10137 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10138
10139         * docs/gst/gstreamer-sections.txt:
10140         * docs/gst/tmpl/gstbasesrc.sgml:
10141         * gst/gstelement.c:
10142         * gst/gstelement.h:
10143         * gst/gstevent.c:
10144         * gst/gstutils.c:
10145           doc fixes
10146
10147 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10148
10149         * docs/manual/advanced-autoplugging.xml:
10150           Fix autoplugging example.
10151
10152 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10153
10154         * docs/manual/advanced-autoplugging.xml:
10155         * docs/manual/mime-world.fig:
10156           Try to get autoplugging working, fix type detection. Fix text
10157           in hello-world image.
10158
10159 2005-06-29  Wim Taymans  <wim@fluendo.com>
10160
10161         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10162         (gst_base_sink_change_state):
10163         Small debug line.
10164
10165         * gst/gstclock.h:
10166         map SIGNAL and BROADCAST to the right function.
10167
10168         * gst/gstobject.h:
10169         Remove redundant braces.
10170
10171         * gst/gstpad.c: (gst_pad_set_caps):
10172         Don't call setcaps function when reseting caps to NULL.
10173
10174         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10175         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10176         (gst_system_clock_id_unschedule):
10177         Use BROADCAST as this is what we do.
10178
10179 2005-06-29  Wim Taymans  <wim@fluendo.com>
10180
10181         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10182         We are actually prerolling before commiting the state
10183         change. 
10184
10185 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10186
10187         * docs/manual/advanced-clocks.xml:
10188         * docs/manual/advanced-interfaces.xml:
10189         * docs/manual/advanced-metadata.xml:
10190         * docs/manual/advanced-position.xml:
10191         * docs/manual/advanced-schedulers.xml:
10192         * docs/manual/advanced-threads.xml:
10193         * docs/manual/appendix-porting.xml:
10194         * docs/manual/basics-bins.xml:
10195         * docs/manual/basics-bus.xml:
10196         * docs/manual/basics-elements.xml:
10197         * docs/manual/basics-helloworld.xml:
10198         * docs/manual/basics-pads.xml:
10199         * docs/manual/highlevel-components.xml:
10200         * docs/manual/manual.xml:
10201         * docs/manual/thread.fig:
10202           Update (until threads/scheduling) Application Development Manual;
10203           remove GstThread, add GstBus, add simple porting checklist, add
10204           documentation for tag writing, clocks, make all examples until this
10205           part compile and run.
10206         * examples/manual/Makefile.am:
10207           Update from changes to Application Development Manual; add bus
10208           example, remove thread example.
10209
10210 2005-06-28  Wim Taymans  <wim@fluendo.com>
10211
10212         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10213         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10214         (gst_bus_source_dispatch):
10215         Add debugging messages.
10216         Make internal methods static.
10217         Handle the case where the bus is flushed in the handler.
10218         
10219         * gst/gstelement.c: (gst_element_get_bus):
10220         Fix refcount in _get_bus();
10221
10222         * gst/gstpipeline.c: (gst_pipeline_change_state),
10223         (gst_pipeline_get_clock_func):
10224         Clock refcounting fixes.
10225         Handle the case where preroll timed out more gracefully.
10226         
10227         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10228         Clean up the internal thread in dispose. This is needed
10229         for subclasses that actually get disposed.
10230         
10231         * gst/schedulers/threadscheduler.c:
10232         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10233         (gst_thread_scheduler_dispose):
10234         Free thread pool in dispose.
10235
10236 2005-06-28  Andy Wingo  <wingo@pobox.com>
10237
10238         * tests/network-clock-utils.scm (debug, print-event): New utils.
10239
10240         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10241         (*packet-loss*): Unified loss probability.
10242         (network-time): Report out-of-band events.
10243
10244         * tests/plot-data: Add support for out-of-band events. Hack it
10245         into this script instead of passing it down the pipe; should fix
10246         this later.
10247
10248 2005-06-28  Wim Taymans  <wim@fluendo.com>
10249
10250         * docs/gst/gstreamer.types:
10251         * docs/gst/tmpl/gstbasesrc.sgml:
10252         * docs/gst/tmpl/gstpad.sgml:
10253         Docs fixes.
10254
10255 2005-06-28  Wim Taymans  <wim@fluendo.com>
10256
10257         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10258         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10259         (gst_proxy_pad_do_fixatecaps):
10260         Correctly proxy the check_pull_range function.
10261
10262 2005-06-28  Andy Wingo  <wingo@pobox.com>
10263
10264         * tests/network-clock.scm: Removed need for slib.
10265         
10266 2005-06-28  Wim Taymans  <wim@fluendo.com>
10267
10268         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10269         (gst_basesink_preroll_queue_flush):
10270         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10271         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10272         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10273         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10274         (gst_proxy_pad_set_property):
10275         * gst/gstpad.c:
10276         * gst/gstpad.h:
10277         * gst/gstqueue.c: (gst_queue_init):
10278         The deprecated pad loop function is removed now.
10279
10280 2005-06-28  Andy Wingo  <wingo@pobox.com>
10281
10282         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10283         New parameters, simulate network packet loss.
10284
10285         * tests/network-clock-utils.scm: Initialize the RNG.
10286
10287 2005-06-28  Wim Taymans  <wim@fluendo.com>
10288
10289         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10290         (gst_basesink_event), (gst_basesink_deactivate):
10291         Flushing the preroll queue always needs to unlock the waiters.
10292
10293 2005-06-28  Edward Hervey  <edward@fluendo.com>
10294
10295         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10296         Wheen a seek was successful on a pipeline, set the stream_time to the
10297         seek offset in order to have a synchronized stream_time.
10298
10299 2005-06-28  Wim Taymans  <wim@fluendo.com>
10300
10301         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10302         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10303         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10304         (gst_proxy_pad_do_fixatecaps):
10305         Call wrapper function instead of just calling the function
10306         pointers. This takes care of any locking and whatmore.
10307
10308 2005-06-28  Wim Taymans  <wim@fluendo.com>
10309
10310         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10311         (gst_pad_pull_range):
10312         * gst/gstpad.h:
10313         CONNECTED -> LINKED.
10314
10315 2005-06-28  Andy Wingo  <wingo@pobox.com>
10316
10317         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10318         source-munging commit!!!
10319
10320         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10321         (gst_object_sink): Take gpointer arguments, not GstObject --
10322         avoids casts. Like GLib.
10323
10324         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10325         activate.
10326
10327 2005-06-27  Andy Wingo  <wingo@pobox.com>
10328
10329         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10330         remaining buffer.
10331
10332         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10333         returns a sorted copy of the trace list.
10334         (gst_alloc_trace_print_live): New API, only prints traces with
10335         live objects. Sort the list.
10336         (gst_alloc_trace_print_all): Sort the list.
10337         (gst_alloc_trace_print): Align columns.
10338
10339         * gst/elements/gstttypefindelement.c:
10340         * gst/elements/gsttee.c:
10341         * gst/base/gstbasesrc.c:
10342         * gst/base/gstbasesink.c:
10343         * gst/base/gstbasetransform.c:
10344         * gst/gstqueue.c: Adapt for pad activation changes.
10345
10346         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10347         sched.
10348         (gst_pipeline_dispose): Drop ref on sched.
10349
10350         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10351         (gst_pad_activate_default): Push mode by default.
10352         (pre_activate_switch, post_activate_switch): New stubs, things to
10353         do before and after switching activation modes on pads.
10354         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10355         the pad's activate function to choose which mode to activate.
10356         Shortcut on deactivation and call the right function directly.
10357         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10358         mode.
10359         (gst_pad_activate_push): New API, same for push mode.
10360         (gst_pad_set_activate_function) 
10361         (gst_pad_set_activatepull_function) 
10362         (gst_pad_set_activatepush_function): Setters for new API.
10363
10364         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10365         Trace all miniobjects.
10366         (gst_mini_object_make_writable): Unref the arg if we copy, like
10367         gst_caps_make_writable.
10368
10369         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10370
10371         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10372         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10373         Adapt for new pad API.
10374
10375         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10376
10377         * gst/gstelement.h:
10378         * gst/gstelement.c (gst_element_iterate_src_pads) 
10379         (gst_element_iterate_sink_pads): New API functions.
10380         
10381         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10382         should fold into gstiterator.c in some form.
10383         (gst_element_pads_activate): Simplified via use of fold and
10384         delegation of decisions to gstpad->activate.
10385
10386         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10387         help in debugging.
10388
10389         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10390         class once in init, like gstmessage. Didn't run into this issue
10391         but it seems correct. Don't initialize a trace, gstminiobject does
10392         that.
10393
10394         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10395         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10396         to the bus.
10397         (assert_live_count): New util function, uses alloc traces to check
10398         cleanup.
10399
10400         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10401         To be modified when unlink drops the internal pad.
10402
10403 2005-06-27  Wim Taymans  <wim@fluendo.com>
10404
10405         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10406         (gst_bin_change_state):
10407         Cleanup the get_state() function a little, make sure it
10408         iterates the same set of elements.
10409         Added stub iterate_state_order().
10410
10411 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10412
10413         * docs/gst/gstreamer-docs.sgml:
10414         * docs/gst/gstreamer-sections.txt:
10415         * docs/gst/gstreamer.types:
10416         * docs/gst/tmpl/gstbasesink.sgml:
10417         * docs/gst/tmpl/gstbasesrc.sgml:
10418         * docs/gst/tmpl/gstbasetransform.sgml:
10419         * docs/gst/tmpl/gstelement.sgml:
10420         * docs/gst/tmpl/gstiterator.sgml:
10421         * gst/base/gstbasesrc.c:
10422         * gst/base/gstbasesrc.h:
10423         * gst/base/gstbasetransform.h:
10424         * gst/gstelement.c:
10425         * gst/gstiterator.h:
10426           adding basetransform and iterator docs
10427
10428 2005-06-27  Andy Wingo  <wingo@pobox.com>
10429
10430         * docs/design/part-activation.txt: Notes on how activation should
10431         work -- not quite implemented yet.
10432
10433 2005-06-25  Wim Taymans  <wim@fluendo.com>
10434
10435         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10436         At least get the chain function correct, needs more
10437         fixing.
10438
10439 2005-06-25  Wim Taymans  <wim@fluendo.com>
10440
10441         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10442         (gst_basesink_handle_object), (gst_basesink_event),
10443         (gst_basesink_do_sync), (gst_basesink_handle_event),
10444         (gst_basesink_change_state):
10445         * gst/gsttask.h:
10446         Right, two problems here: ghostpads don't take locks and
10447         glib _rec_mutex_lock_full() with depth==0 still locks.
10448         Catch illegal locking and g_warn them.
10449
10450 2005-06-25  Wim Taymans  <wim@fluendo.com>
10451
10452         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10453         Have to check for completion now...
10454
10455 2005-06-25  Wim Taymans  <wim@fluendo.com>
10456
10457         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10458         (gst_basesink_handle_object), (gst_basesink_event),
10459         (gst_basesink_do_sync), (gst_basesink_handle_event),
10460         (gst_basesink_change_state):
10461         * gst/gstpad.h:
10462         Unlock STREAM_LOCK whatever the recursion was.
10463
10464 2005-06-25  Wim Taymans  <wim@fluendo.com>
10465
10466         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10467         (gst_basesink_preroll_queue_empty),
10468         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10469         (gst_basesink_event), (gst_basesink_do_sync),
10470         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10471         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10472         (gst_basesink_change_state):
10473         Reworked the base sink, handle event and buffer serialisation
10474         correctly and removed possible deadlock.
10475         Handle EOS correctly.
10476
10477 2005-06-25  Wim Taymans  <wim@fluendo.com>
10478
10479         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10480         (gst_pipeline_change_state):
10481         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10482         Allow elements to post EOS in the state change function.
10483         Fix up -launch, make it exit the poll loop when the
10484         pipeline actually changed state.
10485         Fix up warning parsing in -launch.
10486
10487 2005-06-25  Wim Taymans  <wim@fluendo.com>
10488
10489         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10490         (gst_tee_sink_activate):
10491         Core takes STREAM_LOCK for us now.
10492
10493 2005-06-25  Wim Taymans  <wim@fluendo.com>
10494
10495         * gst/gstelement.c: (gst_element_get_state_func),
10496         (gst_element_set_state):
10497         * gst/gstelement.h:
10498         * gst/gstmessage.c: (gst_message_parse_error),
10499         (gst_message_parse_warning):
10500         Keep track of current target state while performing a state
10501         change so that subclasses can do something interesting.
10502         Fix parsing of warning/error messages when GError is NULL.
10503
10504 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10505
10506         * docs/gst/Makefile.am:
10507         * docs/gst/gstreamer-docs.sgml:
10508         * docs/gst/gstreamer-sections.txt:
10509         * docs/gst/gstreamer.types:
10510         * docs/gst/tmpl/gstbasesink.sgml:
10511         * docs/gst/tmpl/gstbasesrc.sgml:
10512         * docs/gst/tmpl/gstbin.sgml:
10513         * docs/gst/tmpl/gstcompat.sgml:
10514         * docs/gst/tmpl/gstfakesink.sgml:
10515         * docs/gst/tmpl/gstfakesrc.sgml:
10516         * docs/gst/tmpl/gstfilesink.sgml:
10517         * docs/gst/tmpl/gstfilesrc.sgml:
10518         * docs/gst/tmpl/gstindex.sgml:
10519         * docs/manual/appendix-quotes.xml:
10520         * gst/base/gstbasesrc.h:
10521         * gst/elements/gstfakesrc.h:
10522         * gst/gstmessage.h:
10523           start pulling in base classes and elements in our docs
10524
10525 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10526
10527         * docs/gst/Makefile.am:
10528         * docs/libs/Makefile.am:
10529           fixed make distcheck with gtk-doc 1.3
10530
10531 2005-06-23  Wim Taymans  <wim@fluendo.com>
10532
10533         * gst/gstelement.c: (gst_element_get_state_func),
10534         (gst_element_set_state), (gst_element_change_state):
10535         When the state did not change, also report NO_PREROLL
10536         when it matters.
10537
10538 2005-06-23  Wim Taymans  <wim@fluendo.com>
10539
10540         * gst/gstpad.c: (gst_pad_event_default):
10541         * gst/gstqueue.c: (gst_queue_loop):
10542         No unsafe task pausing please.
10543
10544 2005-06-23  Wim Taymans  <wim@fluendo.com>
10545
10546         * gst/schedulers/threadscheduler.c:
10547         (gst_thread_scheduler_task_start),
10548         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10549         Ref the task before pushing it on the threadpool. This
10550         makes sure that we have a ref when the threadfunction is
10551         actually called.
10552
10553 2005-06-23  Andy Wingo  <wingo@pobox.com>
10554
10555         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10556         offset is greater than the file's size.
10557
10558         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10559         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10560         * gst/gstobject.c (gst_object_class_init): Make the class lock
10561         recursive. Wim won't let me drop deep_notify. Decodebin works
10562         again, whoopdy doo.
10563
10564         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10565         internal pad, and hacks accordingly. Doesn't do it on the target
10566         pad because we change its caps. Probably catches all cases of
10567         interest tho.
10568         (gst_ghost_pad_set_property): Connect to notify::caps as
10569         appropritate.
10570
10571         * tests/network-clock.scm (plot-simulation): Pipe data to the
10572         elite python skript.
10573
10574         * tests/network-clock-utils.scm (define-parameter): New macro,
10575         defines a parameter that can be set via the command line.
10576         (set-parameter!, parse-parameter-arguments): Command line args
10577         parser.
10578
10579         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10580         stdin.
10581
10582 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10583
10584         * gst/elements/gsttypefindelement.c:
10585         (gst_type_find_element_handle_event):
10586           Don't restart typefinding on a discont.
10587         * gst/gstelement.c: (gst_element_set_state):
10588           Debug spelling fix.
10589         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10590           Allow changing mode of an active pad.
10591           Debug output fixes.
10592         * gst/registries/gstlibxmlregistry.c: (load_feature):
10593           Don't cast a static pad template to a normal pad template.
10594
10595 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10596
10597         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10598         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10599           remove gst_strtoll completely, since it didn't actually do
10600           anything more than what g_ascii_strtoull already does.
10601           check for range errors when deserializing
10602           do a cast for the unsigned cases; but further fixing needs
10603           a decision on what the interpretation of "(int)" and
10604           deserialization should be for values that fall outside the
10605           type's boundaries (ie, refuse, or interpret as casting)
10606
10607 2005-06-23  Wim Taymans  <wim@fluendo.com>
10608
10609         * check/Makefile.am:
10610         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10611         * docs/design/part-live-source.txt:
10612         * docs/design/part-states.txt:
10613         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10614         (gst_basesrc_set_live), (gst_basesrc_is_live),
10615         (gst_basesrc_get_range), (gst_basesrc_activate),
10616         (gst_basesrc_change_state):
10617         * gst/base/gstbasesrc.h:
10618         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10619         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10620         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10621         * gst/gstelement.c: (gst_element_get_state_func),
10622         (gst_element_set_state):
10623         * gst/gstelement.h:
10624         * gst/gsttypes.h:
10625         * tools/gst-launch.c: (event_loop), (main):
10626         Added support for live sources and other elements that
10627         cannot do preroll.
10628         Updated design docs, added live-source design doc.
10629         Implemented live source functionality in basesrc
10630         Fix error condition in _bin_get_state()
10631         Implement live source handling in -launch.
10632         Added check for live sources.
10633         Fixed case in GstBin where elements were changed state
10634         multiple times.
10635
10636
10637 2005-06-23  Andy Wingo  <wingo@pobox.com>
10638
10639         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10640         borken refcounting.
10641
10642         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10643         gst_caps_replace takes care of this for us.
10644
10645         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10646         gst_pad_set_caps on the target, not just its setcaps() function.
10647
10648         * tests/network-clock.scm: 
10649         * tests/network-clock-utils.scm: A network clock simulator.
10650         Something of an algorithmic testbed before doing something in C.
10651
10652 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10653
10654         * check/Makefile.am:
10655         * check/gst/capslist.h:
10656           copy over from 0.8, and add two with bitmasks specified with
10657           (int) 0xFF...
10658         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10659           add test to parse everything from capslist.h
10660         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10661         (main):
10662           add test for structure deserialization
10663         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10664           add tests for deserialization of strings to int types
10665         * gst/gststructure.c: (gst_structure_nth_field_name):
10666         * gst/gststructure.h:
10667           add a way to get the name of a field referenced by index
10668         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10669           instead of checking if the resulting long long lies between
10670           min and max, we check if the long long would fit into
10671           a number of bytes for the final type.
10672           This fixes cases where a string represents 2^32 - 1, which
10673           when cast to int would be the (valid) -1, but is bigger than
10674           G_MAXINT
10675
10676 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10677
10678         * gst/parse/grammar.y:
10679           add a log line for type deserialization
10680
10681 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10682
10683         * check/gst/gstvalue.c: (START_TEST):
10684         * gst/gstvalue.c: (gst_value_deserialize):
10685           return long long, not int, so gint64 deserialization actually
10686           works.  Is there any flag that makes the compiler check this ?
10687           Fixes #308559
10688
10689 2005-06-22  Wim Taymans  <wim@fluendo.com>
10690
10691         * gst/gstbuffer.h:
10692         Added convenience macros for setting buffers in GValue.
10693
10694 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10695
10696         * check/gst/.cvsignore:
10697         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10698           add a test deserializing int64, and comment part out because
10699           it fails, yay !
10700
10701 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10702
10703         * check/Makefile.am:
10704         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10705         * testsuite/Makefile.am:
10706         * testsuite/caps/Makefile.am:
10707         * testsuite/caps/value_serialize.c:
10708         * testsuite/test_gst_init.c:
10709           move a value_serialize test over
10710
10711 2005-06-20  Wim Taymans  <wim@fluendo.com>
10712
10713         * gst/gstpad.c:
10714         Small doc updates.
10715         
10716         * gst/gstvalue.c: (gst_value_compare_buffer),
10717         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10718         (gst_value_compare_flags), (gst_value_serialize_flags),
10719         (gst_value_deserialize_flags), (_gst_value_initialize):
10720         Fix serialisation of buffers, they are not boxed types anymore
10721
10722 2005-06-20  Wim Taymans  <wim@fluendo.com>
10723
10724         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10725         Testcase to show error in buffer-on-caps serialisation.
10726
10727 2005-06-20  Andy Wingo  <wingo@pobox.com>
10728
10729         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10730         will be adding to later.
10731
10732         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10733         if its socks fill with rocks.
10734         (gst_system_clock_obtain): Set the name on object construction.
10735         Avoid double-checked locking.
10736
10737 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10738
10739         * gst/gsturi.c: (gst_element_make_from_uri):
10740           Fix potential endless loop.
10741
10742 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10743
10744         * check/Makefile.am:
10745           add gsttag
10746         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10747         (main):
10748           move over from testsuite dir and clean up
10749         * configure.ac:
10750         * gst/gsttag.c:
10751         * testsuite/Makefile.am:
10752         * testsuite/tags/.cvsignore:
10753         * testsuite/tags/Makefile.am:
10754         * testsuite/tags/merge.c:
10755           remove testsuite/tags
10756
10757 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10758
10759         * docs/gst/gstreamer-sections.txt:
10760         * docs/gst/tmpl/gstenumtypes.sgml:
10761         * win32/gstenumtypes.c:
10762           clean up documentation build a little
10763
10764 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10765
10766         * check/gstcheck.h:
10767           add macros for checking refcounts on objects and caps
10768         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10769           add some more unit tests
10770         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10771         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10772           fix leaked refcounts (I hope :)) so unittest works
10773         * gst/gstpad.h:
10774           whitespace removal
10775
10776 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10777
10778         * configure.ac: back to HEAD
10779
10780 === release 0.9.1 ===
10781
10782 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10783
10784         * NEWS:
10785         * RELEASE:
10786           updated
10787
10788 2005-06-17  Andy Wingo  <wingo@pobox.com>
10789
10790         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10791         assert; it's always possible that the pad gets deactivated in
10792         between the checks in gstpad.c and the implementation. Rely on
10793         finish_preroll() to return a FLUSHING or similar instead of on the
10794         assert.
10795         
10796         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10797         clock and post an EOS message if we come out of finish_preroll in
10798         the playing state.
10799
10800 2005-06-16  David Schleef  <ds@schleef.org>
10801
10802         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10803         (gst_capsfilter_set_property): Allow NULL as possible value
10804         for filter_caps property, indicating GST_CAPS_ANY.
10805
10806 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10807
10808         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10809           fix debug output
10810         * gst/schedulers/Makefile.am:
10811           use libgst prefix
10812         * gstreamer.spec.in:
10813           fix spec for it
10814
10815 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10816
10817         * gstreamer.spec.in:
10818           clean up
10819
10820 2005-06-08  Andy Wingo  <wingo@pobox.com>
10821
10822         * gst/gstutils.c: RPAD fixes all around.
10823         (gst_element_link_pads): Refcounting fixes.
10824
10825         * tools/gst-inspect.c:
10826         * tools/gst-xmlinspect.c:
10827         * parse/grammar.y:
10828         * gst/base/gsttypefindhelper.c:
10829         * gst/base/gstbasesink.c:
10830         * gst/gstqueue.c: RPAD fixes.
10831
10832         * gst/gstghostpad.h:
10833         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10834         pads. The tricky thing is they provide both source and sink
10835         interfaces, since they proxy the internal pad for the external
10836         pad, and vice versa. Implement with lower-level ProxyPad objects,
10837         with the interior proxy pad as a child of the exterior ghost pad.
10838         Should write a doc on this.
10839         
10840         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10841         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10842         gst_object API.
10843         
10844         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10845         pads are real pads. No ghost pads in this file. Not documenting
10846         the myriad s/RPAD/PAD/ and REALIZE fixes.
10847         (gst_pad_class_init): Add properties for "direction" and
10848         "template". Both are construct-only, so they can't change during
10849         the life of the pad. Fixes properly deriving from GstPad.
10850         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10851         derived objects, just set properties when creating the objects via
10852         g_object_new.
10853         (gst_pad_get_parent): Implement as a function, return NULL if the
10854         parent is not an element.
10855         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10856         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10857         
10858         * gst/gstobject.c (gst_object_class_init): Make name a construct
10859         property. Don't set it in the object init.
10860
10861         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10862         with UNKNOWN direction.
10863         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10864         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10865         (gst_element_remove_pad): Remove ghost-pad special cases.
10866         (gst_element_pads_activate): Remove rpad cruft.
10867
10868         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10869         catch the pad's-parent-not-an-element case.
10870
10871         * gst/gst.h: Include gstghostpad.h.
10872
10873         * gst/gst.c (init_post): No more real, ghost pads.
10874
10875         * gst/Makefile.am: Add gstghostpad.[ch].
10876
10877         * check/Makefile.am:
10878         * check/gst/gstbin.c:
10879         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10880         into a bin creates ghost pads, and that the refcounts are right.
10881         Partly moved from gstbin.c.
10882
10883 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10884
10885         * check/gst-libs/.cvsignore:
10886         * check/gst/.cvsignore:
10887         * check/pipelines/.cvsignore:
10888           ignore more
10889         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10890         (START_TEST), (cleanup_suite), (main):
10891           add some tests related to cleanup after running pipelines
10892
10893 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10894
10895         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10896           add a testsuite for GstBuffer
10897
10898 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10899
10900         * gst/gstminiobject.h:
10901           add defines for accessing the refcount
10902
10903 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10904
10905         * Makefile.am: added support for html unit test coverage reports
10906
10907 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10908
10909         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10910           Free existing caps if the capsfilter changes. Add a FIXME about
10911           setting those caps on the pads.
10912
10913         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10914           Before adding a ghost pad to a parent bin, check that there isn't
10915           already one for the element on the bin. Prevents infinite recursion
10916           when using decodebin in parse pipelines. Andy says he'll rewrite the
10917           way this works anyway, so ignore the hack.
10918
10919 2005-06-02  Andy Wingo  <wingo@pobox.com>
10920
10921         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10922         file size, pass it on to the type find helper.
10923
10924         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10925         segment_start and segment_end properly according to the seek
10926         method. Segment_end is still a bit flaky because offset can be
10927         negative for CUR and END cases, but it takes -1 as an "unset"
10928         value.
10929
10930 2005-06-02  Wim Taymans  <wim@fluendo.com>
10931
10932         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10933         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10934         (gst_basesink_activate):
10935         * gst/base/gstbasesink.h:
10936         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10937         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10938         (gst_pad_query), (gst_pad_start_task):
10939         * gst/gstpad.h:
10940         * gst/gstqueue.c: (gst_queue_bufferalloc),
10941         (gst_queue_handle_sink_event), (gst_queue_chain):
10942         Bufferalloc: return GstFlowReturn to more accuratly report
10943         why allocation failed.
10944
10945 2005-06-02  Wim Taymans  <wim@fluendo.com>
10946
10947         * gst/gstpipeline.c: (gst_pipeline_send_event):
10948         Take snapshot of state without blocking.
10949
10950 2005-06-02  Wim Taymans  <wim@fluendo.com>
10951
10952         * docs/design/part-TODO.txt:
10953         * docs/design/part-caps.txt:
10954         * docs/design/part-clocks.txt:
10955         * docs/design/part-negotiation.txt:
10956         * docs/design/part-preroll.txt:
10957         Small doc updates 
10958
10959 2005-05-30  Wim Taymans  <wim@fluendo.com>
10960
10961         * gst/elements/gstidentity.c: (gst_identity_event),
10962         (gst_identity_transform), (gst_identity_get_property):
10963         Protect last_message property as it is accessed from
10964         multiple threads.
10965
10966 2005-05-30  Wim Taymans  <wim@fluendo.com>
10967
10968         * gst/gstelement.c: (gst_element_init),
10969         (gst_element_pads_activate), (gst_element_change_state):
10970         Slicker pad activation code.
10971
10972 2005-05-30  Wim Taymans  <wim@fluendo.com>
10973
10974         * gst/Makefile.am:
10975         * gst/gstelement.h:
10976         * gst/gstelementfactory.h:
10977         * gst/gsttypes.h:
10978         Move elementfactory methods to separate .h file.
10979
10980 2005-05-30  Wim Taymans  <wim@fluendo.com>
10981
10982         * docs/design/part-overview.txt:
10983         * gst/gstsystemclock.h:
10984         Small typo fixes, doc updates.
10985
10986 2005-05-30  Wim Taymans  <wim@fluendo.com>
10987
10988         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10989         (init_popt_callback):
10990         Remove cpu-opt flag.
10991
10992 2005-05-30  Wim Taymans  <wim@fluendo.com>
10993
10994         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10995         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10996         * gst/gstbuffer.h:
10997         Avoid typechecking in places where not needed.
10998         Added accessor for malloc_data.
10999
11000 2005-05-30  Wim Taymans  <wim@fluendo.com>
11001
11002         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11003         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11004         (gst_pad_configure_sink), (gst_pad_configure_src),
11005         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11006         (gst_pad_start_task):
11007         Propagate errors from _set_caps() in configure_src/sink
11008         functions instead of returning TRUE.
11009         FLUSH events can travel up and downstream
11010
11011
11012 2005-05-30  Wim Taymans  <wim@fluendo.com>
11013
11014         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11015         (gst_basesink_activate):
11016         Handle EOS in preroll.
11017
11018 2005-05-30  Wim Taymans  <wim@fluendo.com>
11019
11020         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11021         (gst_queue_loop), (gst_queue_handle_src_event):
11022         Remove old pieces of code
11023         Flushing the queue in an upstream event is a very bad idea.
11024
11025 2005-05-26  Andy Wingo  <wingo@pobox.com>
11026
11027         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11028         gst_value_set_mini_object so as to add a ref on the object (which
11029         will be removed when the value is unset).
11030
11031         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11032         arg type in ::handoff.
11033
11034         * gst/gstelement.c (gst_element_change_state): Also deactivate
11035         pads in READY->NULL, just in case the element didn't make it to
11036         PAUSED. Wingo tested, Wim approved.
11037
11038 2005-05-26  Wim Taymans  <wim@fluendo.com>
11039
11040         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11041         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11042         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11043         A flushing pad cannot be used to alloc_buffer from.
11044
11045 2005-05-26  Wim Taymans  <wim@fluendo.com>
11046
11047         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11048         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11049         (gst_bus_source_dispatch), (gst_bus_source_finalize),
11050         (gst_bus_create_watch), (gst_bus_add_watch_full):
11051         * gst/gstbus.h:
11052         Implement a real GSource and use g_main_context_wakeup() to
11053         signal new messages instead of the socketpair.
11054
11055 2005-05-25  Wim Taymans  <wim@fluendo.com>
11056
11057         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11058         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11059         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11060         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11061         (gst_pad_send_event), (gst_pad_start_task):
11062         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11063         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11064         (gst_queue_sink_activate), (gst_queue_src_activate),
11065         (gst_queue_change_state):
11066         * gst/gstqueue.h:
11067         Fix state changes for non sinks. We now change sinks, then elements
11068         with unconnected srcpads, then the rest.
11069         More efficient queue unlocking in flush and state changes.
11070         Set the pad activate mode even if it does not have an activate
11071         function.
11072
11073 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11074
11075         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11076           Don't go in pull mode for non-seekable sources.
11077         * gst/elements/gsttypefindelement.h:
11078         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11079         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11080         (free_entry), (stop_typefinding),
11081         (gst_type_find_element_handle_event), (find_peek),
11082         (gst_type_find_element_chain), (do_pull_typefind),
11083         (gst_type_find_element_change_state):
11084           Allow typefinding (w/o seeking) in push-mode, simplified version
11085           of what was in 0.8.
11086         * gst/gstutils.c: (gst_buffer_join):
11087         * gst/gstutils.h:
11088           gst_buffer_join() from 0.8.
11089
11090 2005-05-25  Wim Taymans  <wim@fluendo.com>
11091
11092         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11093         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11094         (gst_pad_send_event), (gst_pad_start_task):
11095         Disable attempt at mode switching until it is figured out.
11096
11097 2005-05-25  Wim Taymans  <wim@fluendo.com>
11098
11099         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11100         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11101         (gst_basesink_finish_preroll), (gst_basesink_chain),
11102         (gst_basesink_loop), (gst_basesink_activate),
11103         (gst_basesink_change_state):
11104         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11105         (gst_basesrc_get_range), (gst_basesrc_loop),
11106         (gst_basesrc_activate):
11107         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11108         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11109         (gst_real_pad_init), (gst_real_pad_set_property),
11110         (gst_real_pad_get_property), (gst_pad_set_active),
11111         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11112         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11113         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11114         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11115         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11116         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11117         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11118         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11119         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11120         (gst_pad_stop_task):
11121         * gst/gstpad.h:
11122         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11123         (gst_queue_loop), (gst_queue_src_activate):
11124         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11125         (gst_task_get_state):
11126         * gst/gsttask.h:
11127         * gst/schedulers/threadscheduler.c:
11128         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11129         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11130         in task function.
11131         Remove ACTIVE pad flag, use FLUSHING everywhere
11132         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11133         functions.
11134         Add locks around IS_FLUSHING when reading.
11135         Take STREAM lock in chain(), get_range() functions so plugins
11136         don't need to take it anymore.
11137         
11138
11139
11140 2005-05-25  Wim Taymans  <wim@fluendo.com>
11141
11142         * tools/gst-launch.c: (event_loop):
11143         Unref message after using its contents instead of
11144         before.
11145
11146 2005-05-24  Wim Taymans  <wim@fluendo.com>
11147
11148         * docs/design/draft-ghostpads.txt:
11149         * docs/design/draft-push-pull.txt:
11150         * docs/design/draft-query.txt:
11151         * docs/design/part-overview.txt:
11152         Docs updates, added general overview doc.
11153
11154 2005-05-21  David Schleef  <ds@schleef.org>
11155
11156         * docs/gst/tmpl/old/GstBin.sgml:
11157         * docs/gst/tmpl/old/GstBuffer.sgml:
11158         * docs/gst/tmpl/old/GstCaps.sgml:
11159         * docs/gst/tmpl/old/GstClock.sgml:
11160         * docs/gst/tmpl/old/GstCompat.sgml:
11161         * docs/gst/tmpl/old/GstData.sgml:
11162         * docs/gst/tmpl/old/GstElement.sgml:
11163         * docs/gst/tmpl/old/GstEvent.sgml:
11164         * docs/gst/tmpl/old/GstIndex.sgml:
11165         * docs/gst/tmpl/old/GstStructure.sgml:
11166         * docs/gst/tmpl/old/GstTag.sgml:
11167         * docs/gst/tmpl/old/cothreads.sgml:
11168         * docs/gst/tmpl/old/cothreads_compat.sgml:
11169         * docs/gst/tmpl/old/gettext.sgml:
11170         * docs/gst/tmpl/old/gobject2gtk.sgml:
11171         * docs/gst/tmpl/old/grammar.tab.sgml:
11172         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11173         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11174         * docs/gst/tmpl/old/gst_private.sgml:
11175         * docs/gst/tmpl/old/gstaggregator.sgml:
11176         * docs/gst/tmpl/old/gstarch.sgml:
11177         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11178         * docs/gst/tmpl/old/gstbufferstore.sgml:
11179         * docs/gst/tmpl/old/gstdata_private.sgml:
11180         * docs/gst/tmpl/old/gstdisksink.sgml:
11181         * docs/gst/tmpl/old/gstdisksrc.sgml:
11182         * docs/gst/tmpl/old/gstelementfactory.sgml:
11183         * docs/gst/tmpl/old/gstextratypes.sgml:
11184         * docs/gst/tmpl/old/gstfakesink.sgml:
11185         * docs/gst/tmpl/old/gstfakesrc.sgml:
11186         * docs/gst/tmpl/old/gstfdsink.sgml:
11187         * docs/gst/tmpl/old/gstfdsrc.sgml:
11188         * docs/gst/tmpl/old/gstfilesink.sgml:
11189         * docs/gst/tmpl/old/gstfilesrc.sgml:
11190         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11191         * docs/gst/tmpl/old/gstidentity.sgml:
11192         * docs/gst/tmpl/old/gstindexfactory.sgml:
11193         * docs/gst/tmpl/old/gstmarshal.sgml:
11194         * docs/gst/tmpl/old/gstmd5sink.sgml:
11195         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11196         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11197         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11198         * docs/gst/tmpl/old/gstpipefilter.sgml:
11199         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11200         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11201         * docs/gst/tmpl/old/gstshaper.sgml:
11202         * docs/gst/tmpl/old/gstspider.sgml:
11203         * docs/gst/tmpl/old/gstspideridentity.sgml:
11204         * docs/gst/tmpl/old/gststatistics.sgml:
11205         * docs/gst/tmpl/old/gsttee.sgml:
11206         * docs/gst/tmpl/old/gsttimecache.sgml:
11207         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11208         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11209         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11210         * docs/gst/tmpl/old/types.sgml:
11211           I didn't intend to add these or check them in.
11212
11213 2005-05-19  David Schleef  <ds@schleef.org>
11214
11215         * configure.ac: Use -no-common everywhere.  In a sane world, it
11216           would be the default in libtool, because without it, you can't
11217           build DLLs on Windows.
11218         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11219         * docs/gst/gstreamer-sections.txt:
11220         * docs/gst/tmpl/gstcpu.sgml:
11221         * docs/gst/tmpl/gstdata.sgml:
11222         * docs/gst/tmpl/gstthread.sgml:
11223
11224 2005-05-19  David Schleef  <ds@schleef.org>
11225
11226         * gst/gstminiobject.c: (gst_value_set_mini_object),
11227         (gst_value_take_mini_object), (gst_value_get_mini_object):
11228         * gst/gstminiobject.h: Add GValue set/get functions.
11229
11230 2005-05-19  Wim Taymans  <wim@fluendo.com>
11231
11232         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11233         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11234         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11235         * gst/gstbuffer.h:
11236         * gst/gstbus.c: (gst_bus_post):
11237         * gst/gstelement.c: (gst_element_get_random_pad):
11238         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11239         Make subbufer unref the parent in finalize.
11240         some more debugging info.
11241
11242
11243 2005-05-19  Wim Taymans  <wim@fluendo.com>
11244
11245         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11246         (gst_basesink_init), (gst_basesink_finalize),
11247         (gst_basesink_activate), (gst_basesink_change_state):
11248         Don't free preroll queue too early.
11249
11250 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11251
11252         * gst/Makefile.am:
11253         * gst/ROADMAP:
11254           Hi, I'm outdated. Please shoot me.
11255
11256 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11257
11258         * gst/gstpipeline.c: (gst_pipeline_send_event):
11259           Do not access variables after they have been deleted.
11260
11261 2005-05-19  Wim Taymans  <wim@fluendo.com>
11262
11263         * tools/gst-inspect.c: (print_plugin_features):
11264         A plugin feature does unfortunatly not use the
11265         object name yet...
11266
11267 2005-05-18  Wim Taymans  <wim@fluendo.com>
11268
11269         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11270         Port _span() functions to new subbuffers.
11271
11272 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11273
11274         * gst/gstbin.c: (gst_bin_add_func):
11275           Fix clock settery in bins when adding kids after the clock has
11276           been selected.
11277
11278 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11279
11280         * gst/elements/gstidentity.c: (gst_identity_class_init):
11281           Workaround until signals support GstMiniObject.
11282
11283 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11284
11285         * gst/gstbuffer.c:
11286         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11287
11288 2005-05-18  Wim Taymans  <wim@fluendo.com>
11289
11290         * gst/base/Makefile.am:
11291         * gst/base/gstadapter.c: (gst_adapter_base_init),
11292         (gst_adapter_class_init), (gst_adapter_init),
11293         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11294         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11295         (gst_adapter_flush), (gst_adapter_available),
11296         (gst_adapter_available_fast):
11297         * gst/base/gstadapter.h:
11298         Ported and added adapter to the base classes.
11299
11300 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11301
11302         * gst/gst.c:
11303         * gst/gstmessage.c:
11304           Make sure the class is reffed/unreffed once before threads can be
11305           used.  Fixes #304551.
11306
11307 2005-05-17  Wim Taymans  <wim@fluendo.com>
11308
11309         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11310         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11311         * gst/gstminiobject.c: (gst_mini_object_get_type),
11312         (gst_mini_object_free):
11313         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11314         (gst_pad_push), (gst_pad_push_event):
11315         * gst/gstqueue.c: (gst_queue_change_state):
11316         Don't queue buffers in basesink when we are flushing.
11317         Unref buffer when flushing in basesink.
11318         Flush queue when going to READY
11319         Unref buffer when _push() returns an error.
11320         Don't free MiniObject instance when refcount is incremented
11321         in _finalize() so that we can recover objects.
11322
11323 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11324
11325         * docs/manual/advanced-schedulers.xml:
11326         * docs/manual/appendix-checklist.xml:
11327         * docs/pwg/advanced-clock.xml:
11328         * docs/pwg/advanced-interfaces.xml:
11329         * docs/pwg/advanced-request.xml:
11330         * docs/pwg/advanced-types.xml:
11331         * docs/pwg/intro-preface.xml:
11332         * examples/plugins/example.c: (gst_example_get_type),
11333         (gst_example_class_init), (gst_example_chain),
11334         (gst_example_set_property), (gst_example_get_property),
11335         (gst_example_change_state), (plugin_init):
11336         * examples/plugins/example.h:
11337           small doc fixes
11338
11339 2005-05-17  Wim Taymans  <wim@fluendo.com>
11340
11341         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11342         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11343         * gst/gstqueue.c: (gst_queue_change_state):
11344         Clear queue when going to READY.
11345         Remove IN_SETCAPS flag too.
11346
11347 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11348
11349         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11350           Remove implicit cast from gboolean to GstElementStateReturn;
11351           make sure we still return failure in paused => ready case if
11352           the parent class fails to change state and our own stop 
11353           vfunc succeeds.
11354
11355 2005-05-17  Wim Taymans  <wim@fluendo.com>
11356
11357         * tools/gst-launch.c: (event_loop):
11358         Message was unreffed too soon.
11359
11360 2005-05-16  Andy Wingo  <wingo@pobox.com>
11361
11362         * gst/gstbin.c (sink_iterator_filter): Err... um...
11363
11364         * check/gst/gstbin.c (test_ghost_pads): New test for the
11365         ghosting-if-elements-not-in-same-bin behavior.
11366
11367 2005-05-16  David Schleef  <ds@schleef.org>
11368
11369         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11370         accessing refcount directly.
11371
11372 2005-05-15  David Schleef  <ds@schleef.org>
11373
11374         * check/Makefile.am: remove GstData checks
11375         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11376         * gst/Makefile.am: add miniobject, remove data
11377         * gst/gst.h: add miniobject, remove data
11378         * gst/gstdata.c: remove
11379         * gst/gstdata.h: remove
11380         * gst/gstdata_private.h: remove
11381         * gst/gsttypes.h: remove GstEvent and GstMessage
11382         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11383         * gst/gstmarshal.list: change BOXED -> OBJECT
11384
11385         Implement GstMiniObject.
11386         * gst/gstminiobject.c:
11387         * gst/gstminiobject.h:
11388
11389         Modify to be subclasses of GstMiniObject.
11390         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11391         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11392         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11393         (gst_subbuffer_get_type), (gst_subbuffer_init),
11394         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11395         (gst_buffer_span):
11396         * gst/gstbuffer.h:
11397         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11398         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11399         (_gst_event_copy), (gst_event_new):
11400         * gst/gstevent.h:
11401         * gst/gstmessage.c: (_gst_message_initialize),
11402         (gst_message_get_type), (gst_message_class_init),
11403         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11404         (gst_message_new), (gst_message_new_error),
11405         (gst_message_new_warning), (gst_message_new_tag),
11406         (gst_message_new_state_changed), (gst_message_new_application):
11407         * gst/gstmessage.h:
11408         * gst/gstprobe.c: (gst_probe_perform),
11409         (gst_probe_dispatcher_dispatch):
11410         * gst/gstprobe.h:
11411         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11412         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11413         (_gst_query_copy), (gst_query_new):
11414
11415         Update elements for GstData -> GstMiniObject changes
11416         * gst/gstquery.h:
11417         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11418         (gst_queue_chain), (gst_queue_loop):
11419         * gst/elements/gstbufferstore.c:
11420         (gst_buffer_store_add_buffer_func),
11421         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11422         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11423         (gst_fakesink_render):
11424         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11425         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11426         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11427         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11428         (gst_filesrc_create_read):
11429         * gst/elements/gstidentity.c: (gst_identity_class_init):
11430         * gst/elements/gsttypefindelement.c:
11431         (gst_type_find_element_src_event), (free_entry_buffers),
11432         (gst_type_find_element_handle_event):
11433         * libs/gst/dataprotocol/dataprotocol.c:
11434         (gst_dp_header_from_buffer):
11435         * libs/gst/dataprotocol/dataprotocol.h:
11436         * libs/gst/dataprotocol/dp-private.h:
11437
11438 2005-05-15  David Schleef  <ds@schleef.org>
11439
11440         * gst/elements/gstelements.c: Don't include headers that were
11441         just removed.
11442
11443 2005-05-15  David Schleef  <ds@schleef.org>
11444
11445         * gst/elements/Makefile.am: Remove some elements that don't
11446         need to be in the core (or even exist at all).
11447         * gst/elements/gstaggregator.c:
11448         * gst/elements/gstaggregator.h:
11449         * gst/elements/gstmd5sink.c:
11450         * gst/elements/gstmd5sink.h:
11451         * gst/elements/gstmultifilesrc.c:
11452         * gst/elements/gstmultifilesrc.h:
11453         * gst/elements/gstpipefilter.c:
11454         * gst/elements/gstpipefilter.h:
11455         * gst/elements/gstshaper.c:
11456         * gst/elements/gstshaper.h:
11457         * gst/elements/gststatistics.c:
11458         * gst/elements/gststatistics.h:
11459         * po/POTFILES.in: Remove above files.
11460
11461 2005-05-14  Andy Wingo  <wingo@pobox.com>
11462
11463         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11464         so as to get the refs right.
11465         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11466         unreffing objects that don't pass the filter.
11467
11468         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11469         gst_element_set_bus.
11470         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11471         normal cases, this will destroy the bus.
11472
11473         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11474         object.
11475
11476         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11477         has no sinks.
11478
11479 2005-05-13  Andy Wingo  <wingo@pobox.com>
11480
11481         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11482         gst_pad_link, call pad_link_maybe_ghosting,
11483         (pad_link_maybe_ghosting): Links pads, making sure that the
11484         elements being linked are in the same bin.
11485         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11486         Helpers for pad_link_maybe_ghosting.
11487
11488 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11489
11490         * configure.ac:
11491           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11492
11493 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11494
11495         * docs/design/part-element-source.txt:
11496           Mention GstPushSrc
11497
11498 2005-05-12  Wim Taymans  <wim@fluendo.com>
11499
11500         * gst/base/gstbasesink.c: (gst_basesink_init),
11501         (gst_basesink_activate):
11502         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11503         (gst_basesrc_is_seekable):
11504         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11505         (bin_element_is_sink), (gst_bin_change_state):
11506         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11507         * gst/gstelement.h:
11508         Identify sinks by their flag to avoid overly complicated
11509         checks (fow now).
11510         Do state changes even for elements not reachable from the
11511         sinks.
11512         BaseSink is a sink now :)
11513         Some more debugging info in the basesrc.
11514
11515
11516 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11517
11518         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11519           Implement _query on a bin, similar to _send_event.
11520
11521 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11522
11523         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11524           Discont event offset format should be GST_FORMAT_BYTES,
11525           not GST_FORMAT_TIME.
11526
11527 2005-05-12  Wim Taymans  <wim@fluendo.com>
11528
11529         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11530         Same fix as Ronald's but without the signal. 
11531
11532 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11533
11534         * gst/gstutils.c: (gst_element_query_position):
11535           No, an element is not a pad.
11536
11537 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11538
11539         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11540         (gst_bin_get_state):
11541           If a child is removed from a bin while we remove the child from
11542           the bin and while we're retrieving its state, signal this to the
11543           get_state function so we abort the wait (instead of waiting for
11544           a timeout) and can immediately re-iterate over all other elements.
11545
11546 2005-05-12  Wim Taymans  <wim@fluendo.com>
11547
11548         * gst/base/Makefile.am:
11549         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11550         (gst_basesrc_start):
11551         * gst/base/gstbasesrc.h:
11552         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11553         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11554         (gst_pushsrc_init), (gst_pushsrc_create):
11555         * gst/base/gstpushsrc.h:
11556         Added is_seekable to BaseSrc
11557         Added simple PushSrc.
11558
11559 2005-05-11  Wim Taymans  <wim@fluendo.com>
11560
11561         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11562         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11563         (gst_element_link_pads), (gst_element_query_position),
11564         (gst_element_query_convert), (intersect_caps_func),
11565         (gst_pad_query_position), (gst_pad_query_convert):
11566         Fix refcounting in utils function.
11567         No point in trying to activate a pad when it's added, it could
11568         be added from the state change function and then we deadlock, the
11569         element has to decide what to do.
11570
11571 2005-05-10  Andy Wingo  <wingo@pobox.com>
11572
11573         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11574         *all* the arguments.
11575
11576         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11577         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11578         lock (according to the docs -- if this is wrong change the docs).
11579
11580         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11581         flush messages in the NULL state.
11582
11583         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11584         message immediately and return.
11585         (gst_bus_set_flushing): New function. If a bus is flushing, it
11586         flushes out any queued messages and immediately unrefs new
11587         messages. This is so when an element goes to NULL, all of the
11588         unhandled messages coming from it can be freed, and their
11589         references to the element dropped. In other words: message source
11590         ref considered harmful :P
11591
11592         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11593         we're finished with it.
11594
11595         * gst/gstmessage.c (gst_message_new_state_changed): 
11596
11597 2005-05-10  Wim Taymans  <wim@fluendo.com>
11598
11599         * gst/gstvalue.c: (gst_value_compare_flags),
11600         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11601         (_gst_value_initialize):
11602         Added flags serialize/deserialize/compare code.
11603
11604 2005-05-09  Andy Wingo  <wingo@pobox.com>
11605
11606         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11607         Intersect the peer's caps with our caps.
11608
11609 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11610
11611         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11612         * gst/elements/gsttypefindelement.c: (find_peek):
11613           Handle negative offsets better. Fixes decodebin.
11614
11615 2005-05-09  Wim Taymans  <wim@fluendo.com>
11616
11617         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11618         (gst_base_transform_event):
11619         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11620         Implement accept_caps.
11621         Fix silly lock/unlock mismatch in base class.
11622
11623 2005-05-09  Wim Taymans  <wim@fluendo.com>
11624
11625         * docs/design/draft-push-pull.txt:
11626         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11627         * gst/elements/gstfilesink.c: (gst_filesink_init),
11628         (gst_filesink_query):
11629         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11630         (gst_type_find_handle_src_query), (find_element_get_length):
11631         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11632         * gst/gstelement.h:
11633         * gst/gstmessage.c:
11634         * gst/gstmessage.h:
11635         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11636         (gst_real_pad_get_caps_unlocked),
11637         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11638         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11639         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11640         (gst_real_pad_dispose), (gst_real_pad_finalize),
11641         (gst_pad_load_and_link), (gst_pad_save_thyself),
11642         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11643         (gst_pad_check_pull_range), (gst_pad_pull_range),
11644         (gst_pad_template_get_type), (gst_pad_template_class_init),
11645         (gst_pad_template_init), (gst_pad_template_dispose),
11646         (name_is_valid), (gst_static_pad_template_get),
11647         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11648         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11649         (gst_pad_get_element_private), (gst_pad_start_task),
11650         (gst_pad_pause_task), (gst_pad_stop_task),
11651         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11652         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11653         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11654         (gst_ghost_pad_new):
11655         * gst/gstpad.h:
11656         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11657         (gst_query_new_position), (gst_query_set_position),
11658         (gst_query_parse_position), (gst_query_new_convert),
11659         (gst_query_set_convert), (gst_query_parse_convert):
11660         * gst/gstquery.h:
11661         * gst/gstqueryutils.c:
11662         * gst/gstqueryutils.h:
11663         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11664         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11665         (gst_queue_handle_src_query):
11666         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11667         (gst_element_query_position), (gst_element_query_convert),
11668         (intersect_caps_func), (gst_pad_query_position),
11669         (gst_pad_query_convert):
11670         * gst/gstutils.h:
11671         * tools/gst-inspect.c: (print_pad_info):
11672         * tools/gst-xmlinspect.c: (print_element_info):
11673         Remove old query functions. Ported old code.
11674         Added position/convert helper functions to gstutils.
11675         Reordered gstpad.c code, grouping relevant things.
11676         Remove gst_message_new(), always need to speficy a specific
11677         message.
11678
11679
11680 2005-05-09  Andy Wingo  <wingo@pobox.com>
11681
11682         * gst/gstiterator.h: Add some includes.
11683
11684         * gst/gstqueryutils.h: Include more headers.
11685
11686         * gst/gstpad.h:
11687         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11688         some uses of gst_pad_query.
11689
11690         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11691         NULL out parameters.
11692         (gst_query_new_position): New proc, allocates a new position
11693         query.
11694
11695         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11696         gstqueryutils.c to the build.
11697
11698         * gst/gststructure.c (gst_structure_set_valist): Implement with
11699         the generic G_VALUE_COLLECT.
11700         
11701 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11702
11703         * gst/Makefile.am: (gst_headers):
11704         Added gstqueryutils.h to the list of headers to install, that was
11705         a 'nachty' move wingo :)
11706
11707 2005-05-06  Andy Wingo  <wingo@pobox.com>
11708
11709         * gst/gstquery.h
11710         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11711         GstData, init a memchunk.
11712         (standard_definitions): Add a few query types, deprecate a few.
11713         (gst_query_get_type): New proc.
11714         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11715         implementation.
11716         (gst_query_new_application, gst_query_get_structure): New public
11717         procs.
11718
11719         * docs/design/draft-query.txt: Removed LINKS from the query types,
11720         because all the rest can be dispatched to other pads -- seemed
11721         ugly to have a query that couldn't be dispatched. internal_links
11722         is fine as a pad method.
11723
11724         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11725         in gstpad.c, but maintain binary compatibility for the moment.
11726         Will fix before 0.9 is out.
11727
11728         * gst/gstqueryutils.c: 
11729         * gst/gstqueryutils.h: New files, implement 3 methods for each
11730         query type: parse_query, parse_response, and set. Probably need an
11731         allocator as well.
11732
11733         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11734
11735         * gst/elements/gstfilesink.c (gst_filesink_query2):
11736         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11737         query_types, and formats methods.
11738
11739         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11740         (gst_pad_set_query2_function): New functions.
11741         (gst_real_pad_init): Set query2_default as the default query2
11742         function. Basically just dispatches to internally linked pads.
11743
11744         Needs review!
11745         
11746         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11747         without using the atomic operations. Only one thread can possibly
11748         be accessing the data at this point. Changed so as to avoid
11749         gst_atomic operations.
11750
11751 2005-05-06  Wim Taymans  <wim@fluendo.com>
11752
11753         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11754         Also set caps if we use the fallback buffer alloc.
11755
11756 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11757
11758         * docs/gst/Makefile.am:
11759         * docs/gst/gstreamer-docs.sgml:
11760         * docs/gst/gstreamer-sections.txt:
11761         * docs/gst/tmpl/gstatomic.sgml:
11762         * docs/gst/tmpl/gstmemchunk.sgml:
11763         * testsuite/elements/struct_i386.h:
11764         * win32/GStreamer.vcproj:
11765         * win32/Makefile:
11766           Purge GstAtomic stuff from docs and win32 makefiles as well
11767
11768 2005-05-06  Wim Taymans  <wim@fluendo.com>
11769
11770         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11771         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11772         * gst/gstpad.c: (gst_pad_peer_get_caps):
11773         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11774         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11775         (gst_queue_src_activate), (gst_queue_change_state):
11776         * gst/gstqueue.h:
11777         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11778         (intersect_caps_func):
11779         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11780         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11781         Some fixes for the peer_get_caps() change.
11782
11783 2005-05-06  Wim Taymans  <wim@fluendo.com>
11784
11785         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11786         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11787         (gst_basesink_activate):
11788         Actually do something with error codes returned from the push
11789         functions.
11790
11791 2005-05-06  Wim Taymans  <wim@fluendo.com>
11792
11793         * docs/design/part-element-sink.txt:
11794         * docs/design/part-element-source.txt:
11795         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11796         (gst_basesink_event), (gst_basesink_activate):
11797         * gst/base/gstbasesink.h:
11798         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11799         (gst_basesrc_activate):
11800         * gst/base/gstbasesrc.h:
11801         * gst/gstelement.c: (gst_element_pads_activate):
11802         Some more documentation.
11803         Fixed scheduling decision in _pads_activate().
11804
11805 2005-05-05  Andy Wingo  <wingo@pobox.com>
11806
11807         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11808         the test suite.
11809
11810 2005-05-05  Wim Taymans  <wim@fluendo.com>
11811
11812         * gst/base/Makefile.am:
11813         * gst/base/gstbasesink.h:
11814         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11815         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11816         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11817         (gst_collectpads_class_init), (gst_collectpads_init),
11818         (gst_collectpads_finalize), (gst_collectpads_new),
11819         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11820         (find_pad), (gst_collectpads_remove_pad),
11821         (gst_collectpads_is_active), (gst_collectpads_collect),
11822         (gst_collectpads_collect_range), (gst_collectpads_start),
11823         (gst_collectpads_stop), (gst_collectpads_peek),
11824         (gst_collectpads_pop), (gst_collectpads_available),
11825         (gst_collectpads_read), (gst_collectpads_flush),
11826         (gst_collectpads_chain):
11827         * gst/base/gstcollectpads.h:
11828         * gst/elements/Makefile.am:
11829         * gst/elements/gstelements.c:
11830         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11831         (gst_fakesink_get_times), (gst_fakesink_event),
11832         (gst_fakesink_preroll), (gst_fakesink_render):
11833         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11834         (gst_filesink_init), (gst_filesink_set_location),
11835         (gst_filesink_open_file), (gst_filesink_close_file),
11836         (gst_filesink_pad_query), (gst_filesink_event),
11837         (gst_filesink_render), (gst_filesink_change_state):
11838         * gst/elements/gstfilesink.h:
11839         Added object to help in making collect pad based elements.
11840         Ported filesink.
11841         Make event function in sink baseclass return gboolean.
11842
11843 2005-05-05  Wim Taymans  <wim@fluendo.com>
11844
11845         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11846         (gst_bin_get_by_name):
11847         * gst/gstbuffer.h:
11848         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11849         (gst_clock_finalize):
11850         * gst/gstdata.c: (gst_data_replace):
11851         * gst/gstdata.h:
11852         * gst/gstelement.c: (gst_element_request_pad),
11853         (gst_element_pads_activate):
11854         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11855         (gst_object_unref):
11856         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11857         (gst_pad_set_checkgetrange_function),
11858         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11859         (gst_pad_check_pull_range), (gst_pad_pull_range),
11860         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11861         (gst_pad_pause_task), (gst_pad_stop_task):
11862         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11863         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11864         Fix name lookup in GstBin.
11865         Added _data_replace() function and _buffer_replace()
11866         Use finalize method to clean up clock.
11867         Fix refcounting on request pads.
11868         Fix pad schedule mode error.
11869         Some more object refcounting debug info,
11870
11871
11872 2005-05-04  Andy Wingo <wingo@pobox.com>
11873
11874         * check/Makefile.am:
11875         * docs/gst/tmpl/gstatomic.sgml:
11876         * docs/gst/tmpl/gstplugin.sgml:
11877         * gst/base/gstbasesink.c: (gst_basesink_activate):
11878         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11879         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11880         (gst_basesrc_query), (gst_basesrc_set_property),
11881         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11882         (gst_basesrc_activate):
11883         * gst/base/gstbasesrc.h:
11884         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11885         (gst_base_transform_src_activate):
11886         * gst/elements/gstelements.c:
11887         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11888         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11889         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11890         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11891         (gst_type_find_element_checkgetrange),
11892         (gst_type_find_element_activate):
11893         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11894         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11895         (gst_caps_load_thyself):
11896         * gst/gstelement.c: (gst_element_pads_activate),
11897         (gst_element_save_thyself), (gst_element_restore_thyself):
11898         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11899         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11900         * gst/gstpad.h:
11901         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11902         (gst_xml_parse_file), (gst_xml_parse_memory),
11903         (gst_xml_get_element), (gst_xml_make_element):
11904         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11905         (_file_index_id_save_xml), (gst_file_index_commit):
11906         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11907         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11908         (load_paths):
11909         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11910         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11911         * tools/gst-complete.c: (main):
11912         * tools/gst-compprep.c: (main):
11913         * tools/gst-inspect.c: (print_element_properties_info):
11914         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11915         * tools/gst-xmlinspect.c: (print_element_properties):
11916         GCC 4 fixen.
11917         
11918 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11919
11920         * gst/gstplugin.c: (gst_plugin_check_module),
11921         (gst_plugin_check_file), (gst_plugin_load_file):
11922             apply patch from #172526 to make register work on MacOSX
11923
11924 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11925
11926         * docs/gst/tmpl/gstconfig.sgml:
11927         * gst/gstconfig.h.in:
11928           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11929         * testsuite/debug/printf_extension.c: (main):
11930           Do not use GST_PTR_FORMAT on pointers to types with
11931           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11932         * testsuite/elements/property.h:
11933           use correct printf format
11934
11935 2005-05-02  Wim Taymans  <wim@fluendo.com>
11936
11937         * docs/design/draft-push-pull.txt:
11938         * docs/design/draft-query.txt:
11939         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11940         (gst_basesrc_start):
11941         Added draft for new query API.
11942         Added draft for better selecting scheduling methods.
11943         Make basesrc ignore length if the subclass does not support
11944         it.
11945
11946 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11947
11948         * gst/Makefile.am:
11949           possible fixes for automake-1.5 - _LIBADD is reserved
11950
11951 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11952
11953         * docs/faq/Makefile.am:
11954         * docs/manual/Makefile.am:
11955         * docs/manuals.mak:
11956         * docs/pwg/Makefile.am:
11957         * gst/Makefile.am:
11958           possible fixes for automake-1.5
11959
11960 2005-04-28  Wim Taymans  <wim@fluendo.com>
11961
11962         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11963         (gst_basesink_pad_getcaps), (gst_basesink_init),
11964         (gst_basesink_do_sync):
11965         * gst/gstclock.c: (gst_clock_entry_new):
11966         * gst/gstevent.c: (gst_event_discont_get_value):
11967         * gst/gstpipeline.c: (pipeline_bus_handler),
11968         (gst_pipeline_change_state):
11969         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11970         Better debugging of clocking info.
11971         Allow NULL values when getting discont values.
11972
11973 2005-04-27  Wim Taymans  <wim@fluendo.com>
11974
11975         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11976         * check/gst/gstpad.c: (gst_pad_suite):
11977         Increase timeout for checks.
11978
11979 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11980
11981         * check/Makefile.am:
11982           fix the broken rule for cleanup.  Apparently this rule is
11983           only needed on FC2, so maybe this warrants further autotool
11984           inspection.
11985
11986 2005-04-26  Wim Taymans  <wim@fluendo.com>
11987
11988         * gst/gsttrashstack.h:
11989         Ooohh. a nasty one! After having a failed pop() from the stack,
11990         it's possible that the stack is empty. In that case, don't
11991         follow the NULL pointer.
11992
11993 2005-04-25  Wim Taymans  <wim@fluendo.com>
11994
11995         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11996         (gst_pad_set_checkgetrange_function),
11997         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11998         (gst_pad_check_pull_range), (gst_pad_pull_range),
11999         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12000         (gst_pad_pause_task), (gst_pad_stop_task):
12001         * gst/gstplugin.c: (gst_plugin_load):
12002         * gst/gstplugin.h:
12003         Remove gst_library_load as it does more harm than good with
12004         the new g_module flags.
12005         Revert bogus caps template check in pad linking, pad caps
12006         are important when linking not the template, which is more
12007         general than the current caps.
12008
12009 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12010
12011         * gst/autoplug/.cvsignore:
12012         * gst/autoplug/Makefile.am:
12013         * gst/autoplug/gstsearchfuncs.c:
12014         * gst/autoplug/gstsearchfuncs.h:
12015         * gst/autoplug/gstspider.c:
12016         * gst/autoplug/gstspider.h:
12017         * gst/autoplug/gstspideridentity.c:
12018         * gst/autoplug/gstspideridentity.h:
12019         * gst/autoplug/spidertest.c:
12020           Die, spider, die.
12021
12022 2005-04-25  Wim Taymans  <wim@fluendo.com>
12023
12024         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12025         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12026         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12027         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12028         * gst/gstpad.h:
12029         Added stubs for unimplemented functions. 
12030
12031 2005-04-24  David Schleef  <ds@schleef.org>
12032
12033         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
12034         please fix.
12035
12036 2005-04-24  David Schleef  <ds@schleef.org>
12037
12038         Convert everything from GstAtomicInt to g_atomic_int_*, and
12039         remove gstatomic.
12040         * gst/Makefile.am:
12041         * gst/gstatomic.c:
12042         * gst/gstatomic.h:
12043         * gst/gstatomic_impl.h:
12044         * gst/gstbuffer.c:
12045         * gst/gstcaps.c:
12046         * gst/gstcaps.h:
12047         * gst/gstclock.c:
12048         * gst/gstclock.h:
12049         * gst/gstdata.c:
12050         * gst/gstdata.h:
12051         * gst/gstdata_private.h:
12052         * gst/gstevent.c:
12053         * gst/gstinfo.c:
12054         * gst/gstinfo.h:
12055         * gst/gstmessage.c:
12056         * gst/gstobject.c:
12057         * gst/gstobject.h:
12058         * gst/gststructure.c:
12059         * gst/gststructure.h:
12060         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12061         * gst/gstutils.h:
12062
12063 2005-04-24  David Schleef  <ds@schleef.org>
12064
12065         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12066         make the regressions tests work.  Remove some code that is no
12067         longer true.
12068         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12069         Disable warning for pads without templates.
12070
12071 2005-04-24  David Schleef  <ds@schleef.org>
12072
12073         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
12074         functions that handle filtered links.
12075         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12076         removed functions.
12077         * gst/gstutils.c: Fix/remove utility functions that handle
12078         filtered caps.
12079         * gst/gstutils.h:
12080         * gst/gstvalue.c: Add serialization/deserialization of caps
12081         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
12082         requires fixing so that the filter caps notation creates
12083         a capsfilter element and sets the filter_caps property.  I
12084         think everyone probably wants to keep the shorthand notation.
12085         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12086         * docs/gst/tmpl/gstpad.sgml:
12087
12088         * gst/elements/gstelements.c: Register capsfilter element.
12089         * gst/Makefile.am: fix spacing
12090         * docs/random/ds/0.9-suggested-changes: random
12091
12092 2005-04-23  David Schleef  <ds@schleef.org>
12093
12094         * gst/elements/Makefile.am:
12095         * gst/elements/gstcapsfilter.c: New element that acts like an
12096         identity, but filters caps.  Will eventually replace filtered
12097         caps in pad linking.
12098         * gst/gstutils.c: (gst_element_create_all_pads): New function
12099         to create all the ALWAYS pads that are registered with an
12100         element class.  This functionality should eventually be
12101         merged in with GstElement initialization.
12102         * gst/gstutils.h:
12103         * testsuite/trigger/README: part of trigger test code that should
12104         have been checked in a long time ago.
12105
12106 2005-04-23  David Schleef  <ds@schleef.org>
12107
12108         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12109         needed with new versions of libtool (nobody will confirm this),
12110         and hard to carry around.
12111         * gst/autoplug/Makefile.am:
12112         * gst/base/Makefile.am:
12113         * gst/elements/Makefile.am:
12114         * gst/indexers/Makefile.am:
12115         * gst/schedulers/Makefile.am:
12116         * libs/gst/bytestream/Makefile.am:
12117         * libs/gst/control/Makefile.am:
12118         * libs/gst/dataprotocol/Makefile.am:
12119         * libs/gst/getbits/Makefile.am:
12120
12121 2005-04-21  Wim Taymans  <wim@fluendo.com>
12122
12123         * docs/design/draft-push-pull.txt:
12124         * docs/design/part-MT-refcounting.txt:
12125         * docs/design/part-TODO.txt:
12126         * docs/design/part-caps.txt:
12127         * docs/design/part-events.txt:
12128         * docs/design/part-gstbus.txt:
12129         * docs/design/part-gstpipeline.txt:
12130         * docs/design/part-messages.txt:
12131         * docs/design/part-push-pull.txt:
12132         * docs/design/part-query.txt:
12133         Some more docs.
12134
12135 2005-04-21  Wim Taymans  <wim@fluendo.com>
12136
12137         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12138         (gst_message_new), (gst_message_new_error),
12139         (gst_message_new_warning), (gst_message_new_tag),
12140         (gst_message_new_state_changed), (gst_message_new_application),
12141         (gst_message_get_structure):
12142         * gst/gstmessage.h:
12143         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12144         (gst_structure_copy_conditional):
12145         Use parent refcount in GstMessage to ensure GstStructure
12146         consistency.
12147         Cleaned up headers a bit.
12148         
12149
12150 2005-04-20  Wim Taymans  <wim@fluendo.com>
12151
12152         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12153         (gst_basesink_pad_getcaps), (gst_basesink_init),
12154         (gst_basesink_chain_unlocked):
12155         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12156         (gst_type_find_helper):
12157         * gst/elements/gsttypefindelement.c:
12158         (gst_type_find_element_have_type), (gst_type_find_element_init),
12159         (stop_typefinding), (gst_type_find_element_handle_event),
12160         (find_suggest), (gst_type_find_element_chain),
12161         (gst_type_find_element_checkgetrange),
12162         (gst_type_find_element_getrange), (do_typefind),
12163         (gst_type_find_element_activate):
12164         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12165         (gst_buffer_default_free), (gst_buffer_default_copy),
12166         (gst_buffer_set_caps):
12167         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12168         (gst_caps_replace):
12169         * gst/gstmessage.c: (gst_message_new),
12170         (gst_message_new_state_changed):
12171         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12172         (gst_pad_set_checkgetrange_function),
12173         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12174         (gst_pad_set_caps), (gst_pad_check_pull_range),
12175         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12176         * gst/gstpad.h:
12177         * gst/gsttypefind.c: (gst_type_find_register):
12178         Make gst_caps_replace() work like other _replace() functions.
12179         Use _caps_replace() where possible.
12180         Make sure _message_new() initialises its field.
12181         Add gst_static_pad_template_get_caps()
12182
12183
12184 2005-04-18  Andy Wingo  <wingo@pobox.com>
12185
12186         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12187         on the peer, not the pad. I think that was a typo. Pass an extra
12188         arg to see if random access is possible. Activate the pads as
12189         PULL_RANGE if possible.
12190
12191         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12192
12193         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12194         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12195         to PROP_....
12196
12197 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12198
12199         * docs/faq/using.xml:
12200           Add note on gstreamer-properties (#154996).
12201
12202 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12203
12204         * docs/random/bbb/optional-properties:
12205           Some analysis on optional properties.
12206
12207 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12208
12209         * docs/gst/tmpl/gstelementfactory.sgml:
12210         * gst/gstelement.h:
12211         * gst/gstelementfactory.c: (gst_element_factory_init),
12212         (gst_element_factory_cleanup), (gst_element_register),
12213         (__gst_element_factory_add_static_pad_template),
12214         (gst_element_factory_get_static_pad_templates),
12215         (gst_element_factory_can_src_caps),
12216         (gst_element_factory_can_sink_caps):
12217         * gst/registries/Makefile.am:
12218         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12219         (gst_xml_registry_class_init), (gst_xml_registry_init),
12220         (gst_xml_registry_new), (gst_xml_registry_set_property),
12221         (gst_xml_registry_get_property), (get_time), (make_dir),
12222         (gst_xml_registry_get_perms_func),
12223         (plugin_times_older_than_recurse), (plugin_times_older_than),
12224         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12225         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12226         (add_to_char_array), (read_string), (read_uint), (read_enum),
12227         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12228         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12229         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12230         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12231         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12232         (gst_xml_registry_rebuild):
12233         * gst/registries/gstlibxmlregistry.h:
12234         * tools/gst-compprep.c: (main):
12235         * tools/gst-inspect.c: (print_pad_templates_info):
12236         * tools/gst-xmlinspect.c: (print_element_info):
12237           Use libxml2 for registry parsing, use staticpadtemplates in
12238           elementfactories. Makes gst_init() +/- 10x faster.
12239
12240 2005-04-12  Wim Taymans  <wim@fluendo.com>
12241
12242         * gst/base/Makefile.am:
12243         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12244         (gst_basesink_pad_getcaps), (gst_basesink_init),
12245         (gst_basesink_event), (gst_basesink_change_state):
12246         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12247         (gst_basesrc_init), (gst_basesrc_query),
12248         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12249         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12250         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12251         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12252         (gst_basesrc_stop), (gst_basesrc_activate),
12253         (gst_basesrc_change_state):
12254         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12255         (helper_find_suggest), (gst_type_find_helper):
12256         * gst/base/gsttypefindhelper.h:
12257         * gst/elements/Makefile.am:
12258         * gst/elements/gstelements.c:
12259         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12260         (gst_fakesink_get_times), (gst_fakesink_event),
12261         (gst_fakesink_preroll), (gst_fakesink_render):
12262         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12263         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12264         (gst_fakesrc_get_property), (gst_fakesrc_create),
12265         (gst_fakesrc_start), (gst_fakesrc_stop):
12266         * gst/elements/gstfakesrc.h:
12267         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12268         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12269         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12270         (gst_filesrc_create_read), (gst_filesrc_create),
12271         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12272         (gst_filesrc_start):
12273         * gst/elements/gsttypefindelement.c:
12274         (gst_type_find_element_have_type), (gst_type_find_element_init),
12275         (start_typefinding), (stop_typefinding), (push_buffer_store),
12276         (gst_type_find_element_handle_event),
12277         (gst_type_find_element_chain),
12278         (gst_type_find_element_checkgetrange),
12279         (gst_type_find_element_getrange), (do_typefind),
12280         (gst_type_find_element_activate),
12281         (gst_type_find_element_change_state):
12282         * gst/elements/gsttypefindelement.h:
12283         * gst/gstpipeline.c: (pipeline_bus_handler):
12284         Added typefind helper.
12285         Small preroll fix in the base sink.
12286         Disable typefind code in basesrc.
12287         Crude port of typefindelement.
12288         Fakesrc cleanups.
12289
12290
12291 2005-04-11  Wim Taymans  <wim@fluendo.com>
12292
12293         * check/gst/gstbus.c: (gstbus_suite):
12294         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12295         * check/gstcheck.h:
12296           Fix up the timeout so that the test does not fail.
12297
12298 2005-04-06  Wim Taymans  <wim@fluendo.com>
12299
12300         * gst/base/README:
12301         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12302         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12303         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12304         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12305         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12306         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12307         (gst_basesrc_stop), (gst_basesrc_activate),
12308         (gst_basesrc_change_state), (basesrc_find_peek),
12309         (basesrc_find_suggest), (gst_basesrc_type_find):
12310         * gst/base/gstbasesrc.h:
12311         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12312         (gst_filesrc_class_init), (gst_filesrc_init),
12313         (gst_filesrc_finalize), (gst_filesrc_set_location),
12314         (gst_filesrc_set_property), (gst_filesrc_get_property),
12315         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12316         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12317         (gst_filesrc_create_read), (gst_filesrc_create),
12318         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12319         * gst/elements/gstfilesrc.h:
12320         * gst/gstelement.c: (gst_element_get_state_func),
12321         (gst_element_lost_state), (gst_element_pads_activate):
12322         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12323         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12324         (gst_pad_pull_range):
12325         * gst/gstpad.h:
12326         More work on the generic source base class, implement seeking,
12327         query.
12328         Make filesrc extend the base source class.
12329         Added gst_pad_set_checkgetrange_function to GstPad.
12330
12331 2005-04-06  Andy Wingo  <wingo@pobox.com>
12332
12333         * pkgconfig/gstreamer-base.pc.in:
12334         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12335
12336         * pkgconfig/Makefile.am:
12337         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12338
12339 2005-04-04  Wim Taymans  <wim@fluendo.com>
12340
12341         * gst/base/Makefile.am:
12342         * gst/base/README:
12343         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12344         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12345         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12346         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12347         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12348         (gst_basesrc_base_init), (gst_basesrc_class_init),
12349         (gst_basesrc_init), (gst_basesrc_get_formats),
12350         (gst_basesrc_get_query_types), (gst_basesrc_query),
12351         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12352         (gst_basesrc_set_property), (gst_basesrc_get_property),
12353         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12354         (gst_basesrc_loop), (gst_basesrc_activate),
12355         (gst_basesrc_change_state):
12356         * gst/base/gstbasesrc.h:
12357         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12358         (gst_fakesrc_class_init), (gst_fakesrc_init),
12359         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12360         (gst_fakesrc_get_property), (gst_fakesrc_create):
12361         * gst/elements/gstfakesrc.h:
12362         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12363         (gst_filesrc_open_file), (gst_filesrc_loop),
12364         (gst_filesrc_activate), (filesrc_find_peek),
12365         (gst_filesrc_type_find):
12366         Made base source class, make fakesrc extend it.
12367         Add comments to basesink class.
12368         Some filesrc cleanup.
12369
12370 2005-03-31  David Schleef  <ds@schleef.org>
12371
12372         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12373         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12374         expected to link against libgstreamer.
12375         * gst/base/Makefile.am: link against libgstreamer
12376         * gst/elements/Makefile.am: same
12377
12378 2005-03-31  Andy Wingo  <wingo@pobox.com>
12379
12380         * tests/instantiate/Makefile.am:
12381         * tests/instantiate/caps.c: Add test to test speed of caps copy
12382         and free.
12383
12384         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12385         GMemChunk to be fair.
12386
12387         * gst/gsttrashstack.h: Remove warning about using the fallback
12388         trash stack implementation, it's still faster than malloc.
12389
12390 2005-03-30  Andy Wingo  <wingo@pobox.com>
12391
12392         * tests/complexity.c: Add a copyright.
12393
12394 2005-03-31  Wim Taymans  <wim@fluendo.com>
12395
12396         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12397         (gst_base_transform_class_init), (gst_base_transform_init),
12398         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12399         (gst_base_transform_get_property),
12400         (gst_base_transform_sink_activate),
12401         (gst_base_transform_src_activate),
12402         (gst_base_transform_change_state):
12403         * gst/base/gstbasetransform.h:
12404         * gst/elements/gstidentity.c: (gst_identity_class_init),
12405         (gst_identity_event), (gst_identity_check_perfect),
12406         (gst_identity_transform), (gst_identity_start),
12407         (gst_identity_stop):
12408         Added start/stop methods to transform base class so subclasses 
12409         don't need to deal with state changes even.
12410
12411 2005-03-31  Wim Taymans  <wim@fluendo.com>
12412
12413         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12414         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12415         * gst/gstevent.h:
12416         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12417         (gst_pad_pull_range):
12418         Added rate to the discont event to prepare for variable speed
12419         and reverse playback.
12420
12421 2005-03-29  David Schleef  <ds@schleef.org>
12422
12423         * configure.ac:
12424         * testsuite/trigger/Makefile.am:
12425         * testsuite/trigger/trigger.c: A little example program to show
12426         how trigger-based elements can work.
12427
12428 2005-03-29  Wim Taymans  <wim@fluendo.com>
12429
12430         * gst/base/Makefile.am:
12431         * gst/base/README:
12432         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12433         (gst_basesink_base_init), (gst_basesink_class_init),
12434         (gst_basesink_pad_getcaps), (gst_basesink_init),
12435         (gst_basesink_activate), (gst_basesink_change_state):
12436         * gst/base/gstbasesink.h:
12437         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12438         (gst_base_transform_base_init), (gst_base_transform_finalize),
12439         (gst_base_transform_class_init), (gst_base_transform_init),
12440         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12441         (gst_base_transform_event), (gst_base_transform_getrange),
12442         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12443         (gst_base_transform_set_property),
12444         (gst_base_transform_get_property),
12445         (gst_base_transform_sink_activate),
12446         (gst_base_transform_src_activate),
12447         (gst_base_transform_change_state):
12448         * gst/base/gstbasetransform.h:
12449         * gst/elements/gstidentity.c: (gst_identity_finalize),
12450         (gst_identity_class_init), (gst_identity_init),
12451         (gst_identity_event), (gst_identity_check_perfect),
12452         (gst_identity_transform), (gst_identity_set_property),
12453         (gst_identity_get_property), (gst_identity_change_state):
12454         * gst/elements/gstidentity.h:
12455         * gst/gstelement.c: (gst_element_get_state_func),
12456         (gst_element_lost_state), (gst_element_pads_activate):
12457         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12458         (gst_pad_check_pull_range), (gst_pad_pull_range):
12459         * gst/gstpad.h:
12460         Simplify pad activation.
12461         Added function to check if pull_range can be performed.
12462         Error out when pulling inactive or flushing pads.
12463         Removed const from refcounted types as it does not make sense.
12464         Simplify pad templates in basesink
12465         Added base class for simple 1-to-1 transforms.
12466         Make identity subclass the base transform.
12467
12468 2005-03-29  Andy Wingo  <wingo@pobox.com>
12469
12470         * docs/libs/gstreamer-libs-overrides.txt: 
12471         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12472         really don't understand what's going on, but like whatever. I want
12473         green buildbot!
12474
12475         * docs/gst/Makefile.am:
12476         * docs/libs/Makefile.am: Dist the overrides files.
12477
12478         * check/Makefile.am (clean-local): Remove .libs directories.
12479
12480         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12481         elements to EXTRA_DIST, so po/ files are happy.
12482
12483         * po/POTFILES.in: Er, remove it here.
12484
12485         * po/POTFILES: Remove gstspider.c.
12486
12487         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12488
12489         * docs/libs/gstreamer-libs-docs.sgml: 
12490         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12491         bytestream.
12492
12493         * tests/complexity.c (main): Set the length of the preroll queue
12494         on the sinks to prevent a lockup.
12495
12496         * libs/gst/dataprotocol/Makefile.am: 
12497         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12498         the same as the one in check/gst-libs/gdp.c.
12499
12500         * po/, docs/gst/: Commit automatic changes to docs and po files.
12501
12502         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12503         the versioned libgstbase.
12504
12505         * check/Makefile.am: Depend on an unversioned gst-register, seems
12506         to make autoconf happier.
12507
12508         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12509
12510 2005-03-28  Wim Taymans  <wim@fluendo.com>
12511
12512         * configure.ac:
12513         * docs/design/part-gstelement.txt:
12514         * docs/design/part-negotiation.txt:
12515         * docs/design/part-preroll.txt:
12516         * docs/design/part-scheduling.txt:
12517         * docs/design/part-states.txt:
12518         * gst/Makefile.am:
12519         * gst/base/Makefile.am:
12520         * gst/base/README:
12521         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12522         (gst_basesink_base_init), (gst_basesink_class_init),
12523         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12524         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12525         (gst_basesink_set_pad_functions),
12526         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12527         (gst_basesink_set_property), (gst_basesink_get_property),
12528         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12529         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12530         (gst_basesink_preroll_queue_push),
12531         (gst_basesink_preroll_queue_empty),
12532         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12533         (gst_basesink_event), (gst_basesink_get_times),
12534         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12535         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12536         (gst_basesink_loop), (gst_basesink_activate),
12537         (gst_basesink_change_state):
12538         * gst/base/gstbasesink.h:
12539         * gst/elements/Makefile.am:
12540         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12541         (gst_fakesink_class_init), (gst_fakesink_init),
12542         (gst_fakesink_set_property), (gst_fakesink_get_property),
12543         (gst_fakesink_get_times), (gst_fakesink_event),
12544         (gst_fakesink_preroll), (gst_fakesink_render),
12545         (gst_fakesink_change_state):
12546         * gst/elements/gstfakesink.h:
12547         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12548         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12549         * gst/gstelement.c: (gst_element_add_pad),
12550         (gst_element_get_state_func), (gst_element_abort_state),
12551         (gst_element_commit_state), (gst_element_lost_state),
12552         (gst_element_set_state), (gst_element_pads_activate):
12553         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12554         * gst/gstpipeline.c: (gst_pipeline_send_event),
12555         (gst_pipeline_change_state):
12556         Added state change code.
12557         Added/updated docs.
12558         Added sink base class, make fakesink extend the base class.
12559         Small cleanups in GstPipeline.
12560
12561 2005-03-26  David Schleef  <ds@schleef.org>
12562
12563         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12564         is broken and should be implemented in a different library.
12565         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12566         * gst/gst.h: remove gstcpu.h
12567         * gst/gstcpu.c: remove
12568         * gst/gstcpu.h: remove
12569         * gst/Makefile.am.future: Remove this file.  It's ancient.
12570
12571 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12572
12573         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12574         (gst_bin_send_event):
12575           Add default event/set_manager handlers. The set_manager handler
12576           takes care that the manager is distributed over kids that were
12577           already in the bin before the manager was set. The event handler
12578           is a utility virtual function that sends the event over all sinks,
12579           so that gst_element_send_event (bin, event); has the expected
12580           behaviour.
12581         * gst/gstpad.c: (gst_pad_event_default):
12582           Re-install default event handling for discontinuities, so that
12583           seeking works without requiring hacks in applications or extra
12584           code in sinks.
12585         * gst/gstpipeline.c: (gst_pipeline_class_init),
12586         (gst_pipeline_send_event):
12587           Half hack, half utility: set a pipeline to PAUSED for seek events,
12588           since that is the only way we can guarantee a/v sync. Means that
12589           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12590           and it "just works".
12591
12592 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12593
12594         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12595           Lock/unlock mismatch.
12596
12597 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12598
12599         * docs/faq/gst-uninstalled:
12600           add gst-plugins-base
12601         * docs/gst/Makefile.am:
12602           don't error out until docs are fixed
12603         * docs/gst/gstreamer.types:
12604           remove thread
12605
12606 2005-03-22  Wim Taymans  <wim@fluendo.com>
12607
12608         * check/Makefile.am:
12609         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12610         * gst/gststructure.c: (gst_structure_set_valist),
12611         (gst_structure_copy_conditional):
12612         Activated more tests.
12613         Added message test.
12614         Added G_TYPE_POINTER to GstStructure.
12615         
12616
12617 2005-03-22  Wim Taymans  <wim@fluendo.com>
12618
12619         * docs/design/part-TODO.txt:
12620         * docs/design/part-events.txt:
12621         * docs/design/part-gstbin.txt:
12622         * docs/design/part-gstbus.txt:
12623         * docs/design/part-gstpipeline.txt:
12624         * docs/design/part-messages.txt:
12625         * gst/gstbus.c:
12626         * gst/gstmessage.c:
12627         Docs updates
12628
12629 2005-03-21  Wim Taymans  <wim@fluendo.com>
12630
12631         * gst/gstbus.c: (gst_bus_post):
12632         Fix copy-and-paste error.
12633
12634 2005-03-21  Wim Taymans  <wim@fluendo.com>
12635
12636         * check/Makefile.am:
12637         * gst/Makefile.am:
12638         * gst/elements/Makefile.am:
12639         * gst/elements/gstelements.c:
12640         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12641         (gst_fakesink_event), (gst_fakesink_chain):
12642         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12643         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12644         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12645         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12646         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12647         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12648         (gst_fakesrc_loop), (gst_fakesrc_activate),
12649         (gst_fakesrc_change_state):
12650         * gst/elements/gstfakesrc.h:
12651         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12652         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12653         (gst_filesrc_open_file), (gst_filesrc_loop),
12654         (gst_filesrc_activate), (gst_filesrc_change_state),
12655         (filesrc_find_peek), (filesrc_find_suggest),
12656         (gst_filesrc_type_find):
12657         * gst/elements/gstidentity.c: (gst_identity_finalize),
12658         (gst_identity_class_init), (gst_identity_init),
12659         (gst_identity_proxy_getcaps), (identity_queue_push),
12660         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12661         (gst_identity_getrange), (gst_identity_chain),
12662         (gst_identity_sink_loop), (gst_identity_src_loop),
12663         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12664         (gst_identity_set_property), (gst_identity_get_property),
12665         (gst_identity_change_state):
12666         * gst/elements/gstidentity.h:
12667         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12668         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12669         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12670         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12671         (gst_tee_sink_activate):
12672         * gst/elements/gsttee.h:
12673         * gst/gst.c: (gst_register_core_elements), (init_post):
12674         * gst/gst.h:
12675         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12676         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12677         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12678         (gst_bin_change_state):
12679         * gst/gstbin.h:
12680         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12681         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12682         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12683         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12684         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12685         (bus_watch_callback), (bus_watch_destroy),
12686         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12687         (poll_timeout), (gst_bus_poll):
12688         * gst/gstbus.h:
12689         * gst/gstcaps.h:
12690         * gst/gstdata.h:
12691         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12692         (gst_element_post_message), (gst_element_message_full),
12693         (gst_element_get_state_func), (gst_element_get_state),
12694         (gst_element_abort_state), (gst_element_commit_state),
12695         (gst_element_lost_state), (gst_element_set_state),
12696         (gst_element_pads_activate), (gst_element_change_state),
12697         (gst_element_dispose), (gst_element_set_manager_func),
12698         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12699         (gst_element_set_manager), (gst_element_get_manager),
12700         (gst_element_set_bus), (gst_element_get_bus),
12701         (gst_element_set_scheduler), (gst_element_get_scheduler):
12702         * gst/gstelement.h:
12703         * gst/gstevent.c: (gst_event_new_segment_seek),
12704         (gst_event_new_flush):
12705         * gst/gstevent.h:
12706         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12707         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12708         (gst_message_new_eos), (gst_message_new_error),
12709         (gst_message_new_warning), (gst_message_new_tag),
12710         (gst_message_new_state_changed), (gst_message_new_application),
12711         (gst_message_get_structure), (gst_message_parse_tag),
12712         (gst_message_parse_state_changed), (gst_message_parse_error),
12713         (gst_message_parse_warning):
12714         * gst/gstmessage.h:
12715         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12716         (gst_real_pad_set_property), (gst_pad_set_active),
12717         (gst_pad_is_active), (gst_pad_set_blocked_async),
12718         (gst_pad_set_blocked), (gst_pad_is_blocked),
12719         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12720         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12721         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12722         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12723         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12724         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12725         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12726         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12727         (gst_pad_set_caps), (gst_pad_configure_sink),
12728         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12729         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12730         (gst_real_pad_dispose), (gst_real_pad_finalize),
12731         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12732         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12733         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12734         * gst/gstpad.h:
12735         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12736         (pipeline_bus_handler), (gst_pipeline_change_state),
12737         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12738         * gst/gstpipeline.h:
12739         * gst/gstprobe.h:
12740         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12741         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12742         (gst_queue_link_src), (gst_queue_bufferalloc),
12743         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12744         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12745         (gst_queue_loop), (gst_queue_handle_src_event),
12746         (gst_queue_handle_src_query), (gst_queue_src_activate),
12747         (gst_queue_change_state):
12748         * gst/gstqueue.h:
12749         * gst/gstscheduler.c: (gst_scheduler_init),
12750         (gst_scheduler_dispose), (gst_scheduler_create_task),
12751         (gst_scheduler_factory_create):
12752         * gst/gstscheduler.h:
12753         * gst/gststructure.c: (gst_structure_get_type),
12754         (gst_structure_copy_conditional):
12755         * gst/gststructure.h:
12756         * gst/gsttaginterface.h:
12757         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12758         (gst_task_init), (gst_task_dispose), (gst_task_create),
12759         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12760         (gst_task_pause):
12761         * gst/gsttask.h:
12762         * gst/gstthread.c:
12763         * gst/gstthread.h:
12764         * gst/gsttypes.h:
12765         * gst/schedulers/Makefile.am:
12766         * gst/schedulers/cothreads_compat.h:
12767         * gst/schedulers/entryscheduler.c:
12768         * gst/schedulers/faircothreads.c:
12769         * gst/schedulers/faircothreads.h:
12770         * gst/schedulers/fairscheduler.c:
12771         * gst/schedulers/gstbasicscheduler.c:
12772         * gst/schedulers/gstoptimalscheduler.c:
12773         * gst/schedulers/gthread-cothreads.h:
12774         * gst/schedulers/threadscheduler.c:
12775         (gst_thread_scheduler_task_get_type),
12776         (gst_thread_scheduler_task_class_init),
12777         (gst_thread_scheduler_task_init),
12778         (gst_thread_scheduler_task_start),
12779         (gst_thread_scheduler_task_stop),
12780         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12781         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12782         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12783         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12784         (plugin_init):
12785         * libs/gst/Makefile.am:
12786         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12787         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12788         (gst_file_pad_parent_set):
12789         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12790         (gst_dp_event_from_packet):
12791         * tests/complexity.c: (main):
12792         * tests/mass_elements.c: (main):
12793         * testsuite/states/locked.c: (message_received), (main):
12794         * testsuite/states/parent.c: (main):
12795         * tools/gst-inspect.c: (print_element_flag_info),
12796         (print_implementation_info), (print_pad_info):
12797         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12798         (main):
12799         * tools/gst-md5sum.c: (event_loop), (main):
12800         * tools/gst-typefind.c: (main):
12801         * tools/gst-xmlinspect.c: (print_element_info):
12802         Next big merge.
12803         Added GstBus for mainloop integration.
12804         Added GstMessage for sending notifications on the bus.
12805         Added GstTask as an abstraction for pipeline entry points.
12806         Removed GstThread.
12807         Removed Schedulers.
12808         Simplified GstQueue for multithreaded core.
12809         Made _link threadsafe, removed old capsnego.
12810         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12811         Added pad blocking functions.
12812         Reworked scheduling functions in GstPad to prepare for
12813         scheduling updates soon.
12814         Moved events out of data stream.
12815         Simplified GstEvent types.
12816         Added return values to push/pull.
12817         Removed clocking from GstElement.
12818         Added prototypes for state change function for next merge.
12819         Removed iterate from bins and state change management.
12820         Fixed some elements, disabled others for now.
12821         Fixed -inspect and -launch.
12822         Added check for GstBus.
12823
12824 2005-03-10  Wim Taymans  <wim@fluendo.com>
12825
12826         * docs/design/part-MT-refcounting.txt:
12827         * docs/design/part-clocks.txt:
12828         * docs/design/part-gstelement.txt:
12829         * docs/design/part-gstobject.txt:
12830         * docs/design/part-standards.txt:
12831         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12832         (gst_bin_remove_func), (gst_bin_remove):
12833         * gst/gstbin.h:
12834         * gst/gstbuffer.c:
12835         * gst/gstcaps.h:
12836         * testsuite/clock/clock1.c: (main):
12837         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12838         (main):
12839         * testsuite/dlopen/loadgst.c: (do_test):
12840         * testsuite/refcounting/bin.c: (add_remove_test1),
12841         (add_remove_test2), (main):
12842         * testsuite/refcounting/element.c: (main):
12843         * testsuite/refcounting/element_pad.c: (main):
12844         * testsuite/refcounting/pad.c: (main):
12845         * tools/gst-launch.c: (sigint_handler_sighandler):
12846         * tools/gst-typefind.c: (main):
12847         Doc updates.
12848         Added doc about clock.
12849         removed gst_bin_iterate_recurse_up(), marked methods
12850         for removal.
12851         Fix more testsuites.
12852
12853 2005-03-09  Wim Taymans  <wim@fluendo.com>
12854
12855         * gst/gstpad.c: (gst_pad_get_direction),
12856         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12857         (gst_pad_collect_valist):
12858         * testsuite/bins/interface.c: (main):
12859         * testsuite/caps/audioscale.c: (test_caps):
12860         * testsuite/caps/caps.c: (test1), (test2), (test3):
12861         * testsuite/caps/deserialize.c: (main):
12862         * testsuite/caps/enumcaps.c: (main):
12863         * testsuite/caps/filtercaps.c: (main):
12864         * testsuite/caps/intersect2.c: (main):
12865         * testsuite/caps/random.c: (main):
12866         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12867         * testsuite/caps/sets.c: (check_caps):
12868         * testsuite/caps/simplify.c: (check_caps), (main):
12869         * testsuite/caps/subtract.c: (check_caps):
12870         Fix _pad_get_direction wrt ghostpads.
12871         Fix caps testsuite.
12872
12873 2005-03-09  Wim Taymans  <wim@fluendo.com>
12874
12875         * check/Makefile.am:
12876         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12877         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12878         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12879         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12880         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12881         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12882         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12883         (bin_element_is_sink), (gst_bin_iterate_sinks),
12884         (gst_bin_iterate_all_by_interface):
12885         * gst/gstbin.h:
12886         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12887         (gst_element_change_state), (gst_element_dispose),
12888         (gst_element_finalize), (gst_element_set_loop_function):
12889         * gst/gstelement.h:
12890         * gst/gstiterator.c: (find_custom_fold_func):
12891         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12892         (gst_pad_collectv), (gst_pad_collect_valist),
12893         (gst_pad_template_new):
12894         * gst/gstpipeline.c: (gst_pipeline_class_init),
12895         (gst_pipeline_dispose), (gst_pipeline_set_property),
12896         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12897         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12898         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12899         * gst/gstutils.h:
12900         * gst/schedulers/entryscheduler.c:
12901         * gst/schedulers/gstbasicscheduler.c:
12902         (gst_basic_scheduler_cothreaded_chain),
12903         (gst_basic_scheduler_chain_add_element):
12904         * testsuite/bins/interface.c: (main):
12905         Added GstBin test.
12906         Added GstSystemClock test.
12907         Implemented clock distribution code in GstBin.
12908         Implemented iterate sinks method for future use.
12909         Rearranged gstelement.h
12910         Fix GstIterator comparison bug.
12911         Moved some code to GstPipeline, mostly clocking related.
12912
12913 2005-03-09  Wim Taymans  <wim@fluendo.com>
12914
12915         * configure.ac:
12916         * gst/gst_private.h:
12917         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12918         (gst_bin_remove_func), (gst_bin_remove),
12919         (gst_bin_get_by_name_recurse_up):
12920         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12921         (gst_clock_id_compare_func), (gst_clock_id_wait),
12922         (gst_clock_id_wait_async), (gst_clock_init),
12923         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12924         * gst/gstelement.h:
12925         * gst/gstinfo.c: (_gst_debug_init):
12926         * gst/gstobject.h:
12927         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12928         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12929         * gst/gstpad.h:
12930         Bump version number, we're now 0.9.0
12931         Add future debugging category.
12932         Fix NULL _unref() in _get_by_name_recurse_up
12933         Rearrange gstpad.h.
12934         Update some docs.
12935
12936 2005-03-08  Wim Taymans  <wim@fluendo.com>
12937
12938         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12939         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12940         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12941         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12942         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12943         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12944         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12945         * gst/elements/gstidentity.c: (gst_identity_class_init):
12946         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12947         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12948         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12949         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12950         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12951         (gst_tee_link):
12952         * gst/gstelement.c: (gst_element_class_init),
12953         (gst_element_base_class_init), (gst_element_init),
12954         (gst_element_get_random_pad), (gst_element_wait_state_change),
12955         (gst_element_change_state), (gst_element_dispose),
12956         (gst_element_finalize), (gst_element_set_loop_function):
12957         * gst/gstelement.h:
12958         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12959         * gst/gstthread.c: (gst_thread_class_init),
12960         (gst_thread_release_children_locks), (gst_thread_change_state):
12961         * gst/schedulers/gstbasicscheduler.c:
12962         (gst_basic_scheduler_loopfunc_wrapper),
12963         (gst_basic_scheduler_chain_wrapper),
12964         (gst_basic_scheduler_src_wrapper),
12965         (gst_basic_scheduler_remove_element):
12966         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12967         Remove threadsafe properties. Fix elements because GObject
12968         complains when installing a property before declaring a
12969         set/get_property handler.
12970         Rearrange gstelement.h file, use STATE macros for state locks.
12971         Free mutexes in the finalize method instead of dispose.
12972
12973 2005-03-08  Wim Taymans  <wim@fluendo.com>
12974
12975         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12976         * gst/gstthread.c: (gst_thread_release_children_locks):
12977         Added parentage check.
12978         Fix build og GstThread again.
12979
12980 2005-03-08  Wim Taymans  <wim@fluendo.com>
12981
12982         * docs/design/part-MT-refcounting.txt:
12983         * docs/design/part-conventions.txt:
12984         * docs/design/part-gstobject.txt:
12985         * docs/design/part-relations.txt:
12986         * docs/design/part-standards.txt:
12987         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12988         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12989         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12990         (gst_bin_iterate_all_by_interface):
12991         * gst/gstbuffer.h:
12992         * gst/gstclock.h:
12993         * gst/gstelement.c: (gst_element_class_init),
12994         (gst_element_change_state), (gst_element_set_loop_function):
12995         * gst/gstelement.h:
12996         * gst/gstiterator.c:
12997         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12998         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12999         (gst_object_dispatch_properties_changed), (gst_object_set_name),
13000         (gst_object_set_parent), (gst_object_unparent),
13001         (gst_object_check_uniqueness):
13002         * gst/gstobject.h:
13003         Docs updates, clean up some headers.
13004
13005 2005-03-07  Wim Taymans  <wim@fluendo.com>
13006
13007         * check/.cvsignore:
13008         * check/Makefile.am:
13009         * check/gst-libs/.cvsignore:
13010         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13011         * check/gst/.cvsignore:
13012         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13013         (START_TEST), (gstbus_suite), (main):
13014         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13015         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13016         (gst_data_suite), (main):
13017         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13018         (add_fold_func), (gstiterator_suite), (main):
13019         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13020         (thread_name_object), (thread_name_object_default),
13021         (gst_object_name_compare), (gst_object_suite), (main):
13022         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13023         (gst_pad_suite), (main):
13024         * check/gstcheck.c: (gst_check_log_message_func),
13025         (gst_check_log_critical_func), (gst_check_init):
13026         * check/gstcheck.h:
13027         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13028         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13029         Added checks.
13030
13031 2005-03-07  Wim Taymans  <wim@fluendo.com>
13032
13033         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13034         (gst_list_iterator_next), (gst_list_iterator_resync),
13035         (gst_list_iterator_free), (gst_iterator_new_list),
13036         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13037         (gst_iterator_free), (gst_iterator_push), (filter_next),
13038         (filter_resync), (filter_uninit), (filter_free),
13039         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13040         (gst_iterator_foreach), (find_custom_fold_func),
13041         (gst_iterator_find_custom):
13042         * gst/gstiterator.h:
13043         Added missing files.
13044
13045 2005-03-07  Wim Taymans  <wim@fluendo.com>
13046
13047         * Makefile.am:
13048         * configure.ac:
13049         * docs/design/part-MT-refcounting.txt:
13050         * docs/design/part-conventions.txt:
13051         * docs/design/part-gstobject.txt:
13052         * docs/design/part-relations.txt:
13053         * examples/mixer/mixer.c: (main):
13054         * examples/thread/thread.c: (eos), (main):
13055         * gst/Makefile.am:
13056         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13057         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13058         (gst_spider_plug_from_srcpad):
13059         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13060         (gst_spider_identity_change_state),
13061         (gst_spider_identity_sink_loop_type_finding):
13062         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13063         * gst/elements/gstidentity.c: (gst_identity_init):
13064         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13065         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13066         * gst/elements/gsttypefindelement.c: (free_entry):
13067         * gst/gst.c:
13068         * gst/gst.h:
13069         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13070         (gst_bin_set_clock_func), (gst_bin_auto_clock),
13071         (gst_bin_set_index), (gst_bin_set_element_sched),
13072         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13073         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13074         (gst_bin_iterate_elements), (iterate_child_recurse),
13075         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13076         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13077         (compare_interface), (gst_bin_get_by_interface),
13078         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13079         * gst/gstbin.h:
13080         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13081         (gst_buffer_default_free), (gst_buffer_default_copy),
13082         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13083         (gst_buffer_create_sub):
13084         * gst/gstbuffer.h:
13085         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13086         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13087         (gst_caps_unref), (gst_static_caps_get),
13088         (gst_caps_remove_and_get_structure), (gst_caps_append),
13089         (gst_caps_append_structure), (gst_caps_remove_structure),
13090         (gst_caps_copy_nth), (gst_caps_set_simple),
13091         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13092         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13093         (gst_caps_structure_intersect_field), (gst_caps_intersect),
13094         (gst_caps_structure_subtract_field), (gst_caps_subtract),
13095         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13096         (gst_caps_structure_figure_out_union),
13097         (gst_caps_switch_structures), (gst_caps_do_simplify),
13098         (gst_caps_replace), (gst_caps_from_string),
13099         (gst_caps_copy_conditional):
13100         * gst/gstcaps.h:
13101         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13102         (_gst_clock_id_free), (gst_clock_id_unref),
13103         (gst_clock_id_compare_func), (gst_clock_id_wait),
13104         (gst_clock_id_wait_async), (gst_clock_class_init),
13105         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13106         (gst_clock_get_time), (gst_clock_set_time_adjust),
13107         (gst_clock_set_property), (gst_clock_get_property):
13108         * gst/gstclock.h:
13109         * gst/gstcompat.h:
13110         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13111         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13112         * gst/gstdata.h:
13113         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13114         (gst_element_requires_clock), (gst_element_provides_clock),
13115         (gst_element_set_clock), (gst_element_clock_wait),
13116         (gst_element_wait), (gst_element_set_time_delay),
13117         (gst_element_is_indexable), (gst_element_add_pad),
13118         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13119         (pad_compare_name), (gst_element_get_static_pad),
13120         (gst_element_request_pad), (gst_element_get_request_pad),
13121         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13122         (gst_element_class_get_pad_template_list),
13123         (gst_element_class_get_pad_template), (gst_element_error_func),
13124         (gst_element_get_random_pad), (gst_element_get_event_masks),
13125         (gst_element_send_event), (gst_element_seek),
13126         (gst_element_get_query_types), (gst_element_query),
13127         (gst_element_get_formats), (gst_element_convert),
13128         (gst_element_is_locked_state), (gst_element_set_locked_state),
13129         (gst_element_sync_state_with_parent), (gst_element_change_state),
13130         (gst_element_finalize), (gst_element_yield),
13131         (gst_element_interrupt), (gst_element_set_scheduler),
13132         (gst_element_get_scheduler), (gst_element_set_loop_function):
13133         * gst/gstelement.h:
13134         * gst/gstevent.h:
13135         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13136         (gst_format_get_by_nick), (gst_format_get_details),
13137         (gst_format_iterate_definitions):
13138         * gst/gstformat.h:
13139         * gst/gstindex.c: (gst_index_gtype_resolver):
13140         * gst/gstinfo.c:
13141         * gst/gstinfo.h:
13142         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13143         (gst_mem_chunk_free):
13144         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13145         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13146         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13147         (gst_object_dispatch_properties_changed),
13148         (gst_object_set_name_default), (gst_object_set_name),
13149         (gst_object_get_name), (gst_object_set_name_prefix),
13150         (gst_object_get_name_prefix), (gst_object_set_parent),
13151         (gst_object_get_parent), (gst_object_unparent),
13152         (gst_object_check_uniqueness), (gst_object_save_thyself),
13153         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13154         (gst_object_set_property), (gst_object_get_property),
13155         (gst_object_get_path_string):
13156         * gst/gstobject.h:
13157         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13158         (gst_real_pad_init), (gst_real_pad_get_property),
13159         (gst_pad_custom_new), (gst_pad_get_direction),
13160         (gst_pad_set_active), (gst_pad_is_active),
13161         (gst_pad_set_event_function), (gst_pad_is_linked),
13162         (gst_pad_link_free), (gst_pad_link_intersect),
13163         (gst_pad_link_fixate), (gst_pad_set_caps),
13164         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13165         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13166         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13167         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13168         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13169         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13170         (gst_pad_realize), (gst_pad_get_allowed_caps),
13171         (gst_real_pad_dispose), (gst_real_pad_finalize),
13172         (gst_pad_collectv), (gst_pad_collect_valist),
13173         (gst_pad_template_dispose), (gst_pad_template_new),
13174         (gst_pad_get_internal_links):
13175         * gst/gstpad.h:
13176         * gst/gstpipeline.c: (gst_pipeline_dispose),
13177         (gst_pipeline_change_state):
13178         * gst/gstpipeline.h:
13179         * gst/gstplugin.c:
13180         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13181         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13182         * gst/gstpluginfeature.h:
13183         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13184         * gst/gstquery.c: (_gst_query_type_initialize),
13185         (gst_query_type_register), (gst_query_type_get_by_nick),
13186         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13187         * gst/gstquery.h:
13188         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13189         * gst/gstscheduler.c: (gst_scheduler_add_element),
13190         (gst_scheduler_factory_create):
13191         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13192         (gst_structure_free), (gst_structure_set_name),
13193         (gst_structure_id_set_value), (gst_structure_set_value),
13194         (gst_structure_set_valist), (gst_structure_remove_field),
13195         (gst_structure_remove_fields),
13196         (gst_structure_remove_fields_valist),
13197         (gst_structure_remove_all_fields), (gst_structure_foreach),
13198         (gst_structure_map_in_place),
13199         (gst_caps_structure_fixate_field_nearest_int),
13200         (gst_caps_structure_fixate_field_nearest_double):
13201         * gst/gststructure.h:
13202         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13203         (gst_system_clock_init), (gst_system_clock_dispose),
13204         (gst_system_clock_async_thread),
13205         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13206         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13207         * gst/gstsystemclock.h:
13208         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13209         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13210         * gst/gsttaginterface.c:
13211         * gst/gstthread.c: (gst_thread_dispose),
13212         (gst_thread_release_children_locks), (gst_thread_change_state),
13213         (gst_thread_main_loop):
13214         * gst/gsttrashstack.h:
13215         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13216         * gst/gsttypes.h:
13217         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13218         (gst_element_request_pad), (gst_element_get_pad_from_template),
13219         (gst_element_request_compatible_pad),
13220         (gst_element_get_compatible_pad_filtered),
13221         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13222         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13223         (gst_element_link_many), (gst_element_link),
13224         (gst_element_link_pads), (gst_element_unlink_pads),
13225         (gst_element_unlink_many), (gst_element_unlink),
13226         (gst_pad_can_link_filtered), (gst_pad_can_link),
13227         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13228         (gst_object_default_error), (gst_bin_add_many),
13229         (gst_bin_remove_many), (gst_element_populate_std_props),
13230         (gst_element_class_install_std_props), (gst_buffer_merge),
13231         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13232         (link_fold_func), (gst_pad_proxy_setcaps):
13233         * gst/gstutils.h:
13234         * gst/gstvalue.c: (gst_value_deserialize_string):
13235         * gst/parse/grammar.y:
13236         * gst/schedulers/gstbasicscheduler.c:
13237         (gst_basic_scheduler_cothreaded_chain),
13238         (gst_basic_scheduler_chain_recursive_add),
13239         (gst_basic_scheduler_pad_link):
13240         * gst/schedulers/gstoptimalscheduler.c:
13241         (get_group_schedule_function),
13242         (gst_opt_scheduler_state_transition),
13243         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13244         * libs/gst/bytestream/bytestream.c:
13245         * libs/gst/dataprotocol/dataprotocol.c:
13246         (gst_dp_header_from_buffer):
13247         * po/nb.po:
13248         * po/ru.po:
13249         * tests/threadstate/threadstate2.c: (eos):
13250         * tools/gst-compprep.c: (main):
13251         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13252         (print_pad_info), (print_children_info):
13253         * tools/gst-launch.c: (idle_func), (main):
13254         * tools/gst-md5sum.c: (idle_func), (main):
13255         * tools/gst-xmlinspect.c: (print_element_info):
13256         First THREADED backport attempt, focusing on adding locks and
13257         making sure the API is threadsafe. Needs more work. More docs
13258         follow this week.
13259
13260 2005-02-24  Andy Wingo  <wingo@pobox.com>
13261
13262         * tests/bench-complexity.scm:
13263         * tests/complexity.gnuplot: New files, good for running complexity
13264         benchmarks.
13265
13266         * tests/Makefile.am:
13267         * tests/complexity.c: New test, sets up N elements, at each level
13268         teeing into M streams per element. Eeeenteresting.
13269
13270         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13271         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13272         running bench-mass_elements.scm.
13273
13274         * tests/bench-mass_elements.scm: New script, runs mass_elements
13275         for various numbers of identities, outputting the results to a
13276         file. Requires guile 1.6. Just for testing.
13277
13278 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13279
13280         * gst/schedulers/fairscheduler.c:
13281           compile with debug disabled
13282
13283 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13284
13285         * configure.ac:
13286           hunting season on 0.9 is now OPEN