plugins/elements/gstfakesrc.c: Fix broken sync option, fixes #323259
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-07  Wim Taymans  <wim@fluendo.com>
2
3         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4         (gst_fake_src_get_times), (gst_fake_src_create):
5         Fix broken sync option, fixes #323259
6
7 2005-12-07  Wim Taymans  <wim@fluendo.com>
8
9         * gst/gstbuffer.c:
10         Small docs update.
11
12         * gst/gstcaps.c: (gst_caps_is_equal):
13         Don't assert on NULL <--> X. Fixes #323260
14
15         * gst/gstminiobject.c: (gst_mini_object_replace):
16         If we're doing atomic operations, we might just as well use
17         the proper way to get an atomic pointer.
18
19         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
20         Clean up debugging.
21
22 2005-12-07  Michael Smith  <msmith@fluendo.com>
23
24         * gst/parse/grammar.y:
25           Remove handling of { } for threads.
26
27 2005-12-06  David Schleef  <ds@schleef.org>
28
29         * libs/gst/base/gstbasetransform.c: speling fix.
30
31 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
32
33         * docs/libs/tmpl/gstdataprotocol.sgml:
34         * docs/random/omega/testing/gstobject.c:
35         * gst/gst.c:
36         * gst/gstclock.c:
37         * gst/gstelement.c:
38         * gst/gstelementfactory.c:
39         * gst/gsterror.c:
40         * gst/gstevent.c:
41         * gst/gstghostpad.c:
42         * gst/gstinfo.c:
43         * gst/gstpadtemplate.c:
44         * gst/gstregistryxml.c:
45         * gst/gsttaglist.c:
46         * gst/gsttagsetter.c:
47         * gst/gsttypefind.c:
48         * gst/gstvalue.c:
49         * libs/gst/base/gstbasesrc.c:
50         * libs/gst/net/gstnetclientclock.c:
51         * libs/gst/net/gstnettimeprovider.c:
52         * plugins/elements/gstfakesrc.c:
53         * plugins/elements/gstfdsrc.c:
54         * plugins/elements/gstfilesrc.c:
55         * plugins/elements/gstidentity.c:
56         * plugins/elements/gstqueue.c:
57         * plugins/elements/gsttypefindelement.c:
58         * plugins/indexers/gstfileindex.c:
59         * plugins/indexers/gstmemindex.c:
60         * tests/check/gst/gsttag.c:
61         * tests/old/examples/cutter/cutter.c:
62         * tests/old/examples/mixer/mixer.c:
63         * tests/old/examples/xml/runxml.c: (main):
64         * tests/old/testsuite/caps/normalisation.c:
65         * tests/old/testsuite/debug/global.c:
66         * tests/old/testsuite/parse/parse1.c:
67         * tools/gst-xmlinspect.c:
68         * win32/common/dirent.c:
69           expand tabs
70
71 === release 0.10.0 ===
72
73 2005-12-05   <thomas (at) apestaart (dot) org>
74
75         * configure.ac:
76           releasing 0.10.0, "Maroilles"
77
78 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
79
80         submitted by: Funda Wang <fundawang@linux.net.cn>
81
82         * po/LINGUAS:
83         * po/zh_CN.po:
84           added Chinese (Traditional) translation
85
86 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
87
88         * docs/gst/gstreamer-sections.txt:
89         * docs/libs/tmpl/gstdataprotocol.sgml:
90         * docs/random/thomasvs/TODO:
91         * gst/gstutils.c:
92         * gst/gstutils.h:
93           fix docs
94
95 2005-12-05  Andy Wingo  <wingo@pobox.com>
96
97         patch by: Wim Taymans <wim@fluendo.com>
98
99         * libs/gst/base/gstbasetransform.c
100         (gst_base_transform_prepare_output_buf)
101         (gst_base_transform_buffer_alloc):
102         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
103         alloc_buffer_and_set_caps.
104
105         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
106         set_caps on the source pad.
107         (gst_pad_alloc_buffer_and_set_caps): New function, does what
108         alloc_buffer used to do. Fixes #322874.
109
110         * docs/gst/gstreamer-sections.txt: 
111         * docs/design/part-negotiation.txt: 
112         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
113         changes.
114
115 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
116
117         patch by: Sebastien Moutte
118
119         * win32/MANIFEST:
120         * win32/common/config.h.in:
121         * win32/vs6/libgstcontroller.dsp:
122           win32 build fixes
123
124 2005-12-05  Wim Taymans  <wim@fluendo.com>
125
126         * gst/gstcaps.c: (gst_caps_is_equal):
127         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
128         (gst_fake_src_create):
129         Back out previous code changes, leave doc updates, file bugs 
130         instead. 
131
132 2005-12-05  Wim Taymans  <wim@fluendo.com>
133
134         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
135         (gst_fake_src_get_times), (gst_fake_src_create):
136         * plugins/elements/gstfakesrc.h:
137         Fix broken sync code.
138
139 2005-12-05  Wim Taymans  <wim@fluendo.com>
140
141         * gst/gstcaps.c: (gst_caps_is_equal):
142         Comparing NULL against !NULL yields different caps, not a
143         failure.
144
145 2005-12-05  Wim Taymans  <wim@fluendo.com>
146
147         * gst/gstpipeline.c:
148         Fix small typo in docs.
149
150 2005-12-05  Andy Wingo  <wingo@pobox.com>
151
152         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
153
154         * gst/gst.c (init_post): remove hard-coded 0.9 location for
155         registries/plugins with a MAJORMINOR one.
156         (plugin_desc): Rename library from gstcoreleements to
157         staticelements. Fixes #323222.
158
159 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
160
161         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
162           Change debug category to 'collectpads' from 'collect_pads'
163           (fixes #323250).
164
165 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
166
167         patch by: Sebastien Moutte
168
169         * libs/gst/controller/gstinterpolation.c:
170           use convert function for uint64/double
171         * win32/vs6/libgstcontroller.dsp:
172           link to GLib
173
174 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
175
176         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
177         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
178         * gst/gstutils.h:
179         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
180           add tests that seem to show that the guint64/gdouble conversions
181           are correct.
182
183 2005-12-02  Wim Taymans  <wim@fluendo.com>
184
185         * gst/gstregistry.c: (gst_registry_add_path):
186         * gst/gstregistry.h:
187         * gst/gstregistryxml.c:
188         Fix docs again.
189
190 2005-12-02  Wim Taymans  <wim@fluendo.com>
191
192         * gst/gstutils.c: (gst_util_uint64_scale_int64),
193         (gst_util_uint64_scale_int):
194         Small cleanup.
195
196         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
197         Add debug log line.
198
199         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
200         Add FIXME.
201
202 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
203
204         * win32/MANIFEST:
205         * win32/common/config.h:
206         * win32/vs6/gstreamer.dsw:
207         * win32/vs6/libgstcoreelements.dsp:
208         * win32/vs6/libgstelements.dsp:
209           renamed core elements plugin
210
211 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
212
213         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
214         (get_candidates):
215           do piece-wise major/minor comparison so 0.9 < 0.10
216           also allow .exe extensions for tools
217
218 2005-12-02  Michael Smith  <msmith@fluendo.com>
219
220         * gst/gst.c:
221           Escape a % to make gtkdoc happier; bug 322958.
222
223 === release 0.9.7 ===
224
225 2005-12-01   <thomas (at) apestaart (dot) org>
226
227         * configure.ac:
228           releasing 0.9.7, "My Dog Has No Nose"
229
230 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
231
232         * common/gst-xmlinspect.py:
233         * configure.ac:
234         * docs/libs/tmpl/gstdataprotocol.sgml:
235         * docs/random/release:
236         * po/af.po:
237         * po/az.po:
238         * po/bg.po:
239         * po/ca.po:
240         * po/cs.po:
241         * po/de.po:
242         * po/en_GB.po:
243         * po/fr.po:
244         * po/it.po:
245         * po/nb.po:
246         * po/nl.po:
247         * po/ru.po:
248         * po/sq.po:
249         * po/sr.po:
250         * po/sv.po:
251         * po/tr.po:
252         * po/uk.po:
253         * po/vi.po:
254         * win32/common/config.h:
255         * win32/common/config.h.in:
256         * win32/vs6/gst_inspect.dsp:
257         * win32/vs6/gst_launch.dsp:
258         * win32/vs6/libgstbase.dsp:
259         * win32/vs6/libgstelements.dsp:
260         * win32/vs6/libgstreamer.dsp:
261         * win32/vs7/GStreamer.vcproj:
262         * win32/vs7/gst-inspect.vcproj:
263         * win32/vs7/gst-launch.vcproj:
264         * win32/vs7/libgstbase.vcproj:
265           bump GST_MAJORMINOR to 0.10
266           reset libtool version
267
268 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
269
270         * po/LINGUAS:
271         * po/bg.po:
272           Added Bulgarian translation by (Alexander Shopov)
273
274 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
275
276         * tests/check/gst/gstplugin.c:
277           fix test
278
279 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
280
281         * common/gst-xmlinspect.py:
282         * common/gtk-doc-plugins.mak:
283         * configure.ac:
284         * docs/Makefile.am:
285         * docs/gst/Makefile.am:
286         * docs/gst/gstreamer-docs.sgml:
287         * docs/gst/gstreamer-sections.txt:
288         * docs/gst/gstreamer.types:
289         * docs/gst/gstreamer.types.in:
290         * docs/plugins/Makefile.am:
291         * docs/plugins/gstreamer-plugins-docs.sgml:
292         * docs/plugins/gstreamer-plugins-sections.txt:
293         * docs/plugins/gstreamer-plugins.types:
294         * docs/plugins/inspect.stamp:
295         * docs/plugins/inspect/plugin-coreelements.xml:
296         * docs/plugins/inspect/plugin-coreindexers.xml:
297         * docs/plugins/scanobj-build.stamp:
298         * gstreamer.spec.in:
299         * plugins/elements/Makefile.am:
300         * plugins/elements/gstelements.c:
301         * plugins/elements/gstfakesink.c:
302         * plugins/elements/gstfakesrc.c:
303         * plugins/elements/gstfilesink.c:
304         * plugins/elements/gstfilesrc.c:
305         * plugins/elements/gstqueue.c:
306         * plugins/indexers/Makefile.am:
307         * plugins/indexers/gstindexers.c:
308           document core plugins in a separate document just like all the
309           others
310           rename these plugins to something starting with core
311
312 2005-12-01  Andy Wingo  <wingo@pobox.com>
313
314         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
315         padding here before, but it missed the commit.
316
317 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
318
319         * libs/gst/controller/gstinterpolation.c:
320           whitespace prices have crashed, we should feel free to use some now
321           use gst_guint64_to_gdouble
322
323 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
324
325         * libs/gst/controller/gstcontroller.c:
326         * libs/gst/controller/gsthelper.c:
327         * libs/gst/controller/gstinterpolation.c:
328         * libs/gst/controller/lib.c:
329           wrap config.h include
330
331 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
332
333         * docs/gst/gstreamer-sections.txt:
334           update docs
335
336 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
337
338         * plugins/elements/gstelements.c:
339         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
340         (gst_fd_sink__class_init), (gst_fd_sink__init),
341         (gst_fd_sink__chain), (gst_fd_sink__set_property),
342         (gst_fd_sink__get_property):
343         * plugins/elements/gstfdsink.h:
344         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
345         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
346         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
347         (gst_fd_src_unlock), (gst_fd_src_set_property),
348         (gst_fd_src_get_property), (gst_fd_src_create),
349         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
350         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
351         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
352         (gst_fd_src_uri_handler_init):
353         * plugins/elements/gstfdsrc.h:
354         * plugins/elements/gstqueue.c: (gst_queue_get_type):
355           more anal cleanup
356
357 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
358
359         * docs/gst/Makefile.am:
360         * docs/gst/gstreamer.types.in:
361         * gst/Makefile.am:
362           fix the docs build
363
364 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
365
366         * configure.ac:
367         * gst/Makefile.am:
368         * gst/gst.c:
369         * gst/gstplugin.h:
370         * gst/gstregistry.h:
371         * tests/benchmarks/complexity.c:
372         * tests/benchmarks/mass-elements.c:
373         * tests/check/Makefile.am:
374         * tools/Makefile.am:
375         * tools/gst-inspect.c:
376         * tools/gst-xmlinspect.c:
377           various fixes to make
378           --disable-nls --disable-registry --disable-loadsave
379           --disable-parse --disable-gst-debug
380           work and get the core .so down to 360444 bytes after stripping
381
382 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
383
384         * Makefile.am:
385         * configure.ac:
386           descend into tests
387         * docs/random/thomasvs/TODO:
388         * tests/Makefile.am:
389         * tests/README:
390           add a README
391
392 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
393
394         * win32/GStreamer.vcproj:
395         * win32/MANIFEST:
396         * win32/Makefile:
397         * win32/Makefile.inspect:
398         * win32/Makefile.launch:
399         * win32/Makefile.register:
400         * win32/README.txt:
401         * win32/gst-inspect.vcproj:
402         * win32/gst-launch.vcproj:
403         * win32/gst-register.vcproj:
404         * win32/gstelements.vcproj:
405         * win32/gstgetbits.def:
406         * win32/gstgetbits.vcproj:
407         * win32/gstreamer-dbg.def:
408         * win32/gstreamer.def:
409         * win32/libgstbase.def:
410         * win32/libgstbase.vcproj:
411         * win32/link_oldruntime.c:
412         * win32/mman.c:
413         * win32/mman.h:
414         * win32/mman.inl:
415         * win32/msvc71.sln:
416           move even more stuff, win32/ is nice and clean now
417
418 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
419
420         * libs/gst/control/.cvsignore:
421         * win32/MANIFEST:
422         * win32/config.h:
423         * win32/dirent.c:
424         * win32/dirent.h:
425         * win32/gstbytestream.def:
426         * win32/gstbytestream.vcproj:
427         * win32/gstconfig.h:
428         * win32/gstenumtypes.c:
429         * win32/gstenumtypes.h:
430         * win32/gstoptimalscheduler.vcproj:
431         * win32/gstversion.h:
432         * win32/gtchar.h:
433         * win32/testsuite/bins.vcproj:
434         * win32/testsuite/bytestream.vcproj:
435         * win32/testsuite/caps.vcproj:
436         * win32/testsuite/cleanup.vcproj:
437         * win32/testsuite/clock.vcproj:
438         * win32/testsuite/debug.vcproj:
439         * win32/testsuite/dlopen.vcproj:
440         * win32/testsuite/dynparams.vcproj:
441         * win32/testsuite/elements.vcproj:
442         * win32/testsuite/ghostpads.vcproj:
443         * win32/testsuite/indexers.vcproj:
444         * win32/testsuite/negotiation.vcproj:
445         * win32/testsuite/parse.vcproj:
446         * win32/testsuite/plugin.vcproj:
447         * win32/testsuite/refcounting.vcproj:
448         * win32/testsuite/schedulers.vcproj:
449         * win32/testsuite/states.vcproj:
450         * win32/testsuite/tags.vcproj:
451         * win32/testsuite/threads.vcproj:
452           remove old win32 stuff that isn't maintained and should be
453           reorganized
454
455 2005-11-30  Andy Wingo  <wingo@pobox.com>
456
457         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
458         loading the gst.interfaces python module bork.
459
460         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
461         available since GLib 2.2. Fixes #318031.
462
463 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
464
465         * Makefile.am:
466         * check/.cvsignore:
467         * check/Makefile.am:
468         * check/elements/.cvsignore:
469         * check/elements/fakesrc.c:
470         * check/elements/fdsrc.c:
471         * check/elements/identity.c:
472         * check/generic/.cvsignore:
473         * check/generic/states.c:
474         * check/gst-libs/.cvsignore:
475         * check/gst-libs/controller.c:
476         * check/gst-libs/gdp.c:
477         * check/gst/.cvsignore:
478         * check/gst/capslist.h:
479         * check/gst/gst.c:
480         * check/gst/gstbin.c:
481         * check/gst/gstbuffer.c:
482         * check/gst/gstbus.c:
483         * check/gst/gstcaps.c:
484         * check/gst/gstelement.c:
485         * check/gst/gstevent.c:
486         * check/gst/gstghostpad.c:
487         * check/gst/gstiterator.c:
488         * check/gst/gstmessage.c:
489         * check/gst/gstminiobject.c:
490         * check/gst/gstobject.c:
491         * check/gst/gstpad.c:
492         * check/gst/gstpipeline.c:
493         * check/gst/gstplugin.c:
494         * check/gst/gstsegment.c:
495         * check/gst/gststructure.c:
496         * check/gst/gstsystemclock.c:
497         * check/gst/gsttag.c:
498         * check/gst/gstutils.c:
499         * check/gst/gstvalue.c:
500         * check/net/.cvsignore:
501         * check/net/gstnetclientclock.c:
502         * check/net/gstnettimeprovider.c:
503         * check/pipelines/.cvsignore:
504         * check/pipelines/cleanup.c:
505         * check/pipelines/simple_launch_lines.c:
506         * check/pipelines/stress.c:
507         * check/states/.cvsignore:
508         * check/states/sinks.c:
509         * configure.ac:
510         * examples/Makefile.am:
511         * examples/appreader/.cvsignore:
512         * examples/appreader/Makefile.am:
513         * examples/appreader/appreader.c:
514         * examples/controller/.cvsignore:
515         * examples/controller/Makefile.am:
516         * examples/controller/audio-example.c:
517         * examples/cutter/.cvsignore:
518         * examples/cutter/Makefile.am:
519         * examples/cutter/cutter.c:
520         * examples/cutter/cutter.h:
521         * examples/events/Makefile.am:
522         * examples/events/seek.c:
523         * examples/helloworld/.cvsignore:
524         * examples/helloworld/Makefile.am:
525         * examples/helloworld/helloworld.c:
526         * examples/helloworld2/.cvsignore:
527         * examples/helloworld2/Makefile.am:
528         * examples/helloworld2/helloworld2.c:
529         * examples/launch/.cvsignore:
530         * examples/launch/Makefile.am:
531         * examples/launch/mp3parselaunch.c:
532         * examples/launch/mp3play:
533         * examples/manual/.cvsignore:
534         * examples/manual/Makefile.am:
535         * examples/manual/extract.pl:
536         * examples/metadata/Makefile.am:
537         * examples/metadata/read-metadata.c:
538         * examples/mixer/.cvsignore:
539         * examples/mixer/Makefile.am:
540         * examples/mixer/mixer.c:
541         * examples/mixer/mixer.h:
542         * examples/pingpong/.cvsignore:
543         * examples/pingpong/Makefile.am:
544         * examples/pingpong/pingpong.c:
545         * examples/plugins/.cvsignore:
546         * examples/plugins/Makefile.am:
547         * examples/plugins/example.c:
548         * examples/plugins/example.h:
549         * examples/pwg/.cvsignore:
550         * examples/pwg/Makefile.am:
551         * examples/pwg/extract.pl:
552         * examples/queue/.cvsignore:
553         * examples/queue/Makefile.am:
554         * examples/queue/queue.c:
555         * examples/queue2/.cvsignore:
556         * examples/queue2/Makefile.am:
557         * examples/queue2/queue2.c:
558         * examples/queue3/.cvsignore:
559         * examples/queue3/Makefile.am:
560         * examples/queue3/queue3.c:
561         * examples/queue4/.cvsignore:
562         * examples/queue4/Makefile.am:
563         * examples/queue4/queue4.c:
564         * examples/retag/.cvsignore:
565         * examples/retag/Makefile.am:
566         * examples/retag/retag.c:
567         * examples/retag/transcode.c:
568         * examples/thread/.cvsignore:
569         * examples/thread/Makefile.am:
570         * examples/thread/thread.c:
571         * examples/typefind/.cvsignore:
572         * examples/typefind/Makefile.am:
573         * examples/typefind/typefind.c:
574         * examples/xml/.cvsignore:
575         * examples/xml/Makefile.am:
576         * examples/xml/createxml.c:
577         * examples/xml/runxml.c:
578         * tests/Makefile.am:
579         * tests/check/Makefile.am:
580         * testsuite/.cvsignore:
581         * testsuite/Makefile.am:
582         * testsuite/Rules:
583         * testsuite/caps/.cvsignore:
584         * testsuite/caps/Makefile.am:
585         * testsuite/caps/app_fixate.c:
586         * testsuite/caps/audioscale.c:
587         * testsuite/caps/caps.c:
588         * testsuite/caps/caps.h:
589         * testsuite/caps/caps_strings:
590         * testsuite/caps/compatibility.c:
591         * testsuite/caps/deserialize.c:
592         * testsuite/caps/enumcaps.c:
593         * testsuite/caps/eratosthenes.c:
594         * testsuite/caps/filtercaps.c:
595         * testsuite/caps/fixed.c:
596         * testsuite/caps/fraction-convert.c:
597         * testsuite/caps/fraction-multiply-and-zero.c:
598         * testsuite/caps/intersect2.c:
599         * testsuite/caps/intersection.c:
600         * testsuite/caps/normalisation.c:
601         * testsuite/caps/random.c:
602         * testsuite/caps/renegotiate.c:
603         * testsuite/caps/sets.c:
604         * testsuite/caps/simplify.c:
605         * testsuite/caps/string-conversions.c:
606         * testsuite/caps/structure.c:
607         * testsuite/caps/subtract.c:
608         * testsuite/caps/union.c:
609         * testsuite/debug/.cvsignore:
610         * testsuite/debug/Makefile.am:
611         * testsuite/debug/category.c:
612         * testsuite/debug/commandline.c:
613         * testsuite/debug/global.c:
614         * testsuite/debug/output.c:
615         * testsuite/debug/printf_extension.c:
616         * testsuite/dlopen/.cvsignore:
617         * testsuite/dlopen/Makefile.am:
618         * testsuite/dlopen/dlopen_gst.c:
619         * testsuite/dlopen/loadgst.c:
620         * testsuite/elements/.cvsignore:
621         * testsuite/elements/Makefile.am:
622         * testsuite/elements/gst-inspect-check.in:
623         * testsuite/elements/struct_i386.h:
624         * testsuite/elements/struct_size.c:
625         * testsuite/indexers/.cvsignore:
626         * testsuite/indexers/Makefile.am:
627         * testsuite/indexers/cache1.c:
628         * testsuite/indexers/indexdump.c:
629         * testsuite/parse/.cvsignore:
630         * testsuite/parse/Makefile.am:
631         * testsuite/parse/parse1.c:
632         * testsuite/parse/parse2.c:
633         * testsuite/plugin/.cvsignore:
634         * testsuite/plugin/Makefile.am:
635         * testsuite/plugin/README:
636         * testsuite/plugin/dynamic.c:
637         * testsuite/plugin/linked.c:
638         * testsuite/plugin/loading.c:
639         * testsuite/plugin/registry.c:
640         * testsuite/plugin/static.c:
641         * testsuite/plugin/static2.c:
642         * testsuite/plugin/testplugin.c:
643         * testsuite/plugin/testplugin2.c:
644         * testsuite/plugin/testplugin2_s.c:
645         * testsuite/plugin/testplugin_s.c:
646         * testsuite/refcounting/.cvsignore:
647         * testsuite/refcounting/Makefile.am:
648         * testsuite/refcounting/bin.c:
649         * testsuite/refcounting/element.c:
650         * testsuite/refcounting/element_pad.c:
651         * testsuite/refcounting/mainloop.c:
652         * testsuite/refcounting/mem.c:
653         * testsuite/refcounting/mem.h:
654         * testsuite/refcounting/object.c:
655         * testsuite/refcounting/pad.c:
656         * testsuite/refcounting/sched.c:
657         * testsuite/refcounting/thread.c:
658         * testsuite/states/.cvsignore:
659         * testsuite/states/Makefile.am:
660         * testsuite/states/bin.c:
661         * testsuite/states/locked.c:
662         * testsuite/states/parent.c:
663         * testsuite/threads/.cvsignore:
664         * testsuite/threads/159566.c:
665         * testsuite/threads/159852.c:
666         * testsuite/threads/Makefile.am:
667         * testsuite/threads/queue.c:
668         * testsuite/threads/signals.c:
669         * testsuite/threads/staticrec.c:
670         * testsuite/threads/thread.c:
671         * testsuite/threads/threadb.c:
672         * testsuite/threads/threadc.c:
673         * testsuite/threads/threadd.c:
674         * testsuite/threads/threade.c:
675         * testsuite/threads/threadf.c:
676         * testsuite/threads/threadg.c:
677         * testsuite/threads/threadh.c:
678         * testsuite/threads/threadi.c:
679           move all of these under tests
680
681 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
682
683         * configure.ac:
684         * tests/Makefile.am:
685           fix distcheck
686
687 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
688
689         * docs/gst/gstreamer-sections.txt:
690         * tests/sched/.cvsignore:
691         * tests/sched/Makefile.am:
692         * tests/sched/cases/(fs-fs).xml:
693         * tests/sched/cases/(fs-i-fs).xml:
694         * tests/sched/cases/(fs-i-i-fs).xml:
695         * tests/sched/cases/(fs-i-q[i-fs]).xml:
696         * tests/sched/dynamic-pipeline.c:
697         * tests/sched/interrupt1.c:
698         * tests/sched/interrupt2.c:
699         * tests/sched/interrupt3.c:
700         * tests/sched/runtestcases:
701         * tests/sched/runxml.c:
702         * tests/sched/sched-stress.c:
703         * tests/sched/sort.c:
704         * tests/sched/testcases:
705         * tests/sched/testcases1.tc:
706         * tests/seeking/.cvsignore:
707         * tests/seeking/Makefile.am:
708         * tests/seeking/seeking1.c:
709         * tests/threadstate/.cvsignore:
710         * tests/threadstate/Makefile.am:
711         * tests/threadstate/test1.c:
712         * tests/threadstate/test2.c:
713         * tests/threadstate/threadstate1.c:
714         * tests/threadstate/threadstate2.c:
715         * tests/threadstate/threadstate3.c:
716         * tests/threadstate/threadstate4.c:
717         * tests/threadstate/threadstate5.c:
718           remove obsolete tests
719         * configure.ac:
720         * tests/bench-complexity.scm:
721         * tests/bench-mass_elements.scm:
722         * tests/complexity.c:
723         * tests/complexity.gnuplot:
724         * tests/instantiate/.cvsignore:
725         * tests/instantiate/Makefile.am:
726         * tests/instantiate/caps.c:
727         * tests/mass_elements.c:
728         * tests/network-clock-utils.scm:
729         * tests/network-clock.scm:
730         * tests/plot-data:
731         First pass at cleaning up tests/ dir before moving the rest
732         Combined with CVS surgery
733
734 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
735
736         * po/POTFILES.in:
737           queue has moved, update
738
739 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
740
741         * docs/gst/gstreamer-sections.txt:
742           remove double entries from the docs
743         * gst/gst_private.h:
744         * gst/gstinfo.c: (_gst_debug_init):
745           remove the THREAD debug category
746         * gst/Makefile.am:
747         * gst/gstqueue.c:
748         * gst/gstqueue.h:
749         * docs/gst/gstreamer.types:
750         * plugins/elements/gstqueue.c: (gst_queue_get_type),
751         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
752           completely move queue and fix up debugging categories
753
754 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
755
756         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
757           make initialization portable, using LL is not
758
759 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
760
761         * win32/common/gstconfig.h:
762           add large padding
763
764 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
765
766         * win32/common/libgstreamer.def:
767           rename symbols; sort base section
768
769 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
770
771         * gst/gstclock.c: (do_linear_regression):
772           remove crack non-portable handrolled DEBUG macro
773
774 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
775
776         * docs/random/release:
777           update notes
778         * win32/common/gstenumtypes.c: (register_gst_object_flags),
779         (gst_object_flags_get_type), (register_gst_bin_flags),
780         (gst_bin_flags_get_type), (register_gst_buffer_flag),
781         (gst_buffer_flag_get_type), (register_gst_bus_flags),
782         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
783         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
784         (gst_caps_flags_get_type), (register_gst_clock_return),
785         (gst_clock_return_get_type), (register_gst_clock_entry_type),
786         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
787         (gst_clock_flags_get_type), (register_gst_state),
788         (gst_state_get_type), (register_gst_state_change_return),
789         (gst_state_change_return_get_type), (register_gst_state_change),
790         (gst_state_change_get_type), (register_gst_element_flags),
791         (gst_element_flags_get_type), (register_gst_core_error),
792         (gst_core_error_get_type), (register_gst_library_error),
793         (gst_library_error_get_type), (register_gst_resource_error),
794         (gst_resource_error_get_type), (register_gst_stream_error),
795         (gst_stream_error_get_type), (register_gst_event_type_flags),
796         (gst_event_type_flags_get_type), (register_gst_event_type),
797         (gst_event_type_get_type), (register_gst_seek_type),
798         (gst_seek_type_get_type), (register_gst_seek_flags),
799         (gst_seek_flags_get_type), (register_gst_format),
800         (gst_format_get_type), (register_gst_index_certainty),
801         (gst_index_certainty_get_type), (register_gst_index_entry_type),
802         (gst_index_entry_type_get_type),
803         (register_gst_index_lookup_method),
804         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
805         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
806         (gst_index_resolver_method_get_type), (register_gst_index_flags),
807         (gst_index_flags_get_type), (register_gst_debug_level),
808         (gst_debug_level_get_type), (register_gst_debug_color_flags),
809         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
810         (gst_iterator_result_get_type), (register_gst_iterator_item),
811         (gst_iterator_item_get_type), (register_gst_message_type),
812         (gst_message_type_get_type), (register_gst_mini_object_flags),
813         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
814         (gst_pad_link_return_get_type), (register_gst_flow_return),
815         (gst_flow_return_get_type), (register_gst_activate_mode),
816         (gst_activate_mode_get_type), (register_gst_pad_direction),
817         (gst_pad_direction_get_type), (register_gst_pad_flags),
818         (gst_pad_flags_get_type), (register_gst_pad_presence),
819         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
820         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
821         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
822         (gst_plugin_error_get_type), (register_gst_plugin_flags),
823         (gst_plugin_flags_get_type), (register_gst_rank),
824         (gst_rank_get_type), (register_gst_query_type),
825         (gst_query_type_get_type), (register_gst_tag_merge_mode),
826         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
827         (gst_tag_flag_get_type), (register_gst_task_state),
828         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
829         (gst_alloc_trace_flags_get_type),
830         (register_gst_type_find_probability),
831         (gst_type_find_probability_get_type), (register_gst_uri_type),
832         (gst_uri_type_get_type), (register_gst_parse_error),
833         (gst_parse_error_get_type):
834         * win32/common/gstenumtypes.h:
835         * win32/common/gstversion.h:
836           update visual studio generated files
837
838 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
839
840         * win32/vs6/libgstbase.dsp:
841         * win32/vs6/libgstelements.dsp:
842           update project files for new locations
843
844 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
845
846         * Makefile.am:
847           remove some files
848         * README:
849           reinstate and update
850         * DEVEL:
851         * REQUIREMENTS:
852           removed
853         * LICENSE:
854         * docs/random/LICENSE:
855           moved to random
856
857 2005-11-30  Edward Hervey  <edward@fluendo.com>
858
859         * gst/gsttypefind.c: (gst_type_find_register):
860         * gst/gsttypefind.h:
861         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
862         (gst_type_find_factory_dispose):
863         * gst/gsttypefindfactory.h:
864         Fix memory leak in GstTypeFindFactory.
865
866 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
867
868         * gst/gst.c:
869         * plugins/elements/Makefile.am:
870         * plugins/elements/gstelements.c:
871         * plugins/elements/gstqueue.c:
872           move queue from core to the elements plugin
873
874 2005-11-29  Andy Wingo  <wingo@pobox.com>
875
876         * libs/gst/base/gstbasetransform.h: 
877         * libs/gst/base/gstbasesrc.h: 
878         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
879
880         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
881         of pointers by which to pad very extensible base classes (like the
882         ones in libs/gst/base).
883
884 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
885
886         * docs/gst/gstreamer-docs.sgml:
887         * docs/gst/gstreamer-sections.txt:
888         * docs/libs/gstreamer-libs-docs.sgml:
889         * docs/libs/gstreamer-libs-sections.txt:
890           moving documentation from core to lib
891
892 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
893
894         * check/Makefile.am:
895         * configure.ac:
896         * docs/gst/Makefile.am:
897         * gst/Makefile.am:
898         * gst/base/.cvsignore:
899         * gst/base/Makefile.am:
900         * gst/base/README:
901         * gst/base/gstadapter.c:
902         * gst/base/gstadapter.h:
903         * gst/base/gstbasesink.c:
904         * gst/base/gstbasesink.h:
905         * gst/base/gstbasesrc.c:
906         * gst/base/gstbasesrc.h:
907         * gst/base/gstbasetransform.c:
908         * gst/base/gstbasetransform.h:
909         * gst/base/gstcollectpads.c:
910         * gst/base/gstcollectpads.h:
911         * gst/base/gstpushsrc.c:
912         * gst/base/gstpushsrc.h:
913         * gst/base/gsttypefindhelper.c:
914         * gst/base/gsttypefindhelper.h:
915         * gst/check/Makefile.am:
916         * gst/check/gstcheck.c:
917         * gst/check/gstcheck.h:
918         * gst/net/Makefile.am:
919         * gst/net/gstnet.h:
920         * gst/net/gstnetclientclock.c:
921         * gst/net/gstnetclientclock.h:
922         * gst/net/gstnettimepacket.c:
923         * gst/net/gstnettimepacket.h:
924         * gst/net/gstnettimeprovider.c:
925         * gst/net/gstnettimeprovider.h:
926         * libs/gst/Makefile.am:
927         * libs/gst/base/Makefile.am:
928         * libs/gst/base/gstbasetransform.c:
929         * libs/gst/check/Makefile.am:
930         * plugins/elements/Makefile.am:
931         * po/POTFILES.in:
932           CVS surgery + support to move base, check, and net out of gst
933           and into libs/gst
934
935 2005-11-29  Andy Wingo  <wingo@pobox.com>
936
937         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
938
939         * gst/gststructure.h (struct _GstStructure): Only one pointer of
940         padding.
941
942         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
943
944         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
945
946         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
947
948         * gst/gstobject.h: (struct _GstObject): Only one pointer of
949         padding; reduces object size by about 30%. We don't expect
950         anything else to go into gstobject.
951
952         * gst/gstminiobject.h (struct _GstMiniObject)
953         (struct _GstMiniObjectClass): Only one pointer of padding; the
954         payload is only a pointer and two ints anyway. For the class there
955         are only two methods as well.
956         
957         * gst/gstelement.h (struct _GstElementClass): Removed
958         the state_changed signal callback, it is not used.
959
960 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
961
962         * docs/gst/gstreamer.types:
963           fix includes, though they are a little dinky
964
965 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
966
967         * check/Makefile.am:
968           look in the right place for elements, a lot more chance of
969           success
970         * gst/Makefile.am:
971           remove indexers and elements subdirs
972         * plugins/Makefile.am:
973           make indexers conditional
974
975 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
976
977         * Makefile.am:
978         * configure.ac:
979         * plugins/elements/Makefile.am:
980         * plugins/elements/gstcapsfilter.c:
981         * plugins/elements/gstfilesink.c:
982         * plugins/elements/gstfilesrc.c:
983         * plugins/elements/gstidentity.c:
984         * plugins/indexers/Makefile.am:
985           do CVS surgery and related build fixery to move elements
986           and indexers in a new gstreamer/plugins directory, out of the
987           gst/ directory
988
989 2005-11-29  Andy Wingo  <wingo@pobox.com>
990
991         * check/Makefile.am:
992         * pkgconfig/gstreamer-net-uninstalled.pc.in:
993         * pkgconfig/gstreamer-net.pc.in:
994         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
995         #322257.
996
997 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
998
999         * tools/Makefile.am:
1000         * tools/gst-complete.1.in:
1001         * tools/gst-complete.c:
1002         * tools/gst-compprep.1.in:
1003         * tools/gst-compprep.c:
1004           removing -compprep and -complete
1005
1006 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1007
1008         * gst/gstevent.c: (gst_event_new_new_segment),
1009         (gst_event_parse_new_segment):
1010         * gst/gstevent.h:
1011           fix #320529 - clean up new_segment API and structure.
1012           Let's hope everyone was using the methods, and not the structure.
1013
1014 2005-11-29  Edward Hervey  <edward@fluendo.com>
1015
1016         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1017         (gst_base_sink_event), (gst_base_sink_do_sync),
1018         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1019         Properly handle non GST_FORMAT_TIME segment
1020         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1021         Properly handle non GST_FORMAT_TIME segment
1022         * gst/gstsegment.c:
1023         This function is valid if the accumulator is 0 and the format
1024         is different from the requested format.
1025         
1026 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1027
1028         * docs/gst/gstreamer-sections.txt:
1029         Add gst_query_new_seeking and gst_query_parse_seeking to the
1030         docs.
1031
1032 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1033
1034         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1035           Treat a pad alloc with new caps the same as if we were not
1036           negotiated, in order to allow a changing upstream output
1037           to produce a new format of data.
1038
1039 2005-11-29  Edward Hervey  <edward@fluendo.com>
1040
1041         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1042         (gst_base_transform_event), (gst_base_transform_eventfunc):
1043         The event virtual method is now properly implemented, with a default
1044         handler
1045         Sub classes should call the parent_class event method. They should
1046         return FALSE if they had a problem handling the given event, or don't
1047         want GstBaseTransform to send that even downstream
1048         * gst/elements/gstidentity.c: (gst_identity_class_init),
1049         (gst_identity_init), (gst_identity_event),
1050         (gst_identity_transform_ip), (gst_identity_set_property),
1051         (gst_identity_get_property):
1052         * gst/elements/gstidentity.h:
1053         Added the single-segment boolean property.
1054         If set to TRUE, it will output a single segment of data, starting from
1055         0, will eat up all incoming newsegment, and modify the timestamp of the
1056         buffers accordingly
1057
1058 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
1059
1060         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1061           Don't ref NULL target pad (#322751). Improve docs.
1062
1063 2005-11-29  Michael Smith  <msmith@fluendo.com>
1064
1065         * gst/gstregistryxml.c: (load_plugin):
1066           Don't crash if we failed to load a feature from a plugin. 
1067
1068 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1069
1070         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1071         (GST_START_TEST):
1072           use more check API and less GLib API
1073
1074 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1075
1076         * Makefile.am:
1077           don't run checks if we don't have check
1078         * common/check.mak:
1079           remove the registry when running make torture
1080         * docs/gst/gstreamer-sections.txt:
1081           remove second multiply
1082         * gst/gstqueue.c: (gst_queue_loop):
1083           fix a compile warning when disabling debug
1084
1085 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1086
1087         * gst/gstinfo.h:
1088         Hey! Let's print the pad name if the pointer != NULL instead
1089         of when it == NULL :-)
1090
1091 2005-11-28  Wim Taymans  <wim@fluendo.com>
1092
1093         * check/gst/gstutils.c: (GST_START_TEST):
1094         Updated check, add some scaling accuracy checking code.
1095
1096         * gst/gstutils.c: (gst_util_div128_64),
1097         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1098         (gst_util_uint64_scale_int):
1099         Fix 6 times faster division code. Optimize for common 
1100         1/1 and less common X/1 cases.
1101
1102 2005-11-28  Wim Taymans  <wim@fluendo.com>
1103
1104         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1105         More checks.
1106
1107         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1108         (do_linear_regression), (gst_clock_add_observation):
1109         Cleanups.
1110         Release lock when the clock cannot be slaved.
1111         Catch the case where the regression returned an invalid denominator.
1112
1113         * gst/gstutils.c: (gst_util_div128_64_iterate),
1114         (gst_util_div128_64), (gst_util_uint64_scale_int64),
1115         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1116         Add protentially more performant non-iterative 128/64 divide function
1117         that unfortunatly does not work yet.
1118         Shortcut the trivial 0/X = 0 case.
1119         Remove the warnings on overflow.
1120
1121 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1122
1123         * gst/gstplugin.c: (gst_plugin_register_func):
1124           everything causing a plugin not to load should be at least a WARNING
1125
1126 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
1127
1128         * docs/random/ensonic/dparams.txt:
1129           some TODOs for the next dev cycle
1130         * libs/gst/controller/gstcontroller.c:
1131         (gst_controlled_property_set_interpolation_mode),
1132         (gst_controlled_property_new):
1133         * libs/gst/controller/gstcontroller.h:
1134           use base type to assign acccessor functions
1135
1136 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1137
1138         * check/Makefile.am:
1139         Oops, that should have been top_srcdir
1140
1141 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1142
1143         * check/Makefile.am:
1144         * check/elements/fdsrc.c: (GST_START_TEST):
1145         Use a cmdline define to specify the location of a file to use for
1146         testing, to avoid breaking distcheck.
1147
1148 2005-11-28  Andy Wingo  <wingo@pobox.com>
1149
1150         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1151
1152 2005-11-28  Edward Hervey  <edward@fluendo.com>
1153
1154         * tools/gst-launch.c: (main):
1155         Clarify the output strings, makes it easier to translate.
1156         Fixes #322626
1157
1158 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1159
1160         * gst/Makefile.am:
1161           don't try and build net if we don't even have <sys/socket.h>
1162
1163 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1164
1165         * check/Makefile.am:
1166         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1167         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1168           Add tests for fdsrc seekability
1169
1170         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1171         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1172         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1173         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1174         * gst/elements/gstfdsrc.h:
1175           fdsrc should not be a 'live' source.
1176           Implement seeking on seekable fd's.
1177
1178         * gst/gstquery.c: (gst_query_new_seeking),
1179         (gst_query_parse_seeking):
1180         * gst/gstquery.h:
1181           Implement SEEKING query functions: 
1182             *_new_seeking and *_parse_seeking
1183
1184 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1185
1186         * gst/gstelement.c: (gst_element_dispose):
1187           don't loop forever
1188
1189         * gst/gstiterator.c:
1190         * gst/gststructure.c:
1191           doc fixes
1192
1193         * libs/gst/controller/gstcontroller.c:
1194         (gst_controlled_property_set_interpolation_mode):
1195         * libs/gst/controller/gstcontroller.h:
1196         * libs/gst/controller/gstinterpolation.c:
1197         (interpolate_none_get_enum_value_array):
1198           support controlling enums
1199
1200 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1201
1202         * gst/gstvalue.c:
1203           Improve documentation for gst_value_union().
1204
1205         * gst/gstvalue.h:
1206           Change return value for union, intersect and subtract functions
1207           from gint to gboolean.
1208
1209 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1210
1211         * gst/gstvalue.c: (gst_value_serialize_any_list),
1212         (gst_value_transform_any_list_string),
1213         (gst_value_deserialize_list), (gst_value_deserialize_array),
1214         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1215         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1216         (gst_value_set_fraction_range_full),
1217         (gst_value_deserialize_fraction_range),
1218         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1219         (gst_value_deserialize_boolean),
1220         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1221         (gst_value_serialize_float), (gst_value_deserialize_float),
1222         (gst_string_wrap), (gst_value_deserialize_string),
1223         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1224         (gst_value_union_int_range_int_range),
1225         (gst_value_intersect_int_range_int_range),
1226         (gst_value_intersect_double_range_double_range),
1227         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1228         (gst_value_subtract_int_range_int_range),
1229         (gst_value_subtract_double_double_range),
1230         (gst_value_subtract_double_range_double_range),
1231         (gst_value_deserialize_fraction):
1232         * gst/gstvalue.h:
1233           Use gint, gdouble and gchar in our API instead of int, double and
1234           char (and make usage in gstvalue.c more consistent).
1235
1236 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1237
1238         * check/Makefile.am:
1239         * libs/gst/controller/Makefile.am:
1240         * libs/gst/dataprotocol/Makefile.am:
1241           fix up Makefile.am and remove GST_ENABLE_NEW
1242
1243 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1244
1245         * configure.ac:
1246         * gst/Makefile.am:
1247         * gst/base/Makefile.am:
1248         * gst/check/Makefile.am:
1249         * gst/elements/Makefile.am:
1250         * gst/net/Makefile.am:
1251           update LDFLAGS use some more
1252
1253 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1254
1255         * common/m4/gst-doc.m4:
1256           Fixes #312589
1257
1258 2005-11-26  Edward Hervey  <edward@fluendo.com>
1259
1260         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1261         This shouldn't issue a g_warning since it returns NULL if it
1262         couldn't find the plugin, and all functions using this behave
1263         properly on a NULL return. Switching to a GST_WARNING.
1264
1265 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1266
1267         * gst/gstbin.c: (gst_bin_handle_message_func):
1268         Don't leak clock messages.
1269
1270 2005-11-25  Wim Taymans  <wim@fluendo.com>
1271
1272         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1273         (gst_util_uint64_scale_int):
1274         Optimisations, remove unneeded vars.
1275
1276 2005-11-25  Wim Taymans  <wim@fluendo.com>
1277
1278         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1279         Added more checks for the high precision uint64 cases.
1280
1281         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1282         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1283         Implement high precision (guint64 * guint64) / guint64.
1284
1285 2005-11-24  Wim Taymans  <wim@fluendo.com>
1286
1287         * gst/base/gstbasesrc.c: (gst_base_src_query):
1288         Fix wrong percentage query.
1289
1290         * gst/gstutils.c: (gst_util_uint64_scale),
1291         (gst_util_uint64_scale_int):
1292         Add some more common cases that can be handled 
1293         efficiently to _scale.
1294
1295 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1296
1297         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1298         (gst_mini_object_suite):
1299           don't use check calls from threads; check probably isn't
1300           threadsafe and using a lock to make it threadsafe would
1301           defeat the purpose of this check
1302         * gst/check/gstcheck.c:
1303         * gst/check/gstcheck.h:
1304           use GST_DEBUG some more
1305
1306 2005-11-24  Wim Taymans  <wim@fluendo.com>
1307
1308         * gst/gstutils.c: (gst_util_uint64_scale),
1309         (gst_util_uint64_scale_int):
1310         Chain trivial case to _scale_int.
1311
1312 2005-11-24  Wim Taymans  <wim@fluendo.com>
1313
1314         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1315         Added test for scaling.
1316
1317         * gst/gstclock.h:
1318         Small doc fix.
1319
1320         * gst/gstutils.c: (gst_util_uint64_scale_int):
1321         Implemented high precision scaling code.
1322
1323 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1324
1325         * gst/gstinfo.h:
1326           do not crash on pad==NULL
1327
1328 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1329
1330         Patch by: Stefan Kost
1331
1332         * common/gtk-doc.mak:
1333         * docs/gst/Makefile.am:
1334         * docs/libs/Makefile.am:
1335           Fix distcheck issues for the libraries docs build
1336           Closes #319599.
1337
1338 2005-11-24  Michael Smith <msmith@fluendo.com>
1339
1340         * docs/manual/basics-helloworld.xml:
1341           Fix bug #315027: memory leak in example code in docs.
1342
1343 2005-11-24  Michael Smith <msmith@fluendo.com>
1344
1345         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1346           Unlock the PREROLL_LOCK in a failure case.
1347
1348 2005-11-24  Wim Taymans  <wim@fluendo.com>
1349
1350         * docs/gst/gstreamer-sections.txt:
1351         * gst/base/gstadapter.h:
1352         * gst/base/gstbasesink.h:
1353         * gst/base/gstbasesrc.h:
1354         * gst/base/gstbasetransform.h:
1355         * gst/base/gstpushsrc.h:
1356         * gst/elements/gstfakesink.h:
1357         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1358         * gst/elements/gstfakesrc.h:
1359         * gst/elements/gstfilesink.h:
1360         * gst/elements/gstfilesrc.h:
1361         * gst/gst.c:
1362         * gst/gstbin.c:
1363         * gst/gstbuffer.c: (_gst_buffer_copy):
1364         * gst/gstbus.h:
1365         * gst/gstcaps.c:
1366         * gst/gstchildproxy.c:
1367         * gst/gstclock.c:
1368         * gst/gstelement.c:
1369         * gst/gstelementfactory.c:
1370         * gst/gstelementfactory.h:
1371         * gst/gstevent.c:
1372         * gst/gstghostpad.h:
1373         * gst/gstindex.h:
1374         * gst/gstinterface.h:
1375         * gst/gstminiobject.c:
1376         * gst/gstminiobject.h:
1377         * gst/gstpad.c:
1378         * gst/gstpad.h:
1379         * gst/gstpadtemplate.h:
1380         * gst/gstpipeline.h:
1381         * gst/gstpluginfeature.h:
1382         * gst/gstquery.h:
1383         * gst/gstqueue.h:
1384         * gst/gsttaglist.c:
1385         * gst/gsttaglist.h:
1386         * gst/gsttagsetter.c:
1387         * gst/gsttagsetter.h:
1388         * gst/gsttrace.c:
1389         * gst/gsttrace.h:
1390         * gst/gsttypefind.h:
1391         * gst/gsturi.h:
1392         * gst/gstvalue.c:
1393         * gst/net/gstnetclientclock.c:
1394         * gst/net/gstnetclientclock.h:
1395         * gst/net/gstnettimepacket.c:
1396         * gst/net/gstnettimeprovider.c:
1397         * gst/net/gstnettimeprovider.h:
1398         Doc fixes.
1399
1400 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1401
1402         * configure.ac: back to HEAD
1403
1404 === release 0.9.6 ===
1405
1406 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1407
1408         * configure.ac:
1409           releasing 0.9.6, "Always On Time"
1410
1411 2005-11-23  Wim Taymans  <wim@fluendo.com>
1412
1413         * docs/gst/gstreamer-sections.txt:
1414         * gst/glib-compat.c:
1415         * gst/gsttagsetter.c:
1416         * gst/gstvalue.c:
1417         * gst/net/gstnetclientclock.c:
1418         * gst/net/gstnettimepacket.h:
1419         Doc updates.
1420
1421 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1422
1423         * docs/faq/using.xml:
1424         * docs/libs/tmpl/gstcontrol.sgml:
1425         * docs/manual/advanced-dparams.xml:
1426         * docs/manual/appendix-checklist.xml:
1427         * docs/manual/basics-elements.xml:
1428         * docs/pwg/other-source.xml:
1429         * docs/random/moving-plugins:
1430         * gst/gstpad.c:
1431         * tools/gst-launch.1.in:
1432           remove mentions of sinesrc
1433
1434 2005-11-23  Michael Smith <msmith@fluendo.com>
1435
1436         * docs/gst/gstreamer-sections.txt:
1437           Update for new API and API changes.
1438         * gst/gstobject.h:
1439           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1440         * gst/gstvalue.c:
1441           Documentation typo fix.
1442         * gst/net/gstnettimepacket.c:
1443           Documentation fixes for arguments.
1444
1445 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1446
1447         * gst/gststructure.c: (gst_structure_get_fraction),
1448         (gst_structure_parse_value),
1449         (gst_structure_fixate_field_nearest_fraction):
1450         * gst/gststructure.h:
1451         * gst/gstutils.c: (gst_util_uint64_scale_int):
1452         * gst/gstutils.h:
1453         * scripts/update-funcnames:
1454         API Changes. 
1455         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1456         Make gst_structure_fixate_field_nearest_fraction take a numerator
1457         and denominator argument instead of a GValue
1458         add gst_structure_get_fraction helper function.
1459
1460 2005-11-23  Wim Taymans  <wim@fluendo.com>
1461
1462         * docs/design/part-TODO.txt:
1463         Update TODO.
1464
1465         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1466         * gst/net/gstnetclientclock.h:
1467         Use parent fields for timeout and window_size.
1468
1469 2005-11-23  Andy Wingo  <wingo@pobox.com>
1470
1471         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1472         rate_num/rate_denom change.
1473
1474         * gst/net/gstnetclientclock.c
1475         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1476         OBJECT_LOCK. Don't call add_observation with the lock.
1477
1478         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1479         fraction.
1480         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1481         rate fraction.
1482         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1483         deal with rate as a fraction whose numerator and denominator are
1484         GstClockTime values.
1485         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1486         master; the other fields are protected by the SLAVE_LOCK.
1487         (do_linear_regression): Note that this must be called with the
1488         SLAVE_LOCK.
1489         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1490         OBJECT_LOCK. Call set_calibration instead of touching the
1491         variables directly.
1492         (gst_clock_set_property, gst_clock_get_property): Protect
1493         master/slave parameters with the SLAVE_LOCK.
1494
1495         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1496         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1497         note that all of the instance variables that add_observation and
1498         the set_master functions use are protected by that lock and not
1499         the OBJECT_LOCK.
1500         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1501
1502         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1503         the caller to take the object lock.
1504
1505 2005-11-23  Wim Taymans  <wim@fluendo.com>
1506
1507         * gst/gsterror.c: (_gst_core_errors_init):
1508         * gst/gsterror.h:
1509         Add error for clock stuff.
1510
1511         * gst/gstpipeline.c: (gst_pipeline_change_state),
1512         (gst_pipeline_set_clock):
1513         Post clock error when clock cannot be used in a pipeline.
1514
1515 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1516
1517         * docs/gst/gstreamer-sections.txt:
1518           make two symbols from gstinfo private for the docs
1519         * gst/base/gstcollectpads.h:
1520         * gst/gstutils.c:
1521           fix doc typos, update docs
1522
1523 2005-11-22  Wim Taymans  <wim@fluendo.com>
1524
1525         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1526         (gst_base_sink_wait), (gst_base_sink_do_sync),
1527         (gst_base_sink_handle_event):
1528         * gst/base/gstbasesink.h:
1529         No need to store the clock, the parent element class already
1530         has it.
1531
1532         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1533         Updates for clock_set returning a gboolean
1534
1535         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1536         (gst_clock_id_wait_async), (gst_clock_class_init),
1537         (gst_clock_init), (gst_clock_finalize),
1538         (gst_clock_get_internal_time), (gst_clock_get_time),
1539         (gst_clock_slave_callback), (gst_clock_set_master),
1540         (gst_clock_get_master), (do_linear_regression),
1541         (gst_clock_add_observation), (gst_clock_set_property),
1542         (gst_clock_get_property):
1543         * gst/gstclock.h:
1544         Implement master/slave. When setting a clock as a slave, a
1545         periodic timeout is scheduled to sample master and slave times.
1546         Then the slave clock is recalibrated to match offset and rate
1547         of the master clock.
1548         Update logging a bit.
1549         Add flag so that a clock can state that is cannot be slaved to
1550         another clock.
1551
1552         * gst/gstelement.c: (gst_element_set_clock):
1553         * gst/gstelement.h:
1554         The set clock returns a gboolean for when an element cannot
1555         deal with the selected clock in the pipeline. 
1556
1557         * gst/gstpipeline.c: (gst_pipeline_change_state),
1558         (gst_pipeline_set_clock):
1559         * gst/gstpipeline.h:
1560         Handle the case where the selected clock cannot be set on
1561         the pipeline.
1562
1563         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1564         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1565         (gst_net_client_clock_set_property),
1566         (gst_net_client_clock_get_property),
1567         (gst_net_client_clock_observe_times):
1568         * gst/net/gstnetclientclock.h:
1569         Use regression code in GstClock parent, remove duplicated
1570         functionality.
1571
1572 2005-11-22  Michael Smith <msmith@fluendo.com>
1573
1574         * gst/gstutils.c: (gst_util_clock_time_scale):
1575         * gst/gstutils.h:
1576         * docs/gst/gstreamer-sections.txt:
1577           Rename method to have extra underscore.
1578
1579 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1580
1581         * gst/elements/Makefile.am:
1582         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1583         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1584         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1585         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1586         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1587         * gst/elements/gstfakesrc.h:
1588         * gst/gstqueue.c: (queue_leaky_get_type):
1589           correctly fix GEnumValues so that nick is the short lowercase
1590           dashed tag
1591         * tools/gst-inspect.c: (print_element_properties_info):
1592           also show the nick, since it's useful to use from parse_launch
1593           syntax
1594           Fixes #322139
1595
1596 2005-11-22  Michael Smith <msmith@fluendo.com>
1597
1598         * gst/gstutils.c: (gst_util_clocktime_scale):
1599         * gst/gstutils.h:
1600         * docs/gst/gstreamer-sections.txt:
1601           Add util method for scaling a clocktime by a fraction. Useful 
1602           implementation is left as an exercise for the reader.
1603
1604 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1605
1606         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1607         If needed, allocate storage in the destination value during
1608         collection.
1609
1610 2005-11-22  Edward Hervey  <edward@fluendo.com>
1611
1612         * docs/gst/gstreamer-sections.txt:
1613         * gst/Makefile.am:
1614         * gst/gst.h:
1615         * gst/gsturitype.c:
1616         * gst/gsturitype.h:
1617         * gst/gstutils.c: (gst_util_set_object_arg):
1618         * tools/gst-compprep.c: (main):
1619         * tools/gst-inspect.c: (print_element_properties_info):
1620         Removed GstURI, closes bug #321061
1621
1622 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1623
1624         * check/gst/gststructure.c: (GST_START_TEST):
1625         * gst/gststructure.c: (gst_structure_parse_value):
1626           Oops, broke automatic string type parsing.
1627           Add a test to catch it in future.
1628
1629 2005-11-22  Andy Wingo  <wingo@pobox.com>
1630
1631         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1632         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1633         Actually rename the function implementations. Grr.
1634
1635 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1636
1637         * check/gst/capslist.h:
1638           Comment test cases
1639         * check/gst/gststructure.c: (GST_START_TEST),
1640         (gst_structure_suite):
1641           Test automatic value type detection in gst_structure_from_string.
1642         * gst/gststructure.c: (gst_structure_parse_value):
1643           Add fraction as a type we try and guess automatically in
1644           caps/structure strings.
1645
1646 2005-11-22  Andy Wingo  <wingo@pobox.com>
1647
1648         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1649
1650         * gst/gsttagsetter.h:
1651         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1652         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1653         (gst_tag_setter_add_tag_valist)
1654         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1655         _add_values, _add_valist, and _add_valist_values. Since this is an
1656         interface the function suffixes should be more explicit so
1657         language binding don't end up with element.add_valist ->
1658         gst_tag_setter_add_valist, for example. Fixes #322069.
1659
1660 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1661
1662         * check/gst/gstcaps.c: (GST_START_TEST):
1663           Extend caps string tests to check that a caps to string
1664           conversion is reversible and produces the same caps.
1665
1666         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1667           Output "fraction" as the generic type fraction range, so caps
1668           serialisation and deserialisation works.
1669         * check/gst/capslist.h:
1670         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1671           Support 'MIN' and 'MAX' for deserialising fractions.
1672
1673 2005-11-22  Andy Wingo  <wingo@pobox.com>
1674
1675         * gst/gstevent.h (gst_event_new_new_segment)
1676         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1677         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1678         Renamed from *_newsegment, *_buffersize, *_notarget.
1679
1680         * scripts/update-funcnames: New script, performs the changes
1681         listed above.
1682
1683 2005-11-22  Wim Taymans  <wim@fluendo.com>
1684
1685         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1686         Make sure the GstFlowReturn is returned.
1687
1688         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1689         (gst_bus_add_signal_watch):
1690         * gst/gstbus.h:
1691         add gst_bus_add_signal_watch_full.
1692
1693         * gst/gstplugin.c: (gst_plugin_load_file):
1694         Small style cleanup.
1695
1696 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1697
1698         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1699           Block the fakesrc srcpad when we send an event, to avoid
1700           contention on the stream_lock causing random test failures.
1701
1702 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1703
1704         * check/gst/gstvalue.c: (GST_START_TEST):
1705         * gst/gstvalue.c: (gst_value_fraction_subtract):
1706           Fix subtraction.
1707
1708 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1709
1710         * gst/gst.h:
1711           include "gstchildproxy.h"
1712         * gst/gstchildproxy.h:
1713         * libs/gst/controller/gstcontroller.h:
1714           use G_GNUC_NULL_TERMINATED
1715
1716 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1717
1718         * check/gst/capslist.h:
1719         * check/gst/gstcaps.c: (GST_START_TEST):
1720         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1721         * gst/gststructure.c: (gst_structure_parse_range),
1722         (gst_structure_fixate_field_nearest_fraction):
1723         * gst/gststructure.h:
1724         * gst/gstvalue.c: (gst_value_init_fraction_range),
1725         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1726         (gst_value_collect_fraction_range),
1727         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1728         (gst_value_set_fraction_range_full),
1729         (gst_value_get_fraction_range_min),
1730         (gst_value_get_fraction_range_max),
1731         (gst_value_serialize_fraction_range),
1732         (gst_value_transform_fraction_range_string),
1733         (gst_value_compare_fraction_range),
1734         (gst_value_deserialize_fraction_range),
1735         (gst_value_intersect_fraction_fraction_range),
1736         (gst_value_intersect_fraction_range_fraction_range),
1737         (gst_value_subtract_fraction_fraction_range),
1738         (gst_value_subtract_fraction_range_fraction),
1739         (gst_value_subtract_fraction_range_fraction_range),
1740         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1741         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1742         (gst_value_transform_string_fraction), (_gst_value_initialize):
1743         * gst/gstvalue.h:
1744           Implement fraction ranges and extend GstFraction to support
1745           arithmetic subtraction, as well as deserialization from integer
1746           strings such as "100"
1747           Add a testsuite as for int and double range set operations
1748
1749 2005-11-21  Andy Wingo  <wingo@pobox.com>
1750
1751         * gst/gsttaglist.h: 
1752         * gst/gstcaps.h: 
1753         * gst/gststructure.h: Add glib-compat.h.
1754
1755 2005-11-21  Wim Taymans  <wim@fluendo.com>
1756
1757         * gst/gstbin.c: (gst_bin_change_state_func):
1758         Fix for #321595
1759
1760 2005-11-21  Wim Taymans  <wim@fluendo.com>
1761
1762         * gst/gstsegment.h:
1763         And add a nice define too.
1764
1765 2005-11-21  Wim Taymans  <wim@fluendo.com>
1766
1767         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1768         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1769         (gst_segment_set_duration), (gst_segment_set_last_stop),
1770         (gst_segment_set_seek), (gst_segment_set_newsegment),
1771         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1772         (gst_segment_clip):
1773         * gst/gstsegment.h:
1774         Make binding friendly.
1775
1776 2005-11-21  Andy Wingo  <wingo@pobox.com>
1777
1778         * gst/gsttagsetter.h: 
1779         * gst/gsttaglist.h: 
1780         * gst/gststructure.h: 
1781         * gst/gstcaps.h: 
1782         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1783         #319940.
1784
1785         * gst/gsterror.c (_gst_core_errors_init):
1786         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1787         category.
1788
1789         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1790         (noinst_HEADERS): noinst the -private.
1791
1792 2005-11-21  Michael Smith <msmith@fluendo.com>
1793
1794         * gst/gstplugin.h:
1795         * gst/gstregistry.h:
1796           Remove unimplemented declarations for which we can see no sensible
1797           use.
1798
1799 2005-11-21  Andy Wingo  <wingo@pobox.com>
1800
1801         * gst/gst.h: Include glib-compat.h.
1802
1803         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1804
1805         * gst/glib-compat.c: Include the public and the private header.
1806
1807         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1808
1809         * gst/gstvalue.c: 
1810         * gst/gstpad.c: 
1811         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1812
1813         * check/gst/gstevent.c (create_custom_events): Check that
1814         FLUSH_STOP is serialized.
1815
1816         * check/elements/identity.c (event_func): 
1817         * check/elements/fakesrc.c (event_func): No stream lock, the core
1818         takes it.
1819
1820         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1821         stream lock taking, yay.
1822
1823         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1824         ensure that core takes the stream lock.
1825
1826         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1827         lock name change.
1828
1829         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1830         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1831         it already. For the flush start we do take it though so we get the
1832         right preroll state change messages.
1833
1834         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1835         the stream lock here, the core does it for us.
1836
1837         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1838         GST_STREAM_GET_LOCK.
1839         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1840         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1841         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1842         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1843         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1844         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1845
1846         * gst/gstpad.c: Update for stream lock name change.
1847
1848         * gst/base/gstbasesink.c: Update for preroll lock name change.
1849
1850 2005-11-21  Wim Taymans  <wim@fluendo.com>
1851
1852         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1853         (gst_clock_get_master):
1854         * gst/gstclock.h:
1855         * gst/gstsystemclock.c: (gst_system_clock_init):
1856         Convert Clock flags to object flags.
1857         Added methods to manage master/slave clocks.
1858
1859 2005-11-21  Wim Taymans  <wim@fluendo.com>
1860
1861         * check/gst/gstsegment.c: (GST_START_TEST):
1862         * docs/design/part-TODO.txt:
1863         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1864         (gst_base_sink_event), (gst_base_sink_do_sync),
1865         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1866         (gst_base_sink_query), (gst_base_sink_change_state):
1867         * gst/base/gstbasesink.h:
1868         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1869         (gst_base_src_default_newsegment),
1870         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1871         (gst_base_src_get_range), (gst_base_src_loop),
1872         (gst_base_src_change_state):
1873         * gst/base/gstbasesrc.h:
1874         * gst/base/gstbasetransform.c:
1875         (gst_base_transform_prepare_output_buf),
1876         (gst_base_transform_event), (gst_base_transform_change_state):
1877         * gst/base/gstbasetransform.h:
1878         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1879         (gst_collect_pads_event):
1880         * gst/base/gstcollectpads.h:
1881         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1882         (gst_fake_src_create):
1883         * gst/elements/gstfakesrc.h:
1884         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1885         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1886         (gst_segment_set_last_stop), (gst_segment_set_seek),
1887         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1888         (gst_segment_to_running_time), (gst_segment_clip):
1889         * gst/gstsegment.h:
1890         More segment updates, replace code in plugins with segment
1891         helper functions.
1892
1893 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1894
1895         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1896         Don't ignore sscanf results
1897
1898 2005-11-21  Andy Wingo  <wingo@pobox.com>
1899
1900         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1901
1902         * *.h:
1903         * *.c: Ran scripts/update-macros. Oh yes.
1904
1905         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1906         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1907         GST_GET_LOCK, etc.
1908
1909         * scripts/update-macros: New script. Run it on your files to
1910         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1911         well.
1912
1913 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1914
1915         * docs/gst/Makefile.am:
1916         * docs/gst/gstreamer-docs.sgml:
1917         * docs/gst/gstreamer-sections.txt:
1918         * docs/gst/gstreamer.types:
1919         * gst/gstinfo.h:
1920           more docs fixes, add new api to the docs
1921
1922 2005-11-21  Andy Wingo  <wingo@pobox.com>
1923
1924         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1925         state_broadcast call.
1926
1927         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1928
1929 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1930
1931         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1932         function calls for arrays.
1933
1934 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1935
1936         * docs/random/ensonic/media-device-daemon.txt:
1937           wild idea, can this be done?
1938         * docs/gst/gstreamer-sections.txt:
1939         * gst/gsterror.h:
1940         * gst/gstfilter.c:
1941         * gst/gstfilter.h:
1942         * gst/gstplugin.h:
1943         * gst/gstpluginfeature.c:
1944         * gst/gsttrace.c:
1945         * gst/gstvalue.c:
1946         * gst/gstvalue.h:
1947           doc fixes and additions
1948
1949 2005-11-21  Andy Wingo  <wingo@pobox.com>
1950
1951         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1952         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1953         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1954         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1955         private to the basesrc implementation.
1956
1957         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1958         behalf of event function if necessary. It should no longer be
1959         necessary to take the stream lock in pad's event functions. Fixes
1960         #320299.
1961
1962 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1963         * docs/gst/gstreamer-sections.txt:
1964         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1965         (gst_structure_fixate_field_nearest_double),
1966         (gst_structure_fixate_field_boolean):
1967         * gst/gststructure.h:
1968         * win32/common/libgstreamer.def:
1969         * win32/gstreamer.def:
1970
1971         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1972         (#322027)
1973
1974 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1975
1976         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1977         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1978         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1979         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1980         (gst_fdsrc_uri_handler_init):
1981         * gst/elements/gstfdsrc.h:
1982           Port fd:// URI handler from 0.8 to fdsrc
1983
1984 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1985
1986         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1987         (gst_value_serialize_fourcc):
1988         * gst/gstvalue.h:
1989           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1990           consistent with our other format defines (#320324).
1991
1992 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1993
1994         * gst/gstvalue.c: (gst_value_is_fixed):
1995           Revert previous commit. Value lists are by definition
1996           not fixed, as they are a list of possible values.
1997
1998 2005-11-21  Andy Wingo  <wingo@pobox.com>
1999
2000         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2001         during the stable series if we need it. Fixes #319178.
2002
2003         * gst/gstevent.c (gst_event_new_filler): Removed.
2004
2005         * check/gst/gstevent.c: Update comment about filler events.
2006
2007 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2008
2009         * gst/gstvalue.c: (gst_value_is_fixed):
2010           Should handle both value arrays and value lists.
2011
2012 2005-11-21  Andy Wingo  <wingo@pobox.com>
2013
2014         patch by: Alessandro Dessina <alessandro nnva org>
2015
2016         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2017         functions to access arrays. Fixes #321962.
2018
2019 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2020
2021         * docs/gst/gstreamer.types:
2022           gst_collectpads_get_type => gst_collect_pads_get_type.
2023           
2024         * gst/base/gstbasetransform.c:
2025           Remove unused SIGNAL_HANDOFF enum.
2026
2027 2005-11-21  Andy Wingo  <wingo@pobox.com>
2028
2029         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2030         the event type (upstream, downstream, serialized). Renamed
2031         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2032         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2033         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2034
2035         * gst/gstevent.c: Update for new CUSTOM event names.
2036
2037         * check/gst/gstevent.c: Update check for new CUSTOM event names.
2038
2039         * gst/gstevent.h:
2040         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2041         bug #319392.
2042
2043 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2044
2045         * docs/gst/gstreamer-sections.txt:
2046         * win32/common/libgstbase.def:
2047         * win32/libgstbase.def:
2048         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2049         (gst_collect_pads_class_init), (gst_collect_pads_init),
2050         (gst_collect_pads_finalize), (gst_collect_pads_new),
2051         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2052         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2053         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2054         (gst_collect_pads_start), (gst_collect_pads_stop),
2055         (gst_collect_pads_peek), (gst_collect_pads_pop),
2056         (gst_collect_pads_available), (gst_collect_pads_read),
2057         (gst_collect_pads_flush), (gst_collect_pads_event),
2058         (gst_collect_pads_chain):
2059         * gst/base/gstcollectpads.h:
2060           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2061           unimplemented functions as unimplemented. Add padding to
2062           GstCollectData. (#320766, #320423)
2063
2064 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2065
2066         * gst/gstmessage.c:
2067           Improve docs for DURATION message (usage of duration parameter)
2068           (#320113)
2069
2070 2005-11-20  Wim Taymans  <wim@fluendo.com>
2071
2072         * check/Makefile.am:
2073         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2074         (main):
2075         * gst/Makefile.am:
2076         * gst/gst.h:
2077         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2078         (gst_segment_set_seek), (gst_segment_set_newsegment),
2079         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2080         (gst_segment_clip):
2081         * gst/gstsegment.h:
2082         Added segment helper structure and methods. Not fully implemented
2083         yet.
2084         Added segment check.
2085
2086 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
2087
2088         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2089           Add a deserialisation test for fractions
2090         * examples/metadata/read-metadata.c: (message_loop),
2091         (make_pipeline), (main):
2092           Fix up metadata reading sample.
2093         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2094           Debug format fix
2095         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2096           Don't try and fixate empty caps
2097         * gst/gst_private.h:
2098           Wrap in G_BEGIN_DECLS/G_END_DECLS
2099         * gst/gstvalue.c: (gst_value_collect_fraction),
2100         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2101         (gst_value_transform_string_fraction),
2102         (gst_value_compare_fraction):
2103           Add some extra guards to ensure that we don't end up 
2104           with an invalid denominator of 0 in a gstfraction and
2105           that fractions always get reduced.
2106
2107 2005-11-20  Wim Taymans  <wim@fluendo.com>
2108
2109         * docs/gst/gstreamer-sections.txt:
2110         * gst/gstbuffer.h:
2111         * gst/gstelement.c:
2112         * gst/gstformat.c:
2113         * gst/gstformat.h:
2114         * gst/gstindex.h:
2115         * gst/gstquery.c:
2116         * gst/gstquery.h:
2117         * gst/gstvalue.c:
2118         Doc fixes.
2119
2120 2005-11-20  Wim Taymans  <wim@fluendo.com>
2121
2122         * docs/design/part-TODO.txt:
2123         * gst/gstcaps.h:
2124         Make a proper enum of the flag.
2125
2126 2005-11-19  Wim Taymans  <wim@fluendo.com>
2127
2128         * docs/design/part-TODO.txt:
2129         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2130         (gst_format_to_quark), (gst_format_register):
2131         * gst/gstformat.h:
2132         * gst/gstquery.c: (_gst_query_initialize),
2133         (gst_query_type_get_name), (gst_query_type_to_quark),
2134         (gst_query_type_register):
2135         * gst/gstquery.h:
2136         Add type to quark and type to string conversions.
2137
2138 2005-11-19  Andy Wingo  <wingo@pobox.com>
2139
2140         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2141         #320097.
2142
2143 2005-11-19  Wim Taymans  <wim@fluendo.com>
2144
2145         * docs/design/part-TODO.txt:
2146         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2147         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2148         (gst_bin_handle_message_func):
2149         * gst/gstbin.h:
2150         Make message handling overridable.
2151
2152 2005-11-19  Andy Wingo  <wingo@pobox.com>
2153
2154         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2155
2156         * gst/gstclock.h:
2157         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2158         be a GstClockTime.
2159         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2160         is a GstClockTime. Fixes #321710.
2161
2162         * gst/gstclock.h (GstClock): Remove offset property. Add
2163         internal_calibration and external_calibration. Fix padding. Pad
2164         also by GstClockTime so we don't run into problems.
2165
2166         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2167         (gst_clock_get_rate_offset): Remove.
2168         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2169
2170         * gst/gstutils.h:
2171         * gst/gstutils.c (g_static_rec_cond_wait)
2172         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2173
2174         * gst/gstbin.c: Remove terrible continue_state prototype.
2175
2176         * gst/gstelement.h (gst_element_continue_state): Make public.
2177
2178         * gst/gstelement.h:
2179         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2180         by continue_state. Fixes #319389.
2181
2182         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2183         Really fixes #168438. However I don't see anywhere where the
2184         filter function is called... stupid GStreamer...
2185         
2186         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2187         don't have a dispose function, so it won't get called when the
2188         object is unreffed, but oh well!
2189
2190         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2191         allows a destroy function to be set so user_data can be freed.
2192         Fixes #168438.
2193         (gst_index_set_filter): Call gst_index_set_filter_full.
2194
2195         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2196
2197         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2198         string should produce an error, given the lack of a way to
2199         represent NULL strings. Fixes #165650.
2200         
2201         * gst/gstvalue.h: 
2202         * gst/gstvalue.c (gst_value_array_append_value) 
2203         (gst_value_array_prepend_value, gst_value_array_get_size) 
2204         (gst_value_array_get_value): New API, copied from
2205         gst_value_list_*, only operates on arrays.
2206         (gst_value_list_append_value, gst_value_list_prepend_value) 
2207         (gst_value_list_concat, gst_value_list_get_size) 
2208         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2209
2210         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2211         init_list, because it works on both.
2212         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2213         (gst_value_copy_list_or_array): Renamed from copy_list.
2214         (gst_value_free_list_or_array): Renamed from free_list.
2215         (gst_value_collect_list_or_array): Renamed from collect_list.
2216         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2217         (gst_value_list_or_array_peek_pointer): Renamed from
2218         list_peek_pointer.
2219         (_gst_value_array_value_table, _gst_value_list_value_table):
2220         Update value table functions.
2221         (gst_value_compare_list_or_array): Renamed from compare_list.
2222
2223         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2224         some constness.
2225
2226         * gst/gsttaglist.c:
2227         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2228         GstTagList*. Fixes #143472.
2229
2230         * gst/gststructure.h: Clarify what the foreach/map functions can
2231         or can't do to their arguments.
2232
2233 2005-11-18  Wim Taymans  <wim@fluendo.com>
2234
2235         * gst/gstclock.c: (gst_clock_set_calibration),
2236         (gst_clock_get_calibration):
2237         Doc and API fixes.
2238         Calibration can be set with internal time equal to current
2239         internal time too.
2240
2241 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2242
2243         * gst/gsterror.c:
2244         * gst/gsterror.h:
2245           document
2246
2247 2005-11-18  Andy Wingo  <wingo@pobox.com>
2248
2249         * configure.ac: 
2250         * pkgconfig/gstreamer-net.pc.in:
2251         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2252         * pkgconfig/Makefile.am: Add net pkgconfig files.
2253
2254 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2255
2256         * gst/gstcaps.c:
2257         * gst/gstghostpad.c:
2258         * gst/gsttrace.c:
2259         * gst/gstvalue.c:
2260         * gst/gstvalue.h:
2261           docs fixes
2262
2263 2005-11-18  Andy Wingo  <wingo@pobox.com>
2264
2265         * gst/net/gstnetclientclock.c: Turn off debugging.
2266
2267         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2268         times connverge somewhat. Can't make a real test.
2269
2270         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2271         integer arithmetic. Return the minimum of the domain, which can be
2272         set as "internal" for gst_clock_set_calibration.
2273         (gst_net_client_clock_observe_times): Call _set_calibration.
2274         (gst_net_client_clock_new): Call _set_calibration instead of
2275         rate_offset.
2276
2277         * check/net/gstnetclientclock.c (test_functioning): Use the right
2278         adjustment api.
2279
2280         * gst/gstclock.h:
2281         * gst/gstclock.c (gst_clock_get_calibration) 
2282         (gst_clock_set_calibration): New functions, obsolete the ones I
2283         added yesterday. Doh. Precision issues mean we have to extrapolate
2284         from a point in the more recent past than 1970.
2285         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2286         obsolete.
2287         (gst_clock_adjust_unlocked): Use the right calibration data.
2288
2289 2005-11-18  Edward Hervey  <edward@fluendo.com>
2290
2291         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2292         Also reset the ->current_* values in READY->PAUSED
2293
2294 2005-11-18  Andy Wingo  <wingo@pobox.com>
2295
2296         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2297         Whoops, check the right fd. Also add some debugging.
2298         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2299         (do_linear_regression): Add a crapload of debugging. Subtract off
2300         the minimum values from the input series to discard unneeded bits.
2301         Use only int arithmetic. There is still double arithmetic when
2302         calculating the intercept that needs fixing. Return boolean to
2303         indicate success; FALSE would mean the domain or range is too
2304         great. Still needs fixes.
2305
2306 2005-11-18  Wim Taymans  <wim@fluendo.com>
2307
2308         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2309         For the current position in stream time, we need to subtract
2310         accumulated time.
2311         
2312         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2313         Release lock before calling the callback function of async
2314         entries.
2315
2316 2005-11-18  Andy Wingo  <wingo@pobox.com>
2317
2318         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2319         Port goes all the way to MAXUINT16.
2320
2321         * gst/net/gstnettimeprovider.c: Make the port range the same as
2322         for the kernel: 0 assigns, otherwise ports are less than
2323         MAXUINT16.
2324
2325         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2326         port change.
2327
2328         * check/net/gstnetclientclock.c (test_functioning): Add the start
2329         of another test. 
2330
2331 2005-11-18  Wim Taymans  <wim@fluendo.com>
2332
2333         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2334         (gst_bin_remove_func), (bin_bus_handler):
2335         * gst/gstbin.h:
2336         Removing a clock provider from a bin, triggers a clock lost message
2337         so that a new clock will be selected.
2338         Adding a clock to a bin triggers a clock provider message.
2339         Make sure we reselect a clock when we received a clock lost message.
2340         Keep a reference to the element that provided the clock.
2341
2342 2005-11-18  Andy Wingo  <wingo@pobox.com>
2343
2344         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2345         the clock initially so it produces values around the base time.
2346         (gst_net_client_clock_class_init): Typo fix.
2347         (gst_net_client_clock_thread): Add note on when the socket gets
2348         closed.
2349
2350 2005-11-17  Wim Taymans  <wim@fluendo.com>
2351
2352         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2353         Free remote and local time arrays.
2354
2355 2005-11-17  Wim Taymans  <wim@fluendo.com>
2356
2357         * gst/net/gstnetclientclock.c: (do_linear_regression),
2358         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2359         Fix compilation, uninitialized vars and a forgotten continue.
2360
2361 2005-11-17  Andy Wingo  <wingo@pobox.com>
2362
2363         * check/Makefile.am (check_PROGRAMS): 
2364         * check/net/gstnetclientclock.c: Add a most minimal test for the
2365         net client clock. More to come later.
2366
2367         * gst/net/gstnet.h: 
2368         * gst/net/Makefile.am: Add netclientclock.
2369
2370         * gst/net/gstnetclientclock.h:
2371         * gst/net/gstnetclientclock.c: New files, implement an untested
2372         GstClock that takes its time from a network time provider.
2373         Implements the algorithm in network-clock.scm.
2374
2375         * tests/network-clock.scm (*window-size*): Rename from
2376         *queue-length*.
2377         * tests/network-clock.scm (network-time): 
2378         * tests/network-clock-utils.scm (q-push): Update callers.
2379
2380 2005-11-17  Wim Taymans  <wim@fluendo.com>
2381
2382         * gst/gstbin.c: (gst_bin_provide_clock_func),
2383         (gst_bin_sort_iterator_new):
2384         And unref the child too..
2385
2386 2005-11-17  Wim Taymans  <wim@fluendo.com>
2387
2388         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2389         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2390         Refactor the sort iterator so it can be used while holding the
2391         LOCK too.
2392         Make clock selection select a clock closest to the source.
2393
2394 2005-11-17  Michael Smith <msmith@fluendo.com>
2395
2396         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2397         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2398         * gst/gstclock.h:
2399           Anonymous structs are a gcc (and some other compilers) extension, so
2400           don't use them. Since this is only for ABI-compatibility, and our
2401           API/ABI freeze is over in a few days, this whole thing will only
2402           last a few days, so don't bother trying to think up a meaningful
2403           name for the struct.
2404
2405 2005-11-17  Andy Wingo  <wingo@pobox.com>
2406
2407         * gst/gstclock.h (GstClock): Add rate and offset properties,
2408         preserving ABI stability. Add rate/offset accessors. Will file bug
2409         for the freeze break.
2410
2411         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2412         and offset, trying to keep precision and avoiding
2413         underflow/overflow.
2414         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2415         functions. Make gst_clock_set_time_adjust obsolete.
2416         (gst_clock_set_time_adjust): Note that this function is obsolete.
2417         Will file bug soon.
2418
2419         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2420         greppable by using GST_PADDING-1+1.
2421
2422 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2423
2424         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2425
2426         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2427           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2428
2429         * gst/gstpadtemplate.h:
2430         * gst/gstpluginfeature.h:
2431           Don't use c++ style comments in headers (#321638).
2432
2433 2005-11-16  Andy Wingo  <wingo@pobox.com>
2434
2435         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2436         buffer.
2437
2438         * check/net/gstnettimeprovider.c: Check to see that the time
2439         provider actually provides times. Works, yo!
2440
2441 2005-11-16  Wim Taymans  <wim@fluendo.com>
2442
2443         * check/Makefile.am:
2444         Enable more tests.
2445
2446         * check/elements/fakesrc.c: (GST_START_TEST):
2447         Set element to NULL before disposing it.
2448
2449 2005-11-16  Andy Wingo  <wingo@pobox.com>
2450
2451         * gst/net/Makefile.am:
2452         * gst/net/gstnet.h:
2453         * gst/net/gstnettimeprovider.c: 
2454         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2455         provider, include it from gstnet.h, and add it to the build.
2456
2457         * gst/net/gstnettimepacket.h: 
2458         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2459         sending and receiving.
2460
2461 2005-11-16  Wim Taymans  <wim@fluendo.com>
2462
2463         * check/Makefile.am:
2464         Enable valgrind check.
2465
2466         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2467         (gst_fake_src_alloc_buffer):
2468         Fix memleak.
2469
2470 2005-11-16  Wim Taymans  <wim@fluendo.com>
2471
2472         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2473         Call parent finalize too.
2474
2475 2005-11-16  Wim Taymans  <wim@fluendo.com>
2476
2477         * check/Makefile.am:
2478         Enable valgrind check that should work fine now.
2479
2480         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2481         * gst/gstqueue.c: (gst_queue_init):
2482         Fix memleaks in pad allocation.
2483
2484 2005-11-16  Andy Wingo  <wingo@pobox.com>
2485
2486         * gst/net/Makefile.am:
2487         * gst/net/gstnet.h: New part of core to hold network elements and
2488         objects. Put in core because it exposes API that applications want
2489         to use. The library is named libgstnet-tempname right now because
2490         of the existing libgstnet in gst-plugins-base. Solution is
2491         probably to rename the one in plugins-base; will file a bug for
2492         the freeze break.
2493
2494         * gst/net/gstnettimeprovider.c: 
2495         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2496         get_time call over the network.
2497
2498         * configure.ac: 
2499         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2500
2501         * check/Makefile.am:
2502         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2503         get additions shortly.
2504
2505 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2506
2507         * gst/gstpad.c: (gst_pad_new_from_static_template):
2508         * gst/gstpad.h:
2509           add gst_pad_new_from_static_template functions
2510         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2511         (gst_check_setup_sink_pad):
2512         * gst/elements/gsttee.c: (gst_tee_init):
2513           and use them
2514
2515 2005-11-16  Wim Taymans  <wim@fluendo.com>
2516
2517         * gst/gstpad.c: (gst_pad_pause_task):
2518         Removed warning, it's not really an error either.
2519
2520 2005-11-16  Wim Taymans  <wim@fluendo.com>
2521
2522         * gst/base/gstbasetransform.c:
2523         (gst_base_transform_prepare_output_buf),
2524         (gst_base_transform_event):
2525         Check if the caps are NULL, this can happen if the element
2526         is shutting down and the pad caps are set to NULL.
2527
2528 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2529
2530         * gst/elements/gsttee.c: (gst_tee_init):
2531           fix pad template leak in tee
2532
2533 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2534
2535         * gst/glib-compat.c: (g_value_dup_gst_object):
2536         * gst/glib-compat.h:
2537         * gst/gstpad.c: (gst_pad_set_property):
2538           use gst_object_ref when setting the pad template; this will
2539           trigger the pad template leaks on GLib 2.6 and the slaves
2540
2541 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2542
2543         * gst/glib-compat.c: (gst_flags_get_first_value):
2544         * gst/glib-compat.h:
2545         * gst/gstregistryxml.c:
2546           remove functions copied from GLib 2.6
2547
2548 2005-11-16  Michael Smith <msmith@fluendo.com>
2549
2550         * gst/Makefile.am:
2551           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2552           do, but only breaks with newer valgrind versions. We're not a
2553           valgrind tool, we have no link-time dependencies on libcoregrind.
2554
2555 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2556
2557         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2558           some debug changes
2559         * gst/gstmessage.h:
2560           typo fixes
2561
2562 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2563
2564         * gst/base/gstbasesrc.c: (gst_base_src_init):
2565         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2566         * gst/gstqueue.c: (gst_queue_init):
2567         * gst/gstregistryxml.c: (load_feature):
2568           Revert all these unrefs, they don't even pass make check !
2569
2570 2005-11-15  Johan Dahlin  <johan@gnome.org>
2571
2572         * gst/base/gstbasesrc.c: (gst_base_src_init):
2573         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2574         * gst/gstqueue.c: (gst_queue_init): 
2575         Free pad templates, fixes a couple of leaks.
2576
2577 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2578
2579         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2580
2581         * gst/gstpad.c: (gst_pad_get_property):
2582           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2583           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2584           (#321452)
2585
2586 2005-11-15  Wim Taymans  <wim@fluendo.com>
2587
2588         * gst/gstevent.c:
2589         Small doc update.
2590
2591 2005-11-15  Andy Wingo  <wingo@pobox.com>
2592
2593         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2594
2595         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2596         using GST_CLOCK_TIME_NONE to disable base time management.
2597         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2598         time if it was NONE before.
2599         (gst_pipeline_change_state): Only munge the base time if
2600         stream_time != GST_CLOCK_TIME_NONE.
2601
2602         * check/gst/gstpipeline.c (test_base_time): Punt around the
2603         problem of the probe not being called, because that's not the
2604         issue I'm looking at. Add a check that setting stream_time to NONE
2605         disables base time management.
2606         
2607 2005-11-15  Wim Taymans  <wim@fluendo.com>
2608
2609         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2610         segment_stop == -1 at startup.
2611
2612         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2613         (gst_base_transform_change_state):
2614         Init segment values at start.
2615
2616 2005-11-15  Wim Taymans  <wim@fluendo.com>
2617
2618         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2619         0 segment values are 0 in any format.
2620
2621         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2622         * gst/base/gstbasetransform.h:
2623         Parse newsegment correctly in basetransform
2624
2625         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2626         Sync to clock using updated segment values.
2627
2628 2005-11-15  Andy Wingo  <wingo@pobox.com>
2629
2630         * check/gst/gstpipeline.c (test_base_time): Add check that the
2631         base time and stream time are reset correctly.
2632
2633 2005-11-15  Wim Taymans  <wim@fluendo.com>
2634
2635         * docs/design/part-TODO.txt:
2636         Some more TODO items.
2637
2638 2005-11-15  Andy Wingo  <wingo@pobox.com>
2639
2640         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2641         error if the user selected "no clock" as the clocking method.
2642
2643         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2644         timestamps with live capture.
2645
2646         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2647         is 0 but we are a live source, timestamp the buffers using the
2648         element's clock.
2649
2650 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2651
2652         * docs/gst/gstreamer-sections.txt:
2653         * gst/gsterror.c:
2654         * gst/gstghostpad.c:
2655         * gst/gstobject.h:
2656         * gst/gstxml.c:
2657           more section docs
2658
2659 2005-11-14  Wim Taymans  <wim@fluendo.com>
2660
2661         * common/gst.supp:
2662           add suppressions from Wim's Debian machine
2663
2664 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2665
2666         * common/gst.supp:
2667           add suppressions from Andy's AMD64 Ubuntu machine
2668
2669 2005-11-14  Andy Wingo  <wingo@pobox.com>
2670
2671         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2672         STATE_LOCK not necessary. Fixes #311489.
2673
2674         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2675         #305291.
2676
2677         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2678         this function is not implemented.
2679
2680 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2681
2682         * gst/base/gstbasetransform.c:
2683         (gst_base_transform_prepare_output_buf):
2684         Ref the source pad caps while we need them.
2685         Fixes (#321386)
2686
2687 2005-11-11  Wim Taymans  <wim@fluendo.com>
2688
2689         * docs/gst/gstreamer-sections.txt:
2690         Added some docs for GstCollectData.
2691
2692         * gst/base/gstadapter.c:
2693         Some small code example fix.
2694
2695         * gst/base/gstcollectpads.c:
2696         * gst/base/gstcollectpads.h:
2697         Document some more.
2698
2699 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2700
2701         * configure.ac: back to HEAD
2702
2703 === release 0.9.5 ===
2704
2705 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2706
2707         * configure.ac:
2708           releasing 0.9.5, "Bike Lunch Day"
2709
2710 2005-11-11  Wim Taymans  <wim@fluendo.com>
2711
2712         * gst/gstbuffer.c: (_gst_buffer_copy):
2713         Copy more flags.
2714
2715         * gst/gstcaps.c: (gst_caps_is_equal):
2716         Fix some docs.
2717         Make _is_equal fast in the trivial cases.
2718
2719         * gst/gstminiobject.c:
2720         * gst/gstminiobject.h:
2721         More docs. Spifify .h file.
2722
2723         * gst/gstutils.c:
2724         Small doc update.
2725
2726 2005-11-11  Wim Taymans  <wim@fluendo.com>
2727
2728         * gst/base/gstbasetransform.c:
2729         (gst_base_transform_prepare_output_buf),
2730         (gst_base_transform_handle_buffer):
2731         Small cleanups.
2732         If we're processing a buffer and need to allocate an output
2733         buffer, we cannot accept a format change. If we did get a 
2734         format change, we have to alloc a buffer ourselves of the 
2735         right size.
2736
2737 2005-11-11  Wim Taymans  <wim@fluendo.com>
2738
2739         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2740         While checking the flag for reentrancy in the gstcaps function
2741         is nice to detect recursive invocations, it also makes it 
2742         impossible to call getcaps from multiple threads, which must be
2743         possible. So, checking for recursive calls has to go.
2744
2745 2005-11-11  Michael Smith <msmith@fluendo.com>
2746
2747         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2748           Don't sync on buffers that fall partially outside our current
2749           segment. Prevents an assertion failure/abort playing some files.
2750
2751 2005-11-10  Andy Wingo  <wingo@pobox.com>
2752
2753         * check/gst/gstbin.c (test_message_state_changed_children): Style
2754         fix..
2755
2756         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2757         gst_bus_poll with the signal watch. Ensures that poll and a signal
2758         watch see the same messages.
2759
2760         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2761         a poll and a watch at the same time get the same messages.
2762
2763 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2764
2765         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2766         * gst/gstcaps.c: (gst_caps_intersect):
2767           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2768           and it's not needed.
2769
2770 2005-11-10  Wim Taymans  <wim@fluendo.com>
2771
2772         * docs/design/part-TODO.txt:
2773         Updated todo.
2774
2775 2005-11-10  Wim Taymans  <wim@fluendo.com>
2776
2777         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2778         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2779         (gst_base_src_do_sync), (gst_base_src_get_range):
2780         Implement clock sync in base class.
2781
2782 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2783
2784         patch by: Tim-Philipp Müller <tim at centricular dot net>
2785
2786         * gst/gststructure.c: (gst_structure_parse_field),
2787         (gst_structure_from_string):
2788           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2789           so that gst_parse_launch() can deal with spaces in filtered link
2790           caps (fixes #164479)
2791         * check/gst/capslist.h:
2792         * check/gst/gststructure.c: (GST_START_TEST):
2793           add unit tests for this change
2794
2795 2005-11-10  Wim Taymans  <wim@fluendo.com>
2796
2797         * docs/gst/gstreamer-sections.txt:
2798         * gst/gstelement.c:
2799         * gst/gstelement.h:
2800         Fix docs, move some STATE macros to private.
2801
2802 2005-11-10  Wim Taymans  <wim@fluendo.com>
2803
2804         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2805         Added check for bug #317341
2806
2807         * gst/gstbuffer.c:
2808         * gst/gstbuffer.h:
2809         Some more spiffifying.
2810
2811         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2812         Call peer linkfunction if we are a source pad. Totally fixes
2813         #317341
2814
2815         * gst/gstpad.c:
2816         Update docs, source pads should call the peer linkfunction
2817         so they can atomically perform the pad link.
2818
2819 2005-11-09  Wim Taymans  <wim@fluendo.com>
2820
2821         * gst/gstbuffer.c:
2822         * gst/gstbuffer.h:
2823         Uber-spiffy-spiffify some more.
2824
2825 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2826
2827         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2828         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2829         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2830         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2831         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2832         * gst/gstpad.c: (gst_pad_init):
2833           Use GST_DEBUG_FUNCPTR() more extensively.
2834
2835 2005-11-09  Wim Taymans  <wim@fluendo.com>
2836
2837         * gst/gstobject.c: (gst_object_class_init):
2838         * gst/gstobject.h:
2839         Documentation fixes.
2840
2841 2005-11-09  Edward Hervey  <edward@fluendo.com>
2842
2843         * gst/gsttypefindfactory.c:
2844         Fix docs.
2845         
2846 2005-11-09  Edward Hervey  <edward@fluendo.com>
2847
2848         * gst/base/gsttypefindhelper.c:
2849         * gst/gsttypefind.c:
2850         * gst/gsttypefind.h:
2851         Fix docs.
2852
2853 2005-11-09  Wim Taymans  <wim@fluendo.com>
2854
2855         * gst/gstiterator.c:
2856         Fix revision data.
2857
2858         * gst/gsttask.c:
2859         * gst/gsttask.h:
2860         Fix docs.
2861
2862 2005-11-09  Wim Taymans  <wim@fluendo.com>
2863
2864         * gst/gstevent.h:
2865         * gst/gsturi.h:
2866         Fix docs.
2867
2868 2005-11-09  Wim Taymans  <wim@fluendo.com>
2869
2870         * docs/gst/gstreamer-sections.txt:
2871         Moved the message async delivery private lock and cond
2872         to the private section.
2873
2874         * gst/gstmessage.c:
2875         * gst/gstmessage.h:
2876         Fixed docs.
2877
2878 2005-11-09  Edward Hervey  <edward@fluendo.com>
2879
2880         * docs/gst/gstreamer-sections.txt:
2881         * gst/gsturi.c:
2882         * gst/gsturi.h:
2883         Document GstURIHandler
2884
2885 2005-11-09  Wim Taymans  <wim@fluendo.com>
2886
2887         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2888         (gst_iterator_find_custom):
2889         * gst/gstiterator.h:
2890         Fix iterator docs.
2891
2892 2005-11-09  Wim Taymans  <wim@fluendo.com>
2893
2894         * gst/gstbin.h:
2895         Document another field.
2896
2897         * gst/gststructure.c:
2898         * gst/gststructure.h:
2899         Document.
2900
2901 2005-11-09  Wim Taymans  <wim@fluendo.com>
2902
2903         * gst/gstbin.h:
2904         Documented structs.
2905
2906 2005-11-09  Wim Taymans  <wim@fluendo.com>
2907
2908         * docs/gst/gstreamer-sections.txt:
2909         Added some new macros.
2910
2911         * gst/gstclock.c:
2912         * gst/gstclock.h:
2913         * gst/gstobject.h:
2914         Docs updates.
2915
2916 2005-11-09  Wim Taymans  <wim@fluendo.com>
2917
2918         * docs/design/part-TODO.txt:
2919         Some more items for the TODO
2920
2921         * gst/gstcaps.c:
2922         * gst/gstcaps.h:
2923         Document GstCaps.
2924
2925 2005-11-09  Andy Wingo  <wingo@pobox.com>
2926
2927         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2928         to work on something else now tho...
2929
2930         * gst/base/gstadapter.c: More adapter docs.
2931
2932         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2933         (gst_file_sink_stop): New functions, replace the state change
2934         handler.
2935         (gst_file_sink_class_init): Hook up the start and stop functions.
2936         (gst_file_sink_base_init): Don't set the state change handler any
2937         more. It was a bit ugly too, being set from here...
2938         (gst_file_sink_get_property, gst_file_sink_set_property):
2939         Cleanups...
2940         (gst_file_sink_set_location): More robust check that doesn't call
2941         GST_STATE. Ugggggg.
2942
2943 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2944
2945         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2946           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2947
2948 2005-11-08  Wim Taymans  <wim@fluendo.com>
2949
2950         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2951         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2952         (gst_base_sink_chain), (gst_base_sink_change_state):
2953         * gst/base/gstbasesink.h:
2954         * gst/base/gstbasesrc.h:
2955         * gst/gstelement.h:
2956         * gst/gstevent.h:
2957         Avoid excessive typechecking in macros.
2958
2959         * gst/gstminiobject.c: (gst_mini_object_get_type),
2960         (gst_mini_object_init), (gst_mini_object_new),
2961         (gst_mini_object_free):
2962         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2963         (gst_object_finalize):
2964         Remove cruft code, optimize alloc_trace.
2965
2966 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2967
2968         * docs/faq/gst-uninstalled:
2969           fix up PS1 for systems that try to reset it
2970
2971 2005-11-07  Wim Taymans  <wim@fluendo.com>
2972
2973         * gst/base/gstbasesrc.c: (gst_base_src_init),
2974         (gst_base_src_get_range):
2975         Set the segment_end to -1 initially. Fixed typefind.
2976
2977 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2978
2979         * gst/base/gstadapter.c:
2980           Debug category should be 'adapter', not 'GstAdapter'.
2981           
2982         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2983         (gst_collectpads_class_init), (gst_collectpads_init),
2984         (gst_collectpads_peek), (gst_collectpads_pop),
2985         (gst_collectpads_event), (gst_collectpads_chain):
2986           Add debug category and some debugging output. Use boilerplate
2987           macros. Remove some extraneous words from docs.
2988
2989 2005-11-05  Andy Wingo  <wingo@pobox.com>
2990
2991         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2992         macro.
2993
2994 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2995
2996         * docs/gst/gstreamer-sections.txt:
2997         * gst/gstcaps.h:
2998         * gst/gstinfo.c:
2999         * gst/gstminiobject.h:
3000         * gst/gstobject.h:
3001         * gst/gstutils.h:
3002           more docs added
3003
3004 2005-11-04  Wim Taymans  <wim@fluendo.com>
3005
3006         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3007         Small update to stop at the configured segment_end
3008         position.
3009
3010 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3011
3012         * gst/gstregistry.c:
3013         * gst/gstregistry.h:
3014           added missing docs
3015
3016 2005-11-04  Edward Hervey  <edward@fluendo.com>
3017
3018         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3019         Check if we are doing a segment seek and have arrived at the
3020         end of that segment.
3021
3022 2005-11-04  Wim Taymans  <wim@fluendo.com>
3023
3024         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3025         Don't leak a mutex unlock in case of an error.
3026
3027         * gst/gstbus.h:
3028         Doc fixes.
3029
3030 2005-11-04  Wim Taymans  <wim@fluendo.com>
3031
3032         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3033         (gst_bus_post):
3034         Get the context to wake up only once.
3035
3036 2005-11-03  Wim Taymans  <wim@fluendo.com>
3037
3038         * check/states/sinks.c: (GST_START_TEST):
3039         Uncomment fixed check.
3040
3041         * docs/design/part-TODO.txt:
3042         Updated TODO.
3043
3044         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3045         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3046         (gst_base_sink_get_position):
3047         If we are going to PLAYING, post the right pending state
3048         when we post the intermediate paused message.
3049
3050         * gst/gstelement.c: (gst_element_continue_state),
3051         (gst_element_set_state_func), (gst_element_change_state):
3052         Don't post state changes that were between the same state
3053         and were not ASYNC.
3054
3055 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3056
3057         * docs/gst/gstreamer-sections.txt:
3058         * gst/gstcaps.h:
3059         * gst/gstinfo.c:
3060         * gst/gstminiobject.h:
3061         * gst/gstobject.h:
3062         * gst/gstutils.h:
3063           more docs and doc style fixes
3064
3065 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3066
3067         * docs/gst/gstreamer-sections.txt:
3068         * gst/gstelement.c:
3069         * gst/gstminiobject.c:
3070         doc fixes
3071
3072 2005-11-03  Andy Wingo  <wingo@pobox.com>
3073
3074         * check/states/sinks.c (test_livesrc_sink): Add checks that the
3075         state-changed messages actually have the right order and the right
3076         values.
3077
3078 2005-11-03  Wim Taymans  <wim@fluendo.com>
3079
3080         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3081         Added some more checks. Specifically the case where NO_PREROLL
3082         elements are in the pipeline.
3083
3084         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3085         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3086         (gst_base_sink_get_position):
3087         Post READY->PAUSED state change messages too.
3088         Fix bug where VOID was posted as pending state...
3089
3090         * gst/gstbin.c: (gst_bin_recalc_state):
3091         use _element_continue_state() to continue the state change.
3092
3093         * gst/gstelement.c: (gst_element_continue_state),
3094         (gst_element_commit_state), (gst_element_set_state_func),
3095         (gst_element_change_state), (gst_element_change_state_func):
3096         Lots of state change cleanups, assign the STATE_RETURN in
3097         a new continue_state() function that also propagates the
3098         last return value from a state change to the app.
3099         Update some debug statements with proper category.
3100
3101 2005-11-03  Wim Taymans  <wim@fluendo.com>
3102
3103         * docs/design/part-events.txt:
3104         * docs/design/part-gstpipeline.txt:
3105         * docs/design/part-messages.txt:
3106         * docs/design/part-overview.txt:
3107         * docs/design/part-seeking.txt:
3108         * docs/design/part-states.txt:
3109         * docs/design/part-trickmodes.txt:
3110         * docs/manual/advanced-position.xml:
3111         Small docs updates.
3112
3113         * gst/gstobject.h:
3114         People think !! is ugly, this looks better.
3115
3116         * gst/gstpad.c: (gst_pad_set_blocked_async):
3117         Remove !! since it's fixed elsewhere now.
3118
3119 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3120
3121         * gst/gstminiobject.h:
3122         * gst/gstobject.h:
3123           Add !! to _FLAG_IS_SET macros to make the result boolean.
3124
3125 2005-11-03  Edward Hervey  <edward@fluendo.com>
3126
3127         * gst/gstpad.c: (gst_pad_set_blocked_async):
3128         comparing a flag and a gboolean rarely returns coherent results...
3129         Added two characters (!!) to make that work correctly.
3130         
3131 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3132
3133         * gst/gstbus.c: (gst_bus_class_init):
3134           Fix some typos.
3135           
3136         * gst/gstqueue.c: (gst_queue_loop):
3137           Don't assume a miniobject that isn't a buffer is an
3138           event (it could be that there is a refcounting
3139           problem somewhere and the pointer is stale and
3140           refers to an already destroyed miniobject).
3141
3142 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3143
3144         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3145
3146 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3147
3148         * docs/manual/advanced-position.xml:
3149           Update seek example and explanations to current 0.9 API.
3150
3151         * gst/elements/gsttypefindelement.c:
3152         (gst_type_find_element_activate):
3153           Remove FIXME comment now that the found caps
3154           are unreffed.
3155
3156 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3157
3158         * gst/gstregistryxml.c: (load_feature):
3159           Add another GST_STR_NULL instance
3160
3161 2005-11-02  Edward Hervey  <edward@fluendo.com>
3162
3163         * gst/gstpad.c: (handle_pad_block):
3164         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3165         
3166 2005-11-02  Wim Taymans  <wim@fluendo.com>
3167
3168         * gst/gstbin.c:
3169         Fix typo in docs.
3170
3171         * gst/gstelement.c: (gst_element_commit_state):
3172         Remove unused value.
3173
3174         * gst/gstiterator.c:
3175         Mention that the returned element is reffed in the docs.
3176
3177 2005-11-02  Wim Taymans  <wim@fluendo.com>
3178
3179         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3180         (gst_pad_push), (gst_pad_push_event):
3181         Unlock blocked pads when they are flushed.
3182
3183 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3184
3185         * docs/README:
3186         * docs/gst/gstreamer-sections.txt:
3187         * gst/gstbin.c:
3188           doc updates
3189         * gst/gstregistry.c: (gst_registry_scan_path_level):
3190           fix for a nasty little missed situation where an installed plug-in
3191           which was in the cache did not get overridden by an uninstalled one
3192           which was earlier in the plugin path because the newly created plugin
3193           for the uninstalled one (not in the registry) didn't get its
3194           ->registered set to TRUE
3195
3196 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3197
3198         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3199         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3200         (gst_collectpads_is_active), (gst_collectpads_collect),
3201         (gst_collectpads_collect_range), (gst_collectpads_start),
3202         (gst_collectpads_stop), (gst_collectpads_peek),
3203         (gst_collectpads_pop), (gst_collectpads_available),
3204         (gst_collectpads_read), (gst_collectpads_flush):
3205           Guard public API with assertions.
3206         
3207         * gst/gstpad.c:
3208           Fix docs for gst_pad_set_link_function().
3209
3210 2005-11-02  Johan Dahlin  <johan@gnome.org>
3211
3212         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3213         Unref found_caps after we used it.
3214
3215 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3216
3217         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3218           Don't try to ref NULL.
3219
3220 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3221
3222         * win32/common/config.h.in:
3223           provide a GST_FUNCTION that just gives a string for now
3224
3225 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3226
3227         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3228         (gst_object_flags_get_type), (register_gst_bin_flags),
3229         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3230         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3231         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3232         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3233         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3234         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3235         (gst_clock_flags_get_type), (register_gst_state),
3236         (gst_state_get_type), (register_gst_state_change_return),
3237         (gst_state_change_return_get_type), (register_gst_state_change),
3238         (gst_state_change_get_type), (register_gst_element_flags),
3239         (gst_element_flags_get_type), (register_gst_core_error),
3240         (gst_core_error_get_type), (register_gst_library_error),
3241         (gst_library_error_get_type), (register_gst_resource_error),
3242         (gst_resource_error_get_type), (register_gst_stream_error),
3243         (gst_stream_error_get_type), (register_gst_event_type),
3244         (gst_event_type_get_type), (register_gst_seek_type),
3245         (gst_seek_type_get_type), (register_gst_seek_flags),
3246         (gst_seek_flags_get_type), (register_gst_format),
3247         (gst_format_get_type), (register_gst_index_certainty),
3248         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3249         (gst_index_entry_type_get_type),
3250         (register_gst_index_lookup_method),
3251         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3252         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3253         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3254         (gst_index_flags_get_type), (register_gst_debug_level),
3255         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3256         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3257         (gst_iterator_result_get_type), (register_gst_iterator_item),
3258         (gst_iterator_item_get_type), (register_gst_message_type),
3259         (gst_message_type_get_type), (register_gst_mini_object_flags),
3260         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3261         (gst_pad_link_return_get_type), (register_gst_flow_return),
3262         (gst_flow_return_get_type), (register_gst_activate_mode),
3263         (gst_activate_mode_get_type), (register_gst_pad_direction),
3264         (gst_pad_direction_get_type), (register_gst_pad_flags),
3265         (gst_pad_flags_get_type), (register_gst_pad_presence),
3266         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3267         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3268         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3269         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3270         (gst_plugin_flags_get_type), (register_gst_rank),
3271         (gst_rank_get_type), (register_gst_query_type),
3272         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3273         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3274         (gst_tag_flag_get_type), (register_gst_task_state),
3275         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3276         (gst_alloc_trace_flags_get_type),
3277         (register_gst_type_find_probability),
3278         (gst_type_find_probability_get_type), (register_gst_uri_type),
3279         (gst_uri_type_get_type), (register_gst_parse_error),
3280         (gst_parse_error_get_type):
3281         * win32/common/gstversion.h:
3282           update win32 copies
3283
3284 2005-11-01  Luca Ognibene  <luogni@tin.it>
3285
3286         * gst/gst.c:
3287           fix docs. popt is dead, long live GOption.
3288
3289 2005-10-31  Wim Taymans  <wim@fluendo.com>
3290
3291         * gst/gstbuffer.h:
3292         Small doc fix.
3293
3294 2005-10-31  Andy Wingo  <wingo@pobox.com>
3295
3296         * Boo!
3297
3298         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3299
3300         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3301         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3302         the possibility of deadlocks here if code calling notify() or
3303         set() has a lock that can be taken in another notify handler (ABBA
3304         with class lock and e.g. python GIL state lock).
3305
3306 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3307
3308         * gst/gstbus.c: Doc updates.
3309
3310 2005-10-28  Wim Taymans  <wim@fluendo.com>
3311
3312         * docs/design/part-TODO.txt:
3313         * gst/gstiterator.c:
3314         * gst/gstsystemclock.c:
3315         * gst/gstsystemclock.h:
3316         Doc updates.
3317
3318 2005-10-28  Edward Hervey  <edward@fluendo.com>
3319
3320         * docs/gst/gstreamer-docs.sgml:
3321         * docs/gst/gstreamer-sections.txt:
3322         the GstURIType documentation page is private, it only defines GstURIType
3323         which should be defined in the GstURIHandler page
3324         
3325 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3326
3327         * gst/gstbin.c: (gst_bin_class_init):
3328         * gst/gstbin.h:
3329         * gst/gstutils.c:
3330         Documentation updates.
3331
3332 2005-10-28  Wim Taymans  <wim@fluendo.com>
3333
3334         * docs/gst/gstreamer-sections.txt:
3335         * gst/gstclock.c:
3336         * gst/gstclock.h:
3337         Documented the clocks.
3338
3339 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3340
3341         * docs/gst/gstreamer-sections.txt:
3342           move some macros to private sections
3343         * gst/gstminiobject.c:
3344         * gst/gstminiobject.h:
3345           add descriptions provided by ds and some more
3346         * gst/gstpad.h:
3347           mark macro as to be removed
3348
3349 2005-10-28  Wim Taymans  <wim@fluendo.com>
3350
3351         * docs/design/part-TODO.txt:
3352         Add an item to TODO.
3353
3354         * gst/gstiterator.c: (gst_iterator_fold),
3355         (gst_iterator_find_custom):
3356         * gst/gstiterator.h:
3357         Add iterator docs.
3358
3359 2005-10-28  Wim Taymans  <wim@fluendo.com>
3360
3361         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3362         (gst_base_transform_init):
3363         Don't leak class.
3364
3365         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3366         An EOS event marks the queue as completely filled.
3367
3368 2005-10-27  Wim Taymans  <wim@fluendo.com>
3369
3370         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3371         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3372         Some more debugging.
3373
3374         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3375         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3376         (gst_base_transform_event), (gst_base_transform_getrange),
3377         (gst_base_transform_chain):
3378         * gst/base/gstbasetransform.h:
3379         Fix debugging,
3380         Protect transform and concurrent buffer alloc with a new lock.
3381         Try not to break ABI/API.
3382
3383 2005-10-27  Wim Taymans  <wim@fluendo.com>
3384
3385         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3386         (gst_base_src_init), (gst_base_src_query),
3387         (gst_base_src_default_newsegment),
3388         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3389         (gst_base_src_send_event), (gst_base_src_event_handler),
3390         (gst_base_src_pad_get_range), (gst_base_src_loop),
3391         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3392         (gst_base_src_start), (gst_base_src_deactivate),
3393         (gst_base_src_activate_push), (gst_base_src_change_state):
3394         Move some stuff around and cleanup things.
3395
3396 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3397
3398         * gst/base/gstbasesrc.c: (gst_base_src_query):
3399           Add missing break statements.
3400
3401 2005-10-27  Wim Taymans  <wim@fluendo.com>
3402
3403         * check/gst/gstbin.c: (GST_START_TEST):
3404         An extra refcount is taken in basesrc.
3405
3406         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3407         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3408         (gst_base_src_loop):
3409         Small cleanups, check for flushing after being unlocked from the 
3410         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3411         Don't send out EOS when going to READY.
3412
3413 2005-10-27  Wim Taymans  <wim@fluendo.com>
3414
3415         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3416         (gst_base_sink_get_position):
3417         Some more debug.
3418
3419         * gst/gstbin.c: (message_check), (bin_replace_message),
3420         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3421         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3422         (bin_query_duration_init), (bin_query_duration_fold),
3423         (bin_query_duration_done), (bin_query_generic_fold),
3424         (gst_bin_query):
3425         * tools/gst-launch.c: (main):
3426         Remove old option.
3427
3428 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3429
3430         * examples/controller/audio-example.c: (main):
3431         * examples/queue/queue.c: (event_loop):
3432         * gst/base/gstbasetransform.h:
3433         * gst/gstelement.c: (gst_element_send_event):
3434         * gst/gstevent.h:
3435         * gst/gstpad.c: (gst_pad_send_event):
3436           fixing examples
3437           fixing docs typos
3438           changing log priority in error situations
3439
3440 2005-10-25  Wim Taymans  <wim@fluendo.com>
3441
3442         * gst/gstbin.c: (message_check), (bin_replace_message),
3443         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3444         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3445         (bin_query_duration_init), (bin_query_duration_fold),
3446         (bin_query_duration_done), (bin_query_generic_fold),
3447         (gst_bin_query):
3448         Some doc and debug updates.
3449         Cache previously requested query DURATION for speed. invalidate
3450         cached duration if element posts a DURATION message.
3451
3452 2005-10-25  Wim Taymans  <wim@fluendo.com>
3453
3454         * docs/design/part-TODO.txt:
3455         Update TODO.
3456
3457         * gst/gstbin.c: (message_check), (bin_replace_message),
3458         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3459         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3460         (bin_query_duration_init), (bin_query_duration_fold),
3461         (bin_query_duration_done), (bin_query_generic_fold),
3462         (gst_bin_query):
3463         Handle SEGMENT_START/DONE messages correctly.
3464         More evolved query algorithm that handles duration queries
3465         correctly.
3466
3467         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3468         (gst_element_get_state_func), (gst_element_abort_state),
3469         (gst_element_commit_state), (gst_element_lost_state):
3470         Some more debugging.
3471
3472         * gst/gstmessage.h:
3473         Added doc.
3474
3475 2005-10-25  Wim Taymans  <wim@fluendo.com>
3476
3477         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3478         Don't use invalid stream_time.
3479
3480         * gst/gstevent.c: (gst_event_new_newsegment):
3481         stream_time in newsegment cannot be undefined.
3482
3483 2005-10-24  Wim Taymans  <wim@fluendo.com>
3484
3485         * gst/gstbus.c:
3486         Doc fix.
3487
3488         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3489         (gst_queue_loop):
3490         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3491
3492 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3493
3494         * docs/libs/tmpl/gstdparam.sgml:
3495         * docs/libs/tmpl/gstdplinint.sgml:
3496         * docs/libs/tmpl/gstdpman.sgml:
3497         * docs/libs/tmpl/gstdpsmooth.sgml:
3498         * docs/libs/tmpl/gstunitconvert.sgml:
3499           these are obsolete
3500
3501 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3502
3503         * configure.ac:
3504           back to HEAD
3505
3506 === release 0.9.4 ===
3507
3508 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3509
3510         * configure.ac:
3511           releasing 0.9.4, "Tyrannosaurus Rex"
3512
3513 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3514
3515         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3516         (gst_file_sink_get_current_offset):
3517           Use fseeko() and ftello() if available. When falling back on
3518           lseek() to get the current offset, fflush() first to make sure
3519           everything is up-to-date and we get the right offset.
3520
3521 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3522
3523         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3524         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3525         * gst/gsterror.c: (_gst_stream_errors_init):
3526         * gst/gsterror.h:
3527         * gst/gstqueue.c: (gst_queue_loop):
3528         * po/POTFILES.in:
3529           remove prematurely added error category and clean up the instances
3530
3531 2005-10-21  Wim Taymans  <wim@fluendo.com>
3532
3533         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3534         (gst_base_sink_get_position), (gst_base_sink_query),
3535         (gst_base_sink_change_state):
3536         Simply set the right flag when going to playing, that's all
3537         we need to do instead of calling a function inside the object
3538         lock (that could take the lock as well and deadlock)
3539
3540 2005-10-21  Wim Taymans  <wim@fluendo.com>
3541
3542         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3543         (gst_base_src_loop):
3544         Don't warn, the peer element knows what to do best when
3545         the seek failed, it might try something else.
3546
3547 2005-10-21  Wim Taymans  <wim@fluendo.com>
3548
3549         * gst/base/gstbasesrc.c: (gst_base_src_init),
3550         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3551         Fix seeking.
3552
3553 2005-10-21  Wim Taymans  <wim@fluendo.com>
3554
3555         * docs/design/part-segments.txt:
3556         More docs.
3557
3558         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3559         Correctly set caps, even on the subbufer.
3560
3561 2005-10-21  Wim Taymans  <wim@fluendo.com>
3562
3563         * docs/gst/gstreamer-docs.sgml:
3564         * docs/gst/gstreamer-sections.txt:
3565         * gst/gstelement.h:
3566         * gst/gstevent.c:
3567         * gst/gstevent.h:
3568         * gst/gstmessage.h:
3569         * gst/gstpad.h:
3570         * gst/gstparse.h:
3571         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3572         * gst/gsttask.h:
3573         * gst/gstutils.c:
3574         * gst/gstutils.h:
3575         And 2% more doc coverage.
3576
3577 2005-10-21  Andy Wingo  <wingo@pobox.com>
3578
3579         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3580         position reporting.
3581
3582 2005-10-20  Wim Taymans  <wim@fluendo.com>
3583
3584         * gst/gsterror.c: (gst_error_get_message):
3585         * gst/gstparse.h:
3586         * gst/gstquery.h:
3587         * gst/gststructure.c:
3588         * gst/gsttrace.c:
3589         * gst/gstutils.c:
3590         More docs.
3591
3592 2005-10-20  Wim Taymans  <wim@fluendo.com>
3593
3594         * gst/gstbuffer.h:
3595         * gst/gstpad.c:
3596         * gst/gstparse.c:
3597         Another 1% more coverage.
3598
3599 2005-10-20  Wim Taymans  <wim@fluendo.com>
3600
3601         * docs/gst/gstreamer-sections.txt:
3602         * gst/gstelement.c: (gst_element_get_state_func),
3603         (gst_element_abort_state), (gst_element_commit_state),
3604         (gst_element_lost_state):
3605         * gst/gstevent.h:
3606         * gst/gstquery.c: (gst_query_set_position),
3607         (gst_query_parse_position), (gst_query_set_duration),
3608         (gst_query_parse_duration), (gst_query_new_convert):
3609         * gst/gstutils.c:
3610         Yay! 1% more docs coverage.
3611
3612 2005-10-20  Wim Taymans  <wim@fluendo.com>
3613
3614         * gst/gstpad.h:
3615         * gst/gstquery.c: (gst_query_set_position),
3616         (gst_query_parse_position), (gst_query_set_duration),
3617         (gst_query_parse_duration), (gst_query_new_convert):
3618         * gst/gstquery.h:
3619         * gst/gstutils.c: (gst_element_query_convert):
3620         * gst/gstutils.h:
3621         Docs and consistency fixes.
3622
3623 2005-10-20  Wim Taymans  <wim@fluendo.com>
3624
3625         * gst/gsttask.c:
3626         * gst/gsttask.h:
3627         More docs.
3628
3629 2005-10-20  Wim Taymans  <wim@fluendo.com>
3630
3631         * gst/gstbin.c: (message_check), (bin_replace_message),
3632         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3633         (update_degree), (gst_bin_sort_iterator_next),
3634         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3635         Reworked the message handling a bit, cache the messages instead of
3636         only the senders. alows us to do more in the future.
3637
3638 2005-10-20  Wim Taymans  <wim@fluendo.com>
3639
3640         * docs/design/part-TODO.txt:
3641         Update TODO
3642
3643         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3644         (gst_base_sink_query):
3645         Don't use clock time to report position when in EOS.
3646
3647 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3648
3649         * tools/gst-inspect.c: (print_interfaces),
3650         (print_element_properties_info), (print_element_info):
3651           Fix interface output with gst-inspect -a; don't print
3652           newlines after double/float properties.
3653
3654 2005-10-20  Wim Taymans  <wim@fluendo.com>
3655
3656         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3657         (gst_base_sink_query):
3658         Speed up current position calculation.
3659
3660         * gst/base/gstbasesrc.c: (gst_base_src_query),
3661         (gst_base_src_default_newsegment):
3662         Correctly set stream position in newsegment.
3663
3664         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3665         (update_degree), (gst_bin_sort_iterator_next),
3666         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3667         * gst/gstmessage.c: (gst_message_new_custom):
3668         Clean up debugging info
3669
3670         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3671         (gst_queue_loop), (gst_queue_handle_src_query):
3672         Pause task faster.
3673
3674 2005-10-19  Wim Taymans  <wim@fluendo.com>
3675
3676         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3677         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3678         Fix query handling again.
3679
3680 2005-10-19  Wim Taymans  <wim@fluendo.com>
3681
3682         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3683         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3684         * gst/base/gstbasesrc.c: (gst_base_src_query):
3685         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3686         * gst/elements/gsttypefindelement.c:
3687         (gst_type_find_handle_src_query), (find_element_get_length),
3688         (gst_type_find_element_activate):
3689         API change fix.
3690
3691         * gst/gstquery.c: (gst_query_new_position),
3692         (gst_query_set_position), (gst_query_parse_position),
3693         (gst_query_new_duration), (gst_query_set_duration),
3694         (gst_query_parse_duration), (gst_query_set_segment),
3695         (gst_query_parse_segment):
3696         * gst/gstquery.h:
3697         Bundling query position/duration is not a good idea since duration
3698         does not change much and we don't want to recalculate it for every
3699         position query, so they are separated again..
3700         Base value in segment query is not needed.
3701
3702         * gst/gstqueue.c: (gst_queue_handle_src_query):
3703         * gst/gstutils.c: (gst_element_query_position),
3704         (gst_element_query_duration), (gst_pad_query_position),
3705         (gst_pad_query_duration):
3706         * gst/gstutils.h:
3707         Updates for query API change.
3708         Added some docs here and there.
3709
3710 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3711
3712         * check/gst/gstbin.c: (GST_START_TEST):
3713         * check/gst/gstghostpad.c: (GST_START_TEST):
3714         * check/pipelines/cleanup.c: (GST_START_TEST):
3715           wait on thread to die so we can check refcount correctly
3716
3717 2005-10-18  Wim Taymans  <wim@fluendo.com>
3718
3719         * check/pipelines/stress.c: (GST_START_TEST):
3720         Make check a little more time consuming.
3721
3722 2005-10-18  Wim Taymans  <wim@fluendo.com>
3723
3724         * check/Makefile.am:
3725         * check/pipelines/stress.c: (GST_START_TEST),
3726         (simple_launch_lines_suite), (main):
3727         Small state change torture test.
3728
3729         * docs/design/part-states.txt:
3730         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3731         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3732         (gst_base_sink_change_state):
3733         Never take state lock from streaming thread, clean up ugly
3734         hacks. Unfortunatly core does not yet support nice ways to
3735         async commit state.
3736         
3737         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3738         (bin_bus_handler):
3739         Start state recalc if a STATE_DIRTY message is posted, but only
3740         on the toplevel bin.
3741
3742         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3743         (gst_element_get_state_func), (gst_element_abort_state),
3744         (gst_element_commit_state), (gst_element_lost_state),
3745         (gst_element_set_state_func), (gst_element_change_state):
3746         * gst/gstelement.h:
3747         State variables are now protected with the LOCK, the state
3748         lock is only used to serialize _set_state().
3749
3750 2005-10-18  Wim Taymans  <wim@fluendo.com>
3751
3752         * check/gst/gstbin.c: (GST_START_TEST):
3753         * check/gst/gstmessage.c: (GST_START_TEST):
3754         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3755         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3756         (bin_bus_handler):
3757         * gst/gstelement.c: (gst_element_abort_state),
3758         (gst_element_commit_state), (gst_element_lost_state):
3759         * gst/gstmessage.c: (gst_message_new_state_changed),
3760         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3761         (gst_message_new_segment_done), (gst_message_new_duration),
3762         (gst_message_parse_state_changed),
3763         (gst_message_parse_segment_start),
3764         (gst_message_parse_segment_done), (gst_message_parse_duration):
3765         * gst/gstmessage.h:
3766         * tools/gst-launch.c: (event_loop):
3767         Seriously, this is better than a previous commit as we only need
3768         to notify the fact that an element changed state in a streaming
3769         thread, marking the state of the parents dirty, hence the 
3770         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3771         message.
3772
3773 2005-10-18  Wim Taymans  <wim@fluendo.com>
3774
3775         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3776         (gst_bin_recalc_func):
3777         * gst/gstelement.c: (gst_element_set_clock),
3778         (gst_element_abort_state), (gst_element_lost_state):
3779         Cleanups, prepare for state change fixes.
3780
3781 2005-10-18  Wim Taymans  <wim@fluendo.com>
3782
3783         * gst/gstbin.h:
3784         * gst/gstelement.c: (gst_element_class_init),
3785         (gst_element_set_state), (gst_element_set_state_func):
3786         * gst/gstelement.h:
3787         Pending ABI changes.
3788         GThreadPool in GstBinClass to monitor async state changes.
3789         state_cookie in GstElement to detect concurrent gst/set state.
3790         set_state is now virtual too in case a very complicated element
3791         has to be constructed.
3792
3793 2005-10-18  Wim Taymans  <wim@fluendo.com>
3794
3795         * check/gst/gstbin.c: (GST_START_TEST):
3796         * check/gst/gstmessage.c: (GST_START_TEST):
3797         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3798         * gst/gstbin.c: (bin_bus_handler):
3799         * gst/gstelement.c: (gst_element_commit_state),
3800         (gst_element_lost_state):
3801         * gst/gstmessage.c: (gst_message_new_state_changed),
3802         (gst_message_new_segment_start), (gst_message_new_segment_done),
3803         (gst_message_new_duration), (gst_message_parse_state_changed),
3804         (gst_message_parse_segment_start),
3805         (gst_message_parse_segment_done), (gst_message_parse_duration):
3806         * gst/gstmessage.h:
3807         * tools/gst-launch.c: (event_loop):
3808         Make messages future proof.
3809         state-change gets a flag if it was a message comming from the
3810         streaming thread.
3811         segment-start/stop can also be specified in other formats.
3812         A message to notify an app that a pipeline changed playback 
3813         duration.
3814         Also fix a GstMessage leak in -launch
3815
3816 2005-10-18  Andy Wingo  <wingo@pobox.com>
3817
3818         * gst/gstelement.c (gst_element_dispose): More helpful message.
3819
3820 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3821
3822         reviewed by: <delete if not using a buddy>
3823
3824         * common/gtk-doc.mak:
3825
3826 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3827
3828         * gst/gstregistry.c: (gst_registry_scan_path_level):
3829           unref a plug-in we get that was already initialized
3830
3831 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3832
3833         * docs/gst/gstreamer-sections.txt:
3834         * docs/libs/gstreamer-libs-sections.txt:
3835         * gst/gstelement.h:
3836           add new api entries
3837           hide internal macro
3838
3839 2005-10-17  Andy Wingo  <wingo@pobox.com>
3840
3841         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3842         cleanup.
3843
3844         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3845
3846         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3847
3848         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3849         (gst_element_get_state_func): Better debug message.
3850         (gst_element_commit_state): s/INFO/DEBUG/.
3851         (gst_element_lost_state, gst_element_change_state): 
3852
3853         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3854         (gst_message_new_custom): s/INFO/LOG/.
3855
3856 2005-10-17  Michael Smith <msmith@fluendo.com>
3857
3858         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3859           Check if end time is valid using end time, not start time.
3860
3861 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3862
3863         * check/gst-libs/controller.c: (GST_START_TEST),
3864         (gst_controller_suite):
3865         * libs/gst/controller/gstcontroller.c:
3866         (gst_controlled_property_set_interpolation_mode):
3867         * libs/gst/controller/gstcontroller.h:
3868         * libs/gst/controller/gstinterpolation.c:
3869         * testsuite/controller/.cvsignore:
3870         * testsuite/controller/Makefile.am:
3871         * testsuite/controller/interpolator.c:
3872           merge controller testsuites
3873           fix broken tests
3874           remove mem-chunk from docs
3875
3876 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3877
3878         * gst/gstmemchunk.c:
3879         * gst/gstmemchunk.h:
3880         * gst/gsttrashstack.c:
3881         * gst/gsttrashstack.h:
3882           out.  get out.  you're fired.  to the Attic !
3883
3884 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3885
3886         * gst/gstcaps.c: (gst_caps_intersect):
3887           fix signedness issues in a (hopefully) correct way
3888         * gst/gstelement.c: (gst_element_pads_activate):
3889           some debugging
3890         * gst/gstobject.c: (gst_object_set_parent):
3891           some debugging
3892
3893 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3894
3895         * gst/gstvalue.h: Fix prototypes.
3896
3897 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3898
3899         * docs/gst/gstreamer-sections.txt:
3900         * gst/gst.c: (gst_version_string):
3901         * gst/gst.h:
3902         * gst/gstversion.h.in:
3903         * win32/common/libgstreamer.def:
3904           add gst_version_string ()
3905
3906 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3907
3908         * configure.ac:
3909           clean up further
3910         * gst/gst.c: (init_post):
3911         * win32/common/config.h.in:
3912           it's PLUGINDIR now
3913         * gst/gstcaps.c: (gst_caps_intersect):
3914           use gint64, the range could be bigger than a guint
3915
3916 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3917
3918         * gst/gstclock.h:
3919           document potential problem in 2038
3920
3921 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3922
3923         * gst/gstcaps.c: (gst_caps_intersect):
3924           Fix guint j diving under 0
3925
3926 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3927
3928         * configure.ac:
3929         * win32/common/config.h:
3930         * win32/common/config.h.in:
3931           check for process.h, declares getpid() on Windows
3932         * gst/gstinfo.c:
3933           include process.h if we have it
3934         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3935         * gst/gstmemchunk.h:
3936           fix signedness issues
3937         * win32/common/libgstreamer.def:
3938           fix get_type's
3939
3940 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3941
3942         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3943         fix. Because of unsigned ints, caps intersection was going nuts and
3944         trying to access structures with G_MAXUINT index. That fixes
3945         videotestsrc ! ffmpegcolorspace ! fakesink
3946         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3947         consistency.
3948
3949 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3950
3951         * configure.ac:
3952           use the gettext macro
3953         * gst/elements/gstelements.c:
3954         * gst/gst.c:
3955         * gst/indexers/gstindexers.c:
3956           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3957         * win32/common/config.h:
3958           updated config.h
3959         * win32/common/config.h.in:
3960           add the template to generate config.h
3961         * win32/common/gstenumtypes.c:
3962         * win32/common/gstversion.h:
3963           updated copies
3964
3965 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3966
3967         * gst/gst.c: (gst_version):
3968         * gst/gstversion.h.in:
3969           add the nano
3970
3971 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3972
3973         * gst/gstevent.h:
3974           Oops, add missing closing bracket.
3975
3976 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3977
3978         * configure.ac:
3979           use common m4's for argument checking
3980
3981 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3982
3983         * docs/gst/gstreamer-sections.txt:
3984         * gst/gstevent.h:
3985           Add GST_EVENT_TYPE_NAME() macro.
3986
3987 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3988
3989         * gst/gstinfo.c:
3990         * gst/gstpluginfeature.c:
3991         * gst/gsttask.c:
3992           privatize more symbols
3993
3994 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3995
3996         * configure.ac:
3997           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3998           everything that uses GStreamer API should have the includes
3999
4000 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4001
4002         * docs/gst/gstreamer-sections.txt:
4003         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4004         * gst/gstvalue.h:
4005           give each value a _get_type, removes the DATA exports
4006
4007 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4008
4009         * gst/gst.c:
4010         * gst/gst.h:
4011           remove _gst_registry_auto_load, not used anymore
4012         * gst/gstbin.c: (gst_bin_get_type):
4013         * gst/gstbin.h:
4014         * gst/gstelement.c: (gst_element_get_type):
4015         * gst/gstelement.h:
4016         * gst/gstobject.c: (gst_object_get_type):
4017         * gst/gstobject.h:
4018         * gst/gstpad.c: (gst_pad_get_type):
4019         * gst/gstpad.h:
4020           make _get_type functions similar, fixes data export from library
4021
4022 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4023
4024         * configure.ac:
4025           correctly make conditionals
4026         * gst/elements/Makefile.am:
4027         * gst/elements/gstelements.c:
4028           fix typo causing fdsrc not to build
4029
4030 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4031
4032         * testsuite/Makefile.am:
4033         * testsuite/bytestream/.cvsignore:
4034         * testsuite/bytestream/Makefile.am:
4035         * testsuite/bytestream/filepadsink.c:
4036         * testsuite/bytestream/gstbstest.c:
4037         * testsuite/bytestream/test1.c:
4038         * testsuite/bytestream/testfile1:
4039         * testsuite/caps/normalisation.c:
4040         * testsuite/caps/random.c: (main):
4041         * testsuite/cleanup/.cvsignore:
4042         * testsuite/cleanup/Makefile.am:
4043         * testsuite/cleanup/cleanup1.c:
4044         * testsuite/cleanup/cleanup2.c:
4045         * testsuite/cleanup/cleanup3.c:
4046         * testsuite/cleanup/cleanup4.c:
4047         * testsuite/cleanup/cleanup5.c:
4048         * testsuite/controller/interpolator.c:
4049         * testsuite/debug/printf_extension.c: (main):
4050         * testsuite/elements/tee.c:
4051         * testsuite/negotiation/.cvsignore:
4052         * testsuite/negotiation/Makefile.am:
4053         * testsuite/negotiation/pad_link.c:
4054         * testsuite/pad/Makefile.am:
4055         * testsuite/pad/chainnopull.c:
4056         * testsuite/pad/getnopush.c:
4057         * testsuite/pad/link.c:
4058         * testsuite/refcounting/sched.c: (create_pipeline):
4059         * testsuite/registry/Makefile.am:
4060         * testsuite/registry/gst-print-formats.c:
4061         * testsuite/schedulers/.cvsignore:
4062         * testsuite/schedulers/142183-2.c:
4063         * testsuite/schedulers/142183.c:
4064         * testsuite/schedulers/143777-2.c:
4065         * testsuite/schedulers/143777.c:
4066         * testsuite/schedulers/147713.c:
4067         * testsuite/schedulers/147819.c:
4068         * testsuite/schedulers/147894-2.c:
4069         * testsuite/schedulers/147894.c:
4070         * testsuite/schedulers/Makefile.am:
4071         * testsuite/schedulers/group_link.c:
4072         * testsuite/schedulers/queue_link.c:
4073         * testsuite/schedulers/relink.c:
4074         * testsuite/schedulers/unlink.c:
4075         * testsuite/schedulers/unref.c:
4076         * testsuite/schedulers/useless_iteration.c:
4077         * testsuite/states/bin.c:
4078           clean out/remove some stuff from the testsuite directories
4079
4080 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4081
4082         * configure.ac:
4083           check for some headers
4084         * gst/elements/Makefile.am:
4085         * gst/elements/gstelements.c:
4086           don't compile fdsrc without sys/socket.h
4087         * gst/indexers/Makefile.am:
4088         * gst/indexers/gstindexers.c: (plugin_init):
4089           don't compile fileindex without mmap
4090
4091 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4092
4093         * configure.ac:
4094           reorganize
4095           clean up
4096           document more
4097           remove cruft
4098         * check/Makefile.am:
4099         * docs/gst/Makefile.am:
4100         * examples/helloworld/Makefile.am:
4101         * gst/Makefile.am:
4102         * gst/base/Makefile.am:
4103         * gst/check/Makefile.am:
4104         * gst/elements/Makefile.am:
4105         * gst/indexers/Makefile.am:
4106         * gst/parse/Makefile.am:
4107         * libs/gst/controller/Makefile.am:
4108         * libs/gst/dataprotocol/Makefile.am:
4109         * examples/helloworld/helloworld.c: (event_loop):
4110           compile fixes, though it's not being compiled currently
4111
4112 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4113
4114         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4115           Add some simple tests for the new taglist date API.
4116
4117 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4118
4119         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4120         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4121           Beautify 'last-message' output: print 'none' for buffer timestamps
4122           and durations if none is set; improve alignment with next messages.
4123
4124 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4125
4126         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4127         * gst/gstpluginfeature.h:
4128         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4129         * gst/gstregistry.h:
4130         * docs/gst/gstreamer-sections.txt:
4131           Add new API to check plugin feature version requirements.
4132
4133         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4134           Some basic tests for the above.         
4135
4136 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4137
4138         * gst/gststructure.c: (gst_structure_to_string):
4139           guard against NULL printf - happens when for example
4140           a message structure with GstClock gets serialized
4141
4142 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4143
4144         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4145           Fix presumable copy'n'pasto.
4146
4147 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4148
4149         * gst/elements/gstfakesrc.h:
4150         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4151         * gst/elements/gsttypefindelement.c:
4152           fix some signedness
4153         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4154           I wonder if this could actually write +2GB files before
4155
4156 2005-10-13  Andy Wingo  <wingo@pobox.com>
4157
4158         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4159         Fix Timmeke Waymans bug.
4160         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4161         string of the proper length to gst_caps_from_string. There's a
4162         potential for, before this fix, that this could cause someone
4163         connecting over the network to cause a segfault if the payload is
4164         not NUL-terminated.
4165
4166 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4167
4168         * docs/design/draft-push-pull.txt:
4169         * docs/design/part-overview.txt:
4170         * docs/random/TODO-pre-0.9:
4171         * docs/random/old/ChangeLog.gstreamer:
4172         * gst/base/gstpushsrc.c:
4173         * gst/gstclock.c:
4174           fixed typos
4175
4176 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4177
4178         * gst/glib-compat.c: (gst_flags_get_first_value):
4179         * gst/glib-compat.h:
4180         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4181         (gst_value_compare_double), (gst_value_serialize_flags):
4182           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4183           infinite loop
4184
4185 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4186
4187         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4188         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4189           fix up debugging
4190         * tools/gst-launch.c: (event_loop):
4191           print out clock nicely
4192
4193 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4194
4195         * docs/gst/gstreamer-sections.txt:
4196         * gst/gsttaglist.h:
4197         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4198         (gst_tag_list_get_date_index):
4199           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4200           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4201
4202 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4203
4204         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4205         (gst_collectpads_chain):
4206         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4207         in CollectData.
4208
4209 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4210
4211         * docs/gst/gstreamer-sections.txt:
4212         * gst/gst.c:
4213         * gst/gsterror.h:
4214         * tools/gst-inspect.c: (main):
4215         * tools/gst-launch.c: (main):
4216         * tools/gst-run.c: (main):
4217         * tools/gst-xmlinspect.c: (main):
4218           fix GOption context leaks
4219           doc fixes
4220
4221 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4222
4223         * gst/gstbus.c:
4224           use HAVE_UNISTD_H
4225         * win32/common/config.h:
4226           update config
4227         * win32/vs6/grammar.dsp:
4228         * win32/vs6/libgstelements.dsp:
4229         * win32/vs6/libgstreamer.dsp:
4230           update vs6 files
4231
4232 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4233
4234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4235         * gst/base/gstbasesrc.c: (gst_base_src_query):
4236           fix more guint64<->gdouble conversions
4237
4238 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4239
4240         * Makefile.am:
4241           add win32-update target
4242         * win32/common/gstconfig.h:
4243         * win32/common/gstenumtypes.c:
4244         * win32/common/gstenumtypes.h:
4245         * win32/common/gstversion.h:
4246           add files that visual studio can't generate
4247
4248 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4249
4250         * Makefile.am:
4251           add a win32-update target
4252         * configure.ac:
4253
4254 2005-10-12  Wim Taymans  <wim@fluendo.com>
4255
4256         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4257         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4258         * gst/gstelement.c: (gst_element_commit_state),
4259         (gst_element_set_state):
4260         Protect flags with proper lock.
4261         unref provided cached clock in dispose.
4262
4263 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4264
4265         * gst/gst.c:
4266         * gst/gstminiobject.h:
4267         * gst/gstpad.h:
4268         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4269           removed unused flags from miniobject
4270           doc fixes
4271
4272 2005-10-12  Wim Taymans  <wim@fluendo.com>
4273
4274         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4275         (gst_file_sink_event), (gst_file_sink_render):
4276         Flush before seeking.
4277
4278 2005-10-12  Andy Wingo  <wingo@pobox.com>
4279
4280         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4281         always been the case.
4282
4283 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4284
4285         * check/gst/gstbin.c: (GST_START_TEST):
4286         * docs/gst/gstreamer-sections.txt:
4287         * gst/base/gstbasesink.c: (gst_base_sink_init):
4288         * gst/base/gstbasesrc.c: (gst_base_src_init),
4289         (gst_base_src_get_range), (gst_base_src_check_get_range),
4290         (gst_base_src_start), (gst_base_src_stop):
4291         * gst/base/gstbasesrc.h:
4292         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4293         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4294         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4295         (bin_bus_handler):
4296         * gst/gstbin.h:
4297         * gst/gstbuffer.h:
4298         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4299         * gst/gstbus.h:
4300         * gst/gstelement.c: (gst_element_is_locked_state),
4301         (gst_element_set_locked_state), (gst_element_commit_state),
4302         (gst_element_set_state):
4303         * gst/gstelement.h:
4304         * gst/gstindex.c: (gst_index_init):
4305         * gst/gstindex.h:
4306         * gst/gstminiobject.h:
4307         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4308         (gst_object_set_parent):
4309         * gst/gstobject.h:
4310         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4311         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4312         * gst/gstpad.h:
4313         * gst/gstpadtemplate.h:
4314         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4315         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4316         * gst/gstpipeline.h:
4317         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4318         (gst_file_index_commit):
4319         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4320         * testsuite/pad/link.c: (gst_test_src_init),
4321         (gst_test_filter_init), (gst_test_sink_init):
4322         * testsuite/states/locked.c: (main):
4323           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4324           moved bitshift from macro to enum definition
4325
4326 2005-10-12  Wim Taymans  <wim@fluendo.com>
4327
4328         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4329         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4330         (gst_file_sink_render):
4331         Some more debugging info.
4332
4333 2005-10-12  Wim Taymans  <wim@fluendo.com>
4334
4335         * docs/design/part-states.txt:
4336         * tools/gst-launch.c: (main):
4337         Some doc updates.
4338         Revert non-intentional change.
4339
4340 2005-10-12  Wim Taymans  <wim@fluendo.com>
4341
4342         * check/gst/gstbin.c: (GST_START_TEST):
4343         * check/gst/gstelement.c: (GST_START_TEST):
4344         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4345         * check/gst/gstghostpad.c: (GST_START_TEST):
4346         * check/gst/gstpipeline.c: (GST_START_TEST):
4347         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4348         * check/states/sinks.c: (GST_START_TEST):
4349         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4350         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4351         (gst_bin_remove_func), (gst_bin_get_state_func),
4352         (gst_bin_recalc_state), (gst_bin_change_state_func),
4353         (bin_bus_handler):
4354         * gst/gstelement.c: (gst_element_get_state_func),
4355         (gst_element_get_state), (gst_element_abort_state),
4356         (gst_element_commit_state), (gst_element_set_state),
4357         (gst_element_change_state), (gst_element_change_state_func):
4358         * gst/gstelement.h:
4359         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4360         (gst_pipeline_provide_clock_func):
4361         * gst/gstutils.c: (gst_element_link_pads_filtered):
4362         * tools/gst-launch.c: (main):
4363         * tools/gst-typefind.c: (main):
4364         Use GstClockTime in _get_state() instead of GTimeVal.
4365         Remove old code in gstutils.c
4366
4367 2005-10-12  Andy Wingo  <wingo@pobox.com>
4368
4369         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4370         removed.
4371
4372         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4373         there is no task. Shouldn't affect any code, as nothing in our
4374         plugins checks this return value.
4375         (gst_pad_stop_task): Also take the stream lock if the pad has no
4376         task. Docs updated.
4377
4378 2005-10-12  Wim Taymans  <wim@fluendo.com>
4379
4380         * gst/gstpad.c: (pre_activate), (post_activate),
4381         (gst_pad_activate_pull), (gst_pad_activate_push):
4382         Cleanup activation code. Reset old state if
4383         activation failed.
4384
4385 2005-10-12  Wim Taymans  <wim@fluendo.com>
4386
4387         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4388         (gst_base_sink_change_state):
4389         No need to prerol after receiving EOS.
4390
4391         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4392         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4393         * gst/elements/gstidentity.c: (gst_identity_event):
4394         Print events more verbosely.
4395
4396 2005-10-12  Wim Taymans  <wim@fluendo.com>
4397
4398         * check/Makefile.am:
4399         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4400         * check/states/sinks2.c:
4401         Moved sinks2 testcode in sinks check.
4402
4403         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4404         (gst_bin_remove_func), (gst_bin_recalc_state),
4405         (gst_bin_change_state_func), (bin_bus_handler):
4406         Fix potential race condition when _get_state() iterated over an
4407         ASYNC element right before it posted a state completion.
4408
4409         * gst/gstclock.h:
4410         Do proper cast here.
4411
4412         * gst/gstevent.c: (gst_event_new_newsegment),
4413         (gst_event_parse_newsegment):
4414         A playback rate of 0.0 is not allowed.
4415
4416 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4417
4418         * win32/common/config.h:
4419         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4420         (_trewinddir), (_ttelldir), (_tseekdir):
4421         * win32/common/dirent.h:
4422         * win32/common/gtchar.h:
4423         * win32/common/libgstbase.def:
4424         * win32/common/libgstreamer.def:
4425         * win32/vs6/grammar.dsp:
4426         * win32/vs6/gst_inspect.dsp:
4427         * win32/vs6/gst_launch.dsp:
4428         * win32/vs6/gstreamer.dsw:
4429         * win32/vs6/libgstbase.dsp:
4430         * win32/vs6/libgstelements.dsp:
4431         * win32/vs6/libgstreamer.dsp:
4432           Visual Studio 6 project files, and a new common directory.
4433           Phear.
4434
4435 2005-10-11  Wim Taymans  <wim@fluendo.com>
4436
4437         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4438         (gst_base_sink_do_sync), (gst_base_sink_query),
4439         (gst_base_sink_change_state):
4440         * gst/base/gstbasesink.h:
4441         Correctly parse newsegment info.
4442
4443 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4444
4445         * gst/gst.c: (init_post):
4446           split plugin paths correctly
4447
4448 2005-10-11  Wim Taymans  <wim@fluendo.com>
4449
4450         * check/gst/gstevent.c: (GST_START_TEST):
4451         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4452         (gst_base_sink_change_state):
4453         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4454         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4455         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4456         * gst/gstevent.c: (gst_event_new_newsegment),
4457         (gst_event_parse_newsegment):
4458         * gst/gstevent.h:
4459         Added extra flag to newsegment for future API freeze.
4460         Updated check and base elements.
4461
4462 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4463
4464         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4465         (gst_collectpads_add_pad), (gst_collectpads_pop),
4466         (gst_collectpads_event), (gst_collectpads_chain):
4467         * gst/base/gstcollectpads.h: Handle EOS correctly.
4468
4469 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4470
4471         * tools/gst-launch.c: (main):
4472           more null protecting
4473
4474 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4475
4476         * gst/gst-i18n-lib.h:
4477           check for ENABLE_NLS, not GETTEXT_PACKAGE
4478         * gst/gstregistry.c: (gst_registry_add_plugin),
4479         (gst_registry_scan_path_level),
4480         (_gst_registry_remove_cache_plugins):
4481           protect possibly NULL strings
4482         * gst/parse/types.h:
4483           config.h already included before
4484         * tools/gst-inspect.c: (main):
4485           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4486           check for ENABLE_NLS, not GETTEXT_PACKAGE
4487         * tools/gst-launch.c: (main):
4488           check for ENABLE_NLS, not GETTEXT_PACKAGE
4489
4490 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4491
4492         * configure.ac:
4493           if we don't have glib, fail before testing 2.8
4494         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4495           fix a leak, should fix plugins-base testsuite
4496
4497 2005-10-11  Andy Wingo  <wingo@pobox.com>
4498
4499         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4500         take the mode we're going to as an arg. Go head and set the mode
4501         and flushing flags now, so that if the activate function starts a
4502         thread all the flags will be in the right state.
4503         (post_activate): Renamed also. Just handle making sure streaming
4504         finishes for the deactivation case, and setting the deactivated
4505         mode.
4506         (gst_pad_set_active): Complain loudly if deactivation fails.
4507         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4508         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4509         remove the terrible hack.
4510
4511 2005-10-11  Wim Taymans  <wim@fluendo.com>
4512
4513         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4514         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4515         (gst_bin_recalc_state), (gst_bin_change_state_func),
4516         (gst_bin_dispose), (bin_bus_handler):
4517         * gst/gstbin.h:
4518         Prepare to make current EOS message queue more generic.
4519         Fix some typos.
4520
4521         * gst/gstevent.c: (gst_event_new_newsegment),
4522         (gst_event_parse_newsegment):
4523         * gst/gstevent.h:
4524         Rename base to stream_time.
4525
4526         * gst/gstmessage.h:
4527         Fix typo in docs.
4528
4529 2005-10-11  Wim Taymans  <wim@fluendo.com>
4530
4531         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4532         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4533         (gst_bin_change_state_func), (bin_bus_handler):
4534         * gst/gstbin.h:
4535         Work on proper clock selection.
4536
4537 2005-10-11  Edward Hervey  <edward@fluendo.com>
4538
4539         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4540         * libs/gst/controller/gstcontroller.h:
4541         Added GList* version of _remove_properties() in order to be able to wrap
4542         it in bindings.
4543
4544 2005-10-11  Wim Taymans  <wim@fluendo.com>
4545
4546         * docs/design/part-states.txt:
4547         Some more docs.
4548
4549         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4550         (gst_bin_change_state_func), (bin_bus_handler):
4551         Doc updates. Don't distribute the same clock over and over again.
4552
4553         * gst/gstclock.c:
4554         * gst/gstclock.h:
4555         Doc updates.
4556
4557         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4558         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4559         (gst_pad_send_event):
4560         * gst/gstpad.h:
4561         Make probe emission threadsafe again.
4562         Register quarks and move _get_name() from utils.
4563         Doc updates.
4564
4565         * gst/gstpipeline.c: (gst_pipeline_class_init),
4566         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4567         Only redistribute the clock of it changed.
4568
4569         * gst/gstsystemclock.h:
4570         Doc updates. 
4571
4572         * gst/gstutils.c:
4573         * gst/gstutils.h:
4574         Moved the _flow_get_name() to GstPad.
4575
4576 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4577
4578         * check/gst-libs/gdp.c: (GST_START_TEST):
4579         * check/gst/gstcaps.c: (GST_START_TEST):
4580         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4581         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4582         (gst_dp_packet_from_caps):
4583           fix more valgrind warnings before turning up the heat
4584
4585 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4586
4587         * gst/parse/grammar.y:
4588           some cleanup before the hacking
4589
4590 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4591
4592         * gst/base/gstbasesrc.c: (gst_base_src_query):
4593           use conversions
4594         * gst/gstutils.c: (gst_guint64_to_gdouble),
4595         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4596         * gst/gstutils.h:
4597           externalize, basesrc uses it
4598           obviously the implementation needs testing
4599
4600 2005-10-10  Wim Taymans  <wim@fluendo.com>
4601
4602         * tests/sched/Makefile.am:
4603         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4604         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4605
4606 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4607
4608         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4609           apparently converting from guint64 to double is not implemented
4610           on MSVC
4611
4612 2005-10-10  Wim Taymans  <wim@fluendo.com>
4613
4614         * check/Makefile.am:
4615         * check/generic/states.c: (GST_START_TEST):
4616         * check/gst/gstbin.c: (GST_START_TEST):
4617         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4618         * check/states/sinks.c: (GST_START_TEST):
4619         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4620         (main):
4621         Check fixes, use API as stated in design docs, remove hacks.
4622
4623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4624         (gst_base_sink_change_state):
4625         Catch stopping our task while we're shutting down.
4626
4627         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4628         (gst_bin_remove_func), (gst_bin_get_state_func),
4629         (gst_bin_recalc_state), (gst_bin_change_state_func),
4630         (bin_bus_handler):
4631         * gst/gstbin.h:
4632         * gst/gstelement.c: (gst_element_init),
4633         (gst_element_get_state_func), (gst_element_abort_state),
4634         (gst_element_commit_state), (gst_element_lost_state),
4635         (gst_element_set_state), (gst_element_change_state),
4636         (gst_element_change_state_func):
4637         * gst/gstelement.h:
4638         New state change algorithm (see #318116)
4639
4640         * gst/gstpipeline.c: (gst_pipeline_class_init),
4641         (gst_pipeline_init), (gst_pipeline_set_property),
4642         (gst_pipeline_get_property), (do_pipeline_seek),
4643         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4644         * gst/gstpipeline.h:
4645         Remove crude state change hacks.
4646
4647         * gst/gstutils.h:
4648         Remove crude hacks.
4649
4650         * tools/gst-launch.c: (main):
4651         Fixes for state change. Needs some more work to fully use the
4652         new stuff.
4653
4654 2005-10-10  Andy Wingo  <wingo@pobox.com>
4655
4656         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4657
4658         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4659         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4660         issue.
4661
4662 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4663
4664         * gst/gstiterator.c: (gst_iterator_new):
4665           Fix my previous commit: GTypes passed to gst_iterator_new()
4666           can be fundamental types.
4667
4668 2005-10-10  Wim Taymans  <wim@fluendo.com>
4669
4670         * gst/gstelement.c: (gst_element_iterate_pad_list),
4671         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4672         (gst_element_iterate_sink_pads):
4673         Use src/sink pads lists for the respective iterators instead
4674         of filtering.
4675
4676 2005-10-10  Andy Wingo  <wingo@pobox.com>
4677
4678         Merged in popt removal + GOption addition patch from Ronald, bug
4679         #169772.
4680
4681         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4682         GstElement macros around, remove popt-related symbols, add goption
4683         stuff.
4684
4685         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4686         
4687         * docs/gst/Makefile.am:
4688         * docs/libs/Makefile.am: No POPT_CFLAGS.
4689         
4690         * examples/manual/Makefile.am:
4691         * docs/manual/basics-init.xml: Doc updates with an example.
4692         
4693         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4694         (gst_init), (parse_one_option), (parse_goption_arg):
4695         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4696         bit of hand merging and debugging to get the GOption stuff working
4697         tho.
4698         
4699         * tests/Makefile.am:
4700         * tools/Makefile.am:
4701         * tools/gst-inspect.c: (main):
4702         * tools/gst-launch.c: (main):
4703         * tools/gst-run.c: (main):
4704         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4705
4706 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4707
4708         * gst/gstiterator.c: (gst_iterator_new):
4709           Add assertions to make sure passed GType is likely to really
4710           be a GType (as the compiler won't catch it if the size and
4711           GType arguments get mixed up, see #318447).
4712
4713 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4714
4715         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4716
4717         * gst/gstbin.c: (gst_bin_iterate_sorted):
4718           Pass GType and size arguments to gst_iterator_new() in the right
4719           order (maybe we should make _new() take the GType as first argument
4720           just like _new_list()?) (#318447).
4721           
4722
4723 2005-10-10  Wim Taymans  <wim@fluendo.com>
4724
4725         * gst/gstelement.c: (gst_element_finalize):
4726         And free the GStaticRecMutex too
4727
4728 2005-10-10  Andy Wingo  <wingo@pobox.com>
4729
4730         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4731         Allocate and free the mutex properly.
4732
4733         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4734         New macros.
4735         (GstElement): The state_lock is now recursive. Rebuild your
4736         plugins, suckers. Old macros adapted.
4737
4738         * docs/gst/gstreamer-sections.txt: Doc updates.
4739
4740         * gst/gstutils.h:
4741         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4742         (g_static_rec_cond_wait): Ported from state changes patch, while
4743         we wait on bug #317802 to be solved in a well-distributed GLib.
4744
4745         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4746         gst_element_change_state, variable name changes.
4747         (gst_element_change_state): Split out of gst_element_set_state in
4748         preparation for the state change merge. Doesn't pay attention to
4749         the 'transition' argument.
4750         (gst_element_set_state): Updates, hopefully purely cosmetic.
4751         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4752         state change patch.
4753         (gst_element_get_state_func): Renamed from get_state, cosmetic
4754         changes.
4755
4756 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4757
4758         * gst/elements/gstelements.c:
4759         * win32/GStreamer.vcproj:
4760         * win32/config.h:
4761         * win32/dirent.c: (_tseekdir):
4762         * win32/gst-inspect.vcproj:
4763         * win32/gst-launch.vcproj:
4764         * win32/gstconfig.h:
4765         * win32/gstelements.vcproj:
4766         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4767         * win32/gstreamer.def:
4768         * win32/msvc71.sln:
4769           updates for the win32 build (patch from Sebastien Moutte)
4770
4771 2005-10-10  Andy Wingo  <wingo@pobox.com>
4772
4773         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4774         gst_bin_get_state, cleaned up (but no logic changes).
4775         (bin_element_is_sink): Comment updates.
4776         (sink_iterator_filter): Remove needless cast.
4777         (gst_bin_iterate_sinks): Doc update.
4778         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4779         cleaned up (but no logic changes).
4780
4781         * check/states/sinks.c (test_src_sink): Cleanups from the state
4782         change patch.
4783         (test_livesrc_sink): Sync on the state.
4784
4785         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4786         the state change patch.
4787
4788         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4789         change patch.
4790
4791         * check/gst/gstbin.c: Merge in some style fixes and additional
4792         checks from Wim's state change patch.
4793
4794 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4795
4796         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4797         (gst_type_find_helper):
4798           Check whether we have the requested data already in our list of
4799           cached buffers before pulling a new buffer; also make the buffer
4800           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4801
4802 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4803
4804         * gst/gstcaps.c:
4805         * gst/gstevent.c:
4806           doc updates
4807         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4808           don't use long long, it's not portable.  Replacing with
4809           gint64 seems to work; let's hope no skeletons fall out of the closet.
4810
4811 2005-10-10  Andy Wingo  <wingo@pobox.com>
4812
4813         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4814
4815 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4816
4817         * docs/gst/gstreamer-sections.txt:
4818         * gst/gstevent.c:
4819         * gst/gstevent.h:
4820         * gst/gstinfo.c:
4821         * gst/gstinfo.h:
4822         * gst/gstmessage.c: (gst_message_parse_state_changed):
4823         * gst/gstpad.c:
4824         * gst/gstpad.h:
4825           more docs, fix compilation
4826
4827 2005-10-09  Philippe Khalaf <burger@speedy.org>
4828         * gst/gstmessage.c:
4829           Fixed a few forgotten variables on previous commit
4830
4831 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4832
4833         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4834           Fix evil typefind crasher: getrange() might return a short
4835           buffer at the end of a file, but gst_type_find_peek() must
4836           either return the full data as requested or NULL, but
4837           never a short buffer.
4838
4839 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4840
4841         * gst/gstmessage.c: (gst_message_new_state_changed),
4842         (gst_message_parse_state_changed):
4843         * gst/gstmessage.h:
4844           don't use "new", it's a C++ keyword
4845
4846 2005-10-08  Wim Taymans  <wim@fluendo.com>
4847
4848         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4849         * gst/gstelement.c: (gst_element_post_message):
4850         * gst/gstpipeline.c: (gst_pipeline_change_state):
4851         Small docs and debug updates.
4852
4853 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4854
4855         * docs/gst/gstreamer-sections.txt:
4856         * gst/gstelementfactory.c:
4857         * gst/gstevent.c:
4858         * gst/gsttaglist.c:
4859           more docs
4860
4861 2005-10-08  Wim Taymans  <wim@fluendo.com>
4862
4863         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4864         (gst_bin_dispose), (bin_bus_handler):
4865         Fix typos, add comments.
4866         Clear EOS list when going to PAUSED from any direction and do it
4867         in a threadsafe way.
4868         Get base time in a threadsafe way too.
4869         Fix confusing debug in the change_state function.
4870         Various other small cleanups.
4871         
4872         * gst/gstelement.c: (gst_element_post_message):
4873         Fix very verbose bus posting code.
4874
4875         * gst/gstpipeline.c: (gst_pipeline_class_init),
4876         (gst_pipeline_set_property), (gst_pipeline_get_property),
4877         (gst_pipeline_change_state):
4878         Small ARG_ -> PROP_ cleanup
4879
4880 2005-10-08  Wim Taymans  <wim@fluendo.com>
4881
4882         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4883         Do a less CPU demanding EOS check because we can.
4884
4885 2005-10-08  Wim Taymans  <wim@fluendo.com>
4886
4887         * libs/gst/dataprotocol/dataprotocol.c:
4888         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4889         (gst_dp_packet_from_event):
4890         * libs/gst/dataprotocol/dataprotocol.h:
4891         * libs/gst/dataprotocol/dp-private.h:
4892         It's about time we bump the version number.
4893         Since event types don't fit in the guint8 anymore describing
4894         the payload type, make payload type 16 bits wide.
4895
4896 2005-10-08  Wim Taymans  <wim@fluendo.com>
4897
4898         * docs/design/part-TODO.txt:
4899         * docs/design/part-clocks.txt:
4900         * docs/design/part-events.txt:
4901         * docs/design/part-gstbin.txt:
4902         * docs/design/part-gstelement.txt:
4903         * docs/design/part-gstpipeline.txt:
4904         * docs/design/part-live-source.txt:
4905         * docs/design/part-messages.txt:
4906         * docs/design/part-overview.txt:
4907         * docs/design/part-states.txt:
4908         Many doc updates.
4909
4910 2005-10-08  Wim Taymans  <wim@fluendo.com>
4911
4912         * gst/gstevent.c:
4913         * gst/gstevent.h:
4914         Fix event quark registration.
4915         Add some space between events so we can insert them in the
4916         right groups.
4917
4918 2005-10-08  Wim Taymans  <wim@fluendo.com>
4919
4920         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4921         (gst_base_sink_handle_buffer):
4922         Better log message.
4923
4924         * gst/gstbus.h:
4925         * gst/gstelement.h:
4926         More docs.
4927
4928         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4929         (gst_queue_set_property), (gst_queue_get_property):
4930         * gst/gstqueue.h:
4931         Remove old unused properties.
4932
4933 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4934         * docs/gst/gstreamer-sections.txt:
4935         * gst/gstmessage.c:
4936         * gst/gstmessage.h:
4937         * gst/gstminiobject.c:
4938         * gst/gstminiobject.h:
4939         * gst/gstobject.h:
4940         * gst/gstpad.h:
4941         * gst/gstutils.h:
4942           lots of new docs and doc fixes
4943
4944 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4945
4946         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4947         * gst/gstplugin.h:
4948         * gst/gstregistry.c: (gst_registry_lookup_locked),
4949         (gst_registry_scan_path_level):
4950         * gst/gstregistryxml.c: (load_plugin):
4951           Only ever load one plugin for a given plugin basename.
4952           This ensures correct overriding of GST_PLUGIN_PATH over
4953           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4954           system installed plugins.
4955
4956 2005-10-08  Wim Taymans  <wim@fluendo.com>
4957
4958         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4959         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4960         Prepare for doing QOS.
4961
4962 2005-10-08  Wim Taymans  <wim@fluendo.com>
4963
4964         * check/gst/gstbin.c: (GST_START_TEST):
4965         * check/pipelines/cleanup.c: (GST_START_TEST):
4966         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4967         Allow new clock message too.
4968
4969 2005-10-08  Wim Taymans  <wim@fluendo.com>
4970
4971         * gst/gstmessage.c: (gst_message_new_error),
4972         (gst_message_new_warning), (gst_message_new_tag),
4973         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4974         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4975         (gst_message_new_segment_start), (gst_message_new_segment_done),
4976         (gst_message_parse_state_changed),
4977         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4978         (gst_message_parse_new_clock):
4979         * gst/gstmessage.h:
4980         Also carry the clock in question.
4981
4982 2005-10-08  Wim Taymans  <wim@fluendo.com>
4983
4984         * gst/gstmessage.c: (gst_message_new_custom),
4985         (gst_message_new_eos), (gst_message_new_error),
4986         (gst_message_new_warning), (gst_message_new_tag),
4987         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4988         (gst_message_new_new_clock), (gst_message_new_segment_start),
4989         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4990         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4991         * gst/gstmessage.h:
4992         Clean up.
4993         Added clock related messages.
4994
4995         * gst/gstpipeline.c: (gst_pipeline_change_state):
4996         Post message when the clock changed.
4997
4998         * tools/gst-launch.c: (event_loop):
4999         Print new clock.
5000
5001 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5002
5003         * tools/gst-inspect.c: (print_element_properties_info):
5004           Can't pass NULL strings to g_print() on windows.
5005
5006 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5007
5008         * docs/Makefile.am:
5009         * docs/gst/Makefile.am:
5010         * docs/gst/gstreamer-docs.sgml:
5011         * docs/gst/running.xml:
5012         * docs/version.entities.in:
5013           add a chapter on running GStreamer.
5014           document GST_DEBUG and GST_PLUGIN* env vars
5015
5016 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5017
5018         * Makefile.am:
5019           remove include dir
5020         * configure.ac:
5021           remove PLUGINS_BUILDDIR stuff
5022         * gst/gst.c: (init_post):
5023           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5024         * idiottest.mak:
5025           remove, it was condescending and not needed
5026
5027 2005-10-08  Wim Taymans  <wim@fluendo.com>
5028
5029         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5030         (gst_base_sink_handle_object), (gst_base_sink_event),
5031         (gst_base_sink_wait), (gst_base_sink_handle_event),
5032         (gst_base_sink_change_state):
5033         * gst/base/gstbasesink.h:
5034         Repost EOS message while going to PLAYING if still EOS.
5035         Make sure that when receiving a FLUSH_START we don't attempt
5036         to sync on the clock anymore.
5037
5038 2005-10-08  Wim Taymans  <wim@fluendo.com>
5039
5040         * tools/gst-launch.c: (event_loop):
5041         Better message printout.
5042
5043 2005-10-08  Wim Taymans  <wim@fluendo.com>
5044
5045         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5046         (gst_bin_child_proxy_get_children_count):
5047         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5048         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5049         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5050         (gst_child_proxy_set_valist):
5051         * gst/parse/grammar.y:
5052         Make ChildProxy threadsafe and fix mem leaks.
5053
5054 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5055
5056         * gst/gst.c: (init_post):
5057           debug the GST_PLUGIN_ env vars
5058
5059 2005-10-08  Wim Taymans  <wim@fluendo.com>
5060
5061         * check/gst/gstbin.c: (GST_START_TEST):
5062         * check/gst/gstmessage.c: (GST_START_TEST):
5063         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5064         * gst/gstelement.c: (gst_element_commit_state),
5065         (gst_element_lost_state):
5066         * gst/gstmessage.c: (gst_message_new_state_changed),
5067         (gst_message_parse_state_changed):
5068         * gst/gstmessage.h:
5069         * tools/gst-launch.c: (event_loop):
5070         Added extra field to STATE_CHANGE message with the pending
5071         state, which will be different from the new state soon.
5072
5073 2005-10-08  Wim Taymans  <wim@fluendo.com>
5074
5075         * gst/gstbus.c: (gst_bus_pop):
5076         * gst/gstclock.c:
5077         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5078         Small cleanups and doc updates.
5079
5080 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5081
5082         * gst/gst.c: (init_pre):
5083         * gst/gstbin.c: (gst_bin_add_func):
5084           log distributing clocks and base time
5085         * gst/gstregistry.c: (gst_registry_add_plugin),
5086         (gst_registry_scan_path_level), (gst_registry_scan_path):
5087           clean up the debugging output a little
5088         * gst/gstutils.c: (gst_element_state_get_name):
5089           warn about a memleak (I've actually seen this be used, though
5090           it was probably a bug)
5091
5092 2005-10-07  Wim Taymans  <wim@fluendo.com>
5093
5094         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5095         (gst_base_src_init), (gst_base_src_default_newsegment),
5096         (gst_base_src_newsegment), (gst_base_src_do_seek),
5097         (gst_base_src_loop), (gst_base_src_start):
5098         * gst/base/gstbasesrc.h:
5099         Make the newsegment event customizable by subclasses.
5100
5101 2005-10-07  Wim Taymans  <wim@fluendo.com>
5102
5103         * gst/gstevent.c: (gst_event_new_buffersize),
5104         (gst_event_parse_buffersize):
5105         * gst/gstevent.h:
5106         New event for future idea.
5107
5108 2005-10-07  Andy Wingo  <wingo@pobox.com>
5109
5110         * gst/gstelement.c (gst_element_post_message): Doc update.
5111
5112         * docs/gst/gstreamer-sections.txt: Update.
5113
5114         * gst/gstmessage.c (gst_message_new_application): Made into a
5115         function like honest API calls.
5116         (gst_message_new_element): New message type.
5117
5118         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5119
5120         * check/elements/fakesrc.c (test_no_preroll): New check, checks
5121         that setting a live fakesrc to PAUSED returns NO_PREROLL both
5122         times.
5123
5124         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5125         NO_PREROLL from gst_element_change_state to fall through.
5126
5127 2005-10-07  Wim Taymans  <wim@fluendo.com>
5128
5129         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5130         (gst_ghost_pad_do_activate_push):
5131         Activating a ghostpad with no internal pad in push mode
5132         is ok.
5133
5134 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5135
5136         * gst/gstobject.h:
5137           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5138           Fixes compilation on Windows.
5139
5140 2005-10-07  Michael Smith <msmith@fluendo.com>
5141
5142         * tools/gst-inspect.c:
5143           Print out feature and plugin count at the end when printing out
5144           all features.
5145
5146 2005-10-04  Michael Smith <msmith@fluendo.com>
5147
5148         * gst/gsterror.c: (_gst_stream_errors_init):
5149           Add another error string used in a few existing plugins.
5150
5151         * gst/gstplugin.c:
5152         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5153         * tools/gst-inspect.c: (print_element_info):
5154           When a feature disappears from a plugin (and the feature exists in
5155           the cached registry file), things went horribly wrong. This isn't a
5156           complete fix, we should actually be removing the 'missing' features
5157           from the features list when we load the actual plugin. That's not
5158           yet implemented. 
5159
5160 2005-10-04  Johan Dahlin  <johan@gnome.org>
5161
5162         * check/gst/gstiterator.c: (GST_START_TEST):
5163         * gst/gstbin.c: (gst_bin_iterate_elements),
5164         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5165         * gst/gstelement.c: (gst_element_iterate_pads):
5166         * gst/gstformat.c: (gst_format_iterate_definitions):
5167         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5168         (gst_iterator_new_list), (gst_iterator_filter):
5169         * gst/gstiterator.h:
5170         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5171         Add a GType to GstIterator, update callsites and tests.
5172
5173 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5174
5175         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5176           give events a chance to be handled by event probes when the pad
5177           is not linked
5178
5179 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5180
5181         * gst/gstevent.c: (gst_event_type_get_name),
5182         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5183         * gst/gstevent.h:
5184           add string representations for event types
5185
5186 2005-10-06  Wim Taymans  <wim@fluendo.com>
5187
5188         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5189         Don't use NULL pointers.
5190
5191 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5192
5193         * gst/gst_private.h:
5194         * gst/gstbus.c:
5195         * gst/gstelement.c:
5196         * gst/gstinfo.c:
5197         * gst/gstpluginfeature.c:
5198           widen the debug category in output to fit the biggest one we have
5199           add a bus category and use it
5200           play with the colors
5201           fix up some categories
5202
5203 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5204
5205         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5206           add push activation of sink ghost pads.
5207           Andye, please verify
5208
5209 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5210
5211         * gst/gstutils.c: (gst_element_link_pads):
5212           fix a bug in the case where neither element has a pad
5213         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5214           add a test for that case
5215
5216 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5217
5218         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5219           emit have-data before checking for peers.  This allows
5220           for probe handlers to connect elements.  This helps autopluggers.
5221         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5222         (gst_pad_suite):
5223           add six checks, linked/unlinked with no/true/false probe
5224
5225 2005-10-04  Wim Taymans  <wim@fluendo.com>
5226
5227         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5228         (gst_fake_sink_event), (gst_fake_sink_preroll),
5229         (gst_fake_sink_render), (gst_fake_sink_change_state):
5230         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5231         (gst_fake_src_get_property), (gst_fake_src_create),
5232         (gst_fake_src_stop):
5233         * gst/elements/gstidentity.c: (gst_identity_stop):
5234         Protect last_message with lock.
5235
5236 2005-10-04  Edward Hervey  <edward@fluendo.com>
5237
5238         * gst/gstformat.h: 
5239         Added precision in the comments for GST_FORMAT_DEFAULT
5240
5241 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5242
5243         * tools/gst-launch.c: (main):
5244           Don't try to run erroneous pipelines.
5245
5246 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5247
5248         * gst/gstbus.c: We don't need this header.
5249
5250 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5251
5252         * configure.ac:
5253           back to development
5254
5255 === release 0.9.3 ===
5256
5257 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5258
5259         * README:
5260         * configure.ac:
5261           Releasing 0.9.3, "Unregistered"
5262
5263 2005-10-03  Andy Wingo  <wingo@pobox.com>
5264
5265         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5266         whereby calling a pad's activatepush() function can start a thread
5267         that starts to push or pull before the pad gets the FLUSHING flag
5268         unset. Hack around it by holding the stream lock until the flag is
5269         set. Need to replace this with a proper solution. Together with
5270         the ghost pad fixes, this fixes mp3 playing/tagreading.
5271
5272         * docs/design/part-gstghostpad.txt: Add a note about activation of
5273         proxy pads outside of ghost pads.
5274
5275         * gst/gstghostpad.c: Implement the ghost pad activation design.
5276
5277 2005-10-02  Andy Wingo  <wingo@pobox.com>
5278
5279         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5280         It is volatile, after all.
5281
5282         * docs/design/part-gstghostpad.txt: Flesh out activation with
5283         ghost pads.
5284
5285         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5286         GST_DEBUG_FUNCPTR.
5287
5288 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5289
5290         * configure.ac:
5291           Fix (unused) AM_CONDITIONAL tests.
5292
5293 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5294
5295         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5296
5297         * gst/gstutils.c: (gst_pad_query_convert):
5298           Add assertion that makes sure src_val is >=0, just like
5299           gst_query_new_convert() has. (#315895)
5300
5301 2005-09-30  Edward Hervey  <edward@fluendo.com>
5302
5303         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5304         Let's not iterate pads we're not interested in, it avoids getting 
5305         sky-high refcounts on sinkpad.
5306
5307 2005-09-30  Wim Taymans  <wim@fluendo.com>
5308
5309         * gst/gstelement.c: (gst_element_set_state),
5310         (gst_element_change_state):
5311         Small tweak, element in ASYNC remains ASYNC.
5312
5313 2005-09-30  Wim Taymans  <wim@fluendo.com>
5314
5315         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5316         Only error is an error.
5317
5318         * gst/gstbin.c: (gst_bin_change_state):
5319         Better debugging.
5320
5321         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5322         Also call pad_block in pad alloc.
5323
5324         * gst/gstutils.c: (gst_flow_get_name):
5325         Better debugging.
5326
5327 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5328
5329         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5330         (gst_base_src_get_range):
5331           Fix documentation typos. Add some more debug info.
5332
5333 2005-09-29  David Schleef  <ds@schleef.org>
5334
5335         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5336           more end-user friendly.
5337         * tools/gst-inspect.c: (main): Check if command-line argument is
5338           a file and attempt to load that file as a plugin.
5339
5340 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5341
5342         * check/gst/gstbin.c:
5343         * check/states/sinks.c:
5344           fix tests for the new warning
5345         * check/gst/gstpipeline.c:
5346           add a test for pipeline and bus interaction
5347         * gst/gstelement.c:
5348           elements should be NULL if they get disposed; add a warning if not
5349
5350 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5351
5352         * gst/gstobject.c:
5353           for 2.6 refcounting, make debug log more correct by printing
5354           the actual refcounts at the time of swap (Wim)
5355
5356 2005-09-29  Andy Wingo  <wingo@pobox.com>
5357
5358         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5359         removes signal watches previously added via
5360         gst_bus_add_signal_watch.
5361         (gst_bus_add_signal_watch): Don't return the source id, just store
5362         it on the bus if there wasn't an id already.
5363
5364         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5365         add_signal_watch and remove_signal_watch.
5366
5367 2005-09-29  Edward Hervey  <edward@fluendo.com>
5368
5369         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5370         Better if we actually iterate the list :)
5371
5372 2005-09-29  Wim Taymans  <wim@fluendo.com>
5373
5374         * check/gst/gstbin.c: (GST_START_TEST):
5375         Change for new bus API.
5376
5377         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5378         (send_messages), (GST_START_TEST), (gstbus_suite):
5379         Change for new bus signal API.
5380
5381         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5382         (gst_bus_source_prepare), (gst_bus_source_check),
5383         (gst_bus_create_watch), (gst_bus_add_watch_full),
5384         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5385         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5386         * gst/gstbus.h:
5387         Remove support for multiple GSources operating on different
5388         message types as it is too complex and unneeded when using
5389         signals.
5390         Added support for receiving signals from the bus.
5391
5392 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5393
5394         * docs/libs/tmpl/gstdataprotocol.sgml:
5395         * docs/manual/advanced-dataaccess.xml:
5396         * gst/elements/gstcapsfilter.c:
5397         * gst/gstutils.c:
5398           rename filter-caps to caps property
5399
5400 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5401
5402         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5403           More robust fraction string parsing.
5404
5405         * docs/pwg/appendix-porting.xml:
5406           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5407
5408 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5409
5410         * gst/gstcaps.c: (gst_caps_do_simplify):
5411           Thou shalt not free a structure and then continue using it
5412           in the next loop iteration.
5413
5414         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5415         (gst_caps_suite):
5416           Add test case for caps simplification.
5417
5418 2005-09-29  Wim Taymans  <wim@fluendo.com>
5419
5420         * check/gst/gstbin.c: (GST_START_TEST):
5421         Oops.
5422
5423 2005-09-29  Wim Taymans  <wim@fluendo.com>
5424
5425         * check/gst/gstbin.c: (GST_START_TEST):
5426         Add bus to bin.
5427
5428         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5429         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5430         (find_element), (gst_bin_sort_iterator_next),
5431         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5432         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5433         (gst_bin_change_state), (gst_bin_dispose):
5434         A bin does not have a bus, it gets the bus from the parent.
5435
5436         * gst/gstelement.c: (gst_element_requires_clock),
5437         (gst_element_provides_clock), (gst_element_is_indexable),
5438         (gst_element_is_locked_state), (gst_element_change_state),
5439         (gst_element_set_bus_func):
5440         Small cleanups.
5441
5442         * gst/gstpipeline.c: (gst_pipeline_class_init),
5443         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5444         The pipeline provides a bus.
5445
5446 2005-09-28  Johan Dahlin  <johan@gnome.org>
5447
5448         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5449         gst_structure_get_enum instead of gst_structure_get_int
5450
5451         * gst/gststructure.c (gst_structure_get_enum): Impl.
5452
5453         * gst/gststructure.h (gst_structure_get_enum): Add
5454
5455         * docs/gst/gstreamer-sections.txt: Ditto
5456
5457         * gst/gstmessage.c (gst_message_new_state_changed): Use
5458         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5459         which does introspection.
5460         Reviewed by Christian Schaller
5461
5462 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5463
5464         * gst/gstinfo.c: (gst_debug_log_default):
5465           don't do dummy g_strdup()s
5466         * libs/gst/controller/gstcontroller.c:
5467         (on_object_controlled_property_changed),
5468         (gst_controlled_property_new), (gst_controller_new_valist),
5469         (gst_controller_new_list),
5470         (gst_controller_remove_properties_valist), (gst_controller_set),
5471         (gst_controller_get), (gst_controller_sync_values),
5472         (gst_controller_get_value_array), (_gst_controller_class_init),
5473         (gst_controller_get_type):
5474         * libs/gst/controller/gstcontroller.h:
5475         * libs/gst/controller/gstinterpolation.c:
5476         (gst_controlled_property_find_timed_value_node):
5477           convert // to /**/ comments
5478
5479 2005-09-28  Wim Taymans  <wim@fluendo.com>
5480
5481         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5482         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5483         (gst_bus_sync_signal_handler):
5484         * gst/gstbus.h:
5485         Added async-message and sync-message signals to the bus.
5486         Added helper BusFunc to emit signals for all posted messages.
5487
5488         * gst/gstmessage.c: (gst_message_type_get_name),
5489         (gst_message_type_to_quark), (gst_message_get_type):
5490         * gst/gstmessage.h:
5491         Register quarks for message names.
5492
5493 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5494
5495         * docs/libs/gstreamer-libs-sections.txt:
5496         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5497         (gst_controller_new_list):
5498         * libs/gst/controller/gstcontroller.h:
5499           added another constructor for language bindings
5500
5501 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5502
5503         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5504           add another check
5505         * gst/gstbus.c:
5506           add some doc
5507         * gst/gstinfo.c: (_gst_debug_init):
5508           slightly more readable color for refcount debugging
5509
5510 2005-09-28  Wim Taymans  <wim@fluendo.com>
5511
5512         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5513         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5514         (find_element), (gst_bin_sort_iterator_next),
5515         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5516         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5517         (gst_bin_change_state), (gst_bin_dispose):
5518         Small doc fixes. get_clock -> provide_clock.
5519
5520         * gst/gstelement.c: (gst_element_class_init),
5521         (gst_element_provides_clock), (gst_element_provide_clock),
5522         (gst_element_get_clock), (gst_element_commit_state),
5523         (gst_element_lost_state):
5524         * gst/gstelement.h:
5525         Make get/set_clock() symetric. Add provide_clock vmethod since
5526         that is actually what this function does.
5527
5528         * gst/gstpipeline.c: (gst_pipeline_class_init),
5529         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5530         (gst_pipeline_get_clock):
5531         get_clock -> provide_clock.
5532
5533 2005-09-28  Andy Wingo  <wingo@pobox.com>
5534
5535         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5536         lieu of real docs...
5537
5538         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5539
5540 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5541
5542         * gst/elements/gstcapsfilter.c:
5543         * gst/elements/gstfakesink.c:
5544         * gst/elements/gstfakesrc.c:
5545         * gst/elements/gstfdsink.c:
5546         * gst/elements/gstfdsrc.c:
5547         * gst/elements/gstfilesink.c:
5548         * gst/elements/gstfilesrc.c:
5549         * gst/elements/gstidentity.c:
5550         * gst/elements/gsttee.c:
5551         * gst/elements/gsttypefindelement.c:
5552           Make element details static.
5553
5554 2005-09-28  Wim Taymans  <wim@fluendo.com>
5555
5556         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5557         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5558         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5559         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5560         (gst_bin_change_state), (gst_bin_dispose):
5561         Some documentation updates.
5562         Clean up dispose handlers.
5563
5564         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5565         * gst/gstpad.c: (gst_pad_dispose):
5566         Clean up dispose handler.
5567
5568         * gst/gstpipeline.c: (gst_pipeline_change_state):
5569         Removed spurious UNLOCK.
5570
5571 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5572
5573         * docs/gst/gstreamer-sections.txt:
5574         * gst/base/gstbasesrc.h:
5575         * gst/gstelement.h:
5576         * gst/gstevent.h:
5577         * gst/gstobject.h:
5578         * gst/gstpad.h:
5579         * gst/gstpipeline.c:
5580         * gst/gstpipeline.h:
5581         * gst/gstutils.h:
5582         * gst/gstxml.h:
5583           added two new functions to the docs
5584                 documents all undocumented GstXXXFlags
5585                 completed some incomplete docs 
5586
5587 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5588
5589         * gst/gstbin.c: (gst_bin_dispose):
5590         * gst/gstelement.c: (gst_element_dispose):
5591           remove now useless and leaky resurrection code in dispose
5592         * gst/base/gstbasesrc.c: (gst_base_src_init):
5593         * gst/gstelementfactory.c: (gst_element_factory_create):
5594         * gst/gstobject.c: (gst_object_set_parent):
5595           add some debugging
5596
5597 2005-09-27  Wim Taymans  <wim@fluendo.com>
5598
5599         * docs/design/part-TODO.txt:
5600         Update TODO.
5601
5602         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5603         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5604         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5605         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5606         (gst_bin_change_state):
5607         * gst/gstelement.h:
5608         Remove element variable, we keep element info in the iterator now.
5609
5610 2005-09-27  Andy Wingo  <wingo@pobox.com>
5611
5612         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5613         values.
5614
5615 2005-09-27  Wim Taymans  <wim@fluendo.com>
5616
5617         * check/gst/gstbin.c: (GST_START_TEST):
5618         Enable check that works now.
5619
5620         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5621         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5622         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5623         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5624         (gst_bin_change_state):
5625         * gst/gstbin.h:
5626         Redid the state change algorithm using a topological sort algo.
5627         Handles all cases correctly.
5628         Exposed iterator for state change order.
5629
5630         * gst/gstelement.h:
5631         Temp storage for state changes. Need to get rid of this soon.
5632
5633 2005-09-27  Wim Taymans  <wim@fluendo.com>
5634
5635         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5636         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5637         (link_fold_func), (gst_pad_proxy_setcaps):
5638         Leak fixes, the fold functions need to unref the passed object and
5639         _get_parent_*() returns ref to parent.
5640
5641 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5642
5643         * check/gst/gstbuffer.c: (test_make_writable):
5644           Plug leak in test case and fix 'make check-valgrind'
5645
5646 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5647
5648         * gst/gstbuffer.c: (gst_subbuffer_init):
5649           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5650           works correctly in all circumstances (we could have just copied
5651           the parent buffer's readonly flag, but conceptually it seems
5652           cleaner to mark all subbuffers as read-only). (based on patch
5653           by Alessandro Decina, #314710).
5654         
5655         * check/gst/gstbuffer.c: (create_read_only_buffer),
5656         (test_make_writable), (test_subbuffer_make_writable),
5657         (gst_test_suite):
5658           Add some tests for gst_buffer_make_writable().
5659
5660 2005-09-27  Wim Taymans  <wim@fluendo.com>
5661
5662         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5663         use gst_object_has_ancestor().
5664
5665         * gst/gstobject.c: (gst_object_has_ancestor):
5666         * gst/gstobject.h:
5667         gst_object_has_ancestor() copied from gstbin.c as it is a
5668         usefull function.
5669
5670         * tests/instantiate/create.c: (create_all_elements):
5671         * tests/lat.c: (handoff_src), (handoff_sink):
5672         * tests/sched/runxml.c: (main):
5673         * tests/seeking/seeking1.c: (main):
5674         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5675         (main):
5676         Fix compilation of some tests.
5677
5678 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5679
5680         * gst/gsterror.h:
5681           Remove comment. GST_TYPE_G_ERROR is here to stay,
5682           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5683           (#316961, #300610).
5684
5685 2005-09-26  Wim Taymans  <wim@fluendo.com>
5686
5687         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5688         Added check that shows error in state change order.
5689
5690 2005-09-26  Wim Taymans  <wim@fluendo.com>
5691
5692         * gst/gstbin.c: (gst_bin_change_state):
5693         Make state change function use 3 queues again, we were
5694         adding elements in the wrong order.
5695
5696         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5697         Some debug info,
5698
5699         * gst/gstpad.c: (gst_pad_dispose):
5700         Added some debug info first.
5701
5702 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5703
5704         * docs/design/draft-push-pull.txt:
5705         * docs/design/part-events.txt:
5706         * docs/design/part-overview.txt:
5707         * docs/design/part-scheduling.txt:
5708           Replace all _pull_region() with _pull_range()
5709           
5710 2005-09-26  Andy Wingo  <wingo@pobox.com>
5711
5712         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5713
5714         * check/gst-libs/controller.c: Update for controller api change.
5715
5716         * configure.ac: 
5717         * tests/Makefile.am:
5718         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5719         over by GLib bug 118439.
5720         
5721         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5722         routines to a function.
5723
5724         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5725
5726         * libs/gst/controller/gsthelper.c:
5727         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5728         (gst_object_sync_values): Renamed from sink_values. Ugh.
5729
5730         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5731
5732         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5733         Renamed from controller_key, as it is exported.
5734
5735         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5736
5737 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5738
5739         * gst/Makefile.am:
5740         * gst/gst.h:
5741         * gst/gstpad.h:
5742         * gst/gstpadtemplate.h:
5743         * gst/gstquery.c:
5744         * gst/gstquery.h:
5745         * gst/gstqueryutils.c:
5746         * gst/gstqueryutils.h:
5747           remove queryutils headers after moving the two used functions
5748           to gstquery.  also fixes build problem for gstsiddec
5749
5750 2005-09-26  Michael Smith <msmith@fluendo.com>
5751
5752         * tools/gst-launch.1.in:
5753         Correct documentation in manpage of debug syntax
5754
5755 2005-09-26  Wim Taymans  <wim@fluendo.com>
5756
5757         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5758         (gst_base_src_is_seekable), (gst_base_src_change_state):
5759         Some more debugging info.
5760
5761 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5762
5763         * docs/gst/gstreamer-sections.txt:
5764         * gst/base/gstbasetransform.h:
5765         * gst/gstindex.h:
5766           added more docs
5767
5768 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5769
5770         * docs/gst/.cvsignore:
5771         * docs/gst/tmpl/.cvsignore:
5772         * docs/gst/tmpl/gstpipeline.sgml:
5773         * docs/gst/tmpl/gstplugin.sgml:
5774         * gst/gstpipeline.c:
5775         * gst/gstplugin.c:
5776         * gst/gstplugin.h:
5777           inlined the last two docs files
5778           removed the tmpl directory from cvs (no more conflicts here!)
5779
5780 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5781
5782         * docs/gst/gstreamer-sections.txt:
5783         * docs/gst/tmpl/.cvsignore:
5784         * docs/gst/tmpl/gstpad.sgml:
5785         * docs/gst/tmpl/gstpadtemplate.sgml:
5786         * gst/Makefile.am:
5787         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5788         (gst_pad_finalize), (gst_pad_set_pad_template):
5789         * gst/gstpad.h:
5790         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5791         (gst_pad_template_class_init), (gst_pad_template_init),
5792         (gst_pad_template_dispose), (name_is_valid),
5793         (gst_static_pad_template_get), (gst_pad_template_new),
5794         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5795         (gst_pad_template_pad_created):
5796         * gst/gstpadtemplate.h:
5797           inlined two more docs
5798           factored gstpadtemplate out of gstpad
5799
5800 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5801
5802         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5803         (test_children_state_change_order_semi_sink):
5804           Fix test case: we can't rely on a fixed state change order when
5805           going from READY => PAUSED because the sink might commit its 
5806           new state first when the first buffer created by the source 
5807           reaches the sink before the source has finished its change state.
5808           (Test case still fails at times, see #316856, comment 5 onwards)
5809
5810 2005-09-24  Wim Taymans  <wim@fluendo.com>
5811
5812         * docs/design/part-events.txt:
5813         * docs/design/part-gstbus.txt:
5814         * docs/design/part-gstpipeline.txt:
5815         * docs/design/part-messages.txt:
5816         * docs/design/part-overview.txt:
5817         * docs/design/part-segments.txt:
5818         * gst/gstbin.c:
5819         * gst/gstbuffer.c:
5820         * gst/gstclock.c:
5821         * gst/gstelement.c:
5822         * gst/gstevent.c:
5823         * gst/gstfilter.c:
5824         * gst/gstiterator.c:
5825         Various documentation updates.
5826
5827 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5828
5829         * gst/gstclock.h:
5830           Well, that's embarassing.  Luckily we weren't using
5831           GST_CLOCK_DIFF anywhere.
5832
5833 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5834
5835         * common/gtk-doc.mak:
5836           don't fail on building XML, FC4 slave shows a bunch of doc
5837           missing bits that I don't get
5838         * gst/gstpad.c:
5839         * gst/gstpipeline.c:
5840         * gst/gststructure.c:
5841           some doc updates
5842
5843 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5844
5845         * docs/design/part-gstbin.txt:
5846         * docs/design/part-gstbus.txt:
5847         * gst/gstbus.c:
5848           Add blurb about how the bus goes into flushing mode and
5849           drops all messages when its bin goes from READY into NULL 
5850           state.
5851
5852 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5853
5854         * docs/gst/gstreamer-sections.txt:
5855         * gst/gststructure.c: (gst_structure_get_clock_time):
5856         * gst/gststructure.h:
5857           add a method to get a GstClockTime out of a structure
5858
5859 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5860
5861         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5862         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5863           Added test to check state change order in bins (can still be made
5864           to fail here under heavy disk load; bails out with 'Push on pad
5865           fakesink:sink0, but it was not activated in push mode').
5866
5867         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5868           Fix state change order when there is only a semi sink (#316856)
5869
5870         * gst/gstbus.c: (gst_bus_class_init):
5871           Use _class_peek_parent(), not _class_ref(); fix docs to say
5872           'default main context' instead of 'mainloop' where that is
5873           what's meant.
5874
5875         * gst/gstelement.c: (gst_element_commit_state),
5876         (gst_element_set_state):
5877           Fix typos in debug messages
5878
5879 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5880
5881         * docs/README:
5882         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5883         * gst/gstpluginfeature.c:
5884         * gst/gstutils.c:
5885           various doc updates
5886         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5887           change an assert into an error until it gets fixed properly
5888
5889 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5890
5891         * docs/gst/gstreamer-sections.txt:
5892         * docs/gst/tmpl/.cvsignore:
5893         * docs/gst/tmpl/gstelement.sgml:
5894         * docs/gst/tmpl/gstinfo.sgml:
5895         * docs/gst/tmpl/gstobject.sgml:
5896         * gst/gstelement.c:
5897         * gst/gstelement.h:
5898         * gst/gstinfo.c:
5899         * gst/gstinfo.h:
5900         * gst/gstobject.c: (gst_object_class_init):
5901         * gst/gstobject.h:
5902           inlined 3 more biiiig doc files and added some missing docs on the fly
5903
5904 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5905
5906         * check/gst/.cvsignore:
5907         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5908         * gst/gstregistryxml.c: (load_plugin),
5909         (gst_registry_xml_save_plugin):
5910           put back source in registry.  add checks for find_plugin.
5911         * testsuite/states/bin.c: (assert_state), (empty_bin),
5912         (test_adding_one_element), (main):
5913         * testsuite/states/locked.c: (main):
5914           some compile/run fixes
5915
5916 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5917
5918         * check/gst/gstvalue.c: (GST_START_TEST):
5919           fix leaks in the test itself
5920
5921 2005-09-22  Wim Taymans  <wim@fluendo.com>
5922
5923         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5924         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5925         (gst_base_sink_query):
5926         Prepare for more accurate position reporting and query
5927         handling.
5928
5929         * gst/gstelement.c: (gst_element_send_event),
5930         (gst_element_set_state):
5931         Add some comment.
5932
5933 2005-09-22  Wim Taymans  <wim@fluendo.com>
5934
5935         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5936         (gst_query_parse_segment):
5937         * gst/gstquery.h:
5938         More documentation.
5939         Add segment query for future use.
5940
5941 2005-09-22  Wim Taymans  <wim@fluendo.com>
5942
5943         * gst/gstbin.c: (gst_bin_add_func):
5944         Some more debug info.
5945
5946         * gst/gstelement.c: (gst_element_send_event):
5947         Simplify send_event
5948
5949         * gst/gstelement.h:
5950         Don't know how flags got broken.
5951
5952         * gst/gstquery.h:
5953         Added new query.
5954
5955 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5956
5957         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5958           Add simplistic test suite for GST_TYPE_DATE serialisation and
5959           deserialisation.
5960
5961 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5962
5963         * docs/gst/gstreamer-sections.txt:
5964         * gst/gststructure.c: (gst_structure_set_valist),
5965         (gst_structure_get_date):
5966         * gst/gststructure.h:
5967         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5968         (gst_date_copy), (gst_value_compare_date),
5969         (gst_value_serialize_date), (gst_value_deserialize_date),
5970         (gst_value_transform_date_string),
5971         (gst_value_transform_string_date), (_gst_value_initialize):
5972         * gst/gstvalue.h:
5973           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5974           bunch of utility functions along with a hack that checks that
5975           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5976           is required. Part of the grand scheme in #170777.
5977
5978 2005-09-22  Andy Wingo  <wingo@pobox.com>
5979
5980         * gst/gstconfig.h.in: Psych out gtk-doc.
5981
5982         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5983
5984         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5985
5986         * tools/gst-inspect.c (print_element_list): Plug some
5987         inconsequential leaks.
5988
5989         * gst/gstregistry.c (gst_registry_get_default): Doc.
5990
5991         * check/gst/gstplugin.c: 
5992         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5993         * gst/gstelementfactory.c (gst_element_factory_create): 
5994         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5995         refcount changes.
5996
5997         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5998         (gst_plugin_feature_load): Doc, don't eat refs.
5999
6000         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6001         (gst_plugin_list_free): Doc.
6002         (gst_plugin_load_file): Doc updates.
6003
6004         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6005         accessors returning refcounted objects, return a ref.
6006
6007         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6008         accessor for caps. IDEMPOTENCE. Oh yes.
6009
6010 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
6011
6012         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6013
6014         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6015         (_gst_debug_register_funcptr):
6016           Add mutex to serialise access to the hash table with
6017           the function pointer => function name string mapping;
6018           make that hash table static scope (#316809).
6019
6020         * gst/registries/.cvsignore:
6021           Remove left-over file.
6022
6023 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6024
6025         * docs/pwg/appendix-porting.xml:
6026           And something about newsegment events and caps-on-buffers to
6027           the porting guide (feel free to improve).
6028
6029 2005-09-21  Andy Wingo  <wingo@pobox.com>
6030
6031         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6032         data and event probes on the same pad.
6033         (test_buffer_probe_once): Test that removing probes from within
6034         the probe functions works.
6035
6036 2005-09-21  Andy Wingo  <wingo@pobox.com>
6037
6038         * check/gst/gstutils.c: New file.
6039         (test_buffer_probe_n_times): A simple buffer probe test. More to
6040         come, foolios.
6041
6042         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6043         have-data::buffer, not have-data.
6044         (gst_pad_add_event_probe): Likewise for have-data::event.
6045         (gst_pad_add_data_probe): More docs. The part about 'resolving the
6046         peer' isn't quite right yet though.
6047         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
6048         (gst_pad_remove_data_probe): Change to take the guint handler_id
6049         as their arg, not the function+data, which is more glib-like.
6050
6051         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6052         the signal emission to indicate if the data is a buffer or an
6053         event.
6054         (gst_pad_get_type): Initialize buffer and event quarks.
6055         (gst_pad_class_init): have-data is now a detailed signal, yes it
6056         is.
6057
6058 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6059
6060         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6061         * gst/gstutils.c: (gst_util_set_value_from_string),
6062         (gst_util_set_object_arg):
6063           Don't put functional code in g_return_if_fail() or
6064           g_return_val_if_fail() statements, otherwise things will 
6065           break when G_DISABLE_CHECKS is defined during compilation.
6066
6067 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6068
6069         * docs/gst/tmpl/.cvsignore:
6070         * docs/gst/tmpl/gstvalue.sgml:
6071         * gst/gstvalue.c:
6072         * gst/gstvalue.h:
6073           inlied another one and added  some obvious docs
6074
6075 2005-09-21  Wim Taymans  <wim@fluendo.com>
6076
6077         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6078         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6079         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6080         (gst_fdsrc_get_property), (gst_fdsrc_create):
6081         * gst/elements/gstfdsrc.h:
6082         Properly implement fdsrc. Removed signal and timeout,
6083         better implemented somewhere else.
6084
6085 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6086
6087         * docs/gst/tmpl/.cvsignore:
6088         * docs/gst/tmpl/gstimplementsinterface.sgml:
6089         * gst/gstinterface.c:
6090           inlined more docs
6091
6092 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6093
6094         * docs/gst/gstreamer-sections.txt:
6095         * docs/gst/tmpl/.cvsignore:
6096         * docs/gst/tmpl/gstenumtypes.sgml:
6097           remove obsolete doc file
6098
6099 2005-09-21  David Schleef  <ds@schleef.org>
6100
6101         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6102         little beer, fix a little leak.
6103
6104 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6105
6106         * docs/gst/gstreamer-docs.sgml:
6107         * docs/gst/gstreamer-sections.txt:
6108         * docs/gst/tmpl/.cvsignore:
6109         * gst/Makefile.am:
6110         * gst/gst.h:
6111         * gst/gstbin.c:
6112         * gst/gstelement.h:
6113         * gst/gstindex.c: (gst_index_class_init):
6114         * gst/gstindex.h:
6115         * gst/gstindexfactory.c: (gst_index_factory_get_type),
6116         (gst_index_factory_class_init), (gst_index_factory_init),
6117         (gst_index_factory_finalize), (gst_index_factory_new),
6118         (gst_index_factory_destroy), (gst_index_factory_find),
6119         (gst_index_factory_create), (gst_index_factory_make):
6120         * gst/gstindexfactory.h:
6121         * gst/gstpluginfeature.c:
6122         * gst/gstpluginfeature.h:
6123         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6124           more docs inlined, splitted gstindex.{c,h}
6125
6126 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6127
6128         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6129           fix a leak
6130
6131 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6132
6133         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6134           Set sync to FALSE by default.
6135
6136 2005-09-20  Wim Taymans  <wim@fluendo.com>
6137
6138         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6139         (gst_base_sink_init):
6140         Make sync property settable from subclass.
6141
6142         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6143         (gst_fake_sink_change_state):
6144         Set sync to FALSE by default.
6145
6146 2005-09-20  Wim Taymans  <wim@fluendo.com>
6147
6148         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6149         * tools/gst-launch.c: (main):
6150         The timeout handler should have lower priority than the source
6151         so we don't timeout before popping a message with 0 timeout.
6152         Dump error messages after failed state change.
6153
6154 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6155
6156         * tools/gst-inspect.c: (print_element_properties_info):
6157           Fix two typos.
6158
6159 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6160
6161         * check/gst/gstevent.c:
6162         * gst/elements/gstfakesink.c:
6163         * gst/elements/gstfakesink.h:
6164           remove the sync property from fakesink.
6165           has the side effect of setting sync TRUE
6166           for fakesink, which is a change.  Anyone who knows how
6167           to fix this nicely in a GObject-y way, feel free.
6168
6169 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6170
6171         * docs/gst/gstreamer-docs.sgml:
6172           remove probe refsection
6173
6174 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6175
6176         * check/Makefile.am:
6177           disable valgrinding the controller test again
6178         * docs/gst/gstreamer-sections.txt:
6179           update for api-changes
6180
6181 2005-09-20  Wim Taymans  <wim@fluendo.com>
6182
6183         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6184         (gst_base_sink_set_property), (gst_base_sink_get_property),
6185         (gst_base_sink_do_sync):
6186         * gst/base/gstbasesink.h:
6187         Added sync property to basesink to disable clock sync.
6188
6189 2005-09-20  Andy Wingo  <wingo@pobox.com>
6190
6191         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6192         eating the caller's refcount.
6193
6194         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6195         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6196         refcount.
6197
6198         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6199         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6200         of GLib 2.8 public, so we can know which refcount to check in
6201         tests.
6202
6203         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6204         (gst_object_init): Only set the gst refcount if we're going ahead
6205         with the refcount hack.
6206
6207 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6208
6209         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6210         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6211           more leaks plumbed, added more debug-logging
6212         * gst/gstmacros.h:
6213           whitespace fix
6214
6215 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6216
6217         * gst/gstmessage.c:
6218           remove include of gstmemchunk.h
6219
6220 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6221
6222         * gst/gstclock.c: (_gst_clock_id_free):
6223           Commit from the Political Party For More Atomic CVS Commits,
6224           so that people don't waste too much of their day fishing
6225           out obvious leaks out of massive commits.
6226           Oh, and fix a pretty damn obvious leak in the memchunk
6227           removal code.
6228
6229 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6230
6231         * check/Makefile.am:
6232         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6233           plug mem-leak, re-add to valgrindable tests
6234
6235 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6236
6237         * gst/gstplugin.h:
6238           unbreak the build for those who have chronic arthritis
6239           and typing "make check" is just too taxing on the hands
6240
6241 2005-09-20  Andy Wingo  <wingo@pobox.com>
6242
6243         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6244         really want it out, you should fix plugins at the same time.
6245
6246 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6247
6248         * configure.ac:
6249         * docs/gst/gstreamer-sections.txt:
6250         * gst/gstobject.c:
6251           added missing symbols to api docs
6252           disable ref-count hack if we have glib >= 2.8
6253
6254 2005-09-19  David Schleef  <ds@schleef.org>
6255
6256         * docs/gst/Makefile.am: Ignore a few more internal headers
6257         * docs/gst/gstreamer-docs.sgml: Remove old sections
6258         * docs/gst/gstreamer-sections.txt: Remove old sections
6259         * docs/gst/tmpl/gstobject.sgml: update
6260         * docs/gst/tmpl/gstplugin.sgml: update
6261         * docs/gst/tmpl/gstpluginfeature.sgml: update
6262         * docs/random/ds/0.9-suggested-changes: update.
6263         * gst/Makefile.am: remove memchunk and trashstack, since they're
6264           not used.
6265         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6266         * gst/gst.h: don't include some headers
6267         * gst/gstchildproxy.c: add gstmarshal.h
6268         * gst/gstclock.c: Don't use memchunks
6269         * gst/gstminiobject.c: Add some docs
6270         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6271         * gst/gstobject.h: same
6272         * gst/gstplugin.c: include gstmacros.h
6273         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6274         * gst/gstquery.c: don't use memchunks
6275         * gst/gstregistry.c: rename gst_registry_deinit()
6276         * gst/gstregistry.h: same
6277
6278 2005-09-19  David Schleef  <ds@schleef.org>
6279
6280         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6281         * docs/libs/gstreamer-libs-sections.txt:
6282         * docs/libs/tmpl/gstgetbits.sgml:
6283         * docs/libs/tmpl/gstputbits.sgml:
6284
6285 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6286
6287         * win32/gstenumtypes.c:
6288         * win32/gstenumtypes.h:
6289           Update.
6290
6291 2005-09-19  Wim Taymans  <wim@fluendo.com>
6292
6293         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6294         Automatically PAUSE and RESUME a pipeline when a flushing seek
6295         is performed.
6296
6297 2005-09-19  Andy Wingo  <wingo@pobox.com>
6298
6299         * gst/gstregistry.h: Spacing fixen.
6300
6301 2005-09-19  Wim Taymans  <wim@fluendo.com>
6302
6303         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6304         Handle state change failure more correctly.
6305
6306 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6307
6308         * check/Makefile.am:
6309         * check/pipelines/cleanup.c: (run_pipeline):
6310         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6311         (GST_START_TEST):
6312           enable cleanup again after fixing the leak
6313         * docs/README:
6314           some more info on docs
6315
6316 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6317
6318         * check/Makefile.am:
6319           re-enable tests now that leaks are plugged
6320         * check/gst/gst.c:
6321         * check/gst/gstbin.c:
6322         * check/gst/gstpipeline.c:
6323           add some more tests while fixing leaks
6324         * common/check.mak:
6325           make sure binaries are uptodate when valgrinding/gdbing
6326         * gst/gst.c:
6327         * gst/gstelementfactory.c:
6328           remove a ref too many, and add a FIXME for when we get
6329           round to disposing of classes
6330         * gst/gstplugin.c:
6331           fix the refcounting when loading a plugin from a file and
6332           the code pretends that the pointer is the same even though
6333           of course it can change
6334         * gst/gstpluginfeature.c:
6335           unref plugins marked cached (a bit confusing as a name)
6336           as the docs state should be done
6337           various doc additions to explain refcounting
6338         * gst/gstregistry.c:
6339         * gst/gstregistryxml.c:
6340           debugging
6341
6342 2005-09-19  Wim Taymans  <wim@fluendo.com>
6343
6344         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6345         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6346         (send_messages), (GST_START_TEST), (gstbus_suite):
6347         * check/gst/gstpipeline.c: (GST_START_TEST):
6348         * check/pipelines/cleanup.c: (run_pipeline):
6349         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6350         (GST_START_TEST):
6351         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6352         (gst_bus_source_check), (gst_bus_source_dispatch),
6353         (gst_bus_create_watch), (gst_bus_add_watch_full),
6354         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6355         * gst/gstbus.h:
6356         * tools/gst-launch.c: (event_loop):
6357         * tools/gst-md5sum.c: (event_loop):
6358         GstBusHandler -> GstBusFunc, return value has the same meaning as
6359         any other GSource (FALSE == remove source).
6360         _add_watch() and _add_watch_full() now take a MessageType mask to
6361         only handle specific types of messages.
6362         _poll() returns the GstMessage instead of the message type to avoid
6363         race conditions.
6364         _have_pending() takes a MessageType mask now too.
6365         Added testsuite for multiple bus watches.
6366         Fix testsuites and applications for new bus API.
6367
6368 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6369
6370         * check/Makefile.am:
6371           mark a bunch of the tests as to fix until we fix them
6372
6373 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6374
6375         * common/check.mak:
6376           use GST_PLUGIN settings for valgrind tests as well, so we're
6377           valgrinding the correct thing
6378         * gst/gst.c: (init_post):
6379           plug another leak
6380
6381 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6382
6383         * gst/gst.c: (init_post), (gst_deinit):
6384         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6385         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6386         * gst/gstindex.c: (gst_index_factory_class_init),
6387         (gst_index_factory_finalize):
6388         * gst/gstobject.c: (gst_object_dispose):
6389         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6390         (gst_plugin_load_file), (gst_plugin_desc_free):
6391         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6392         (gst_plugin_feature_finalize):
6393         * gst/gstregistry.c: (gst_registry_class_init),
6394         (gst_registry_init), (gst_registry_finalize),
6395         (gst_registry_get_default), (gst_registry_deinit):
6396         * gst/gstregistry.h:
6397         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6398           various cleanups and memleak plugging.  make valgrind is happy now.
6399
6400 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6401
6402         * common/check.mak:
6403           add a check-valgrind target
6404
6405 2005-09-18  David Schleef  <ds@schleef.org>
6406
6407         * tools/gst-inspect.c: Revert the GOption code.
6408
6409 2005-09-17  David Schleef  <ds@schleef.org>
6410
6411         * check/Makefile.am: Fix environment variables.
6412         * check/gst/gstplugin.c: Fix for API changes.
6413         * tools/gst-inspect.c: Fix for API changes.
6414         * tools/gst-xmlinspect.c: Fix for API changes.
6415         * gst/gstelementfactory.c:
6416         * gst/gstplugin.c:
6417         * gst/gstplugin.h:
6418         * gst/gstpluginfeature.c:
6419         * gst/gstpluginfeature.h:
6420         * gst/gstregistry.c:
6421         * gst/gstregistry.h:
6422         * gst/gstregistryxml.c:
6423         * gst/gsttypefind.c:
6424         * gst/gsttypefindfactory.c:
6425         * gst/indexers/gstfileindex.c:
6426         * gst/indexers/gstmemindex.c:
6427         * gst/schedulers/Makefile.am:
6428           Change registry to keep track of both plugins and features,
6429           removing the feature tracking from plugins themselves.
6430
6431 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6432
6433         * check/Makefile.am:
6434         * tools/gst-register.1.in:
6435           remove gst-register
6436
6437 2005-09-15  David Schleef  <ds@schleef.org>
6438
6439         * check/gst/gstplugin.c:
6440         * gst/gstelementfactory.c:
6441         * gst/gstplugin.c:
6442         * gst/gstpluginfeature.c:
6443         * gst/gstregistry.c:
6444           Getting tired of debugging.  Disabled all the unreffing of
6445           plugins and features, which fixes the segfaults, but of
6446           course leaks like crazy.  At least playbin works.
6447
6448 2005-09-15  David Schleef  <ds@schleef.org>
6449
6450         * check/gst/gstplugin.c: (register_check_elements),
6451         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6452         More testing
6453         * gst/elements/gsttypefindelement.c: Fix refcounting.
6454         * gst/gsttypefind.c:
6455         * gst/gsttypefindfactory.c:
6456         * gst/gsttypefindfactory.h:
6457
6458 2005-09-15  David Schleef  <ds@schleef.org>
6459
6460         * gst/gstindex.c: get refcounting correct.
6461         * gst/gstregistry.c: Handle the case where a feature/plugin is
6462           not found.
6463
6464 2005-09-15  David Schleef  <ds@schleef.org>
6465
6466         * check/Makefile.am:
6467         * check/gst/gstplugin.c: Add test
6468         * gst/gstplugin.c: Fix problems noticed by testsuite
6469         * gst/gstplugin.h:
6470         * gst/gstregistry.c: 
6471         * gst/gstregistry.h:
6472
6473 2005-09-15  David Schleef  <ds@schleef.org>
6474
6475         * gst/gstplugin.c: Implement semi-decent recounting and locking
6476           in plugins and plugin features.
6477         * gst/gstplugin.h:
6478         * gst/gstpluginfeature.c:
6479         * gst/gstpluginfeature.h:
6480         * gst/gstregistry.c:
6481
6482 2005-09-15  Michael Smith <msmith@fluendo.com>
6483
6484         * gst/gstregistry.c: (gst_registry_get_feature_list):
6485           Implement this. Makes oggdemux work; decodebin still broken.
6486
6487 2005-09-14  David Schleef  <ds@schleef.org>
6488
6489         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6490           #316076)
6491         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6492         * gst/check/Makefile.am:
6493         * libs/gst/controller/Makefile.am:
6494         * libs/gst/dataprotocol/Makefile.am:
6495
6496 2005-09-14  David Schleef  <ds@schleef.org>
6497
6498         * configure.ac: Remove getbits library.  Nothing uses it, and
6499           it should be in something like liboil if someone did want
6500           to use it.
6501         * libs/gst/Makefile.am:
6502         * libs/gst/getbits/Makefile.am:
6503         * libs/gst/getbits/gbtest.c:
6504         * libs/gst/getbits/getbits.c:
6505         * libs/gst/getbits/getbits.h:
6506         * libs/gst/getbits/gstgetbits_generic.c:
6507         * libs/gst/getbits/gstgetbits_i386.s:
6508         * libs/gst/getbits/gstgetbits_inl.h:
6509
6510 2005-09-14  David Schleef  <ds@schleef.org>
6511
6512         * gst/Makefile.am: Dist glib-compat.h
6513
6514 2005-09-14  David Schleef  <ds@schleef.org>
6515
6516         * configure.ac: Remove gst/registries, since it's no longer used.
6517         * gst/registries/Makefile.am:
6518         * gst/registries/gstlibxmlregistry.c:
6519         * gst/registries/gstlibxmlregistry.h:
6520         * gst/registries/gstxmlregistry.c:
6521         * gst/registries/gstxmlregistry.h:
6522         * gst/registries/registrytest.c:
6523
6524 2005-09-14  David Schleef  <ds@schleef.org>
6525
6526         * gst/glib-compat.h:
6527         * gst/gstregistryxml.c:
6528           Convergence is near.  Seriously.
6529
6530 2005-09-14  David Schleef  <ds@schleef.org>
6531
6532         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6533         * gst/glib-compat.h:
6534           Attempt #4 to appease the buildbots.
6535
6536 2005-09-14  David Schleef  <ds@schleef.org>
6537
6538         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6539           Attempt #3.
6540
6541 2005-09-14  David Schleef  <ds@schleef.org>
6542
6543         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6544         Attempt #2.
6545
6546 2005-09-14  David Schleef  <ds@schleef.org>
6547
6548         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6549           the new functions.
6550
6551 2005-09-14  David Schleef  <ds@schleef.org>
6552
6553         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6554         * gst/glib-compat.h: Add some functions that are in newer versions
6555           of glib than we care to require.
6556         * gst/gstregistryxml.c: Use them.
6557
6558 2005-09-14  David Schleef  <ds@schleef.org>
6559
6560         * po/POTFILES.in: remove gst-register.c
6561
6562 2005-09-14  David Schleef  <ds@schleef.org>
6563
6564         * docs/gst/gstreamer-docs.sgml:
6565         * docs/gst/gstreamer-sections.txt:
6566         * docs/gst/gstreamer.types:
6567         * docs/gst/tmpl/gstelement.sgml:
6568         * docs/gst/tmpl/gstplugin.sgml:
6569         * docs/gst/tmpl/gstpluginfeature.sgml:
6570           Documentation updates for registry changes.
6571
6572 2005-09-14  David Schleef  <ds@schleef.org>
6573
6574         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6575           because we don't require glib-2.8.
6576
6577 2005-09-14  David Schleef  <ds@schleef.org>
6578
6579         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6580           registries directory.
6581
6582 2005-09-14  David Schleef  <ds@schleef.org>
6583
6584         * check/Makefile.am:
6585         * check/generic/states.c:
6586         * gst/Makefile.am:
6587         * gst/gst.c:
6588         * gst/gst.h:
6589         * gst/gst_private.h:
6590         * gst/gstelementfactory.c:
6591         * gst/gstindex.c:
6592         * gst/gstinfo.c:
6593         * gst/gstplugin.c:
6594         * gst/gstplugin.h:
6595         * gst/gstpluginfeature.c:
6596         * gst/gstpluginfeature.h:
6597         * gst/gstregistry.c:
6598         * gst/gstregistry.h:
6599         * gst/gstregistrypool.c: remove
6600         * gst/gstregistrypool.h: remove
6601         * gst/gsttypefind.c:
6602         * gst/gsttypefindfactory.c:
6603         * gst/gsturi.c:
6604         * tools/Makefile.am:
6605         * tools/gst-compprep.c:
6606         * tools/gst-inspect.c:
6607         * tools/gst-register.c: remove
6608         * tools/gst-xmlinspect.c:
6609           Registry rewrite.  Changes registry from being a file created
6610           by a tool into a simple cache file created automatically by 
6611           libgstreamer.  Removed gst-register (because it's no longer
6612           needed).  Remove registry pools, because we only have one
6613           registry implementation (XML).  Fix up other subsystems as
6614           necessary.
6615
6616 2005-09-13  Michael Smith <msmith@fluendo.com>
6617
6618         * gst/gstconfig.h.in:
6619           Don't Use windows linking attributes for MinGW. Fixes #316157
6620
6621 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6622
6623         * gst/gstutils.c: (set_state_async_thread_func),
6624         (gst_element_set_state_async):
6625           Apparently people think it's better if this function doesn't
6626           try to set the state to whatever state was asked for on the first
6627           call to this function for any object.  Seriously.
6628
6629 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6630
6631         * check/gst/gstpipeline.c: (GST_START_TEST):
6632         * docs/gst/gstreamer-sections.txt:
6633         * gst/gstutils.c: (set_state_async_thread_func),
6634         (gst_element_set_state_async):
6635         * gst/gstutils.h:
6636           add a "gst_element_set_state_async" method that
6637           sets the state and starts a thread to make sure the state
6638           change completes as best as it can
6639
6640 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6641
6642         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6643           codify design+behaviour in testsuite after discussion
6644
6645 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6646
6647         * docs/gst/tmpl/gstelement.sgml:
6648         * docs/manual/appendix-quotes.xml:
6649           add a quote
6650         * gst/gstelement.c: (gst_element_set_state):
6651           add some debug
6652
6653 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6654
6655         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6656         (gst_base_transform_prepare_output_buf),
6657         (gst_base_transform_handle_buffer):
6658         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6659         (gst_capsfilter_prepare_buf):
6660           Remove the requirement for sub-classes to call the parent
6661           implementation of prepare_output_buffer with a wrapper function.
6662           
6663         * gst/gsttaglist.h:
6664         * gst/gsttagsetter.h:
6665           Fix #define wrapper
6666
6667 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6668
6669         * docs/gst/gstreamer-sections.txt:
6670           more doc cleanups
6671
6672 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6673
6674         * docs/gst/gstreamer-sections.txt:
6675         * docs/gst/tmpl/gstelement.sgml:
6676         * docs/gst/tmpl/gstplugin.sgml:
6677         * gst/gstminiobject.c:
6678         * gst/gstvalue.h:
6679           docs now stop throwing warnings
6680
6681 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6682
6683         * docs/gst/gstreamer-sections.txt:
6684         * docs/gst/gstreamer.types:
6685         * docs/gst/tmpl/gstpad.sgml:
6686         * docs/gst/tmpl/gsttypes.sgml:
6687         * gst/base/gstadapter.h:
6688         * gst/base/gstbasesink.h:
6689         * gst/base/gstbasesrc.h:
6690         * gst/gstbin.h:
6691         * gst/gstbuffer.h:
6692         * gst/gstbus.h:
6693         * gst/gstcaps.h:
6694         * gst/gstclock.h:
6695         * gst/gstelement.h:
6696         * gst/gstevent.h:
6697         * gst/gstmessage.h:
6698         * gst/gstpad.h:
6699         * gst/gststructure.c:
6700         * gst/registries/gstlibxmlregistry.h:
6701           various documentation fixes
6702
6703 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6704
6705         * docs/gst/gstreamer-sections.txt:
6706         * docs/gst/tmpl/gstvalue.sgml:
6707           rearrange gstvalue section
6708         * gst/gstutils.c: (gst_element_state_get_name):
6709           NONE -> VOID
6710         * gst/gstvalue.c: (_gst_value_initialize):
6711         * gst/gstvalue.h:
6712           doc updates
6713
6714 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6715
6716         * check/gst-libs/controller.c:
6717           Header include fix.
6718         * gst/base/gstbasetransform.c:
6719         (gst_base_transform_default_prepare_buf),
6720         (gst_base_transform_handle_buffer):
6721         * gst/base/gstbasetransform.h:
6722           Some more basetransform changes and fixes to enable sub-classes
6723           that modify buffer metadata only.
6724         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6725         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6726         (gst_capsfilter_prepare_buf):
6727           If the output pad has fixed allowed caps and input buffers 
6728           don't have any, set the fixed caps on outgoing buffers.
6729
6730 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6731         * check/elements/identity.c: (GST_START_TEST):
6732           Make the error a little clearer when the test fails because
6733           identity made a copy of the buffer.
6734         * docs/gst/gstreamer-sections.txt:
6735           New symbols in gstbasetransform.h
6736         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6737         (gst_base_transform_init), (gst_base_transform_transform_size),
6738         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6739         (gst_base_transform_default_prepare_buf),
6740         (gst_base_transform_get_unit_size),
6741         (gst_base_transform_buffer_alloc),
6742         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6743         (gst_base_transform_change_state),
6744         (gst_base_transform_set_passthrough),
6745         (gst_base_transform_set_in_place),
6746         (gst_base_transform_is_in_place):
6747         * gst/base/gstbasetransform.h:
6748           Change BaseTransform to separate in_place operate from same_caps
6749           output. in_place implies that the element can perform the transform
6750           on incoming buffers in-place, even if the caps on the output are
6751           different.
6752           Sub-class elements can now implement special buffer allocation
6753           methods for outgoing buffers if they wish to.
6754           Big documentation addition.
6755         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6756         * gst/elements/gstelements.c:
6757           Changes for basetransform modifications.
6758         * gst/elements/Makefile.am:
6759         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6760           Compile fix. Extra debug output.
6761
6762 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6763
6764         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6765         (gst_pad_suite):
6766           add tests for valid pad naming
6767         * gst/check/gstcheck.c: (gst_check_log_message_func),
6768         (gst_check_log_critical_func):
6769           add ASSERT_WARNING
6770           remove printing of code, it is fragile when the code contains
6771           % and the line number is enough info
6772         * gst/check/gstcheck.h:
6773         * gst/gstpad.c: (gst_pad_template_new):
6774           fix memleaks
6775
6776 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6777
6778         * configure.ac:
6779           say what CHECK flags we use
6780         * docs/libs/gstreamer-libs.types:
6781         * libs/gst/controller/Makefile.am:
6782         * libs/gst/controller/gst-controller.c:
6783         * libs/gst/controller/gst-controller.h:
6784         * libs/gst/controller/gst-helper.c:
6785         * libs/gst/controller/gst-interpolation.c:
6786         * libs/gst/controller/gstcontroller.c:
6787         * libs/gst/controller/gsthelper.c:
6788         * libs/gst/controller/gstinterpolation.c:
6789         * tools/gst-inspect.c: (print_plugin_info):
6790           we don't use dashes in header names
6791
6792 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6793
6794         * check/Makefile.am:
6795         * check/gst/.cvsignore:
6796         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6797         (gst_pipeline_suite), (main):
6798           adding a test for pipelines and state changes
6799         * gst/gstutils.c: (get_state_func):
6800           add some debugging
6801         * gstreamer.spec.in:
6802           fix up spec file
6803
6804 2005-09-08  Michael Smith <msmith@fluendo.com>
6805
6806         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6807         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6808         (gst_file_src_is_seekable), (gst_file_src_get_size),
6809         (gst_file_src_start):
6810         * gst/elements/gstfilesrc.h:
6811           Various fixes for unseekable, unmmapable, and non-normal files, so
6812           that fallback to read() rather than mmap() works.
6813         * gst/gstevent.c: (gst_event_new_newsegment):
6814           Allow newsegment events with segment_start == segment_end, as will
6815           correctly happen if you use filesrc on a zero-size file, for
6816           example.
6817
6818 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6819
6820         * gst/gstplugin.c: (gst_plugin_load_file):
6821           Call g_module_close when we don't load the module
6822
6823         * gst/registries/gstlibxmlregistry.c:
6824         (gst_xml_registry_get_property):
6825           Port leak fix from 0.8
6826
6827 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6828
6829         * docs/gst/gstreamer-docs.sgml:
6830         * docs/gst/tmpl/.cvsignore:
6831         * docs/gst/tmpl/gsttrace.sgml:
6832         * docs/gst/tmpl/gsttrashstack.sgml:
6833         * gst/Makefile.am:
6834         * gst/gst.h:
6835         * gst/gstelement.h:
6836         * gst/gstevent.h:
6837         * gst/gstmessage.c:
6838         * gst/gstmessage.h:
6839         * gst/gsttag.c:
6840         * gst/gsttag.h:
6841         * gst/gsttaginterface.c:
6842         * gst/gsttaginterface.h:
6843         * gst/gsttaglist.c:
6844         * gst/gsttaglist.h:
6845         * gst/gsttagsetter.c:
6846         * gst/gsttagsetter.h:
6847         * gst/gsttrace.c:
6848         * gst/gsttrace.h:
6849         * gst/gsttrashstack.c:
6850           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6851           inlined docs for gsttrace, gsttrashstack
6852
6853 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6854
6855         * gst/Makefile.am:
6856         * gst/elements/gstbufferstore.h:
6857         * gst/elements/gsttypefindelement.c:
6858         * gst/elements/gsttypefindelement.h:
6859         * gst/gst.h:
6860         * gst/gsttypefind.c:
6861         * gst/gsttypefind.h:
6862         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6863         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6864         (gst_type_find_factory_dispose),
6865         (gst_type_find_factory_unload_thyself),
6866         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6867         (gst_type_find_factory_get_caps),
6868         (gst_type_find_factory_get_extensions),
6869         (gst_type_find_factory_call_function):
6870         * gst/gsttypefindfactory.h:
6871         * gst/registries/gstlibxmlregistry.c:
6872         * gst/registries/gstxmlregistry.c:
6873           splitted gsttypefind into gsttypefind, gsttypefindfactory
6874
6875 2005-09-07  Andy Wingo  <wingo@pobox.com>
6876
6877         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6878         condition whereby the pad's task function is entered before the
6879         pad_mode variable was set.
6880
6881 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6882
6883         * gst/gstpad.c: (gst_pad_alloc_buffer):
6884           Catch misbehaving pad_alloc functions that don't
6885           set up caps and do it for them.
6886
6887 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6888
6889         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6890           test for pipe!=NULL
6891         * docs/gst/tmpl/.cvsignore:
6892         * docs/gst/tmpl/gstmemchunk.sgml:
6893         * docs/gst/tmpl/gstparse.sgml:
6894         * docs/gst/tmpl/gsttaglist.sgml:
6895         * docs/gst/tmpl/gsttagsetter.sgml:
6896         * docs/gst/tmpl/gsttypefind.sgml:
6897         * docs/gst/tmpl/gsttypefindfactory.sgml:
6898         * gst/gstmemchunk.c:
6899         * gst/gstparse.c:
6900         * gst/gsttag.c:
6901         * gst/gsttaginterface.c:
6902         * gst/gsttypefind.c:
6903         * gst/gsttypefind.h:
6904           inlined more docs
6905
6906 === release 0.9.2 ===
6907
6908 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6909
6910         * NEWS:
6911         * RELEASE:
6912         * configure.ac:
6913           releasing 0.9.2, "South"
6914
6915 2005-09-05  Andy Wingo  <wingo@pobox.com>
6916
6917         * gst/registries/gstxmlregistry.h:
6918         * gst/registries/gstxmlregistry.c: Um... resurrect...
6919         
6920         * gst/registries/gstxmlregistry.h:
6921         * gst/registries/gstxmlregistry.c: and update to newer API.
6922         Incidentally they should be a bit faster now that they don't have
6923         to parse the caps.
6924         
6925 2005-09-05  Andy Wingo  <wingo@pobox.com>
6926
6927         * gst/registries/gstxmlregistry.h:
6928         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6929         replaced by the libxml registry a while back
6930
6931 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6932
6933         * docs/gst/tmpl/gstplugin.sgml:
6934         * gst/elements/gstelements.c:
6935         * gst/gst.c:
6936         * gst/gstplugin.c: (gst_plugin_register_func),
6937         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6938         (gst_plugin_get_source):
6939         * gst/gstplugin.h:
6940         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6941         (gst_xml_registry_save_plugin):
6942         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6943         (gst_xml_registry_save_plugin):
6944         * tools/gst-inspect.c: (print_plugin_info):
6945           add a "source" plugin description field, to represent the source
6946           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6947           will set it to PACKAGE, which is automake's idea of the name of
6948           the source project.
6949
6950 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6951
6952         * Makefile.am:
6953         * autogen.sh:
6954         * configure.ac:
6955         * docs/Makefile.am:
6956         * docs/faq/Makefile.am:
6957         * docs/gst/tmpl/gstelement.sgml:
6958         * docs/gst/tmpl/gsttypes.sgml:
6959         * docs/htmlinstall.mak:
6960         * docs/manual/Makefile.am:
6961         * docs/pwg/Makefile.am:
6962           reorganize doc build a little
6963           split out docbook and gtk-doc stuff
6964           have two separate --enable's and enable them through autogen
6965           but disable by default in configure (to be similar to other
6966           projects)
6967         * gstreamer.spec.in:
6968           clean up docs install
6969         * po/af.po:
6970         * po/az.po:
6971         * po/ca.po:
6972         * po/cs.po:
6973         * po/de.po:
6974         * po/en_GB.po:
6975         * po/fr.po:
6976         * po/it.po:
6977         * po/nb.po:
6978         * po/nl.po:
6979         * po/ru.po:
6980         * po/sq.po:
6981         * po/sr.po:
6982         * po/sv.po:
6983         * po/tr.po:
6984         * po/uk.po:
6985         * po/vi.po:
6986           translation updates
6987
6988 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6989
6990         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6991           Add comment.
6992           
6993         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6994         (gst_fake_sink_change_state):
6995           Make state change function thread-safe.
6996           
6997         * gst/gstpad.c: (gst_pad_alloc_buffer):
6998           Set offset on generic buffer allocated by fallback.
6999
7000 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
7001
7002         * docs/gst/gstreamer-sections.txt:
7003         * docs/gst/tmpl/gstelement.sgml:
7004         * gst/gstpad.c:
7005         * libs/gst/controller/gst-controller.c:
7006         (gst_controlled_property_set_interpolation_mode),
7007         (gst_controlled_property_new),
7008         (gst_controller_find_controlled_property):
7009          run the wingo-magic script against the docs
7010
7011 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7012
7013         * docs/gst/gstreamer-docs.sgml:
7014         * docs/gst/gstreamer-sections.txt:
7015         * docs/gst/tmpl/.cvsignore:
7016         * docs/gst/tmpl/gstelementdetails.sgml:
7017         * docs/gst/tmpl/gstelementfactory.sgml:
7018         * gst/gst.c:
7019         * gst/gstbus.c:
7020         * gst/gstelementfactory.c:
7021         * gst/gstelementfactory.h:
7022           merged elementdetails docs into elementfactory docs
7023           inlined both
7024
7025 2005-09-02  Andy Wingo  <wingo@pobox.com>
7026
7027         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7028         consider this enum an enum and not a flags.
7029
7030 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7031
7032         * docs/gst/gstreamer-docs.sgml:
7033         * docs/gst/tmpl/.cvsignore:
7034         * docs/gst/tmpl/gstghostpad.sgml:
7035         * docs/gst/tmpl/gstiterator.sgml:
7036         * docs/gst/tmpl/gstmacros.sgml:
7037         * docs/gst/tmpl/gstrealpad.sgml:
7038         * docs/gst/tmpl/gstregistry.sgml:
7039         * docs/gst/tmpl/gstregistrypool.sgml:
7040         * docs/gst/tmpl/gststructure.sgml:
7041         * docs/gst/tmpl/gstsystemclock.sgml:
7042         * docs/gst/tmpl/gsttrace.sgml:
7043         * gst/gstghostpad.c:
7044         * gst/gstmacros.h:
7045         * gst/gstmemchunk.c:
7046         * gst/gstmemchunk.h:
7047         * gst/gstqueue.c:
7048         * gst/gstregistry.c:
7049         * gst/gstregistrypool.c:
7050         * gst/gststructure.c:
7051         * gst/gstsystemclock.c:
7052           more docs inlined
7053
7054 2005-09-02  Andy Wingo  <wingo@pobox.com>
7055
7056         * gst/gstelement.h (GstState): Renamed from GstElementState,
7057         changed to be a normal enum instead of flags.
7058         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7059         munged to be GST_STATE_CHANGE_*.
7060         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7061         work with the new state representation.
7062         (GstStateChange): New enumeration of possible state transitions.
7063         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7064         (GstElementClass::change_state): Pass the GstStateChange along as
7065         an argument. Helps language bindings, so they don't have to use
7066         tricky lock-needing macros like GST_STATE_CHANGE ().
7067
7068         * scripts/update-states (file): New script. Run it on a file to
7069         update it for state naming and API changes. Updates files in
7070         place.
7071
7072         * All files updated for the new API.
7073
7074 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7075
7076         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7077         * gst/gstutils.c: (gst_util_set_value_from_string),
7078         (gst_util_set_object_arg):
7079           fix a bunch of unchecked return values
7080         * tools/gst-complete.c: (main):
7081         * gstreamer.spec.in:
7082           clean up a little
7083
7084 2005-09-01  Wim Taymans  <wim@fluendo.com>
7085
7086         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7087         (gst_base_sink_event), (gst_base_sink_do_sync),
7088         (gst_base_sink_handle_event):
7089         * gst/base/gstbasesink.h:
7090         Handle newsegments more correctly.
7091
7092         * gst/gstbus.c:
7093         Fix docs.
7094
7095         * gst/gstevent.c: (gst_event_new_newsegment):
7096         A newsegment cannot have a start_time of -1
7097
7098 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7099
7100         * win32/gstenumtypes.c:
7101         * win32/gstenumtypes.h:
7102           Update
7103
7104 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7105
7106         * libs/gst/controller/gst-controller.c:
7107         (gst_controlled_property_set_interpolation_mode),
7108         (gst_controlled_property_new):
7109          fixed boolean again
7110
7111 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
7112
7113         * docs/faq/gst-uninstalled:
7114           add -good
7115         * gst/gstevent.c:
7116         * gst/gstevent.h:
7117           remove wrong docs
7118         * gst/gstutils.c: (gst_element_link_filtered):
7119         * gst/gstutils.h:
7120           add gst_element_link_filtered
7121
7122 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7123
7124         * docs/gst/gstreamer-docs.sgml:
7125         * docs/gst/gstreamer-sections.txt:
7126         * docs/gst/tmpl/.cvsignore:
7127         * docs/gst/tmpl/gsterror.sgml:
7128         * docs/gst/tmpl/gstfilter.sgml:
7129         * docs/gst/tmpl/gsturihandler.sgml:
7130         * docs/gst/tmpl/gsturitype.sgml:
7131         * docs/gst/tmpl/gstutils.sgml:
7132         * docs/gst/tmpl/gstxml.sgml:
7133         * gst/gsterror.c:
7134         * gst/gsterror.h:
7135         * gst/gstfilter.c:
7136         * gst/gsturi.c:
7137         * gst/gsturitype.c:
7138         * gst/gstutils.c:
7139         * gst/gstxml.c:
7140           inlined more docs, fixed double id-ref
7141
7142 2005-08-31  Wim Taymans  <wim@fluendo.com>
7143
7144         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7145         (gst_base_transform_handle_buffer):
7146         Passthrough elements don't need the caps as they don't care.
7147
7148 2005-08-31  Wim Taymans  <wim@fluendo.com>
7149
7150         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7151         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7152         Don't leak refcounts on buffers.
7153
7154 2005-08-31  Wim Taymans  <wim@fluendo.com>
7155
7156         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7157         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7158         (gst_base_transform_chain), (gst_base_transform_change_state):
7159         * gst/base/gstbasetransform.h:
7160         Handle the case where we are not negotiated more gracefully.
7161
7162 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7163
7164         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7165         (gst_file_src_map_region):
7166           Set READONLY flag on mmap'ed buffers, otherwise
7167           gst_buffer_make_writable() won't work properly (#314708).
7168
7169 2005-08-31  Wim Taymans  <wim@fluendo.com>
7170
7171         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7172         passthrough elements can even do inplace on non writable
7173         buffers (as they don't touch them).
7174
7175 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7176
7177         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7178         (gst_test_mono_source_set_property),
7179         (gst_test_mono_source_class_init), (GST_START_TEST),
7180         (gst_controller_suite):
7181           more tests (hehe I have the most)
7182         * gst/gstbus.c:
7183           describe popping messages whenusing mulltiple sources
7184         * libs/gst/controller/gst-controller.c:
7185         (gst_controlled_property_set_interpolation_mode),
7186         (gst_controlled_property_new):
7187         * libs/gst/controller/gst-controller.h:
7188         * libs/gst/controller/gst-interpolation.c:
7189           implement boolean properties
7190
7191 2005-08-31  Wim Taymans  <wim@fluendo.com>
7192
7193         * gst/gstminiobject.c: (gst_mini_object_ref):
7194         Cannot assert that the refcount has to be positive
7195         since a disposed object can be resurrected.
7196
7197 2005-08-31  Wim Taymans  <wim@fluendo.com>
7198
7199         * gst/gstpad.c: (gst_pad_init):
7200         Revert change, need to first fix badly behaving 
7201         apps.
7202
7203 2005-08-30  Wim Taymans  <wim@fluendo.com>
7204
7205         * check/elements/fakesrc.c: (setup_fakesrc):
7206         * check/elements/identity.c: (setup_identity):
7207         Activate pads before using them.
7208
7209 2005-08-30  Wim Taymans  <wim@fluendo.com>
7210
7211         * gst/base/gstadapter.c: (gst_adapter_flush):
7212         Flushing out 0 bytes is ok for this function.
7213
7214         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7215         no newsegment gives a warning and sets the start/stop to 
7216         invalid.
7217
7218         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7219         (gst_base_transform_set_passthrough):
7220         Some debug info.
7221
7222         * gst/gstminiobject.c: (gst_mini_object_ref):
7223         Check refcount here too.
7224
7225         * gst/gstpad.c: (gst_pad_init):
7226         Pads are initially flushing and refusing data.
7227
7228         * gst/gstutils.c: (gst_element_link_pads_filtered):
7229         When adding a capsfilter element make sure it has the
7230         same state as the parent bin.
7231
7232 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7233
7234         * docs/gst/tmpl/.cvsignore:
7235         * docs/gst/tmpl/gstformat.sgml:
7236         * docs/gst/tmpl/gstversion.sgml:
7237         * gst/gstbus.h:
7238         * gst/gstformat.c:
7239         * gst/gstformat.h:
7240         * gst/gstversion.h.in:
7241           more docs and two more inlined
7242
7243 2005-08-30  Wim Taymans  <wim@fluendo.com>
7244
7245         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7246         Don't sync to clock.
7247
7248 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7249
7250         * docs/gst/gstreamer-sections.txt:
7251           ultral33t func10ns deserve to appear in the docs actually
7252         * docs/gst/tmpl/.cvsignore:
7253         * docs/gst/tmpl/gstcompat.sgml:
7254         * docs/gst/tmpl/gstconfig.sgml:
7255         * gst/check/gstcheck.c:
7256         * gst/gstcompat.h:
7257         * gst/gstconfig.h.in:
7258           inlined more docs
7259
7260 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7261
7262         * docs/gst/tmpl/.cvsignore:
7263         * docs/gst/tmpl/gstquery.sgml:
7264         * docs/gst/tmpl/gstutils.sgml:
7265         * gst/gstquery.c:
7266         * gst/gstquery.h:
7267           inlined and extended docs
7268
7269 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7270
7271         * check/gst-libs/controller.c: (GST_START_TEST),
7272         (gst_controller_suite):
7273           more tests
7274         * docs/gst/tmpl/gstutils.sgml:
7275         * docs/libs/gstreamer-libs-sections.txt:
7276         * docs/libs/tmpl/gstdataprotocol.sgml:
7277           include path fixes
7278         * examples/controller/audio-example.c: (main):
7279           controller example works now
7280         * gst/gstclock.h:
7281           doc fixes
7282         * tools/gst-inspect.c: (print_element_properties_info):
7283           show param spec flags
7284
7285 2005-08-29  Andy Wingo  <wingo@pobox.com>
7286
7287         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7288
7289 2005-08-28  Andy Wingo  <wingo@pobox.com>
7290
7291         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7292         as having two arguments instead of just one. Allows superclasses
7293         to access information on subclasses -- see the terrible for() loop
7294         in gtype.c:g_type_create_instance for the reason why. All callers
7295         changed.
7296
7297 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7298
7299         * docs/design/part-messages.txt:
7300           update info
7301         * docs/gst/tmpl/.cvsignore:
7302         * docs/gst/tmpl/gstcaps.sgml:
7303         * docs/gst/tmpl/gstclock.sgml:
7304         * gst/gstbus.c:
7305         * gst/gstcaps.c:
7306         * gst/gstcaps.h:
7307         * gst/gstclock.c:
7308         * gst/gstclock.h:
7309         * gst/gstmessage.c:
7310           added descriptions for bus and message
7311           inline caps and clock docs
7312
7313 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7314
7315         * gst/gstmessage.c:
7316         * gst/gstmessage.h:
7317           doc fixes
7318
7319 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7320
7321         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7322           fix div-by-zero
7323
7324 2005-08-26  Andy Wingo  <wingo@pobox.com>
7325
7326         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7327         element_set_state's return val.
7328         (test_2_elements): Add test that's been disabled for months.
7329
7330         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7331         can-activate-pull properties.
7332
7333         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7334         can-activate-pull properties. Implement is_seekable so fakesrc can
7335         operate in pull mode.
7336
7337         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7338         properties.
7339         (gst_base_sink_activate, gst_base_sink_activate_pull)
7340         (gst_base_sink_activate_push): Make activation mode choosing work.
7341         Cleanups.
7342         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7343         is right. Make pull mode work. Post an eos before pausing in pull
7344         mode.
7345         (gst_base_sink_change_state): Pay attention to the core's
7346         change_state() return val.
7347         
7348         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7349         has-getrange properties. Cleanups.
7350         
7351         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7352         has_getrange and replace with can_activate_pull and
7353         can_activate_push.
7354
7355         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7356         locking comments. Remove has_loop, has_chain and replace with
7357         can_activate_pull and can_activate_push.
7358
7359 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7360
7361         * configure.ac:
7362         * examples/Makefile.am:
7363         * examples/metadata/Makefile.am:
7364         * examples/metadata/read-metadata.c: (message_loop),
7365         (have_pad_handler), (make_pipeline), (print_tag), (main):
7366           Add metadata reading example that loops over a list of filenames,
7367           dumping any tags found.
7368
7369         * gst/gstbus.c: (gst_bus_dispose):
7370         * gst/gstelement.c: (gst_element_dispose):
7371           Release a few potentially-held references in dispose.
7372
7373 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7374
7375         * docs/gst/tmpl/gstminiobject.sgml:
7376           do *not* add tmpl/*.sgml files to CVS!
7377
7378 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7379
7380         * libs/gst/bytestream/.cvsignore:
7381         * libs/gst/bytestream/Makefile.am:
7382         * libs/gst/bytestream/adapter.c:
7383         * libs/gst/bytestream/adapter.h:
7384         * libs/gst/bytestream/bytestream.c:
7385         * libs/gst/bytestream/bytestream.h:
7386         * libs/gst/bytestream/filepad.c:
7387         * libs/gst/bytestream/filepad.h:
7388           removing obsolete files
7389
7390 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7391
7392         * docs/gst/gstreamer-docs.sgml:
7393         * docs/libs/gstreamer-libs-docs.sgml:
7394           disabed additional index entries again, as this makes docs-gen just
7395           slow and they aren't useful yet
7396         * docs/libs/gstreamer-libs-sections.txt:
7397           little -section.txt cleanup for libs
7398
7399 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7400
7401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7402         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7403           fix up some debugging
7404         (gst_base_transform_get_unit_size),
7405         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7406         (gst_base_transform_handle_buffer):
7407         * gst/base/gstbasetransform.h:
7408           handle and store timed NEWSEGMENT events so that subclasses that
7409           calculate time by counting samples have a segment_start time they
7410           need to add to their timestamps - see audioresample
7411
7412 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7413
7414         * gst/gstbin.h:
7415           removed ';' from the end of macro defs
7416         * docs/gst/gstreamer-docs.sgml:
7417         * docs/gst/gstreamer-sections.txt:
7418         * docs/gst/tmpl/.cvsignore:
7419         * gst/gstbus.h:
7420         * gst/gstelement.c: (gst_element_class_init),
7421         (gst_element_set_state), (activate_pads),
7422         (gst_element_save_thyself):
7423         * gst/gstevent.c: (gst_event_new_newsegment):
7424         * gst/gstevent.h:
7425         * gst/gstiterator.c:
7426         * gst/gstiterator.h:
7427         * gst/gstpad.c:
7428         * gst/gstprobe.h:
7429         * gst/gstutils.c: (gst_pad_query_convert):
7430         * gst/gstutils.h:
7431           fixed parameter name mismatches between source, header and docs
7432           added some more docs, resolved the last batch of unused elements in
7433           docs (now someone needs to doc them)
7434
7435 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7436
7437         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7438         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7439           don't walk through the plugins backwards.  Where is all this
7440           reversed logic coming from ?
7441
7442 2005-08-25  Wim Taymans  <wim@fluendo.com>
7443
7444         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7445         (gst_base_transform_transform_size),
7446         (gst_base_transform_configure_caps),
7447         (gst_base_transform_get_unit_size),
7448         (gst_base_transform_buffer_alloc),
7449         (gst_base_transform_change_state):
7450         * gst/base/gstbasetransform.h:
7451         Cache caps unit_size.
7452         Make sure we cannot negotiate up and downstream at the
7453         same time.
7454
7455 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7456
7457         * gst/gst.c: (init_pre), (init_post):
7458           register the installed plugin path after the env var
7459         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7460         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7461           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7462           directories, so the tests can prefer uninstalled over installed
7463
7464 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7465
7466         * gst/base/gstbasetransform.h:
7467           comment
7468         * gst/gstpad.c:
7469           add to docs
7470
7471 2005-08-25  Wim Taymans  <wim@fluendo.com>
7472
7473         * gst/gstbin.c: (bin_bus_handler):
7474         Be a bit more conservative about the posted message.
7475         
7476         * gst/gstbus.c: (gst_bus_post):
7477         Some cleanups, warn wrong return values.
7478
7479 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7480
7481         * check/gst/gstbin.c: (GST_START_TEST):
7482         * gst/gstbin.c: (bin_bus_handler):
7483         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7484         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7485         (gst_message_new_warning), (gst_message_new_tag),
7486         (gst_message_new_state_changed), (gst_message_new_segment_start),
7487         (gst_message_new_segment_done), (gst_message_new_custom):
7488         * gst/gstmessage.h:
7489         * tools/gst-launch.c: (event_loop):
7490         * tools/gst-md5sum.c: (event_loop):
7491           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7492
7493 2005-08-25  Wim Taymans  <wim@fluendo.com>
7494
7495         * check/generic/states.c: (GST_START_TEST):
7496         Cleanup can be done at the end.
7497
7498         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7499         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7500         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7501         Oh boy.. Thanks for finding this, Thomas. 
7502
7503 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7504
7505         * docs/gst/gstreamer.types:
7506           added missing types
7507
7508 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7509
7510         * docs/gst/gstreamer-docs.sgml:
7511         * docs/gst/gstreamer-sections.txt:
7512         * docs/gst/tmpl/.cvsignore:
7513         * gst/gstbin.c:
7514         * gst/gstiterator.c:
7515         * gst/gstutils.c:
7516         * gst/registries/gstxmlregistry.h:
7517           added missing classes and symbols (123 more to go)
7518           removed removed symbols from section file
7519           fixed many doc-comments
7520
7521 2005-08-24  Wim Taymans  <wim@fluendo.com>
7522
7523         * check/generic/states.c: (GST_START_TEST):
7524         Make sure all tasks are stopped.
7525
7526         * check/gst/gstbin.c: (GST_START_TEST):
7527         Unref after usage for proper valgrinding.
7528
7529         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7530         Really wait for the task to stop before destroying the
7531         mutex.
7532
7533         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7534         (gst_queue_src_activate_push):
7535         Small cleanups. Don't stop the task when we did not start
7536         it.
7537
7538         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7539         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7540         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7541         (gst_task_join):
7542         * gst/gsttask.h:
7543         Protect the stream lock with the object lock.
7544         Disallow setting the stream lock when running.
7545         Add cleanup_all to wait for the threadpool to finish.
7546         Remove code to autoallocate a mutex if none was provided.
7547         Add _join() to wait for a task to stop.
7548         Protect the thread pool with a global lock.
7549
7550 2005-08-24  Wim Taymans  <wim@fluendo.com>
7551
7552         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7553         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7554         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7555         * gst/base/gstbasesink.h:
7556         Handle newsegment events correctly.
7557         Drop buffers out of the segment range.
7558
7559 2005-08-22  Andy Wingo  <wingo@pobox.com>
7560
7561         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7562         macro, implements an interface and gstimplementsinterface for a
7563         new type.
7564
7565 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7566
7567         * check/Makefile.am:
7568         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7569           add a test that does a bunch of state changes on elements
7570           needs some fixing for valgrind
7571         * check/states/sinks.c: (gst_object_suite):
7572           whitespace
7573         * gst/gstcaps.h:
7574           add prototype for gst_caps_is_equal_fixed
7575         * gst/gstplugin.c:
7576         * gst/gstregistrypool.c:
7577           doc fixes
7578
7579 2005-08-24  Andy Wingo  <wingo@pobox.com>
7580
7581         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7582         convert a negative value. Doesn't make much sense. Mostly this is
7583         here to force callers to ensure -1 maps to -1.
7584
7585 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7586
7587         * docs/pwg/advanced-types.xml:
7588           Well done to Michael for catching my deliberate introduction
7589           of this spelling mistake. 
7590         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7591         * gst/gstelement.h:
7592           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7593           unlink pads before removing the element from the bin.
7594
7595 2005-08-24  Andy Wingo  <wingo@pobox.com>
7596
7597         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7598         the same thing as GST_DEBUG=*:4.
7599         (parse_debug_level, parse_debug_category): New helper parsers.
7600
7601 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7602
7603         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7604         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7605         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7606         (gst_base_transform_buffer_alloc),
7607         (gst_base_transform_handle_buffer):
7608           use gboolean return values and pointers to size so we can use the
7609           full GST_BUFFER_SIZE range (guint) for buffer sizes
7610           use GstPadDirection for transform_caps
7611         * gst/base/gstbasetransform.h:
7612           rename get_size to get_unit_size since that's what it is
7613         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7614           use GstPadDirection for transform_caps
7615         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7616         * gst/gstutils.h:
7617           cleanup and debugging
7618
7619 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7620
7621         * gst/gstelement.c: (gst_element_class_init),
7622         (gst_element_set_state), (activate_pads),
7623         (gst_element_save_thyself):
7624         * tools/gst-compprep.c: (main):
7625         * tools/gst-inspect.c: (print_element_properties_info):
7626         * tools/gst-xmlinspect.c: (print_element_properties):
7627           Fixed long standing mem-leak
7628
7629 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7630
7631         * check/gst/gstbin.c: (GST_START_TEST):
7632         * gst/gstbin.c: (bin_bus_handler):
7633         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7634         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7635         (gst_message_new_warning), (gst_message_new_tag),
7636         (gst_message_new_state_changed), (gst_message_new_segment_start),
7637         (gst_message_new_segment_done), (gst_message_new_custom):
7638         * gst/gstmessage.h:
7639         * tools/gst-launch.c: (event_loop):
7640         * tools/gst-md5sum.c: (event_loop):
7641           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7642           that applications can sensibly post custom messages with references
7643           to their own objects.
7644
7645 2005-08-24  Andy Wingo  <wingo@pobox.com>
7646
7647         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7648         already.
7649
7650 2005-08-24  Wim Taymans  <wim@fluendo.com>
7651
7652         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7653         (gst_base_transform_transform_caps),
7654         (gst_base_transform_transform_size),
7655         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7656         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7657         (gst_base_transform_handle_buffer):
7658         * gst/base/gstbasetransform.h:
7659         Many fixes and new features added by Thomas. Can now also do
7660         transforms with variable sizes and a custom fixate_caps function.
7661
7662 2005-08-24  Wim Taymans  <wim@fluendo.com>
7663
7664         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7665         Some debugging.
7666
7667         * gst/gstclock.h:
7668         Cast to ClockTime before formatting to time.
7669
7670         * gst/gstutils.h:
7671         Cleanups.
7672
7673 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7674
7675         * check/gst-libs/controller.c: (GST_START_TEST),
7676         (gst_controller_suite):
7677         * docs/gst/tmpl/gstcaps.sgml:
7678         * docs/gst/tmpl/gstghostpad.sgml:
7679         * docs/gst/tmpl/gstquery.sgml:
7680         * docs/gst/tmpl/gstutils.sgml:
7681         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7682         (gst_object_sink_values), (gst_object_get_value_arrays),
7683         (gst_object_get_value_array):
7684           gracefully handle helper method calls to objects that are not beeing
7685           controlled, added test case for that          
7686
7687 2005-08-23  Wim Taymans  <wim@fluendo.com>
7688
7689         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7690         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7691         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7692         (gst_event_parse_qos), (gst_event_new_seek),
7693         (gst_event_parse_seek):
7694         * gst/gstevent.h:
7695         Some more debugging output and doc cleanups.
7696
7697         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7698         Fix possible deadlock.
7699
7700 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7701
7702         * docs/gst/gstreamer-docs.sgml:
7703         * docs/gst/gstreamer-sections.txt:
7704         * docs/gst/gstreamer.types:
7705         * docs/gst/tmpl/.cvsignore:
7706         * gst/gstbin.h:
7707         * gst/gstbus.c:
7708         * gst/gstelement.c:
7709         * gst/gstevent.h:
7710           added 100 symbols from gstreamer-unused.txt to the right sections
7711           fixed more broken comments
7712           added GstBus to docs
7713
7714 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7715
7716         * docs/gst/gstreamer-sections.txt:
7717         * docs/gst/tmpl/.cvsignore:
7718         * docs/gst/tmpl/gstbin.sgml:
7719         * docs/gst/tmpl/gstbuffer.sgml:
7720         * gst/base/gstbasesrc.c:
7721         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7722         * gst/gstbuffer.c:
7723         * gst/gstbuffer.h:
7724         * tools/gst-launch.1.in:
7725           inlined more doc comments, added missing comments and fixed comments
7726           fixed typos
7727
7728 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7729
7730         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7731           some debugging
7732         * gst/gstcaps.h:
7733           whitespace fixes
7734         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7735           more debugging
7736         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7737         * gst/gststructure.h:
7738           add a fixate function for booleans; add a FIXME that these func
7739           names should probably be gst_structure_fixate_*
7740
7741 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7742
7743         * docs/gst/gstreamer-docs.sgml:
7744         * docs/gst/gstreamer-sections.txt:
7745         * gst/Makefile.am:
7746         * gst/gstbin.c: (gst_bin_get_type),
7747         (gst_bin_child_proxy_get_child_by_index),
7748         (gst_bin_child_proxy_get_children_count),
7749         (gst_bin_child_proxy_init):
7750         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7751         (gst_child_proxy_get_child_by_index),
7752         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7753         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7754         (gst_child_proxy_get), (gst_child_proxy_set_property),
7755         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7756         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7757         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7758         * gst/gstchildproxy.h:
7759         * gst/parse/grammar.y:
7760         * tools/gst-inspect.c: (print_interfaces),
7761         (print_element_properties_info), (print_element_info):
7762           ported gstchildproxy over from 0.8
7763           ported gst-inspect fixes and enhancements over from 0.8
7764
7765 2005-08-22  Wim Taymans  <wim@fluendo.com>
7766
7767         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7768         (gst_base_transform_handle_buffer):
7769         Also call the transform function if we have ANY caps.
7770
7771         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7772         Fix debug info.
7773
7774 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7775
7776         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7777           Don't pretend to handle seek events if the source is not seekable
7778
7779 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7780
7781         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7782           Remove extra parameter to debug output
7783
7784         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7785         (gst_base_src_do_seek), (gst_base_src_activate_push):
7786           Fix seek event handling.
7787
7788         * gst/gstpipeline.c: (gst_pipeline_change_state):
7789         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7790         (gst_queue_src_activate_push):
7791           Don't start the src pad task on FLUSH_STOP if the pad
7792           isn't linked.
7793           Debug changes.
7794
7795 2005-08-22  Wim Taymans  <wim@fluendo.com>
7796
7797         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7798         Added check for gst_static_caps_get() refcounting.
7799
7800 2005-08-22  Wim Taymans  <wim@fluendo.com>
7801
7802         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7803         Make _static_caps_get() refcounting sane.
7804         
7805         * gst/gstelement.c: (gst_element_set_state):
7806         Add g_return_val_if_fail() to protect against segfaults.
7807
7808 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7809
7810         * docs/gst/tmpl/gstevent.sgml:
7811         * gst/gstevent.c:
7812         * gst/gstevent.h:
7813           inlined remaining docs, added missing doc comments
7814
7815 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7816
7817         * check/gst/gstbin.c: (GST_START_TEST):
7818           since we don't know when preroll is done, use refcount range
7819           check for the sink
7820         * gst/check/gstcheck.h:
7821           add macro for checking refcount range
7822
7823 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7824
7825         * check/Makefile.am:
7826           clean up environment for when registry gets built versus
7827           when actual tests are run; valgrind seems to not report
7828           leaks if GST_PLUGIN_PATH is set to some specific values
7829         * check/gst/gstbin.c: (GST_START_TEST):
7830           add more refcounting checks; maybe this exposes a
7831           preroll lock bug ?
7832         * common/check.mak:
7833         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7834         * gst/check/gstcheck.h:
7835         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7836         (gst_bin_change_state):
7837         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7838           add/fix debugging/whitespace
7839
7840 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7841
7842         * check/gst/gstevent.c: (event_probe), (test_event),
7843         (GST_START_TEST):
7844          Er, don't call gst_bin_watch_for_state_change you idiot.
7845
7846 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7847
7848         * check/Makefile.am:
7849           Use CHECK_CFLAGS and CHECK_LIBS
7850         * check/gst/gstevent.c: (event_probe), (test_event),
7851         (GST_START_TEST):
7852           Don't leak events.
7853         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7854         (gst_base_src_start), (gst_base_src_stop),
7855         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7856         (gst_base_src_change_state):
7857           Sprinkle gst_base_src_stop liberally around error paths to fix
7858           problems reusing a source after failed state changes.
7859         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7860         (helper_find_suggest), (gst_type_find_helper):
7861           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7862         * gst/gstevent.h:
7863         * docs/gst/tmpl/gstevent.sgml:
7864           Migrate part of the docs from the SGML file. Wait for ensonic to
7865           tell me how I did it wrong ;)
7866         * tools/gst-typefind.c: (main):
7867           Extra robustness to state changes between files.
7868
7869 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7870
7871         * check/Makefile.am:
7872           don't valgrind the controller test - it's leaking - Stefan, HELP
7873         * gst/check/gstcheck.c: (gst_check_message_error),
7874         (gst_check_chain_func), (gst_check_setup_element),
7875         (gst_check_teardown_element), (gst_check_setup_src_pad),
7876         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7877         (gst_check_teardown_sink_pad):
7878         * gst/check/gstcheck.h:
7879           add a bunch of methods to set up elements, and src and sink pads
7880         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7881         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7882         (GST_START_TEST):
7883           use them
7884         * gst/gstmessage.c:
7885         * gst/gsttag.h:
7886           whitespace/doc fixes
7887
7888 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7889
7890         * gst/gstelement.h:
7891           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7892           be handled by the application and not always printed as well
7893
7894 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7895
7896         * check/Makefile.am:
7897           set GST_TOOLS_DIR
7898         * gst/check/gstcheck.c: (gst_check_message_error):
7899         * gst/check/gstcheck.h:
7900           add a fail_unless_equals_int
7901           add fail_unless for error messages
7902
7903 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7904
7905         * check/Makefile.am:
7906         * check/gst.supp:
7907         * common/Makefile.am:
7908         * common/check.mak:
7909         * common/gst.supp:
7910           factor out some of the common stuff so we can use it
7911
7912 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7913
7914         * check/Makefile.am:
7915         * check/gst/gstiterator.c: (GST_START_TEST):
7916         * check/gst/gstsystemclock.c: (GST_START_TEST),
7917         (gst_systemclock_suite):
7918         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7919         * gst/gstclock.c:
7920           valgrind more tests
7921
7922 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7923
7924         * check/elements/.cvsignore:
7925         * check/elements/gstfakesrc.c:
7926           rename to name of element
7927         * check/elements/identity.c: (chain_func), (event_func),
7928         (setup_identity), (cleanup_identity), (GST_START_TEST),
7929         (identity_suite), (main):
7930           add a test for identity
7931         * check/Makefile.am:
7932         * pkgconfig/Makefile.am:
7933         * pkgconfig/gstreamer-check.pc.in:
7934         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7935         * gst/check:
7936         * gst/Makefile.am:
7937         * configure.ac:
7938           move the check stuff to a library that gets installed
7939         * check/gst-libs/controller.c: (GST_START_TEST):
7940         * check/gst-libs/gdp.c:
7941         * check/gst/gst.c: (GST_START_TEST):
7942         * check/gst/gstbin.c:
7943         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7944         * check/gst/gstbus.c:
7945         * check/gst/gstcaps.c: (GST_START_TEST):
7946         * check/gst/gstelement.c:
7947         * check/gst/gstghostpad.c:
7948         * check/gst/gstiterator.c:
7949         * check/gst/gstmessage.c:
7950         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7951         * check/gst/gstobject.c:
7952         * check/gst/gstpad.c: (GST_START_TEST):
7953         * check/gst/gststructure.c: (GST_START_TEST):
7954         * check/gst/gstsystemclock.c: (GST_START_TEST),
7955         (gst_systemclock_suite):
7956         * check/gst/gsttag.c: (gst_tag_suite):
7957         * check/gst/gstvalue.c:
7958         * check/pipelines/cleanup.c:
7959         * check/pipelines/simple_launch_lines.c:
7960         * check/states/sinks.c:
7961           change include statement
7962
7963         * docs/gst/gstreamer-sections.txt:
7964         * docs/gst/tmpl/gstpad.sgml:
7965           document more pad stuff
7966         * gst/gstminiobject.c: (gst_mini_object_ref),
7967         (gst_mini_object_unref):
7968           debug refcounting
7969
7970 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7971
7972         * docs/gst/tmpl/gst.sgml:
7973         * gst/gst.c:
7974           eliminate another tmpl file, fix spelling in the long-description
7975
7976 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7977
7978         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7979         (test_event), (timediff), (gstevents_suite):
7980           Should fix build on 64-bit arch's
7981
7982 2005-08-18  Andy Wingo  <wingo@pobox.com>
7983
7984         Make sure that when a pipeline goes to PLAYING, that data has
7985         actually hit the sink.
7986
7987         * check/states/sinks.c (test_sink): A sink that doesn't get any
7988         data shouldn't return SUCCESS for going to either PLAYING or
7989         PAUSED. Test also the return values on the way back down.
7990
7991         * gst/gstelement.c (gst_element_set_state): When changing the
7992         state of an element currently changing state asynchronously, go to
7993         lost-state after commiting the pending state. Makes future calls
7994         to get_state continue to return ASYNC.
7995
7996         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7997         ASYNC when going to PLAYING if we still don't have preroll, as can
7998         happen with live sources.
7999
8000 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8001
8002         * docs/pwg/advanced-types.xml:
8003           Hack long paragraph into 2 chunks as a workaround for buggy
8004           jadetex version in sid and breezy that loops infinitely and
8005           eats all RAM.
8006
8007 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8008
8009         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8010         (test_event), (timediff), (gstevents_suite):
8011           Provide more error margin in clock measurements to allow for 
8012           g_get_current_time inaccuracies.
8013
8014 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8015
8016         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8017         (test_event), (timediff), (gstevents_suite):
8018            Fix error message output so I might be able to tell why the
8019            test works here but fails on the build farm.
8020
8021 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8022
8023         * check/Makefile.am:
8024         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8025         (test_event), (timediff), (gstevents_suite), (main):
8026           I wrote a test!
8027
8028         * docs/design/part-seeking.txt:
8029           Spelling correction
8030
8031         * docs/gst/tmpl/gstevent.sgml:
8032         * docs/gst/tmpl/gstfakesrc.sgml:
8033           Docs updates.
8034
8035         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8036           Treat a buffer-without-newsegment the same as a receiving 
8037           a newsegment not in time format, and disable syncing to the clock
8038           with a warning.
8039
8040         * gst/gstbus.c: (gst_bus_set_sync_handler):
8041           Assert if anyone tries to replace the existing sync_handler for bus, 
8042           as only the owner should be setting it.
8043
8044         * gst/gstevent.h:
8045           Have a fixed set of custom event enums with events identified by
8046           their structure name (as in 0.8), rather than a free-for-all
8047           allowing collisions between enum values from different plugins.
8048
8049         * gst/gstpad.c: (gst_pad_class_init):
8050           Docs change.
8051           
8052         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8053           Handle out-of-band downstream events from the sending thread.
8054
8055 2005-08-17  Andy Wingo  <wingo@pobox.com>
8056
8057         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8058         play-timeout==0 to mean no timeout at all. In that case, don't
8059         bother with a get_state or a warning, just return directly, even
8060         if it's ASYNC.
8061
8062         * gst/base/gstbasetransform.c: Debug changes.
8063
8064         * gst/gstutils.h:
8065         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8066         ensure bins post state change messages. A bit of a hack but I can't
8067         think of a way to avoid it.
8068
8069         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8070
8071 2005-08-16  Andy Wingo  <wingo@pobox.com>
8072
8073         * gst/base/gstadapter.h:
8074         * gst/base/gstadapter.c (gst_adapter_take): New function, like
8075         peek() but you own the data. Not terribly efficient atm.
8076
8077 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8078
8079         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8080         (gst_element_found_tags):
8081         * gst/gstutils.h:
8082           Add two utility functions for tag handling.
8083
8084 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8085
8086         * docs/manual/advanced-dataaccess.xml:
8087         * docs/manual/basics-helloworld.xml:
8088           Fix docs to use _bin_add() before _link(), which fixes the examples
8089           with recent core versions (reported by Madhan Raj M
8090           <raj_madan@rediffmail.com>, #313199).
8091
8092 2005-08-16  Wim Taymans  <wim@fluendo.com>
8093
8094         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8095         Added subtract checks.
8096
8097         * docs/design/part-events.txt:
8098         Some more docs about newsegment
8099
8100         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8101         Fix FIXME
8102
8103         * gst/gstcaps.c: (gst_caps_to_string):
8104         Add comments, cleanups.
8105         
8106         * gst/gstelement.c: (gst_element_save_thyself):
8107         cleanups
8108         
8109         * gst/gstvalue.c: (gst_value_collect_int_range),
8110         (gst_string_unwrap), (gst_value_union_int_int_range),
8111         (gst_value_union_int_range_int_range),
8112         (gst_value_intersect_int_int_range),
8113         (gst_value_intersect_int_range_int_range),
8114         (gst_value_intersect_double_double_range),
8115         (gst_value_intersect_double_range_double_range),
8116         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8117         (gst_value_subtract_int_range_int),
8118         (gst_value_subtract_double_range_double),
8119         (gst_value_subtract_double_range_double_range),
8120         (gst_value_subtract_from_list), (gst_value_subtract_list),
8121         (gst_value_can_compare), (gst_value_compare_fraction):
8122         Cleanups, add comments, remove unneeded asserts.
8123
8124 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8125
8126         * tools/gst-launch.c: (event_loop):
8127           don't convert NULL structures to strings
8128
8129 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
8130
8131         * docs/gst/gstreamer-sections.txt:
8132           made some defines private
8133         * docs/gst/tmpl/gstconfig.sgml:
8134         * docs/gst/tmpl/gstqueue.sgml:
8135         * docs/gst/tmpl/gsttaglist.sgml:
8136         * docs/gst/tmpl/gsttypes.sgml:
8137         * docs/gst/tmpl/gstutils.sgml:
8138         * docs/pwg/appendix-porting.xml:
8139         * gst/base/gstbasesink.h:
8140         * gst/base/gstbasesrc.c:
8141         * gst/base/gstbasesrc.h:
8142         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8143         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8144         * gst/gstelement.c: (gst_element_class_init):
8145         * gst/gstpad.c: (gst_pad_class_init):
8146         * gst/gstqueue.c: (gst_queue_class_init):
8147         * gst/gstxml.c: (gst_xml_class_init):
8148           documented all undocumented signal inline
8149         * libs/gst/controller/gst-controller.h:
8150           added padding
8151
8152 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8153
8154         * docs/pwg/appendix-porting.xml:
8155           Document _set_link_function -> _set_setcaps_function.
8156
8157 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8158
8159         * check/Makefile.am:
8160           add a .check target for running the check
8161         * check/gst-libs/controller.c: (GST_START_TEST):
8162           cosmetic fixups
8163         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8164           complete checks for gstbuffer; would be nice if I could get the
8165           gcov stuff to work so I can see if I actually completed gstbuffer.c
8166         * check/gstcheck.h:
8167           add ASSERT_BUFFER_REFCOUNT
8168
8169 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8170
8171         * docs/gst/gstreamer-sections.txt:
8172         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8173         * gst/gsttag.h:
8174           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8175           spew out a warning if a tag that is already registered
8176           is re-registered, unless it is re-registered with a 
8177           different type (#308438).
8178
8179 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8180
8181         * docs/pwg/appendix-porting.xml:
8182         * docs/pwg/building-state.xml:
8183           Add some paragraphs about state changes in 0.9 to the PWG
8184           and the porting guide, in particular about the new meaning
8185           of GST_STATE_PAUSED and how to write state change functions
8186           with concurrent access by multiple threads in mind.
8187
8188 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8189
8190         * docs/gst/gstreamer-docs.sgml:
8191         * docs/libs/gstreamer-libs-docs.sgml:
8192           added deprecation and since indexes
8193         * libs/gst/controller/gst-controller.c:
8194         * libs/gst/controller/gst-helper.c:
8195           added since tags
8196
8197
8198 2005-08-11  Wim Taymans  <wim@fluendo.com>
8199
8200         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8201         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8202         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8203         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8204         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8205         (gst_ghost_pad_set_target):
8206         Actually implement (re)setting the target on a ghostpad
8207         as described in the docs.
8208
8209 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8210
8211         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8212           Check whether GST_DEBUG_NO_COLOR environment variable is
8213           set and disable coloured debug output if that is the case.
8214
8215 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8216
8217         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8218         (gst_type_find_helper):
8219           The memory returned by gst_type_find_peek() needs to
8220           stay valid until the end of a typefind function, and
8221           typefind functions may keep results from different 
8222           offsets around, so we can't just unref the buffer from
8223           the previous _peek(), but have to save all buffers 
8224           returned by _peek() until typefinding is done and only
8225           free them then.
8226
8227 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8228
8229         * docs/gst/gstreamer-sections.txt:
8230         * gst/gstutils.h:
8231           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8232
8233 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8234
8235         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8236           Fix a pretty good memleak.
8237
8238 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8239
8240         * gst/gstiterator.h:
8241           Fix wrong include and 'make distcheck'.
8242
8243 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8244
8245         * gst/gstbin.c: (bin_bus_handler):
8246           Use gst_element_post_message() instead.
8247
8248 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8249
8250         * gst/base/gstadapter.h:
8251         * gst/base/gstbasesink.h:
8252         * gst/base/gstbasesrc.h:
8253         * gst/base/gstbasetransform.h:
8254         * gst/base/gstcollectpads.h:
8255         * gst/base/gstpushsrc.h:
8256         * gst/gstiterator.h:
8257           Add padding to our base elements' class and instance structs and
8258           to GstIterator (you will need to rebuild all plugins and apps!)
8259
8260 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8261
8262         * gst/gstbin.c: (bin_bus_handler):
8263           Make default message forwarding from child->bus to bin->bus
8264           threadsafe and make it not emit warnings if the parent has no bus.
8265
8266 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8267
8268         * gst/gstelement.c: (activate_pads):
8269           On paused->ready, set pad->caps to NULL, as is the documented
8270           behaviour in this state change. Fixes playback of series of
8271           media files when visualization is enabled in Totem.
8272
8273 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8274
8275         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8276           Allow NULL as filter-caps (which means "any").
8277
8278 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8279
8280         * docs/libs/gstreamer-libs-sections.txt:
8281         * libs/gst/controller/gst-controller.c:
8282         * libs/gst/controller/gst-controller.h:
8283         * libs/gst/controller/gst-helper.c:
8284           adding more entries to the docs and fix small doc-bugs
8285
8286 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8287
8288         * docs/gst/gstreamer-docs.sgml:
8289         * docs/gst/gstreamer-sections.txt:
8290         * docs/gst/gstreamer.types:
8291         * docs/gst/tmpl/gstbasesink.sgml:
8292         * docs/gst/tmpl/gstbasesrc.sgml:
8293         * docs/gst/tmpl/gstbasetransform.sgml:
8294         * docs/gst/tmpl/gstfakesrc.sgml:
8295         * gst/base/gstcollectpads.c:
8296         * gst/base/gstcollectpads.h:
8297         * libs/gst/controller/gst-controller.c:
8298         * libs/gst/controller/gst-controller.h:
8299         * libs/gst/controller/gst-helper.c:
8300         * libs/gst/controller/gst-interpolation.c:
8301         * libs/gst/controller/lib.c:
8302           added long/short desc for controller docs
8303           added collectpads base class docs
8304           added correct includes to base-class docs
8305
8306 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8307
8308         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8309         (gst_test_mono_source_set_property),
8310         (gst_test_mono_source_class_init), (GST_START_TEST),
8311         (gst_controller_suite):
8312         * docs/gst/gstreamer-docs.sgml:
8313         * docs/gst/gstreamer-sections.txt:
8314         * docs/gst/gstreamer.types:
8315         * docs/libs/gstreamer-libs-docs.sgml:
8316         * docs/libs/gstreamer-libs-sections.txt:
8317         * gst/base/gstadapter.c:
8318         * libs/gst/controller/gst-controller.c:
8319         (gst_controlled_property_new), (gst_controlled_property_free),
8320         (gst_controller_new_valist),
8321         (gst_controller_remove_properties_valist),
8322         (gst_controller_sink_values), (_gst_controller_finalize):
8323         * libs/gst/controller/gst-controller.h:
8324         * libs/gst/controller/gst-helper.c:
8325         (gst_object_control_properties), (gst_object_uncontrol_properties),
8326         (gst_object_get_controller), (gst_object_set_controller),
8327         (gst_object_sink_values), (gst_object_get_value_arrays),
8328         (gst_object_get_value_array):
8329           more tests (and fixes) for the controller
8330           more docs for the controller
8331           integrated companies docs for the adapter 
8332
8333 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8334
8335         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8336         (GST_START_TEST), (fakesrc_suite):
8337           add tests for sizetype
8338
8339 2005-08-04  Andy Wingo  <wingo@pobox.com>
8340
8341         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8342         fixes buffer_alloc proxying among other things.
8343
8344         * gst/base/gstbasetransform.c:
8345         * gst/base/gstbasetransform.h:
8346         Revert patch to gstbasetransform from 7-28 removing
8347         delay_configure.
8348
8349         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8350         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8351         Semantics changed, should return not the size of the output buffer
8352         but the byte size of a buffer with a given caps.
8353
8354         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8355         debug object.
8356         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8357         out) are not the pad caps until setcaps finishes.
8358         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8359         not-in-place case as well. Deal with changing from in-place to
8360         not-in-place within calling pad_alloc_buffer. Still a bit
8361         concerned about the overhead here...
8362
8363 2005-08-03  Andy Wingo  <wingo@pobox.com>
8364
8365         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8366         fixating is an error.
8367
8368 2005-08-04  Edward Hervey  <edward@fluendo.com>
8369
8370         * gst/base/gstadapter.h: 
8371         Added gst_adapter_get_type() to the header
8372
8373 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8374
8375         * check/Makefile.am:
8376         * check/gst-libs/controller.c:
8377         * libs/gst/controller/gst-controller.c:
8378         (gst_controller_new_valist):
8379           added check test suite for the controller
8380         * gst/base/gstpushsrc.c:
8381           fixed a doc typo
8382
8383 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8384
8385         * docs/gst/Makefile.am:
8386         * docs/gst/gstreamer-docs.sgml:
8387         * docs/gst/gstreamer-sections.txt:
8388         * docs/gst/gstreamer.types:
8389         * docs/gst/tmpl/gstfakesrc.sgml:
8390         * gst/base/README:
8391         * gst/base/gstbasesink.c:
8392         * gst/base/gstbasesink.h:
8393         * gst/base/gstbasesrc.c:
8394         * gst/base/gstbasesrc.h:
8395         * gst/base/gstbasetransform.c:
8396         * gst/base/gstpushsrc.c:
8397         * gst/base/gstpushsrc.h:
8398           add short/long description docs to base classes
8399           add pushsrc to the docs
8400           remove consolidated doc fragments
8401
8402 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8403
8404         * configure.ac:
8405         * docs/libs/Makefile.am:
8406         * docs/libs/gstreamer-libs-docs.sgml:
8407         * docs/libs/gstreamer-libs-sections.txt:
8408         * docs/libs/gstreamer-libs.types:
8409         * examples/Makefile.am:
8410         * examples/controller/.cvsignore:
8411         * examples/controller/Makefile.am:
8412         * examples/controller/audio-example.c: (main):
8413         * libs/gst/Makefile.am:
8414         * libs/gst/controller/.cvsignore:
8415         * libs/gst/controller/Makefile.am:
8416         * libs/gst/controller/gst-controller.c:
8417         (on_object_controlled_property_changed), (gst_timed_value_compare),
8418         (gst_timed_value_find),
8419         (gst_controlled_property_set_interpolation_mode),
8420         (gst_controlled_property_new), (gst_controlled_property_free),
8421         (gst_controller_find_controlled_property),
8422         (gst_controller_new_valist), (gst_controller_new),
8423         (gst_controller_remove_properties_valist),
8424         (gst_controller_remove_properties), (gst_controller_set),
8425         (gst_controller_set_from_list), (gst_controller_unset),
8426         (gst_controller_get), (gst_controller_get_all),
8427         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8428         (gst_controller_get_value_array),
8429         (gst_controller_set_interpolation_mode),
8430         (_gst_controller_finalize), (_gst_controller_init),
8431         (_gst_controller_class_init), (gst_controller_get_type):
8432         * libs/gst/controller/gst-controller.h:
8433         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8434         (g_object_uncontrol_properties), (g_object_get_controller),
8435         (g_object_set_controller), (g_object_sink_values),
8436         (g_object_get_value_arrays), (g_object_get_value_array):
8437         * libs/gst/controller/gst-interpolation.c:
8438         (gst_controlled_property_find_timed_value_node),
8439         (interpolate_none_get), (interpolate_trigger_get),
8440         (interpolate_trigger_get_value_array):
8441         * libs/gst/controller/lib.c: (gst_controller_init):
8442         * pkgconfig/Makefile.am:
8443         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8444         * pkgconfig/gstreamer-control.pc.in:
8445         * testsuite/Makefile.am:
8446         * testsuite/controller/.cvsignore:
8447         * testsuite/controller/Makefile.am:
8448         * testsuite/controller/interpolator.c: (main):
8449           added controller code
8450           removed dparam pc files
8451
8452 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8453         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8454         (gst_collectpads_stop):
8455           Broadcast the condition when shutting down, to make sure we wake all
8456           threads up. Shut down pads on finalize, for safety.
8457
8458 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8459         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8460         (gst_base_transform_handle_buffer),
8461         (gst_base_transform_change_state):
8462           Handle PAUSED->READY->PAUSED transition after negotiation
8463           occurred already.
8464         * gst/gstmessage.c: (gst_message_init):
8465           Extra piece of debug for new messages.
8466
8467 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8468
8469         * configure.ac:
8470         * docs/gst/tmpl/gstbasesrc.sgml:
8471         * docs/gst/tmpl/gstelement.sgml:
8472         * docs/gst/tmpl/gstevent.sgml:
8473         * docs/gst/tmpl/gstfakesrc.sgml:
8474         * docs/gst/tmpl/gstformat.sgml:
8475         * docs/gst/tmpl/gstghostpad.sgml:
8476         * docs/gst/tmpl/gstpad.sgml:
8477         * docs/gst/tmpl/gstquery.sgml:
8478         * docs/gst/tmpl/gststructure.sgml:
8479         * docs/gst/tmpl/gsttaglist.sgml:
8480         * docs/gst/tmpl/gstvalue.sgml:
8481         * docs/libs/gstreamer-libs-docs.sgml:
8482         * docs/libs/gstreamer-libs-sections.txt:
8483         * docs/libs/gstreamer-libs.types:
8484         * libs/gst/Makefile.am:
8485         * libs/gst/control/.cvsignore:
8486         * libs/gst/control/Makefile.am:
8487         * libs/gst/control/control.c:
8488         * libs/gst/control/control.h:
8489         * libs/gst/control/dparam.c:
8490         * libs/gst/control/dparam.h:
8491         * libs/gst/control/dparam_smooth.c:
8492         * libs/gst/control/dparam_smooth.h:
8493         * libs/gst/control/dparamcommon.h:
8494         * libs/gst/control/dparammanager.c:
8495         * libs/gst/control/dparammanager.h:
8496         * libs/gst/control/dplinearinterp.c:
8497         * libs/gst/control/dplinearinterp.h:
8498         * libs/gst/control/unitconvert.c:
8499         * libs/gst/control/unitconvert.h:
8500         * testsuite/Makefile.am:
8501         * testsuite/dynparams/.cvsignore:
8502         * testsuite/dynparams/Makefile.am:
8503         * testsuite/dynparams/dparamstest.c:
8504         * tools/Makefile.am:
8505         * tools/gst-inspect.c: (print_element_info), (main):
8506         * tools/gst-xmlinspect.c: (print_element_info), (main):
8507           deactivate and remove dparams (libgstcontrol)
8508
8509 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8510
8511         * gst/elements/gsttypefindelement.c:
8512         (gst_type_find_element_have_type), (gst_type_find_element_init),
8513         (stop_typefinding), (gst_type_find_element_handle_event),
8514         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8515         * gst/elements/gsttypefindelement.h:
8516           Set caps on all outgoing buffers, not just the first one.
8517
8518 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8519
8520         * gst/elements/gsttypefindelement.c:
8521         (gst_type_find_element_have_type),
8522         (gst_type_find_element_check_set_buffer_caps),
8523         (gst_type_find_element_init), (stop_typefinding),
8524         (gst_type_find_element_handle_event),
8525         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8526         * gst/elements/gsttypefindelement.h:
8527           Set caps on first outgoing buffer when we've found the type.
8528
8529 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8530
8531         * docs/gst/gstreamer-docs.sgml:
8532         * docs/gst/gstreamer-sections.txt:
8533         * docs/gst/tmpl/gstscheduler.sgml:
8534         * docs/gst/tmpl/gstschedulerfactory.sgml:
8535           Remove some old cruft from docs.
8536
8537 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8538
8539         * gst/gstpad.h:
8540           Fix inline docs for GstPadLinkReturn.
8541           
8542         * gst/gststructure.c: (gst_structure_has_name):
8543         * gst/gststructure.h:
8544         * docs/gst/gstreamer-sections.txt:
8545           New API: gst_structure_has_name().
8546
8547 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8548
8549         * configure.ac:
8550           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8551           and _LARGEFILE_SOURCE in config.h as required. Do not 
8552           export those flags in our .pc files any longer (#142209).
8553
8554           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8555
8556         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8557         (gst_file_sink_do_seek), (gst_file_sink_event),
8558         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8559           Redo seek/tell calls with large file support in mind; add some
8560           debugging messages; add log message that tells us when large
8561           file support is unavailable or not enabled for some reason.
8562
8563         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8564           Add log message that tells us when large file support 
8565           is unavailable or not enabled for some reason.
8566
8567 2005-07-29  Wim Taymans  <wim@fluendo.com>
8568
8569         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8570         Added test for removing an element with ghostpad from a bin.
8571         Fixed test as current implementation does the right thing.
8572
8573         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8574         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8575         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8576         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8577         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8578         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8579         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8580         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8581         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8582         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8583         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8584         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8585         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8586         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8587         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8588         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8589         * gst/gstghostpad.h:
8590         Clean up ghostpads, remove properties for internal stuff.
8591         Make threadsafe.
8592         Fix refcounting.
8593         Prepare for switching targets, not all use cases work yet.
8594
8595 2005-07-29  Wim Taymans  <wim@fluendo.com>
8596
8597         * docs/design/part-gstghostpad.txt:
8598         Small update.
8599
8600         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8601         (gst_bin_remove_func):
8602         Unlinking pads while holding the bin LOCK is not a good
8603         idea.
8604
8605         * gst/gstpad.c: (gst_pad_class_init),
8606         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8607         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8608         No prob setting template after creating the pad.
8609
8610 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8611
8612         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8613         (gst_bus_peek), (gst_bus_source_dispatch),
8614         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8615         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8616           gst_bus_poll may be called from other threads. Handle
8617           this nicely by not making poll_data disappear off the
8618           stack once gst_bus_poll returns.
8619           gst_bus_peek now increments the refcount on the returned
8620           message.
8621
8622 2005-07-29  Wim Taymans  <wim@fluendo.com>
8623
8624         * docs/design/part-gstghostpad.txt:
8625         Overview of current GhostPad datastructures and use
8626         cases for changing the target.
8627
8628 2005-07-28  Wim Taymans  <wim@fluendo.com>
8629
8630         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8631         Added checks for hierarchy consistency whan adding linked
8632         elements to bins.
8633
8634         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8635         Added check to test element scheduling without bin/pipeline.
8636
8637         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8638         First add elements to bin, then link.
8639         
8640         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8641         (gst_bin_remove_func):
8642         Unlink pads from elements added/removed from bin to maintain
8643         hierarchy consistency.
8644
8645 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8646
8647         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8648         (gst_base_transform_handle_buffer):
8649         * gst/base/gstbasetransform.h:
8650           Remove broken delay_configure (fixes renegotiation of software
8651           scaling pipelines); remove some leftover printf()s.
8652
8653 2005-07-28  Wim Taymans  <wim@fluendo.com>
8654
8655         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8656         Added some more tests for wrong hierarchy
8657
8658         * docs/design/part-overview.txt:
8659         Some updates.
8660
8661         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8662         Cleanups.
8663
8664         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8665         (gst_element_dispose):
8666         Some more cleanups.
8667
8668         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8669         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8670         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8671         (gst_pad_set_caps), (gst_pad_send_event):
8672         Check for correct hierarchy when linking pads. Moving to
8673         strict requirement for ghostpads when linking elements in
8674         different bins.
8675
8676         * gst/gstpad.h:
8677         Clean ups. Added WRONG_HIERARCHY return value.
8678
8679 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8680
8681         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8682           Better debug if no transform is possible.
8683
8684 2005-07-27  Wim Taymans  <wim@fluendo.com>
8685
8686         * docs/random/wtay/network-transp:
8687         Some old doc I had.
8688
8689 2005-07-27  Wim Taymans  <wim@fluendo.com>
8690
8691         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8692         (gst_dp_event_from_packet):
8693         Fix serialization of seek events.
8694
8695 2005-07-27  Wim Taymans  <wim@fluendo.com>
8696
8697         * check/gst-libs/gdp.c: (GST_START_TEST):
8698         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8699         Fix compilation and fix event serialization.
8700
8701 2005-07-27  Wim Taymans  <wim@fluendo.com>
8702
8703         * CHANGES-0.9:
8704         * docs/design/part-TODO.txt:
8705         * docs/design/part-events.txt:
8706         Some docs updates
8707
8708         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8709         (gst_base_sink_event), (gst_base_sink_do_sync),
8710         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8711         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8712         (gst_base_src_do_seek), (gst_base_src_event_handler),
8713         (gst_base_src_loop):
8714         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8715         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8716         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8717         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8718         (gst_base_transform_set_passthrough),
8719         (gst_base_transform_is_passthrough):
8720         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8721         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8722         Event updates.
8723
8724         * gst/gstbuffer.h:
8725         Use faster casts.
8726
8727         * gst/gstelement.c: (gst_element_seek):
8728         * gst/gstelement.h:
8729         Update gst_element_seek.
8730
8731         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8732         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8733         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8734         (gst_event_new_eos), (gst_event_new_newsegment),
8735         (gst_event_parse_newsegment), (gst_event_new_tag),
8736         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8737         (gst_event_parse_qos), (gst_event_new_seek),
8738         (gst_event_parse_seek), (gst_event_new_navigation):
8739         * gst/gstevent.h:
8740         Make GstEvent use GstStructure. Add parsing code, make sure the
8741         API is sufficiently generic.
8742         Mark possible directions of events and serialization.
8743
8744         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8745         (_gst_message_copy), (gst_message_new_segment_start),
8746         (gst_message_new_segment_done), (gst_message_new_custom),
8747         (gst_message_parse_segment_start),
8748         (gst_message_parse_segment_done):
8749         Small cleanups.
8750
8751         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8752         (gst_pad_set_caps), (gst_pad_send_event):
8753         Update for new events. 
8754         Catch events sent in wrong directions.
8755
8756         * gst/gstqueue.c: (gst_queue_link_src),
8757         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8758         (gst_queue_handle_src_query):
8759         Event updates.
8760
8761         * gst/gsttag.c:
8762         * gst/gsttag.h:
8763         Remove event code from this file.
8764
8765         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8766         (gst_dp_event_from_packet):
8767         Event updates.
8768
8769 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8770
8771         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8772         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8773         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8774           Make debugging actually useful.
8775
8776 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8777
8778         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8779         (gst_pad_fixate_caps):
8780           Implement default fixation once again, so that gst_pad_fixate()
8781           actually does anything at all. This probably needs to be some
8782           sort of a last resort, and use profile-based fixation first, but
8783           since that doesn't exist yet, this is the best we have. Fixes
8784           visualization in Totem.
8785
8786 2005-07-22  Wim Taymans  <wim@fluendo.com>
8787
8788         * docs/design/part-events.txt:
8789         Small update.
8790
8791         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8792         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8793         (gst_base_sink_activate_pull):
8794         Some more comments.
8795
8796         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8797         (gst_fake_src_create):
8798         Fix handoff marshall.
8799
8800         * gst/elements/gstidentity.c: (gst_identity_class_init),
8801         (gst_identity_transform_ip):
8802         We're a real inplace element.
8803
8804         * gst/gstbus.c: (gst_bus_post):
8805         Added some comments.
8806
8807         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8808         * tests/muxing/case1.c: (main):
8809         * tests/sched/dynamic-pipeline.c: (main):
8810         * tests/sched/interrupt1.c: (main):
8811         * tests/sched/interrupt2.c: (main):
8812         * tests/sched/interrupt3.c: (main):
8813         * tests/sched/runxml.c: (main):
8814         * tests/sched/sched-stress.c: (main):
8815         * tests/seeking/seeking1.c: (event_received), (main):
8816         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8817         (main):
8818         * tests/threadstate/threadstate3.c: (main):
8819         * tests/threadstate/threadstate4.c: (main):
8820         * tests/threadstate/threadstate5.c: (main):
8821         Fix the tests.
8822
8823 2005-07-21  Wim Taymans  <wim@fluendo.com>
8824
8825         * docs/design/part-seeking.txt:
8826         Some small additions.
8827
8828         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8829         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8830         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8831         * gst/base/gstbasesink.h:
8832         discont values are gint64, handle the math correctly.
8833
8834         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8835         Make the basesrc report error if the source pad is not linked.
8836
8837         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8838         (gst_queue_loop), (gst_queue_handle_src_query),
8839         (gst_queue_src_activate_push):
8840         Make queue collect data even if the srcpad is not linked.
8841         Start pushing out data as soon as it is linked.
8842
8843         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8844         * gst/gstutils.h:
8845         Added gst_flow_get_name() to ease error reporting.
8846
8847 2005-07-20  Wim Taymans  <wim@fluendo.com>
8848
8849         * gst/gstmessage.c: (gst_message_new_segment_start),
8850         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8851         (gst_message_parse_segment_done):
8852         * gst/gstmessage.h:
8853         Added a bunch of messages for advanced seeking.
8854
8855         * gst/parse/grammar.y:
8856         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8857         (gst_dpman_state_changed):
8858         Fix some new-pad -> pad-added signals
8859
8860 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8861
8862         * docs/manual/appendix-porting.xml:
8863         * docs/pwg/appendix-porting.xml:
8864           Document new-pad/state-change signal renames and the FixedList
8865           type rename.
8866
8867 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8868
8869         * docs/manual/advanced-autoplugging.xml:
8870         * docs/manual/basics-helloworld.xml:
8871         * docs/manual/basics-pads.xml:
8872         * docs/random/ds/0.9-suggested-changes:
8873         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8874         * gst/gstelement.h:
8875         * gst/gstevent.h:
8876         * gst/gstformat.h:
8877         * gst/gstquery.h:
8878         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8879         (gst_structure_parse_array), (gst_structure_parse_value):
8880         * gst/gstvalue.c: (gst_type_is_fixed),
8881         (gst_value_list_prepend_value), (gst_value_list_append_value),
8882         (gst_value_list_get_size), (gst_value_list_get_value),
8883         (gst_value_transform_array_string), (gst_value_serialize_array),
8884         (gst_value_deserialize_array), (gst_value_intersect_array),
8885         (gst_value_is_fixed), (_gst_value_initialize):
8886         * gst/gstvalue.h:
8887           GstElement::new-pad -> pad-added, GstElement::state-change ->
8888           state-changed, GstValueFixedList -> GstValueArray, add format and
8889           flags as their own arguments in gst_element_seek() (should improve
8890           "bindeability"), remove function generators since they don't work
8891           under a whole bunch of compilers (they were deprecated already
8892           anyway).
8893
8894 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8895
8896         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8897         (_gst_debug_register_funcptr):
8898         * gst/gstinfo.h:
8899           Fix illegal cast on some platforms (#309253).
8900
8901 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8902
8903         * gst/gstmessage.c: (gst_message_new_custom):
8904         * gst/gstmessage.h:
8905           Add _new_custom, make _new_application a macro to _new_custom.
8906
8907 2005-07-20  Wim Taymans  <wim@fluendo.com>
8908
8909         * gst/base/gstbasesrc.c: (gst_base_src_init),
8910         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8911         * gst/base/gstbasesrc.h:
8912         Add a gboolean to decide when to push out a discont.
8913
8914         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8915         (gst_queue_loop), (gst_queue_handle_src_query),
8916         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8917         (gst_queue_set_property), (gst_queue_get_property):
8918         Some cleanups.
8919
8920         * tests/threadstate/threadstate1.c: (main):
8921         Make a thread test compile and run... very silly..
8922
8923
8924 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8925
8926         * docs/manual/appendix-porting.xml:
8927           Mention removal of libgstgconf-0.9.la and existence of gconf
8928           elements.
8929
8930 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8931
8932         * docs/pwg/advanced-clock.xml:
8933         * docs/pwg/appendix-porting.xml:
8934         * docs/pwg/intro-preface.xml:
8935         * docs/pwg/other-base.xml:
8936         * docs/pwg/other-manager.xml:
8937         * docs/pwg/other-nton.xml:
8938         * docs/pwg/other-ntoone.xml:
8939         * docs/pwg/other-oneton.xml:
8940         * docs/pwg/pwg.xml:
8941           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8942           demuxer), remove n-to-n (was never written), fix some code examples
8943           and links and update the porting section to include all this.
8944
8945 2005-07-19  Wim Taymans  <wim@fluendo.com>
8946
8947         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8948         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8949         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8950         (gst_queue_src_activate_push), (gst_queue_change_state),
8951         (gst_queue_get_property):
8952         * gst/gstqueue.h:
8953         Propagate GstFlowReturn more intelligently upstream and output
8954         an ERROR/EOS when streaming stopped due to fatal error.
8955
8956 2005-07-19  Wim Taymans  <wim@fluendo.com>
8957
8958         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8959         Don't block forever for the state change to complete, the
8960         pipeline already did with a sensible timeout.
8961
8962 2005-07-19  Wim Taymans  <wim@fluendo.com>
8963
8964         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8965         Make sure we never call the create function is we
8966         got deactivated.
8967
8968 2005-07-19  Andy Wingo  <wingo@pobox.com>
8969
8970         * gst/parse/parse.l: Attempt to solve bug #172815.
8971
8972 2005-07-19  Wim Taymans  <wim@fluendo.com>
8973
8974         * docs/design/part-clocks.txt:
8975         * docs/design/part-events.txt:
8976         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8977         Small docs updates.
8978         Only update the seeking values when we are not
8979         busy streaming.
8980
8981 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8982
8983         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8984           Oops, ignore the result of gst_pad_push_event here.
8985
8986 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8987
8988         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8989         (gst_base_src_activate_push):
8990           Send discont event from the loop function, as pads
8991           aren't activated yet in the activate_push handler.
8992
8993         * gst/gstbin.c: (bin_bus_handler):
8994           Don't leak element name.
8995
8996 2005-07-18  Andy Wingo  <wingo@pobox.com>
8997
8998         * configure.ac: Use AS_LIBTOOL_TAGS.
8999
9000 2005-07-18  Wim Taymans  <wim@fluendo.com>
9001
9002         * docs/gst/gstreamer.types:
9003         Remove deleted types.
9004
9005 2005-07-18  Wim Taymans  <wim@fluendo.com>
9006
9007         * check/elements/gstfakesrc.c: (GST_START_TEST):
9008         * configure.ac:
9009         * gst/Makefile.am:
9010         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9011         (init_popt_callback):
9012         * gst/gst.h:
9013         * gst/gst_private.h:
9014         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9015         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9016         * gst/gstbin.h:
9017         * gst/gstbus.h:
9018         * gst/gstconfig.h.in:
9019         * gst/gstelement.c: (gst_element_class_init),
9020         (gst_element_set_base_time), (gst_element_get_base_time),
9021         (iterator_fold_with_resync), (gst_element_change_state),
9022         (gst_element_dispose), (gst_element_get_bus):
9023         * gst/gstelement.h:
9024         * gst/gstelementfactory.h:
9025         * gst/gsterror.c: (_gst_core_errors_init):
9026         * gst/gsterror.h:
9027         * gst/gstevent.h:
9028         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9029         * gst/gstindex.c:
9030         * gst/gstinfo.c: (_gst_debug_init):
9031         * gst/gstmessage.c: (_gst_message_copy):
9032         * gst/gstmessage.h:
9033         * gst/gstminiobject.h:
9034         * gst/gstobject.c:
9035         * gst/gstobject.h:
9036         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9037         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9038         * gst/gstpad.h:
9039         * gst/gstparse.h:
9040         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9041         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9042         (gst_pipeline_get_last_stream_time):
9043         * gst/gstpipeline.h:
9044         * gst/gstpluginfeature.h:
9045         * gst/gstquery.h:
9046         * gst/gstscheduler.c:
9047         * gst/gstscheduler.h:
9048         * gst/gststructure.h:
9049         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9050         (gst_task_finalize), (gst_task_func), (gst_task_create),
9051         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9052         (gst_task_stop), (gst_task_pause):
9053         * gst/gsttask.h:
9054         * gst/gsttypefind.h:
9055         * gst/gsttypes.h:
9056         * gst/registries/gstlibxmlregistry.c: (load_feature),
9057         (gst_xml_registry_load), (gst_xml_registry_save_feature):
9058         * gst/registries/gstxmlregistry.c:
9059         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9060         * gst/schedulers/threadscheduler.c:
9061         * libs/gst/control/dparammanager.h:
9062         * tools/gst-inspect.c: (print_element_list),
9063         (print_plugin_features), (print_element_features):
9064         * tools/gst-xmlinspect.c: (print_element_list),
9065         (print_plugin_info), (main):
9066         Removed plugable schedulers.
9067         Removed Scheduler/Manager from elements.
9068         Removed gsttypes.h, rearranged includes.
9069         Removed dependency pad<->element, element<>pipeline, and
9070         various others,  fix includes.
9071         implement gst_pad_get_parent() with gst_object_get_parent()
9072         Make GstTask sefcontained.
9073         Fix _get_state() on GstBin, it did not return ASYNC with a 0
9074         timeout.
9075         Fix endless loop in iterator_fold_with_resync.
9076
9077
9078 2005-07-18  Wim Taymans  <wim@fluendo.com>
9079
9080         * gst/Makefile.am:
9081         * gst/gstarch.h:
9082         Remove old file.
9083
9084 2005-07-18  Wim Taymans  <wim@fluendo.com>
9085
9086         * gst/Makefile.am:
9087         No more cothreads.h
9088
9089 2005-07-18  Wim Taymans  <wim@fluendo.com>
9090
9091         * gst/cothreads.c:
9092         * gst/cothreads.h:
9093         Let's remove these.
9094
9095 2005-07-18  Wim Taymans  <wim@fluendo.com>
9096
9097         * docs/design/part-dynamic.txt:
9098         * docs/design/part-events.txt:
9099         * docs/design/part-seeking.txt:
9100         Some more docs in the works.
9101
9102         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9103         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9104         (gst_base_transform_setcaps), (gst_base_transform_get_size),
9105         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9106         (gst_base_transform_handle_buffer),
9107         (gst_base_transform_sink_activate_push),
9108         (gst_base_transform_src_activate_pull),
9109         (gst_base_transform_set_passthrough),
9110         (gst_base_transform_is_passthrough):
9111         Refcounting fixes.
9112
9113         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9114         Cleanups.
9115
9116         * gst/gstevent.c: (gst_event_finalize):
9117         Set SRC to NULL.
9118
9119         * gst/gstutils.c: (gst_element_unlink),
9120         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9121         (gst_pad_proxy_setcaps):
9122         * gst/gstutils.h:
9123         Add _get_parent_element() to get a pads parent as an element.
9124
9125 2005-07-18  Wim Taymans  <wim@fluendo.com>
9126
9127         * check/gst/gstbin.c: (GST_START_TEST):
9128         Remove bogus test.
9129
9130 2005-07-18  Wim Taymans  <wim@fluendo.com>
9131
9132         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9133         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9134         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9135         (gst_base_sink_event), (gst_base_sink_do_sync),
9136         (gst_base_sink_chain), (gst_base_sink_loop),
9137         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9138         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9139         Refcounting fixes.
9140         Fix logic for returning ASYNC when not prerolled.
9141
9142 2005-07-18  Wim Taymans  <wim@fluendo.com>
9143
9144         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9145         Fix nasty refcount bug.
9146
9147 2005-07-16 Philippe Khalaf <burger@speedy.org>
9148
9149         * gst/elements/gstfdsrc.c:
9150         * gst/elements/gstfdsrc.h:
9151         * gst/elements/gstelements.c:
9152         * gst/elements/Makefile.am:
9153         Ported fdsrc to 0.9.
9154
9155 2005-07-16  Wim Taymans  <wim@fluendo.com>
9156
9157         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9158         (gst_base_sink_do_sync):
9159         Fix compile error.
9160
9161 2005-07-16  Wim Taymans  <wim@fluendo.com>
9162
9163         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9164         (gst_base_sink_event), (gst_base_sink_get_times),
9165         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9166         * gst/base/gstbasesink.h:
9167         Store and use discont values when syncing buffers as described
9168         in design docs.
9169         
9170         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9171         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9172         (gst_base_src_activate_push):
9173         Push discont event when starting.
9174
9175         * gst/elements/gstidentity.c: (gst_identity_transform):
9176         Small cleanups.
9177
9178         * gst/gstbin.c: (gst_bin_change_state):
9179         Small cleanups in base_time  distribution.
9180
9181         * gst/gstelement.c: (gst_element_set_base_time),
9182         (gst_element_get_base_time), (gst_element_change_state):
9183         * gst/gstelement.h:
9184         Added methods for the base_time of the element.
9185         Some MT fixes.
9186
9187         * gst/gstpipeline.c: (gst_pipeline_send_event),
9188         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9189         (gst_pipeline_get_last_stream_time):
9190         * gst/gstpipeline.h:
9191         MT fixes.
9192         Handle seeking as described in design doc, remove stream_time
9193         hack.
9194         Cleanups clock and stream_time selection code. Added accessors
9195         for the stream_time.
9196         
9197
9198 2005-07-16  Andy Wingo  <wingo@pobox.com>
9199
9200         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9201         (#305291).
9202
9203 2005-07-16  Wim Taymans  <wim@fluendo.com>
9204
9205         * check/gst/gstbin.c: (GST_START_TEST):
9206         Make elements silent as the deep_notify refs the
9207         parent, which might make the test fail.
9208
9209         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9210         Don't hold the lock for too long.
9211
9212 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9213
9214         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9215           Don't unref the caps we passed to gst_caps_make_writable() after
9216           passing them. gst_caps_make_writable() will do that for us.
9217
9218 2005-07-15  Andy Wingo  <wingo@pobox.com>
9219
9220         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9221         (#157311).
9222
9223         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9224         own marshalling function for the handoff signal. Properly type the
9225         buffer as a buffer. Fixes some warnings. Should do a more general
9226         solution.
9227         (gst_identity_class_init): Plug into the right marshaller.
9228
9229 2005-07-15  Wim Taymans  <wim@fluendo.com>
9230
9231         * docs/design/part-TODO.txt:
9232         * docs/design/part-clocks.txt:
9233         * docs/design/part-element-sink.txt:
9234         * docs/design/part-events.txt:
9235         * docs/design/part-gstpipeline.txt:
9236         Updated docs, mostly DISCONT related.
9237
9238 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9239
9240         * docs/pwg/building-pads.xml:
9241           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9242
9243 2005-07-15  Andy Wingo  <wingo@pobox.com>
9244
9245         * tools/gst-typefind.c: Update, add copyright block.
9246
9247         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9248         Normalize and truncate caps before fixation.
9249
9250         * gst/gstcaps.h:
9251         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9252         discards all but the first structure from its argument.
9253
9254 2005-07-15  Wim Taymans  <wim@fluendo.com>
9255
9256         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9257         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9258         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9259         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9260         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9261         (gst_base_transform_chain), (gst_base_transform_change_state),
9262         (gst_base_transform_set_passthrough),
9263         (gst_base_transform_is_passthrough):
9264         * gst/base/gstbasetransform.h:
9265         Make passthrough work using the bufferpools.
9266         Changed API a bit, subclasses have to write into a buffer
9267         provided by the base class.
9268         More debug info in nego functions.
9269         
9270         * gst/elements/gstidentity.c: (gst_identity_init),
9271         (gst_identity_transform):
9272         Port to new base class.
9273
9274 2005-07-15  Wim Taymans  <wim@fluendo.com>
9275
9276         * gst/gstmessage.c: (gst_message_new_state_changed):
9277         * tools/gst-launch.c: (event_loop), (main):
9278         Totally dump messages in -launch with the -m option.
9279         Fix message name for State messages,
9280
9281 2005-07-14  Wim Taymans  <wim@fluendo.com>
9282
9283         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9284         Post error messages on errors.
9285
9286 2005-07-14  Wim Taymans  <wim@fluendo.com>
9287
9288         * gst/gstcaps.c: (gst_caps_do_simplify):
9289         Remove debug info.
9290
9291         * gst/gsterror.h:
9292         Define error for stream stopped.
9293
9294         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9295         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9296         Do proper return values.
9297
9298         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9299         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9300         (gst_pad_get_range):
9301         Better return values.
9302
9303         * gst/gstpad.h:
9304         Reorganise return values, add macro to check for fatal errors.
9305
9306         * gst/gstqueue.c: (gst_queue_chain):
9307         Return proper GstFlowReturn values,
9308
9309 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9310
9311         * docs/gst/gstreamer-sections.txt:
9312         * docs/gst/gstreamer.types:
9313         * docs/gst/tmpl/gst.sgml:
9314         * docs/gst/tmpl/gstbasesink.sgml:
9315         * docs/gst/tmpl/gstbasesrc.sgml:
9316         * docs/gst/tmpl/gstbasetransform.sgml:
9317         * docs/gst/tmpl/gstbin.sgml:
9318         * docs/gst/tmpl/gstbuffer.sgml:
9319         * docs/gst/tmpl/gstcaps.sgml:
9320         * docs/gst/tmpl/gstclock.sgml:
9321         * docs/gst/tmpl/gstcompat.sgml:
9322         * docs/gst/tmpl/gstconfig.sgml:
9323         * docs/gst/tmpl/gstelement.sgml:
9324         * docs/gst/tmpl/gstelementdetails.sgml:
9325         * docs/gst/tmpl/gstelementfactory.sgml:
9326         * docs/gst/tmpl/gstenumtypes.sgml:
9327         * docs/gst/tmpl/gsterror.sgml:
9328         * docs/gst/tmpl/gstevent.sgml:
9329         * docs/gst/tmpl/gstfakesink.sgml:
9330         * docs/gst/tmpl/gstfakesrc.sgml:
9331         * docs/gst/tmpl/gstfilesink.sgml:
9332         * docs/gst/tmpl/gstfilesrc.sgml:
9333         * docs/gst/tmpl/gstfilter.sgml:
9334         * docs/gst/tmpl/gstformat.sgml:
9335         * docs/gst/tmpl/gstghostpad.sgml:
9336         * docs/gst/tmpl/gstimplementsinterface.sgml:
9337         * docs/gst/tmpl/gstindex.sgml:
9338         * docs/gst/tmpl/gstindexfactory.sgml:
9339         * docs/gst/tmpl/gstinfo.sgml:
9340         * docs/gst/tmpl/gstiterator.sgml:
9341         * docs/gst/tmpl/gstmacros.sgml:
9342         * docs/gst/tmpl/gstmemchunk.sgml:
9343         * docs/gst/tmpl/gstminiobject.sgml:
9344         * docs/gst/tmpl/gstobject.sgml:
9345         * docs/gst/tmpl/gstpad.sgml:
9346         * docs/gst/tmpl/gstpadtemplate.sgml:
9347         * docs/gst/tmpl/gstparse.sgml:
9348         * docs/gst/tmpl/gstpipeline.sgml:
9349         * docs/gst/tmpl/gstplugin.sgml:
9350         * docs/gst/tmpl/gstpluginfeature.sgml:
9351         * docs/gst/tmpl/gstquery.sgml:
9352         * docs/gst/tmpl/gstqueue.sgml:
9353         * docs/gst/tmpl/gstregistry.sgml:
9354         * docs/gst/tmpl/gstregistrypool.sgml:
9355         * docs/gst/tmpl/gstscheduler.sgml:
9356         * docs/gst/tmpl/gstschedulerfactory.sgml:
9357         * docs/gst/tmpl/gststructure.sgml:
9358         * docs/gst/tmpl/gstsystemclock.sgml:
9359         * docs/gst/tmpl/gsttaglist.sgml:
9360         * docs/gst/tmpl/gsttagsetter.sgml:
9361         * docs/gst/tmpl/gsttrace.sgml:
9362         * docs/gst/tmpl/gsttrashstack.sgml:
9363         * docs/gst/tmpl/gsttypefind.sgml:
9364         * docs/gst/tmpl/gsttypefindfactory.sgml:
9365         * docs/gst/tmpl/gsttypes.sgml:
9366         * docs/gst/tmpl/gsturihandler.sgml:
9367         * docs/gst/tmpl/gsturitype.sgml:
9368         * docs/gst/tmpl/gstutils.sgml:
9369         * docs/gst/tmpl/gstvalue.sgml:
9370         * docs/gst/tmpl/gstversion.sgml:
9371         * docs/gst/tmpl/gstxml.sgml:
9372         * docs/libs/tmpl/gstcontrol.sgml:
9373         * docs/libs/tmpl/gstdataprotocol.sgml:
9374         * docs/libs/tmpl/gstdparam.sgml:
9375         * docs/libs/tmpl/gstdplinint.sgml:
9376         * docs/libs/tmpl/gstdpman.sgml:
9377         * docs/libs/tmpl/gstdpsmooth.sgml:
9378         * docs/libs/tmpl/gstgetbits.sgml:
9379         * docs/libs/tmpl/gstunitconvert.sgml:
9380         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9381         (gst_push_src_base_init), (gst_push_src_class_init),
9382         (gst_push_src_init), (gst_push_src_create):
9383         * gst/base/gstpushsrc.h:
9384         * gst/elements/gstelements.c:
9385         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9386         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9387         (gst_fake_sink_init), (gst_fake_sink_set_property),
9388         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9389         (gst_fake_sink_event), (gst_fake_sink_preroll),
9390         (gst_fake_sink_render), (gst_fake_sink_change_state):
9391         * gst/elements/gstfakesink.h:
9392         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9393         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9394         (gst_fake_src_base_init), (gst_fake_src_class_init),
9395         (gst_fake_src_init), (gst_fake_src_event_handler),
9396         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9397         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9398         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9399         (gst_fake_src_create_buffer), (gst_fake_src_create),
9400         (gst_fake_src_start), (gst_fake_src_stop):
9401         * gst/elements/gstfakesrc.h:
9402         * gst/elements/gstfilesink.c: (_do_init),
9403         (gst_file_sink_base_init), (gst_file_sink_class_init),
9404         (gst_file_sink_init), (gst_file_sink_dispose),
9405         (gst_file_sink_set_location), (gst_file_sink_set_property),
9406         (gst_file_sink_get_property), (gst_file_sink_open_file),
9407         (gst_file_sink_close_file), (gst_file_sink_query),
9408         (gst_file_sink_event), (gst_file_sink_render),
9409         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9410         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9411         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9412         * gst/elements/gstfilesink.h:
9413         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9414         (gst_file_src_class_init), (gst_file_src_init),
9415         (gst_file_src_finalize), (gst_file_src_set_location),
9416         (gst_file_src_set_property), (gst_file_src_get_property),
9417         (gst_file_src_map_region), (gst_file_src_map_small_region),
9418         (gst_file_src_create_mmap), (gst_file_src_create_read),
9419         (gst_file_src_create), (gst_file_src_is_seekable),
9420         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9421         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9422         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9423         (gst_file_src_uri_handler_init):
9424         * gst/elements/gstfilesrc.h:
9425           more autistic cleanliness in functions/names/defines
9426
9427 2005-07-13  Andy Wingo  <wingo@pobox.com>
9428
9429         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9430         source couldn't negotiate.
9431
9432         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9433         connections again.
9434
9435         * gst/gstutils.h:
9436         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9437         function. I am channeling Hades. Put your boots on suckers!!!
9438
9439 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9440
9441         * testsuite/caps/Makefile.am:
9442         * testsuite/caps/value_compare.c:
9443         * testsuite/caps/value_intersect.c:
9444         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9445           move two testsuite apps over to the check dir
9446
9447 2005-07-12  Wim Taymans  <wim@fluendo.com>
9448
9449         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9450         Added more debug info in the negotiate process.
9451
9452         * gst/gstmessage.h:
9453         Prepare for segment playback.
9454
9455         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9456         Better debugging.
9457
9458         * gst/gstutils.c:
9459         Some more docs.
9460
9461         * tools/gst-launch.c: (main):
9462         NULL pipeline on errors.
9463
9464 2005-07-12  Andy Wingo  <wingo@pobox.com>
9465
9466         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9467         not it comes from a malloc region. Make sure our copy gets freed.
9468
9469 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9470
9471         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9472         * check/gst/gstmessage.c: (GST_START_TEST):
9473         * check/gst/gststructure.c: (GST_START_TEST),
9474         (gst_structure_suite), (main):
9475           more testing
9476         * gst/gstelement.c: (gst_element_message_full):
9477           clean up GError and debug string now that they get copied
9478         * gst/gstmessage.c: (gst_message_new_error),
9479         (gst_message_new_warning), (gst_message_parse_error),
9480         (gst_message_parse_warning):
9481           use GST_TYPE_G_ERROR for structure_new, and take copies of
9482           arguments, so that we don't mess up refcounting
9483
9484 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9485
9486         * check/Makefile.am:
9487           add per-test valgrind targets
9488         * check/gst-libs/gdp.c: (GST_START_TEST),
9489         (gst_data_protocol_suite), (main):
9490           clean up
9491
9492 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9493
9494         * check/Makefile.am:
9495           instate more valgrindable tests
9496         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9497         (GST_START_TEST), (fakesrc_suite):
9498         * check/gst/gstpad.c: (GST_START_TEST):
9499         * check/gst/gststructure.c: (GST_START_TEST):
9500           fix test leaks
9501         * docs/gst/tmpl/gstminiobject.sgml:
9502         * gst/gstpad.c: (gst_pad_finalize):
9503           fix the static mutex leak
9504
9505 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9506
9507         * check/Makefile.am:
9508           add two more tests for valgrinding
9509         * check/gst/gstvalue.c: (GST_START_TEST):
9510           test refcount of deserialized buffer, found a leak
9511         * docs/gst/gstreamer-docs.sgml:
9512         * docs/gst/gstreamer-sections.txt:
9513         * docs/gst/gstreamer.types:
9514         * docs/gst/tmpl/gstminiobject.sgml:
9515           add miniobject to docs
9516         * gst/gstminiobject.c:
9517           add some docs
9518         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9519         (gst_string_unwrap):
9520           fix a hard-to-find invalid write for one of the tests
9521           fix a leak for deserialized buffers
9522
9523 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9524
9525         * docs/pwg/advanced-events.xml:
9526         * docs/pwg/advanced-request.xml:
9527         * docs/pwg/advanced-scheduling.xml:
9528         * docs/pwg/appendix-porting.xml:
9529         * docs/pwg/building-boiler.xml:
9530         * docs/pwg/intro-preface.xml:
9531         * docs/pwg/other-ntoone.xml:
9532           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9533           of example code and explanation for pad activation, loop() and
9534           getrange() functions and a bit more. Remove old comments pointing
9535           to loop-functions.
9536         * examples/pwg/Makefile.am:
9537           Add loop/getrange examples.
9538
9539 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9540
9541         * configure.ac:
9542           check for valgrind binary + some fixes
9543         * check/gst.supp:
9544           valgrind suppressions for the tests
9545         * check/Makefile.am:
9546           add a valgrind: target that valgrinds the unit tests
9547         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9548         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9549         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9550         * check/gst/gstghostpad.c:
9551           added some cleanup
9552         * check/gst/gstdata.c:
9553           removed
9554         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9555         (thread_unref), (gst_mini_object_suite), (main):
9556           added
9557         * gst/gst.c: (gst_deinit):
9558         * gst/gst.h:
9559           add a method to clean up.
9560         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9561         (gst_system_clock_obtain):
9562           allow for disposing the system clock.
9563         * tools/gst-launch.c: (main):
9564           deinit
9565
9566 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9567
9568         * docs/gst/tmpl/gstbasesrc.sgml:
9569         * docs/gst/tmpl/gstfakesrc.sgml:
9570         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9571         (gst_base_src_init), (gst_base_src_set_property),
9572         (gst_base_src_get_property), (gst_base_src_get_range),
9573         (gst_base_src_start):
9574         * gst/base/gstbasesrc.h:
9575           add num-buffers property
9576         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9577         (gst_fakesrc_init), (gst_fakesrc_set_property),
9578         (gst_fakesrc_get_property), (gst_fakesrc_create),
9579         (gst_fakesrc_start):
9580           remove num-buffers property
9581
9582 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9583
9584         * docs/gst/gstreamer-sections.txt:
9585         * docs/gst/tmpl/gstbasesink.sgml:
9586         * docs/gst/tmpl/gstbasesrc.sgml:
9587         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9588         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9589         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9590         (gst_base_sink_set_property), (gst_base_sink_get_property),
9591         (gst_base_sink_handle_object), (gst_base_sink_event),
9592         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9593         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9594         (gst_base_sink_loop), (gst_base_sink_deactivate),
9595         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9596         (gst_base_sink_change_state):
9597         * gst/base/gstbasesink.h:
9598         * gst/base/gstbasesrc.h:
9599         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9600         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9601         (gst_filesink_init):
9602           more macro splitting
9603
9604 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9605
9606         * gst/gstelement.c: (gst_element_get_bus):
9607           add debug
9608         * tools/gst-launch.c: (check_intr), (event_loop):
9609           fix bus leaks
9610
9611 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9612
9613         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9614           fix a caps leak
9615
9616 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9617
9618         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9619         (gst_base_src_finalize):
9620           add finalize method and clean up properly
9621         * gst/gstpipeline.c: (gst_pipeline_dispose):
9622           add debug
9623
9624 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9625
9626         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9627         (gst_bin_suite):
9628           add more things to check
9629         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9630         * gst/gstelement.c:
9631           more debug
9632
9633 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9634
9635         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9636         (GST_START_TEST), (fakesrc_suite):
9637         * check/gst-libs/gdp.c: (GST_START_TEST):
9638         * check/gst/gst.c: (GST_START_TEST):
9639         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9640         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9641         * check/gst/gstbus.c: (GST_START_TEST):
9642         * check/gst/gstcaps.c: (GST_START_TEST):
9643         * check/gst/gstdata.c: (GST_START_TEST):
9644         * check/gst/gstelement.c: (GST_START_TEST):
9645         * check/gst/gstghostpad.c: (GST_START_TEST):
9646         * check/gst/gstiterator.c: (GST_START_TEST):
9647         * check/gst/gstmessage.c: (GST_START_TEST):
9648         * check/gst/gstobject.c: (GST_START_TEST):
9649         * check/gst/gstpad.c: (GST_START_TEST):
9650         * check/gst/gststructure.c: (GST_START_TEST):
9651         * check/gst/gstsystemclock.c: (GST_START_TEST),
9652         (gst_systemclock_suite):
9653         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9654         * check/gst/gstvalue.c: (GST_START_TEST):
9655         * check/pipelines/cleanup.c: (GST_START_TEST):
9656         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9657         * check/states/sinks.c: (GST_START_TEST):
9658         * check/gstcheck.c: (gst_check_init):
9659         * check/gstcheck.h:
9660           add debugging category
9661           use GST_START_TEST now, so we add a debug line
9662
9663 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9664
9665         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9666           add test for state change message on a bin
9667         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9668           add another test
9669         * gst/gstbin.c: (gst_bin_init):
9670         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9671         * gst/gstelement.c: (gst_element_post_message),
9672         (gst_element_set_state):
9673         * gst/gstelementfactory.c: (gst_element_factory_create):
9674         * gst/gstmessage.c: (gst_message_new):
9675         * gst/gstscheduler.c:
9676           various debugging additions and cleanups
9677
9678 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9679
9680         * check/Makefile.am:
9681         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9682         (main):
9683           adding tests for elements
9684         * gst/gstelement.c: (gst_element_dispose):
9685
9686 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9687
9688         * gst/registries/gstlibxmlregistry.c: (load_feature):
9689           plug more leaks.  A simple gst_init() now is leakfree, yay.
9690
9691 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9692
9693         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9694         (gst_xml_registry_load):
9695           plug another memleak
9696
9697 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9698
9699         * configure.ac:
9700           use GST_SET_ERROR_CFLAGS
9701         * docs/faq/cvs.xml:
9702           change to ERROR_CFLAGS
9703
9704 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9705
9706         * configure.ac:
9707           make GST_ERROR_CFLAGS overridable and re-enable Werror
9708         * docs/faq/cvs.xml:
9709           add a note about error CFLAGS
9710         * docs/gst/tmpl/gstfakesrc.sgml:
9711         * gst/elements/gstfakesrc.c:
9712           comment out some unused code
9713         * gst/gst.c: (split_and_iterate):
9714         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9715         (load_feature):
9716           plug some memleaks
9717
9718 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9719
9720         * common/Makefile.am:
9721         * common/gtk-doc.mak:
9722         * docs/gst/Makefile.am:
9723           factor out gtk-doc.mak
9724
9725 2005-07-07  Wim Taymans  <wim@fluendo.com>
9726
9727         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9728         (gst_thread_scheduler_dispose):
9729         Unlock the STREAM_LOCK completely.
9730
9731 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9732
9733         * check/Makefile.am:
9734         * check/elements/.cvsignore:
9735         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9736         (START_TEST), (fakesrc_suite), (main):
9737         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9738         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9739         (gst_fakesrc_create), (gst_fakesrc_start):
9740         * gst/elements/gstfakesrc.h:
9741           adding a first element test
9742
9743 2005-07-07  Andy Wingo  <wingo@pobox.com>
9744
9745         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9746         debug message.
9747
9748 2005-07-07  Wim Taymans  <wim@fluendo.com>
9749
9750         * gst/gstquery.c:
9751         * gst/gstquery.h:
9752         Remove old types
9753
9754 2005-07-07  Wim Taymans  <wim@fluendo.com>
9755
9756         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9757         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9758         Allow subclasses to implement their own negotiation.
9759
9760 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9761
9762         * docs/design/part-gstbin.txt:
9763         * docs/design/part-gstpipeline.txt:
9764           Update design notes to reflect the movement of
9765           responsibility for bus handling from GstPipeline to
9766           GstBin
9767
9768 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9769
9770         * configure.ac:
9771           Remove unnecessary queue2/3/4 examples.
9772
9773 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9774
9775         * examples/Makefile.am:
9776         * examples/helloworld/helloworld.c: (event_loop), (main):
9777         * examples/queue/queue.c: (event_loop), (main):
9778         * examples/queue2/queue2.c: (main):
9779           Update a couple of the examples to work again.
9780
9781         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9782         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9783          Spelling corrections and extra debug.
9784         
9785         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9786         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9787         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9788         * gst/gstbin.h:
9789         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9790         (gst_pipeline_change_state):
9791         * gst/gstpipeline.h:
9792           Move the bus handler for children to the GstBin, and create a
9793           separate bus for receiving messages from children to the one the
9794           bus sends 'upwards' on.
9795
9796 2005-07-06  Wim Taymans  <wim@fluendo.com>
9797
9798         * gst/base/README:
9799         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9800         (gst_base_sink_handle_object), (gst_base_sink_loop),
9801         (gst_base_sink_change_state):
9802         * gst/base/gstbasesink.h:
9803         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9804         (gst_base_src_init), (gst_base_src_setcaps),
9805         (gst_base_src_getcaps), (gst_base_src_loop),
9806         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9807         (gst_base_src_start), (gst_base_src_change_state):
9808         * gst/base/gstbasesrc.h:
9809         Make basesrc negotiate.
9810         Handle the case where preroll fails in basesink.
9811         Update README.
9812
9813 2005-07-06  Wim Taymans  <wim@fluendo.com>
9814
9815         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9816         Implement the fixate function.
9817         Clean up acceptcaps.
9818
9819 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9820
9821         * docs/pwg/building-filterfactory.xml:
9822         * docs/pwg/pwg.xml:
9823           Remove never-written filter-factory chapter; I'll add the various
9824           base classes to part 4 ("other element types") later on.
9825
9826 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9827
9828         * docs/pwg/advanced-negotiation.xml:
9829         * docs/pwg/building-boiler.xml:
9830         * docs/pwg/building-pads.xml:
9831         * docs/pwg/pwg.xml:
9832         * examples/pwg/Makefile.am:
9833           Add a chapter on caps negotiation, simplify the original code
9834           samples a bit w.r.t. caps negotiation, add link to the advanced
9835           section. Add a bunch of examples showing different use cases of
9836           different types of caps negotiation. Upstream renegotiation isn't
9837           fully documented yet since nobody knows how that works.
9838
9839 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9840
9841         * check/gst/gstpad.c:
9842         * check/gstcheck.c:
9843         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9844           if pad has no parent, return NULL as list of internal links
9845
9846 2005-07-05  Andy Wingo  <wingo@pobox.com>
9847
9848         * gst/elements/gstfilesrc.c:
9849         * gst/elements/gstfakesrc.c: 
9850         * gst/base/gstpushsrc.c:
9851         * gst/base/gstbasesrc.h: 
9852         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9853         
9854 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9855
9856         * Makefile.am:
9857           better report generation target (lcov needs a patch)
9858
9859 2005-07-05  Andy Wingo  <wingo@pobox.com>
9860
9861         * gst/elements, testsuite: Null if we got it...
9862
9863 2005-07-05  Wim Taymans  <wim@fluendo.com>
9864
9865         * configure.ac:
9866         * libs/gst/dataprotocol/Makefile.am:
9867         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9868         * libs/gst/dataprotocol/dataprotocol.h:
9869         * pkgconfig/Makefile.am:
9870         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9871         * pkgconfig/gstreamer-dataprotocol.pc.in:
9872         Ported dataprotol to 0.9. 
9873         Added pkgconfig files.
9874
9875 2005-07-05  Andy Wingo  <wingo@pobox.com>
9876
9877         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9878         Default to returning TRUE for the case when tranform_caps returns
9879         a fixed caps, like for identity or volume.
9880
9881         * check/gst/gstbus.c (pound_bus_with_messages): 
9882         * check/gst/gstmessage.c (START_TEST): 
9883         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9884         message API change.
9885
9886         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9887         logic weaks here: always run transform_caps, trying passthrough
9888         operation only if the original caps intersects with the transform.
9889
9890         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9891         source and sink caps.
9892
9893         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9894         Intersect the peer caps with the pad template before going into
9895         transform_caps.
9896         (gst_base_transform_transform_caps): More debugging.
9897
9898         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9899         src argument.
9900
9901 2005-07-04  Edward Hervey  <edward@fluendo.com>
9902
9903         * gst/gstutils.c:
9904         * gst/gstutils.h:
9905         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9906         in bindings.
9907
9908 2005-07-04  Andy Wingo  <wingo@pobox.com>
9909
9910         * check/gst/gstpad.c: Only set explicit caps on pads.
9911
9912 2005-07-01  Andy Wingo  <wingo@pobox.com>
9913
9914         * tests/network-clock.scm: Commentary update.
9915
9916         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9917         Didn't really make sense, not implementable with basetransform,
9918         etc.
9919         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9920         attempt at implementing the sync property, needs an unlock method.
9921
9922         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9923         New func, by default returns the same caps (the identity
9924         transformation).
9925         (gst_base_transform_getcaps): Uses transform_caps to return
9926         something sensible.
9927         (gst_base_transform_setcaps): Complicated logic to get caps on
9928         both pads, even if they are different, and to call set_caps once
9929         for every time both pads get their caps set.
9930         (gst_base_transform_handle_buffer): Give the ref to the transform
9931         function. Allows in-place modification of the buffer.
9932
9933         * gst/base/gstbasetransform.h (transform_caps): New class method.
9934         Given caps on one side, what can I do on the other.
9935         (set_caps): Take two caps, one for each side of the element.
9936
9937         * gst/gstpad.h:
9938         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9939         caps in place. This is safe because we can check the mutability of
9940         the caps, and a good idea because fixate functions are just called
9941         as a matter of last resort. (Not actually implemented.)
9942         (gst_pad_set_caps): If the caps we're setting is actually the same
9943         as the existing pad caps, just update the pointer without calling
9944         setcaps. Assert that caps is either NULL or fixed, as per the
9945         docs.
9946
9947         * gst/gstghostpad.c: Update for fixate changes.
9948
9949 2005-07-02  Andy Wingo  <wingo@pobox.com>
9950
9951         * gst/gstcaps.c:
9952         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9953         two refcounts makes it immutable, which is enough. Doc more.
9954
9955 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9956
9957         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9958           Put the mini_object into GValue as a mini_object,
9959           not a gpointer, since that's how we declared
9960           the signal.
9961
9962 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9963
9964         * examples/pwg/Makefile.am:
9965           Fix buildbot again.
9966
9967 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9968
9969         * docs/pwg/building-testapp.xml:
9970           Add extra check.
9971         * examples/pwg/Makefile.am:
9972           Fix buildbot.
9973
9974 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9975
9976         * configure.ac:
9977         * examples/Makefile.am:
9978         * examples/pwg/Makefile.am:
9979         * examples/pwg/extract.pl:
9980           Enable building the PWG examples.
9981         * docs/pwg/advanced-interfaces.xml:
9982           Add URI interface stub.
9983         * docs/pwg/advanced-types.xml:
9984         * docs/pwg/other-autoplugger.xml:
9985         * docs/pwg/appendix-porting.xml:
9986         * docs/pwg/pwg.xml:
9987           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9988         * docs/pwg/building-boiler.xml:
9989         * docs/pwg/building-chainfn.xml:
9990         * docs/pwg/building-pads.xml:
9991         * docs/pwg/building-props.xml:
9992         * docs/pwg/building-state.xml:
9993         * docs/pwg/building-testapp.xml:
9994           Update the building-*.xml parts for 0.9 changes. All examples
9995           code blocks compile in examples/pwg/*.
9996
9997 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9998
9999         * docs/manual/advanced-autoplugging.xml:
10000         * docs/manual/appendix-checklist.xml:
10001         * docs/manual/appendix-integration.xml:
10002         * docs/manual/highlevel-components.xml:
10003           Fix playbin/decodebin examples, update docs a bit, mention bus
10004           instead of signals in various places, mention kmplayer and
10005           kaffeine since they have a working GStreamer backend in the KDE
10006           section.
10007
10008 2005-06-30  Wim Taymans  <wim@fluendo.com>
10009
10010         * CHANGES-0.9:
10011         * docs/design/draft-ghostpads.txt:
10012         * docs/design/draft-push-pull.txt:
10013         * docs/design/draft-query.txt:
10014         * docs/design/part-TODO.txt:
10015         * docs/design/part-query.txt:
10016         Added CHANGES-0.9 doc, updated status of other docs.
10017         
10018         * gst/gstquery.h:
10019         Remove "hmm" macro
10020
10021 2005-06-30  Wim Taymans  <wim@fluendo.com>
10022
10023         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10024         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10025         (gst_base_sink_change_state):
10026         * gst/base/gstbasesink.h:
10027         Some tweaks, only EOS and a buffer complete a preroll.
10028
10029 2005-06-30  Andy Wingo  <wingo@pobox.com>
10030
10031         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10032         activate_push down to the internal pad as well.
10033
10034 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
10035
10036         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10037
10038         * gst/gsttaginterface.c:
10039           Some documentation fixes (#307394 and #307397).
10040
10041 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
10042
10043         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10044
10045         * gst/gstvalue.c: (gst_value_intersect_list):
10046           Fix memleak (#309125).
10047
10048 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10049
10050         * docs/manual/advanced-dataaccess.xml:
10051           Fix fakesrc example to compile; doesn't work, bug somewhere...?
10052         * docs/manual/basics-pads.xml:
10053           Add reference for filtered caps to above chapter.
10054
10055 2005-06-30  Wim Taymans  <wim@fluendo.com>
10056
10057         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10058         (gst_bin_change_state):
10059         Probes are gone.
10060         Lame attempt at making the state change function a bit
10061         more readable.
10062
10063 2005-06-30  Wim Taymans  <wim@fluendo.com>
10064
10065         * docs/design/part-clocks.txt:
10066         * docs/design/part-element-sink.txt:
10067         * docs/design/part-events.txt:
10068         * docs/design/part-preroll.txt:
10069         * docs/design/part-states.txt:
10070         Some more tweeks and additions to the docs.
10071
10072 2005-06-30  Wim Taymans  <wim@fluendo.com>
10073
10074         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10075         (default_have_data), (gst_pad_class_init), (gst_pad_init),
10076         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10077         (gst_pad_check_pull_range), (gst_pad_get_range),
10078         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10079         * gst/gstpad.h:
10080         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10081         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10082         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10083         (gst_pad_remove_buffer_probe):
10084         Removed atomic operations, use existing LOCK.
10085         Move exception handling out of main code path.
10086
10087 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10088
10089         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10090         (silly_return_true_function), (gst_pad_class_init),
10091         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10092         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10093         (gst_pad_send_event):
10094           Fix accumulator, add default value by using _emitv() instead
10095           of _emit() for signal emission.
10096
10097 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10098
10099         * docs/manual/advanced-dataaccess.xml:
10100         * examples/manual/Makefile.am:
10101           Add probe example.
10102         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10103           Make work (??).
10104
10105 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
10106
10107         * gst/elements/gstfilesink.c: (gst_filesink_render):
10108           Simplify code so that we don't have to handle short
10109           writes and return GST_FLOW_ERROR if an error occured.
10110
10111 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10112
10113         * docs/gst/gstreamer-docs.sgml:
10114           Remove probes more.
10115
10116 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10117
10118         * docs/gst/gstreamer-sections.txt:
10119         * docs/gst/tmpl/gstpad.sgml:
10120         * docs/gst/tmpl/gstprobe.sgml:
10121         * gst/Makefile.am:
10122         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10123         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10124         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10125         (gst_pad_push_event), (gst_pad_send_event):
10126         * gst/gstpad.h:
10127         * gst/gstutils.c: (gst_pad_add_data_probe),
10128         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10129         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10130         (gst_pad_remove_buffer_probe):
10131         * gst/gstutils.h:
10132           Remove old probes, add new g-signal-based probes and some utility
10133           functions.
10134
10135 2005-06-29  Edward Hervey  <edward@fluendo.com>
10136
10137         * gst/gstelementfactory.c:
10138         * gst/gstutils.h:
10139         * gst/gstutils.c:
10140         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10141         the definition to the header file.
10142
10143 2005-06-29  Andy Wingo  <wingo@pobox.com>
10144
10145         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10146         plugins from the source directory.
10147
10148 2005-06-29  Wim Taymans  <wim@fluendo.com>
10149
10150         * docs/gst/tmpl/gstbuffer.sgml:
10151         * docs/gst/tmpl/gstclock.sgml:
10152         Some fixings for blantently wrong text.
10153
10154 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10155
10156         * check/Makefile.am:
10157         * gst/gst.c: (add_path_func), (init_pre):
10158         * gst/gstregistry.c: (gst_registry_add_path):
10159           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10160           only scan the GST_PLUGIN_PATH locations, and not add
10161           system locations
10162
10163 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10164
10165         * docs/gst/gstreamer-sections.txt:
10166         * docs/gst/tmpl/gstbasesrc.sgml:
10167         * gst/gstelement.c:
10168         * gst/gstelement.h:
10169         * gst/gstevent.c:
10170         * gst/gstutils.c:
10171           doc fixes
10172
10173 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10174
10175         * docs/manual/advanced-autoplugging.xml:
10176           Fix autoplugging example.
10177
10178 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10179
10180         * docs/manual/advanced-autoplugging.xml:
10181         * docs/manual/mime-world.fig:
10182           Try to get autoplugging working, fix type detection. Fix text
10183           in hello-world image.
10184
10185 2005-06-29  Wim Taymans  <wim@fluendo.com>
10186
10187         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10188         (gst_base_sink_change_state):
10189         Small debug line.
10190
10191         * gst/gstclock.h:
10192         map SIGNAL and BROADCAST to the right function.
10193
10194         * gst/gstobject.h:
10195         Remove redundant braces.
10196
10197         * gst/gstpad.c: (gst_pad_set_caps):
10198         Don't call setcaps function when reseting caps to NULL.
10199
10200         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10201         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10202         (gst_system_clock_id_unschedule):
10203         Use BROADCAST as this is what we do.
10204
10205 2005-06-29  Wim Taymans  <wim@fluendo.com>
10206
10207         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10208         We are actually prerolling before commiting the state
10209         change. 
10210
10211 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10212
10213         * docs/manual/advanced-clocks.xml:
10214         * docs/manual/advanced-interfaces.xml:
10215         * docs/manual/advanced-metadata.xml:
10216         * docs/manual/advanced-position.xml:
10217         * docs/manual/advanced-schedulers.xml:
10218         * docs/manual/advanced-threads.xml:
10219         * docs/manual/appendix-porting.xml:
10220         * docs/manual/basics-bins.xml:
10221         * docs/manual/basics-bus.xml:
10222         * docs/manual/basics-elements.xml:
10223         * docs/manual/basics-helloworld.xml:
10224         * docs/manual/basics-pads.xml:
10225         * docs/manual/highlevel-components.xml:
10226         * docs/manual/manual.xml:
10227         * docs/manual/thread.fig:
10228           Update (until threads/scheduling) Application Development Manual;
10229           remove GstThread, add GstBus, add simple porting checklist, add
10230           documentation for tag writing, clocks, make all examples until this
10231           part compile and run.
10232         * examples/manual/Makefile.am:
10233           Update from changes to Application Development Manual; add bus
10234           example, remove thread example.
10235
10236 2005-06-28  Wim Taymans  <wim@fluendo.com>
10237
10238         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10239         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10240         (gst_bus_source_dispatch):
10241         Add debugging messages.
10242         Make internal methods static.
10243         Handle the case where the bus is flushed in the handler.
10244         
10245         * gst/gstelement.c: (gst_element_get_bus):
10246         Fix refcount in _get_bus();
10247
10248         * gst/gstpipeline.c: (gst_pipeline_change_state),
10249         (gst_pipeline_get_clock_func):
10250         Clock refcounting fixes.
10251         Handle the case where preroll timed out more gracefully.
10252         
10253         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10254         Clean up the internal thread in dispose. This is needed
10255         for subclasses that actually get disposed.
10256         
10257         * gst/schedulers/threadscheduler.c:
10258         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10259         (gst_thread_scheduler_dispose):
10260         Free thread pool in dispose.
10261
10262 2005-06-28  Andy Wingo  <wingo@pobox.com>
10263
10264         * tests/network-clock-utils.scm (debug, print-event): New utils.
10265
10266         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10267         (*packet-loss*): Unified loss probability.
10268         (network-time): Report out-of-band events.
10269
10270         * tests/plot-data: Add support for out-of-band events. Hack it
10271         into this script instead of passing it down the pipe; should fix
10272         this later.
10273
10274 2005-06-28  Wim Taymans  <wim@fluendo.com>
10275
10276         * docs/gst/gstreamer.types:
10277         * docs/gst/tmpl/gstbasesrc.sgml:
10278         * docs/gst/tmpl/gstpad.sgml:
10279         Docs fixes.
10280
10281 2005-06-28  Wim Taymans  <wim@fluendo.com>
10282
10283         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10284         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10285         (gst_proxy_pad_do_fixatecaps):
10286         Correctly proxy the check_pull_range function.
10287
10288 2005-06-28  Andy Wingo  <wingo@pobox.com>
10289
10290         * tests/network-clock.scm: Removed need for slib.
10291         
10292 2005-06-28  Wim Taymans  <wim@fluendo.com>
10293
10294         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10295         (gst_basesink_preroll_queue_flush):
10296         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10297         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10298         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10299         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10300         (gst_proxy_pad_set_property):
10301         * gst/gstpad.c:
10302         * gst/gstpad.h:
10303         * gst/gstqueue.c: (gst_queue_init):
10304         The deprecated pad loop function is removed now.
10305
10306 2005-06-28  Andy Wingo  <wingo@pobox.com>
10307
10308         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10309         New parameters, simulate network packet loss.
10310
10311         * tests/network-clock-utils.scm: Initialize the RNG.
10312
10313 2005-06-28  Wim Taymans  <wim@fluendo.com>
10314
10315         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10316         (gst_basesink_event), (gst_basesink_deactivate):
10317         Flushing the preroll queue always needs to unlock the waiters.
10318
10319 2005-06-28  Edward Hervey  <edward@fluendo.com>
10320
10321         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10322         Wheen a seek was successful on a pipeline, set the stream_time to the
10323         seek offset in order to have a synchronized stream_time.
10324
10325 2005-06-28  Wim Taymans  <wim@fluendo.com>
10326
10327         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10328         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10329         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10330         (gst_proxy_pad_do_fixatecaps):
10331         Call wrapper function instead of just calling the function
10332         pointers. This takes care of any locking and whatmore.
10333
10334 2005-06-28  Wim Taymans  <wim@fluendo.com>
10335
10336         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10337         (gst_pad_pull_range):
10338         * gst/gstpad.h:
10339         CONNECTED -> LINKED.
10340
10341 2005-06-28  Andy Wingo  <wingo@pobox.com>
10342
10343         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10344         source-munging commit!!!
10345
10346         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10347         (gst_object_sink): Take gpointer arguments, not GstObject --
10348         avoids casts. Like GLib.
10349
10350         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10351         activate.
10352
10353 2005-06-27  Andy Wingo  <wingo@pobox.com>
10354
10355         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10356         remaining buffer.
10357
10358         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10359         returns a sorted copy of the trace list.
10360         (gst_alloc_trace_print_live): New API, only prints traces with
10361         live objects. Sort the list.
10362         (gst_alloc_trace_print_all): Sort the list.
10363         (gst_alloc_trace_print): Align columns.
10364
10365         * gst/elements/gstttypefindelement.c:
10366         * gst/elements/gsttee.c:
10367         * gst/base/gstbasesrc.c:
10368         * gst/base/gstbasesink.c:
10369         * gst/base/gstbasetransform.c:
10370         * gst/gstqueue.c: Adapt for pad activation changes.
10371
10372         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10373         sched.
10374         (gst_pipeline_dispose): Drop ref on sched.
10375
10376         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10377         (gst_pad_activate_default): Push mode by default.
10378         (pre_activate_switch, post_activate_switch): New stubs, things to
10379         do before and after switching activation modes on pads.
10380         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10381         the pad's activate function to choose which mode to activate.
10382         Shortcut on deactivation and call the right function directly.
10383         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10384         mode.
10385         (gst_pad_activate_push): New API, same for push mode.
10386         (gst_pad_set_activate_function) 
10387         (gst_pad_set_activatepull_function) 
10388         (gst_pad_set_activatepush_function): Setters for new API.
10389
10390         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10391         Trace all miniobjects.
10392         (gst_mini_object_make_writable): Unref the arg if we copy, like
10393         gst_caps_make_writable.
10394
10395         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10396
10397         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10398         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10399         Adapt for new pad API.
10400
10401         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10402
10403         * gst/gstelement.h:
10404         * gst/gstelement.c (gst_element_iterate_src_pads) 
10405         (gst_element_iterate_sink_pads): New API functions.
10406         
10407         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10408         should fold into gstiterator.c in some form.
10409         (gst_element_pads_activate): Simplified via use of fold and
10410         delegation of decisions to gstpad->activate.
10411
10412         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10413         help in debugging.
10414
10415         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10416         class once in init, like gstmessage. Didn't run into this issue
10417         but it seems correct. Don't initialize a trace, gstminiobject does
10418         that.
10419
10420         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10421         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10422         to the bus.
10423         (assert_live_count): New util function, uses alloc traces to check
10424         cleanup.
10425
10426         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10427         To be modified when unlink drops the internal pad.
10428
10429 2005-06-27  Wim Taymans  <wim@fluendo.com>
10430
10431         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10432         (gst_bin_change_state):
10433         Cleanup the get_state() function a little, make sure it
10434         iterates the same set of elements.
10435         Added stub iterate_state_order().
10436
10437 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10438
10439         * docs/gst/gstreamer-docs.sgml:
10440         * docs/gst/gstreamer-sections.txt:
10441         * docs/gst/gstreamer.types:
10442         * docs/gst/tmpl/gstbasesink.sgml:
10443         * docs/gst/tmpl/gstbasesrc.sgml:
10444         * docs/gst/tmpl/gstbasetransform.sgml:
10445         * docs/gst/tmpl/gstelement.sgml:
10446         * docs/gst/tmpl/gstiterator.sgml:
10447         * gst/base/gstbasesrc.c:
10448         * gst/base/gstbasesrc.h:
10449         * gst/base/gstbasetransform.h:
10450         * gst/gstelement.c:
10451         * gst/gstiterator.h:
10452           adding basetransform and iterator docs
10453
10454 2005-06-27  Andy Wingo  <wingo@pobox.com>
10455
10456         * docs/design/part-activation.txt: Notes on how activation should
10457         work -- not quite implemented yet.
10458
10459 2005-06-25  Wim Taymans  <wim@fluendo.com>
10460
10461         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10462         At least get the chain function correct, needs more
10463         fixing.
10464
10465 2005-06-25  Wim Taymans  <wim@fluendo.com>
10466
10467         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10468         (gst_basesink_handle_object), (gst_basesink_event),
10469         (gst_basesink_do_sync), (gst_basesink_handle_event),
10470         (gst_basesink_change_state):
10471         * gst/gsttask.h:
10472         Right, two problems here: ghostpads don't take locks and
10473         glib _rec_mutex_lock_full() with depth==0 still locks.
10474         Catch illegal locking and g_warn them.
10475
10476 2005-06-25  Wim Taymans  <wim@fluendo.com>
10477
10478         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10479         Have to check for completion now...
10480
10481 2005-06-25  Wim Taymans  <wim@fluendo.com>
10482
10483         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10484         (gst_basesink_handle_object), (gst_basesink_event),
10485         (gst_basesink_do_sync), (gst_basesink_handle_event),
10486         (gst_basesink_change_state):
10487         * gst/gstpad.h:
10488         Unlock STREAM_LOCK whatever the recursion was.
10489
10490 2005-06-25  Wim Taymans  <wim@fluendo.com>
10491
10492         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10493         (gst_basesink_preroll_queue_empty),
10494         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10495         (gst_basesink_event), (gst_basesink_do_sync),
10496         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10497         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10498         (gst_basesink_change_state):
10499         Reworked the base sink, handle event and buffer serialisation
10500         correctly and removed possible deadlock.
10501         Handle EOS correctly.
10502
10503 2005-06-25  Wim Taymans  <wim@fluendo.com>
10504
10505         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10506         (gst_pipeline_change_state):
10507         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10508         Allow elements to post EOS in the state change function.
10509         Fix up -launch, make it exit the poll loop when the
10510         pipeline actually changed state.
10511         Fix up warning parsing in -launch.
10512
10513 2005-06-25  Wim Taymans  <wim@fluendo.com>
10514
10515         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10516         (gst_tee_sink_activate):
10517         Core takes STREAM_LOCK for us now.
10518
10519 2005-06-25  Wim Taymans  <wim@fluendo.com>
10520
10521         * gst/gstelement.c: (gst_element_get_state_func),
10522         (gst_element_set_state):
10523         * gst/gstelement.h:
10524         * gst/gstmessage.c: (gst_message_parse_error),
10525         (gst_message_parse_warning):
10526         Keep track of current target state while performing a state
10527         change so that subclasses can do something interesting.
10528         Fix parsing of warning/error messages when GError is NULL.
10529
10530 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10531
10532         * docs/gst/Makefile.am:
10533         * docs/gst/gstreamer-docs.sgml:
10534         * docs/gst/gstreamer-sections.txt:
10535         * docs/gst/gstreamer.types:
10536         * docs/gst/tmpl/gstbasesink.sgml:
10537         * docs/gst/tmpl/gstbasesrc.sgml:
10538         * docs/gst/tmpl/gstbin.sgml:
10539         * docs/gst/tmpl/gstcompat.sgml:
10540         * docs/gst/tmpl/gstfakesink.sgml:
10541         * docs/gst/tmpl/gstfakesrc.sgml:
10542         * docs/gst/tmpl/gstfilesink.sgml:
10543         * docs/gst/tmpl/gstfilesrc.sgml:
10544         * docs/gst/tmpl/gstindex.sgml:
10545         * docs/manual/appendix-quotes.xml:
10546         * gst/base/gstbasesrc.h:
10547         * gst/elements/gstfakesrc.h:
10548         * gst/gstmessage.h:
10549           start pulling in base classes and elements in our docs
10550
10551 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10552
10553         * docs/gst/Makefile.am:
10554         * docs/libs/Makefile.am:
10555           fixed make distcheck with gtk-doc 1.3
10556
10557 2005-06-23  Wim Taymans  <wim@fluendo.com>
10558
10559         * gst/gstelement.c: (gst_element_get_state_func),
10560         (gst_element_set_state), (gst_element_change_state):
10561         When the state did not change, also report NO_PREROLL
10562         when it matters.
10563
10564 2005-06-23  Wim Taymans  <wim@fluendo.com>
10565
10566         * gst/gstpad.c: (gst_pad_event_default):
10567         * gst/gstqueue.c: (gst_queue_loop):
10568         No unsafe task pausing please.
10569
10570 2005-06-23  Wim Taymans  <wim@fluendo.com>
10571
10572         * gst/schedulers/threadscheduler.c:
10573         (gst_thread_scheduler_task_start),
10574         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10575         Ref the task before pushing it on the threadpool. This
10576         makes sure that we have a ref when the threadfunction is
10577         actually called.
10578
10579 2005-06-23  Andy Wingo  <wingo@pobox.com>
10580
10581         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10582         offset is greater than the file's size.
10583
10584         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10585         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10586         * gst/gstobject.c (gst_object_class_init): Make the class lock
10587         recursive. Wim won't let me drop deep_notify. Decodebin works
10588         again, whoopdy doo.
10589
10590         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10591         internal pad, and hacks accordingly. Doesn't do it on the target
10592         pad because we change its caps. Probably catches all cases of
10593         interest tho.
10594         (gst_ghost_pad_set_property): Connect to notify::caps as
10595         appropritate.
10596
10597         * tests/network-clock.scm (plot-simulation): Pipe data to the
10598         elite python skript.
10599
10600         * tests/network-clock-utils.scm (define-parameter): New macro,
10601         defines a parameter that can be set via the command line.
10602         (set-parameter!, parse-parameter-arguments): Command line args
10603         parser.
10604
10605         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10606         stdin.
10607
10608 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10609
10610         * gst/elements/gsttypefindelement.c:
10611         (gst_type_find_element_handle_event):
10612           Don't restart typefinding on a discont.
10613         * gst/gstelement.c: (gst_element_set_state):
10614           Debug spelling fix.
10615         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10616           Allow changing mode of an active pad.
10617           Debug output fixes.
10618         * gst/registries/gstlibxmlregistry.c: (load_feature):
10619           Don't cast a static pad template to a normal pad template.
10620
10621 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10622
10623         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10624         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10625           remove gst_strtoll completely, since it didn't actually do
10626           anything more than what g_ascii_strtoull already does.
10627           check for range errors when deserializing
10628           do a cast for the unsigned cases; but further fixing needs
10629           a decision on what the interpretation of "(int)" and
10630           deserialization should be for values that fall outside the
10631           type's boundaries (ie, refuse, or interpret as casting)
10632
10633 2005-06-23  Wim Taymans  <wim@fluendo.com>
10634
10635         * check/Makefile.am:
10636         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10637         * docs/design/part-live-source.txt:
10638         * docs/design/part-states.txt:
10639         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10640         (gst_basesrc_set_live), (gst_basesrc_is_live),
10641         (gst_basesrc_get_range), (gst_basesrc_activate),
10642         (gst_basesrc_change_state):
10643         * gst/base/gstbasesrc.h:
10644         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10645         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10646         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10647         * gst/gstelement.c: (gst_element_get_state_func),
10648         (gst_element_set_state):
10649         * gst/gstelement.h:
10650         * gst/gsttypes.h:
10651         * tools/gst-launch.c: (event_loop), (main):
10652         Added support for live sources and other elements that
10653         cannot do preroll.
10654         Updated design docs, added live-source design doc.
10655         Implemented live source functionality in basesrc
10656         Fix error condition in _bin_get_state()
10657         Implement live source handling in -launch.
10658         Added check for live sources.
10659         Fixed case in GstBin where elements were changed state
10660         multiple times.
10661
10662
10663 2005-06-23  Andy Wingo  <wingo@pobox.com>
10664
10665         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10666         borken refcounting.
10667
10668         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10669         gst_caps_replace takes care of this for us.
10670
10671         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10672         gst_pad_set_caps on the target, not just its setcaps() function.
10673
10674         * tests/network-clock.scm: 
10675         * tests/network-clock-utils.scm: A network clock simulator.
10676         Something of an algorithmic testbed before doing something in C.
10677
10678 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10679
10680         * check/Makefile.am:
10681         * check/gst/capslist.h:
10682           copy over from 0.8, and add two with bitmasks specified with
10683           (int) 0xFF...
10684         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10685           add test to parse everything from capslist.h
10686         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10687         (main):
10688           add test for structure deserialization
10689         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10690           add tests for deserialization of strings to int types
10691         * gst/gststructure.c: (gst_structure_nth_field_name):
10692         * gst/gststructure.h:
10693           add a way to get the name of a field referenced by index
10694         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10695           instead of checking if the resulting long long lies between
10696           min and max, we check if the long long would fit into
10697           a number of bytes for the final type.
10698           This fixes cases where a string represents 2^32 - 1, which
10699           when cast to int would be the (valid) -1, but is bigger than
10700           G_MAXINT
10701
10702 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10703
10704         * gst/parse/grammar.y:
10705           add a log line for type deserialization
10706
10707 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10708
10709         * check/gst/gstvalue.c: (START_TEST):
10710         * gst/gstvalue.c: (gst_value_deserialize):
10711           return long long, not int, so gint64 deserialization actually
10712           works.  Is there any flag that makes the compiler check this ?
10713           Fixes #308559
10714
10715 2005-06-22  Wim Taymans  <wim@fluendo.com>
10716
10717         * gst/gstbuffer.h:
10718         Added convenience macros for setting buffers in GValue.
10719
10720 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10721
10722         * check/gst/.cvsignore:
10723         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10724           add a test deserializing int64, and comment part out because
10725           it fails, yay !
10726
10727 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10728
10729         * check/Makefile.am:
10730         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10731         * testsuite/Makefile.am:
10732         * testsuite/caps/Makefile.am:
10733         * testsuite/caps/value_serialize.c:
10734         * testsuite/test_gst_init.c:
10735           move a value_serialize test over
10736
10737 2005-06-20  Wim Taymans  <wim@fluendo.com>
10738
10739         * gst/gstpad.c:
10740         Small doc updates.
10741         
10742         * gst/gstvalue.c: (gst_value_compare_buffer),
10743         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10744         (gst_value_compare_flags), (gst_value_serialize_flags),
10745         (gst_value_deserialize_flags), (_gst_value_initialize):
10746         Fix serialisation of buffers, they are not boxed types anymore
10747
10748 2005-06-20  Wim Taymans  <wim@fluendo.com>
10749
10750         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10751         Testcase to show error in buffer-on-caps serialisation.
10752
10753 2005-06-20  Andy Wingo  <wingo@pobox.com>
10754
10755         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10756         will be adding to later.
10757
10758         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10759         if its socks fill with rocks.
10760         (gst_system_clock_obtain): Set the name on object construction.
10761         Avoid double-checked locking.
10762
10763 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10764
10765         * gst/gsturi.c: (gst_element_make_from_uri):
10766           Fix potential endless loop.
10767
10768 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10769
10770         * check/Makefile.am:
10771           add gsttag
10772         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10773         (main):
10774           move over from testsuite dir and clean up
10775         * configure.ac:
10776         * gst/gsttag.c:
10777         * testsuite/Makefile.am:
10778         * testsuite/tags/.cvsignore:
10779         * testsuite/tags/Makefile.am:
10780         * testsuite/tags/merge.c:
10781           remove testsuite/tags
10782
10783 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10784
10785         * docs/gst/gstreamer-sections.txt:
10786         * docs/gst/tmpl/gstenumtypes.sgml:
10787         * win32/gstenumtypes.c:
10788           clean up documentation build a little
10789
10790 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10791
10792         * check/gstcheck.h:
10793           add macros for checking refcounts on objects and caps
10794         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10795           add some more unit tests
10796         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10797         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10798           fix leaked refcounts (I hope :)) so unittest works
10799         * gst/gstpad.h:
10800           whitespace removal
10801
10802 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10803
10804         * configure.ac: back to HEAD
10805
10806 === release 0.9.1 ===
10807
10808 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10809
10810         * NEWS:
10811         * RELEASE:
10812           updated
10813
10814 2005-06-17  Andy Wingo  <wingo@pobox.com>
10815
10816         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10817         assert; it's always possible that the pad gets deactivated in
10818         between the checks in gstpad.c and the implementation. Rely on
10819         finish_preroll() to return a FLUSHING or similar instead of on the
10820         assert.
10821         
10822         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10823         clock and post an EOS message if we come out of finish_preroll in
10824         the playing state.
10825
10826 2005-06-16  David Schleef  <ds@schleef.org>
10827
10828         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10829         (gst_capsfilter_set_property): Allow NULL as possible value
10830         for filter_caps property, indicating GST_CAPS_ANY.
10831
10832 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10833
10834         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10835           fix debug output
10836         * gst/schedulers/Makefile.am:
10837           use libgst prefix
10838         * gstreamer.spec.in:
10839           fix spec for it
10840
10841 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10842
10843         * gstreamer.spec.in:
10844           clean up
10845
10846 2005-06-08  Andy Wingo  <wingo@pobox.com>
10847
10848         * gst/gstutils.c: RPAD fixes all around.
10849         (gst_element_link_pads): Refcounting fixes.
10850
10851         * tools/gst-inspect.c:
10852         * tools/gst-xmlinspect.c:
10853         * parse/grammar.y:
10854         * gst/base/gsttypefindhelper.c:
10855         * gst/base/gstbasesink.c:
10856         * gst/gstqueue.c: RPAD fixes.
10857
10858         * gst/gstghostpad.h:
10859         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10860         pads. The tricky thing is they provide both source and sink
10861         interfaces, since they proxy the internal pad for the external
10862         pad, and vice versa. Implement with lower-level ProxyPad objects,
10863         with the interior proxy pad as a child of the exterior ghost pad.
10864         Should write a doc on this.
10865         
10866         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10867         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10868         gst_object API.
10869         
10870         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10871         pads are real pads. No ghost pads in this file. Not documenting
10872         the myriad s/RPAD/PAD/ and REALIZE fixes.
10873         (gst_pad_class_init): Add properties for "direction" and
10874         "template". Both are construct-only, so they can't change during
10875         the life of the pad. Fixes properly deriving from GstPad.
10876         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10877         derived objects, just set properties when creating the objects via
10878         g_object_new.
10879         (gst_pad_get_parent): Implement as a function, return NULL if the
10880         parent is not an element.
10881         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10882         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10883         
10884         * gst/gstobject.c (gst_object_class_init): Make name a construct
10885         property. Don't set it in the object init.
10886
10887         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10888         with UNKNOWN direction.
10889         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10890         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10891         (gst_element_remove_pad): Remove ghost-pad special cases.
10892         (gst_element_pads_activate): Remove rpad cruft.
10893
10894         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10895         catch the pad's-parent-not-an-element case.
10896
10897         * gst/gst.h: Include gstghostpad.h.
10898
10899         * gst/gst.c (init_post): No more real, ghost pads.
10900
10901         * gst/Makefile.am: Add gstghostpad.[ch].
10902
10903         * check/Makefile.am:
10904         * check/gst/gstbin.c:
10905         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10906         into a bin creates ghost pads, and that the refcounts are right.
10907         Partly moved from gstbin.c.
10908
10909 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10910
10911         * check/gst-libs/.cvsignore:
10912         * check/gst/.cvsignore:
10913         * check/pipelines/.cvsignore:
10914           ignore more
10915         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10916         (START_TEST), (cleanup_suite), (main):
10917           add some tests related to cleanup after running pipelines
10918
10919 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10920
10921         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10922           add a testsuite for GstBuffer
10923
10924 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10925
10926         * gst/gstminiobject.h:
10927           add defines for accessing the refcount
10928
10929 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10930
10931         * Makefile.am: added support for html unit test coverage reports
10932
10933 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10934
10935         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10936           Free existing caps if the capsfilter changes. Add a FIXME about
10937           setting those caps on the pads.
10938
10939         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10940           Before adding a ghost pad to a parent bin, check that there isn't
10941           already one for the element on the bin. Prevents infinite recursion
10942           when using decodebin in parse pipelines. Andy says he'll rewrite the
10943           way this works anyway, so ignore the hack.
10944
10945 2005-06-02  Andy Wingo  <wingo@pobox.com>
10946
10947         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10948         file size, pass it on to the type find helper.
10949
10950         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10951         segment_start and segment_end properly according to the seek
10952         method. Segment_end is still a bit flaky because offset can be
10953         negative for CUR and END cases, but it takes -1 as an "unset"
10954         value.
10955
10956 2005-06-02  Wim Taymans  <wim@fluendo.com>
10957
10958         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10959         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10960         (gst_basesink_activate):
10961         * gst/base/gstbasesink.h:
10962         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10963         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10964         (gst_pad_query), (gst_pad_start_task):
10965         * gst/gstpad.h:
10966         * gst/gstqueue.c: (gst_queue_bufferalloc),
10967         (gst_queue_handle_sink_event), (gst_queue_chain):
10968         Bufferalloc: return GstFlowReturn to more accuratly report
10969         why allocation failed.
10970
10971 2005-06-02  Wim Taymans  <wim@fluendo.com>
10972
10973         * gst/gstpipeline.c: (gst_pipeline_send_event):
10974         Take snapshot of state without blocking.
10975
10976 2005-06-02  Wim Taymans  <wim@fluendo.com>
10977
10978         * docs/design/part-TODO.txt:
10979         * docs/design/part-caps.txt:
10980         * docs/design/part-clocks.txt:
10981         * docs/design/part-negotiation.txt:
10982         * docs/design/part-preroll.txt:
10983         Small doc updates 
10984
10985 2005-05-30  Wim Taymans  <wim@fluendo.com>
10986
10987         * gst/elements/gstidentity.c: (gst_identity_event),
10988         (gst_identity_transform), (gst_identity_get_property):
10989         Protect last_message property as it is accessed from
10990         multiple threads.
10991
10992 2005-05-30  Wim Taymans  <wim@fluendo.com>
10993
10994         * gst/gstelement.c: (gst_element_init),
10995         (gst_element_pads_activate), (gst_element_change_state):
10996         Slicker pad activation code.
10997
10998 2005-05-30  Wim Taymans  <wim@fluendo.com>
10999
11000         * gst/Makefile.am:
11001         * gst/gstelement.h:
11002         * gst/gstelementfactory.h:
11003         * gst/gsttypes.h:
11004         Move elementfactory methods to separate .h file.
11005
11006 2005-05-30  Wim Taymans  <wim@fluendo.com>
11007
11008         * docs/design/part-overview.txt:
11009         * gst/gstsystemclock.h:
11010         Small typo fixes, doc updates.
11011
11012 2005-05-30  Wim Taymans  <wim@fluendo.com>
11013
11014         * gst/gst.c: (gst_init_get_popt_table), (init_post),
11015         (init_popt_callback):
11016         Remove cpu-opt flag.
11017
11018 2005-05-30  Wim Taymans  <wim@fluendo.com>
11019
11020         * gst/gstbuffer.c: (gst_subbuffer_finalize),
11021         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11022         * gst/gstbuffer.h:
11023         Avoid typechecking in places where not needed.
11024         Added accessor for malloc_data.
11025
11026 2005-05-30  Wim Taymans  <wim@fluendo.com>
11027
11028         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11029         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11030         (gst_pad_configure_sink), (gst_pad_configure_src),
11031         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11032         (gst_pad_start_task):
11033         Propagate errors from _set_caps() in configure_src/sink
11034         functions instead of returning TRUE.
11035         FLUSH events can travel up and downstream
11036
11037
11038 2005-05-30  Wim Taymans  <wim@fluendo.com>
11039
11040         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11041         (gst_basesink_activate):
11042         Handle EOS in preroll.
11043
11044 2005-05-30  Wim Taymans  <wim@fluendo.com>
11045
11046         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11047         (gst_queue_loop), (gst_queue_handle_src_event):
11048         Remove old pieces of code
11049         Flushing the queue in an upstream event is a very bad idea.
11050
11051 2005-05-26  Andy Wingo  <wingo@pobox.com>
11052
11053         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11054         gst_value_set_mini_object so as to add a ref on the object (which
11055         will be removed when the value is unset).
11056
11057         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11058         arg type in ::handoff.
11059
11060         * gst/gstelement.c (gst_element_change_state): Also deactivate
11061         pads in READY->NULL, just in case the element didn't make it to
11062         PAUSED. Wingo tested, Wim approved.
11063
11064 2005-05-26  Wim Taymans  <wim@fluendo.com>
11065
11066         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11067         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11068         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11069         A flushing pad cannot be used to alloc_buffer from.
11070
11071 2005-05-26  Wim Taymans  <wim@fluendo.com>
11072
11073         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11074         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11075         (gst_bus_source_dispatch), (gst_bus_source_finalize),
11076         (gst_bus_create_watch), (gst_bus_add_watch_full):
11077         * gst/gstbus.h:
11078         Implement a real GSource and use g_main_context_wakeup() to
11079         signal new messages instead of the socketpair.
11080
11081 2005-05-25  Wim Taymans  <wim@fluendo.com>
11082
11083         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11084         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11085         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11086         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11087         (gst_pad_send_event), (gst_pad_start_task):
11088         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11089         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11090         (gst_queue_sink_activate), (gst_queue_src_activate),
11091         (gst_queue_change_state):
11092         * gst/gstqueue.h:
11093         Fix state changes for non sinks. We now change sinks, then elements
11094         with unconnected srcpads, then the rest.
11095         More efficient queue unlocking in flush and state changes.
11096         Set the pad activate mode even if it does not have an activate
11097         function.
11098
11099 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11100
11101         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11102           Don't go in pull mode for non-seekable sources.
11103         * gst/elements/gsttypefindelement.h:
11104         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11105         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11106         (free_entry), (stop_typefinding),
11107         (gst_type_find_element_handle_event), (find_peek),
11108         (gst_type_find_element_chain), (do_pull_typefind),
11109         (gst_type_find_element_change_state):
11110           Allow typefinding (w/o seeking) in push-mode, simplified version
11111           of what was in 0.8.
11112         * gst/gstutils.c: (gst_buffer_join):
11113         * gst/gstutils.h:
11114           gst_buffer_join() from 0.8.
11115
11116 2005-05-25  Wim Taymans  <wim@fluendo.com>
11117
11118         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11119         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11120         (gst_pad_send_event), (gst_pad_start_task):
11121         Disable attempt at mode switching until it is figured out.
11122
11123 2005-05-25  Wim Taymans  <wim@fluendo.com>
11124
11125         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11126         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11127         (gst_basesink_finish_preroll), (gst_basesink_chain),
11128         (gst_basesink_loop), (gst_basesink_activate),
11129         (gst_basesink_change_state):
11130         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11131         (gst_basesrc_get_range), (gst_basesrc_loop),
11132         (gst_basesrc_activate):
11133         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11134         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11135         (gst_real_pad_init), (gst_real_pad_set_property),
11136         (gst_real_pad_get_property), (gst_pad_set_active),
11137         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11138         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11139         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11140         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11141         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11142         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11143         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11144         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11145         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11146         (gst_pad_stop_task):
11147         * gst/gstpad.h:
11148         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11149         (gst_queue_loop), (gst_queue_src_activate):
11150         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11151         (gst_task_get_state):
11152         * gst/gsttask.h:
11153         * gst/schedulers/threadscheduler.c:
11154         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11155         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11156         in task function.
11157         Remove ACTIVE pad flag, use FLUSHING everywhere
11158         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11159         functions.
11160         Add locks around IS_FLUSHING when reading.
11161         Take STREAM lock in chain(), get_range() functions so plugins
11162         don't need to take it anymore.
11163         
11164
11165
11166 2005-05-25  Wim Taymans  <wim@fluendo.com>
11167
11168         * tools/gst-launch.c: (event_loop):
11169         Unref message after using its contents instead of
11170         before.
11171
11172 2005-05-24  Wim Taymans  <wim@fluendo.com>
11173
11174         * docs/design/draft-ghostpads.txt:
11175         * docs/design/draft-push-pull.txt:
11176         * docs/design/draft-query.txt:
11177         * docs/design/part-overview.txt:
11178         Docs updates, added general overview doc.
11179
11180 2005-05-21  David Schleef  <ds@schleef.org>
11181
11182         * docs/gst/tmpl/old/GstBin.sgml:
11183         * docs/gst/tmpl/old/GstBuffer.sgml:
11184         * docs/gst/tmpl/old/GstCaps.sgml:
11185         * docs/gst/tmpl/old/GstClock.sgml:
11186         * docs/gst/tmpl/old/GstCompat.sgml:
11187         * docs/gst/tmpl/old/GstData.sgml:
11188         * docs/gst/tmpl/old/GstElement.sgml:
11189         * docs/gst/tmpl/old/GstEvent.sgml:
11190         * docs/gst/tmpl/old/GstIndex.sgml:
11191         * docs/gst/tmpl/old/GstStructure.sgml:
11192         * docs/gst/tmpl/old/GstTag.sgml:
11193         * docs/gst/tmpl/old/cothreads.sgml:
11194         * docs/gst/tmpl/old/cothreads_compat.sgml:
11195         * docs/gst/tmpl/old/gettext.sgml:
11196         * docs/gst/tmpl/old/gobject2gtk.sgml:
11197         * docs/gst/tmpl/old/grammar.tab.sgml:
11198         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11199         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11200         * docs/gst/tmpl/old/gst_private.sgml:
11201         * docs/gst/tmpl/old/gstaggregator.sgml:
11202         * docs/gst/tmpl/old/gstarch.sgml:
11203         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11204         * docs/gst/tmpl/old/gstbufferstore.sgml:
11205         * docs/gst/tmpl/old/gstdata_private.sgml:
11206         * docs/gst/tmpl/old/gstdisksink.sgml:
11207         * docs/gst/tmpl/old/gstdisksrc.sgml:
11208         * docs/gst/tmpl/old/gstelementfactory.sgml:
11209         * docs/gst/tmpl/old/gstextratypes.sgml:
11210         * docs/gst/tmpl/old/gstfakesink.sgml:
11211         * docs/gst/tmpl/old/gstfakesrc.sgml:
11212         * docs/gst/tmpl/old/gstfdsink.sgml:
11213         * docs/gst/tmpl/old/gstfdsrc.sgml:
11214         * docs/gst/tmpl/old/gstfilesink.sgml:
11215         * docs/gst/tmpl/old/gstfilesrc.sgml:
11216         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11217         * docs/gst/tmpl/old/gstidentity.sgml:
11218         * docs/gst/tmpl/old/gstindexfactory.sgml:
11219         * docs/gst/tmpl/old/gstmarshal.sgml:
11220         * docs/gst/tmpl/old/gstmd5sink.sgml:
11221         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11222         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11223         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11224         * docs/gst/tmpl/old/gstpipefilter.sgml:
11225         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11226         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11227         * docs/gst/tmpl/old/gstshaper.sgml:
11228         * docs/gst/tmpl/old/gstspider.sgml:
11229         * docs/gst/tmpl/old/gstspideridentity.sgml:
11230         * docs/gst/tmpl/old/gststatistics.sgml:
11231         * docs/gst/tmpl/old/gsttee.sgml:
11232         * docs/gst/tmpl/old/gsttimecache.sgml:
11233         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11234         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11235         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11236         * docs/gst/tmpl/old/types.sgml:
11237           I didn't intend to add these or check them in.
11238
11239 2005-05-19  David Schleef  <ds@schleef.org>
11240
11241         * configure.ac: Use -no-common everywhere.  In a sane world, it
11242           would be the default in libtool, because without it, you can't
11243           build DLLs on Windows.
11244         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11245         * docs/gst/gstreamer-sections.txt:
11246         * docs/gst/tmpl/gstcpu.sgml:
11247         * docs/gst/tmpl/gstdata.sgml:
11248         * docs/gst/tmpl/gstthread.sgml:
11249
11250 2005-05-19  David Schleef  <ds@schleef.org>
11251
11252         * gst/gstminiobject.c: (gst_value_set_mini_object),
11253         (gst_value_take_mini_object), (gst_value_get_mini_object):
11254         * gst/gstminiobject.h: Add GValue set/get functions.
11255
11256 2005-05-19  Wim Taymans  <wim@fluendo.com>
11257
11258         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11259         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11260         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11261         * gst/gstbuffer.h:
11262         * gst/gstbus.c: (gst_bus_post):
11263         * gst/gstelement.c: (gst_element_get_random_pad):
11264         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11265         Make subbufer unref the parent in finalize.
11266         some more debugging info.
11267
11268
11269 2005-05-19  Wim Taymans  <wim@fluendo.com>
11270
11271         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11272         (gst_basesink_init), (gst_basesink_finalize),
11273         (gst_basesink_activate), (gst_basesink_change_state):
11274         Don't free preroll queue too early.
11275
11276 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11277
11278         * gst/Makefile.am:
11279         * gst/ROADMAP:
11280           Hi, I'm outdated. Please shoot me.
11281
11282 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11283
11284         * gst/gstpipeline.c: (gst_pipeline_send_event):
11285           Do not access variables after they have been deleted.
11286
11287 2005-05-19  Wim Taymans  <wim@fluendo.com>
11288
11289         * tools/gst-inspect.c: (print_plugin_features):
11290         A plugin feature does unfortunatly not use the
11291         object name yet...
11292
11293 2005-05-18  Wim Taymans  <wim@fluendo.com>
11294
11295         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11296         Port _span() functions to new subbuffers.
11297
11298 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11299
11300         * gst/gstbin.c: (gst_bin_add_func):
11301           Fix clock settery in bins when adding kids after the clock has
11302           been selected.
11303
11304 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11305
11306         * gst/elements/gstidentity.c: (gst_identity_class_init):
11307           Workaround until signals support GstMiniObject.
11308
11309 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11310
11311         * gst/gstbuffer.c:
11312         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11313
11314 2005-05-18  Wim Taymans  <wim@fluendo.com>
11315
11316         * gst/base/Makefile.am:
11317         * gst/base/gstadapter.c: (gst_adapter_base_init),
11318         (gst_adapter_class_init), (gst_adapter_init),
11319         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11320         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11321         (gst_adapter_flush), (gst_adapter_available),
11322         (gst_adapter_available_fast):
11323         * gst/base/gstadapter.h:
11324         Ported and added adapter to the base classes.
11325
11326 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11327
11328         * gst/gst.c:
11329         * gst/gstmessage.c:
11330           Make sure the class is reffed/unreffed once before threads can be
11331           used.  Fixes #304551.
11332
11333 2005-05-17  Wim Taymans  <wim@fluendo.com>
11334
11335         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11336         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11337         * gst/gstminiobject.c: (gst_mini_object_get_type),
11338         (gst_mini_object_free):
11339         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11340         (gst_pad_push), (gst_pad_push_event):
11341         * gst/gstqueue.c: (gst_queue_change_state):
11342         Don't queue buffers in basesink when we are flushing.
11343         Unref buffer when flushing in basesink.
11344         Flush queue when going to READY
11345         Unref buffer when _push() returns an error.
11346         Don't free MiniObject instance when refcount is incremented
11347         in _finalize() so that we can recover objects.
11348
11349 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11350
11351         * docs/manual/advanced-schedulers.xml:
11352         * docs/manual/appendix-checklist.xml:
11353         * docs/pwg/advanced-clock.xml:
11354         * docs/pwg/advanced-interfaces.xml:
11355         * docs/pwg/advanced-request.xml:
11356         * docs/pwg/advanced-types.xml:
11357         * docs/pwg/intro-preface.xml:
11358         * examples/plugins/example.c: (gst_example_get_type),
11359         (gst_example_class_init), (gst_example_chain),
11360         (gst_example_set_property), (gst_example_get_property),
11361         (gst_example_change_state), (plugin_init):
11362         * examples/plugins/example.h:
11363           small doc fixes
11364
11365 2005-05-17  Wim Taymans  <wim@fluendo.com>
11366
11367         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11368         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11369         * gst/gstqueue.c: (gst_queue_change_state):
11370         Clear queue when going to READY.
11371         Remove IN_SETCAPS flag too.
11372
11373 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11374
11375         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11376           Remove implicit cast from gboolean to GstElementStateReturn;
11377           make sure we still return failure in paused => ready case if
11378           the parent class fails to change state and our own stop 
11379           vfunc succeeds.
11380
11381 2005-05-17  Wim Taymans  <wim@fluendo.com>
11382
11383         * tools/gst-launch.c: (event_loop):
11384         Message was unreffed too soon.
11385
11386 2005-05-16  Andy Wingo  <wingo@pobox.com>
11387
11388         * gst/gstbin.c (sink_iterator_filter): Err... um...
11389
11390         * check/gst/gstbin.c (test_ghost_pads): New test for the
11391         ghosting-if-elements-not-in-same-bin behavior.
11392
11393 2005-05-16  David Schleef  <ds@schleef.org>
11394
11395         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11396         accessing refcount directly.
11397
11398 2005-05-15  David Schleef  <ds@schleef.org>
11399
11400         * check/Makefile.am: remove GstData checks
11401         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11402         * gst/Makefile.am: add miniobject, remove data
11403         * gst/gst.h: add miniobject, remove data
11404         * gst/gstdata.c: remove
11405         * gst/gstdata.h: remove
11406         * gst/gstdata_private.h: remove
11407         * gst/gsttypes.h: remove GstEvent and GstMessage
11408         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11409         * gst/gstmarshal.list: change BOXED -> OBJECT
11410
11411         Implement GstMiniObject.
11412         * gst/gstminiobject.c:
11413         * gst/gstminiobject.h:
11414
11415         Modify to be subclasses of GstMiniObject.
11416         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11417         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11418         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11419         (gst_subbuffer_get_type), (gst_subbuffer_init),
11420         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11421         (gst_buffer_span):
11422         * gst/gstbuffer.h:
11423         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11424         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11425         (_gst_event_copy), (gst_event_new):
11426         * gst/gstevent.h:
11427         * gst/gstmessage.c: (_gst_message_initialize),
11428         (gst_message_get_type), (gst_message_class_init),
11429         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11430         (gst_message_new), (gst_message_new_error),
11431         (gst_message_new_warning), (gst_message_new_tag),
11432         (gst_message_new_state_changed), (gst_message_new_application):
11433         * gst/gstmessage.h:
11434         * gst/gstprobe.c: (gst_probe_perform),
11435         (gst_probe_dispatcher_dispatch):
11436         * gst/gstprobe.h:
11437         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11438         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11439         (_gst_query_copy), (gst_query_new):
11440
11441         Update elements for GstData -> GstMiniObject changes
11442         * gst/gstquery.h:
11443         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11444         (gst_queue_chain), (gst_queue_loop):
11445         * gst/elements/gstbufferstore.c:
11446         (gst_buffer_store_add_buffer_func),
11447         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11448         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11449         (gst_fakesink_render):
11450         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11451         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11452         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11453         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11454         (gst_filesrc_create_read):
11455         * gst/elements/gstidentity.c: (gst_identity_class_init):
11456         * gst/elements/gsttypefindelement.c:
11457         (gst_type_find_element_src_event), (free_entry_buffers),
11458         (gst_type_find_element_handle_event):
11459         * libs/gst/dataprotocol/dataprotocol.c:
11460         (gst_dp_header_from_buffer):
11461         * libs/gst/dataprotocol/dataprotocol.h:
11462         * libs/gst/dataprotocol/dp-private.h:
11463
11464 2005-05-15  David Schleef  <ds@schleef.org>
11465
11466         * gst/elements/gstelements.c: Don't include headers that were
11467         just removed.
11468
11469 2005-05-15  David Schleef  <ds@schleef.org>
11470
11471         * gst/elements/Makefile.am: Remove some elements that don't
11472         need to be in the core (or even exist at all).
11473         * gst/elements/gstaggregator.c:
11474         * gst/elements/gstaggregator.h:
11475         * gst/elements/gstmd5sink.c:
11476         * gst/elements/gstmd5sink.h:
11477         * gst/elements/gstmultifilesrc.c:
11478         * gst/elements/gstmultifilesrc.h:
11479         * gst/elements/gstpipefilter.c:
11480         * gst/elements/gstpipefilter.h:
11481         * gst/elements/gstshaper.c:
11482         * gst/elements/gstshaper.h:
11483         * gst/elements/gststatistics.c:
11484         * gst/elements/gststatistics.h:
11485         * po/POTFILES.in: Remove above files.
11486
11487 2005-05-14  Andy Wingo  <wingo@pobox.com>
11488
11489         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11490         so as to get the refs right.
11491         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11492         unreffing objects that don't pass the filter.
11493
11494         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11495         gst_element_set_bus.
11496         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11497         normal cases, this will destroy the bus.
11498
11499         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11500         object.
11501
11502         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11503         has no sinks.
11504
11505 2005-05-13  Andy Wingo  <wingo@pobox.com>
11506
11507         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11508         gst_pad_link, call pad_link_maybe_ghosting,
11509         (pad_link_maybe_ghosting): Links pads, making sure that the
11510         elements being linked are in the same bin.
11511         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11512         Helpers for pad_link_maybe_ghosting.
11513
11514 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11515
11516         * configure.ac:
11517           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11518
11519 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11520
11521         * docs/design/part-element-source.txt:
11522           Mention GstPushSrc
11523
11524 2005-05-12  Wim Taymans  <wim@fluendo.com>
11525
11526         * gst/base/gstbasesink.c: (gst_basesink_init),
11527         (gst_basesink_activate):
11528         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11529         (gst_basesrc_is_seekable):
11530         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11531         (bin_element_is_sink), (gst_bin_change_state):
11532         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11533         * gst/gstelement.h:
11534         Identify sinks by their flag to avoid overly complicated
11535         checks (fow now).
11536         Do state changes even for elements not reachable from the
11537         sinks.
11538         BaseSink is a sink now :)
11539         Some more debugging info in the basesrc.
11540
11541
11542 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11543
11544         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11545           Implement _query on a bin, similar to _send_event.
11546
11547 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11548
11549         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11550           Discont event offset format should be GST_FORMAT_BYTES,
11551           not GST_FORMAT_TIME.
11552
11553 2005-05-12  Wim Taymans  <wim@fluendo.com>
11554
11555         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11556         Same fix as Ronald's but without the signal. 
11557
11558 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11559
11560         * gst/gstutils.c: (gst_element_query_position):
11561           No, an element is not a pad.
11562
11563 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11564
11565         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11566         (gst_bin_get_state):
11567           If a child is removed from a bin while we remove the child from
11568           the bin and while we're retrieving its state, signal this to the
11569           get_state function so we abort the wait (instead of waiting for
11570           a timeout) and can immediately re-iterate over all other elements.
11571
11572 2005-05-12  Wim Taymans  <wim@fluendo.com>
11573
11574         * gst/base/Makefile.am:
11575         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11576         (gst_basesrc_start):
11577         * gst/base/gstbasesrc.h:
11578         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11579         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11580         (gst_pushsrc_init), (gst_pushsrc_create):
11581         * gst/base/gstpushsrc.h:
11582         Added is_seekable to BaseSrc
11583         Added simple PushSrc.
11584
11585 2005-05-11  Wim Taymans  <wim@fluendo.com>
11586
11587         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11588         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11589         (gst_element_link_pads), (gst_element_query_position),
11590         (gst_element_query_convert), (intersect_caps_func),
11591         (gst_pad_query_position), (gst_pad_query_convert):
11592         Fix refcounting in utils function.
11593         No point in trying to activate a pad when it's added, it could
11594         be added from the state change function and then we deadlock, the
11595         element has to decide what to do.
11596
11597 2005-05-10  Andy Wingo  <wingo@pobox.com>
11598
11599         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11600         *all* the arguments.
11601
11602         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11603         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11604         lock (according to the docs -- if this is wrong change the docs).
11605
11606         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11607         flush messages in the NULL state.
11608
11609         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11610         message immediately and return.
11611         (gst_bus_set_flushing): New function. If a bus is flushing, it
11612         flushes out any queued messages and immediately unrefs new
11613         messages. This is so when an element goes to NULL, all of the
11614         unhandled messages coming from it can be freed, and their
11615         references to the element dropped. In other words: message source
11616         ref considered harmful :P
11617
11618         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11619         we're finished with it.
11620
11621         * gst/gstmessage.c (gst_message_new_state_changed): 
11622
11623 2005-05-10  Wim Taymans  <wim@fluendo.com>
11624
11625         * gst/gstvalue.c: (gst_value_compare_flags),
11626         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11627         (_gst_value_initialize):
11628         Added flags serialize/deserialize/compare code.
11629
11630 2005-05-09  Andy Wingo  <wingo@pobox.com>
11631
11632         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11633         Intersect the peer's caps with our caps.
11634
11635 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11636
11637         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11638         * gst/elements/gsttypefindelement.c: (find_peek):
11639           Handle negative offsets better. Fixes decodebin.
11640
11641 2005-05-09  Wim Taymans  <wim@fluendo.com>
11642
11643         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11644         (gst_base_transform_event):
11645         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11646         Implement accept_caps.
11647         Fix silly lock/unlock mismatch in base class.
11648
11649 2005-05-09  Wim Taymans  <wim@fluendo.com>
11650
11651         * docs/design/draft-push-pull.txt:
11652         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11653         * gst/elements/gstfilesink.c: (gst_filesink_init),
11654         (gst_filesink_query):
11655         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11656         (gst_type_find_handle_src_query), (find_element_get_length):
11657         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11658         * gst/gstelement.h:
11659         * gst/gstmessage.c:
11660         * gst/gstmessage.h:
11661         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11662         (gst_real_pad_get_caps_unlocked),
11663         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11664         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11665         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11666         (gst_real_pad_dispose), (gst_real_pad_finalize),
11667         (gst_pad_load_and_link), (gst_pad_save_thyself),
11668         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11669         (gst_pad_check_pull_range), (gst_pad_pull_range),
11670         (gst_pad_template_get_type), (gst_pad_template_class_init),
11671         (gst_pad_template_init), (gst_pad_template_dispose),
11672         (name_is_valid), (gst_static_pad_template_get),
11673         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11674         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11675         (gst_pad_get_element_private), (gst_pad_start_task),
11676         (gst_pad_pause_task), (gst_pad_stop_task),
11677         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11678         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11679         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11680         (gst_ghost_pad_new):
11681         * gst/gstpad.h:
11682         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11683         (gst_query_new_position), (gst_query_set_position),
11684         (gst_query_parse_position), (gst_query_new_convert),
11685         (gst_query_set_convert), (gst_query_parse_convert):
11686         * gst/gstquery.h:
11687         * gst/gstqueryutils.c:
11688         * gst/gstqueryutils.h:
11689         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11690         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11691         (gst_queue_handle_src_query):
11692         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11693         (gst_element_query_position), (gst_element_query_convert),
11694         (intersect_caps_func), (gst_pad_query_position),
11695         (gst_pad_query_convert):
11696         * gst/gstutils.h:
11697         * tools/gst-inspect.c: (print_pad_info):
11698         * tools/gst-xmlinspect.c: (print_element_info):
11699         Remove old query functions. Ported old code.
11700         Added position/convert helper functions to gstutils.
11701         Reordered gstpad.c code, grouping relevant things.
11702         Remove gst_message_new(), always need to speficy a specific
11703         message.
11704
11705
11706 2005-05-09  Andy Wingo  <wingo@pobox.com>
11707
11708         * gst/gstiterator.h: Add some includes.
11709
11710         * gst/gstqueryutils.h: Include more headers.
11711
11712         * gst/gstpad.h:
11713         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11714         some uses of gst_pad_query.
11715
11716         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11717         NULL out parameters.
11718         (gst_query_new_position): New proc, allocates a new position
11719         query.
11720
11721         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11722         gstqueryutils.c to the build.
11723
11724         * gst/gststructure.c (gst_structure_set_valist): Implement with
11725         the generic G_VALUE_COLLECT.
11726         
11727 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11728
11729         * gst/Makefile.am: (gst_headers):
11730         Added gstqueryutils.h to the list of headers to install, that was
11731         a 'nachty' move wingo :)
11732
11733 2005-05-06  Andy Wingo  <wingo@pobox.com>
11734
11735         * gst/gstquery.h
11736         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11737         GstData, init a memchunk.
11738         (standard_definitions): Add a few query types, deprecate a few.
11739         (gst_query_get_type): New proc.
11740         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11741         implementation.
11742         (gst_query_new_application, gst_query_get_structure): New public
11743         procs.
11744
11745         * docs/design/draft-query.txt: Removed LINKS from the query types,
11746         because all the rest can be dispatched to other pads -- seemed
11747         ugly to have a query that couldn't be dispatched. internal_links
11748         is fine as a pad method.
11749
11750         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11751         in gstpad.c, but maintain binary compatibility for the moment.
11752         Will fix before 0.9 is out.
11753
11754         * gst/gstqueryutils.c: 
11755         * gst/gstqueryutils.h: New files, implement 3 methods for each
11756         query type: parse_query, parse_response, and set. Probably need an
11757         allocator as well.
11758
11759         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11760
11761         * gst/elements/gstfilesink.c (gst_filesink_query2):
11762         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11763         query_types, and formats methods.
11764
11765         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11766         (gst_pad_set_query2_function): New functions.
11767         (gst_real_pad_init): Set query2_default as the default query2
11768         function. Basically just dispatches to internally linked pads.
11769
11770         Needs review!
11771         
11772         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11773         without using the atomic operations. Only one thread can possibly
11774         be accessing the data at this point. Changed so as to avoid
11775         gst_atomic operations.
11776
11777 2005-05-06  Wim Taymans  <wim@fluendo.com>
11778
11779         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11780         Also set caps if we use the fallback buffer alloc.
11781
11782 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11783
11784         * docs/gst/Makefile.am:
11785         * docs/gst/gstreamer-docs.sgml:
11786         * docs/gst/gstreamer-sections.txt:
11787         * docs/gst/tmpl/gstatomic.sgml:
11788         * docs/gst/tmpl/gstmemchunk.sgml:
11789         * testsuite/elements/struct_i386.h:
11790         * win32/GStreamer.vcproj:
11791         * win32/Makefile:
11792           Purge GstAtomic stuff from docs and win32 makefiles as well
11793
11794 2005-05-06  Wim Taymans  <wim@fluendo.com>
11795
11796         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11797         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11798         * gst/gstpad.c: (gst_pad_peer_get_caps):
11799         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11800         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11801         (gst_queue_src_activate), (gst_queue_change_state):
11802         * gst/gstqueue.h:
11803         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11804         (intersect_caps_func):
11805         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11806         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11807         Some fixes for the peer_get_caps() change.
11808
11809 2005-05-06  Wim Taymans  <wim@fluendo.com>
11810
11811         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11812         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11813         (gst_basesink_activate):
11814         Actually do something with error codes returned from the push
11815         functions.
11816
11817 2005-05-06  Wim Taymans  <wim@fluendo.com>
11818
11819         * docs/design/part-element-sink.txt:
11820         * docs/design/part-element-source.txt:
11821         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11822         (gst_basesink_event), (gst_basesink_activate):
11823         * gst/base/gstbasesink.h:
11824         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11825         (gst_basesrc_activate):
11826         * gst/base/gstbasesrc.h:
11827         * gst/gstelement.c: (gst_element_pads_activate):
11828         Some more documentation.
11829         Fixed scheduling decision in _pads_activate().
11830
11831 2005-05-05  Andy Wingo  <wingo@pobox.com>
11832
11833         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11834         the test suite.
11835
11836 2005-05-05  Wim Taymans  <wim@fluendo.com>
11837
11838         * gst/base/Makefile.am:
11839         * gst/base/gstbasesink.h:
11840         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11841         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11842         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11843         (gst_collectpads_class_init), (gst_collectpads_init),
11844         (gst_collectpads_finalize), (gst_collectpads_new),
11845         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11846         (find_pad), (gst_collectpads_remove_pad),
11847         (gst_collectpads_is_active), (gst_collectpads_collect),
11848         (gst_collectpads_collect_range), (gst_collectpads_start),
11849         (gst_collectpads_stop), (gst_collectpads_peek),
11850         (gst_collectpads_pop), (gst_collectpads_available),
11851         (gst_collectpads_read), (gst_collectpads_flush),
11852         (gst_collectpads_chain):
11853         * gst/base/gstcollectpads.h:
11854         * gst/elements/Makefile.am:
11855         * gst/elements/gstelements.c:
11856         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11857         (gst_fakesink_get_times), (gst_fakesink_event),
11858         (gst_fakesink_preroll), (gst_fakesink_render):
11859         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11860         (gst_filesink_init), (gst_filesink_set_location),
11861         (gst_filesink_open_file), (gst_filesink_close_file),
11862         (gst_filesink_pad_query), (gst_filesink_event),
11863         (gst_filesink_render), (gst_filesink_change_state):
11864         * gst/elements/gstfilesink.h:
11865         Added object to help in making collect pad based elements.
11866         Ported filesink.
11867         Make event function in sink baseclass return gboolean.
11868
11869 2005-05-05  Wim Taymans  <wim@fluendo.com>
11870
11871         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11872         (gst_bin_get_by_name):
11873         * gst/gstbuffer.h:
11874         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11875         (gst_clock_finalize):
11876         * gst/gstdata.c: (gst_data_replace):
11877         * gst/gstdata.h:
11878         * gst/gstelement.c: (gst_element_request_pad),
11879         (gst_element_pads_activate):
11880         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11881         (gst_object_unref):
11882         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11883         (gst_pad_set_checkgetrange_function),
11884         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11885         (gst_pad_check_pull_range), (gst_pad_pull_range),
11886         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11887         (gst_pad_pause_task), (gst_pad_stop_task):
11888         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11889         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11890         Fix name lookup in GstBin.
11891         Added _data_replace() function and _buffer_replace()
11892         Use finalize method to clean up clock.
11893         Fix refcounting on request pads.
11894         Fix pad schedule mode error.
11895         Some more object refcounting debug info,
11896
11897
11898 2005-05-04  Andy Wingo <wingo@pobox.com>
11899
11900         * check/Makefile.am:
11901         * docs/gst/tmpl/gstatomic.sgml:
11902         * docs/gst/tmpl/gstplugin.sgml:
11903         * gst/base/gstbasesink.c: (gst_basesink_activate):
11904         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11905         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11906         (gst_basesrc_query), (gst_basesrc_set_property),
11907         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11908         (gst_basesrc_activate):
11909         * gst/base/gstbasesrc.h:
11910         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11911         (gst_base_transform_src_activate):
11912         * gst/elements/gstelements.c:
11913         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11914         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11915         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11916         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11917         (gst_type_find_element_checkgetrange),
11918         (gst_type_find_element_activate):
11919         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11920         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11921         (gst_caps_load_thyself):
11922         * gst/gstelement.c: (gst_element_pads_activate),
11923         (gst_element_save_thyself), (gst_element_restore_thyself):
11924         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11925         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11926         * gst/gstpad.h:
11927         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11928         (gst_xml_parse_file), (gst_xml_parse_memory),
11929         (gst_xml_get_element), (gst_xml_make_element):
11930         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11931         (_file_index_id_save_xml), (gst_file_index_commit):
11932         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11933         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11934         (load_paths):
11935         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11936         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11937         * tools/gst-complete.c: (main):
11938         * tools/gst-compprep.c: (main):
11939         * tools/gst-inspect.c: (print_element_properties_info):
11940         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11941         * tools/gst-xmlinspect.c: (print_element_properties):
11942         GCC 4 fixen.
11943         
11944 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11945
11946         * gst/gstplugin.c: (gst_plugin_check_module),
11947         (gst_plugin_check_file), (gst_plugin_load_file):
11948             apply patch from #172526 to make register work on MacOSX
11949
11950 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11951
11952         * docs/gst/tmpl/gstconfig.sgml:
11953         * gst/gstconfig.h.in:
11954           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11955         * testsuite/debug/printf_extension.c: (main):
11956           Do not use GST_PTR_FORMAT on pointers to types with
11957           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11958         * testsuite/elements/property.h:
11959           use correct printf format
11960
11961 2005-05-02  Wim Taymans  <wim@fluendo.com>
11962
11963         * docs/design/draft-push-pull.txt:
11964         * docs/design/draft-query.txt:
11965         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11966         (gst_basesrc_start):
11967         Added draft for new query API.
11968         Added draft for better selecting scheduling methods.
11969         Make basesrc ignore length if the subclass does not support
11970         it.
11971
11972 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11973
11974         * gst/Makefile.am:
11975           possible fixes for automake-1.5 - _LIBADD is reserved
11976
11977 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11978
11979         * docs/faq/Makefile.am:
11980         * docs/manual/Makefile.am:
11981         * docs/manuals.mak:
11982         * docs/pwg/Makefile.am:
11983         * gst/Makefile.am:
11984           possible fixes for automake-1.5
11985
11986 2005-04-28  Wim Taymans  <wim@fluendo.com>
11987
11988         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11989         (gst_basesink_pad_getcaps), (gst_basesink_init),
11990         (gst_basesink_do_sync):
11991         * gst/gstclock.c: (gst_clock_entry_new):
11992         * gst/gstevent.c: (gst_event_discont_get_value):
11993         * gst/gstpipeline.c: (pipeline_bus_handler),
11994         (gst_pipeline_change_state):
11995         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11996         Better debugging of clocking info.
11997         Allow NULL values when getting discont values.
11998
11999 2005-04-27  Wim Taymans  <wim@fluendo.com>
12000
12001         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12002         * check/gst/gstpad.c: (gst_pad_suite):
12003         Increase timeout for checks.
12004
12005 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12006
12007         * check/Makefile.am:
12008           fix the broken rule for cleanup.  Apparently this rule is
12009           only needed on FC2, so maybe this warrants further autotool
12010           inspection.
12011
12012 2005-04-26  Wim Taymans  <wim@fluendo.com>
12013
12014         * gst/gsttrashstack.h:
12015         Ooohh. a nasty one! After having a failed pop() from the stack,
12016         it's possible that the stack is empty. In that case, don't
12017         follow the NULL pointer.
12018
12019 2005-04-25  Wim Taymans  <wim@fluendo.com>
12020
12021         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12022         (gst_pad_set_checkgetrange_function),
12023         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12024         (gst_pad_check_pull_range), (gst_pad_pull_range),
12025         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12026         (gst_pad_pause_task), (gst_pad_stop_task):
12027         * gst/gstplugin.c: (gst_plugin_load):
12028         * gst/gstplugin.h:
12029         Remove gst_library_load as it does more harm than good with
12030         the new g_module flags.
12031         Revert bogus caps template check in pad linking, pad caps
12032         are important when linking not the template, which is more
12033         general than the current caps.
12034
12035 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12036
12037         * gst/autoplug/.cvsignore:
12038         * gst/autoplug/Makefile.am:
12039         * gst/autoplug/gstsearchfuncs.c:
12040         * gst/autoplug/gstsearchfuncs.h:
12041         * gst/autoplug/gstspider.c:
12042         * gst/autoplug/gstspider.h:
12043         * gst/autoplug/gstspideridentity.c:
12044         * gst/autoplug/gstspideridentity.h:
12045         * gst/autoplug/spidertest.c:
12046           Die, spider, die.
12047
12048 2005-04-25  Wim Taymans  <wim@fluendo.com>
12049
12050         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12051         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12052         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12053         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12054         * gst/gstpad.h:
12055         Added stubs for unimplemented functions. 
12056
12057 2005-04-24  David Schleef  <ds@schleef.org>
12058
12059         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
12060         please fix.
12061
12062 2005-04-24  David Schleef  <ds@schleef.org>
12063
12064         Convert everything from GstAtomicInt to g_atomic_int_*, and
12065         remove gstatomic.
12066         * gst/Makefile.am:
12067         * gst/gstatomic.c:
12068         * gst/gstatomic.h:
12069         * gst/gstatomic_impl.h:
12070         * gst/gstbuffer.c:
12071         * gst/gstcaps.c:
12072         * gst/gstcaps.h:
12073         * gst/gstclock.c:
12074         * gst/gstclock.h:
12075         * gst/gstdata.c:
12076         * gst/gstdata.h:
12077         * gst/gstdata_private.h:
12078         * gst/gstevent.c:
12079         * gst/gstinfo.c:
12080         * gst/gstinfo.h:
12081         * gst/gstmessage.c:
12082         * gst/gstobject.c:
12083         * gst/gstobject.h:
12084         * gst/gststructure.c:
12085         * gst/gststructure.h:
12086         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12087         * gst/gstutils.h:
12088
12089 2005-04-24  David Schleef  <ds@schleef.org>
12090
12091         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12092         make the regressions tests work.  Remove some code that is no
12093         longer true.
12094         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12095         Disable warning for pads without templates.
12096
12097 2005-04-24  David Schleef  <ds@schleef.org>
12098
12099         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
12100         functions that handle filtered links.
12101         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12102         removed functions.
12103         * gst/gstutils.c: Fix/remove utility functions that handle
12104         filtered caps.
12105         * gst/gstutils.h:
12106         * gst/gstvalue.c: Add serialization/deserialization of caps
12107         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
12108         requires fixing so that the filter caps notation creates
12109         a capsfilter element and sets the filter_caps property.  I
12110         think everyone probably wants to keep the shorthand notation.
12111         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12112         * docs/gst/tmpl/gstpad.sgml:
12113
12114         * gst/elements/gstelements.c: Register capsfilter element.
12115         * gst/Makefile.am: fix spacing
12116         * docs/random/ds/0.9-suggested-changes: random
12117
12118 2005-04-23  David Schleef  <ds@schleef.org>
12119
12120         * gst/elements/Makefile.am:
12121         * gst/elements/gstcapsfilter.c: New element that acts like an
12122         identity, but filters caps.  Will eventually replace filtered
12123         caps in pad linking.
12124         * gst/gstutils.c: (gst_element_create_all_pads): New function
12125         to create all the ALWAYS pads that are registered with an
12126         element class.  This functionality should eventually be
12127         merged in with GstElement initialization.
12128         * gst/gstutils.h:
12129         * testsuite/trigger/README: part of trigger test code that should
12130         have been checked in a long time ago.
12131
12132 2005-04-23  David Schleef  <ds@schleef.org>
12133
12134         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12135         needed with new versions of libtool (nobody will confirm this),
12136         and hard to carry around.
12137         * gst/autoplug/Makefile.am:
12138         * gst/base/Makefile.am:
12139         * gst/elements/Makefile.am:
12140         * gst/indexers/Makefile.am:
12141         * gst/schedulers/Makefile.am:
12142         * libs/gst/bytestream/Makefile.am:
12143         * libs/gst/control/Makefile.am:
12144         * libs/gst/dataprotocol/Makefile.am:
12145         * libs/gst/getbits/Makefile.am:
12146
12147 2005-04-21  Wim Taymans  <wim@fluendo.com>
12148
12149         * docs/design/draft-push-pull.txt:
12150         * docs/design/part-MT-refcounting.txt:
12151         * docs/design/part-TODO.txt:
12152         * docs/design/part-caps.txt:
12153         * docs/design/part-events.txt:
12154         * docs/design/part-gstbus.txt:
12155         * docs/design/part-gstpipeline.txt:
12156         * docs/design/part-messages.txt:
12157         * docs/design/part-push-pull.txt:
12158         * docs/design/part-query.txt:
12159         Some more docs.
12160
12161 2005-04-21  Wim Taymans  <wim@fluendo.com>
12162
12163         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12164         (gst_message_new), (gst_message_new_error),
12165         (gst_message_new_warning), (gst_message_new_tag),
12166         (gst_message_new_state_changed), (gst_message_new_application),
12167         (gst_message_get_structure):
12168         * gst/gstmessage.h:
12169         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12170         (gst_structure_copy_conditional):
12171         Use parent refcount in GstMessage to ensure GstStructure
12172         consistency.
12173         Cleaned up headers a bit.
12174         
12175
12176 2005-04-20  Wim Taymans  <wim@fluendo.com>
12177
12178         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12179         (gst_basesink_pad_getcaps), (gst_basesink_init),
12180         (gst_basesink_chain_unlocked):
12181         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12182         (gst_type_find_helper):
12183         * gst/elements/gsttypefindelement.c:
12184         (gst_type_find_element_have_type), (gst_type_find_element_init),
12185         (stop_typefinding), (gst_type_find_element_handle_event),
12186         (find_suggest), (gst_type_find_element_chain),
12187         (gst_type_find_element_checkgetrange),
12188         (gst_type_find_element_getrange), (do_typefind),
12189         (gst_type_find_element_activate):
12190         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12191         (gst_buffer_default_free), (gst_buffer_default_copy),
12192         (gst_buffer_set_caps):
12193         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12194         (gst_caps_replace):
12195         * gst/gstmessage.c: (gst_message_new),
12196         (gst_message_new_state_changed):
12197         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12198         (gst_pad_set_checkgetrange_function),
12199         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12200         (gst_pad_set_caps), (gst_pad_check_pull_range),
12201         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12202         * gst/gstpad.h:
12203         * gst/gsttypefind.c: (gst_type_find_register):
12204         Make gst_caps_replace() work like other _replace() functions.
12205         Use _caps_replace() where possible.
12206         Make sure _message_new() initialises its field.
12207         Add gst_static_pad_template_get_caps()
12208
12209
12210 2005-04-18  Andy Wingo  <wingo@pobox.com>
12211
12212         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12213         on the peer, not the pad. I think that was a typo. Pass an extra
12214         arg to see if random access is possible. Activate the pads as
12215         PULL_RANGE if possible.
12216
12217         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12218
12219         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12220         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12221         to PROP_....
12222
12223 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12224
12225         * docs/faq/using.xml:
12226           Add note on gstreamer-properties (#154996).
12227
12228 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12229
12230         * docs/random/bbb/optional-properties:
12231           Some analysis on optional properties.
12232
12233 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12234
12235         * docs/gst/tmpl/gstelementfactory.sgml:
12236         * gst/gstelement.h:
12237         * gst/gstelementfactory.c: (gst_element_factory_init),
12238         (gst_element_factory_cleanup), (gst_element_register),
12239         (__gst_element_factory_add_static_pad_template),
12240         (gst_element_factory_get_static_pad_templates),
12241         (gst_element_factory_can_src_caps),
12242         (gst_element_factory_can_sink_caps):
12243         * gst/registries/Makefile.am:
12244         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12245         (gst_xml_registry_class_init), (gst_xml_registry_init),
12246         (gst_xml_registry_new), (gst_xml_registry_set_property),
12247         (gst_xml_registry_get_property), (get_time), (make_dir),
12248         (gst_xml_registry_get_perms_func),
12249         (plugin_times_older_than_recurse), (plugin_times_older_than),
12250         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12251         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12252         (add_to_char_array), (read_string), (read_uint), (read_enum),
12253         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12254         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12255         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12256         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12257         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12258         (gst_xml_registry_rebuild):
12259         * gst/registries/gstlibxmlregistry.h:
12260         * tools/gst-compprep.c: (main):
12261         * tools/gst-inspect.c: (print_pad_templates_info):
12262         * tools/gst-xmlinspect.c: (print_element_info):
12263           Use libxml2 for registry parsing, use staticpadtemplates in
12264           elementfactories. Makes gst_init() +/- 10x faster.
12265
12266 2005-04-12  Wim Taymans  <wim@fluendo.com>
12267
12268         * gst/base/Makefile.am:
12269         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12270         (gst_basesink_pad_getcaps), (gst_basesink_init),
12271         (gst_basesink_event), (gst_basesink_change_state):
12272         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12273         (gst_basesrc_init), (gst_basesrc_query),
12274         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12275         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12276         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12277         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12278         (gst_basesrc_stop), (gst_basesrc_activate),
12279         (gst_basesrc_change_state):
12280         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12281         (helper_find_suggest), (gst_type_find_helper):
12282         * gst/base/gsttypefindhelper.h:
12283         * gst/elements/Makefile.am:
12284         * gst/elements/gstelements.c:
12285         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12286         (gst_fakesink_get_times), (gst_fakesink_event),
12287         (gst_fakesink_preroll), (gst_fakesink_render):
12288         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12289         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12290         (gst_fakesrc_get_property), (gst_fakesrc_create),
12291         (gst_fakesrc_start), (gst_fakesrc_stop):
12292         * gst/elements/gstfakesrc.h:
12293         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12294         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12295         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12296         (gst_filesrc_create_read), (gst_filesrc_create),
12297         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12298         (gst_filesrc_start):
12299         * gst/elements/gsttypefindelement.c:
12300         (gst_type_find_element_have_type), (gst_type_find_element_init),
12301         (start_typefinding), (stop_typefinding), (push_buffer_store),
12302         (gst_type_find_element_handle_event),
12303         (gst_type_find_element_chain),
12304         (gst_type_find_element_checkgetrange),
12305         (gst_type_find_element_getrange), (do_typefind),
12306         (gst_type_find_element_activate),
12307         (gst_type_find_element_change_state):
12308         * gst/elements/gsttypefindelement.h:
12309         * gst/gstpipeline.c: (pipeline_bus_handler):
12310         Added typefind helper.
12311         Small preroll fix in the base sink.
12312         Disable typefind code in basesrc.
12313         Crude port of typefindelement.
12314         Fakesrc cleanups.
12315
12316
12317 2005-04-11  Wim Taymans  <wim@fluendo.com>
12318
12319         * check/gst/gstbus.c: (gstbus_suite):
12320         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12321         * check/gstcheck.h:
12322           Fix up the timeout so that the test does not fail.
12323
12324 2005-04-06  Wim Taymans  <wim@fluendo.com>
12325
12326         * gst/base/README:
12327         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12328         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12329         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12330         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12331         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12332         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12333         (gst_basesrc_stop), (gst_basesrc_activate),
12334         (gst_basesrc_change_state), (basesrc_find_peek),
12335         (basesrc_find_suggest), (gst_basesrc_type_find):
12336         * gst/base/gstbasesrc.h:
12337         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12338         (gst_filesrc_class_init), (gst_filesrc_init),
12339         (gst_filesrc_finalize), (gst_filesrc_set_location),
12340         (gst_filesrc_set_property), (gst_filesrc_get_property),
12341         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12342         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12343         (gst_filesrc_create_read), (gst_filesrc_create),
12344         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12345         * gst/elements/gstfilesrc.h:
12346         * gst/gstelement.c: (gst_element_get_state_func),
12347         (gst_element_lost_state), (gst_element_pads_activate):
12348         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12349         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12350         (gst_pad_pull_range):
12351         * gst/gstpad.h:
12352         More work on the generic source base class, implement seeking,
12353         query.
12354         Make filesrc extend the base source class.
12355         Added gst_pad_set_checkgetrange_function to GstPad.
12356
12357 2005-04-06  Andy Wingo  <wingo@pobox.com>
12358
12359         * pkgconfig/gstreamer-base.pc.in:
12360         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12361
12362         * pkgconfig/Makefile.am:
12363         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12364
12365 2005-04-04  Wim Taymans  <wim@fluendo.com>
12366
12367         * gst/base/Makefile.am:
12368         * gst/base/README:
12369         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12370         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12371         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12372         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12373         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12374         (gst_basesrc_base_init), (gst_basesrc_class_init),
12375         (gst_basesrc_init), (gst_basesrc_get_formats),
12376         (gst_basesrc_get_query_types), (gst_basesrc_query),
12377         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12378         (gst_basesrc_set_property), (gst_basesrc_get_property),
12379         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12380         (gst_basesrc_loop), (gst_basesrc_activate),
12381         (gst_basesrc_change_state):
12382         * gst/base/gstbasesrc.h:
12383         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12384         (gst_fakesrc_class_init), (gst_fakesrc_init),
12385         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12386         (gst_fakesrc_get_property), (gst_fakesrc_create):
12387         * gst/elements/gstfakesrc.h:
12388         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12389         (gst_filesrc_open_file), (gst_filesrc_loop),
12390         (gst_filesrc_activate), (filesrc_find_peek),
12391         (gst_filesrc_type_find):
12392         Made base source class, make fakesrc extend it.
12393         Add comments to basesink class.
12394         Some filesrc cleanup.
12395
12396 2005-03-31  David Schleef  <ds@schleef.org>
12397
12398         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12399         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12400         expected to link against libgstreamer.
12401         * gst/base/Makefile.am: link against libgstreamer
12402         * gst/elements/Makefile.am: same
12403
12404 2005-03-31  Andy Wingo  <wingo@pobox.com>
12405
12406         * tests/instantiate/Makefile.am:
12407         * tests/instantiate/caps.c: Add test to test speed of caps copy
12408         and free.
12409
12410         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12411         GMemChunk to be fair.
12412
12413         * gst/gsttrashstack.h: Remove warning about using the fallback
12414         trash stack implementation, it's still faster than malloc.
12415
12416 2005-03-30  Andy Wingo  <wingo@pobox.com>
12417
12418         * tests/complexity.c: Add a copyright.
12419
12420 2005-03-31  Wim Taymans  <wim@fluendo.com>
12421
12422         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12423         (gst_base_transform_class_init), (gst_base_transform_init),
12424         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12425         (gst_base_transform_get_property),
12426         (gst_base_transform_sink_activate),
12427         (gst_base_transform_src_activate),
12428         (gst_base_transform_change_state):
12429         * gst/base/gstbasetransform.h:
12430         * gst/elements/gstidentity.c: (gst_identity_class_init),
12431         (gst_identity_event), (gst_identity_check_perfect),
12432         (gst_identity_transform), (gst_identity_start),
12433         (gst_identity_stop):
12434         Added start/stop methods to transform base class so subclasses 
12435         don't need to deal with state changes even.
12436
12437 2005-03-31  Wim Taymans  <wim@fluendo.com>
12438
12439         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12440         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12441         * gst/gstevent.h:
12442         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12443         (gst_pad_pull_range):
12444         Added rate to the discont event to prepare for variable speed
12445         and reverse playback.
12446
12447 2005-03-29  David Schleef  <ds@schleef.org>
12448
12449         * configure.ac:
12450         * testsuite/trigger/Makefile.am:
12451         * testsuite/trigger/trigger.c: A little example program to show
12452         how trigger-based elements can work.
12453
12454 2005-03-29  Wim Taymans  <wim@fluendo.com>
12455
12456         * gst/base/Makefile.am:
12457         * gst/base/README:
12458         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12459         (gst_basesink_base_init), (gst_basesink_class_init),
12460         (gst_basesink_pad_getcaps), (gst_basesink_init),
12461         (gst_basesink_activate), (gst_basesink_change_state):
12462         * gst/base/gstbasesink.h:
12463         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12464         (gst_base_transform_base_init), (gst_base_transform_finalize),
12465         (gst_base_transform_class_init), (gst_base_transform_init),
12466         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12467         (gst_base_transform_event), (gst_base_transform_getrange),
12468         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12469         (gst_base_transform_set_property),
12470         (gst_base_transform_get_property),
12471         (gst_base_transform_sink_activate),
12472         (gst_base_transform_src_activate),
12473         (gst_base_transform_change_state):
12474         * gst/base/gstbasetransform.h:
12475         * gst/elements/gstidentity.c: (gst_identity_finalize),
12476         (gst_identity_class_init), (gst_identity_init),
12477         (gst_identity_event), (gst_identity_check_perfect),
12478         (gst_identity_transform), (gst_identity_set_property),
12479         (gst_identity_get_property), (gst_identity_change_state):
12480         * gst/elements/gstidentity.h:
12481         * gst/gstelement.c: (gst_element_get_state_func),
12482         (gst_element_lost_state), (gst_element_pads_activate):
12483         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12484         (gst_pad_check_pull_range), (gst_pad_pull_range):
12485         * gst/gstpad.h:
12486         Simplify pad activation.
12487         Added function to check if pull_range can be performed.
12488         Error out when pulling inactive or flushing pads.
12489         Removed const from refcounted types as it does not make sense.
12490         Simplify pad templates in basesink
12491         Added base class for simple 1-to-1 transforms.
12492         Make identity subclass the base transform.
12493
12494 2005-03-29  Andy Wingo  <wingo@pobox.com>
12495
12496         * docs/libs/gstreamer-libs-overrides.txt: 
12497         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12498         really don't understand what's going on, but like whatever. I want
12499         green buildbot!
12500
12501         * docs/gst/Makefile.am:
12502         * docs/libs/Makefile.am: Dist the overrides files.
12503
12504         * check/Makefile.am (clean-local): Remove .libs directories.
12505
12506         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12507         elements to EXTRA_DIST, so po/ files are happy.
12508
12509         * po/POTFILES.in: Er, remove it here.
12510
12511         * po/POTFILES: Remove gstspider.c.
12512
12513         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12514
12515         * docs/libs/gstreamer-libs-docs.sgml: 
12516         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12517         bytestream.
12518
12519         * tests/complexity.c (main): Set the length of the preroll queue
12520         on the sinks to prevent a lockup.
12521
12522         * libs/gst/dataprotocol/Makefile.am: 
12523         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12524         the same as the one in check/gst-libs/gdp.c.
12525
12526         * po/, docs/gst/: Commit automatic changes to docs and po files.
12527
12528         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12529         the versioned libgstbase.
12530
12531         * check/Makefile.am: Depend on an unversioned gst-register, seems
12532         to make autoconf happier.
12533
12534         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12535
12536 2005-03-28  Wim Taymans  <wim@fluendo.com>
12537
12538         * configure.ac:
12539         * docs/design/part-gstelement.txt:
12540         * docs/design/part-negotiation.txt:
12541         * docs/design/part-preroll.txt:
12542         * docs/design/part-scheduling.txt:
12543         * docs/design/part-states.txt:
12544         * gst/Makefile.am:
12545         * gst/base/Makefile.am:
12546         * gst/base/README:
12547         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12548         (gst_basesink_base_init), (gst_basesink_class_init),
12549         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12550         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12551         (gst_basesink_set_pad_functions),
12552         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12553         (gst_basesink_set_property), (gst_basesink_get_property),
12554         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12555         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12556         (gst_basesink_preroll_queue_push),
12557         (gst_basesink_preroll_queue_empty),
12558         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12559         (gst_basesink_event), (gst_basesink_get_times),
12560         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12561         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12562         (gst_basesink_loop), (gst_basesink_activate),
12563         (gst_basesink_change_state):
12564         * gst/base/gstbasesink.h:
12565         * gst/elements/Makefile.am:
12566         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12567         (gst_fakesink_class_init), (gst_fakesink_init),
12568         (gst_fakesink_set_property), (gst_fakesink_get_property),
12569         (gst_fakesink_get_times), (gst_fakesink_event),
12570         (gst_fakesink_preroll), (gst_fakesink_render),
12571         (gst_fakesink_change_state):
12572         * gst/elements/gstfakesink.h:
12573         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12574         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12575         * gst/gstelement.c: (gst_element_add_pad),
12576         (gst_element_get_state_func), (gst_element_abort_state),
12577         (gst_element_commit_state), (gst_element_lost_state),
12578         (gst_element_set_state), (gst_element_pads_activate):
12579         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12580         * gst/gstpipeline.c: (gst_pipeline_send_event),
12581         (gst_pipeline_change_state):
12582         Added state change code.
12583         Added/updated docs.
12584         Added sink base class, make fakesink extend the base class.
12585         Small cleanups in GstPipeline.
12586
12587 2005-03-26  David Schleef  <ds@schleef.org>
12588
12589         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12590         is broken and should be implemented in a different library.
12591         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12592         * gst/gst.h: remove gstcpu.h
12593         * gst/gstcpu.c: remove
12594         * gst/gstcpu.h: remove
12595         * gst/Makefile.am.future: Remove this file.  It's ancient.
12596
12597 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12598
12599         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12600         (gst_bin_send_event):
12601           Add default event/set_manager handlers. The set_manager handler
12602           takes care that the manager is distributed over kids that were
12603           already in the bin before the manager was set. The event handler
12604           is a utility virtual function that sends the event over all sinks,
12605           so that gst_element_send_event (bin, event); has the expected
12606           behaviour.
12607         * gst/gstpad.c: (gst_pad_event_default):
12608           Re-install default event handling for discontinuities, so that
12609           seeking works without requiring hacks in applications or extra
12610           code in sinks.
12611         * gst/gstpipeline.c: (gst_pipeline_class_init),
12612         (gst_pipeline_send_event):
12613           Half hack, half utility: set a pipeline to PAUSED for seek events,
12614           since that is the only way we can guarantee a/v sync. Means that
12615           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12616           and it "just works".
12617
12618 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12619
12620         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12621           Lock/unlock mismatch.
12622
12623 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12624
12625         * docs/faq/gst-uninstalled:
12626           add gst-plugins-base
12627         * docs/gst/Makefile.am:
12628           don't error out until docs are fixed
12629         * docs/gst/gstreamer.types:
12630           remove thread
12631
12632 2005-03-22  Wim Taymans  <wim@fluendo.com>
12633
12634         * check/Makefile.am:
12635         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12636         * gst/gststructure.c: (gst_structure_set_valist),
12637         (gst_structure_copy_conditional):
12638         Activated more tests.
12639         Added message test.
12640         Added G_TYPE_POINTER to GstStructure.
12641         
12642
12643 2005-03-22  Wim Taymans  <wim@fluendo.com>
12644
12645         * docs/design/part-TODO.txt:
12646         * docs/design/part-events.txt:
12647         * docs/design/part-gstbin.txt:
12648         * docs/design/part-gstbus.txt:
12649         * docs/design/part-gstpipeline.txt:
12650         * docs/design/part-messages.txt:
12651         * gst/gstbus.c:
12652         * gst/gstmessage.c:
12653         Docs updates
12654
12655 2005-03-21  Wim Taymans  <wim@fluendo.com>
12656
12657         * gst/gstbus.c: (gst_bus_post):
12658         Fix copy-and-paste error.
12659
12660 2005-03-21  Wim Taymans  <wim@fluendo.com>
12661
12662         * check/Makefile.am:
12663         * gst/Makefile.am:
12664         * gst/elements/Makefile.am:
12665         * gst/elements/gstelements.c:
12666         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12667         (gst_fakesink_event), (gst_fakesink_chain):
12668         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12669         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12670         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12671         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12672         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12673         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12674         (gst_fakesrc_loop), (gst_fakesrc_activate),
12675         (gst_fakesrc_change_state):
12676         * gst/elements/gstfakesrc.h:
12677         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12678         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12679         (gst_filesrc_open_file), (gst_filesrc_loop),
12680         (gst_filesrc_activate), (gst_filesrc_change_state),
12681         (filesrc_find_peek), (filesrc_find_suggest),
12682         (gst_filesrc_type_find):
12683         * gst/elements/gstidentity.c: (gst_identity_finalize),
12684         (gst_identity_class_init), (gst_identity_init),
12685         (gst_identity_proxy_getcaps), (identity_queue_push),
12686         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12687         (gst_identity_getrange), (gst_identity_chain),
12688         (gst_identity_sink_loop), (gst_identity_src_loop),
12689         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12690         (gst_identity_set_property), (gst_identity_get_property),
12691         (gst_identity_change_state):
12692         * gst/elements/gstidentity.h:
12693         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12694         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12695         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12696         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12697         (gst_tee_sink_activate):
12698         * gst/elements/gsttee.h:
12699         * gst/gst.c: (gst_register_core_elements), (init_post):
12700         * gst/gst.h:
12701         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12702         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12703         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12704         (gst_bin_change_state):
12705         * gst/gstbin.h:
12706         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12707         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12708         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12709         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12710         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12711         (bus_watch_callback), (bus_watch_destroy),
12712         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12713         (poll_timeout), (gst_bus_poll):
12714         * gst/gstbus.h:
12715         * gst/gstcaps.h:
12716         * gst/gstdata.h:
12717         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12718         (gst_element_post_message), (gst_element_message_full),
12719         (gst_element_get_state_func), (gst_element_get_state),
12720         (gst_element_abort_state), (gst_element_commit_state),
12721         (gst_element_lost_state), (gst_element_set_state),
12722         (gst_element_pads_activate), (gst_element_change_state),
12723         (gst_element_dispose), (gst_element_set_manager_func),
12724         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12725         (gst_element_set_manager), (gst_element_get_manager),
12726         (gst_element_set_bus), (gst_element_get_bus),
12727         (gst_element_set_scheduler), (gst_element_get_scheduler):
12728         * gst/gstelement.h:
12729         * gst/gstevent.c: (gst_event_new_segment_seek),
12730         (gst_event_new_flush):
12731         * gst/gstevent.h:
12732         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12733         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12734         (gst_message_new_eos), (gst_message_new_error),
12735         (gst_message_new_warning), (gst_message_new_tag),
12736         (gst_message_new_state_changed), (gst_message_new_application),
12737         (gst_message_get_structure), (gst_message_parse_tag),
12738         (gst_message_parse_state_changed), (gst_message_parse_error),
12739         (gst_message_parse_warning):
12740         * gst/gstmessage.h:
12741         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12742         (gst_real_pad_set_property), (gst_pad_set_active),
12743         (gst_pad_is_active), (gst_pad_set_blocked_async),
12744         (gst_pad_set_blocked), (gst_pad_is_blocked),
12745         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12746         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12747         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12748         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12749         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12750         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12751         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12752         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12753         (gst_pad_set_caps), (gst_pad_configure_sink),
12754         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12755         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12756         (gst_real_pad_dispose), (gst_real_pad_finalize),
12757         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12758         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12759         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12760         * gst/gstpad.h:
12761         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12762         (pipeline_bus_handler), (gst_pipeline_change_state),
12763         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12764         * gst/gstpipeline.h:
12765         * gst/gstprobe.h:
12766         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12767         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12768         (gst_queue_link_src), (gst_queue_bufferalloc),
12769         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12770         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12771         (gst_queue_loop), (gst_queue_handle_src_event),
12772         (gst_queue_handle_src_query), (gst_queue_src_activate),
12773         (gst_queue_change_state):
12774         * gst/gstqueue.h:
12775         * gst/gstscheduler.c: (gst_scheduler_init),
12776         (gst_scheduler_dispose), (gst_scheduler_create_task),
12777         (gst_scheduler_factory_create):
12778         * gst/gstscheduler.h:
12779         * gst/gststructure.c: (gst_structure_get_type),
12780         (gst_structure_copy_conditional):
12781         * gst/gststructure.h:
12782         * gst/gsttaginterface.h:
12783         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12784         (gst_task_init), (gst_task_dispose), (gst_task_create),
12785         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12786         (gst_task_pause):
12787         * gst/gsttask.h:
12788         * gst/gstthread.c:
12789         * gst/gstthread.h:
12790         * gst/gsttypes.h:
12791         * gst/schedulers/Makefile.am:
12792         * gst/schedulers/cothreads_compat.h:
12793         * gst/schedulers/entryscheduler.c:
12794         * gst/schedulers/faircothreads.c:
12795         * gst/schedulers/faircothreads.h:
12796         * gst/schedulers/fairscheduler.c:
12797         * gst/schedulers/gstbasicscheduler.c:
12798         * gst/schedulers/gstoptimalscheduler.c:
12799         * gst/schedulers/gthread-cothreads.h:
12800         * gst/schedulers/threadscheduler.c:
12801         (gst_thread_scheduler_task_get_type),
12802         (gst_thread_scheduler_task_class_init),
12803         (gst_thread_scheduler_task_init),
12804         (gst_thread_scheduler_task_start),
12805         (gst_thread_scheduler_task_stop),
12806         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12807         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12808         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12809         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12810         (plugin_init):
12811         * libs/gst/Makefile.am:
12812         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12813         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12814         (gst_file_pad_parent_set):
12815         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12816         (gst_dp_event_from_packet):
12817         * tests/complexity.c: (main):
12818         * tests/mass_elements.c: (main):
12819         * testsuite/states/locked.c: (message_received), (main):
12820         * testsuite/states/parent.c: (main):
12821         * tools/gst-inspect.c: (print_element_flag_info),
12822         (print_implementation_info), (print_pad_info):
12823         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12824         (main):
12825         * tools/gst-md5sum.c: (event_loop), (main):
12826         * tools/gst-typefind.c: (main):
12827         * tools/gst-xmlinspect.c: (print_element_info):
12828         Next big merge.
12829         Added GstBus for mainloop integration.
12830         Added GstMessage for sending notifications on the bus.
12831         Added GstTask as an abstraction for pipeline entry points.
12832         Removed GstThread.
12833         Removed Schedulers.
12834         Simplified GstQueue for multithreaded core.
12835         Made _link threadsafe, removed old capsnego.
12836         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12837         Added pad blocking functions.
12838         Reworked scheduling functions in GstPad to prepare for
12839         scheduling updates soon.
12840         Moved events out of data stream.
12841         Simplified GstEvent types.
12842         Added return values to push/pull.
12843         Removed clocking from GstElement.
12844         Added prototypes for state change function for next merge.
12845         Removed iterate from bins and state change management.
12846         Fixed some elements, disabled others for now.
12847         Fixed -inspect and -launch.
12848         Added check for GstBus.
12849
12850 2005-03-10  Wim Taymans  <wim@fluendo.com>
12851
12852         * docs/design/part-MT-refcounting.txt:
12853         * docs/design/part-clocks.txt:
12854         * docs/design/part-gstelement.txt:
12855         * docs/design/part-gstobject.txt:
12856         * docs/design/part-standards.txt:
12857         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12858         (gst_bin_remove_func), (gst_bin_remove):
12859         * gst/gstbin.h:
12860         * gst/gstbuffer.c:
12861         * gst/gstcaps.h:
12862         * testsuite/clock/clock1.c: (main):
12863         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12864         (main):
12865         * testsuite/dlopen/loadgst.c: (do_test):
12866         * testsuite/refcounting/bin.c: (add_remove_test1),
12867         (add_remove_test2), (main):
12868         * testsuite/refcounting/element.c: (main):
12869         * testsuite/refcounting/element_pad.c: (main):
12870         * testsuite/refcounting/pad.c: (main):
12871         * tools/gst-launch.c: (sigint_handler_sighandler):
12872         * tools/gst-typefind.c: (main):
12873         Doc updates.
12874         Added doc about clock.
12875         removed gst_bin_iterate_recurse_up(), marked methods
12876         for removal.
12877         Fix more testsuites.
12878
12879 2005-03-09  Wim Taymans  <wim@fluendo.com>
12880
12881         * gst/gstpad.c: (gst_pad_get_direction),
12882         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12883         (gst_pad_collect_valist):
12884         * testsuite/bins/interface.c: (main):
12885         * testsuite/caps/audioscale.c: (test_caps):
12886         * testsuite/caps/caps.c: (test1), (test2), (test3):
12887         * testsuite/caps/deserialize.c: (main):
12888         * testsuite/caps/enumcaps.c: (main):
12889         * testsuite/caps/filtercaps.c: (main):
12890         * testsuite/caps/intersect2.c: (main):
12891         * testsuite/caps/random.c: (main):
12892         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12893         * testsuite/caps/sets.c: (check_caps):
12894         * testsuite/caps/simplify.c: (check_caps), (main):
12895         * testsuite/caps/subtract.c: (check_caps):
12896         Fix _pad_get_direction wrt ghostpads.
12897         Fix caps testsuite.
12898
12899 2005-03-09  Wim Taymans  <wim@fluendo.com>
12900
12901         * check/Makefile.am:
12902         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12903         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12904         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12905         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12906         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12907         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12908         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12909         (bin_element_is_sink), (gst_bin_iterate_sinks),
12910         (gst_bin_iterate_all_by_interface):
12911         * gst/gstbin.h:
12912         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12913         (gst_element_change_state), (gst_element_dispose),
12914         (gst_element_finalize), (gst_element_set_loop_function):
12915         * gst/gstelement.h:
12916         * gst/gstiterator.c: (find_custom_fold_func):
12917         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12918         (gst_pad_collectv), (gst_pad_collect_valist),
12919         (gst_pad_template_new):
12920         * gst/gstpipeline.c: (gst_pipeline_class_init),
12921         (gst_pipeline_dispose), (gst_pipeline_set_property),
12922         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12923         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12924         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12925         * gst/gstutils.h:
12926         * gst/schedulers/entryscheduler.c:
12927         * gst/schedulers/gstbasicscheduler.c:
12928         (gst_basic_scheduler_cothreaded_chain),
12929         (gst_basic_scheduler_chain_add_element):
12930         * testsuite/bins/interface.c: (main):
12931         Added GstBin test.
12932         Added GstSystemClock test.
12933         Implemented clock distribution code in GstBin.
12934         Implemented iterate sinks method for future use.
12935         Rearranged gstelement.h
12936         Fix GstIterator comparison bug.
12937         Moved some code to GstPipeline, mostly clocking related.
12938
12939 2005-03-09  Wim Taymans  <wim@fluendo.com>
12940
12941         * configure.ac:
12942         * gst/gst_private.h:
12943         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12944         (gst_bin_remove_func), (gst_bin_remove),
12945         (gst_bin_get_by_name_recurse_up):
12946         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12947         (gst_clock_id_compare_func), (gst_clock_id_wait),
12948         (gst_clock_id_wait_async), (gst_clock_init),
12949         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12950         * gst/gstelement.h:
12951         * gst/gstinfo.c: (_gst_debug_init):
12952         * gst/gstobject.h:
12953         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12954         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12955         * gst/gstpad.h:
12956         Bump version number, we're now 0.9.0
12957         Add future debugging category.
12958         Fix NULL _unref() in _get_by_name_recurse_up
12959         Rearrange gstpad.h.
12960         Update some docs.
12961
12962 2005-03-08  Wim Taymans  <wim@fluendo.com>
12963
12964         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12965         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12966         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12967         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12968         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12969         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12970         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12971         * gst/elements/gstidentity.c: (gst_identity_class_init):
12972         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12973         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12974         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12975         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12976         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12977         (gst_tee_link):
12978         * gst/gstelement.c: (gst_element_class_init),
12979         (gst_element_base_class_init), (gst_element_init),
12980         (gst_element_get_random_pad), (gst_element_wait_state_change),
12981         (gst_element_change_state), (gst_element_dispose),
12982         (gst_element_finalize), (gst_element_set_loop_function):
12983         * gst/gstelement.h:
12984         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12985         * gst/gstthread.c: (gst_thread_class_init),
12986         (gst_thread_release_children_locks), (gst_thread_change_state):
12987         * gst/schedulers/gstbasicscheduler.c:
12988         (gst_basic_scheduler_loopfunc_wrapper),
12989         (gst_basic_scheduler_chain_wrapper),
12990         (gst_basic_scheduler_src_wrapper),
12991         (gst_basic_scheduler_remove_element):
12992         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12993         Remove threadsafe properties. Fix elements because GObject
12994         complains when installing a property before declaring a
12995         set/get_property handler.
12996         Rearrange gstelement.h file, use STATE macros for state locks.
12997         Free mutexes in the finalize method instead of dispose.
12998
12999 2005-03-08  Wim Taymans  <wim@fluendo.com>
13000
13001         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13002         * gst/gstthread.c: (gst_thread_release_children_locks):
13003         Added parentage check.
13004         Fix build og GstThread again.
13005
13006 2005-03-08  Wim Taymans  <wim@fluendo.com>
13007
13008         * docs/design/part-MT-refcounting.txt:
13009         * docs/design/part-conventions.txt:
13010         * docs/design/part-gstobject.txt:
13011         * docs/design/part-relations.txt:
13012         * docs/design/part-standards.txt:
13013         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13014         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13015         (gst_bin_get_by_name), (gst_bin_get_by_interface),
13016         (gst_bin_iterate_all_by_interface):
13017         * gst/gstbuffer.h:
13018         * gst/gstclock.h:
13019         * gst/gstelement.c: (gst_element_class_init),
13020         (gst_element_change_state), (gst_element_set_loop_function):
13021         * gst/gstelement.h:
13022         * gst/gstiterator.c:
13023         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13024         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13025         (gst_object_dispatch_properties_changed), (gst_object_set_name),
13026         (gst_object_set_parent), (gst_object_unparent),
13027         (gst_object_check_uniqueness):
13028         * gst/gstobject.h:
13029         Docs updates, clean up some headers.
13030
13031 2005-03-07  Wim Taymans  <wim@fluendo.com>
13032
13033         * check/.cvsignore:
13034         * check/Makefile.am:
13035         * check/gst-libs/.cvsignore:
13036         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13037         * check/gst/.cvsignore:
13038         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13039         (START_TEST), (gstbus_suite), (main):
13040         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13041         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13042         (gst_data_suite), (main):
13043         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13044         (add_fold_func), (gstiterator_suite), (main):
13045         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13046         (thread_name_object), (thread_name_object_default),
13047         (gst_object_name_compare), (gst_object_suite), (main):
13048         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13049         (gst_pad_suite), (main):
13050         * check/gstcheck.c: (gst_check_log_message_func),
13051         (gst_check_log_critical_func), (gst_check_init):
13052         * check/gstcheck.h:
13053         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13054         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13055         Added checks.
13056
13057 2005-03-07  Wim Taymans  <wim@fluendo.com>
13058
13059         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13060         (gst_list_iterator_next), (gst_list_iterator_resync),
13061         (gst_list_iterator_free), (gst_iterator_new_list),
13062         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13063         (gst_iterator_free), (gst_iterator_push), (filter_next),
13064         (filter_resync), (filter_uninit), (filter_free),
13065         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13066         (gst_iterator_foreach), (find_custom_fold_func),
13067         (gst_iterator_find_custom):
13068         * gst/gstiterator.h:
13069         Added missing files.
13070
13071 2005-03-07  Wim Taymans  <wim@fluendo.com>
13072
13073         * Makefile.am:
13074         * configure.ac:
13075         * docs/design/part-MT-refcounting.txt:
13076         * docs/design/part-conventions.txt:
13077         * docs/design/part-gstobject.txt:
13078         * docs/design/part-relations.txt:
13079         * examples/mixer/mixer.c: (main):
13080         * examples/thread/thread.c: (eos), (main):
13081         * gst/Makefile.am:
13082         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13083         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13084         (gst_spider_plug_from_srcpad):
13085         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13086         (gst_spider_identity_change_state),
13087         (gst_spider_identity_sink_loop_type_finding):
13088         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13089         * gst/elements/gstidentity.c: (gst_identity_init):
13090         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13091         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13092         * gst/elements/gsttypefindelement.c: (free_entry):
13093         * gst/gst.c:
13094         * gst/gst.h:
13095         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13096         (gst_bin_set_clock_func), (gst_bin_auto_clock),
13097         (gst_bin_set_index), (gst_bin_set_element_sched),
13098         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13099         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13100         (gst_bin_iterate_elements), (iterate_child_recurse),
13101         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13102         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13103         (compare_interface), (gst_bin_get_by_interface),
13104         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13105         * gst/gstbin.h:
13106         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13107         (gst_buffer_default_free), (gst_buffer_default_copy),
13108         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13109         (gst_buffer_create_sub):
13110         * gst/gstbuffer.h:
13111         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13112         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13113         (gst_caps_unref), (gst_static_caps_get),
13114         (gst_caps_remove_and_get_structure), (gst_caps_append),
13115         (gst_caps_append_structure), (gst_caps_remove_structure),
13116         (gst_caps_copy_nth), (gst_caps_set_simple),
13117         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13118         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13119         (gst_caps_structure_intersect_field), (gst_caps_intersect),
13120         (gst_caps_structure_subtract_field), (gst_caps_subtract),
13121         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13122         (gst_caps_structure_figure_out_union),
13123         (gst_caps_switch_structures), (gst_caps_do_simplify),
13124         (gst_caps_replace), (gst_caps_from_string),
13125         (gst_caps_copy_conditional):
13126         * gst/gstcaps.h:
13127         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13128         (_gst_clock_id_free), (gst_clock_id_unref),
13129         (gst_clock_id_compare_func), (gst_clock_id_wait),
13130         (gst_clock_id_wait_async), (gst_clock_class_init),
13131         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13132         (gst_clock_get_time), (gst_clock_set_time_adjust),
13133         (gst_clock_set_property), (gst_clock_get_property):
13134         * gst/gstclock.h:
13135         * gst/gstcompat.h:
13136         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13137         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13138         * gst/gstdata.h:
13139         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13140         (gst_element_requires_clock), (gst_element_provides_clock),
13141         (gst_element_set_clock), (gst_element_clock_wait),
13142         (gst_element_wait), (gst_element_set_time_delay),
13143         (gst_element_is_indexable), (gst_element_add_pad),
13144         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13145         (pad_compare_name), (gst_element_get_static_pad),
13146         (gst_element_request_pad), (gst_element_get_request_pad),
13147         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13148         (gst_element_class_get_pad_template_list),
13149         (gst_element_class_get_pad_template), (gst_element_error_func),
13150         (gst_element_get_random_pad), (gst_element_get_event_masks),
13151         (gst_element_send_event), (gst_element_seek),
13152         (gst_element_get_query_types), (gst_element_query),
13153         (gst_element_get_formats), (gst_element_convert),
13154         (gst_element_is_locked_state), (gst_element_set_locked_state),
13155         (gst_element_sync_state_with_parent), (gst_element_change_state),
13156         (gst_element_finalize), (gst_element_yield),
13157         (gst_element_interrupt), (gst_element_set_scheduler),
13158         (gst_element_get_scheduler), (gst_element_set_loop_function):
13159         * gst/gstelement.h:
13160         * gst/gstevent.h:
13161         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13162         (gst_format_get_by_nick), (gst_format_get_details),
13163         (gst_format_iterate_definitions):
13164         * gst/gstformat.h:
13165         * gst/gstindex.c: (gst_index_gtype_resolver):
13166         * gst/gstinfo.c:
13167         * gst/gstinfo.h:
13168         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13169         (gst_mem_chunk_free):
13170         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13171         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13172         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13173         (gst_object_dispatch_properties_changed),
13174         (gst_object_set_name_default), (gst_object_set_name),
13175         (gst_object_get_name), (gst_object_set_name_prefix),
13176         (gst_object_get_name_prefix), (gst_object_set_parent),
13177         (gst_object_get_parent), (gst_object_unparent),
13178         (gst_object_check_uniqueness), (gst_object_save_thyself),
13179         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13180         (gst_object_set_property), (gst_object_get_property),
13181         (gst_object_get_path_string):
13182         * gst/gstobject.h:
13183         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13184         (gst_real_pad_init), (gst_real_pad_get_property),
13185         (gst_pad_custom_new), (gst_pad_get_direction),
13186         (gst_pad_set_active), (gst_pad_is_active),
13187         (gst_pad_set_event_function), (gst_pad_is_linked),
13188         (gst_pad_link_free), (gst_pad_link_intersect),
13189         (gst_pad_link_fixate), (gst_pad_set_caps),
13190         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13191         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13192         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13193         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13194         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13195         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13196         (gst_pad_realize), (gst_pad_get_allowed_caps),
13197         (gst_real_pad_dispose), (gst_real_pad_finalize),
13198         (gst_pad_collectv), (gst_pad_collect_valist),
13199         (gst_pad_template_dispose), (gst_pad_template_new),
13200         (gst_pad_get_internal_links):
13201         * gst/gstpad.h:
13202         * gst/gstpipeline.c: (gst_pipeline_dispose),
13203         (gst_pipeline_change_state):
13204         * gst/gstpipeline.h:
13205         * gst/gstplugin.c:
13206         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13207         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13208         * gst/gstpluginfeature.h:
13209         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13210         * gst/gstquery.c: (_gst_query_type_initialize),
13211         (gst_query_type_register), (gst_query_type_get_by_nick),
13212         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13213         * gst/gstquery.h:
13214         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13215         * gst/gstscheduler.c: (gst_scheduler_add_element),
13216         (gst_scheduler_factory_create):
13217         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13218         (gst_structure_free), (gst_structure_set_name),
13219         (gst_structure_id_set_value), (gst_structure_set_value),
13220         (gst_structure_set_valist), (gst_structure_remove_field),
13221         (gst_structure_remove_fields),
13222         (gst_structure_remove_fields_valist),
13223         (gst_structure_remove_all_fields), (gst_structure_foreach),
13224         (gst_structure_map_in_place),
13225         (gst_caps_structure_fixate_field_nearest_int),
13226         (gst_caps_structure_fixate_field_nearest_double):
13227         * gst/gststructure.h:
13228         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13229         (gst_system_clock_init), (gst_system_clock_dispose),
13230         (gst_system_clock_async_thread),
13231         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13232         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13233         * gst/gstsystemclock.h:
13234         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13235         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13236         * gst/gsttaginterface.c:
13237         * gst/gstthread.c: (gst_thread_dispose),
13238         (gst_thread_release_children_locks), (gst_thread_change_state),
13239         (gst_thread_main_loop):
13240         * gst/gsttrashstack.h:
13241         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13242         * gst/gsttypes.h:
13243         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13244         (gst_element_request_pad), (gst_element_get_pad_from_template),
13245         (gst_element_request_compatible_pad),
13246         (gst_element_get_compatible_pad_filtered),
13247         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13248         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13249         (gst_element_link_many), (gst_element_link),
13250         (gst_element_link_pads), (gst_element_unlink_pads),
13251         (gst_element_unlink_many), (gst_element_unlink),
13252         (gst_pad_can_link_filtered), (gst_pad_can_link),
13253         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13254         (gst_object_default_error), (gst_bin_add_many),
13255         (gst_bin_remove_many), (gst_element_populate_std_props),
13256         (gst_element_class_install_std_props), (gst_buffer_merge),
13257         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13258         (link_fold_func), (gst_pad_proxy_setcaps):
13259         * gst/gstutils.h:
13260         * gst/gstvalue.c: (gst_value_deserialize_string):
13261         * gst/parse/grammar.y:
13262         * gst/schedulers/gstbasicscheduler.c:
13263         (gst_basic_scheduler_cothreaded_chain),
13264         (gst_basic_scheduler_chain_recursive_add),
13265         (gst_basic_scheduler_pad_link):
13266         * gst/schedulers/gstoptimalscheduler.c:
13267         (get_group_schedule_function),
13268         (gst_opt_scheduler_state_transition),
13269         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13270         * libs/gst/bytestream/bytestream.c:
13271         * libs/gst/dataprotocol/dataprotocol.c:
13272         (gst_dp_header_from_buffer):
13273         * po/nb.po:
13274         * po/ru.po:
13275         * tests/threadstate/threadstate2.c: (eos):
13276         * tools/gst-compprep.c: (main):
13277         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13278         (print_pad_info), (print_children_info):
13279         * tools/gst-launch.c: (idle_func), (main):
13280         * tools/gst-md5sum.c: (idle_func), (main):
13281         * tools/gst-xmlinspect.c: (print_element_info):
13282         First THREADED backport attempt, focusing on adding locks and
13283         making sure the API is threadsafe. Needs more work. More docs
13284         follow this week.
13285
13286 2005-02-24  Andy Wingo  <wingo@pobox.com>
13287
13288         * tests/bench-complexity.scm:
13289         * tests/complexity.gnuplot: New files, good for running complexity
13290         benchmarks.
13291
13292         * tests/Makefile.am:
13293         * tests/complexity.c: New test, sets up N elements, at each level
13294         teeing into M streams per element. Eeeenteresting.
13295
13296         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13297         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13298         running bench-mass_elements.scm.
13299
13300         * tests/bench-mass_elements.scm: New script, runs mass_elements
13301         for various numbers of identities, outputting the results to a
13302         file. Requires guile 1.6. Just for testing.
13303
13304 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13305
13306         * gst/schedulers/fairscheduler.c:
13307           compile with debug disabled
13308
13309 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13310
13311         * configure.ac:
13312           hunting season on 0.9 is now OPEN