docs/manual/: Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/; add converter...
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * docs/manual/advanced-dataaccess.xml:
4         * docs/manual/appendix-checklist.xml:
5         * docs/manual/appendix-programs.xml:
6         * docs/manual/basics-pads.xml:
7         * docs/manual/highlevel-components.xml:
8         * docs/manual/manual.xml:
9           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
10           add converters in front of pipelines; remove curly
11           brackets for threads stuff, they no longer exist; use
12           GST_TYPE_FRACTION for framerates; update some pieces of
13           code to 0.10, but there's plenty more to do.
14
15         * docs/manual/appendix-porting.xml:
16           Expand on asynchroneous state changes; s/0.9/0.10/;
17           mention disappearance of gst_init_get_popt_table()
18           (fixes #322916).
19
20 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
21
22         * docs/faq/using.xml:
23           Spider no longer exists, and neither does gst-launch-ext.
24           Update examples to use decodebin and playbin and put
25           converters in front of sinks (fixes #323726).
26
27 2005-12-09  Michael Smith  <msmith@fluendo.com>
28
29         * plugins/elements/gsttypefindelement.c: (find_peek),
30         (gst_type_find_element_chain):
31           Fix leaking element factories in typefinding.
32           Fix problem where we forgot about a probable type on non-seekable
33           files, and thus later mis-typefound it.
34
35 2005-12-09  Michael Smith  <msmith@fluendo.com>
36
37         * common/m4/gst-makecontext.m4:
38         * common/m4/gst-mcsc.m4:
39         * configure.ac:
40         * win32/common/config.h:
41         * win32/common/config.h.in:
42           Remove makecontext stuff; not used in 0.10 and causes problems on
43           HPUX according to bug #322441
44
45 2005-12-07  Wim Taymans  <wim@fluendo.com>
46
47         * tests/check/Makefile.am:
48         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
49         (main):
50         * tests/check/libs/struct_i386.h:
51         Added ABI check for libs
52
53 2005-12-07  Wim Taymans  <wim@fluendo.com>
54
55         * tests/check/Makefile.am:
56         And add the struct_i386.h to dist.
57
58 2005-12-07  Wim Taymans  <wim@fluendo.com>
59
60         * tests/check/Makefile.am:
61         * tests/check/gst/.cvsignore:
62         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
63         (main):
64         * tests/check/gst/struct_i386.h:
65         Added check for ABI compatibility.
66
67 2005-12-07  Wim Taymans  <wim@fluendo.com>
68
69         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
70         (gst_fake_src_get_times), (gst_fake_src_create):
71         Fix broken sync option, fixes #323259
72
73 2005-12-07  Wim Taymans  <wim@fluendo.com>
74
75         * gst/gstbuffer.c:
76         Small docs update.
77
78         * gst/gstcaps.c: (gst_caps_is_equal):
79         Don't assert on NULL <--> X. Fixes #323260
80
81         * gst/gstminiobject.c: (gst_mini_object_replace):
82         If we're doing atomic operations, we might just as well use
83         the proper way to get an atomic pointer.
84
85         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
86         Clean up debugging.
87
88 2005-12-07  Michael Smith  <msmith@fluendo.com>
89
90         * gst/parse/grammar.y:
91           Remove handling of { } for threads.
92
93 2005-12-06  David Schleef  <ds@schleef.org>
94
95         * libs/gst/base/gstbasetransform.c: speling fix.
96
97 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
98
99         * docs/libs/tmpl/gstdataprotocol.sgml:
100         * docs/random/omega/testing/gstobject.c:
101         * gst/gst.c:
102         * gst/gstclock.c:
103         * gst/gstelement.c:
104         * gst/gstelementfactory.c:
105         * gst/gsterror.c:
106         * gst/gstevent.c:
107         * gst/gstghostpad.c:
108         * gst/gstinfo.c:
109         * gst/gstpadtemplate.c:
110         * gst/gstregistryxml.c:
111         * gst/gsttaglist.c:
112         * gst/gsttagsetter.c:
113         * gst/gsttypefind.c:
114         * gst/gstvalue.c:
115         * libs/gst/base/gstbasesrc.c:
116         * libs/gst/net/gstnetclientclock.c:
117         * libs/gst/net/gstnettimeprovider.c:
118         * plugins/elements/gstfakesrc.c:
119         * plugins/elements/gstfdsrc.c:
120         * plugins/elements/gstfilesrc.c:
121         * plugins/elements/gstidentity.c:
122         * plugins/elements/gstqueue.c:
123         * plugins/elements/gsttypefindelement.c:
124         * plugins/indexers/gstfileindex.c:
125         * plugins/indexers/gstmemindex.c:
126         * tests/check/gst/gsttag.c:
127         * tests/old/examples/cutter/cutter.c:
128         * tests/old/examples/mixer/mixer.c:
129         * tests/old/examples/xml/runxml.c: (main):
130         * tests/old/testsuite/caps/normalisation.c:
131         * tests/old/testsuite/debug/global.c:
132         * tests/old/testsuite/parse/parse1.c:
133         * tools/gst-xmlinspect.c:
134         * win32/common/dirent.c:
135           expand tabs
136
137 === release 0.10.0 ===
138
139 2005-12-05   <thomas (at) apestaart (dot) org>
140
141         * configure.ac:
142           releasing 0.10.0, "Maroilles"
143
144 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
145
146         submitted by: Funda Wang <fundawang@linux.net.cn>
147
148         * po/LINGUAS:
149         * po/zh_CN.po:
150           added Chinese (Traditional) translation
151
152 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
153
154         * docs/gst/gstreamer-sections.txt:
155         * docs/libs/tmpl/gstdataprotocol.sgml:
156         * docs/random/thomasvs/TODO:
157         * gst/gstutils.c:
158         * gst/gstutils.h:
159           fix docs
160
161 2005-12-05  Andy Wingo  <wingo@pobox.com>
162
163         patch by: Wim Taymans <wim@fluendo.com>
164
165         * libs/gst/base/gstbasetransform.c
166         (gst_base_transform_prepare_output_buf)
167         (gst_base_transform_buffer_alloc):
168         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
169         alloc_buffer_and_set_caps.
170
171         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
172         set_caps on the source pad.
173         (gst_pad_alloc_buffer_and_set_caps): New function, does what
174         alloc_buffer used to do. Fixes #322874.
175
176         * docs/gst/gstreamer-sections.txt: 
177         * docs/design/part-negotiation.txt: 
178         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
179         changes.
180
181 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
182
183         patch by: Sebastien Moutte
184
185         * win32/MANIFEST:
186         * win32/common/config.h.in:
187         * win32/vs6/libgstcontroller.dsp:
188           win32 build fixes
189
190 2005-12-05  Wim Taymans  <wim@fluendo.com>
191
192         * gst/gstcaps.c: (gst_caps_is_equal):
193         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
194         (gst_fake_src_create):
195         Back out previous code changes, leave doc updates, file bugs 
196         instead. 
197
198 2005-12-05  Wim Taymans  <wim@fluendo.com>
199
200         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
201         (gst_fake_src_get_times), (gst_fake_src_create):
202         * plugins/elements/gstfakesrc.h:
203         Fix broken sync code.
204
205 2005-12-05  Wim Taymans  <wim@fluendo.com>
206
207         * gst/gstcaps.c: (gst_caps_is_equal):
208         Comparing NULL against !NULL yields different caps, not a
209         failure.
210
211 2005-12-05  Wim Taymans  <wim@fluendo.com>
212
213         * gst/gstpipeline.c:
214         Fix small typo in docs.
215
216 2005-12-05  Andy Wingo  <wingo@pobox.com>
217
218         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
219
220         * gst/gst.c (init_post): remove hard-coded 0.9 location for
221         registries/plugins with a MAJORMINOR one.
222         (plugin_desc): Rename library from gstcoreleements to
223         staticelements. Fixes #323222.
224
225 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
226
227         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
228           Change debug category to 'collectpads' from 'collect_pads'
229           (fixes #323250).
230
231 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
232
233         patch by: Sebastien Moutte
234
235         * libs/gst/controller/gstinterpolation.c:
236           use convert function for uint64/double
237         * win32/vs6/libgstcontroller.dsp:
238           link to GLib
239
240 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
241
242         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
243         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
244         * gst/gstutils.h:
245         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
246           add tests that seem to show that the guint64/gdouble conversions
247           are correct.
248
249 2005-12-02  Wim Taymans  <wim@fluendo.com>
250
251         * gst/gstregistry.c: (gst_registry_add_path):
252         * gst/gstregistry.h:
253         * gst/gstregistryxml.c:
254         Fix docs again.
255
256 2005-12-02  Wim Taymans  <wim@fluendo.com>
257
258         * gst/gstutils.c: (gst_util_uint64_scale_int64),
259         (gst_util_uint64_scale_int):
260         Small cleanup.
261
262         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
263         Add debug log line.
264
265         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
266         Add FIXME.
267
268 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
269
270         * win32/MANIFEST:
271         * win32/common/config.h:
272         * win32/vs6/gstreamer.dsw:
273         * win32/vs6/libgstcoreelements.dsp:
274         * win32/vs6/libgstelements.dsp:
275           renamed core elements plugin
276
277 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
278
279         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
280         (get_candidates):
281           do piece-wise major/minor comparison so 0.9 < 0.10
282           also allow .exe extensions for tools
283
284 2005-12-02  Michael Smith  <msmith@fluendo.com>
285
286         * gst/gst.c:
287           Escape a % to make gtkdoc happier; bug 322958.
288
289 === release 0.9.7 ===
290
291 2005-12-01   <thomas (at) apestaart (dot) org>
292
293         * configure.ac:
294           releasing 0.9.7, "My Dog Has No Nose"
295
296 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
297
298         * common/gst-xmlinspect.py:
299         * configure.ac:
300         * docs/libs/tmpl/gstdataprotocol.sgml:
301         * docs/random/release:
302         * po/af.po:
303         * po/az.po:
304         * po/bg.po:
305         * po/ca.po:
306         * po/cs.po:
307         * po/de.po:
308         * po/en_GB.po:
309         * po/fr.po:
310         * po/it.po:
311         * po/nb.po:
312         * po/nl.po:
313         * po/ru.po:
314         * po/sq.po:
315         * po/sr.po:
316         * po/sv.po:
317         * po/tr.po:
318         * po/uk.po:
319         * po/vi.po:
320         * win32/common/config.h:
321         * win32/common/config.h.in:
322         * win32/vs6/gst_inspect.dsp:
323         * win32/vs6/gst_launch.dsp:
324         * win32/vs6/libgstbase.dsp:
325         * win32/vs6/libgstelements.dsp:
326         * win32/vs6/libgstreamer.dsp:
327         * win32/vs7/GStreamer.vcproj:
328         * win32/vs7/gst-inspect.vcproj:
329         * win32/vs7/gst-launch.vcproj:
330         * win32/vs7/libgstbase.vcproj:
331           bump GST_MAJORMINOR to 0.10
332           reset libtool version
333
334 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
335
336         * po/LINGUAS:
337         * po/bg.po:
338           Added Bulgarian translation by (Alexander Shopov)
339
340 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
341
342         * tests/check/gst/gstplugin.c:
343           fix test
344
345 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
346
347         * common/gst-xmlinspect.py:
348         * common/gtk-doc-plugins.mak:
349         * configure.ac:
350         * docs/Makefile.am:
351         * docs/gst/Makefile.am:
352         * docs/gst/gstreamer-docs.sgml:
353         * docs/gst/gstreamer-sections.txt:
354         * docs/gst/gstreamer.types:
355         * docs/gst/gstreamer.types.in:
356         * docs/plugins/Makefile.am:
357         * docs/plugins/gstreamer-plugins-docs.sgml:
358         * docs/plugins/gstreamer-plugins-sections.txt:
359         * docs/plugins/gstreamer-plugins.types:
360         * docs/plugins/inspect.stamp:
361         * docs/plugins/inspect/plugin-coreelements.xml:
362         * docs/plugins/inspect/plugin-coreindexers.xml:
363         * docs/plugins/scanobj-build.stamp:
364         * gstreamer.spec.in:
365         * plugins/elements/Makefile.am:
366         * plugins/elements/gstelements.c:
367         * plugins/elements/gstfakesink.c:
368         * plugins/elements/gstfakesrc.c:
369         * plugins/elements/gstfilesink.c:
370         * plugins/elements/gstfilesrc.c:
371         * plugins/elements/gstqueue.c:
372         * plugins/indexers/Makefile.am:
373         * plugins/indexers/gstindexers.c:
374           document core plugins in a separate document just like all the
375           others
376           rename these plugins to something starting with core
377
378 2005-12-01  Andy Wingo  <wingo@pobox.com>
379
380         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
381         padding here before, but it missed the commit.
382
383 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
384
385         * libs/gst/controller/gstinterpolation.c:
386           whitespace prices have crashed, we should feel free to use some now
387           use gst_guint64_to_gdouble
388
389 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
390
391         * libs/gst/controller/gstcontroller.c:
392         * libs/gst/controller/gsthelper.c:
393         * libs/gst/controller/gstinterpolation.c:
394         * libs/gst/controller/lib.c:
395           wrap config.h include
396
397 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
398
399         * docs/gst/gstreamer-sections.txt:
400           update docs
401
402 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
403
404         * plugins/elements/gstelements.c:
405         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
406         (gst_fd_sink__class_init), (gst_fd_sink__init),
407         (gst_fd_sink__chain), (gst_fd_sink__set_property),
408         (gst_fd_sink__get_property):
409         * plugins/elements/gstfdsink.h:
410         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
411         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
412         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
413         (gst_fd_src_unlock), (gst_fd_src_set_property),
414         (gst_fd_src_get_property), (gst_fd_src_create),
415         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
416         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
417         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
418         (gst_fd_src_uri_handler_init):
419         * plugins/elements/gstfdsrc.h:
420         * plugins/elements/gstqueue.c: (gst_queue_get_type):
421           more anal cleanup
422
423 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
424
425         * docs/gst/Makefile.am:
426         * docs/gst/gstreamer.types.in:
427         * gst/Makefile.am:
428           fix the docs build
429
430 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
431
432         * configure.ac:
433         * gst/Makefile.am:
434         * gst/gst.c:
435         * gst/gstplugin.h:
436         * gst/gstregistry.h:
437         * tests/benchmarks/complexity.c:
438         * tests/benchmarks/mass-elements.c:
439         * tests/check/Makefile.am:
440         * tools/Makefile.am:
441         * tools/gst-inspect.c:
442         * tools/gst-xmlinspect.c:
443           various fixes to make
444           --disable-nls --disable-registry --disable-loadsave
445           --disable-parse --disable-gst-debug
446           work and get the core .so down to 360444 bytes after stripping
447
448 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
449
450         * Makefile.am:
451         * configure.ac:
452           descend into tests
453         * docs/random/thomasvs/TODO:
454         * tests/Makefile.am:
455         * tests/README:
456           add a README
457
458 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
459
460         * win32/GStreamer.vcproj:
461         * win32/MANIFEST:
462         * win32/Makefile:
463         * win32/Makefile.inspect:
464         * win32/Makefile.launch:
465         * win32/Makefile.register:
466         * win32/README.txt:
467         * win32/gst-inspect.vcproj:
468         * win32/gst-launch.vcproj:
469         * win32/gst-register.vcproj:
470         * win32/gstelements.vcproj:
471         * win32/gstgetbits.def:
472         * win32/gstgetbits.vcproj:
473         * win32/gstreamer-dbg.def:
474         * win32/gstreamer.def:
475         * win32/libgstbase.def:
476         * win32/libgstbase.vcproj:
477         * win32/link_oldruntime.c:
478         * win32/mman.c:
479         * win32/mman.h:
480         * win32/mman.inl:
481         * win32/msvc71.sln:
482           move even more stuff, win32/ is nice and clean now
483
484 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
485
486         * libs/gst/control/.cvsignore:
487         * win32/MANIFEST:
488         * win32/config.h:
489         * win32/dirent.c:
490         * win32/dirent.h:
491         * win32/gstbytestream.def:
492         * win32/gstbytestream.vcproj:
493         * win32/gstconfig.h:
494         * win32/gstenumtypes.c:
495         * win32/gstenumtypes.h:
496         * win32/gstoptimalscheduler.vcproj:
497         * win32/gstversion.h:
498         * win32/gtchar.h:
499         * win32/testsuite/bins.vcproj:
500         * win32/testsuite/bytestream.vcproj:
501         * win32/testsuite/caps.vcproj:
502         * win32/testsuite/cleanup.vcproj:
503         * win32/testsuite/clock.vcproj:
504         * win32/testsuite/debug.vcproj:
505         * win32/testsuite/dlopen.vcproj:
506         * win32/testsuite/dynparams.vcproj:
507         * win32/testsuite/elements.vcproj:
508         * win32/testsuite/ghostpads.vcproj:
509         * win32/testsuite/indexers.vcproj:
510         * win32/testsuite/negotiation.vcproj:
511         * win32/testsuite/parse.vcproj:
512         * win32/testsuite/plugin.vcproj:
513         * win32/testsuite/refcounting.vcproj:
514         * win32/testsuite/schedulers.vcproj:
515         * win32/testsuite/states.vcproj:
516         * win32/testsuite/tags.vcproj:
517         * win32/testsuite/threads.vcproj:
518           remove old win32 stuff that isn't maintained and should be
519           reorganized
520
521 2005-11-30  Andy Wingo  <wingo@pobox.com>
522
523         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
524         loading the gst.interfaces python module bork.
525
526         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
527         available since GLib 2.2. Fixes #318031.
528
529 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
530
531         * Makefile.am:
532         * check/.cvsignore:
533         * check/Makefile.am:
534         * check/elements/.cvsignore:
535         * check/elements/fakesrc.c:
536         * check/elements/fdsrc.c:
537         * check/elements/identity.c:
538         * check/generic/.cvsignore:
539         * check/generic/states.c:
540         * check/gst-libs/.cvsignore:
541         * check/gst-libs/controller.c:
542         * check/gst-libs/gdp.c:
543         * check/gst/.cvsignore:
544         * check/gst/capslist.h:
545         * check/gst/gst.c:
546         * check/gst/gstbin.c:
547         * check/gst/gstbuffer.c:
548         * check/gst/gstbus.c:
549         * check/gst/gstcaps.c:
550         * check/gst/gstelement.c:
551         * check/gst/gstevent.c:
552         * check/gst/gstghostpad.c:
553         * check/gst/gstiterator.c:
554         * check/gst/gstmessage.c:
555         * check/gst/gstminiobject.c:
556         * check/gst/gstobject.c:
557         * check/gst/gstpad.c:
558         * check/gst/gstpipeline.c:
559         * check/gst/gstplugin.c:
560         * check/gst/gstsegment.c:
561         * check/gst/gststructure.c:
562         * check/gst/gstsystemclock.c:
563         * check/gst/gsttag.c:
564         * check/gst/gstutils.c:
565         * check/gst/gstvalue.c:
566         * check/net/.cvsignore:
567         * check/net/gstnetclientclock.c:
568         * check/net/gstnettimeprovider.c:
569         * check/pipelines/.cvsignore:
570         * check/pipelines/cleanup.c:
571         * check/pipelines/simple_launch_lines.c:
572         * check/pipelines/stress.c:
573         * check/states/.cvsignore:
574         * check/states/sinks.c:
575         * configure.ac:
576         * examples/Makefile.am:
577         * examples/appreader/.cvsignore:
578         * examples/appreader/Makefile.am:
579         * examples/appreader/appreader.c:
580         * examples/controller/.cvsignore:
581         * examples/controller/Makefile.am:
582         * examples/controller/audio-example.c:
583         * examples/cutter/.cvsignore:
584         * examples/cutter/Makefile.am:
585         * examples/cutter/cutter.c:
586         * examples/cutter/cutter.h:
587         * examples/events/Makefile.am:
588         * examples/events/seek.c:
589         * examples/helloworld/.cvsignore:
590         * examples/helloworld/Makefile.am:
591         * examples/helloworld/helloworld.c:
592         * examples/helloworld2/.cvsignore:
593         * examples/helloworld2/Makefile.am:
594         * examples/helloworld2/helloworld2.c:
595         * examples/launch/.cvsignore:
596         * examples/launch/Makefile.am:
597         * examples/launch/mp3parselaunch.c:
598         * examples/launch/mp3play:
599         * examples/manual/.cvsignore:
600         * examples/manual/Makefile.am:
601         * examples/manual/extract.pl:
602         * examples/metadata/Makefile.am:
603         * examples/metadata/read-metadata.c:
604         * examples/mixer/.cvsignore:
605         * examples/mixer/Makefile.am:
606         * examples/mixer/mixer.c:
607         * examples/mixer/mixer.h:
608         * examples/pingpong/.cvsignore:
609         * examples/pingpong/Makefile.am:
610         * examples/pingpong/pingpong.c:
611         * examples/plugins/.cvsignore:
612         * examples/plugins/Makefile.am:
613         * examples/plugins/example.c:
614         * examples/plugins/example.h:
615         * examples/pwg/.cvsignore:
616         * examples/pwg/Makefile.am:
617         * examples/pwg/extract.pl:
618         * examples/queue/.cvsignore:
619         * examples/queue/Makefile.am:
620         * examples/queue/queue.c:
621         * examples/queue2/.cvsignore:
622         * examples/queue2/Makefile.am:
623         * examples/queue2/queue2.c:
624         * examples/queue3/.cvsignore:
625         * examples/queue3/Makefile.am:
626         * examples/queue3/queue3.c:
627         * examples/queue4/.cvsignore:
628         * examples/queue4/Makefile.am:
629         * examples/queue4/queue4.c:
630         * examples/retag/.cvsignore:
631         * examples/retag/Makefile.am:
632         * examples/retag/retag.c:
633         * examples/retag/transcode.c:
634         * examples/thread/.cvsignore:
635         * examples/thread/Makefile.am:
636         * examples/thread/thread.c:
637         * examples/typefind/.cvsignore:
638         * examples/typefind/Makefile.am:
639         * examples/typefind/typefind.c:
640         * examples/xml/.cvsignore:
641         * examples/xml/Makefile.am:
642         * examples/xml/createxml.c:
643         * examples/xml/runxml.c:
644         * tests/Makefile.am:
645         * tests/check/Makefile.am:
646         * testsuite/.cvsignore:
647         * testsuite/Makefile.am:
648         * testsuite/Rules:
649         * testsuite/caps/.cvsignore:
650         * testsuite/caps/Makefile.am:
651         * testsuite/caps/app_fixate.c:
652         * testsuite/caps/audioscale.c:
653         * testsuite/caps/caps.c:
654         * testsuite/caps/caps.h:
655         * testsuite/caps/caps_strings:
656         * testsuite/caps/compatibility.c:
657         * testsuite/caps/deserialize.c:
658         * testsuite/caps/enumcaps.c:
659         * testsuite/caps/eratosthenes.c:
660         * testsuite/caps/filtercaps.c:
661         * testsuite/caps/fixed.c:
662         * testsuite/caps/fraction-convert.c:
663         * testsuite/caps/fraction-multiply-and-zero.c:
664         * testsuite/caps/intersect2.c:
665         * testsuite/caps/intersection.c:
666         * testsuite/caps/normalisation.c:
667         * testsuite/caps/random.c:
668         * testsuite/caps/renegotiate.c:
669         * testsuite/caps/sets.c:
670         * testsuite/caps/simplify.c:
671         * testsuite/caps/string-conversions.c:
672         * testsuite/caps/structure.c:
673         * testsuite/caps/subtract.c:
674         * testsuite/caps/union.c:
675         * testsuite/debug/.cvsignore:
676         * testsuite/debug/Makefile.am:
677         * testsuite/debug/category.c:
678         * testsuite/debug/commandline.c:
679         * testsuite/debug/global.c:
680         * testsuite/debug/output.c:
681         * testsuite/debug/printf_extension.c:
682         * testsuite/dlopen/.cvsignore:
683         * testsuite/dlopen/Makefile.am:
684         * testsuite/dlopen/dlopen_gst.c:
685         * testsuite/dlopen/loadgst.c:
686         * testsuite/elements/.cvsignore:
687         * testsuite/elements/Makefile.am:
688         * testsuite/elements/gst-inspect-check.in:
689         * testsuite/elements/struct_i386.h:
690         * testsuite/elements/struct_size.c:
691         * testsuite/indexers/.cvsignore:
692         * testsuite/indexers/Makefile.am:
693         * testsuite/indexers/cache1.c:
694         * testsuite/indexers/indexdump.c:
695         * testsuite/parse/.cvsignore:
696         * testsuite/parse/Makefile.am:
697         * testsuite/parse/parse1.c:
698         * testsuite/parse/parse2.c:
699         * testsuite/plugin/.cvsignore:
700         * testsuite/plugin/Makefile.am:
701         * testsuite/plugin/README:
702         * testsuite/plugin/dynamic.c:
703         * testsuite/plugin/linked.c:
704         * testsuite/plugin/loading.c:
705         * testsuite/plugin/registry.c:
706         * testsuite/plugin/static.c:
707         * testsuite/plugin/static2.c:
708         * testsuite/plugin/testplugin.c:
709         * testsuite/plugin/testplugin2.c:
710         * testsuite/plugin/testplugin2_s.c:
711         * testsuite/plugin/testplugin_s.c:
712         * testsuite/refcounting/.cvsignore:
713         * testsuite/refcounting/Makefile.am:
714         * testsuite/refcounting/bin.c:
715         * testsuite/refcounting/element.c:
716         * testsuite/refcounting/element_pad.c:
717         * testsuite/refcounting/mainloop.c:
718         * testsuite/refcounting/mem.c:
719         * testsuite/refcounting/mem.h:
720         * testsuite/refcounting/object.c:
721         * testsuite/refcounting/pad.c:
722         * testsuite/refcounting/sched.c:
723         * testsuite/refcounting/thread.c:
724         * testsuite/states/.cvsignore:
725         * testsuite/states/Makefile.am:
726         * testsuite/states/bin.c:
727         * testsuite/states/locked.c:
728         * testsuite/states/parent.c:
729         * testsuite/threads/.cvsignore:
730         * testsuite/threads/159566.c:
731         * testsuite/threads/159852.c:
732         * testsuite/threads/Makefile.am:
733         * testsuite/threads/queue.c:
734         * testsuite/threads/signals.c:
735         * testsuite/threads/staticrec.c:
736         * testsuite/threads/thread.c:
737         * testsuite/threads/threadb.c:
738         * testsuite/threads/threadc.c:
739         * testsuite/threads/threadd.c:
740         * testsuite/threads/threade.c:
741         * testsuite/threads/threadf.c:
742         * testsuite/threads/threadg.c:
743         * testsuite/threads/threadh.c:
744         * testsuite/threads/threadi.c:
745           move all of these under tests
746
747 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
748
749         * configure.ac:
750         * tests/Makefile.am:
751           fix distcheck
752
753 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
754
755         * docs/gst/gstreamer-sections.txt:
756         * tests/sched/.cvsignore:
757         * tests/sched/Makefile.am:
758         * tests/sched/cases/(fs-fs).xml:
759         * tests/sched/cases/(fs-i-fs).xml:
760         * tests/sched/cases/(fs-i-i-fs).xml:
761         * tests/sched/cases/(fs-i-q[i-fs]).xml:
762         * tests/sched/dynamic-pipeline.c:
763         * tests/sched/interrupt1.c:
764         * tests/sched/interrupt2.c:
765         * tests/sched/interrupt3.c:
766         * tests/sched/runtestcases:
767         * tests/sched/runxml.c:
768         * tests/sched/sched-stress.c:
769         * tests/sched/sort.c:
770         * tests/sched/testcases:
771         * tests/sched/testcases1.tc:
772         * tests/seeking/.cvsignore:
773         * tests/seeking/Makefile.am:
774         * tests/seeking/seeking1.c:
775         * tests/threadstate/.cvsignore:
776         * tests/threadstate/Makefile.am:
777         * tests/threadstate/test1.c:
778         * tests/threadstate/test2.c:
779         * tests/threadstate/threadstate1.c:
780         * tests/threadstate/threadstate2.c:
781         * tests/threadstate/threadstate3.c:
782         * tests/threadstate/threadstate4.c:
783         * tests/threadstate/threadstate5.c:
784           remove obsolete tests
785         * configure.ac:
786         * tests/bench-complexity.scm:
787         * tests/bench-mass_elements.scm:
788         * tests/complexity.c:
789         * tests/complexity.gnuplot:
790         * tests/instantiate/.cvsignore:
791         * tests/instantiate/Makefile.am:
792         * tests/instantiate/caps.c:
793         * tests/mass_elements.c:
794         * tests/network-clock-utils.scm:
795         * tests/network-clock.scm:
796         * tests/plot-data:
797         First pass at cleaning up tests/ dir before moving the rest
798         Combined with CVS surgery
799
800 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
801
802         * po/POTFILES.in:
803           queue has moved, update
804
805 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
806
807         * docs/gst/gstreamer-sections.txt:
808           remove double entries from the docs
809         * gst/gst_private.h:
810         * gst/gstinfo.c: (_gst_debug_init):
811           remove the THREAD debug category
812         * gst/Makefile.am:
813         * gst/gstqueue.c:
814         * gst/gstqueue.h:
815         * docs/gst/gstreamer.types:
816         * plugins/elements/gstqueue.c: (gst_queue_get_type),
817         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
818           completely move queue and fix up debugging categories
819
820 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
821
822         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
823           make initialization portable, using LL is not
824
825 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
826
827         * win32/common/gstconfig.h:
828           add large padding
829
830 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
831
832         * win32/common/libgstreamer.def:
833           rename symbols; sort base section
834
835 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
836
837         * gst/gstclock.c: (do_linear_regression):
838           remove crack non-portable handrolled DEBUG macro
839
840 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
841
842         * docs/random/release:
843           update notes
844         * win32/common/gstenumtypes.c: (register_gst_object_flags),
845         (gst_object_flags_get_type), (register_gst_bin_flags),
846         (gst_bin_flags_get_type), (register_gst_buffer_flag),
847         (gst_buffer_flag_get_type), (register_gst_bus_flags),
848         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
849         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
850         (gst_caps_flags_get_type), (register_gst_clock_return),
851         (gst_clock_return_get_type), (register_gst_clock_entry_type),
852         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
853         (gst_clock_flags_get_type), (register_gst_state),
854         (gst_state_get_type), (register_gst_state_change_return),
855         (gst_state_change_return_get_type), (register_gst_state_change),
856         (gst_state_change_get_type), (register_gst_element_flags),
857         (gst_element_flags_get_type), (register_gst_core_error),
858         (gst_core_error_get_type), (register_gst_library_error),
859         (gst_library_error_get_type), (register_gst_resource_error),
860         (gst_resource_error_get_type), (register_gst_stream_error),
861         (gst_stream_error_get_type), (register_gst_event_type_flags),
862         (gst_event_type_flags_get_type), (register_gst_event_type),
863         (gst_event_type_get_type), (register_gst_seek_type),
864         (gst_seek_type_get_type), (register_gst_seek_flags),
865         (gst_seek_flags_get_type), (register_gst_format),
866         (gst_format_get_type), (register_gst_index_certainty),
867         (gst_index_certainty_get_type), (register_gst_index_entry_type),
868         (gst_index_entry_type_get_type),
869         (register_gst_index_lookup_method),
870         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
871         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
872         (gst_index_resolver_method_get_type), (register_gst_index_flags),
873         (gst_index_flags_get_type), (register_gst_debug_level),
874         (gst_debug_level_get_type), (register_gst_debug_color_flags),
875         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
876         (gst_iterator_result_get_type), (register_gst_iterator_item),
877         (gst_iterator_item_get_type), (register_gst_message_type),
878         (gst_message_type_get_type), (register_gst_mini_object_flags),
879         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
880         (gst_pad_link_return_get_type), (register_gst_flow_return),
881         (gst_flow_return_get_type), (register_gst_activate_mode),
882         (gst_activate_mode_get_type), (register_gst_pad_direction),
883         (gst_pad_direction_get_type), (register_gst_pad_flags),
884         (gst_pad_flags_get_type), (register_gst_pad_presence),
885         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
886         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
887         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
888         (gst_plugin_error_get_type), (register_gst_plugin_flags),
889         (gst_plugin_flags_get_type), (register_gst_rank),
890         (gst_rank_get_type), (register_gst_query_type),
891         (gst_query_type_get_type), (register_gst_tag_merge_mode),
892         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
893         (gst_tag_flag_get_type), (register_gst_task_state),
894         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
895         (gst_alloc_trace_flags_get_type),
896         (register_gst_type_find_probability),
897         (gst_type_find_probability_get_type), (register_gst_uri_type),
898         (gst_uri_type_get_type), (register_gst_parse_error),
899         (gst_parse_error_get_type):
900         * win32/common/gstenumtypes.h:
901         * win32/common/gstversion.h:
902           update visual studio generated files
903
904 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
905
906         * win32/vs6/libgstbase.dsp:
907         * win32/vs6/libgstelements.dsp:
908           update project files for new locations
909
910 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
911
912         * Makefile.am:
913           remove some files
914         * README:
915           reinstate and update
916         * DEVEL:
917         * REQUIREMENTS:
918           removed
919         * LICENSE:
920         * docs/random/LICENSE:
921           moved to random
922
923 2005-11-30  Edward Hervey  <edward@fluendo.com>
924
925         * gst/gsttypefind.c: (gst_type_find_register):
926         * gst/gsttypefind.h:
927         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
928         (gst_type_find_factory_dispose):
929         * gst/gsttypefindfactory.h:
930         Fix memory leak in GstTypeFindFactory.
931
932 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
933
934         * gst/gst.c:
935         * plugins/elements/Makefile.am:
936         * plugins/elements/gstelements.c:
937         * plugins/elements/gstqueue.c:
938           move queue from core to the elements plugin
939
940 2005-11-29  Andy Wingo  <wingo@pobox.com>
941
942         * libs/gst/base/gstbasetransform.h: 
943         * libs/gst/base/gstbasesrc.h: 
944         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
945
946         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
947         of pointers by which to pad very extensible base classes (like the
948         ones in libs/gst/base).
949
950 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
951
952         * docs/gst/gstreamer-docs.sgml:
953         * docs/gst/gstreamer-sections.txt:
954         * docs/libs/gstreamer-libs-docs.sgml:
955         * docs/libs/gstreamer-libs-sections.txt:
956           moving documentation from core to lib
957
958 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
959
960         * check/Makefile.am:
961         * configure.ac:
962         * docs/gst/Makefile.am:
963         * gst/Makefile.am:
964         * gst/base/.cvsignore:
965         * gst/base/Makefile.am:
966         * gst/base/README:
967         * gst/base/gstadapter.c:
968         * gst/base/gstadapter.h:
969         * gst/base/gstbasesink.c:
970         * gst/base/gstbasesink.h:
971         * gst/base/gstbasesrc.c:
972         * gst/base/gstbasesrc.h:
973         * gst/base/gstbasetransform.c:
974         * gst/base/gstbasetransform.h:
975         * gst/base/gstcollectpads.c:
976         * gst/base/gstcollectpads.h:
977         * gst/base/gstpushsrc.c:
978         * gst/base/gstpushsrc.h:
979         * gst/base/gsttypefindhelper.c:
980         * gst/base/gsttypefindhelper.h:
981         * gst/check/Makefile.am:
982         * gst/check/gstcheck.c:
983         * gst/check/gstcheck.h:
984         * gst/net/Makefile.am:
985         * gst/net/gstnet.h:
986         * gst/net/gstnetclientclock.c:
987         * gst/net/gstnetclientclock.h:
988         * gst/net/gstnettimepacket.c:
989         * gst/net/gstnettimepacket.h:
990         * gst/net/gstnettimeprovider.c:
991         * gst/net/gstnettimeprovider.h:
992         * libs/gst/Makefile.am:
993         * libs/gst/base/Makefile.am:
994         * libs/gst/base/gstbasetransform.c:
995         * libs/gst/check/Makefile.am:
996         * plugins/elements/Makefile.am:
997         * po/POTFILES.in:
998           CVS surgery + support to move base, check, and net out of gst
999           and into libs/gst
1000
1001 2005-11-29  Andy Wingo  <wingo@pobox.com>
1002
1003         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1004
1005         * gst/gststructure.h (struct _GstStructure): Only one pointer of
1006         padding.
1007
1008         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1009
1010         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1011
1012         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1013
1014         * gst/gstobject.h: (struct _GstObject): Only one pointer of
1015         padding; reduces object size by about 30%. We don't expect
1016         anything else to go into gstobject.
1017
1018         * gst/gstminiobject.h (struct _GstMiniObject)
1019         (struct _GstMiniObjectClass): Only one pointer of padding; the
1020         payload is only a pointer and two ints anyway. For the class there
1021         are only two methods as well.
1022         
1023         * gst/gstelement.h (struct _GstElementClass): Removed
1024         the state_changed signal callback, it is not used.
1025
1026 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1027
1028         * docs/gst/gstreamer.types:
1029           fix includes, though they are a little dinky
1030
1031 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1032
1033         * check/Makefile.am:
1034           look in the right place for elements, a lot more chance of
1035           success
1036         * gst/Makefile.am:
1037           remove indexers and elements subdirs
1038         * plugins/Makefile.am:
1039           make indexers conditional
1040
1041 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1042
1043         * Makefile.am:
1044         * configure.ac:
1045         * plugins/elements/Makefile.am:
1046         * plugins/elements/gstcapsfilter.c:
1047         * plugins/elements/gstfilesink.c:
1048         * plugins/elements/gstfilesrc.c:
1049         * plugins/elements/gstidentity.c:
1050         * plugins/indexers/Makefile.am:
1051           do CVS surgery and related build fixery to move elements
1052           and indexers in a new gstreamer/plugins directory, out of the
1053           gst/ directory
1054
1055 2005-11-29  Andy Wingo  <wingo@pobox.com>
1056
1057         * check/Makefile.am:
1058         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1059         * pkgconfig/gstreamer-net.pc.in:
1060         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1061         #322257.
1062
1063 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1064
1065         * tools/Makefile.am:
1066         * tools/gst-complete.1.in:
1067         * tools/gst-complete.c:
1068         * tools/gst-compprep.1.in:
1069         * tools/gst-compprep.c:
1070           removing -compprep and -complete
1071
1072 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1073
1074         * gst/gstevent.c: (gst_event_new_new_segment),
1075         (gst_event_parse_new_segment):
1076         * gst/gstevent.h:
1077           fix #320529 - clean up new_segment API and structure.
1078           Let's hope everyone was using the methods, and not the structure.
1079
1080 2005-11-29  Edward Hervey  <edward@fluendo.com>
1081
1082         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1083         (gst_base_sink_event), (gst_base_sink_do_sync),
1084         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1085         Properly handle non GST_FORMAT_TIME segment
1086         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1087         Properly handle non GST_FORMAT_TIME segment
1088         * gst/gstsegment.c:
1089         This function is valid if the accumulator is 0 and the format
1090         is different from the requested format.
1091         
1092 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1093
1094         * docs/gst/gstreamer-sections.txt:
1095         Add gst_query_new_seeking and gst_query_parse_seeking to the
1096         docs.
1097
1098 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1099
1100         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1101           Treat a pad alloc with new caps the same as if we were not
1102           negotiated, in order to allow a changing upstream output
1103           to produce a new format of data.
1104
1105 2005-11-29  Edward Hervey  <edward@fluendo.com>
1106
1107         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1108         (gst_base_transform_event), (gst_base_transform_eventfunc):
1109         The event virtual method is now properly implemented, with a default
1110         handler
1111         Sub classes should call the parent_class event method. They should
1112         return FALSE if they had a problem handling the given event, or don't
1113         want GstBaseTransform to send that even downstream
1114         * gst/elements/gstidentity.c: (gst_identity_class_init),
1115         (gst_identity_init), (gst_identity_event),
1116         (gst_identity_transform_ip), (gst_identity_set_property),
1117         (gst_identity_get_property):
1118         * gst/elements/gstidentity.h:
1119         Added the single-segment boolean property.
1120         If set to TRUE, it will output a single segment of data, starting from
1121         0, will eat up all incoming newsegment, and modify the timestamp of the
1122         buffers accordingly
1123
1124 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
1125
1126         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1127           Don't ref NULL target pad (#322751). Improve docs.
1128
1129 2005-11-29  Michael Smith  <msmith@fluendo.com>
1130
1131         * gst/gstregistryxml.c: (load_plugin):
1132           Don't crash if we failed to load a feature from a plugin. 
1133
1134 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1135
1136         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1137         (GST_START_TEST):
1138           use more check API and less GLib API
1139
1140 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1141
1142         * Makefile.am:
1143           don't run checks if we don't have check
1144         * common/check.mak:
1145           remove the registry when running make torture
1146         * docs/gst/gstreamer-sections.txt:
1147           remove second multiply
1148         * gst/gstqueue.c: (gst_queue_loop):
1149           fix a compile warning when disabling debug
1150
1151 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1152
1153         * gst/gstinfo.h:
1154         Hey! Let's print the pad name if the pointer != NULL instead
1155         of when it == NULL :-)
1156
1157 2005-11-28  Wim Taymans  <wim@fluendo.com>
1158
1159         * check/gst/gstutils.c: (GST_START_TEST):
1160         Updated check, add some scaling accuracy checking code.
1161
1162         * gst/gstutils.c: (gst_util_div128_64),
1163         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1164         (gst_util_uint64_scale_int):
1165         Fix 6 times faster division code. Optimize for common 
1166         1/1 and less common X/1 cases.
1167
1168 2005-11-28  Wim Taymans  <wim@fluendo.com>
1169
1170         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1171         More checks.
1172
1173         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1174         (do_linear_regression), (gst_clock_add_observation):
1175         Cleanups.
1176         Release lock when the clock cannot be slaved.
1177         Catch the case where the regression returned an invalid denominator.
1178
1179         * gst/gstutils.c: (gst_util_div128_64_iterate),
1180         (gst_util_div128_64), (gst_util_uint64_scale_int64),
1181         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1182         Add protentially more performant non-iterative 128/64 divide function
1183         that unfortunatly does not work yet.
1184         Shortcut the trivial 0/X = 0 case.
1185         Remove the warnings on overflow.
1186
1187 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1188
1189         * gst/gstplugin.c: (gst_plugin_register_func):
1190           everything causing a plugin not to load should be at least a WARNING
1191
1192 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
1193
1194         * docs/random/ensonic/dparams.txt:
1195           some TODOs for the next dev cycle
1196         * libs/gst/controller/gstcontroller.c:
1197         (gst_controlled_property_set_interpolation_mode),
1198         (gst_controlled_property_new):
1199         * libs/gst/controller/gstcontroller.h:
1200           use base type to assign acccessor functions
1201
1202 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1203
1204         * check/Makefile.am:
1205         Oops, that should have been top_srcdir
1206
1207 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1208
1209         * check/Makefile.am:
1210         * check/elements/fdsrc.c: (GST_START_TEST):
1211         Use a cmdline define to specify the location of a file to use for
1212         testing, to avoid breaking distcheck.
1213
1214 2005-11-28  Andy Wingo  <wingo@pobox.com>
1215
1216         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1217
1218 2005-11-28  Edward Hervey  <edward@fluendo.com>
1219
1220         * tools/gst-launch.c: (main):
1221         Clarify the output strings, makes it easier to translate.
1222         Fixes #322626
1223
1224 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1225
1226         * gst/Makefile.am:
1227           don't try and build net if we don't even have <sys/socket.h>
1228
1229 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1230
1231         * check/Makefile.am:
1232         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1233         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1234           Add tests for fdsrc seekability
1235
1236         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1237         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1238         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1239         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1240         * gst/elements/gstfdsrc.h:
1241           fdsrc should not be a 'live' source.
1242           Implement seeking on seekable fd's.
1243
1244         * gst/gstquery.c: (gst_query_new_seeking),
1245         (gst_query_parse_seeking):
1246         * gst/gstquery.h:
1247           Implement SEEKING query functions: 
1248             *_new_seeking and *_parse_seeking
1249
1250 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1251
1252         * gst/gstelement.c: (gst_element_dispose):
1253           don't loop forever
1254
1255         * gst/gstiterator.c:
1256         * gst/gststructure.c:
1257           doc fixes
1258
1259         * libs/gst/controller/gstcontroller.c:
1260         (gst_controlled_property_set_interpolation_mode):
1261         * libs/gst/controller/gstcontroller.h:
1262         * libs/gst/controller/gstinterpolation.c:
1263         (interpolate_none_get_enum_value_array):
1264           support controlling enums
1265
1266 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1267
1268         * gst/gstvalue.c:
1269           Improve documentation for gst_value_union().
1270
1271         * gst/gstvalue.h:
1272           Change return value for union, intersect and subtract functions
1273           from gint to gboolean.
1274
1275 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1276
1277         * gst/gstvalue.c: (gst_value_serialize_any_list),
1278         (gst_value_transform_any_list_string),
1279         (gst_value_deserialize_list), (gst_value_deserialize_array),
1280         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1281         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1282         (gst_value_set_fraction_range_full),
1283         (gst_value_deserialize_fraction_range),
1284         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1285         (gst_value_deserialize_boolean),
1286         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1287         (gst_value_serialize_float), (gst_value_deserialize_float),
1288         (gst_string_wrap), (gst_value_deserialize_string),
1289         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1290         (gst_value_union_int_range_int_range),
1291         (gst_value_intersect_int_range_int_range),
1292         (gst_value_intersect_double_range_double_range),
1293         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1294         (gst_value_subtract_int_range_int_range),
1295         (gst_value_subtract_double_double_range),
1296         (gst_value_subtract_double_range_double_range),
1297         (gst_value_deserialize_fraction):
1298         * gst/gstvalue.h:
1299           Use gint, gdouble and gchar in our API instead of int, double and
1300           char (and make usage in gstvalue.c more consistent).
1301
1302 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1303
1304         * check/Makefile.am:
1305         * libs/gst/controller/Makefile.am:
1306         * libs/gst/dataprotocol/Makefile.am:
1307           fix up Makefile.am and remove GST_ENABLE_NEW
1308
1309 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1310
1311         * configure.ac:
1312         * gst/Makefile.am:
1313         * gst/base/Makefile.am:
1314         * gst/check/Makefile.am:
1315         * gst/elements/Makefile.am:
1316         * gst/net/Makefile.am:
1317           update LDFLAGS use some more
1318
1319 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1320
1321         * common/m4/gst-doc.m4:
1322           Fixes #312589
1323
1324 2005-11-26  Edward Hervey  <edward@fluendo.com>
1325
1326         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1327         This shouldn't issue a g_warning since it returns NULL if it
1328         couldn't find the plugin, and all functions using this behave
1329         properly on a NULL return. Switching to a GST_WARNING.
1330
1331 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1332
1333         * gst/gstbin.c: (gst_bin_handle_message_func):
1334         Don't leak clock messages.
1335
1336 2005-11-25  Wim Taymans  <wim@fluendo.com>
1337
1338         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1339         (gst_util_uint64_scale_int):
1340         Optimisations, remove unneeded vars.
1341
1342 2005-11-25  Wim Taymans  <wim@fluendo.com>
1343
1344         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1345         Added more checks for the high precision uint64 cases.
1346
1347         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1348         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1349         Implement high precision (guint64 * guint64) / guint64.
1350
1351 2005-11-24  Wim Taymans  <wim@fluendo.com>
1352
1353         * gst/base/gstbasesrc.c: (gst_base_src_query):
1354         Fix wrong percentage query.
1355
1356         * gst/gstutils.c: (gst_util_uint64_scale),
1357         (gst_util_uint64_scale_int):
1358         Add some more common cases that can be handled 
1359         efficiently to _scale.
1360
1361 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1362
1363         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1364         (gst_mini_object_suite):
1365           don't use check calls from threads; check probably isn't
1366           threadsafe and using a lock to make it threadsafe would
1367           defeat the purpose of this check
1368         * gst/check/gstcheck.c:
1369         * gst/check/gstcheck.h:
1370           use GST_DEBUG some more
1371
1372 2005-11-24  Wim Taymans  <wim@fluendo.com>
1373
1374         * gst/gstutils.c: (gst_util_uint64_scale),
1375         (gst_util_uint64_scale_int):
1376         Chain trivial case to _scale_int.
1377
1378 2005-11-24  Wim Taymans  <wim@fluendo.com>
1379
1380         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1381         Added test for scaling.
1382
1383         * gst/gstclock.h:
1384         Small doc fix.
1385
1386         * gst/gstutils.c: (gst_util_uint64_scale_int):
1387         Implemented high precision scaling code.
1388
1389 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1390
1391         * gst/gstinfo.h:
1392           do not crash on pad==NULL
1393
1394 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1395
1396         Patch by: Stefan Kost
1397
1398         * common/gtk-doc.mak:
1399         * docs/gst/Makefile.am:
1400         * docs/libs/Makefile.am:
1401           Fix distcheck issues for the libraries docs build
1402           Closes #319599.
1403
1404 2005-11-24  Michael Smith <msmith@fluendo.com>
1405
1406         * docs/manual/basics-helloworld.xml:
1407           Fix bug #315027: memory leak in example code in docs.
1408
1409 2005-11-24  Michael Smith <msmith@fluendo.com>
1410
1411         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1412           Unlock the PREROLL_LOCK in a failure case.
1413
1414 2005-11-24  Wim Taymans  <wim@fluendo.com>
1415
1416         * docs/gst/gstreamer-sections.txt:
1417         * gst/base/gstadapter.h:
1418         * gst/base/gstbasesink.h:
1419         * gst/base/gstbasesrc.h:
1420         * gst/base/gstbasetransform.h:
1421         * gst/base/gstpushsrc.h:
1422         * gst/elements/gstfakesink.h:
1423         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1424         * gst/elements/gstfakesrc.h:
1425         * gst/elements/gstfilesink.h:
1426         * gst/elements/gstfilesrc.h:
1427         * gst/gst.c:
1428         * gst/gstbin.c:
1429         * gst/gstbuffer.c: (_gst_buffer_copy):
1430         * gst/gstbus.h:
1431         * gst/gstcaps.c:
1432         * gst/gstchildproxy.c:
1433         * gst/gstclock.c:
1434         * gst/gstelement.c:
1435         * gst/gstelementfactory.c:
1436         * gst/gstelementfactory.h:
1437         * gst/gstevent.c:
1438         * gst/gstghostpad.h:
1439         * gst/gstindex.h:
1440         * gst/gstinterface.h:
1441         * gst/gstminiobject.c:
1442         * gst/gstminiobject.h:
1443         * gst/gstpad.c:
1444         * gst/gstpad.h:
1445         * gst/gstpadtemplate.h:
1446         * gst/gstpipeline.h:
1447         * gst/gstpluginfeature.h:
1448         * gst/gstquery.h:
1449         * gst/gstqueue.h:
1450         * gst/gsttaglist.c:
1451         * gst/gsttaglist.h:
1452         * gst/gsttagsetter.c:
1453         * gst/gsttagsetter.h:
1454         * gst/gsttrace.c:
1455         * gst/gsttrace.h:
1456         * gst/gsttypefind.h:
1457         * gst/gsturi.h:
1458         * gst/gstvalue.c:
1459         * gst/net/gstnetclientclock.c:
1460         * gst/net/gstnetclientclock.h:
1461         * gst/net/gstnettimepacket.c:
1462         * gst/net/gstnettimeprovider.c:
1463         * gst/net/gstnettimeprovider.h:
1464         Doc fixes.
1465
1466 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1467
1468         * configure.ac: back to HEAD
1469
1470 === release 0.9.6 ===
1471
1472 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1473
1474         * configure.ac:
1475           releasing 0.9.6, "Always On Time"
1476
1477 2005-11-23  Wim Taymans  <wim@fluendo.com>
1478
1479         * docs/gst/gstreamer-sections.txt:
1480         * gst/glib-compat.c:
1481         * gst/gsttagsetter.c:
1482         * gst/gstvalue.c:
1483         * gst/net/gstnetclientclock.c:
1484         * gst/net/gstnettimepacket.h:
1485         Doc updates.
1486
1487 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1488
1489         * docs/faq/using.xml:
1490         * docs/libs/tmpl/gstcontrol.sgml:
1491         * docs/manual/advanced-dparams.xml:
1492         * docs/manual/appendix-checklist.xml:
1493         * docs/manual/basics-elements.xml:
1494         * docs/pwg/other-source.xml:
1495         * docs/random/moving-plugins:
1496         * gst/gstpad.c:
1497         * tools/gst-launch.1.in:
1498           remove mentions of sinesrc
1499
1500 2005-11-23  Michael Smith <msmith@fluendo.com>
1501
1502         * docs/gst/gstreamer-sections.txt:
1503           Update for new API and API changes.
1504         * gst/gstobject.h:
1505           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1506         * gst/gstvalue.c:
1507           Documentation typo fix.
1508         * gst/net/gstnettimepacket.c:
1509           Documentation fixes for arguments.
1510
1511 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1512
1513         * gst/gststructure.c: (gst_structure_get_fraction),
1514         (gst_structure_parse_value),
1515         (gst_structure_fixate_field_nearest_fraction):
1516         * gst/gststructure.h:
1517         * gst/gstutils.c: (gst_util_uint64_scale_int):
1518         * gst/gstutils.h:
1519         * scripts/update-funcnames:
1520         API Changes. 
1521         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1522         Make gst_structure_fixate_field_nearest_fraction take a numerator
1523         and denominator argument instead of a GValue
1524         add gst_structure_get_fraction helper function.
1525
1526 2005-11-23  Wim Taymans  <wim@fluendo.com>
1527
1528         * docs/design/part-TODO.txt:
1529         Update TODO.
1530
1531         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1532         * gst/net/gstnetclientclock.h:
1533         Use parent fields for timeout and window_size.
1534
1535 2005-11-23  Andy Wingo  <wingo@pobox.com>
1536
1537         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1538         rate_num/rate_denom change.
1539
1540         * gst/net/gstnetclientclock.c
1541         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1542         OBJECT_LOCK. Don't call add_observation with the lock.
1543
1544         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1545         fraction.
1546         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1547         rate fraction.
1548         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1549         deal with rate as a fraction whose numerator and denominator are
1550         GstClockTime values.
1551         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1552         master; the other fields are protected by the SLAVE_LOCK.
1553         (do_linear_regression): Note that this must be called with the
1554         SLAVE_LOCK.
1555         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1556         OBJECT_LOCK. Call set_calibration instead of touching the
1557         variables directly.
1558         (gst_clock_set_property, gst_clock_get_property): Protect
1559         master/slave parameters with the SLAVE_LOCK.
1560
1561         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1562         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1563         note that all of the instance variables that add_observation and
1564         the set_master functions use are protected by that lock and not
1565         the OBJECT_LOCK.
1566         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1567
1568         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1569         the caller to take the object lock.
1570
1571 2005-11-23  Wim Taymans  <wim@fluendo.com>
1572
1573         * gst/gsterror.c: (_gst_core_errors_init):
1574         * gst/gsterror.h:
1575         Add error for clock stuff.
1576
1577         * gst/gstpipeline.c: (gst_pipeline_change_state),
1578         (gst_pipeline_set_clock):
1579         Post clock error when clock cannot be used in a pipeline.
1580
1581 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1582
1583         * docs/gst/gstreamer-sections.txt:
1584           make two symbols from gstinfo private for the docs
1585         * gst/base/gstcollectpads.h:
1586         * gst/gstutils.c:
1587           fix doc typos, update docs
1588
1589 2005-11-22  Wim Taymans  <wim@fluendo.com>
1590
1591         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1592         (gst_base_sink_wait), (gst_base_sink_do_sync),
1593         (gst_base_sink_handle_event):
1594         * gst/base/gstbasesink.h:
1595         No need to store the clock, the parent element class already
1596         has it.
1597
1598         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1599         Updates for clock_set returning a gboolean
1600
1601         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1602         (gst_clock_id_wait_async), (gst_clock_class_init),
1603         (gst_clock_init), (gst_clock_finalize),
1604         (gst_clock_get_internal_time), (gst_clock_get_time),
1605         (gst_clock_slave_callback), (gst_clock_set_master),
1606         (gst_clock_get_master), (do_linear_regression),
1607         (gst_clock_add_observation), (gst_clock_set_property),
1608         (gst_clock_get_property):
1609         * gst/gstclock.h:
1610         Implement master/slave. When setting a clock as a slave, a
1611         periodic timeout is scheduled to sample master and slave times.
1612         Then the slave clock is recalibrated to match offset and rate
1613         of the master clock.
1614         Update logging a bit.
1615         Add flag so that a clock can state that is cannot be slaved to
1616         another clock.
1617
1618         * gst/gstelement.c: (gst_element_set_clock):
1619         * gst/gstelement.h:
1620         The set clock returns a gboolean for when an element cannot
1621         deal with the selected clock in the pipeline. 
1622
1623         * gst/gstpipeline.c: (gst_pipeline_change_state),
1624         (gst_pipeline_set_clock):
1625         * gst/gstpipeline.h:
1626         Handle the case where the selected clock cannot be set on
1627         the pipeline.
1628
1629         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1630         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1631         (gst_net_client_clock_set_property),
1632         (gst_net_client_clock_get_property),
1633         (gst_net_client_clock_observe_times):
1634         * gst/net/gstnetclientclock.h:
1635         Use regression code in GstClock parent, remove duplicated
1636         functionality.
1637
1638 2005-11-22  Michael Smith <msmith@fluendo.com>
1639
1640         * gst/gstutils.c: (gst_util_clock_time_scale):
1641         * gst/gstutils.h:
1642         * docs/gst/gstreamer-sections.txt:
1643           Rename method to have extra underscore.
1644
1645 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1646
1647         * gst/elements/Makefile.am:
1648         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1649         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1650         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1651         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1652         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1653         * gst/elements/gstfakesrc.h:
1654         * gst/gstqueue.c: (queue_leaky_get_type):
1655           correctly fix GEnumValues so that nick is the short lowercase
1656           dashed tag
1657         * tools/gst-inspect.c: (print_element_properties_info):
1658           also show the nick, since it's useful to use from parse_launch
1659           syntax
1660           Fixes #322139
1661
1662 2005-11-22  Michael Smith <msmith@fluendo.com>
1663
1664         * gst/gstutils.c: (gst_util_clocktime_scale):
1665         * gst/gstutils.h:
1666         * docs/gst/gstreamer-sections.txt:
1667           Add util method for scaling a clocktime by a fraction. Useful 
1668           implementation is left as an exercise for the reader.
1669
1670 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1671
1672         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1673         If needed, allocate storage in the destination value during
1674         collection.
1675
1676 2005-11-22  Edward Hervey  <edward@fluendo.com>
1677
1678         * docs/gst/gstreamer-sections.txt:
1679         * gst/Makefile.am:
1680         * gst/gst.h:
1681         * gst/gsturitype.c:
1682         * gst/gsturitype.h:
1683         * gst/gstutils.c: (gst_util_set_object_arg):
1684         * tools/gst-compprep.c: (main):
1685         * tools/gst-inspect.c: (print_element_properties_info):
1686         Removed GstURI, closes bug #321061
1687
1688 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1689
1690         * check/gst/gststructure.c: (GST_START_TEST):
1691         * gst/gststructure.c: (gst_structure_parse_value):
1692           Oops, broke automatic string type parsing.
1693           Add a test to catch it in future.
1694
1695 2005-11-22  Andy Wingo  <wingo@pobox.com>
1696
1697         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1698         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1699         Actually rename the function implementations. Grr.
1700
1701 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1702
1703         * check/gst/capslist.h:
1704           Comment test cases
1705         * check/gst/gststructure.c: (GST_START_TEST),
1706         (gst_structure_suite):
1707           Test automatic value type detection in gst_structure_from_string.
1708         * gst/gststructure.c: (gst_structure_parse_value):
1709           Add fraction as a type we try and guess automatically in
1710           caps/structure strings.
1711
1712 2005-11-22  Andy Wingo  <wingo@pobox.com>
1713
1714         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1715
1716         * gst/gsttagsetter.h:
1717         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1718         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1719         (gst_tag_setter_add_tag_valist)
1720         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1721         _add_values, _add_valist, and _add_valist_values. Since this is an
1722         interface the function suffixes should be more explicit so
1723         language binding don't end up with element.add_valist ->
1724         gst_tag_setter_add_valist, for example. Fixes #322069.
1725
1726 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1727
1728         * check/gst/gstcaps.c: (GST_START_TEST):
1729           Extend caps string tests to check that a caps to string
1730           conversion is reversible and produces the same caps.
1731
1732         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1733           Output "fraction" as the generic type fraction range, so caps
1734           serialisation and deserialisation works.
1735         * check/gst/capslist.h:
1736         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1737           Support 'MIN' and 'MAX' for deserialising fractions.
1738
1739 2005-11-22  Andy Wingo  <wingo@pobox.com>
1740
1741         * gst/gstevent.h (gst_event_new_new_segment)
1742         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1743         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1744         Renamed from *_newsegment, *_buffersize, *_notarget.
1745
1746         * scripts/update-funcnames: New script, performs the changes
1747         listed above.
1748
1749 2005-11-22  Wim Taymans  <wim@fluendo.com>
1750
1751         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1752         Make sure the GstFlowReturn is returned.
1753
1754         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1755         (gst_bus_add_signal_watch):
1756         * gst/gstbus.h:
1757         add gst_bus_add_signal_watch_full.
1758
1759         * gst/gstplugin.c: (gst_plugin_load_file):
1760         Small style cleanup.
1761
1762 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1763
1764         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1765           Block the fakesrc srcpad when we send an event, to avoid
1766           contention on the stream_lock causing random test failures.
1767
1768 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1769
1770         * check/gst/gstvalue.c: (GST_START_TEST):
1771         * gst/gstvalue.c: (gst_value_fraction_subtract):
1772           Fix subtraction.
1773
1774 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1775
1776         * gst/gst.h:
1777           include "gstchildproxy.h"
1778         * gst/gstchildproxy.h:
1779         * libs/gst/controller/gstcontroller.h:
1780           use G_GNUC_NULL_TERMINATED
1781
1782 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1783
1784         * check/gst/capslist.h:
1785         * check/gst/gstcaps.c: (GST_START_TEST):
1786         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1787         * gst/gststructure.c: (gst_structure_parse_range),
1788         (gst_structure_fixate_field_nearest_fraction):
1789         * gst/gststructure.h:
1790         * gst/gstvalue.c: (gst_value_init_fraction_range),
1791         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1792         (gst_value_collect_fraction_range),
1793         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1794         (gst_value_set_fraction_range_full),
1795         (gst_value_get_fraction_range_min),
1796         (gst_value_get_fraction_range_max),
1797         (gst_value_serialize_fraction_range),
1798         (gst_value_transform_fraction_range_string),
1799         (gst_value_compare_fraction_range),
1800         (gst_value_deserialize_fraction_range),
1801         (gst_value_intersect_fraction_fraction_range),
1802         (gst_value_intersect_fraction_range_fraction_range),
1803         (gst_value_subtract_fraction_fraction_range),
1804         (gst_value_subtract_fraction_range_fraction),
1805         (gst_value_subtract_fraction_range_fraction_range),
1806         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1807         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1808         (gst_value_transform_string_fraction), (_gst_value_initialize):
1809         * gst/gstvalue.h:
1810           Implement fraction ranges and extend GstFraction to support
1811           arithmetic subtraction, as well as deserialization from integer
1812           strings such as "100"
1813           Add a testsuite as for int and double range set operations
1814
1815 2005-11-21  Andy Wingo  <wingo@pobox.com>
1816
1817         * gst/gsttaglist.h: 
1818         * gst/gstcaps.h: 
1819         * gst/gststructure.h: Add glib-compat.h.
1820
1821 2005-11-21  Wim Taymans  <wim@fluendo.com>
1822
1823         * gst/gstbin.c: (gst_bin_change_state_func):
1824         Fix for #321595
1825
1826 2005-11-21  Wim Taymans  <wim@fluendo.com>
1827
1828         * gst/gstsegment.h:
1829         And add a nice define too.
1830
1831 2005-11-21  Wim Taymans  <wim@fluendo.com>
1832
1833         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1834         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1835         (gst_segment_set_duration), (gst_segment_set_last_stop),
1836         (gst_segment_set_seek), (gst_segment_set_newsegment),
1837         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1838         (gst_segment_clip):
1839         * gst/gstsegment.h:
1840         Make binding friendly.
1841
1842 2005-11-21  Andy Wingo  <wingo@pobox.com>
1843
1844         * gst/gsttagsetter.h: 
1845         * gst/gsttaglist.h: 
1846         * gst/gststructure.h: 
1847         * gst/gstcaps.h: 
1848         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1849         #319940.
1850
1851         * gst/gsterror.c (_gst_core_errors_init):
1852         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1853         category.
1854
1855         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1856         (noinst_HEADERS): noinst the -private.
1857
1858 2005-11-21  Michael Smith <msmith@fluendo.com>
1859
1860         * gst/gstplugin.h:
1861         * gst/gstregistry.h:
1862           Remove unimplemented declarations for which we can see no sensible
1863           use.
1864
1865 2005-11-21  Andy Wingo  <wingo@pobox.com>
1866
1867         * gst/gst.h: Include glib-compat.h.
1868
1869         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1870
1871         * gst/glib-compat.c: Include the public and the private header.
1872
1873         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1874
1875         * gst/gstvalue.c: 
1876         * gst/gstpad.c: 
1877         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1878
1879         * check/gst/gstevent.c (create_custom_events): Check that
1880         FLUSH_STOP is serialized.
1881
1882         * check/elements/identity.c (event_func): 
1883         * check/elements/fakesrc.c (event_func): No stream lock, the core
1884         takes it.
1885
1886         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1887         stream lock taking, yay.
1888
1889         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1890         ensure that core takes the stream lock.
1891
1892         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1893         lock name change.
1894
1895         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1896         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1897         it already. For the flush start we do take it though so we get the
1898         right preroll state change messages.
1899
1900         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1901         the stream lock here, the core does it for us.
1902
1903         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1904         GST_STREAM_GET_LOCK.
1905         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1906         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1907         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1908         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1909         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1910         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1911
1912         * gst/gstpad.c: Update for stream lock name change.
1913
1914         * gst/base/gstbasesink.c: Update for preroll lock name change.
1915
1916 2005-11-21  Wim Taymans  <wim@fluendo.com>
1917
1918         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1919         (gst_clock_get_master):
1920         * gst/gstclock.h:
1921         * gst/gstsystemclock.c: (gst_system_clock_init):
1922         Convert Clock flags to object flags.
1923         Added methods to manage master/slave clocks.
1924
1925 2005-11-21  Wim Taymans  <wim@fluendo.com>
1926
1927         * check/gst/gstsegment.c: (GST_START_TEST):
1928         * docs/design/part-TODO.txt:
1929         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1930         (gst_base_sink_event), (gst_base_sink_do_sync),
1931         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1932         (gst_base_sink_query), (gst_base_sink_change_state):
1933         * gst/base/gstbasesink.h:
1934         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1935         (gst_base_src_default_newsegment),
1936         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1937         (gst_base_src_get_range), (gst_base_src_loop),
1938         (gst_base_src_change_state):
1939         * gst/base/gstbasesrc.h:
1940         * gst/base/gstbasetransform.c:
1941         (gst_base_transform_prepare_output_buf),
1942         (gst_base_transform_event), (gst_base_transform_change_state):
1943         * gst/base/gstbasetransform.h:
1944         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1945         (gst_collect_pads_event):
1946         * gst/base/gstcollectpads.h:
1947         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1948         (gst_fake_src_create):
1949         * gst/elements/gstfakesrc.h:
1950         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1951         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1952         (gst_segment_set_last_stop), (gst_segment_set_seek),
1953         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1954         (gst_segment_to_running_time), (gst_segment_clip):
1955         * gst/gstsegment.h:
1956         More segment updates, replace code in plugins with segment
1957         helper functions.
1958
1959 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1960
1961         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1962         Don't ignore sscanf results
1963
1964 2005-11-21  Andy Wingo  <wingo@pobox.com>
1965
1966         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1967
1968         * *.h:
1969         * *.c: Ran scripts/update-macros. Oh yes.
1970
1971         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1972         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1973         GST_GET_LOCK, etc.
1974
1975         * scripts/update-macros: New script. Run it on your files to
1976         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1977         well.
1978
1979 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1980
1981         * docs/gst/Makefile.am:
1982         * docs/gst/gstreamer-docs.sgml:
1983         * docs/gst/gstreamer-sections.txt:
1984         * docs/gst/gstreamer.types:
1985         * gst/gstinfo.h:
1986           more docs fixes, add new api to the docs
1987
1988 2005-11-21  Andy Wingo  <wingo@pobox.com>
1989
1990         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1991         state_broadcast call.
1992
1993         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1994
1995 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1996
1997         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1998         function calls for arrays.
1999
2000 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2001
2002         * docs/random/ensonic/media-device-daemon.txt:
2003           wild idea, can this be done?
2004         * docs/gst/gstreamer-sections.txt:
2005         * gst/gsterror.h:
2006         * gst/gstfilter.c:
2007         * gst/gstfilter.h:
2008         * gst/gstplugin.h:
2009         * gst/gstpluginfeature.c:
2010         * gst/gsttrace.c:
2011         * gst/gstvalue.c:
2012         * gst/gstvalue.h:
2013           doc fixes and additions
2014
2015 2005-11-21  Andy Wingo  <wingo@pobox.com>
2016
2017         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
2018         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
2019         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
2020         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2021         private to the basesrc implementation.
2022
2023         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2024         behalf of event function if necessary. It should no longer be
2025         necessary to take the stream lock in pad's event functions. Fixes
2026         #320299.
2027
2028 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2029         * docs/gst/gstreamer-sections.txt:
2030         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2031         (gst_structure_fixate_field_nearest_double),
2032         (gst_structure_fixate_field_boolean):
2033         * gst/gststructure.h:
2034         * win32/common/libgstreamer.def:
2035         * win32/gstreamer.def:
2036
2037         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2038         (#322027)
2039
2040 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2041
2042         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2043         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2044         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2045         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2046         (gst_fdsrc_uri_handler_init):
2047         * gst/elements/gstfdsrc.h:
2048           Port fd:// URI handler from 0.8 to fdsrc
2049
2050 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2051
2052         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2053         (gst_value_serialize_fourcc):
2054         * gst/gstvalue.h:
2055           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2056           consistent with our other format defines (#320324).
2057
2058 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2059
2060         * gst/gstvalue.c: (gst_value_is_fixed):
2061           Revert previous commit. Value lists are by definition
2062           not fixed, as they are a list of possible values.
2063
2064 2005-11-21  Andy Wingo  <wingo@pobox.com>
2065
2066         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2067         during the stable series if we need it. Fixes #319178.
2068
2069         * gst/gstevent.c (gst_event_new_filler): Removed.
2070
2071         * check/gst/gstevent.c: Update comment about filler events.
2072
2073 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2074
2075         * gst/gstvalue.c: (gst_value_is_fixed):
2076           Should handle both value arrays and value lists.
2077
2078 2005-11-21  Andy Wingo  <wingo@pobox.com>
2079
2080         patch by: Alessandro Dessina <alessandro nnva org>
2081
2082         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2083         functions to access arrays. Fixes #321962.
2084
2085 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2086
2087         * docs/gst/gstreamer.types:
2088           gst_collectpads_get_type => gst_collect_pads_get_type.
2089           
2090         * gst/base/gstbasetransform.c:
2091           Remove unused SIGNAL_HANDOFF enum.
2092
2093 2005-11-21  Andy Wingo  <wingo@pobox.com>
2094
2095         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2096         the event type (upstream, downstream, serialized). Renamed
2097         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2098         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2099         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2100
2101         * gst/gstevent.c: Update for new CUSTOM event names.
2102
2103         * check/gst/gstevent.c: Update check for new CUSTOM event names.
2104
2105         * gst/gstevent.h:
2106         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2107         bug #319392.
2108
2109 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2110
2111         * docs/gst/gstreamer-sections.txt:
2112         * win32/common/libgstbase.def:
2113         * win32/libgstbase.def:
2114         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2115         (gst_collect_pads_class_init), (gst_collect_pads_init),
2116         (gst_collect_pads_finalize), (gst_collect_pads_new),
2117         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2118         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2119         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2120         (gst_collect_pads_start), (gst_collect_pads_stop),
2121         (gst_collect_pads_peek), (gst_collect_pads_pop),
2122         (gst_collect_pads_available), (gst_collect_pads_read),
2123         (gst_collect_pads_flush), (gst_collect_pads_event),
2124         (gst_collect_pads_chain):
2125         * gst/base/gstcollectpads.h:
2126           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2127           unimplemented functions as unimplemented. Add padding to
2128           GstCollectData. (#320766, #320423)
2129
2130 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2131
2132         * gst/gstmessage.c:
2133           Improve docs for DURATION message (usage of duration parameter)
2134           (#320113)
2135
2136 2005-11-20  Wim Taymans  <wim@fluendo.com>
2137
2138         * check/Makefile.am:
2139         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2140         (main):
2141         * gst/Makefile.am:
2142         * gst/gst.h:
2143         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2144         (gst_segment_set_seek), (gst_segment_set_newsegment),
2145         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2146         (gst_segment_clip):
2147         * gst/gstsegment.h:
2148         Added segment helper structure and methods. Not fully implemented
2149         yet.
2150         Added segment check.
2151
2152 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
2153
2154         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2155           Add a deserialisation test for fractions
2156         * examples/metadata/read-metadata.c: (message_loop),
2157         (make_pipeline), (main):
2158           Fix up metadata reading sample.
2159         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2160           Debug format fix
2161         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2162           Don't try and fixate empty caps
2163         * gst/gst_private.h:
2164           Wrap in G_BEGIN_DECLS/G_END_DECLS
2165         * gst/gstvalue.c: (gst_value_collect_fraction),
2166         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2167         (gst_value_transform_string_fraction),
2168         (gst_value_compare_fraction):
2169           Add some extra guards to ensure that we don't end up 
2170           with an invalid denominator of 0 in a gstfraction and
2171           that fractions always get reduced.
2172
2173 2005-11-20  Wim Taymans  <wim@fluendo.com>
2174
2175         * docs/gst/gstreamer-sections.txt:
2176         * gst/gstbuffer.h:
2177         * gst/gstelement.c:
2178         * gst/gstformat.c:
2179         * gst/gstformat.h:
2180         * gst/gstindex.h:
2181         * gst/gstquery.c:
2182         * gst/gstquery.h:
2183         * gst/gstvalue.c:
2184         Doc fixes.
2185
2186 2005-11-20  Wim Taymans  <wim@fluendo.com>
2187
2188         * docs/design/part-TODO.txt:
2189         * gst/gstcaps.h:
2190         Make a proper enum of the flag.
2191
2192 2005-11-19  Wim Taymans  <wim@fluendo.com>
2193
2194         * docs/design/part-TODO.txt:
2195         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2196         (gst_format_to_quark), (gst_format_register):
2197         * gst/gstformat.h:
2198         * gst/gstquery.c: (_gst_query_initialize),
2199         (gst_query_type_get_name), (gst_query_type_to_quark),
2200         (gst_query_type_register):
2201         * gst/gstquery.h:
2202         Add type to quark and type to string conversions.
2203
2204 2005-11-19  Andy Wingo  <wingo@pobox.com>
2205
2206         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2207         #320097.
2208
2209 2005-11-19  Wim Taymans  <wim@fluendo.com>
2210
2211         * docs/design/part-TODO.txt:
2212         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2213         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2214         (gst_bin_handle_message_func):
2215         * gst/gstbin.h:
2216         Make message handling overridable.
2217
2218 2005-11-19  Andy Wingo  <wingo@pobox.com>
2219
2220         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2221
2222         * gst/gstclock.h:
2223         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2224         be a GstClockTime.
2225         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2226         is a GstClockTime. Fixes #321710.
2227
2228         * gst/gstclock.h (GstClock): Remove offset property. Add
2229         internal_calibration and external_calibration. Fix padding. Pad
2230         also by GstClockTime so we don't run into problems.
2231
2232         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2233         (gst_clock_get_rate_offset): Remove.
2234         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2235
2236         * gst/gstutils.h:
2237         * gst/gstutils.c (g_static_rec_cond_wait)
2238         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2239
2240         * gst/gstbin.c: Remove terrible continue_state prototype.
2241
2242         * gst/gstelement.h (gst_element_continue_state): Make public.
2243
2244         * gst/gstelement.h:
2245         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2246         by continue_state. Fixes #319389.
2247
2248         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2249         Really fixes #168438. However I don't see anywhere where the
2250         filter function is called... stupid GStreamer...
2251         
2252         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2253         don't have a dispose function, so it won't get called when the
2254         object is unreffed, but oh well!
2255
2256         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2257         allows a destroy function to be set so user_data can be freed.
2258         Fixes #168438.
2259         (gst_index_set_filter): Call gst_index_set_filter_full.
2260
2261         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2262
2263         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2264         string should produce an error, given the lack of a way to
2265         represent NULL strings. Fixes #165650.
2266         
2267         * gst/gstvalue.h: 
2268         * gst/gstvalue.c (gst_value_array_append_value) 
2269         (gst_value_array_prepend_value, gst_value_array_get_size) 
2270         (gst_value_array_get_value): New API, copied from
2271         gst_value_list_*, only operates on arrays.
2272         (gst_value_list_append_value, gst_value_list_prepend_value) 
2273         (gst_value_list_concat, gst_value_list_get_size) 
2274         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2275
2276         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2277         init_list, because it works on both.
2278         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2279         (gst_value_copy_list_or_array): Renamed from copy_list.
2280         (gst_value_free_list_or_array): Renamed from free_list.
2281         (gst_value_collect_list_or_array): Renamed from collect_list.
2282         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2283         (gst_value_list_or_array_peek_pointer): Renamed from
2284         list_peek_pointer.
2285         (_gst_value_array_value_table, _gst_value_list_value_table):
2286         Update value table functions.
2287         (gst_value_compare_list_or_array): Renamed from compare_list.
2288
2289         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2290         some constness.
2291
2292         * gst/gsttaglist.c:
2293         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2294         GstTagList*. Fixes #143472.
2295
2296         * gst/gststructure.h: Clarify what the foreach/map functions can
2297         or can't do to their arguments.
2298
2299 2005-11-18  Wim Taymans  <wim@fluendo.com>
2300
2301         * gst/gstclock.c: (gst_clock_set_calibration),
2302         (gst_clock_get_calibration):
2303         Doc and API fixes.
2304         Calibration can be set with internal time equal to current
2305         internal time too.
2306
2307 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2308
2309         * gst/gsterror.c:
2310         * gst/gsterror.h:
2311           document
2312
2313 2005-11-18  Andy Wingo  <wingo@pobox.com>
2314
2315         * configure.ac: 
2316         * pkgconfig/gstreamer-net.pc.in:
2317         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2318         * pkgconfig/Makefile.am: Add net pkgconfig files.
2319
2320 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2321
2322         * gst/gstcaps.c:
2323         * gst/gstghostpad.c:
2324         * gst/gsttrace.c:
2325         * gst/gstvalue.c:
2326         * gst/gstvalue.h:
2327           docs fixes
2328
2329 2005-11-18  Andy Wingo  <wingo@pobox.com>
2330
2331         * gst/net/gstnetclientclock.c: Turn off debugging.
2332
2333         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2334         times connverge somewhat. Can't make a real test.
2335
2336         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2337         integer arithmetic. Return the minimum of the domain, which can be
2338         set as "internal" for gst_clock_set_calibration.
2339         (gst_net_client_clock_observe_times): Call _set_calibration.
2340         (gst_net_client_clock_new): Call _set_calibration instead of
2341         rate_offset.
2342
2343         * check/net/gstnetclientclock.c (test_functioning): Use the right
2344         adjustment api.
2345
2346         * gst/gstclock.h:
2347         * gst/gstclock.c (gst_clock_get_calibration) 
2348         (gst_clock_set_calibration): New functions, obsolete the ones I
2349         added yesterday. Doh. Precision issues mean we have to extrapolate
2350         from a point in the more recent past than 1970.
2351         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2352         obsolete.
2353         (gst_clock_adjust_unlocked): Use the right calibration data.
2354
2355 2005-11-18  Edward Hervey  <edward@fluendo.com>
2356
2357         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2358         Also reset the ->current_* values in READY->PAUSED
2359
2360 2005-11-18  Andy Wingo  <wingo@pobox.com>
2361
2362         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2363         Whoops, check the right fd. Also add some debugging.
2364         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2365         (do_linear_regression): Add a crapload of debugging. Subtract off
2366         the minimum values from the input series to discard unneeded bits.
2367         Use only int arithmetic. There is still double arithmetic when
2368         calculating the intercept that needs fixing. Return boolean to
2369         indicate success; FALSE would mean the domain or range is too
2370         great. Still needs fixes.
2371
2372 2005-11-18  Wim Taymans  <wim@fluendo.com>
2373
2374         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2375         For the current position in stream time, we need to subtract
2376         accumulated time.
2377         
2378         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2379         Release lock before calling the callback function of async
2380         entries.
2381
2382 2005-11-18  Andy Wingo  <wingo@pobox.com>
2383
2384         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2385         Port goes all the way to MAXUINT16.
2386
2387         * gst/net/gstnettimeprovider.c: Make the port range the same as
2388         for the kernel: 0 assigns, otherwise ports are less than
2389         MAXUINT16.
2390
2391         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2392         port change.
2393
2394         * check/net/gstnetclientclock.c (test_functioning): Add the start
2395         of another test. 
2396
2397 2005-11-18  Wim Taymans  <wim@fluendo.com>
2398
2399         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2400         (gst_bin_remove_func), (bin_bus_handler):
2401         * gst/gstbin.h:
2402         Removing a clock provider from a bin, triggers a clock lost message
2403         so that a new clock will be selected.
2404         Adding a clock to a bin triggers a clock provider message.
2405         Make sure we reselect a clock when we received a clock lost message.
2406         Keep a reference to the element that provided the clock.
2407
2408 2005-11-18  Andy Wingo  <wingo@pobox.com>
2409
2410         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2411         the clock initially so it produces values around the base time.
2412         (gst_net_client_clock_class_init): Typo fix.
2413         (gst_net_client_clock_thread): Add note on when the socket gets
2414         closed.
2415
2416 2005-11-17  Wim Taymans  <wim@fluendo.com>
2417
2418         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2419         Free remote and local time arrays.
2420
2421 2005-11-17  Wim Taymans  <wim@fluendo.com>
2422
2423         * gst/net/gstnetclientclock.c: (do_linear_regression),
2424         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2425         Fix compilation, uninitialized vars and a forgotten continue.
2426
2427 2005-11-17  Andy Wingo  <wingo@pobox.com>
2428
2429         * check/Makefile.am (check_PROGRAMS): 
2430         * check/net/gstnetclientclock.c: Add a most minimal test for the
2431         net client clock. More to come later.
2432
2433         * gst/net/gstnet.h: 
2434         * gst/net/Makefile.am: Add netclientclock.
2435
2436         * gst/net/gstnetclientclock.h:
2437         * gst/net/gstnetclientclock.c: New files, implement an untested
2438         GstClock that takes its time from a network time provider.
2439         Implements the algorithm in network-clock.scm.
2440
2441         * tests/network-clock.scm (*window-size*): Rename from
2442         *queue-length*.
2443         * tests/network-clock.scm (network-time): 
2444         * tests/network-clock-utils.scm (q-push): Update callers.
2445
2446 2005-11-17  Wim Taymans  <wim@fluendo.com>
2447
2448         * gst/gstbin.c: (gst_bin_provide_clock_func),
2449         (gst_bin_sort_iterator_new):
2450         And unref the child too..
2451
2452 2005-11-17  Wim Taymans  <wim@fluendo.com>
2453
2454         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2455         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2456         Refactor the sort iterator so it can be used while holding the
2457         LOCK too.
2458         Make clock selection select a clock closest to the source.
2459
2460 2005-11-17  Michael Smith <msmith@fluendo.com>
2461
2462         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2463         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2464         * gst/gstclock.h:
2465           Anonymous structs are a gcc (and some other compilers) extension, so
2466           don't use them. Since this is only for ABI-compatibility, and our
2467           API/ABI freeze is over in a few days, this whole thing will only
2468           last a few days, so don't bother trying to think up a meaningful
2469           name for the struct.
2470
2471 2005-11-17  Andy Wingo  <wingo@pobox.com>
2472
2473         * gst/gstclock.h (GstClock): Add rate and offset properties,
2474         preserving ABI stability. Add rate/offset accessors. Will file bug
2475         for the freeze break.
2476
2477         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2478         and offset, trying to keep precision and avoiding
2479         underflow/overflow.
2480         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2481         functions. Make gst_clock_set_time_adjust obsolete.
2482         (gst_clock_set_time_adjust): Note that this function is obsolete.
2483         Will file bug soon.
2484
2485         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2486         greppable by using GST_PADDING-1+1.
2487
2488 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2489
2490         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2491
2492         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2493           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2494
2495         * gst/gstpadtemplate.h:
2496         * gst/gstpluginfeature.h:
2497           Don't use c++ style comments in headers (#321638).
2498
2499 2005-11-16  Andy Wingo  <wingo@pobox.com>
2500
2501         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2502         buffer.
2503
2504         * check/net/gstnettimeprovider.c: Check to see that the time
2505         provider actually provides times. Works, yo!
2506
2507 2005-11-16  Wim Taymans  <wim@fluendo.com>
2508
2509         * check/Makefile.am:
2510         Enable more tests.
2511
2512         * check/elements/fakesrc.c: (GST_START_TEST):
2513         Set element to NULL before disposing it.
2514
2515 2005-11-16  Andy Wingo  <wingo@pobox.com>
2516
2517         * gst/net/Makefile.am:
2518         * gst/net/gstnet.h:
2519         * gst/net/gstnettimeprovider.c: 
2520         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2521         provider, include it from gstnet.h, and add it to the build.
2522
2523         * gst/net/gstnettimepacket.h: 
2524         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2525         sending and receiving.
2526
2527 2005-11-16  Wim Taymans  <wim@fluendo.com>
2528
2529         * check/Makefile.am:
2530         Enable valgrind check.
2531
2532         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2533         (gst_fake_src_alloc_buffer):
2534         Fix memleak.
2535
2536 2005-11-16  Wim Taymans  <wim@fluendo.com>
2537
2538         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2539         Call parent finalize too.
2540
2541 2005-11-16  Wim Taymans  <wim@fluendo.com>
2542
2543         * check/Makefile.am:
2544         Enable valgrind check that should work fine now.
2545
2546         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2547         * gst/gstqueue.c: (gst_queue_init):
2548         Fix memleaks in pad allocation.
2549
2550 2005-11-16  Andy Wingo  <wingo@pobox.com>
2551
2552         * gst/net/Makefile.am:
2553         * gst/net/gstnet.h: New part of core to hold network elements and
2554         objects. Put in core because it exposes API that applications want
2555         to use. The library is named libgstnet-tempname right now because
2556         of the existing libgstnet in gst-plugins-base. Solution is
2557         probably to rename the one in plugins-base; will file a bug for
2558         the freeze break.
2559
2560         * gst/net/gstnettimeprovider.c: 
2561         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2562         get_time call over the network.
2563
2564         * configure.ac: 
2565         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2566
2567         * check/Makefile.am:
2568         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2569         get additions shortly.
2570
2571 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2572
2573         * gst/gstpad.c: (gst_pad_new_from_static_template):
2574         * gst/gstpad.h:
2575           add gst_pad_new_from_static_template functions
2576         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2577         (gst_check_setup_sink_pad):
2578         * gst/elements/gsttee.c: (gst_tee_init):
2579           and use them
2580
2581 2005-11-16  Wim Taymans  <wim@fluendo.com>
2582
2583         * gst/gstpad.c: (gst_pad_pause_task):
2584         Removed warning, it's not really an error either.
2585
2586 2005-11-16  Wim Taymans  <wim@fluendo.com>
2587
2588         * gst/base/gstbasetransform.c:
2589         (gst_base_transform_prepare_output_buf),
2590         (gst_base_transform_event):
2591         Check if the caps are NULL, this can happen if the element
2592         is shutting down and the pad caps are set to NULL.
2593
2594 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2595
2596         * gst/elements/gsttee.c: (gst_tee_init):
2597           fix pad template leak in tee
2598
2599 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2600
2601         * gst/glib-compat.c: (g_value_dup_gst_object):
2602         * gst/glib-compat.h:
2603         * gst/gstpad.c: (gst_pad_set_property):
2604           use gst_object_ref when setting the pad template; this will
2605           trigger the pad template leaks on GLib 2.6 and the slaves
2606
2607 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2608
2609         * gst/glib-compat.c: (gst_flags_get_first_value):
2610         * gst/glib-compat.h:
2611         * gst/gstregistryxml.c:
2612           remove functions copied from GLib 2.6
2613
2614 2005-11-16  Michael Smith <msmith@fluendo.com>
2615
2616         * gst/Makefile.am:
2617           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2618           do, but only breaks with newer valgrind versions. We're not a
2619           valgrind tool, we have no link-time dependencies on libcoregrind.
2620
2621 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2622
2623         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2624           some debug changes
2625         * gst/gstmessage.h:
2626           typo fixes
2627
2628 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2629
2630         * gst/base/gstbasesrc.c: (gst_base_src_init):
2631         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2632         * gst/gstqueue.c: (gst_queue_init):
2633         * gst/gstregistryxml.c: (load_feature):
2634           Revert all these unrefs, they don't even pass make check !
2635
2636 2005-11-15  Johan Dahlin  <johan@gnome.org>
2637
2638         * gst/base/gstbasesrc.c: (gst_base_src_init):
2639         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2640         * gst/gstqueue.c: (gst_queue_init): 
2641         Free pad templates, fixes a couple of leaks.
2642
2643 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2644
2645         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2646
2647         * gst/gstpad.c: (gst_pad_get_property):
2648           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2649           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2650           (#321452)
2651
2652 2005-11-15  Wim Taymans  <wim@fluendo.com>
2653
2654         * gst/gstevent.c:
2655         Small doc update.
2656
2657 2005-11-15  Andy Wingo  <wingo@pobox.com>
2658
2659         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2660
2661         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2662         using GST_CLOCK_TIME_NONE to disable base time management.
2663         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2664         time if it was NONE before.
2665         (gst_pipeline_change_state): Only munge the base time if
2666         stream_time != GST_CLOCK_TIME_NONE.
2667
2668         * check/gst/gstpipeline.c (test_base_time): Punt around the
2669         problem of the probe not being called, because that's not the
2670         issue I'm looking at. Add a check that setting stream_time to NONE
2671         disables base time management.
2672         
2673 2005-11-15  Wim Taymans  <wim@fluendo.com>
2674
2675         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2676         segment_stop == -1 at startup.
2677
2678         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2679         (gst_base_transform_change_state):
2680         Init segment values at start.
2681
2682 2005-11-15  Wim Taymans  <wim@fluendo.com>
2683
2684         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2685         0 segment values are 0 in any format.
2686
2687         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2688         * gst/base/gstbasetransform.h:
2689         Parse newsegment correctly in basetransform
2690
2691         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2692         Sync to clock using updated segment values.
2693
2694 2005-11-15  Andy Wingo  <wingo@pobox.com>
2695
2696         * check/gst/gstpipeline.c (test_base_time): Add check that the
2697         base time and stream time are reset correctly.
2698
2699 2005-11-15  Wim Taymans  <wim@fluendo.com>
2700
2701         * docs/design/part-TODO.txt:
2702         Some more TODO items.
2703
2704 2005-11-15  Andy Wingo  <wingo@pobox.com>
2705
2706         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2707         error if the user selected "no clock" as the clocking method.
2708
2709         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2710         timestamps with live capture.
2711
2712         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2713         is 0 but we are a live source, timestamp the buffers using the
2714         element's clock.
2715
2716 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2717
2718         * docs/gst/gstreamer-sections.txt:
2719         * gst/gsterror.c:
2720         * gst/gstghostpad.c:
2721         * gst/gstobject.h:
2722         * gst/gstxml.c:
2723           more section docs
2724
2725 2005-11-14  Wim Taymans  <wim@fluendo.com>
2726
2727         * common/gst.supp:
2728           add suppressions from Wim's Debian machine
2729
2730 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2731
2732         * common/gst.supp:
2733           add suppressions from Andy's AMD64 Ubuntu machine
2734
2735 2005-11-14  Andy Wingo  <wingo@pobox.com>
2736
2737         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2738         STATE_LOCK not necessary. Fixes #311489.
2739
2740         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2741         #305291.
2742
2743         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2744         this function is not implemented.
2745
2746 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2747
2748         * gst/base/gstbasetransform.c:
2749         (gst_base_transform_prepare_output_buf):
2750         Ref the source pad caps while we need them.
2751         Fixes (#321386)
2752
2753 2005-11-11  Wim Taymans  <wim@fluendo.com>
2754
2755         * docs/gst/gstreamer-sections.txt:
2756         Added some docs for GstCollectData.
2757
2758         * gst/base/gstadapter.c:
2759         Some small code example fix.
2760
2761         * gst/base/gstcollectpads.c:
2762         * gst/base/gstcollectpads.h:
2763         Document some more.
2764
2765 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2766
2767         * configure.ac: back to HEAD
2768
2769 === release 0.9.5 ===
2770
2771 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2772
2773         * configure.ac:
2774           releasing 0.9.5, "Bike Lunch Day"
2775
2776 2005-11-11  Wim Taymans  <wim@fluendo.com>
2777
2778         * gst/gstbuffer.c: (_gst_buffer_copy):
2779         Copy more flags.
2780
2781         * gst/gstcaps.c: (gst_caps_is_equal):
2782         Fix some docs.
2783         Make _is_equal fast in the trivial cases.
2784
2785         * gst/gstminiobject.c:
2786         * gst/gstminiobject.h:
2787         More docs. Spifify .h file.
2788
2789         * gst/gstutils.c:
2790         Small doc update.
2791
2792 2005-11-11  Wim Taymans  <wim@fluendo.com>
2793
2794         * gst/base/gstbasetransform.c:
2795         (gst_base_transform_prepare_output_buf),
2796         (gst_base_transform_handle_buffer):
2797         Small cleanups.
2798         If we're processing a buffer and need to allocate an output
2799         buffer, we cannot accept a format change. If we did get a 
2800         format change, we have to alloc a buffer ourselves of the 
2801         right size.
2802
2803 2005-11-11  Wim Taymans  <wim@fluendo.com>
2804
2805         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2806         While checking the flag for reentrancy in the gstcaps function
2807         is nice to detect recursive invocations, it also makes it 
2808         impossible to call getcaps from multiple threads, which must be
2809         possible. So, checking for recursive calls has to go.
2810
2811 2005-11-11  Michael Smith <msmith@fluendo.com>
2812
2813         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2814           Don't sync on buffers that fall partially outside our current
2815           segment. Prevents an assertion failure/abort playing some files.
2816
2817 2005-11-10  Andy Wingo  <wingo@pobox.com>
2818
2819         * check/gst/gstbin.c (test_message_state_changed_children): Style
2820         fix..
2821
2822         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2823         gst_bus_poll with the signal watch. Ensures that poll and a signal
2824         watch see the same messages.
2825
2826         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2827         a poll and a watch at the same time get the same messages.
2828
2829 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2830
2831         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2832         * gst/gstcaps.c: (gst_caps_intersect):
2833           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2834           and it's not needed.
2835
2836 2005-11-10  Wim Taymans  <wim@fluendo.com>
2837
2838         * docs/design/part-TODO.txt:
2839         Updated todo.
2840
2841 2005-11-10  Wim Taymans  <wim@fluendo.com>
2842
2843         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2844         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2845         (gst_base_src_do_sync), (gst_base_src_get_range):
2846         Implement clock sync in base class.
2847
2848 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2849
2850         patch by: Tim-Philipp Müller <tim at centricular dot net>
2851
2852         * gst/gststructure.c: (gst_structure_parse_field),
2853         (gst_structure_from_string):
2854           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2855           so that gst_parse_launch() can deal with spaces in filtered link
2856           caps (fixes #164479)
2857         * check/gst/capslist.h:
2858         * check/gst/gststructure.c: (GST_START_TEST):
2859           add unit tests for this change
2860
2861 2005-11-10  Wim Taymans  <wim@fluendo.com>
2862
2863         * docs/gst/gstreamer-sections.txt:
2864         * gst/gstelement.c:
2865         * gst/gstelement.h:
2866         Fix docs, move some STATE macros to private.
2867
2868 2005-11-10  Wim Taymans  <wim@fluendo.com>
2869
2870         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2871         Added check for bug #317341
2872
2873         * gst/gstbuffer.c:
2874         * gst/gstbuffer.h:
2875         Some more spiffifying.
2876
2877         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2878         Call peer linkfunction if we are a source pad. Totally fixes
2879         #317341
2880
2881         * gst/gstpad.c:
2882         Update docs, source pads should call the peer linkfunction
2883         so they can atomically perform the pad link.
2884
2885 2005-11-09  Wim Taymans  <wim@fluendo.com>
2886
2887         * gst/gstbuffer.c:
2888         * gst/gstbuffer.h:
2889         Uber-spiffy-spiffify some more.
2890
2891 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2892
2893         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2894         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2895         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2896         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2897         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2898         * gst/gstpad.c: (gst_pad_init):
2899           Use GST_DEBUG_FUNCPTR() more extensively.
2900
2901 2005-11-09  Wim Taymans  <wim@fluendo.com>
2902
2903         * gst/gstobject.c: (gst_object_class_init):
2904         * gst/gstobject.h:
2905         Documentation fixes.
2906
2907 2005-11-09  Edward Hervey  <edward@fluendo.com>
2908
2909         * gst/gsttypefindfactory.c:
2910         Fix docs.
2911         
2912 2005-11-09  Edward Hervey  <edward@fluendo.com>
2913
2914         * gst/base/gsttypefindhelper.c:
2915         * gst/gsttypefind.c:
2916         * gst/gsttypefind.h:
2917         Fix docs.
2918
2919 2005-11-09  Wim Taymans  <wim@fluendo.com>
2920
2921         * gst/gstiterator.c:
2922         Fix revision data.
2923
2924         * gst/gsttask.c:
2925         * gst/gsttask.h:
2926         Fix docs.
2927
2928 2005-11-09  Wim Taymans  <wim@fluendo.com>
2929
2930         * gst/gstevent.h:
2931         * gst/gsturi.h:
2932         Fix docs.
2933
2934 2005-11-09  Wim Taymans  <wim@fluendo.com>
2935
2936         * docs/gst/gstreamer-sections.txt:
2937         Moved the message async delivery private lock and cond
2938         to the private section.
2939
2940         * gst/gstmessage.c:
2941         * gst/gstmessage.h:
2942         Fixed docs.
2943
2944 2005-11-09  Edward Hervey  <edward@fluendo.com>
2945
2946         * docs/gst/gstreamer-sections.txt:
2947         * gst/gsturi.c:
2948         * gst/gsturi.h:
2949         Document GstURIHandler
2950
2951 2005-11-09  Wim Taymans  <wim@fluendo.com>
2952
2953         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2954         (gst_iterator_find_custom):
2955         * gst/gstiterator.h:
2956         Fix iterator docs.
2957
2958 2005-11-09  Wim Taymans  <wim@fluendo.com>
2959
2960         * gst/gstbin.h:
2961         Document another field.
2962
2963         * gst/gststructure.c:
2964         * gst/gststructure.h:
2965         Document.
2966
2967 2005-11-09  Wim Taymans  <wim@fluendo.com>
2968
2969         * gst/gstbin.h:
2970         Documented structs.
2971
2972 2005-11-09  Wim Taymans  <wim@fluendo.com>
2973
2974         * docs/gst/gstreamer-sections.txt:
2975         Added some new macros.
2976
2977         * gst/gstclock.c:
2978         * gst/gstclock.h:
2979         * gst/gstobject.h:
2980         Docs updates.
2981
2982 2005-11-09  Wim Taymans  <wim@fluendo.com>
2983
2984         * docs/design/part-TODO.txt:
2985         Some more items for the TODO
2986
2987         * gst/gstcaps.c:
2988         * gst/gstcaps.h:
2989         Document GstCaps.
2990
2991 2005-11-09  Andy Wingo  <wingo@pobox.com>
2992
2993         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2994         to work on something else now tho...
2995
2996         * gst/base/gstadapter.c: More adapter docs.
2997
2998         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2999         (gst_file_sink_stop): New functions, replace the state change
3000         handler.
3001         (gst_file_sink_class_init): Hook up the start and stop functions.
3002         (gst_file_sink_base_init): Don't set the state change handler any
3003         more. It was a bit ugly too, being set from here...
3004         (gst_file_sink_get_property, gst_file_sink_set_property):
3005         Cleanups...
3006         (gst_file_sink_set_location): More robust check that doesn't call
3007         GST_STATE. Ugggggg.
3008
3009 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3010
3011         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3012           Hold STREAM_LOCK while pushing newsegment or tag events as well.
3013
3014 2005-11-08  Wim Taymans  <wim@fluendo.com>
3015
3016         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3017         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3018         (gst_base_sink_chain), (gst_base_sink_change_state):
3019         * gst/base/gstbasesink.h:
3020         * gst/base/gstbasesrc.h:
3021         * gst/gstelement.h:
3022         * gst/gstevent.h:
3023         Avoid excessive typechecking in macros.
3024
3025         * gst/gstminiobject.c: (gst_mini_object_get_type),
3026         (gst_mini_object_init), (gst_mini_object_new),
3027         (gst_mini_object_free):
3028         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3029         (gst_object_finalize):
3030         Remove cruft code, optimize alloc_trace.
3031
3032 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3033
3034         * docs/faq/gst-uninstalled:
3035           fix up PS1 for systems that try to reset it
3036
3037 2005-11-07  Wim Taymans  <wim@fluendo.com>
3038
3039         * gst/base/gstbasesrc.c: (gst_base_src_init),
3040         (gst_base_src_get_range):
3041         Set the segment_end to -1 initially. Fixed typefind.
3042
3043 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3044
3045         * gst/base/gstadapter.c:
3046           Debug category should be 'adapter', not 'GstAdapter'.
3047           
3048         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3049         (gst_collectpads_class_init), (gst_collectpads_init),
3050         (gst_collectpads_peek), (gst_collectpads_pop),
3051         (gst_collectpads_event), (gst_collectpads_chain):
3052           Add debug category and some debugging output. Use boilerplate
3053           macros. Remove some extraneous words from docs.
3054
3055 2005-11-05  Andy Wingo  <wingo@pobox.com>
3056
3057         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3058         macro.
3059
3060 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3061
3062         * docs/gst/gstreamer-sections.txt:
3063         * gst/gstcaps.h:
3064         * gst/gstinfo.c:
3065         * gst/gstminiobject.h:
3066         * gst/gstobject.h:
3067         * gst/gstutils.h:
3068           more docs added
3069
3070 2005-11-04  Wim Taymans  <wim@fluendo.com>
3071
3072         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3073         Small update to stop at the configured segment_end
3074         position.
3075
3076 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3077
3078         * gst/gstregistry.c:
3079         * gst/gstregistry.h:
3080           added missing docs
3081
3082 2005-11-04  Edward Hervey  <edward@fluendo.com>
3083
3084         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3085         Check if we are doing a segment seek and have arrived at the
3086         end of that segment.
3087
3088 2005-11-04  Wim Taymans  <wim@fluendo.com>
3089
3090         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3091         Don't leak a mutex unlock in case of an error.
3092
3093         * gst/gstbus.h:
3094         Doc fixes.
3095
3096 2005-11-04  Wim Taymans  <wim@fluendo.com>
3097
3098         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3099         (gst_bus_post):
3100         Get the context to wake up only once.
3101
3102 2005-11-03  Wim Taymans  <wim@fluendo.com>
3103
3104         * check/states/sinks.c: (GST_START_TEST):
3105         Uncomment fixed check.
3106
3107         * docs/design/part-TODO.txt:
3108         Updated TODO.
3109
3110         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3111         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3112         (gst_base_sink_get_position):
3113         If we are going to PLAYING, post the right pending state
3114         when we post the intermediate paused message.
3115
3116         * gst/gstelement.c: (gst_element_continue_state),
3117         (gst_element_set_state_func), (gst_element_change_state):
3118         Don't post state changes that were between the same state
3119         and were not ASYNC.
3120
3121 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3122
3123         * docs/gst/gstreamer-sections.txt:
3124         * gst/gstcaps.h:
3125         * gst/gstinfo.c:
3126         * gst/gstminiobject.h:
3127         * gst/gstobject.h:
3128         * gst/gstutils.h:
3129           more docs and doc style fixes
3130
3131 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3132
3133         * docs/gst/gstreamer-sections.txt:
3134         * gst/gstelement.c:
3135         * gst/gstminiobject.c:
3136         doc fixes
3137
3138 2005-11-03  Andy Wingo  <wingo@pobox.com>
3139
3140         * check/states/sinks.c (test_livesrc_sink): Add checks that the
3141         state-changed messages actually have the right order and the right
3142         values.
3143
3144 2005-11-03  Wim Taymans  <wim@fluendo.com>
3145
3146         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3147         Added some more checks. Specifically the case where NO_PREROLL
3148         elements are in the pipeline.
3149
3150         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3151         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3152         (gst_base_sink_get_position):
3153         Post READY->PAUSED state change messages too.
3154         Fix bug where VOID was posted as pending state...
3155
3156         * gst/gstbin.c: (gst_bin_recalc_state):
3157         use _element_continue_state() to continue the state change.
3158
3159         * gst/gstelement.c: (gst_element_continue_state),
3160         (gst_element_commit_state), (gst_element_set_state_func),
3161         (gst_element_change_state), (gst_element_change_state_func):
3162         Lots of state change cleanups, assign the STATE_RETURN in
3163         a new continue_state() function that also propagates the
3164         last return value from a state change to the app.
3165         Update some debug statements with proper category.
3166
3167 2005-11-03  Wim Taymans  <wim@fluendo.com>
3168
3169         * docs/design/part-events.txt:
3170         * docs/design/part-gstpipeline.txt:
3171         * docs/design/part-messages.txt:
3172         * docs/design/part-overview.txt:
3173         * docs/design/part-seeking.txt:
3174         * docs/design/part-states.txt:
3175         * docs/design/part-trickmodes.txt:
3176         * docs/manual/advanced-position.xml:
3177         Small docs updates.
3178
3179         * gst/gstobject.h:
3180         People think !! is ugly, this looks better.
3181
3182         * gst/gstpad.c: (gst_pad_set_blocked_async):
3183         Remove !! since it's fixed elsewhere now.
3184
3185 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3186
3187         * gst/gstminiobject.h:
3188         * gst/gstobject.h:
3189           Add !! to _FLAG_IS_SET macros to make the result boolean.
3190
3191 2005-11-03  Edward Hervey  <edward@fluendo.com>
3192
3193         * gst/gstpad.c: (gst_pad_set_blocked_async):
3194         comparing a flag and a gboolean rarely returns coherent results...
3195         Added two characters (!!) to make that work correctly.
3196         
3197 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3198
3199         * gst/gstbus.c: (gst_bus_class_init):
3200           Fix some typos.
3201           
3202         * gst/gstqueue.c: (gst_queue_loop):
3203           Don't assume a miniobject that isn't a buffer is an
3204           event (it could be that there is a refcounting
3205           problem somewhere and the pointer is stale and
3206           refers to an already destroyed miniobject).
3207
3208 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3209
3210         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3211
3212 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3213
3214         * docs/manual/advanced-position.xml:
3215           Update seek example and explanations to current 0.9 API.
3216
3217         * gst/elements/gsttypefindelement.c:
3218         (gst_type_find_element_activate):
3219           Remove FIXME comment now that the found caps
3220           are unreffed.
3221
3222 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3223
3224         * gst/gstregistryxml.c: (load_feature):
3225           Add another GST_STR_NULL instance
3226
3227 2005-11-02  Edward Hervey  <edward@fluendo.com>
3228
3229         * gst/gstpad.c: (handle_pad_block):
3230         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3231         
3232 2005-11-02  Wim Taymans  <wim@fluendo.com>
3233
3234         * gst/gstbin.c:
3235         Fix typo in docs.
3236
3237         * gst/gstelement.c: (gst_element_commit_state):
3238         Remove unused value.
3239
3240         * gst/gstiterator.c:
3241         Mention that the returned element is reffed in the docs.
3242
3243 2005-11-02  Wim Taymans  <wim@fluendo.com>
3244
3245         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3246         (gst_pad_push), (gst_pad_push_event):
3247         Unlock blocked pads when they are flushed.
3248
3249 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3250
3251         * docs/README:
3252         * docs/gst/gstreamer-sections.txt:
3253         * gst/gstbin.c:
3254           doc updates
3255         * gst/gstregistry.c: (gst_registry_scan_path_level):
3256           fix for a nasty little missed situation where an installed plug-in
3257           which was in the cache did not get overridden by an uninstalled one
3258           which was earlier in the plugin path because the newly created plugin
3259           for the uninstalled one (not in the registry) didn't get its
3260           ->registered set to TRUE
3261
3262 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3263
3264         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3265         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3266         (gst_collectpads_is_active), (gst_collectpads_collect),
3267         (gst_collectpads_collect_range), (gst_collectpads_start),
3268         (gst_collectpads_stop), (gst_collectpads_peek),
3269         (gst_collectpads_pop), (gst_collectpads_available),
3270         (gst_collectpads_read), (gst_collectpads_flush):
3271           Guard public API with assertions.
3272         
3273         * gst/gstpad.c:
3274           Fix docs for gst_pad_set_link_function().
3275
3276 2005-11-02  Johan Dahlin  <johan@gnome.org>
3277
3278         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3279         Unref found_caps after we used it.
3280
3281 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3282
3283         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3284           Don't try to ref NULL.
3285
3286 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3287
3288         * win32/common/config.h.in:
3289           provide a GST_FUNCTION that just gives a string for now
3290
3291 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3292
3293         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3294         (gst_object_flags_get_type), (register_gst_bin_flags),
3295         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3296         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3297         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3298         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3299         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3300         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3301         (gst_clock_flags_get_type), (register_gst_state),
3302         (gst_state_get_type), (register_gst_state_change_return),
3303         (gst_state_change_return_get_type), (register_gst_state_change),
3304         (gst_state_change_get_type), (register_gst_element_flags),
3305         (gst_element_flags_get_type), (register_gst_core_error),
3306         (gst_core_error_get_type), (register_gst_library_error),
3307         (gst_library_error_get_type), (register_gst_resource_error),
3308         (gst_resource_error_get_type), (register_gst_stream_error),
3309         (gst_stream_error_get_type), (register_gst_event_type),
3310         (gst_event_type_get_type), (register_gst_seek_type),
3311         (gst_seek_type_get_type), (register_gst_seek_flags),
3312         (gst_seek_flags_get_type), (register_gst_format),
3313         (gst_format_get_type), (register_gst_index_certainty),
3314         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3315         (gst_index_entry_type_get_type),
3316         (register_gst_index_lookup_method),
3317         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3318         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3319         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3320         (gst_index_flags_get_type), (register_gst_debug_level),
3321         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3322         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3323         (gst_iterator_result_get_type), (register_gst_iterator_item),
3324         (gst_iterator_item_get_type), (register_gst_message_type),
3325         (gst_message_type_get_type), (register_gst_mini_object_flags),
3326         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3327         (gst_pad_link_return_get_type), (register_gst_flow_return),
3328         (gst_flow_return_get_type), (register_gst_activate_mode),
3329         (gst_activate_mode_get_type), (register_gst_pad_direction),
3330         (gst_pad_direction_get_type), (register_gst_pad_flags),
3331         (gst_pad_flags_get_type), (register_gst_pad_presence),
3332         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3333         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3334         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3335         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3336         (gst_plugin_flags_get_type), (register_gst_rank),
3337         (gst_rank_get_type), (register_gst_query_type),
3338         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3339         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3340         (gst_tag_flag_get_type), (register_gst_task_state),
3341         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3342         (gst_alloc_trace_flags_get_type),
3343         (register_gst_type_find_probability),
3344         (gst_type_find_probability_get_type), (register_gst_uri_type),
3345         (gst_uri_type_get_type), (register_gst_parse_error),
3346         (gst_parse_error_get_type):
3347         * win32/common/gstversion.h:
3348           update win32 copies
3349
3350 2005-11-01  Luca Ognibene  <luogni@tin.it>
3351
3352         * gst/gst.c:
3353           fix docs. popt is dead, long live GOption.
3354
3355 2005-10-31  Wim Taymans  <wim@fluendo.com>
3356
3357         * gst/gstbuffer.h:
3358         Small doc fix.
3359
3360 2005-10-31  Andy Wingo  <wingo@pobox.com>
3361
3362         * Boo!
3363
3364         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3365
3366         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3367         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3368         the possibility of deadlocks here if code calling notify() or
3369         set() has a lock that can be taken in another notify handler (ABBA
3370         with class lock and e.g. python GIL state lock).
3371
3372 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3373
3374         * gst/gstbus.c: Doc updates.
3375
3376 2005-10-28  Wim Taymans  <wim@fluendo.com>
3377
3378         * docs/design/part-TODO.txt:
3379         * gst/gstiterator.c:
3380         * gst/gstsystemclock.c:
3381         * gst/gstsystemclock.h:
3382         Doc updates.
3383
3384 2005-10-28  Edward Hervey  <edward@fluendo.com>
3385
3386         * docs/gst/gstreamer-docs.sgml:
3387         * docs/gst/gstreamer-sections.txt:
3388         the GstURIType documentation page is private, it only defines GstURIType
3389         which should be defined in the GstURIHandler page
3390         
3391 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3392
3393         * gst/gstbin.c: (gst_bin_class_init):
3394         * gst/gstbin.h:
3395         * gst/gstutils.c:
3396         Documentation updates.
3397
3398 2005-10-28  Wim Taymans  <wim@fluendo.com>
3399
3400         * docs/gst/gstreamer-sections.txt:
3401         * gst/gstclock.c:
3402         * gst/gstclock.h:
3403         Documented the clocks.
3404
3405 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3406
3407         * docs/gst/gstreamer-sections.txt:
3408           move some macros to private sections
3409         * gst/gstminiobject.c:
3410         * gst/gstminiobject.h:
3411           add descriptions provided by ds and some more
3412         * gst/gstpad.h:
3413           mark macro as to be removed
3414
3415 2005-10-28  Wim Taymans  <wim@fluendo.com>
3416
3417         * docs/design/part-TODO.txt:
3418         Add an item to TODO.
3419
3420         * gst/gstiterator.c: (gst_iterator_fold),
3421         (gst_iterator_find_custom):
3422         * gst/gstiterator.h:
3423         Add iterator docs.
3424
3425 2005-10-28  Wim Taymans  <wim@fluendo.com>
3426
3427         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3428         (gst_base_transform_init):
3429         Don't leak class.
3430
3431         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3432         An EOS event marks the queue as completely filled.
3433
3434 2005-10-27  Wim Taymans  <wim@fluendo.com>
3435
3436         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3437         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3438         Some more debugging.
3439
3440         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3441         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3442         (gst_base_transform_event), (gst_base_transform_getrange),
3443         (gst_base_transform_chain):
3444         * gst/base/gstbasetransform.h:
3445         Fix debugging,
3446         Protect transform and concurrent buffer alloc with a new lock.
3447         Try not to break ABI/API.
3448
3449 2005-10-27  Wim Taymans  <wim@fluendo.com>
3450
3451         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3452         (gst_base_src_init), (gst_base_src_query),
3453         (gst_base_src_default_newsegment),
3454         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3455         (gst_base_src_send_event), (gst_base_src_event_handler),
3456         (gst_base_src_pad_get_range), (gst_base_src_loop),
3457         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3458         (gst_base_src_start), (gst_base_src_deactivate),
3459         (gst_base_src_activate_push), (gst_base_src_change_state):
3460         Move some stuff around and cleanup things.
3461
3462 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3463
3464         * gst/base/gstbasesrc.c: (gst_base_src_query):
3465           Add missing break statements.
3466
3467 2005-10-27  Wim Taymans  <wim@fluendo.com>
3468
3469         * check/gst/gstbin.c: (GST_START_TEST):
3470         An extra refcount is taken in basesrc.
3471
3472         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3473         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3474         (gst_base_src_loop):
3475         Small cleanups, check for flushing after being unlocked from the 
3476         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3477         Don't send out EOS when going to READY.
3478
3479 2005-10-27  Wim Taymans  <wim@fluendo.com>
3480
3481         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3482         (gst_base_sink_get_position):
3483         Some more debug.
3484
3485         * gst/gstbin.c: (message_check), (bin_replace_message),
3486         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3487         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3488         (bin_query_duration_init), (bin_query_duration_fold),
3489         (bin_query_duration_done), (bin_query_generic_fold),
3490         (gst_bin_query):
3491         * tools/gst-launch.c: (main):
3492         Remove old option.
3493
3494 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3495
3496         * examples/controller/audio-example.c: (main):
3497         * examples/queue/queue.c: (event_loop):
3498         * gst/base/gstbasetransform.h:
3499         * gst/gstelement.c: (gst_element_send_event):
3500         * gst/gstevent.h:
3501         * gst/gstpad.c: (gst_pad_send_event):
3502           fixing examples
3503           fixing docs typos
3504           changing log priority in error situations
3505
3506 2005-10-25  Wim Taymans  <wim@fluendo.com>
3507
3508         * gst/gstbin.c: (message_check), (bin_replace_message),
3509         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3510         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3511         (bin_query_duration_init), (bin_query_duration_fold),
3512         (bin_query_duration_done), (bin_query_generic_fold),
3513         (gst_bin_query):
3514         Some doc and debug updates.
3515         Cache previously requested query DURATION for speed. invalidate
3516         cached duration if element posts a DURATION message.
3517
3518 2005-10-25  Wim Taymans  <wim@fluendo.com>
3519
3520         * docs/design/part-TODO.txt:
3521         Update TODO.
3522
3523         * gst/gstbin.c: (message_check), (bin_replace_message),
3524         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3525         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3526         (bin_query_duration_init), (bin_query_duration_fold),
3527         (bin_query_duration_done), (bin_query_generic_fold),
3528         (gst_bin_query):
3529         Handle SEGMENT_START/DONE messages correctly.
3530         More evolved query algorithm that handles duration queries
3531         correctly.
3532
3533         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3534         (gst_element_get_state_func), (gst_element_abort_state),
3535         (gst_element_commit_state), (gst_element_lost_state):
3536         Some more debugging.
3537
3538         * gst/gstmessage.h:
3539         Added doc.
3540
3541 2005-10-25  Wim Taymans  <wim@fluendo.com>
3542
3543         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3544         Don't use invalid stream_time.
3545
3546         * gst/gstevent.c: (gst_event_new_newsegment):
3547         stream_time in newsegment cannot be undefined.
3548
3549 2005-10-24  Wim Taymans  <wim@fluendo.com>
3550
3551         * gst/gstbus.c:
3552         Doc fix.
3553
3554         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3555         (gst_queue_loop):
3556         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3557
3558 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3559
3560         * docs/libs/tmpl/gstdparam.sgml:
3561         * docs/libs/tmpl/gstdplinint.sgml:
3562         * docs/libs/tmpl/gstdpman.sgml:
3563         * docs/libs/tmpl/gstdpsmooth.sgml:
3564         * docs/libs/tmpl/gstunitconvert.sgml:
3565           these are obsolete
3566
3567 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3568
3569         * configure.ac:
3570           back to HEAD
3571
3572 === release 0.9.4 ===
3573
3574 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3575
3576         * configure.ac:
3577           releasing 0.9.4, "Tyrannosaurus Rex"
3578
3579 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3580
3581         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3582         (gst_file_sink_get_current_offset):
3583           Use fseeko() and ftello() if available. When falling back on
3584           lseek() to get the current offset, fflush() first to make sure
3585           everything is up-to-date and we get the right offset.
3586
3587 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3588
3589         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3590         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3591         * gst/gsterror.c: (_gst_stream_errors_init):
3592         * gst/gsterror.h:
3593         * gst/gstqueue.c: (gst_queue_loop):
3594         * po/POTFILES.in:
3595           remove prematurely added error category and clean up the instances
3596
3597 2005-10-21  Wim Taymans  <wim@fluendo.com>
3598
3599         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3600         (gst_base_sink_get_position), (gst_base_sink_query),
3601         (gst_base_sink_change_state):
3602         Simply set the right flag when going to playing, that's all
3603         we need to do instead of calling a function inside the object
3604         lock (that could take the lock as well and deadlock)
3605
3606 2005-10-21  Wim Taymans  <wim@fluendo.com>
3607
3608         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3609         (gst_base_src_loop):
3610         Don't warn, the peer element knows what to do best when
3611         the seek failed, it might try something else.
3612
3613 2005-10-21  Wim Taymans  <wim@fluendo.com>
3614
3615         * gst/base/gstbasesrc.c: (gst_base_src_init),
3616         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3617         Fix seeking.
3618
3619 2005-10-21  Wim Taymans  <wim@fluendo.com>
3620
3621         * docs/design/part-segments.txt:
3622         More docs.
3623
3624         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3625         Correctly set caps, even on the subbufer.
3626
3627 2005-10-21  Wim Taymans  <wim@fluendo.com>
3628
3629         * docs/gst/gstreamer-docs.sgml:
3630         * docs/gst/gstreamer-sections.txt:
3631         * gst/gstelement.h:
3632         * gst/gstevent.c:
3633         * gst/gstevent.h:
3634         * gst/gstmessage.h:
3635         * gst/gstpad.h:
3636         * gst/gstparse.h:
3637         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3638         * gst/gsttask.h:
3639         * gst/gstutils.c:
3640         * gst/gstutils.h:
3641         And 2% more doc coverage.
3642
3643 2005-10-21  Andy Wingo  <wingo@pobox.com>
3644
3645         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3646         position reporting.
3647
3648 2005-10-20  Wim Taymans  <wim@fluendo.com>
3649
3650         * gst/gsterror.c: (gst_error_get_message):
3651         * gst/gstparse.h:
3652         * gst/gstquery.h:
3653         * gst/gststructure.c:
3654         * gst/gsttrace.c:
3655         * gst/gstutils.c:
3656         More docs.
3657
3658 2005-10-20  Wim Taymans  <wim@fluendo.com>
3659
3660         * gst/gstbuffer.h:
3661         * gst/gstpad.c:
3662         * gst/gstparse.c:
3663         Another 1% more coverage.
3664
3665 2005-10-20  Wim Taymans  <wim@fluendo.com>
3666
3667         * docs/gst/gstreamer-sections.txt:
3668         * gst/gstelement.c: (gst_element_get_state_func),
3669         (gst_element_abort_state), (gst_element_commit_state),
3670         (gst_element_lost_state):
3671         * gst/gstevent.h:
3672         * gst/gstquery.c: (gst_query_set_position),
3673         (gst_query_parse_position), (gst_query_set_duration),
3674         (gst_query_parse_duration), (gst_query_new_convert):
3675         * gst/gstutils.c:
3676         Yay! 1% more docs coverage.
3677
3678 2005-10-20  Wim Taymans  <wim@fluendo.com>
3679
3680         * gst/gstpad.h:
3681         * gst/gstquery.c: (gst_query_set_position),
3682         (gst_query_parse_position), (gst_query_set_duration),
3683         (gst_query_parse_duration), (gst_query_new_convert):
3684         * gst/gstquery.h:
3685         * gst/gstutils.c: (gst_element_query_convert):
3686         * gst/gstutils.h:
3687         Docs and consistency fixes.
3688
3689 2005-10-20  Wim Taymans  <wim@fluendo.com>
3690
3691         * gst/gsttask.c:
3692         * gst/gsttask.h:
3693         More docs.
3694
3695 2005-10-20  Wim Taymans  <wim@fluendo.com>
3696
3697         * gst/gstbin.c: (message_check), (bin_replace_message),
3698         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3699         (update_degree), (gst_bin_sort_iterator_next),
3700         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3701         Reworked the message handling a bit, cache the messages instead of
3702         only the senders. alows us to do more in the future.
3703
3704 2005-10-20  Wim Taymans  <wim@fluendo.com>
3705
3706         * docs/design/part-TODO.txt:
3707         Update TODO
3708
3709         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3710         (gst_base_sink_query):
3711         Don't use clock time to report position when in EOS.
3712
3713 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3714
3715         * tools/gst-inspect.c: (print_interfaces),
3716         (print_element_properties_info), (print_element_info):
3717           Fix interface output with gst-inspect -a; don't print
3718           newlines after double/float properties.
3719
3720 2005-10-20  Wim Taymans  <wim@fluendo.com>
3721
3722         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3723         (gst_base_sink_query):
3724         Speed up current position calculation.
3725
3726         * gst/base/gstbasesrc.c: (gst_base_src_query),
3727         (gst_base_src_default_newsegment):
3728         Correctly set stream position in newsegment.
3729
3730         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3731         (update_degree), (gst_bin_sort_iterator_next),
3732         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3733         * gst/gstmessage.c: (gst_message_new_custom):
3734         Clean up debugging info
3735
3736         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3737         (gst_queue_loop), (gst_queue_handle_src_query):
3738         Pause task faster.
3739
3740 2005-10-19  Wim Taymans  <wim@fluendo.com>
3741
3742         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3743         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3744         Fix query handling again.
3745
3746 2005-10-19  Wim Taymans  <wim@fluendo.com>
3747
3748         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3749         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3750         * gst/base/gstbasesrc.c: (gst_base_src_query):
3751         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3752         * gst/elements/gsttypefindelement.c:
3753         (gst_type_find_handle_src_query), (find_element_get_length),
3754         (gst_type_find_element_activate):
3755         API change fix.
3756
3757         * gst/gstquery.c: (gst_query_new_position),
3758         (gst_query_set_position), (gst_query_parse_position),
3759         (gst_query_new_duration), (gst_query_set_duration),
3760         (gst_query_parse_duration), (gst_query_set_segment),
3761         (gst_query_parse_segment):
3762         * gst/gstquery.h:
3763         Bundling query position/duration is not a good idea since duration
3764         does not change much and we don't want to recalculate it for every
3765         position query, so they are separated again..
3766         Base value in segment query is not needed.
3767
3768         * gst/gstqueue.c: (gst_queue_handle_src_query):
3769         * gst/gstutils.c: (gst_element_query_position),
3770         (gst_element_query_duration), (gst_pad_query_position),
3771         (gst_pad_query_duration):
3772         * gst/gstutils.h:
3773         Updates for query API change.
3774         Added some docs here and there.
3775
3776 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3777
3778         * check/gst/gstbin.c: (GST_START_TEST):
3779         * check/gst/gstghostpad.c: (GST_START_TEST):
3780         * check/pipelines/cleanup.c: (GST_START_TEST):
3781           wait on thread to die so we can check refcount correctly
3782
3783 2005-10-18  Wim Taymans  <wim@fluendo.com>
3784
3785         * check/pipelines/stress.c: (GST_START_TEST):
3786         Make check a little more time consuming.
3787
3788 2005-10-18  Wim Taymans  <wim@fluendo.com>
3789
3790         * check/Makefile.am:
3791         * check/pipelines/stress.c: (GST_START_TEST),
3792         (simple_launch_lines_suite), (main):
3793         Small state change torture test.
3794
3795         * docs/design/part-states.txt:
3796         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3797         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3798         (gst_base_sink_change_state):
3799         Never take state lock from streaming thread, clean up ugly
3800         hacks. Unfortunatly core does not yet support nice ways to
3801         async commit state.
3802         
3803         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3804         (bin_bus_handler):
3805         Start state recalc if a STATE_DIRTY message is posted, but only
3806         on the toplevel bin.
3807
3808         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3809         (gst_element_get_state_func), (gst_element_abort_state),
3810         (gst_element_commit_state), (gst_element_lost_state),
3811         (gst_element_set_state_func), (gst_element_change_state):
3812         * gst/gstelement.h:
3813         State variables are now protected with the LOCK, the state
3814         lock is only used to serialize _set_state().
3815
3816 2005-10-18  Wim Taymans  <wim@fluendo.com>
3817
3818         * check/gst/gstbin.c: (GST_START_TEST):
3819         * check/gst/gstmessage.c: (GST_START_TEST):
3820         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3821         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3822         (bin_bus_handler):
3823         * gst/gstelement.c: (gst_element_abort_state),
3824         (gst_element_commit_state), (gst_element_lost_state):
3825         * gst/gstmessage.c: (gst_message_new_state_changed),
3826         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3827         (gst_message_new_segment_done), (gst_message_new_duration),
3828         (gst_message_parse_state_changed),
3829         (gst_message_parse_segment_start),
3830         (gst_message_parse_segment_done), (gst_message_parse_duration):
3831         * gst/gstmessage.h:
3832         * tools/gst-launch.c: (event_loop):
3833         Seriously, this is better than a previous commit as we only need
3834         to notify the fact that an element changed state in a streaming
3835         thread, marking the state of the parents dirty, hence the 
3836         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3837         message.
3838
3839 2005-10-18  Wim Taymans  <wim@fluendo.com>
3840
3841         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3842         (gst_bin_recalc_func):
3843         * gst/gstelement.c: (gst_element_set_clock),
3844         (gst_element_abort_state), (gst_element_lost_state):
3845         Cleanups, prepare for state change fixes.
3846
3847 2005-10-18  Wim Taymans  <wim@fluendo.com>
3848
3849         * gst/gstbin.h:
3850         * gst/gstelement.c: (gst_element_class_init),
3851         (gst_element_set_state), (gst_element_set_state_func):
3852         * gst/gstelement.h:
3853         Pending ABI changes.
3854         GThreadPool in GstBinClass to monitor async state changes.
3855         state_cookie in GstElement to detect concurrent gst/set state.
3856         set_state is now virtual too in case a very complicated element
3857         has to be constructed.
3858
3859 2005-10-18  Wim Taymans  <wim@fluendo.com>
3860
3861         * check/gst/gstbin.c: (GST_START_TEST):
3862         * check/gst/gstmessage.c: (GST_START_TEST):
3863         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3864         * gst/gstbin.c: (bin_bus_handler):
3865         * gst/gstelement.c: (gst_element_commit_state),
3866         (gst_element_lost_state):
3867         * gst/gstmessage.c: (gst_message_new_state_changed),
3868         (gst_message_new_segment_start), (gst_message_new_segment_done),
3869         (gst_message_new_duration), (gst_message_parse_state_changed),
3870         (gst_message_parse_segment_start),
3871         (gst_message_parse_segment_done), (gst_message_parse_duration):
3872         * gst/gstmessage.h:
3873         * tools/gst-launch.c: (event_loop):
3874         Make messages future proof.
3875         state-change gets a flag if it was a message comming from the
3876         streaming thread.
3877         segment-start/stop can also be specified in other formats.
3878         A message to notify an app that a pipeline changed playback 
3879         duration.
3880         Also fix a GstMessage leak in -launch
3881
3882 2005-10-18  Andy Wingo  <wingo@pobox.com>
3883
3884         * gst/gstelement.c (gst_element_dispose): More helpful message.
3885
3886 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3887
3888         reviewed by: <delete if not using a buddy>
3889
3890         * common/gtk-doc.mak:
3891
3892 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3893
3894         * gst/gstregistry.c: (gst_registry_scan_path_level):
3895           unref a plug-in we get that was already initialized
3896
3897 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3898
3899         * docs/gst/gstreamer-sections.txt:
3900         * docs/libs/gstreamer-libs-sections.txt:
3901         * gst/gstelement.h:
3902           add new api entries
3903           hide internal macro
3904
3905 2005-10-17  Andy Wingo  <wingo@pobox.com>
3906
3907         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3908         cleanup.
3909
3910         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3911
3912         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3913
3914         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3915         (gst_element_get_state_func): Better debug message.
3916         (gst_element_commit_state): s/INFO/DEBUG/.
3917         (gst_element_lost_state, gst_element_change_state): 
3918
3919         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3920         (gst_message_new_custom): s/INFO/LOG/.
3921
3922 2005-10-17  Michael Smith <msmith@fluendo.com>
3923
3924         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3925           Check if end time is valid using end time, not start time.
3926
3927 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3928
3929         * check/gst-libs/controller.c: (GST_START_TEST),
3930         (gst_controller_suite):
3931         * libs/gst/controller/gstcontroller.c:
3932         (gst_controlled_property_set_interpolation_mode):
3933         * libs/gst/controller/gstcontroller.h:
3934         * libs/gst/controller/gstinterpolation.c:
3935         * testsuite/controller/.cvsignore:
3936         * testsuite/controller/Makefile.am:
3937         * testsuite/controller/interpolator.c:
3938           merge controller testsuites
3939           fix broken tests
3940           remove mem-chunk from docs
3941
3942 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3943
3944         * gst/gstmemchunk.c:
3945         * gst/gstmemchunk.h:
3946         * gst/gsttrashstack.c:
3947         * gst/gsttrashstack.h:
3948           out.  get out.  you're fired.  to the Attic !
3949
3950 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3951
3952         * gst/gstcaps.c: (gst_caps_intersect):
3953           fix signedness issues in a (hopefully) correct way
3954         * gst/gstelement.c: (gst_element_pads_activate):
3955           some debugging
3956         * gst/gstobject.c: (gst_object_set_parent):
3957           some debugging
3958
3959 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3960
3961         * gst/gstvalue.h: Fix prototypes.
3962
3963 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3964
3965         * docs/gst/gstreamer-sections.txt:
3966         * gst/gst.c: (gst_version_string):
3967         * gst/gst.h:
3968         * gst/gstversion.h.in:
3969         * win32/common/libgstreamer.def:
3970           add gst_version_string ()
3971
3972 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3973
3974         * configure.ac:
3975           clean up further
3976         * gst/gst.c: (init_post):
3977         * win32/common/config.h.in:
3978           it's PLUGINDIR now
3979         * gst/gstcaps.c: (gst_caps_intersect):
3980           use gint64, the range could be bigger than a guint
3981
3982 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3983
3984         * gst/gstclock.h:
3985           document potential problem in 2038
3986
3987 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3988
3989         * gst/gstcaps.c: (gst_caps_intersect):
3990           Fix guint j diving under 0
3991
3992 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3993
3994         * configure.ac:
3995         * win32/common/config.h:
3996         * win32/common/config.h.in:
3997           check for process.h, declares getpid() on Windows
3998         * gst/gstinfo.c:
3999           include process.h if we have it
4000         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4001         * gst/gstmemchunk.h:
4002           fix signedness issues
4003         * win32/common/libgstreamer.def:
4004           fix get_type's
4005
4006 2005-10-16  Julien MOUTTE  <julien@moutte.net>
4007
4008         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4009         fix. Because of unsigned ints, caps intersection was going nuts and
4010         trying to access structures with G_MAXUINT index. That fixes
4011         videotestsrc ! ffmpegcolorspace ! fakesink
4012         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4013         consistency.
4014
4015 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4016
4017         * configure.ac:
4018           use the gettext macro
4019         * gst/elements/gstelements.c:
4020         * gst/gst.c:
4021         * gst/indexers/gstindexers.c:
4022           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4023         * win32/common/config.h:
4024           updated config.h
4025         * win32/common/config.h.in:
4026           add the template to generate config.h
4027         * win32/common/gstenumtypes.c:
4028         * win32/common/gstversion.h:
4029           updated copies
4030
4031 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4032
4033         * gst/gst.c: (gst_version):
4034         * gst/gstversion.h.in:
4035           add the nano
4036
4037 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4038
4039         * gst/gstevent.h:
4040           Oops, add missing closing bracket.
4041
4042 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4043
4044         * configure.ac:
4045           use common m4's for argument checking
4046
4047 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4048
4049         * docs/gst/gstreamer-sections.txt:
4050         * gst/gstevent.h:
4051           Add GST_EVENT_TYPE_NAME() macro.
4052
4053 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4054
4055         * gst/gstinfo.c:
4056         * gst/gstpluginfeature.c:
4057         * gst/gsttask.c:
4058           privatize more symbols
4059
4060 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4061
4062         * configure.ac:
4063           add srcdir, builddir includes to GST_ALL_CFLAGS, since
4064           everything that uses GStreamer API should have the includes
4065
4066 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4067
4068         * docs/gst/gstreamer-sections.txt:
4069         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4070         * gst/gstvalue.h:
4071           give each value a _get_type, removes the DATA exports
4072
4073 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4074
4075         * gst/gst.c:
4076         * gst/gst.h:
4077           remove _gst_registry_auto_load, not used anymore
4078         * gst/gstbin.c: (gst_bin_get_type):
4079         * gst/gstbin.h:
4080         * gst/gstelement.c: (gst_element_get_type):
4081         * gst/gstelement.h:
4082         * gst/gstobject.c: (gst_object_get_type):
4083         * gst/gstobject.h:
4084         * gst/gstpad.c: (gst_pad_get_type):
4085         * gst/gstpad.h:
4086           make _get_type functions similar, fixes data export from library
4087
4088 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4089
4090         * configure.ac:
4091           correctly make conditionals
4092         * gst/elements/Makefile.am:
4093         * gst/elements/gstelements.c:
4094           fix typo causing fdsrc not to build
4095
4096 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4097
4098         * testsuite/Makefile.am:
4099         * testsuite/bytestream/.cvsignore:
4100         * testsuite/bytestream/Makefile.am:
4101         * testsuite/bytestream/filepadsink.c:
4102         * testsuite/bytestream/gstbstest.c:
4103         * testsuite/bytestream/test1.c:
4104         * testsuite/bytestream/testfile1:
4105         * testsuite/caps/normalisation.c:
4106         * testsuite/caps/random.c: (main):
4107         * testsuite/cleanup/.cvsignore:
4108         * testsuite/cleanup/Makefile.am:
4109         * testsuite/cleanup/cleanup1.c:
4110         * testsuite/cleanup/cleanup2.c:
4111         * testsuite/cleanup/cleanup3.c:
4112         * testsuite/cleanup/cleanup4.c:
4113         * testsuite/cleanup/cleanup5.c:
4114         * testsuite/controller/interpolator.c:
4115         * testsuite/debug/printf_extension.c: (main):
4116         * testsuite/elements/tee.c:
4117         * testsuite/negotiation/.cvsignore:
4118         * testsuite/negotiation/Makefile.am:
4119         * testsuite/negotiation/pad_link.c:
4120         * testsuite/pad/Makefile.am:
4121         * testsuite/pad/chainnopull.c:
4122         * testsuite/pad/getnopush.c:
4123         * testsuite/pad/link.c:
4124         * testsuite/refcounting/sched.c: (create_pipeline):
4125         * testsuite/registry/Makefile.am:
4126         * testsuite/registry/gst-print-formats.c:
4127         * testsuite/schedulers/.cvsignore:
4128         * testsuite/schedulers/142183-2.c:
4129         * testsuite/schedulers/142183.c:
4130         * testsuite/schedulers/143777-2.c:
4131         * testsuite/schedulers/143777.c:
4132         * testsuite/schedulers/147713.c:
4133         * testsuite/schedulers/147819.c:
4134         * testsuite/schedulers/147894-2.c:
4135         * testsuite/schedulers/147894.c:
4136         * testsuite/schedulers/Makefile.am:
4137         * testsuite/schedulers/group_link.c:
4138         * testsuite/schedulers/queue_link.c:
4139         * testsuite/schedulers/relink.c:
4140         * testsuite/schedulers/unlink.c:
4141         * testsuite/schedulers/unref.c:
4142         * testsuite/schedulers/useless_iteration.c:
4143         * testsuite/states/bin.c:
4144           clean out/remove some stuff from the testsuite directories
4145
4146 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4147
4148         * configure.ac:
4149           check for some headers
4150         * gst/elements/Makefile.am:
4151         * gst/elements/gstelements.c:
4152           don't compile fdsrc without sys/socket.h
4153         * gst/indexers/Makefile.am:
4154         * gst/indexers/gstindexers.c: (plugin_init):
4155           don't compile fileindex without mmap
4156
4157 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4158
4159         * configure.ac:
4160           reorganize
4161           clean up
4162           document more
4163           remove cruft
4164         * check/Makefile.am:
4165         * docs/gst/Makefile.am:
4166         * examples/helloworld/Makefile.am:
4167         * gst/Makefile.am:
4168         * gst/base/Makefile.am:
4169         * gst/check/Makefile.am:
4170         * gst/elements/Makefile.am:
4171         * gst/indexers/Makefile.am:
4172         * gst/parse/Makefile.am:
4173         * libs/gst/controller/Makefile.am:
4174         * libs/gst/dataprotocol/Makefile.am:
4175         * examples/helloworld/helloworld.c: (event_loop):
4176           compile fixes, though it's not being compiled currently
4177
4178 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4179
4180         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4181           Add some simple tests for the new taglist date API.
4182
4183 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4184
4185         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4186         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4187           Beautify 'last-message' output: print 'none' for buffer timestamps
4188           and durations if none is set; improve alignment with next messages.
4189
4190 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4191
4192         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4193         * gst/gstpluginfeature.h:
4194         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4195         * gst/gstregistry.h:
4196         * docs/gst/gstreamer-sections.txt:
4197           Add new API to check plugin feature version requirements.
4198
4199         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4200           Some basic tests for the above.         
4201
4202 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4203
4204         * gst/gststructure.c: (gst_structure_to_string):
4205           guard against NULL printf - happens when for example
4206           a message structure with GstClock gets serialized
4207
4208 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4209
4210         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4211           Fix presumable copy'n'pasto.
4212
4213 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4214
4215         * gst/elements/gstfakesrc.h:
4216         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4217         * gst/elements/gsttypefindelement.c:
4218           fix some signedness
4219         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4220           I wonder if this could actually write +2GB files before
4221
4222 2005-10-13  Andy Wingo  <wingo@pobox.com>
4223
4224         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4225         Fix Timmeke Waymans bug.
4226         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4227         string of the proper length to gst_caps_from_string. There's a
4228         potential for, before this fix, that this could cause someone
4229         connecting over the network to cause a segfault if the payload is
4230         not NUL-terminated.
4231
4232 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4233
4234         * docs/design/draft-push-pull.txt:
4235         * docs/design/part-overview.txt:
4236         * docs/random/TODO-pre-0.9:
4237         * docs/random/old/ChangeLog.gstreamer:
4238         * gst/base/gstpushsrc.c:
4239         * gst/gstclock.c:
4240           fixed typos
4241
4242 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4243
4244         * gst/glib-compat.c: (gst_flags_get_first_value):
4245         * gst/glib-compat.h:
4246         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4247         (gst_value_compare_double), (gst_value_serialize_flags):
4248           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4249           infinite loop
4250
4251 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4252
4253         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4254         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4255           fix up debugging
4256         * tools/gst-launch.c: (event_loop):
4257           print out clock nicely
4258
4259 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4260
4261         * docs/gst/gstreamer-sections.txt:
4262         * gst/gsttaglist.h:
4263         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4264         (gst_tag_list_get_date_index):
4265           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4266           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4267
4268 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4269
4270         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4271         (gst_collectpads_chain):
4272         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4273         in CollectData.
4274
4275 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4276
4277         * docs/gst/gstreamer-sections.txt:
4278         * gst/gst.c:
4279         * gst/gsterror.h:
4280         * tools/gst-inspect.c: (main):
4281         * tools/gst-launch.c: (main):
4282         * tools/gst-run.c: (main):
4283         * tools/gst-xmlinspect.c: (main):
4284           fix GOption context leaks
4285           doc fixes
4286
4287 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4288
4289         * gst/gstbus.c:
4290           use HAVE_UNISTD_H
4291         * win32/common/config.h:
4292           update config
4293         * win32/vs6/grammar.dsp:
4294         * win32/vs6/libgstelements.dsp:
4295         * win32/vs6/libgstreamer.dsp:
4296           update vs6 files
4297
4298 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4299
4300         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4301         * gst/base/gstbasesrc.c: (gst_base_src_query):
4302           fix more guint64<->gdouble conversions
4303
4304 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4305
4306         * Makefile.am:
4307           add win32-update target
4308         * win32/common/gstconfig.h:
4309         * win32/common/gstenumtypes.c:
4310         * win32/common/gstenumtypes.h:
4311         * win32/common/gstversion.h:
4312           add files that visual studio can't generate
4313
4314 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4315
4316         * Makefile.am:
4317           add a win32-update target
4318         * configure.ac:
4319
4320 2005-10-12  Wim Taymans  <wim@fluendo.com>
4321
4322         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4323         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4324         * gst/gstelement.c: (gst_element_commit_state),
4325         (gst_element_set_state):
4326         Protect flags with proper lock.
4327         unref provided cached clock in dispose.
4328
4329 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4330
4331         * gst/gst.c:
4332         * gst/gstminiobject.h:
4333         * gst/gstpad.h:
4334         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4335           removed unused flags from miniobject
4336           doc fixes
4337
4338 2005-10-12  Wim Taymans  <wim@fluendo.com>
4339
4340         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4341         (gst_file_sink_event), (gst_file_sink_render):
4342         Flush before seeking.
4343
4344 2005-10-12  Andy Wingo  <wingo@pobox.com>
4345
4346         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4347         always been the case.
4348
4349 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4350
4351         * check/gst/gstbin.c: (GST_START_TEST):
4352         * docs/gst/gstreamer-sections.txt:
4353         * gst/base/gstbasesink.c: (gst_base_sink_init):
4354         * gst/base/gstbasesrc.c: (gst_base_src_init),
4355         (gst_base_src_get_range), (gst_base_src_check_get_range),
4356         (gst_base_src_start), (gst_base_src_stop):
4357         * gst/base/gstbasesrc.h:
4358         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4359         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4360         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4361         (bin_bus_handler):
4362         * gst/gstbin.h:
4363         * gst/gstbuffer.h:
4364         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4365         * gst/gstbus.h:
4366         * gst/gstelement.c: (gst_element_is_locked_state),
4367         (gst_element_set_locked_state), (gst_element_commit_state),
4368         (gst_element_set_state):
4369         * gst/gstelement.h:
4370         * gst/gstindex.c: (gst_index_init):
4371         * gst/gstindex.h:
4372         * gst/gstminiobject.h:
4373         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4374         (gst_object_set_parent):
4375         * gst/gstobject.h:
4376         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4377         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4378         * gst/gstpad.h:
4379         * gst/gstpadtemplate.h:
4380         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4381         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4382         * gst/gstpipeline.h:
4383         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4384         (gst_file_index_commit):
4385         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4386         * testsuite/pad/link.c: (gst_test_src_init),
4387         (gst_test_filter_init), (gst_test_sink_init):
4388         * testsuite/states/locked.c: (main):
4389           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4390           moved bitshift from macro to enum definition
4391
4392 2005-10-12  Wim Taymans  <wim@fluendo.com>
4393
4394         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4395         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4396         (gst_file_sink_render):
4397         Some more debugging info.
4398
4399 2005-10-12  Wim Taymans  <wim@fluendo.com>
4400
4401         * docs/design/part-states.txt:
4402         * tools/gst-launch.c: (main):
4403         Some doc updates.
4404         Revert non-intentional change.
4405
4406 2005-10-12  Wim Taymans  <wim@fluendo.com>
4407
4408         * check/gst/gstbin.c: (GST_START_TEST):
4409         * check/gst/gstelement.c: (GST_START_TEST):
4410         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4411         * check/gst/gstghostpad.c: (GST_START_TEST):
4412         * check/gst/gstpipeline.c: (GST_START_TEST):
4413         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4414         * check/states/sinks.c: (GST_START_TEST):
4415         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4416         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4417         (gst_bin_remove_func), (gst_bin_get_state_func),
4418         (gst_bin_recalc_state), (gst_bin_change_state_func),
4419         (bin_bus_handler):
4420         * gst/gstelement.c: (gst_element_get_state_func),
4421         (gst_element_get_state), (gst_element_abort_state),
4422         (gst_element_commit_state), (gst_element_set_state),
4423         (gst_element_change_state), (gst_element_change_state_func):
4424         * gst/gstelement.h:
4425         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4426         (gst_pipeline_provide_clock_func):
4427         * gst/gstutils.c: (gst_element_link_pads_filtered):
4428         * tools/gst-launch.c: (main):
4429         * tools/gst-typefind.c: (main):
4430         Use GstClockTime in _get_state() instead of GTimeVal.
4431         Remove old code in gstutils.c
4432
4433 2005-10-12  Andy Wingo  <wingo@pobox.com>
4434
4435         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4436         removed.
4437
4438         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4439         there is no task. Shouldn't affect any code, as nothing in our
4440         plugins checks this return value.
4441         (gst_pad_stop_task): Also take the stream lock if the pad has no
4442         task. Docs updated.
4443
4444 2005-10-12  Wim Taymans  <wim@fluendo.com>
4445
4446         * gst/gstpad.c: (pre_activate), (post_activate),
4447         (gst_pad_activate_pull), (gst_pad_activate_push):
4448         Cleanup activation code. Reset old state if
4449         activation failed.
4450
4451 2005-10-12  Wim Taymans  <wim@fluendo.com>
4452
4453         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4454         (gst_base_sink_change_state):
4455         No need to prerol after receiving EOS.
4456
4457         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4458         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4459         * gst/elements/gstidentity.c: (gst_identity_event):
4460         Print events more verbosely.
4461
4462 2005-10-12  Wim Taymans  <wim@fluendo.com>
4463
4464         * check/Makefile.am:
4465         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4466         * check/states/sinks2.c:
4467         Moved sinks2 testcode in sinks check.
4468
4469         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4470         (gst_bin_remove_func), (gst_bin_recalc_state),
4471         (gst_bin_change_state_func), (bin_bus_handler):
4472         Fix potential race condition when _get_state() iterated over an
4473         ASYNC element right before it posted a state completion.
4474
4475         * gst/gstclock.h:
4476         Do proper cast here.
4477
4478         * gst/gstevent.c: (gst_event_new_newsegment),
4479         (gst_event_parse_newsegment):
4480         A playback rate of 0.0 is not allowed.
4481
4482 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4483
4484         * win32/common/config.h:
4485         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4486         (_trewinddir), (_ttelldir), (_tseekdir):
4487         * win32/common/dirent.h:
4488         * win32/common/gtchar.h:
4489         * win32/common/libgstbase.def:
4490         * win32/common/libgstreamer.def:
4491         * win32/vs6/grammar.dsp:
4492         * win32/vs6/gst_inspect.dsp:
4493         * win32/vs6/gst_launch.dsp:
4494         * win32/vs6/gstreamer.dsw:
4495         * win32/vs6/libgstbase.dsp:
4496         * win32/vs6/libgstelements.dsp:
4497         * win32/vs6/libgstreamer.dsp:
4498           Visual Studio 6 project files, and a new common directory.
4499           Phear.
4500
4501 2005-10-11  Wim Taymans  <wim@fluendo.com>
4502
4503         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4504         (gst_base_sink_do_sync), (gst_base_sink_query),
4505         (gst_base_sink_change_state):
4506         * gst/base/gstbasesink.h:
4507         Correctly parse newsegment info.
4508
4509 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4510
4511         * gst/gst.c: (init_post):
4512           split plugin paths correctly
4513
4514 2005-10-11  Wim Taymans  <wim@fluendo.com>
4515
4516         * check/gst/gstevent.c: (GST_START_TEST):
4517         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4518         (gst_base_sink_change_state):
4519         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4520         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4521         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4522         * gst/gstevent.c: (gst_event_new_newsegment),
4523         (gst_event_parse_newsegment):
4524         * gst/gstevent.h:
4525         Added extra flag to newsegment for future API freeze.
4526         Updated check and base elements.
4527
4528 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4529
4530         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4531         (gst_collectpads_add_pad), (gst_collectpads_pop),
4532         (gst_collectpads_event), (gst_collectpads_chain):
4533         * gst/base/gstcollectpads.h: Handle EOS correctly.
4534
4535 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4536
4537         * tools/gst-launch.c: (main):
4538           more null protecting
4539
4540 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4541
4542         * gst/gst-i18n-lib.h:
4543           check for ENABLE_NLS, not GETTEXT_PACKAGE
4544         * gst/gstregistry.c: (gst_registry_add_plugin),
4545         (gst_registry_scan_path_level),
4546         (_gst_registry_remove_cache_plugins):
4547           protect possibly NULL strings
4548         * gst/parse/types.h:
4549           config.h already included before
4550         * tools/gst-inspect.c: (main):
4551           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4552           check for ENABLE_NLS, not GETTEXT_PACKAGE
4553         * tools/gst-launch.c: (main):
4554           check for ENABLE_NLS, not GETTEXT_PACKAGE
4555
4556 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4557
4558         * configure.ac:
4559           if we don't have glib, fail before testing 2.8
4560         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4561           fix a leak, should fix plugins-base testsuite
4562
4563 2005-10-11  Andy Wingo  <wingo@pobox.com>
4564
4565         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4566         take the mode we're going to as an arg. Go head and set the mode
4567         and flushing flags now, so that if the activate function starts a
4568         thread all the flags will be in the right state.
4569         (post_activate): Renamed also. Just handle making sure streaming
4570         finishes for the deactivation case, and setting the deactivated
4571         mode.
4572         (gst_pad_set_active): Complain loudly if deactivation fails.
4573         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4574         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4575         remove the terrible hack.
4576
4577 2005-10-11  Wim Taymans  <wim@fluendo.com>
4578
4579         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4580         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4581         (gst_bin_recalc_state), (gst_bin_change_state_func),
4582         (gst_bin_dispose), (bin_bus_handler):
4583         * gst/gstbin.h:
4584         Prepare to make current EOS message queue more generic.
4585         Fix some typos.
4586
4587         * gst/gstevent.c: (gst_event_new_newsegment),
4588         (gst_event_parse_newsegment):
4589         * gst/gstevent.h:
4590         Rename base to stream_time.
4591
4592         * gst/gstmessage.h:
4593         Fix typo in docs.
4594
4595 2005-10-11  Wim Taymans  <wim@fluendo.com>
4596
4597         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4598         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4599         (gst_bin_change_state_func), (bin_bus_handler):
4600         * gst/gstbin.h:
4601         Work on proper clock selection.
4602
4603 2005-10-11  Edward Hervey  <edward@fluendo.com>
4604
4605         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4606         * libs/gst/controller/gstcontroller.h:
4607         Added GList* version of _remove_properties() in order to be able to wrap
4608         it in bindings.
4609
4610 2005-10-11  Wim Taymans  <wim@fluendo.com>
4611
4612         * docs/design/part-states.txt:
4613         Some more docs.
4614
4615         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4616         (gst_bin_change_state_func), (bin_bus_handler):
4617         Doc updates. Don't distribute the same clock over and over again.
4618
4619         * gst/gstclock.c:
4620         * gst/gstclock.h:
4621         Doc updates.
4622
4623         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4624         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4625         (gst_pad_send_event):
4626         * gst/gstpad.h:
4627         Make probe emission threadsafe again.
4628         Register quarks and move _get_name() from utils.
4629         Doc updates.
4630
4631         * gst/gstpipeline.c: (gst_pipeline_class_init),
4632         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4633         Only redistribute the clock of it changed.
4634
4635         * gst/gstsystemclock.h:
4636         Doc updates. 
4637
4638         * gst/gstutils.c:
4639         * gst/gstutils.h:
4640         Moved the _flow_get_name() to GstPad.
4641
4642 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4643
4644         * check/gst-libs/gdp.c: (GST_START_TEST):
4645         * check/gst/gstcaps.c: (GST_START_TEST):
4646         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4647         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4648         (gst_dp_packet_from_caps):
4649           fix more valgrind warnings before turning up the heat
4650
4651 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4652
4653         * gst/parse/grammar.y:
4654           some cleanup before the hacking
4655
4656 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4657
4658         * gst/base/gstbasesrc.c: (gst_base_src_query):
4659           use conversions
4660         * gst/gstutils.c: (gst_guint64_to_gdouble),
4661         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4662         * gst/gstutils.h:
4663           externalize, basesrc uses it
4664           obviously the implementation needs testing
4665
4666 2005-10-10  Wim Taymans  <wim@fluendo.com>
4667
4668         * tests/sched/Makefile.am:
4669         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4670         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4671
4672 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4673
4674         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4675           apparently converting from guint64 to double is not implemented
4676           on MSVC
4677
4678 2005-10-10  Wim Taymans  <wim@fluendo.com>
4679
4680         * check/Makefile.am:
4681         * check/generic/states.c: (GST_START_TEST):
4682         * check/gst/gstbin.c: (GST_START_TEST):
4683         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4684         * check/states/sinks.c: (GST_START_TEST):
4685         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4686         (main):
4687         Check fixes, use API as stated in design docs, remove hacks.
4688
4689         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4690         (gst_base_sink_change_state):
4691         Catch stopping our task while we're shutting down.
4692
4693         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4694         (gst_bin_remove_func), (gst_bin_get_state_func),
4695         (gst_bin_recalc_state), (gst_bin_change_state_func),
4696         (bin_bus_handler):
4697         * gst/gstbin.h:
4698         * gst/gstelement.c: (gst_element_init),
4699         (gst_element_get_state_func), (gst_element_abort_state),
4700         (gst_element_commit_state), (gst_element_lost_state),
4701         (gst_element_set_state), (gst_element_change_state),
4702         (gst_element_change_state_func):
4703         * gst/gstelement.h:
4704         New state change algorithm (see #318116)
4705
4706         * gst/gstpipeline.c: (gst_pipeline_class_init),
4707         (gst_pipeline_init), (gst_pipeline_set_property),
4708         (gst_pipeline_get_property), (do_pipeline_seek),
4709         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4710         * gst/gstpipeline.h:
4711         Remove crude state change hacks.
4712
4713         * gst/gstutils.h:
4714         Remove crude hacks.
4715
4716         * tools/gst-launch.c: (main):
4717         Fixes for state change. Needs some more work to fully use the
4718         new stuff.
4719
4720 2005-10-10  Andy Wingo  <wingo@pobox.com>
4721
4722         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4723
4724         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4725         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4726         issue.
4727
4728 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4729
4730         * gst/gstiterator.c: (gst_iterator_new):
4731           Fix my previous commit: GTypes passed to gst_iterator_new()
4732           can be fundamental types.
4733
4734 2005-10-10  Wim Taymans  <wim@fluendo.com>
4735
4736         * gst/gstelement.c: (gst_element_iterate_pad_list),
4737         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4738         (gst_element_iterate_sink_pads):
4739         Use src/sink pads lists for the respective iterators instead
4740         of filtering.
4741
4742 2005-10-10  Andy Wingo  <wingo@pobox.com>
4743
4744         Merged in popt removal + GOption addition patch from Ronald, bug
4745         #169772.
4746
4747         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4748         GstElement macros around, remove popt-related symbols, add goption
4749         stuff.
4750
4751         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4752         
4753         * docs/gst/Makefile.am:
4754         * docs/libs/Makefile.am: No POPT_CFLAGS.
4755         
4756         * examples/manual/Makefile.am:
4757         * docs/manual/basics-init.xml: Doc updates with an example.
4758         
4759         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4760         (gst_init), (parse_one_option), (parse_goption_arg):
4761         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4762         bit of hand merging and debugging to get the GOption stuff working
4763         tho.
4764         
4765         * tests/Makefile.am:
4766         * tools/Makefile.am:
4767         * tools/gst-inspect.c: (main):
4768         * tools/gst-launch.c: (main):
4769         * tools/gst-run.c: (main):
4770         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4771
4772 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4773
4774         * gst/gstiterator.c: (gst_iterator_new):
4775           Add assertions to make sure passed GType is likely to really
4776           be a GType (as the compiler won't catch it if the size and
4777           GType arguments get mixed up, see #318447).
4778
4779 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4780
4781         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4782
4783         * gst/gstbin.c: (gst_bin_iterate_sorted):
4784           Pass GType and size arguments to gst_iterator_new() in the right
4785           order (maybe we should make _new() take the GType as first argument
4786           just like _new_list()?) (#318447).
4787           
4788
4789 2005-10-10  Wim Taymans  <wim@fluendo.com>
4790
4791         * gst/gstelement.c: (gst_element_finalize):
4792         And free the GStaticRecMutex too
4793
4794 2005-10-10  Andy Wingo  <wingo@pobox.com>
4795
4796         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4797         Allocate and free the mutex properly.
4798
4799         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4800         New macros.
4801         (GstElement): The state_lock is now recursive. Rebuild your
4802         plugins, suckers. Old macros adapted.
4803
4804         * docs/gst/gstreamer-sections.txt: Doc updates.
4805
4806         * gst/gstutils.h:
4807         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4808         (g_static_rec_cond_wait): Ported from state changes patch, while
4809         we wait on bug #317802 to be solved in a well-distributed GLib.
4810
4811         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4812         gst_element_change_state, variable name changes.
4813         (gst_element_change_state): Split out of gst_element_set_state in
4814         preparation for the state change merge. Doesn't pay attention to
4815         the 'transition' argument.
4816         (gst_element_set_state): Updates, hopefully purely cosmetic.
4817         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4818         state change patch.
4819         (gst_element_get_state_func): Renamed from get_state, cosmetic
4820         changes.
4821
4822 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4823
4824         * gst/elements/gstelements.c:
4825         * win32/GStreamer.vcproj:
4826         * win32/config.h:
4827         * win32/dirent.c: (_tseekdir):
4828         * win32/gst-inspect.vcproj:
4829         * win32/gst-launch.vcproj:
4830         * win32/gstconfig.h:
4831         * win32/gstelements.vcproj:
4832         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4833         * win32/gstreamer.def:
4834         * win32/msvc71.sln:
4835           updates for the win32 build (patch from Sebastien Moutte)
4836
4837 2005-10-10  Andy Wingo  <wingo@pobox.com>
4838
4839         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4840         gst_bin_get_state, cleaned up (but no logic changes).
4841         (bin_element_is_sink): Comment updates.
4842         (sink_iterator_filter): Remove needless cast.
4843         (gst_bin_iterate_sinks): Doc update.
4844         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4845         cleaned up (but no logic changes).
4846
4847         * check/states/sinks.c (test_src_sink): Cleanups from the state
4848         change patch.
4849         (test_livesrc_sink): Sync on the state.
4850
4851         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4852         the state change patch.
4853
4854         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4855         change patch.
4856
4857         * check/gst/gstbin.c: Merge in some style fixes and additional
4858         checks from Wim's state change patch.
4859
4860 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4861
4862         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4863         (gst_type_find_helper):
4864           Check whether we have the requested data already in our list of
4865           cached buffers before pulling a new buffer; also make the buffer
4866           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4867
4868 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4869
4870         * gst/gstcaps.c:
4871         * gst/gstevent.c:
4872           doc updates
4873         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4874           don't use long long, it's not portable.  Replacing with
4875           gint64 seems to work; let's hope no skeletons fall out of the closet.
4876
4877 2005-10-10  Andy Wingo  <wingo@pobox.com>
4878
4879         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4880
4881 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4882
4883         * docs/gst/gstreamer-sections.txt:
4884         * gst/gstevent.c:
4885         * gst/gstevent.h:
4886         * gst/gstinfo.c:
4887         * gst/gstinfo.h:
4888         * gst/gstmessage.c: (gst_message_parse_state_changed):
4889         * gst/gstpad.c:
4890         * gst/gstpad.h:
4891           more docs, fix compilation
4892
4893 2005-10-09  Philippe Khalaf <burger@speedy.org>
4894         * gst/gstmessage.c:
4895           Fixed a few forgotten variables on previous commit
4896
4897 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4898
4899         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4900           Fix evil typefind crasher: getrange() might return a short
4901           buffer at the end of a file, but gst_type_find_peek() must
4902           either return the full data as requested or NULL, but
4903           never a short buffer.
4904
4905 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4906
4907         * gst/gstmessage.c: (gst_message_new_state_changed),
4908         (gst_message_parse_state_changed):
4909         * gst/gstmessage.h:
4910           don't use "new", it's a C++ keyword
4911
4912 2005-10-08  Wim Taymans  <wim@fluendo.com>
4913
4914         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4915         * gst/gstelement.c: (gst_element_post_message):
4916         * gst/gstpipeline.c: (gst_pipeline_change_state):
4917         Small docs and debug updates.
4918
4919 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4920
4921         * docs/gst/gstreamer-sections.txt:
4922         * gst/gstelementfactory.c:
4923         * gst/gstevent.c:
4924         * gst/gsttaglist.c:
4925           more docs
4926
4927 2005-10-08  Wim Taymans  <wim@fluendo.com>
4928
4929         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4930         (gst_bin_dispose), (bin_bus_handler):
4931         Fix typos, add comments.
4932         Clear EOS list when going to PAUSED from any direction and do it
4933         in a threadsafe way.
4934         Get base time in a threadsafe way too.
4935         Fix confusing debug in the change_state function.
4936         Various other small cleanups.
4937         
4938         * gst/gstelement.c: (gst_element_post_message):
4939         Fix very verbose bus posting code.
4940
4941         * gst/gstpipeline.c: (gst_pipeline_class_init),
4942         (gst_pipeline_set_property), (gst_pipeline_get_property),
4943         (gst_pipeline_change_state):
4944         Small ARG_ -> PROP_ cleanup
4945
4946 2005-10-08  Wim Taymans  <wim@fluendo.com>
4947
4948         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4949         Do a less CPU demanding EOS check because we can.
4950
4951 2005-10-08  Wim Taymans  <wim@fluendo.com>
4952
4953         * libs/gst/dataprotocol/dataprotocol.c:
4954         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4955         (gst_dp_packet_from_event):
4956         * libs/gst/dataprotocol/dataprotocol.h:
4957         * libs/gst/dataprotocol/dp-private.h:
4958         It's about time we bump the version number.
4959         Since event types don't fit in the guint8 anymore describing
4960         the payload type, make payload type 16 bits wide.
4961
4962 2005-10-08  Wim Taymans  <wim@fluendo.com>
4963
4964         * docs/design/part-TODO.txt:
4965         * docs/design/part-clocks.txt:
4966         * docs/design/part-events.txt:
4967         * docs/design/part-gstbin.txt:
4968         * docs/design/part-gstelement.txt:
4969         * docs/design/part-gstpipeline.txt:
4970         * docs/design/part-live-source.txt:
4971         * docs/design/part-messages.txt:
4972         * docs/design/part-overview.txt:
4973         * docs/design/part-states.txt:
4974         Many doc updates.
4975
4976 2005-10-08  Wim Taymans  <wim@fluendo.com>
4977
4978         * gst/gstevent.c:
4979         * gst/gstevent.h:
4980         Fix event quark registration.
4981         Add some space between events so we can insert them in the
4982         right groups.
4983
4984 2005-10-08  Wim Taymans  <wim@fluendo.com>
4985
4986         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4987         (gst_base_sink_handle_buffer):
4988         Better log message.
4989
4990         * gst/gstbus.h:
4991         * gst/gstelement.h:
4992         More docs.
4993
4994         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4995         (gst_queue_set_property), (gst_queue_get_property):
4996         * gst/gstqueue.h:
4997         Remove old unused properties.
4998
4999 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5000         * docs/gst/gstreamer-sections.txt:
5001         * gst/gstmessage.c:
5002         * gst/gstmessage.h:
5003         * gst/gstminiobject.c:
5004         * gst/gstminiobject.h:
5005         * gst/gstobject.h:
5006         * gst/gstpad.h:
5007         * gst/gstutils.h:
5008           lots of new docs and doc fixes
5009
5010 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5011
5012         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5013         * gst/gstplugin.h:
5014         * gst/gstregistry.c: (gst_registry_lookup_locked),
5015         (gst_registry_scan_path_level):
5016         * gst/gstregistryxml.c: (load_plugin):
5017           Only ever load one plugin for a given plugin basename.
5018           This ensures correct overriding of GST_PLUGIN_PATH over
5019           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5020           system installed plugins.
5021
5022 2005-10-08  Wim Taymans  <wim@fluendo.com>
5023
5024         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5025         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5026         Prepare for doing QOS.
5027
5028 2005-10-08  Wim Taymans  <wim@fluendo.com>
5029
5030         * check/gst/gstbin.c: (GST_START_TEST):
5031         * check/pipelines/cleanup.c: (GST_START_TEST):
5032         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5033         Allow new clock message too.
5034
5035 2005-10-08  Wim Taymans  <wim@fluendo.com>
5036
5037         * gst/gstmessage.c: (gst_message_new_error),
5038         (gst_message_new_warning), (gst_message_new_tag),
5039         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5040         (gst_message_new_clock_lost), (gst_message_new_new_clock),
5041         (gst_message_new_segment_start), (gst_message_new_segment_done),
5042         (gst_message_parse_state_changed),
5043         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5044         (gst_message_parse_new_clock):
5045         * gst/gstmessage.h:
5046         Also carry the clock in question.
5047
5048 2005-10-08  Wim Taymans  <wim@fluendo.com>
5049
5050         * gst/gstmessage.c: (gst_message_new_custom),
5051         (gst_message_new_eos), (gst_message_new_error),
5052         (gst_message_new_warning), (gst_message_new_tag),
5053         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5054         (gst_message_new_new_clock), (gst_message_new_segment_start),
5055         (gst_message_new_segment_done), (gst_message_parse_state_changed),
5056         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5057         * gst/gstmessage.h:
5058         Clean up.
5059         Added clock related messages.
5060
5061         * gst/gstpipeline.c: (gst_pipeline_change_state):
5062         Post message when the clock changed.
5063
5064         * tools/gst-launch.c: (event_loop):
5065         Print new clock.
5066
5067 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5068
5069         * tools/gst-inspect.c: (print_element_properties_info):
5070           Can't pass NULL strings to g_print() on windows.
5071
5072 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5073
5074         * docs/Makefile.am:
5075         * docs/gst/Makefile.am:
5076         * docs/gst/gstreamer-docs.sgml:
5077         * docs/gst/running.xml:
5078         * docs/version.entities.in:
5079           add a chapter on running GStreamer.
5080           document GST_DEBUG and GST_PLUGIN* env vars
5081
5082 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5083
5084         * Makefile.am:
5085           remove include dir
5086         * configure.ac:
5087           remove PLUGINS_BUILDDIR stuff
5088         * gst/gst.c: (init_post):
5089           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5090         * idiottest.mak:
5091           remove, it was condescending and not needed
5092
5093 2005-10-08  Wim Taymans  <wim@fluendo.com>
5094
5095         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5096         (gst_base_sink_handle_object), (gst_base_sink_event),
5097         (gst_base_sink_wait), (gst_base_sink_handle_event),
5098         (gst_base_sink_change_state):
5099         * gst/base/gstbasesink.h:
5100         Repost EOS message while going to PLAYING if still EOS.
5101         Make sure that when receiving a FLUSH_START we don't attempt
5102         to sync on the clock anymore.
5103
5104 2005-10-08  Wim Taymans  <wim@fluendo.com>
5105
5106         * tools/gst-launch.c: (event_loop):
5107         Better message printout.
5108
5109 2005-10-08  Wim Taymans  <wim@fluendo.com>
5110
5111         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5112         (gst_bin_child_proxy_get_children_count):
5113         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5114         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5115         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5116         (gst_child_proxy_set_valist):
5117         * gst/parse/grammar.y:
5118         Make ChildProxy threadsafe and fix mem leaks.
5119
5120 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5121
5122         * gst/gst.c: (init_post):
5123           debug the GST_PLUGIN_ env vars
5124
5125 2005-10-08  Wim Taymans  <wim@fluendo.com>
5126
5127         * check/gst/gstbin.c: (GST_START_TEST):
5128         * check/gst/gstmessage.c: (GST_START_TEST):
5129         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5130         * gst/gstelement.c: (gst_element_commit_state),
5131         (gst_element_lost_state):
5132         * gst/gstmessage.c: (gst_message_new_state_changed),
5133         (gst_message_parse_state_changed):
5134         * gst/gstmessage.h:
5135         * tools/gst-launch.c: (event_loop):
5136         Added extra field to STATE_CHANGE message with the pending
5137         state, which will be different from the new state soon.
5138
5139 2005-10-08  Wim Taymans  <wim@fluendo.com>
5140
5141         * gst/gstbus.c: (gst_bus_pop):
5142         * gst/gstclock.c:
5143         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5144         Small cleanups and doc updates.
5145
5146 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5147
5148         * gst/gst.c: (init_pre):
5149         * gst/gstbin.c: (gst_bin_add_func):
5150           log distributing clocks and base time
5151         * gst/gstregistry.c: (gst_registry_add_plugin),
5152         (gst_registry_scan_path_level), (gst_registry_scan_path):
5153           clean up the debugging output a little
5154         * gst/gstutils.c: (gst_element_state_get_name):
5155           warn about a memleak (I've actually seen this be used, though
5156           it was probably a bug)
5157
5158 2005-10-07  Wim Taymans  <wim@fluendo.com>
5159
5160         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5161         (gst_base_src_init), (gst_base_src_default_newsegment),
5162         (gst_base_src_newsegment), (gst_base_src_do_seek),
5163         (gst_base_src_loop), (gst_base_src_start):
5164         * gst/base/gstbasesrc.h:
5165         Make the newsegment event customizable by subclasses.
5166
5167 2005-10-07  Wim Taymans  <wim@fluendo.com>
5168
5169         * gst/gstevent.c: (gst_event_new_buffersize),
5170         (gst_event_parse_buffersize):
5171         * gst/gstevent.h:
5172         New event for future idea.
5173
5174 2005-10-07  Andy Wingo  <wingo@pobox.com>
5175
5176         * gst/gstelement.c (gst_element_post_message): Doc update.
5177
5178         * docs/gst/gstreamer-sections.txt: Update.
5179
5180         * gst/gstmessage.c (gst_message_new_application): Made into a
5181         function like honest API calls.
5182         (gst_message_new_element): New message type.
5183
5184         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5185
5186         * check/elements/fakesrc.c (test_no_preroll): New check, checks
5187         that setting a live fakesrc to PAUSED returns NO_PREROLL both
5188         times.
5189
5190         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5191         NO_PREROLL from gst_element_change_state to fall through.
5192
5193 2005-10-07  Wim Taymans  <wim@fluendo.com>
5194
5195         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5196         (gst_ghost_pad_do_activate_push):
5197         Activating a ghostpad with no internal pad in push mode
5198         is ok.
5199
5200 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5201
5202         * gst/gstobject.h:
5203           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5204           Fixes compilation on Windows.
5205
5206 2005-10-07  Michael Smith <msmith@fluendo.com>
5207
5208         * tools/gst-inspect.c:
5209           Print out feature and plugin count at the end when printing out
5210           all features.
5211
5212 2005-10-04  Michael Smith <msmith@fluendo.com>
5213
5214         * gst/gsterror.c: (_gst_stream_errors_init):
5215           Add another error string used in a few existing plugins.
5216
5217         * gst/gstplugin.c:
5218         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5219         * tools/gst-inspect.c: (print_element_info):
5220           When a feature disappears from a plugin (and the feature exists in
5221           the cached registry file), things went horribly wrong. This isn't a
5222           complete fix, we should actually be removing the 'missing' features
5223           from the features list when we load the actual plugin. That's not
5224           yet implemented. 
5225
5226 2005-10-04  Johan Dahlin  <johan@gnome.org>
5227
5228         * check/gst/gstiterator.c: (GST_START_TEST):
5229         * gst/gstbin.c: (gst_bin_iterate_elements),
5230         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5231         * gst/gstelement.c: (gst_element_iterate_pads):
5232         * gst/gstformat.c: (gst_format_iterate_definitions):
5233         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5234         (gst_iterator_new_list), (gst_iterator_filter):
5235         * gst/gstiterator.h:
5236         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5237         Add a GType to GstIterator, update callsites and tests.
5238
5239 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5240
5241         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5242           give events a chance to be handled by event probes when the pad
5243           is not linked
5244
5245 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5246
5247         * gst/gstevent.c: (gst_event_type_get_name),
5248         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5249         * gst/gstevent.h:
5250           add string representations for event types
5251
5252 2005-10-06  Wim Taymans  <wim@fluendo.com>
5253
5254         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5255         Don't use NULL pointers.
5256
5257 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5258
5259         * gst/gst_private.h:
5260         * gst/gstbus.c:
5261         * gst/gstelement.c:
5262         * gst/gstinfo.c:
5263         * gst/gstpluginfeature.c:
5264           widen the debug category in output to fit the biggest one we have
5265           add a bus category and use it
5266           play with the colors
5267           fix up some categories
5268
5269 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5270
5271         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5272           add push activation of sink ghost pads.
5273           Andye, please verify
5274
5275 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5276
5277         * gst/gstutils.c: (gst_element_link_pads):
5278           fix a bug in the case where neither element has a pad
5279         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5280           add a test for that case
5281
5282 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5283
5284         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5285           emit have-data before checking for peers.  This allows
5286           for probe handlers to connect elements.  This helps autopluggers.
5287         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5288         (gst_pad_suite):
5289           add six checks, linked/unlinked with no/true/false probe
5290
5291 2005-10-04  Wim Taymans  <wim@fluendo.com>
5292
5293         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5294         (gst_fake_sink_event), (gst_fake_sink_preroll),
5295         (gst_fake_sink_render), (gst_fake_sink_change_state):
5296         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5297         (gst_fake_src_get_property), (gst_fake_src_create),
5298         (gst_fake_src_stop):
5299         * gst/elements/gstidentity.c: (gst_identity_stop):
5300         Protect last_message with lock.
5301
5302 2005-10-04  Edward Hervey  <edward@fluendo.com>
5303
5304         * gst/gstformat.h: 
5305         Added precision in the comments for GST_FORMAT_DEFAULT
5306
5307 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5308
5309         * tools/gst-launch.c: (main):
5310           Don't try to run erroneous pipelines.
5311
5312 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5313
5314         * gst/gstbus.c: We don't need this header.
5315
5316 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5317
5318         * configure.ac:
5319           back to development
5320
5321 === release 0.9.3 ===
5322
5323 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5324
5325         * README:
5326         * configure.ac:
5327           Releasing 0.9.3, "Unregistered"
5328
5329 2005-10-03  Andy Wingo  <wingo@pobox.com>
5330
5331         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5332         whereby calling a pad's activatepush() function can start a thread
5333         that starts to push or pull before the pad gets the FLUSHING flag
5334         unset. Hack around it by holding the stream lock until the flag is
5335         set. Need to replace this with a proper solution. Together with
5336         the ghost pad fixes, this fixes mp3 playing/tagreading.
5337
5338         * docs/design/part-gstghostpad.txt: Add a note about activation of
5339         proxy pads outside of ghost pads.
5340
5341         * gst/gstghostpad.c: Implement the ghost pad activation design.
5342
5343 2005-10-02  Andy Wingo  <wingo@pobox.com>
5344
5345         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5346         It is volatile, after all.
5347
5348         * docs/design/part-gstghostpad.txt: Flesh out activation with
5349         ghost pads.
5350
5351         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5352         GST_DEBUG_FUNCPTR.
5353
5354 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5355
5356         * configure.ac:
5357           Fix (unused) AM_CONDITIONAL tests.
5358
5359 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5360
5361         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5362
5363         * gst/gstutils.c: (gst_pad_query_convert):
5364           Add assertion that makes sure src_val is >=0, just like
5365           gst_query_new_convert() has. (#315895)
5366
5367 2005-09-30  Edward Hervey  <edward@fluendo.com>
5368
5369         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5370         Let's not iterate pads we're not interested in, it avoids getting 
5371         sky-high refcounts on sinkpad.
5372
5373 2005-09-30  Wim Taymans  <wim@fluendo.com>
5374
5375         * gst/gstelement.c: (gst_element_set_state),
5376         (gst_element_change_state):
5377         Small tweak, element in ASYNC remains ASYNC.
5378
5379 2005-09-30  Wim Taymans  <wim@fluendo.com>
5380
5381         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5382         Only error is an error.
5383
5384         * gst/gstbin.c: (gst_bin_change_state):
5385         Better debugging.
5386
5387         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5388         Also call pad_block in pad alloc.
5389
5390         * gst/gstutils.c: (gst_flow_get_name):
5391         Better debugging.
5392
5393 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5394
5395         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5396         (gst_base_src_get_range):
5397           Fix documentation typos. Add some more debug info.
5398
5399 2005-09-29  David Schleef  <ds@schleef.org>
5400
5401         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5402           more end-user friendly.
5403         * tools/gst-inspect.c: (main): Check if command-line argument is
5404           a file and attempt to load that file as a plugin.
5405
5406 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5407
5408         * check/gst/gstbin.c:
5409         * check/states/sinks.c:
5410           fix tests for the new warning
5411         * check/gst/gstpipeline.c:
5412           add a test for pipeline and bus interaction
5413         * gst/gstelement.c:
5414           elements should be NULL if they get disposed; add a warning if not
5415
5416 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5417
5418         * gst/gstobject.c:
5419           for 2.6 refcounting, make debug log more correct by printing
5420           the actual refcounts at the time of swap (Wim)
5421
5422 2005-09-29  Andy Wingo  <wingo@pobox.com>
5423
5424         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5425         removes signal watches previously added via
5426         gst_bus_add_signal_watch.
5427         (gst_bus_add_signal_watch): Don't return the source id, just store
5428         it on the bus if there wasn't an id already.
5429
5430         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5431         add_signal_watch and remove_signal_watch.
5432
5433 2005-09-29  Edward Hervey  <edward@fluendo.com>
5434
5435         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5436         Better if we actually iterate the list :)
5437
5438 2005-09-29  Wim Taymans  <wim@fluendo.com>
5439
5440         * check/gst/gstbin.c: (GST_START_TEST):
5441         Change for new bus API.
5442
5443         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5444         (send_messages), (GST_START_TEST), (gstbus_suite):
5445         Change for new bus signal API.
5446
5447         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5448         (gst_bus_source_prepare), (gst_bus_source_check),
5449         (gst_bus_create_watch), (gst_bus_add_watch_full),
5450         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5451         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5452         * gst/gstbus.h:
5453         Remove support for multiple GSources operating on different
5454         message types as it is too complex and unneeded when using
5455         signals.
5456         Added support for receiving signals from the bus.
5457
5458 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5459
5460         * docs/libs/tmpl/gstdataprotocol.sgml:
5461         * docs/manual/advanced-dataaccess.xml:
5462         * gst/elements/gstcapsfilter.c:
5463         * gst/gstutils.c:
5464           rename filter-caps to caps property
5465
5466 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5467
5468         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5469           More robust fraction string parsing.
5470
5471         * docs/pwg/appendix-porting.xml:
5472           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5473
5474 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5475
5476         * gst/gstcaps.c: (gst_caps_do_simplify):
5477           Thou shalt not free a structure and then continue using it
5478           in the next loop iteration.
5479
5480         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5481         (gst_caps_suite):
5482           Add test case for caps simplification.
5483
5484 2005-09-29  Wim Taymans  <wim@fluendo.com>
5485
5486         * check/gst/gstbin.c: (GST_START_TEST):
5487         Oops.
5488
5489 2005-09-29  Wim Taymans  <wim@fluendo.com>
5490
5491         * check/gst/gstbin.c: (GST_START_TEST):
5492         Add bus to bin.
5493
5494         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5495         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5496         (find_element), (gst_bin_sort_iterator_next),
5497         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5498         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5499         (gst_bin_change_state), (gst_bin_dispose):
5500         A bin does not have a bus, it gets the bus from the parent.
5501
5502         * gst/gstelement.c: (gst_element_requires_clock),
5503         (gst_element_provides_clock), (gst_element_is_indexable),
5504         (gst_element_is_locked_state), (gst_element_change_state),
5505         (gst_element_set_bus_func):
5506         Small cleanups.
5507
5508         * gst/gstpipeline.c: (gst_pipeline_class_init),
5509         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5510         The pipeline provides a bus.
5511
5512 2005-09-28  Johan Dahlin  <johan@gnome.org>
5513
5514         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5515         gst_structure_get_enum instead of gst_structure_get_int
5516
5517         * gst/gststructure.c (gst_structure_get_enum): Impl.
5518
5519         * gst/gststructure.h (gst_structure_get_enum): Add
5520
5521         * docs/gst/gstreamer-sections.txt: Ditto
5522
5523         * gst/gstmessage.c (gst_message_new_state_changed): Use
5524         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5525         which does introspection.
5526         Reviewed by Christian Schaller
5527
5528 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5529
5530         * gst/gstinfo.c: (gst_debug_log_default):
5531           don't do dummy g_strdup()s
5532         * libs/gst/controller/gstcontroller.c:
5533         (on_object_controlled_property_changed),
5534         (gst_controlled_property_new), (gst_controller_new_valist),
5535         (gst_controller_new_list),
5536         (gst_controller_remove_properties_valist), (gst_controller_set),
5537         (gst_controller_get), (gst_controller_sync_values),
5538         (gst_controller_get_value_array), (_gst_controller_class_init),
5539         (gst_controller_get_type):
5540         * libs/gst/controller/gstcontroller.h:
5541         * libs/gst/controller/gstinterpolation.c:
5542         (gst_controlled_property_find_timed_value_node):
5543           convert // to /**/ comments
5544
5545 2005-09-28  Wim Taymans  <wim@fluendo.com>
5546
5547         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5548         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5549         (gst_bus_sync_signal_handler):
5550         * gst/gstbus.h:
5551         Added async-message and sync-message signals to the bus.
5552         Added helper BusFunc to emit signals for all posted messages.
5553
5554         * gst/gstmessage.c: (gst_message_type_get_name),
5555         (gst_message_type_to_quark), (gst_message_get_type):
5556         * gst/gstmessage.h:
5557         Register quarks for message names.
5558
5559 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5560
5561         * docs/libs/gstreamer-libs-sections.txt:
5562         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5563         (gst_controller_new_list):
5564         * libs/gst/controller/gstcontroller.h:
5565           added another constructor for language bindings
5566
5567 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5568
5569         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5570           add another check
5571         * gst/gstbus.c:
5572           add some doc
5573         * gst/gstinfo.c: (_gst_debug_init):
5574           slightly more readable color for refcount debugging
5575
5576 2005-09-28  Wim Taymans  <wim@fluendo.com>
5577
5578         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5579         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5580         (find_element), (gst_bin_sort_iterator_next),
5581         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5582         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5583         (gst_bin_change_state), (gst_bin_dispose):
5584         Small doc fixes. get_clock -> provide_clock.
5585
5586         * gst/gstelement.c: (gst_element_class_init),
5587         (gst_element_provides_clock), (gst_element_provide_clock),
5588         (gst_element_get_clock), (gst_element_commit_state),
5589         (gst_element_lost_state):
5590         * gst/gstelement.h:
5591         Make get/set_clock() symetric. Add provide_clock vmethod since
5592         that is actually what this function does.
5593
5594         * gst/gstpipeline.c: (gst_pipeline_class_init),
5595         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5596         (gst_pipeline_get_clock):
5597         get_clock -> provide_clock.
5598
5599 2005-09-28  Andy Wingo  <wingo@pobox.com>
5600
5601         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5602         lieu of real docs...
5603
5604         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5605
5606 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5607
5608         * gst/elements/gstcapsfilter.c:
5609         * gst/elements/gstfakesink.c:
5610         * gst/elements/gstfakesrc.c:
5611         * gst/elements/gstfdsink.c:
5612         * gst/elements/gstfdsrc.c:
5613         * gst/elements/gstfilesink.c:
5614         * gst/elements/gstfilesrc.c:
5615         * gst/elements/gstidentity.c:
5616         * gst/elements/gsttee.c:
5617         * gst/elements/gsttypefindelement.c:
5618           Make element details static.
5619
5620 2005-09-28  Wim Taymans  <wim@fluendo.com>
5621
5622         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5623         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5624         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5625         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5626         (gst_bin_change_state), (gst_bin_dispose):
5627         Some documentation updates.
5628         Clean up dispose handlers.
5629
5630         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5631         * gst/gstpad.c: (gst_pad_dispose):
5632         Clean up dispose handler.
5633
5634         * gst/gstpipeline.c: (gst_pipeline_change_state):
5635         Removed spurious UNLOCK.
5636
5637 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5638
5639         * docs/gst/gstreamer-sections.txt:
5640         * gst/base/gstbasesrc.h:
5641         * gst/gstelement.h:
5642         * gst/gstevent.h:
5643         * gst/gstobject.h:
5644         * gst/gstpad.h:
5645         * gst/gstpipeline.c:
5646         * gst/gstpipeline.h:
5647         * gst/gstutils.h:
5648         * gst/gstxml.h:
5649           added two new functions to the docs
5650                 documents all undocumented GstXXXFlags
5651                 completed some incomplete docs 
5652
5653 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5654
5655         * gst/gstbin.c: (gst_bin_dispose):
5656         * gst/gstelement.c: (gst_element_dispose):
5657           remove now useless and leaky resurrection code in dispose
5658         * gst/base/gstbasesrc.c: (gst_base_src_init):
5659         * gst/gstelementfactory.c: (gst_element_factory_create):
5660         * gst/gstobject.c: (gst_object_set_parent):
5661           add some debugging
5662
5663 2005-09-27  Wim Taymans  <wim@fluendo.com>
5664
5665         * docs/design/part-TODO.txt:
5666         Update TODO.
5667
5668         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5669         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5670         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5671         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5672         (gst_bin_change_state):
5673         * gst/gstelement.h:
5674         Remove element variable, we keep element info in the iterator now.
5675
5676 2005-09-27  Andy Wingo  <wingo@pobox.com>
5677
5678         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5679         values.
5680
5681 2005-09-27  Wim Taymans  <wim@fluendo.com>
5682
5683         * check/gst/gstbin.c: (GST_START_TEST):
5684         Enable check that works now.
5685
5686         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5687         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5688         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5689         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5690         (gst_bin_change_state):
5691         * gst/gstbin.h:
5692         Redid the state change algorithm using a topological sort algo.
5693         Handles all cases correctly.
5694         Exposed iterator for state change order.
5695
5696         * gst/gstelement.h:
5697         Temp storage for state changes. Need to get rid of this soon.
5698
5699 2005-09-27  Wim Taymans  <wim@fluendo.com>
5700
5701         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5702         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5703         (link_fold_func), (gst_pad_proxy_setcaps):
5704         Leak fixes, the fold functions need to unref the passed object and
5705         _get_parent_*() returns ref to parent.
5706
5707 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5708
5709         * check/gst/gstbuffer.c: (test_make_writable):
5710           Plug leak in test case and fix 'make check-valgrind'
5711
5712 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5713
5714         * gst/gstbuffer.c: (gst_subbuffer_init):
5715           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5716           works correctly in all circumstances (we could have just copied
5717           the parent buffer's readonly flag, but conceptually it seems
5718           cleaner to mark all subbuffers as read-only). (based on patch
5719           by Alessandro Decina, #314710).
5720         
5721         * check/gst/gstbuffer.c: (create_read_only_buffer),
5722         (test_make_writable), (test_subbuffer_make_writable),
5723         (gst_test_suite):
5724           Add some tests for gst_buffer_make_writable().
5725
5726 2005-09-27  Wim Taymans  <wim@fluendo.com>
5727
5728         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5729         use gst_object_has_ancestor().
5730
5731         * gst/gstobject.c: (gst_object_has_ancestor):
5732         * gst/gstobject.h:
5733         gst_object_has_ancestor() copied from gstbin.c as it is a
5734         usefull function.
5735
5736         * tests/instantiate/create.c: (create_all_elements):
5737         * tests/lat.c: (handoff_src), (handoff_sink):
5738         * tests/sched/runxml.c: (main):
5739         * tests/seeking/seeking1.c: (main):
5740         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5741         (main):
5742         Fix compilation of some tests.
5743
5744 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5745
5746         * gst/gsterror.h:
5747           Remove comment. GST_TYPE_G_ERROR is here to stay,
5748           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5749           (#316961, #300610).
5750
5751 2005-09-26  Wim Taymans  <wim@fluendo.com>
5752
5753         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5754         Added check that shows error in state change order.
5755
5756 2005-09-26  Wim Taymans  <wim@fluendo.com>
5757
5758         * gst/gstbin.c: (gst_bin_change_state):
5759         Make state change function use 3 queues again, we were
5760         adding elements in the wrong order.
5761
5762         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5763         Some debug info,
5764
5765         * gst/gstpad.c: (gst_pad_dispose):
5766         Added some debug info first.
5767
5768 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5769
5770         * docs/design/draft-push-pull.txt:
5771         * docs/design/part-events.txt:
5772         * docs/design/part-overview.txt:
5773         * docs/design/part-scheduling.txt:
5774           Replace all _pull_region() with _pull_range()
5775           
5776 2005-09-26  Andy Wingo  <wingo@pobox.com>
5777
5778         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5779
5780         * check/gst-libs/controller.c: Update for controller api change.
5781
5782         * configure.ac: 
5783         * tests/Makefile.am:
5784         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5785         over by GLib bug 118439.
5786         
5787         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5788         routines to a function.
5789
5790         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5791
5792         * libs/gst/controller/gsthelper.c:
5793         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5794         (gst_object_sync_values): Renamed from sink_values. Ugh.
5795
5796         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5797
5798         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5799         Renamed from controller_key, as it is exported.
5800
5801         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5802
5803 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5804
5805         * gst/Makefile.am:
5806         * gst/gst.h:
5807         * gst/gstpad.h:
5808         * gst/gstpadtemplate.h:
5809         * gst/gstquery.c:
5810         * gst/gstquery.h:
5811         * gst/gstqueryutils.c:
5812         * gst/gstqueryutils.h:
5813           remove queryutils headers after moving the two used functions
5814           to gstquery.  also fixes build problem for gstsiddec
5815
5816 2005-09-26  Michael Smith <msmith@fluendo.com>
5817
5818         * tools/gst-launch.1.in:
5819         Correct documentation in manpage of debug syntax
5820
5821 2005-09-26  Wim Taymans  <wim@fluendo.com>
5822
5823         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5824         (gst_base_src_is_seekable), (gst_base_src_change_state):
5825         Some more debugging info.
5826
5827 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5828
5829         * docs/gst/gstreamer-sections.txt:
5830         * gst/base/gstbasetransform.h:
5831         * gst/gstindex.h:
5832           added more docs
5833
5834 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5835
5836         * docs/gst/.cvsignore:
5837         * docs/gst/tmpl/.cvsignore:
5838         * docs/gst/tmpl/gstpipeline.sgml:
5839         * docs/gst/tmpl/gstplugin.sgml:
5840         * gst/gstpipeline.c:
5841         * gst/gstplugin.c:
5842         * gst/gstplugin.h:
5843           inlined the last two docs files
5844           removed the tmpl directory from cvs (no more conflicts here!)
5845
5846 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5847
5848         * docs/gst/gstreamer-sections.txt:
5849         * docs/gst/tmpl/.cvsignore:
5850         * docs/gst/tmpl/gstpad.sgml:
5851         * docs/gst/tmpl/gstpadtemplate.sgml:
5852         * gst/Makefile.am:
5853         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5854         (gst_pad_finalize), (gst_pad_set_pad_template):
5855         * gst/gstpad.h:
5856         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5857         (gst_pad_template_class_init), (gst_pad_template_init),
5858         (gst_pad_template_dispose), (name_is_valid),
5859         (gst_static_pad_template_get), (gst_pad_template_new),
5860         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5861         (gst_pad_template_pad_created):
5862         * gst/gstpadtemplate.h:
5863           inlined two more docs
5864           factored gstpadtemplate out of gstpad
5865
5866 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5867
5868         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5869         (test_children_state_change_order_semi_sink):
5870           Fix test case: we can't rely on a fixed state change order when
5871           going from READY => PAUSED because the sink might commit its 
5872           new state first when the first buffer created by the source 
5873           reaches the sink before the source has finished its change state.
5874           (Test case still fails at times, see #316856, comment 5 onwards)
5875
5876 2005-09-24  Wim Taymans  <wim@fluendo.com>
5877
5878         * docs/design/part-events.txt:
5879         * docs/design/part-gstbus.txt:
5880         * docs/design/part-gstpipeline.txt:
5881         * docs/design/part-messages.txt:
5882         * docs/design/part-overview.txt:
5883         * docs/design/part-segments.txt:
5884         * gst/gstbin.c:
5885         * gst/gstbuffer.c:
5886         * gst/gstclock.c:
5887         * gst/gstelement.c:
5888         * gst/gstevent.c:
5889         * gst/gstfilter.c:
5890         * gst/gstiterator.c:
5891         Various documentation updates.
5892
5893 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5894
5895         * gst/gstclock.h:
5896           Well, that's embarassing.  Luckily we weren't using
5897           GST_CLOCK_DIFF anywhere.
5898
5899 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5900
5901         * common/gtk-doc.mak:
5902           don't fail on building XML, FC4 slave shows a bunch of doc
5903           missing bits that I don't get
5904         * gst/gstpad.c:
5905         * gst/gstpipeline.c:
5906         * gst/gststructure.c:
5907           some doc updates
5908
5909 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5910
5911         * docs/design/part-gstbin.txt:
5912         * docs/design/part-gstbus.txt:
5913         * gst/gstbus.c:
5914           Add blurb about how the bus goes into flushing mode and
5915           drops all messages when its bin goes from READY into NULL 
5916           state.
5917
5918 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5919
5920         * docs/gst/gstreamer-sections.txt:
5921         * gst/gststructure.c: (gst_structure_get_clock_time):
5922         * gst/gststructure.h:
5923           add a method to get a GstClockTime out of a structure
5924
5925 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5926
5927         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5928         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5929           Added test to check state change order in bins (can still be made
5930           to fail here under heavy disk load; bails out with 'Push on pad
5931           fakesink:sink0, but it was not activated in push mode').
5932
5933         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5934           Fix state change order when there is only a semi sink (#316856)
5935
5936         * gst/gstbus.c: (gst_bus_class_init):
5937           Use _class_peek_parent(), not _class_ref(); fix docs to say
5938           'default main context' instead of 'mainloop' where that is
5939           what's meant.
5940
5941         * gst/gstelement.c: (gst_element_commit_state),
5942         (gst_element_set_state):
5943           Fix typos in debug messages
5944
5945 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5946
5947         * docs/README:
5948         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5949         * gst/gstpluginfeature.c:
5950         * gst/gstutils.c:
5951           various doc updates
5952         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5953           change an assert into an error until it gets fixed properly
5954
5955 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5956
5957         * docs/gst/gstreamer-sections.txt:
5958         * docs/gst/tmpl/.cvsignore:
5959         * docs/gst/tmpl/gstelement.sgml:
5960         * docs/gst/tmpl/gstinfo.sgml:
5961         * docs/gst/tmpl/gstobject.sgml:
5962         * gst/gstelement.c:
5963         * gst/gstelement.h:
5964         * gst/gstinfo.c:
5965         * gst/gstinfo.h:
5966         * gst/gstobject.c: (gst_object_class_init):
5967         * gst/gstobject.h:
5968           inlined 3 more biiiig doc files and added some missing docs on the fly
5969
5970 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5971
5972         * check/gst/.cvsignore:
5973         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5974         * gst/gstregistryxml.c: (load_plugin),
5975         (gst_registry_xml_save_plugin):
5976           put back source in registry.  add checks for find_plugin.
5977         * testsuite/states/bin.c: (assert_state), (empty_bin),
5978         (test_adding_one_element), (main):
5979         * testsuite/states/locked.c: (main):
5980           some compile/run fixes
5981
5982 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5983
5984         * check/gst/gstvalue.c: (GST_START_TEST):
5985           fix leaks in the test itself
5986
5987 2005-09-22  Wim Taymans  <wim@fluendo.com>
5988
5989         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5990         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5991         (gst_base_sink_query):
5992         Prepare for more accurate position reporting and query
5993         handling.
5994
5995         * gst/gstelement.c: (gst_element_send_event),
5996         (gst_element_set_state):
5997         Add some comment.
5998
5999 2005-09-22  Wim Taymans  <wim@fluendo.com>
6000
6001         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6002         (gst_query_parse_segment):
6003         * gst/gstquery.h:
6004         More documentation.
6005         Add segment query for future use.
6006
6007 2005-09-22  Wim Taymans  <wim@fluendo.com>
6008
6009         * gst/gstbin.c: (gst_bin_add_func):
6010         Some more debug info.
6011
6012         * gst/gstelement.c: (gst_element_send_event):
6013         Simplify send_event
6014
6015         * gst/gstelement.h:
6016         Don't know how flags got broken.
6017
6018         * gst/gstquery.h:
6019         Added new query.
6020
6021 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6022
6023         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6024           Add simplistic test suite for GST_TYPE_DATE serialisation and
6025           deserialisation.
6026
6027 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6028
6029         * docs/gst/gstreamer-sections.txt:
6030         * gst/gststructure.c: (gst_structure_set_valist),
6031         (gst_structure_get_date):
6032         * gst/gststructure.h:
6033         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6034         (gst_date_copy), (gst_value_compare_date),
6035         (gst_value_serialize_date), (gst_value_deserialize_date),
6036         (gst_value_transform_date_string),
6037         (gst_value_transform_string_date), (_gst_value_initialize):
6038         * gst/gstvalue.h:
6039           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6040           bunch of utility functions along with a hack that checks that
6041           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6042           is required. Part of the grand scheme in #170777.
6043
6044 2005-09-22  Andy Wingo  <wingo@pobox.com>
6045
6046         * gst/gstconfig.h.in: Psych out gtk-doc.
6047
6048         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6049
6050         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6051
6052         * tools/gst-inspect.c (print_element_list): Plug some
6053         inconsequential leaks.
6054
6055         * gst/gstregistry.c (gst_registry_get_default): Doc.
6056
6057         * check/gst/gstplugin.c: 
6058         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6059         * gst/gstelementfactory.c (gst_element_factory_create): 
6060         * gst/gstindexfactory.c (gst_index_factory_create): Update for
6061         refcount changes.
6062
6063         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6064         (gst_plugin_feature_load): Doc, don't eat refs.
6065
6066         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6067         (gst_plugin_list_free): Doc.
6068         (gst_plugin_load_file): Doc updates.
6069
6070         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6071         accessors returning refcounted objects, return a ref.
6072
6073         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6074         accessor for caps. IDEMPOTENCE. Oh yes.
6075
6076 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
6077
6078         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6079
6080         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6081         (_gst_debug_register_funcptr):
6082           Add mutex to serialise access to the hash table with
6083           the function pointer => function name string mapping;
6084           make that hash table static scope (#316809).
6085
6086         * gst/registries/.cvsignore:
6087           Remove left-over file.
6088
6089 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6090
6091         * docs/pwg/appendix-porting.xml:
6092           And something about newsegment events and caps-on-buffers to
6093           the porting guide (feel free to improve).
6094
6095 2005-09-21  Andy Wingo  <wingo@pobox.com>
6096
6097         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6098         data and event probes on the same pad.
6099         (test_buffer_probe_once): Test that removing probes from within
6100         the probe functions works.
6101
6102 2005-09-21  Andy Wingo  <wingo@pobox.com>
6103
6104         * check/gst/gstutils.c: New file.
6105         (test_buffer_probe_n_times): A simple buffer probe test. More to
6106         come, foolios.
6107
6108         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6109         have-data::buffer, not have-data.
6110         (gst_pad_add_event_probe): Likewise for have-data::event.
6111         (gst_pad_add_data_probe): More docs. The part about 'resolving the
6112         peer' isn't quite right yet though.
6113         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
6114         (gst_pad_remove_data_probe): Change to take the guint handler_id
6115         as their arg, not the function+data, which is more glib-like.
6116
6117         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6118         the signal emission to indicate if the data is a buffer or an
6119         event.
6120         (gst_pad_get_type): Initialize buffer and event quarks.
6121         (gst_pad_class_init): have-data is now a detailed signal, yes it
6122         is.
6123
6124 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6125
6126         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6127         * gst/gstutils.c: (gst_util_set_value_from_string),
6128         (gst_util_set_object_arg):
6129           Don't put functional code in g_return_if_fail() or
6130           g_return_val_if_fail() statements, otherwise things will 
6131           break when G_DISABLE_CHECKS is defined during compilation.
6132
6133 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6134
6135         * docs/gst/tmpl/.cvsignore:
6136         * docs/gst/tmpl/gstvalue.sgml:
6137         * gst/gstvalue.c:
6138         * gst/gstvalue.h:
6139           inlied another one and added  some obvious docs
6140
6141 2005-09-21  Wim Taymans  <wim@fluendo.com>
6142
6143         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6144         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6145         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6146         (gst_fdsrc_get_property), (gst_fdsrc_create):
6147         * gst/elements/gstfdsrc.h:
6148         Properly implement fdsrc. Removed signal and timeout,
6149         better implemented somewhere else.
6150
6151 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6152
6153         * docs/gst/tmpl/.cvsignore:
6154         * docs/gst/tmpl/gstimplementsinterface.sgml:
6155         * gst/gstinterface.c:
6156           inlined more docs
6157
6158 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6159
6160         * docs/gst/gstreamer-sections.txt:
6161         * docs/gst/tmpl/.cvsignore:
6162         * docs/gst/tmpl/gstenumtypes.sgml:
6163           remove obsolete doc file
6164
6165 2005-09-21  David Schleef  <ds@schleef.org>
6166
6167         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6168         little beer, fix a little leak.
6169
6170 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6171
6172         * docs/gst/gstreamer-docs.sgml:
6173         * docs/gst/gstreamer-sections.txt:
6174         * docs/gst/tmpl/.cvsignore:
6175         * gst/Makefile.am:
6176         * gst/gst.h:
6177         * gst/gstbin.c:
6178         * gst/gstelement.h:
6179         * gst/gstindex.c: (gst_index_class_init):
6180         * gst/gstindex.h:
6181         * gst/gstindexfactory.c: (gst_index_factory_get_type),
6182         (gst_index_factory_class_init), (gst_index_factory_init),
6183         (gst_index_factory_finalize), (gst_index_factory_new),
6184         (gst_index_factory_destroy), (gst_index_factory_find),
6185         (gst_index_factory_create), (gst_index_factory_make):
6186         * gst/gstindexfactory.h:
6187         * gst/gstpluginfeature.c:
6188         * gst/gstpluginfeature.h:
6189         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6190           more docs inlined, splitted gstindex.{c,h}
6191
6192 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6193
6194         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6195           fix a leak
6196
6197 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6198
6199         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6200           Set sync to FALSE by default.
6201
6202 2005-09-20  Wim Taymans  <wim@fluendo.com>
6203
6204         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6205         (gst_base_sink_init):
6206         Make sync property settable from subclass.
6207
6208         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6209         (gst_fake_sink_change_state):
6210         Set sync to FALSE by default.
6211
6212 2005-09-20  Wim Taymans  <wim@fluendo.com>
6213
6214         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6215         * tools/gst-launch.c: (main):
6216         The timeout handler should have lower priority than the source
6217         so we don't timeout before popping a message with 0 timeout.
6218         Dump error messages after failed state change.
6219
6220 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6221
6222         * tools/gst-inspect.c: (print_element_properties_info):
6223           Fix two typos.
6224
6225 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6226
6227         * check/gst/gstevent.c:
6228         * gst/elements/gstfakesink.c:
6229         * gst/elements/gstfakesink.h:
6230           remove the sync property from fakesink.
6231           has the side effect of setting sync TRUE
6232           for fakesink, which is a change.  Anyone who knows how
6233           to fix this nicely in a GObject-y way, feel free.
6234
6235 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6236
6237         * docs/gst/gstreamer-docs.sgml:
6238           remove probe refsection
6239
6240 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6241
6242         * check/Makefile.am:
6243           disable valgrinding the controller test again
6244         * docs/gst/gstreamer-sections.txt:
6245           update for api-changes
6246
6247 2005-09-20  Wim Taymans  <wim@fluendo.com>
6248
6249         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6250         (gst_base_sink_set_property), (gst_base_sink_get_property),
6251         (gst_base_sink_do_sync):
6252         * gst/base/gstbasesink.h:
6253         Added sync property to basesink to disable clock sync.
6254
6255 2005-09-20  Andy Wingo  <wingo@pobox.com>
6256
6257         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6258         eating the caller's refcount.
6259
6260         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6261         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6262         refcount.
6263
6264         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6265         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6266         of GLib 2.8 public, so we can know which refcount to check in
6267         tests.
6268
6269         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6270         (gst_object_init): Only set the gst refcount if we're going ahead
6271         with the refcount hack.
6272
6273 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6274
6275         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6276         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6277           more leaks plumbed, added more debug-logging
6278         * gst/gstmacros.h:
6279           whitespace fix
6280
6281 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6282
6283         * gst/gstmessage.c:
6284           remove include of gstmemchunk.h
6285
6286 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6287
6288         * gst/gstclock.c: (_gst_clock_id_free):
6289           Commit from the Political Party For More Atomic CVS Commits,
6290           so that people don't waste too much of their day fishing
6291           out obvious leaks out of massive commits.
6292           Oh, and fix a pretty damn obvious leak in the memchunk
6293           removal code.
6294
6295 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6296
6297         * check/Makefile.am:
6298         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6299           plug mem-leak, re-add to valgrindable tests
6300
6301 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6302
6303         * gst/gstplugin.h:
6304           unbreak the build for those who have chronic arthritis
6305           and typing "make check" is just too taxing on the hands
6306
6307 2005-09-20  Andy Wingo  <wingo@pobox.com>
6308
6309         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6310         really want it out, you should fix plugins at the same time.
6311
6312 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6313
6314         * configure.ac:
6315         * docs/gst/gstreamer-sections.txt:
6316         * gst/gstobject.c:
6317           added missing symbols to api docs
6318           disable ref-count hack if we have glib >= 2.8
6319
6320 2005-09-19  David Schleef  <ds@schleef.org>
6321
6322         * docs/gst/Makefile.am: Ignore a few more internal headers
6323         * docs/gst/gstreamer-docs.sgml: Remove old sections
6324         * docs/gst/gstreamer-sections.txt: Remove old sections
6325         * docs/gst/tmpl/gstobject.sgml: update
6326         * docs/gst/tmpl/gstplugin.sgml: update
6327         * docs/gst/tmpl/gstpluginfeature.sgml: update
6328         * docs/random/ds/0.9-suggested-changes: update.
6329         * gst/Makefile.am: remove memchunk and trashstack, since they're
6330           not used.
6331         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6332         * gst/gst.h: don't include some headers
6333         * gst/gstchildproxy.c: add gstmarshal.h
6334         * gst/gstclock.c: Don't use memchunks
6335         * gst/gstminiobject.c: Add some docs
6336         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6337         * gst/gstobject.h: same
6338         * gst/gstplugin.c: include gstmacros.h
6339         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6340         * gst/gstquery.c: don't use memchunks
6341         * gst/gstregistry.c: rename gst_registry_deinit()
6342         * gst/gstregistry.h: same
6343
6344 2005-09-19  David Schleef  <ds@schleef.org>
6345
6346         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6347         * docs/libs/gstreamer-libs-sections.txt:
6348         * docs/libs/tmpl/gstgetbits.sgml:
6349         * docs/libs/tmpl/gstputbits.sgml:
6350
6351 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6352
6353         * win32/gstenumtypes.c:
6354         * win32/gstenumtypes.h:
6355           Update.
6356
6357 2005-09-19  Wim Taymans  <wim@fluendo.com>
6358
6359         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6360         Automatically PAUSE and RESUME a pipeline when a flushing seek
6361         is performed.
6362
6363 2005-09-19  Andy Wingo  <wingo@pobox.com>
6364
6365         * gst/gstregistry.h: Spacing fixen.
6366
6367 2005-09-19  Wim Taymans  <wim@fluendo.com>
6368
6369         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6370         Handle state change failure more correctly.
6371
6372 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6373
6374         * check/Makefile.am:
6375         * check/pipelines/cleanup.c: (run_pipeline):
6376         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6377         (GST_START_TEST):
6378           enable cleanup again after fixing the leak
6379         * docs/README:
6380           some more info on docs
6381
6382 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6383
6384         * check/Makefile.am:
6385           re-enable tests now that leaks are plugged
6386         * check/gst/gst.c:
6387         * check/gst/gstbin.c:
6388         * check/gst/gstpipeline.c:
6389           add some more tests while fixing leaks
6390         * common/check.mak:
6391           make sure binaries are uptodate when valgrinding/gdbing
6392         * gst/gst.c:
6393         * gst/gstelementfactory.c:
6394           remove a ref too many, and add a FIXME for when we get
6395           round to disposing of classes
6396         * gst/gstplugin.c:
6397           fix the refcounting when loading a plugin from a file and
6398           the code pretends that the pointer is the same even though
6399           of course it can change
6400         * gst/gstpluginfeature.c:
6401           unref plugins marked cached (a bit confusing as a name)
6402           as the docs state should be done
6403           various doc additions to explain refcounting
6404         * gst/gstregistry.c:
6405         * gst/gstregistryxml.c:
6406           debugging
6407
6408 2005-09-19  Wim Taymans  <wim@fluendo.com>
6409
6410         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6411         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6412         (send_messages), (GST_START_TEST), (gstbus_suite):
6413         * check/gst/gstpipeline.c: (GST_START_TEST):
6414         * check/pipelines/cleanup.c: (run_pipeline):
6415         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6416         (GST_START_TEST):
6417         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6418         (gst_bus_source_check), (gst_bus_source_dispatch),
6419         (gst_bus_create_watch), (gst_bus_add_watch_full),
6420         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6421         * gst/gstbus.h:
6422         * tools/gst-launch.c: (event_loop):
6423         * tools/gst-md5sum.c: (event_loop):
6424         GstBusHandler -> GstBusFunc, return value has the same meaning as
6425         any other GSource (FALSE == remove source).
6426         _add_watch() and _add_watch_full() now take a MessageType mask to
6427         only handle specific types of messages.
6428         _poll() returns the GstMessage instead of the message type to avoid
6429         race conditions.
6430         _have_pending() takes a MessageType mask now too.
6431         Added testsuite for multiple bus watches.
6432         Fix testsuites and applications for new bus API.
6433
6434 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6435
6436         * check/Makefile.am:
6437           mark a bunch of the tests as to fix until we fix them
6438
6439 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6440
6441         * common/check.mak:
6442           use GST_PLUGIN settings for valgrind tests as well, so we're
6443           valgrinding the correct thing
6444         * gst/gst.c: (init_post):
6445           plug another leak
6446
6447 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6448
6449         * gst/gst.c: (init_post), (gst_deinit):
6450         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6451         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6452         * gst/gstindex.c: (gst_index_factory_class_init),
6453         (gst_index_factory_finalize):
6454         * gst/gstobject.c: (gst_object_dispose):
6455         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6456         (gst_plugin_load_file), (gst_plugin_desc_free):
6457         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6458         (gst_plugin_feature_finalize):
6459         * gst/gstregistry.c: (gst_registry_class_init),
6460         (gst_registry_init), (gst_registry_finalize),
6461         (gst_registry_get_default), (gst_registry_deinit):
6462         * gst/gstregistry.h:
6463         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6464           various cleanups and memleak plugging.  make valgrind is happy now.
6465
6466 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6467
6468         * common/check.mak:
6469           add a check-valgrind target
6470
6471 2005-09-18  David Schleef  <ds@schleef.org>
6472
6473         * tools/gst-inspect.c: Revert the GOption code.
6474
6475 2005-09-17  David Schleef  <ds@schleef.org>
6476
6477         * check/Makefile.am: Fix environment variables.
6478         * check/gst/gstplugin.c: Fix for API changes.
6479         * tools/gst-inspect.c: Fix for API changes.
6480         * tools/gst-xmlinspect.c: Fix for API changes.
6481         * gst/gstelementfactory.c:
6482         * gst/gstplugin.c:
6483         * gst/gstplugin.h:
6484         * gst/gstpluginfeature.c:
6485         * gst/gstpluginfeature.h:
6486         * gst/gstregistry.c:
6487         * gst/gstregistry.h:
6488         * gst/gstregistryxml.c:
6489         * gst/gsttypefind.c:
6490         * gst/gsttypefindfactory.c:
6491         * gst/indexers/gstfileindex.c:
6492         * gst/indexers/gstmemindex.c:
6493         * gst/schedulers/Makefile.am:
6494           Change registry to keep track of both plugins and features,
6495           removing the feature tracking from plugins themselves.
6496
6497 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6498
6499         * check/Makefile.am:
6500         * tools/gst-register.1.in:
6501           remove gst-register
6502
6503 2005-09-15  David Schleef  <ds@schleef.org>
6504
6505         * check/gst/gstplugin.c:
6506         * gst/gstelementfactory.c:
6507         * gst/gstplugin.c:
6508         * gst/gstpluginfeature.c:
6509         * gst/gstregistry.c:
6510           Getting tired of debugging.  Disabled all the unreffing of
6511           plugins and features, which fixes the segfaults, but of
6512           course leaks like crazy.  At least playbin works.
6513
6514 2005-09-15  David Schleef  <ds@schleef.org>
6515
6516         * check/gst/gstplugin.c: (register_check_elements),
6517         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6518         More testing
6519         * gst/elements/gsttypefindelement.c: Fix refcounting.
6520         * gst/gsttypefind.c:
6521         * gst/gsttypefindfactory.c:
6522         * gst/gsttypefindfactory.h:
6523
6524 2005-09-15  David Schleef  <ds@schleef.org>
6525
6526         * gst/gstindex.c: get refcounting correct.
6527         * gst/gstregistry.c: Handle the case where a feature/plugin is
6528           not found.
6529
6530 2005-09-15  David Schleef  <ds@schleef.org>
6531
6532         * check/Makefile.am:
6533         * check/gst/gstplugin.c: Add test
6534         * gst/gstplugin.c: Fix problems noticed by testsuite
6535         * gst/gstplugin.h:
6536         * gst/gstregistry.c: 
6537         * gst/gstregistry.h:
6538
6539 2005-09-15  David Schleef  <ds@schleef.org>
6540
6541         * gst/gstplugin.c: Implement semi-decent recounting and locking
6542           in plugins and plugin features.
6543         * gst/gstplugin.h:
6544         * gst/gstpluginfeature.c:
6545         * gst/gstpluginfeature.h:
6546         * gst/gstregistry.c:
6547
6548 2005-09-15  Michael Smith <msmith@fluendo.com>
6549
6550         * gst/gstregistry.c: (gst_registry_get_feature_list):
6551           Implement this. Makes oggdemux work; decodebin still broken.
6552
6553 2005-09-14  David Schleef  <ds@schleef.org>
6554
6555         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6556           #316076)
6557         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6558         * gst/check/Makefile.am:
6559         * libs/gst/controller/Makefile.am:
6560         * libs/gst/dataprotocol/Makefile.am:
6561
6562 2005-09-14  David Schleef  <ds@schleef.org>
6563
6564         * configure.ac: Remove getbits library.  Nothing uses it, and
6565           it should be in something like liboil if someone did want
6566           to use it.
6567         * libs/gst/Makefile.am:
6568         * libs/gst/getbits/Makefile.am:
6569         * libs/gst/getbits/gbtest.c:
6570         * libs/gst/getbits/getbits.c:
6571         * libs/gst/getbits/getbits.h:
6572         * libs/gst/getbits/gstgetbits_generic.c:
6573         * libs/gst/getbits/gstgetbits_i386.s:
6574         * libs/gst/getbits/gstgetbits_inl.h:
6575
6576 2005-09-14  David Schleef  <ds@schleef.org>
6577
6578         * gst/Makefile.am: Dist glib-compat.h
6579
6580 2005-09-14  David Schleef  <ds@schleef.org>
6581
6582         * configure.ac: Remove gst/registries, since it's no longer used.
6583         * gst/registries/Makefile.am:
6584         * gst/registries/gstlibxmlregistry.c:
6585         * gst/registries/gstlibxmlregistry.h:
6586         * gst/registries/gstxmlregistry.c:
6587         * gst/registries/gstxmlregistry.h:
6588         * gst/registries/registrytest.c:
6589
6590 2005-09-14  David Schleef  <ds@schleef.org>
6591
6592         * gst/glib-compat.h:
6593         * gst/gstregistryxml.c:
6594           Convergence is near.  Seriously.
6595
6596 2005-09-14  David Schleef  <ds@schleef.org>
6597
6598         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6599         * gst/glib-compat.h:
6600           Attempt #4 to appease the buildbots.
6601
6602 2005-09-14  David Schleef  <ds@schleef.org>
6603
6604         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6605           Attempt #3.
6606
6607 2005-09-14  David Schleef  <ds@schleef.org>
6608
6609         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6610         Attempt #2.
6611
6612 2005-09-14  David Schleef  <ds@schleef.org>
6613
6614         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6615           the new functions.
6616
6617 2005-09-14  David Schleef  <ds@schleef.org>
6618
6619         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6620         * gst/glib-compat.h: Add some functions that are in newer versions
6621           of glib than we care to require.
6622         * gst/gstregistryxml.c: Use them.
6623
6624 2005-09-14  David Schleef  <ds@schleef.org>
6625
6626         * po/POTFILES.in: remove gst-register.c
6627
6628 2005-09-14  David Schleef  <ds@schleef.org>
6629
6630         * docs/gst/gstreamer-docs.sgml:
6631         * docs/gst/gstreamer-sections.txt:
6632         * docs/gst/gstreamer.types:
6633         * docs/gst/tmpl/gstelement.sgml:
6634         * docs/gst/tmpl/gstplugin.sgml:
6635         * docs/gst/tmpl/gstpluginfeature.sgml:
6636           Documentation updates for registry changes.
6637
6638 2005-09-14  David Schleef  <ds@schleef.org>
6639
6640         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6641           because we don't require glib-2.8.
6642
6643 2005-09-14  David Schleef  <ds@schleef.org>
6644
6645         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6646           registries directory.
6647
6648 2005-09-14  David Schleef  <ds@schleef.org>
6649
6650         * check/Makefile.am:
6651         * check/generic/states.c:
6652         * gst/Makefile.am:
6653         * gst/gst.c:
6654         * gst/gst.h:
6655         * gst/gst_private.h:
6656         * gst/gstelementfactory.c:
6657         * gst/gstindex.c:
6658         * gst/gstinfo.c:
6659         * gst/gstplugin.c:
6660         * gst/gstplugin.h:
6661         * gst/gstpluginfeature.c:
6662         * gst/gstpluginfeature.h:
6663         * gst/gstregistry.c:
6664         * gst/gstregistry.h:
6665         * gst/gstregistrypool.c: remove
6666         * gst/gstregistrypool.h: remove
6667         * gst/gsttypefind.c:
6668         * gst/gsttypefindfactory.c:
6669         * gst/gsturi.c:
6670         * tools/Makefile.am:
6671         * tools/gst-compprep.c:
6672         * tools/gst-inspect.c:
6673         * tools/gst-register.c: remove
6674         * tools/gst-xmlinspect.c:
6675           Registry rewrite.  Changes registry from being a file created
6676           by a tool into a simple cache file created automatically by 
6677           libgstreamer.  Removed gst-register (because it's no longer
6678           needed).  Remove registry pools, because we only have one
6679           registry implementation (XML).  Fix up other subsystems as
6680           necessary.
6681
6682 2005-09-13  Michael Smith <msmith@fluendo.com>
6683
6684         * gst/gstconfig.h.in:
6685           Don't Use windows linking attributes for MinGW. Fixes #316157
6686
6687 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6688
6689         * gst/gstutils.c: (set_state_async_thread_func),
6690         (gst_element_set_state_async):
6691           Apparently people think it's better if this function doesn't
6692           try to set the state to whatever state was asked for on the first
6693           call to this function for any object.  Seriously.
6694
6695 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6696
6697         * check/gst/gstpipeline.c: (GST_START_TEST):
6698         * docs/gst/gstreamer-sections.txt:
6699         * gst/gstutils.c: (set_state_async_thread_func),
6700         (gst_element_set_state_async):
6701         * gst/gstutils.h:
6702           add a "gst_element_set_state_async" method that
6703           sets the state and starts a thread to make sure the state
6704           change completes as best as it can
6705
6706 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6707
6708         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6709           codify design+behaviour in testsuite after discussion
6710
6711 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6712
6713         * docs/gst/tmpl/gstelement.sgml:
6714         * docs/manual/appendix-quotes.xml:
6715           add a quote
6716         * gst/gstelement.c: (gst_element_set_state):
6717           add some debug
6718
6719 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6720
6721         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6722         (gst_base_transform_prepare_output_buf),
6723         (gst_base_transform_handle_buffer):
6724         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6725         (gst_capsfilter_prepare_buf):
6726           Remove the requirement for sub-classes to call the parent
6727           implementation of prepare_output_buffer with a wrapper function.
6728           
6729         * gst/gsttaglist.h:
6730         * gst/gsttagsetter.h:
6731           Fix #define wrapper
6732
6733 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6734
6735         * docs/gst/gstreamer-sections.txt:
6736           more doc cleanups
6737
6738 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6739
6740         * docs/gst/gstreamer-sections.txt:
6741         * docs/gst/tmpl/gstelement.sgml:
6742         * docs/gst/tmpl/gstplugin.sgml:
6743         * gst/gstminiobject.c:
6744         * gst/gstvalue.h:
6745           docs now stop throwing warnings
6746
6747 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6748
6749         * docs/gst/gstreamer-sections.txt:
6750         * docs/gst/gstreamer.types:
6751         * docs/gst/tmpl/gstpad.sgml:
6752         * docs/gst/tmpl/gsttypes.sgml:
6753         * gst/base/gstadapter.h:
6754         * gst/base/gstbasesink.h:
6755         * gst/base/gstbasesrc.h:
6756         * gst/gstbin.h:
6757         * gst/gstbuffer.h:
6758         * gst/gstbus.h:
6759         * gst/gstcaps.h:
6760         * gst/gstclock.h:
6761         * gst/gstelement.h:
6762         * gst/gstevent.h:
6763         * gst/gstmessage.h:
6764         * gst/gstpad.h:
6765         * gst/gststructure.c:
6766         * gst/registries/gstlibxmlregistry.h:
6767           various documentation fixes
6768
6769 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6770
6771         * docs/gst/gstreamer-sections.txt:
6772         * docs/gst/tmpl/gstvalue.sgml:
6773           rearrange gstvalue section
6774         * gst/gstutils.c: (gst_element_state_get_name):
6775           NONE -> VOID
6776         * gst/gstvalue.c: (_gst_value_initialize):
6777         * gst/gstvalue.h:
6778           doc updates
6779
6780 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6781
6782         * check/gst-libs/controller.c:
6783           Header include fix.
6784         * gst/base/gstbasetransform.c:
6785         (gst_base_transform_default_prepare_buf),
6786         (gst_base_transform_handle_buffer):
6787         * gst/base/gstbasetransform.h:
6788           Some more basetransform changes and fixes to enable sub-classes
6789           that modify buffer metadata only.
6790         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6791         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6792         (gst_capsfilter_prepare_buf):
6793           If the output pad has fixed allowed caps and input buffers 
6794           don't have any, set the fixed caps on outgoing buffers.
6795
6796 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6797         * check/elements/identity.c: (GST_START_TEST):
6798           Make the error a little clearer when the test fails because
6799           identity made a copy of the buffer.
6800         * docs/gst/gstreamer-sections.txt:
6801           New symbols in gstbasetransform.h
6802         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6803         (gst_base_transform_init), (gst_base_transform_transform_size),
6804         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6805         (gst_base_transform_default_prepare_buf),
6806         (gst_base_transform_get_unit_size),
6807         (gst_base_transform_buffer_alloc),
6808         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6809         (gst_base_transform_change_state),
6810         (gst_base_transform_set_passthrough),
6811         (gst_base_transform_set_in_place),
6812         (gst_base_transform_is_in_place):
6813         * gst/base/gstbasetransform.h:
6814           Change BaseTransform to separate in_place operate from same_caps
6815           output. in_place implies that the element can perform the transform
6816           on incoming buffers in-place, even if the caps on the output are
6817           different.
6818           Sub-class elements can now implement special buffer allocation
6819           methods for outgoing buffers if they wish to.
6820           Big documentation addition.
6821         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6822         * gst/elements/gstelements.c:
6823           Changes for basetransform modifications.
6824         * gst/elements/Makefile.am:
6825         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6826           Compile fix. Extra debug output.
6827
6828 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6829
6830         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6831         (gst_pad_suite):
6832           add tests for valid pad naming
6833         * gst/check/gstcheck.c: (gst_check_log_message_func),
6834         (gst_check_log_critical_func):
6835           add ASSERT_WARNING
6836           remove printing of code, it is fragile when the code contains
6837           % and the line number is enough info
6838         * gst/check/gstcheck.h:
6839         * gst/gstpad.c: (gst_pad_template_new):
6840           fix memleaks
6841
6842 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6843
6844         * configure.ac:
6845           say what CHECK flags we use
6846         * docs/libs/gstreamer-libs.types:
6847         * libs/gst/controller/Makefile.am:
6848         * libs/gst/controller/gst-controller.c:
6849         * libs/gst/controller/gst-controller.h:
6850         * libs/gst/controller/gst-helper.c:
6851         * libs/gst/controller/gst-interpolation.c:
6852         * libs/gst/controller/gstcontroller.c:
6853         * libs/gst/controller/gsthelper.c:
6854         * libs/gst/controller/gstinterpolation.c:
6855         * tools/gst-inspect.c: (print_plugin_info):
6856           we don't use dashes in header names
6857
6858 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6859
6860         * check/Makefile.am:
6861         * check/gst/.cvsignore:
6862         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6863         (gst_pipeline_suite), (main):
6864           adding a test for pipelines and state changes
6865         * gst/gstutils.c: (get_state_func):
6866           add some debugging
6867         * gstreamer.spec.in:
6868           fix up spec file
6869
6870 2005-09-08  Michael Smith <msmith@fluendo.com>
6871
6872         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6873         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6874         (gst_file_src_is_seekable), (gst_file_src_get_size),
6875         (gst_file_src_start):
6876         * gst/elements/gstfilesrc.h:
6877           Various fixes for unseekable, unmmapable, and non-normal files, so
6878           that fallback to read() rather than mmap() works.
6879         * gst/gstevent.c: (gst_event_new_newsegment):
6880           Allow newsegment events with segment_start == segment_end, as will
6881           correctly happen if you use filesrc on a zero-size file, for
6882           example.
6883
6884 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6885
6886         * gst/gstplugin.c: (gst_plugin_load_file):
6887           Call g_module_close when we don't load the module
6888
6889         * gst/registries/gstlibxmlregistry.c:
6890         (gst_xml_registry_get_property):
6891           Port leak fix from 0.8
6892
6893 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6894
6895         * docs/gst/gstreamer-docs.sgml:
6896         * docs/gst/tmpl/.cvsignore:
6897         * docs/gst/tmpl/gsttrace.sgml:
6898         * docs/gst/tmpl/gsttrashstack.sgml:
6899         * gst/Makefile.am:
6900         * gst/gst.h:
6901         * gst/gstelement.h:
6902         * gst/gstevent.h:
6903         * gst/gstmessage.c:
6904         * gst/gstmessage.h:
6905         * gst/gsttag.c:
6906         * gst/gsttag.h:
6907         * gst/gsttaginterface.c:
6908         * gst/gsttaginterface.h:
6909         * gst/gsttaglist.c:
6910         * gst/gsttaglist.h:
6911         * gst/gsttagsetter.c:
6912         * gst/gsttagsetter.h:
6913         * gst/gsttrace.c:
6914         * gst/gsttrace.h:
6915         * gst/gsttrashstack.c:
6916           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6917           inlined docs for gsttrace, gsttrashstack
6918
6919 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6920
6921         * gst/Makefile.am:
6922         * gst/elements/gstbufferstore.h:
6923         * gst/elements/gsttypefindelement.c:
6924         * gst/elements/gsttypefindelement.h:
6925         * gst/gst.h:
6926         * gst/gsttypefind.c:
6927         * gst/gsttypefind.h:
6928         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6929         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6930         (gst_type_find_factory_dispose),
6931         (gst_type_find_factory_unload_thyself),
6932         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6933         (gst_type_find_factory_get_caps),
6934         (gst_type_find_factory_get_extensions),
6935         (gst_type_find_factory_call_function):
6936         * gst/gsttypefindfactory.h:
6937         * gst/registries/gstlibxmlregistry.c:
6938         * gst/registries/gstxmlregistry.c:
6939           splitted gsttypefind into gsttypefind, gsttypefindfactory
6940
6941 2005-09-07  Andy Wingo  <wingo@pobox.com>
6942
6943         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6944         condition whereby the pad's task function is entered before the
6945         pad_mode variable was set.
6946
6947 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6948
6949         * gst/gstpad.c: (gst_pad_alloc_buffer):
6950           Catch misbehaving pad_alloc functions that don't
6951           set up caps and do it for them.
6952
6953 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6954
6955         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6956           test for pipe!=NULL
6957         * docs/gst/tmpl/.cvsignore:
6958         * docs/gst/tmpl/gstmemchunk.sgml:
6959         * docs/gst/tmpl/gstparse.sgml:
6960         * docs/gst/tmpl/gsttaglist.sgml:
6961         * docs/gst/tmpl/gsttagsetter.sgml:
6962         * docs/gst/tmpl/gsttypefind.sgml:
6963         * docs/gst/tmpl/gsttypefindfactory.sgml:
6964         * gst/gstmemchunk.c:
6965         * gst/gstparse.c:
6966         * gst/gsttag.c:
6967         * gst/gsttaginterface.c:
6968         * gst/gsttypefind.c:
6969         * gst/gsttypefind.h:
6970           inlined more docs
6971
6972 === release 0.9.2 ===
6973
6974 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6975
6976         * NEWS:
6977         * RELEASE:
6978         * configure.ac:
6979           releasing 0.9.2, "South"
6980
6981 2005-09-05  Andy Wingo  <wingo@pobox.com>
6982
6983         * gst/registries/gstxmlregistry.h:
6984         * gst/registries/gstxmlregistry.c: Um... resurrect...
6985         
6986         * gst/registries/gstxmlregistry.h:
6987         * gst/registries/gstxmlregistry.c: and update to newer API.
6988         Incidentally they should be a bit faster now that they don't have
6989         to parse the caps.
6990         
6991 2005-09-05  Andy Wingo  <wingo@pobox.com>
6992
6993         * gst/registries/gstxmlregistry.h:
6994         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6995         replaced by the libxml registry a while back
6996
6997 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6998
6999         * docs/gst/tmpl/gstplugin.sgml:
7000         * gst/elements/gstelements.c:
7001         * gst/gst.c:
7002         * gst/gstplugin.c: (gst_plugin_register_func),
7003         (gst_plugin_desc_copy), (gst_plugin_desc_free),
7004         (gst_plugin_get_source):
7005         * gst/gstplugin.h:
7006         * gst/registries/gstlibxmlregistry.c: (load_plugin),
7007         (gst_xml_registry_save_plugin):
7008         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7009         (gst_xml_registry_save_plugin):
7010         * tools/gst-inspect.c: (print_plugin_info):
7011           add a "source" plugin description field, to represent the source
7012           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
7013           will set it to PACKAGE, which is automake's idea of the name of
7014           the source project.
7015
7016 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7017
7018         * Makefile.am:
7019         * autogen.sh:
7020         * configure.ac:
7021         * docs/Makefile.am:
7022         * docs/faq/Makefile.am:
7023         * docs/gst/tmpl/gstelement.sgml:
7024         * docs/gst/tmpl/gsttypes.sgml:
7025         * docs/htmlinstall.mak:
7026         * docs/manual/Makefile.am:
7027         * docs/pwg/Makefile.am:
7028           reorganize doc build a little
7029           split out docbook and gtk-doc stuff
7030           have two separate --enable's and enable them through autogen
7031           but disable by default in configure (to be similar to other
7032           projects)
7033         * gstreamer.spec.in:
7034           clean up docs install
7035         * po/af.po:
7036         * po/az.po:
7037         * po/ca.po:
7038         * po/cs.po:
7039         * po/de.po:
7040         * po/en_GB.po:
7041         * po/fr.po:
7042         * po/it.po:
7043         * po/nb.po:
7044         * po/nl.po:
7045         * po/ru.po:
7046         * po/sq.po:
7047         * po/sr.po:
7048         * po/sv.po:
7049         * po/tr.po:
7050         * po/uk.po:
7051         * po/vi.po:
7052           translation updates
7053
7054 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7055
7056         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7057           Add comment.
7058           
7059         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7060         (gst_fake_sink_change_state):
7061           Make state change function thread-safe.
7062           
7063         * gst/gstpad.c: (gst_pad_alloc_buffer):
7064           Set offset on generic buffer allocated by fallback.
7065
7066 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
7067
7068         * docs/gst/gstreamer-sections.txt:
7069         * docs/gst/tmpl/gstelement.sgml:
7070         * gst/gstpad.c:
7071         * libs/gst/controller/gst-controller.c:
7072         (gst_controlled_property_set_interpolation_mode),
7073         (gst_controlled_property_new),
7074         (gst_controller_find_controlled_property):
7075          run the wingo-magic script against the docs
7076
7077 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7078
7079         * docs/gst/gstreamer-docs.sgml:
7080         * docs/gst/gstreamer-sections.txt:
7081         * docs/gst/tmpl/.cvsignore:
7082         * docs/gst/tmpl/gstelementdetails.sgml:
7083         * docs/gst/tmpl/gstelementfactory.sgml:
7084         * gst/gst.c:
7085         * gst/gstbus.c:
7086         * gst/gstelementfactory.c:
7087         * gst/gstelementfactory.h:
7088           merged elementdetails docs into elementfactory docs
7089           inlined both
7090
7091 2005-09-02  Andy Wingo  <wingo@pobox.com>
7092
7093         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7094         consider this enum an enum and not a flags.
7095
7096 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7097
7098         * docs/gst/gstreamer-docs.sgml:
7099         * docs/gst/tmpl/.cvsignore:
7100         * docs/gst/tmpl/gstghostpad.sgml:
7101         * docs/gst/tmpl/gstiterator.sgml:
7102         * docs/gst/tmpl/gstmacros.sgml:
7103         * docs/gst/tmpl/gstrealpad.sgml:
7104         * docs/gst/tmpl/gstregistry.sgml:
7105         * docs/gst/tmpl/gstregistrypool.sgml:
7106         * docs/gst/tmpl/gststructure.sgml:
7107         * docs/gst/tmpl/gstsystemclock.sgml:
7108         * docs/gst/tmpl/gsttrace.sgml:
7109         * gst/gstghostpad.c:
7110         * gst/gstmacros.h:
7111         * gst/gstmemchunk.c:
7112         * gst/gstmemchunk.h:
7113         * gst/gstqueue.c:
7114         * gst/gstregistry.c:
7115         * gst/gstregistrypool.c:
7116         * gst/gststructure.c:
7117         * gst/gstsystemclock.c:
7118           more docs inlined
7119
7120 2005-09-02  Andy Wingo  <wingo@pobox.com>
7121
7122         * gst/gstelement.h (GstState): Renamed from GstElementState,
7123         changed to be a normal enum instead of flags.
7124         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7125         munged to be GST_STATE_CHANGE_*.
7126         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7127         work with the new state representation.
7128         (GstStateChange): New enumeration of possible state transitions.
7129         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7130         (GstElementClass::change_state): Pass the GstStateChange along as
7131         an argument. Helps language bindings, so they don't have to use
7132         tricky lock-needing macros like GST_STATE_CHANGE ().
7133
7134         * scripts/update-states (file): New script. Run it on a file to
7135         update it for state naming and API changes. Updates files in
7136         place.
7137
7138         * All files updated for the new API.
7139
7140 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7141
7142         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7143         * gst/gstutils.c: (gst_util_set_value_from_string),
7144         (gst_util_set_object_arg):
7145           fix a bunch of unchecked return values
7146         * tools/gst-complete.c: (main):
7147         * gstreamer.spec.in:
7148           clean up a little
7149
7150 2005-09-01  Wim Taymans  <wim@fluendo.com>
7151
7152         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7153         (gst_base_sink_event), (gst_base_sink_do_sync),
7154         (gst_base_sink_handle_event):
7155         * gst/base/gstbasesink.h:
7156         Handle newsegments more correctly.
7157
7158         * gst/gstbus.c:
7159         Fix docs.
7160
7161         * gst/gstevent.c: (gst_event_new_newsegment):
7162         A newsegment cannot have a start_time of -1
7163
7164 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7165
7166         * win32/gstenumtypes.c:
7167         * win32/gstenumtypes.h:
7168           Update
7169
7170 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7171
7172         * libs/gst/controller/gst-controller.c:
7173         (gst_controlled_property_set_interpolation_mode),
7174         (gst_controlled_property_new):
7175          fixed boolean again
7176
7177 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
7178
7179         * docs/faq/gst-uninstalled:
7180           add -good
7181         * gst/gstevent.c:
7182         * gst/gstevent.h:
7183           remove wrong docs
7184         * gst/gstutils.c: (gst_element_link_filtered):
7185         * gst/gstutils.h:
7186           add gst_element_link_filtered
7187
7188 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7189
7190         * docs/gst/gstreamer-docs.sgml:
7191         * docs/gst/gstreamer-sections.txt:
7192         * docs/gst/tmpl/.cvsignore:
7193         * docs/gst/tmpl/gsterror.sgml:
7194         * docs/gst/tmpl/gstfilter.sgml:
7195         * docs/gst/tmpl/gsturihandler.sgml:
7196         * docs/gst/tmpl/gsturitype.sgml:
7197         * docs/gst/tmpl/gstutils.sgml:
7198         * docs/gst/tmpl/gstxml.sgml:
7199         * gst/gsterror.c:
7200         * gst/gsterror.h:
7201         * gst/gstfilter.c:
7202         * gst/gsturi.c:
7203         * gst/gsturitype.c:
7204         * gst/gstutils.c:
7205         * gst/gstxml.c:
7206           inlined more docs, fixed double id-ref
7207
7208 2005-08-31  Wim Taymans  <wim@fluendo.com>
7209
7210         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7211         (gst_base_transform_handle_buffer):
7212         Passthrough elements don't need the caps as they don't care.
7213
7214 2005-08-31  Wim Taymans  <wim@fluendo.com>
7215
7216         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7217         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7218         Don't leak refcounts on buffers.
7219
7220 2005-08-31  Wim Taymans  <wim@fluendo.com>
7221
7222         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7223         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7224         (gst_base_transform_chain), (gst_base_transform_change_state):
7225         * gst/base/gstbasetransform.h:
7226         Handle the case where we are not negotiated more gracefully.
7227
7228 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7229
7230         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7231         (gst_file_src_map_region):
7232           Set READONLY flag on mmap'ed buffers, otherwise
7233           gst_buffer_make_writable() won't work properly (#314708).
7234
7235 2005-08-31  Wim Taymans  <wim@fluendo.com>
7236
7237         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7238         passthrough elements can even do inplace on non writable
7239         buffers (as they don't touch them).
7240
7241 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7242
7243         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7244         (gst_test_mono_source_set_property),
7245         (gst_test_mono_source_class_init), (GST_START_TEST),
7246         (gst_controller_suite):
7247           more tests (hehe I have the most)
7248         * gst/gstbus.c:
7249           describe popping messages whenusing mulltiple sources
7250         * libs/gst/controller/gst-controller.c:
7251         (gst_controlled_property_set_interpolation_mode),
7252         (gst_controlled_property_new):
7253         * libs/gst/controller/gst-controller.h:
7254         * libs/gst/controller/gst-interpolation.c:
7255           implement boolean properties
7256
7257 2005-08-31  Wim Taymans  <wim@fluendo.com>
7258
7259         * gst/gstminiobject.c: (gst_mini_object_ref):
7260         Cannot assert that the refcount has to be positive
7261         since a disposed object can be resurrected.
7262
7263 2005-08-31  Wim Taymans  <wim@fluendo.com>
7264
7265         * gst/gstpad.c: (gst_pad_init):
7266         Revert change, need to first fix badly behaving 
7267         apps.
7268
7269 2005-08-30  Wim Taymans  <wim@fluendo.com>
7270
7271         * check/elements/fakesrc.c: (setup_fakesrc):
7272         * check/elements/identity.c: (setup_identity):
7273         Activate pads before using them.
7274
7275 2005-08-30  Wim Taymans  <wim@fluendo.com>
7276
7277         * gst/base/gstadapter.c: (gst_adapter_flush):
7278         Flushing out 0 bytes is ok for this function.
7279
7280         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7281         no newsegment gives a warning and sets the start/stop to 
7282         invalid.
7283
7284         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7285         (gst_base_transform_set_passthrough):
7286         Some debug info.
7287
7288         * gst/gstminiobject.c: (gst_mini_object_ref):
7289         Check refcount here too.
7290
7291         * gst/gstpad.c: (gst_pad_init):
7292         Pads are initially flushing and refusing data.
7293
7294         * gst/gstutils.c: (gst_element_link_pads_filtered):
7295         When adding a capsfilter element make sure it has the
7296         same state as the parent bin.
7297
7298 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7299
7300         * docs/gst/tmpl/.cvsignore:
7301         * docs/gst/tmpl/gstformat.sgml:
7302         * docs/gst/tmpl/gstversion.sgml:
7303         * gst/gstbus.h:
7304         * gst/gstformat.c:
7305         * gst/gstformat.h:
7306         * gst/gstversion.h.in:
7307           more docs and two more inlined
7308
7309 2005-08-30  Wim Taymans  <wim@fluendo.com>
7310
7311         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7312         Don't sync to clock.
7313
7314 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7315
7316         * docs/gst/gstreamer-sections.txt:
7317           ultral33t func10ns deserve to appear in the docs actually
7318         * docs/gst/tmpl/.cvsignore:
7319         * docs/gst/tmpl/gstcompat.sgml:
7320         * docs/gst/tmpl/gstconfig.sgml:
7321         * gst/check/gstcheck.c:
7322         * gst/gstcompat.h:
7323         * gst/gstconfig.h.in:
7324           inlined more docs
7325
7326 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7327
7328         * docs/gst/tmpl/.cvsignore:
7329         * docs/gst/tmpl/gstquery.sgml:
7330         * docs/gst/tmpl/gstutils.sgml:
7331         * gst/gstquery.c:
7332         * gst/gstquery.h:
7333           inlined and extended docs
7334
7335 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7336
7337         * check/gst-libs/controller.c: (GST_START_TEST),
7338         (gst_controller_suite):
7339           more tests
7340         * docs/gst/tmpl/gstutils.sgml:
7341         * docs/libs/gstreamer-libs-sections.txt:
7342         * docs/libs/tmpl/gstdataprotocol.sgml:
7343           include path fixes
7344         * examples/controller/audio-example.c: (main):
7345           controller example works now
7346         * gst/gstclock.h:
7347           doc fixes
7348         * tools/gst-inspect.c: (print_element_properties_info):
7349           show param spec flags
7350
7351 2005-08-29  Andy Wingo  <wingo@pobox.com>
7352
7353         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7354
7355 2005-08-28  Andy Wingo  <wingo@pobox.com>
7356
7357         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7358         as having two arguments instead of just one. Allows superclasses
7359         to access information on subclasses -- see the terrible for() loop
7360         in gtype.c:g_type_create_instance for the reason why. All callers
7361         changed.
7362
7363 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7364
7365         * docs/design/part-messages.txt:
7366           update info
7367         * docs/gst/tmpl/.cvsignore:
7368         * docs/gst/tmpl/gstcaps.sgml:
7369         * docs/gst/tmpl/gstclock.sgml:
7370         * gst/gstbus.c:
7371         * gst/gstcaps.c:
7372         * gst/gstcaps.h:
7373         * gst/gstclock.c:
7374         * gst/gstclock.h:
7375         * gst/gstmessage.c:
7376           added descriptions for bus and message
7377           inline caps and clock docs
7378
7379 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7380
7381         * gst/gstmessage.c:
7382         * gst/gstmessage.h:
7383           doc fixes
7384
7385 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7386
7387         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7388           fix div-by-zero
7389
7390 2005-08-26  Andy Wingo  <wingo@pobox.com>
7391
7392         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7393         element_set_state's return val.
7394         (test_2_elements): Add test that's been disabled for months.
7395
7396         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7397         can-activate-pull properties.
7398
7399         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7400         can-activate-pull properties. Implement is_seekable so fakesrc can
7401         operate in pull mode.
7402
7403         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7404         properties.
7405         (gst_base_sink_activate, gst_base_sink_activate_pull)
7406         (gst_base_sink_activate_push): Make activation mode choosing work.
7407         Cleanups.
7408         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7409         is right. Make pull mode work. Post an eos before pausing in pull
7410         mode.
7411         (gst_base_sink_change_state): Pay attention to the core's
7412         change_state() return val.
7413         
7414         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7415         has-getrange properties. Cleanups.
7416         
7417         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7418         has_getrange and replace with can_activate_pull and
7419         can_activate_push.
7420
7421         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7422         locking comments. Remove has_loop, has_chain and replace with
7423         can_activate_pull and can_activate_push.
7424
7425 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7426
7427         * configure.ac:
7428         * examples/Makefile.am:
7429         * examples/metadata/Makefile.am:
7430         * examples/metadata/read-metadata.c: (message_loop),
7431         (have_pad_handler), (make_pipeline), (print_tag), (main):
7432           Add metadata reading example that loops over a list of filenames,
7433           dumping any tags found.
7434
7435         * gst/gstbus.c: (gst_bus_dispose):
7436         * gst/gstelement.c: (gst_element_dispose):
7437           Release a few potentially-held references in dispose.
7438
7439 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7440
7441         * docs/gst/tmpl/gstminiobject.sgml:
7442           do *not* add tmpl/*.sgml files to CVS!
7443
7444 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7445
7446         * libs/gst/bytestream/.cvsignore:
7447         * libs/gst/bytestream/Makefile.am:
7448         * libs/gst/bytestream/adapter.c:
7449         * libs/gst/bytestream/adapter.h:
7450         * libs/gst/bytestream/bytestream.c:
7451         * libs/gst/bytestream/bytestream.h:
7452         * libs/gst/bytestream/filepad.c:
7453         * libs/gst/bytestream/filepad.h:
7454           removing obsolete files
7455
7456 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7457
7458         * docs/gst/gstreamer-docs.sgml:
7459         * docs/libs/gstreamer-libs-docs.sgml:
7460           disabed additional index entries again, as this makes docs-gen just
7461           slow and they aren't useful yet
7462         * docs/libs/gstreamer-libs-sections.txt:
7463           little -section.txt cleanup for libs
7464
7465 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7466
7467         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7468         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7469           fix up some debugging
7470         (gst_base_transform_get_unit_size),
7471         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7472         (gst_base_transform_handle_buffer):
7473         * gst/base/gstbasetransform.h:
7474           handle and store timed NEWSEGMENT events so that subclasses that
7475           calculate time by counting samples have a segment_start time they
7476           need to add to their timestamps - see audioresample
7477
7478 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7479
7480         * gst/gstbin.h:
7481           removed ';' from the end of macro defs
7482         * docs/gst/gstreamer-docs.sgml:
7483         * docs/gst/gstreamer-sections.txt:
7484         * docs/gst/tmpl/.cvsignore:
7485         * gst/gstbus.h:
7486         * gst/gstelement.c: (gst_element_class_init),
7487         (gst_element_set_state), (activate_pads),
7488         (gst_element_save_thyself):
7489         * gst/gstevent.c: (gst_event_new_newsegment):
7490         * gst/gstevent.h:
7491         * gst/gstiterator.c:
7492         * gst/gstiterator.h:
7493         * gst/gstpad.c:
7494         * gst/gstprobe.h:
7495         * gst/gstutils.c: (gst_pad_query_convert):
7496         * gst/gstutils.h:
7497           fixed parameter name mismatches between source, header and docs
7498           added some more docs, resolved the last batch of unused elements in
7499           docs (now someone needs to doc them)
7500
7501 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7502
7503         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7504         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7505           don't walk through the plugins backwards.  Where is all this
7506           reversed logic coming from ?
7507
7508 2005-08-25  Wim Taymans  <wim@fluendo.com>
7509
7510         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7511         (gst_base_transform_transform_size),
7512         (gst_base_transform_configure_caps),
7513         (gst_base_transform_get_unit_size),
7514         (gst_base_transform_buffer_alloc),
7515         (gst_base_transform_change_state):
7516         * gst/base/gstbasetransform.h:
7517         Cache caps unit_size.
7518         Make sure we cannot negotiate up and downstream at the
7519         same time.
7520
7521 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7522
7523         * gst/gst.c: (init_pre), (init_post):
7524           register the installed plugin path after the env var
7525         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7526         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7527           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7528           directories, so the tests can prefer uninstalled over installed
7529
7530 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7531
7532         * gst/base/gstbasetransform.h:
7533           comment
7534         * gst/gstpad.c:
7535           add to docs
7536
7537 2005-08-25  Wim Taymans  <wim@fluendo.com>
7538
7539         * gst/gstbin.c: (bin_bus_handler):
7540         Be a bit more conservative about the posted message.
7541         
7542         * gst/gstbus.c: (gst_bus_post):
7543         Some cleanups, warn wrong return values.
7544
7545 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7546
7547         * check/gst/gstbin.c: (GST_START_TEST):
7548         * gst/gstbin.c: (bin_bus_handler):
7549         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7550         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7551         (gst_message_new_warning), (gst_message_new_tag),
7552         (gst_message_new_state_changed), (gst_message_new_segment_start),
7553         (gst_message_new_segment_done), (gst_message_new_custom):
7554         * gst/gstmessage.h:
7555         * tools/gst-launch.c: (event_loop):
7556         * tools/gst-md5sum.c: (event_loop):
7557           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7558
7559 2005-08-25  Wim Taymans  <wim@fluendo.com>
7560
7561         * check/generic/states.c: (GST_START_TEST):
7562         Cleanup can be done at the end.
7563
7564         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7565         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7566         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7567         Oh boy.. Thanks for finding this, Thomas. 
7568
7569 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7570
7571         * docs/gst/gstreamer.types:
7572           added missing types
7573
7574 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7575
7576         * docs/gst/gstreamer-docs.sgml:
7577         * docs/gst/gstreamer-sections.txt:
7578         * docs/gst/tmpl/.cvsignore:
7579         * gst/gstbin.c:
7580         * gst/gstiterator.c:
7581         * gst/gstutils.c:
7582         * gst/registries/gstxmlregistry.h:
7583           added missing classes and symbols (123 more to go)
7584           removed removed symbols from section file
7585           fixed many doc-comments
7586
7587 2005-08-24  Wim Taymans  <wim@fluendo.com>
7588
7589         * check/generic/states.c: (GST_START_TEST):
7590         Make sure all tasks are stopped.
7591
7592         * check/gst/gstbin.c: (GST_START_TEST):
7593         Unref after usage for proper valgrinding.
7594
7595         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7596         Really wait for the task to stop before destroying the
7597         mutex.
7598
7599         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7600         (gst_queue_src_activate_push):
7601         Small cleanups. Don't stop the task when we did not start
7602         it.
7603
7604         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7605         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7606         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7607         (gst_task_join):
7608         * gst/gsttask.h:
7609         Protect the stream lock with the object lock.
7610         Disallow setting the stream lock when running.
7611         Add cleanup_all to wait for the threadpool to finish.
7612         Remove code to autoallocate a mutex if none was provided.
7613         Add _join() to wait for a task to stop.
7614         Protect the thread pool with a global lock.
7615
7616 2005-08-24  Wim Taymans  <wim@fluendo.com>
7617
7618         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7619         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7620         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7621         * gst/base/gstbasesink.h:
7622         Handle newsegment events correctly.
7623         Drop buffers out of the segment range.
7624
7625 2005-08-22  Andy Wingo  <wingo@pobox.com>
7626
7627         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7628         macro, implements an interface and gstimplementsinterface for a
7629         new type.
7630
7631 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7632
7633         * check/Makefile.am:
7634         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7635           add a test that does a bunch of state changes on elements
7636           needs some fixing for valgrind
7637         * check/states/sinks.c: (gst_object_suite):
7638           whitespace
7639         * gst/gstcaps.h:
7640           add prototype for gst_caps_is_equal_fixed
7641         * gst/gstplugin.c:
7642         * gst/gstregistrypool.c:
7643           doc fixes
7644
7645 2005-08-24  Andy Wingo  <wingo@pobox.com>
7646
7647         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7648         convert a negative value. Doesn't make much sense. Mostly this is
7649         here to force callers to ensure -1 maps to -1.
7650
7651 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7652
7653         * docs/pwg/advanced-types.xml:
7654           Well done to Michael for catching my deliberate introduction
7655           of this spelling mistake. 
7656         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7657         * gst/gstelement.h:
7658           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7659           unlink pads before removing the element from the bin.
7660
7661 2005-08-24  Andy Wingo  <wingo@pobox.com>
7662
7663         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7664         the same thing as GST_DEBUG=*:4.
7665         (parse_debug_level, parse_debug_category): New helper parsers.
7666
7667 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7668
7669         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7670         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7671         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7672         (gst_base_transform_buffer_alloc),
7673         (gst_base_transform_handle_buffer):
7674           use gboolean return values and pointers to size so we can use the
7675           full GST_BUFFER_SIZE range (guint) for buffer sizes
7676           use GstPadDirection for transform_caps
7677         * gst/base/gstbasetransform.h:
7678           rename get_size to get_unit_size since that's what it is
7679         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7680           use GstPadDirection for transform_caps
7681         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7682         * gst/gstutils.h:
7683           cleanup and debugging
7684
7685 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7686
7687         * gst/gstelement.c: (gst_element_class_init),
7688         (gst_element_set_state), (activate_pads),
7689         (gst_element_save_thyself):
7690         * tools/gst-compprep.c: (main):
7691         * tools/gst-inspect.c: (print_element_properties_info):
7692         * tools/gst-xmlinspect.c: (print_element_properties):
7693           Fixed long standing mem-leak
7694
7695 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7696
7697         * check/gst/gstbin.c: (GST_START_TEST):
7698         * gst/gstbin.c: (bin_bus_handler):
7699         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7700         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7701         (gst_message_new_warning), (gst_message_new_tag),
7702         (gst_message_new_state_changed), (gst_message_new_segment_start),
7703         (gst_message_new_segment_done), (gst_message_new_custom):
7704         * gst/gstmessage.h:
7705         * tools/gst-launch.c: (event_loop):
7706         * tools/gst-md5sum.c: (event_loop):
7707           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7708           that applications can sensibly post custom messages with references
7709           to their own objects.
7710
7711 2005-08-24  Andy Wingo  <wingo@pobox.com>
7712
7713         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7714         already.
7715
7716 2005-08-24  Wim Taymans  <wim@fluendo.com>
7717
7718         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7719         (gst_base_transform_transform_caps),
7720         (gst_base_transform_transform_size),
7721         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7722         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7723         (gst_base_transform_handle_buffer):
7724         * gst/base/gstbasetransform.h:
7725         Many fixes and new features added by Thomas. Can now also do
7726         transforms with variable sizes and a custom fixate_caps function.
7727
7728 2005-08-24  Wim Taymans  <wim@fluendo.com>
7729
7730         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7731         Some debugging.
7732
7733         * gst/gstclock.h:
7734         Cast to ClockTime before formatting to time.
7735
7736         * gst/gstutils.h:
7737         Cleanups.
7738
7739 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7740
7741         * check/gst-libs/controller.c: (GST_START_TEST),
7742         (gst_controller_suite):
7743         * docs/gst/tmpl/gstcaps.sgml:
7744         * docs/gst/tmpl/gstghostpad.sgml:
7745         * docs/gst/tmpl/gstquery.sgml:
7746         * docs/gst/tmpl/gstutils.sgml:
7747         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7748         (gst_object_sink_values), (gst_object_get_value_arrays),
7749         (gst_object_get_value_array):
7750           gracefully handle helper method calls to objects that are not beeing
7751           controlled, added test case for that          
7752
7753 2005-08-23  Wim Taymans  <wim@fluendo.com>
7754
7755         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7756         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7757         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7758         (gst_event_parse_qos), (gst_event_new_seek),
7759         (gst_event_parse_seek):
7760         * gst/gstevent.h:
7761         Some more debugging output and doc cleanups.
7762
7763         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7764         Fix possible deadlock.
7765
7766 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7767
7768         * docs/gst/gstreamer-docs.sgml:
7769         * docs/gst/gstreamer-sections.txt:
7770         * docs/gst/gstreamer.types:
7771         * docs/gst/tmpl/.cvsignore:
7772         * gst/gstbin.h:
7773         * gst/gstbus.c:
7774         * gst/gstelement.c:
7775         * gst/gstevent.h:
7776           added 100 symbols from gstreamer-unused.txt to the right sections
7777           fixed more broken comments
7778           added GstBus to docs
7779
7780 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7781
7782         * docs/gst/gstreamer-sections.txt:
7783         * docs/gst/tmpl/.cvsignore:
7784         * docs/gst/tmpl/gstbin.sgml:
7785         * docs/gst/tmpl/gstbuffer.sgml:
7786         * gst/base/gstbasesrc.c:
7787         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7788         * gst/gstbuffer.c:
7789         * gst/gstbuffer.h:
7790         * tools/gst-launch.1.in:
7791           inlined more doc comments, added missing comments and fixed comments
7792           fixed typos
7793
7794 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7795
7796         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7797           some debugging
7798         * gst/gstcaps.h:
7799           whitespace fixes
7800         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7801           more debugging
7802         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7803         * gst/gststructure.h:
7804           add a fixate function for booleans; add a FIXME that these func
7805           names should probably be gst_structure_fixate_*
7806
7807 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7808
7809         * docs/gst/gstreamer-docs.sgml:
7810         * docs/gst/gstreamer-sections.txt:
7811         * gst/Makefile.am:
7812         * gst/gstbin.c: (gst_bin_get_type),
7813         (gst_bin_child_proxy_get_child_by_index),
7814         (gst_bin_child_proxy_get_children_count),
7815         (gst_bin_child_proxy_init):
7816         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7817         (gst_child_proxy_get_child_by_index),
7818         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7819         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7820         (gst_child_proxy_get), (gst_child_proxy_set_property),
7821         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7822         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7823         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7824         * gst/gstchildproxy.h:
7825         * gst/parse/grammar.y:
7826         * tools/gst-inspect.c: (print_interfaces),
7827         (print_element_properties_info), (print_element_info):
7828           ported gstchildproxy over from 0.8
7829           ported gst-inspect fixes and enhancements over from 0.8
7830
7831 2005-08-22  Wim Taymans  <wim@fluendo.com>
7832
7833         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7834         (gst_base_transform_handle_buffer):
7835         Also call the transform function if we have ANY caps.
7836
7837         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7838         Fix debug info.
7839
7840 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7841
7842         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7843           Don't pretend to handle seek events if the source is not seekable
7844
7845 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7846
7847         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7848           Remove extra parameter to debug output
7849
7850         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7851         (gst_base_src_do_seek), (gst_base_src_activate_push):
7852           Fix seek event handling.
7853
7854         * gst/gstpipeline.c: (gst_pipeline_change_state):
7855         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7856         (gst_queue_src_activate_push):
7857           Don't start the src pad task on FLUSH_STOP if the pad
7858           isn't linked.
7859           Debug changes.
7860
7861 2005-08-22  Wim Taymans  <wim@fluendo.com>
7862
7863         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7864         Added check for gst_static_caps_get() refcounting.
7865
7866 2005-08-22  Wim Taymans  <wim@fluendo.com>
7867
7868         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7869         Make _static_caps_get() refcounting sane.
7870         
7871         * gst/gstelement.c: (gst_element_set_state):
7872         Add g_return_val_if_fail() to protect against segfaults.
7873
7874 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7875
7876         * docs/gst/tmpl/gstevent.sgml:
7877         * gst/gstevent.c:
7878         * gst/gstevent.h:
7879           inlined remaining docs, added missing doc comments
7880
7881 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7882
7883         * check/gst/gstbin.c: (GST_START_TEST):
7884           since we don't know when preroll is done, use refcount range
7885           check for the sink
7886         * gst/check/gstcheck.h:
7887           add macro for checking refcount range
7888
7889 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7890
7891         * check/Makefile.am:
7892           clean up environment for when registry gets built versus
7893           when actual tests are run; valgrind seems to not report
7894           leaks if GST_PLUGIN_PATH is set to some specific values
7895         * check/gst/gstbin.c: (GST_START_TEST):
7896           add more refcounting checks; maybe this exposes a
7897           preroll lock bug ?
7898         * common/check.mak:
7899         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7900         * gst/check/gstcheck.h:
7901         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7902         (gst_bin_change_state):
7903         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7904           add/fix debugging/whitespace
7905
7906 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7907
7908         * check/gst/gstevent.c: (event_probe), (test_event),
7909         (GST_START_TEST):
7910          Er, don't call gst_bin_watch_for_state_change you idiot.
7911
7912 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7913
7914         * check/Makefile.am:
7915           Use CHECK_CFLAGS and CHECK_LIBS
7916         * check/gst/gstevent.c: (event_probe), (test_event),
7917         (GST_START_TEST):
7918           Don't leak events.
7919         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7920         (gst_base_src_start), (gst_base_src_stop),
7921         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7922         (gst_base_src_change_state):
7923           Sprinkle gst_base_src_stop liberally around error paths to fix
7924           problems reusing a source after failed state changes.
7925         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7926         (helper_find_suggest), (gst_type_find_helper):
7927           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7928         * gst/gstevent.h:
7929         * docs/gst/tmpl/gstevent.sgml:
7930           Migrate part of the docs from the SGML file. Wait for ensonic to
7931           tell me how I did it wrong ;)
7932         * tools/gst-typefind.c: (main):
7933           Extra robustness to state changes between files.
7934
7935 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7936
7937         * check/Makefile.am:
7938           don't valgrind the controller test - it's leaking - Stefan, HELP
7939         * gst/check/gstcheck.c: (gst_check_message_error),
7940         (gst_check_chain_func), (gst_check_setup_element),
7941         (gst_check_teardown_element), (gst_check_setup_src_pad),
7942         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7943         (gst_check_teardown_sink_pad):
7944         * gst/check/gstcheck.h:
7945           add a bunch of methods to set up elements, and src and sink pads
7946         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7947         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7948         (GST_START_TEST):
7949           use them
7950         * gst/gstmessage.c:
7951         * gst/gsttag.h:
7952           whitespace/doc fixes
7953
7954 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7955
7956         * gst/gstelement.h:
7957           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7958           be handled by the application and not always printed as well
7959
7960 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7961
7962         * check/Makefile.am:
7963           set GST_TOOLS_DIR
7964         * gst/check/gstcheck.c: (gst_check_message_error):
7965         * gst/check/gstcheck.h:
7966           add a fail_unless_equals_int
7967           add fail_unless for error messages
7968
7969 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7970
7971         * check/Makefile.am:
7972         * check/gst.supp:
7973         * common/Makefile.am:
7974         * common/check.mak:
7975         * common/gst.supp:
7976           factor out some of the common stuff so we can use it
7977
7978 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7979
7980         * check/Makefile.am:
7981         * check/gst/gstiterator.c: (GST_START_TEST):
7982         * check/gst/gstsystemclock.c: (GST_START_TEST),
7983         (gst_systemclock_suite):
7984         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7985         * gst/gstclock.c:
7986           valgrind more tests
7987
7988 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7989
7990         * check/elements/.cvsignore:
7991         * check/elements/gstfakesrc.c:
7992           rename to name of element
7993         * check/elements/identity.c: (chain_func), (event_func),
7994         (setup_identity), (cleanup_identity), (GST_START_TEST),
7995         (identity_suite), (main):
7996           add a test for identity
7997         * check/Makefile.am:
7998         * pkgconfig/Makefile.am:
7999         * pkgconfig/gstreamer-check.pc.in:
8000         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8001         * gst/check:
8002         * gst/Makefile.am:
8003         * configure.ac:
8004           move the check stuff to a library that gets installed
8005         * check/gst-libs/controller.c: (GST_START_TEST):
8006         * check/gst-libs/gdp.c:
8007         * check/gst/gst.c: (GST_START_TEST):
8008         * check/gst/gstbin.c:
8009         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8010         * check/gst/gstbus.c:
8011         * check/gst/gstcaps.c: (GST_START_TEST):
8012         * check/gst/gstelement.c:
8013         * check/gst/gstghostpad.c:
8014         * check/gst/gstiterator.c:
8015         * check/gst/gstmessage.c:
8016         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8017         * check/gst/gstobject.c:
8018         * check/gst/gstpad.c: (GST_START_TEST):
8019         * check/gst/gststructure.c: (GST_START_TEST):
8020         * check/gst/gstsystemclock.c: (GST_START_TEST),
8021         (gst_systemclock_suite):
8022         * check/gst/gsttag.c: (gst_tag_suite):
8023         * check/gst/gstvalue.c:
8024         * check/pipelines/cleanup.c:
8025         * check/pipelines/simple_launch_lines.c:
8026         * check/states/sinks.c:
8027           change include statement
8028
8029         * docs/gst/gstreamer-sections.txt:
8030         * docs/gst/tmpl/gstpad.sgml:
8031           document more pad stuff
8032         * gst/gstminiobject.c: (gst_mini_object_ref),
8033         (gst_mini_object_unref):
8034           debug refcounting
8035
8036 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
8037
8038         * docs/gst/tmpl/gst.sgml:
8039         * gst/gst.c:
8040           eliminate another tmpl file, fix spelling in the long-description
8041
8042 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8043
8044         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8045         (test_event), (timediff), (gstevents_suite):
8046           Should fix build on 64-bit arch's
8047
8048 2005-08-18  Andy Wingo  <wingo@pobox.com>
8049
8050         Make sure that when a pipeline goes to PLAYING, that data has
8051         actually hit the sink.
8052
8053         * check/states/sinks.c (test_sink): A sink that doesn't get any
8054         data shouldn't return SUCCESS for going to either PLAYING or
8055         PAUSED. Test also the return values on the way back down.
8056
8057         * gst/gstelement.c (gst_element_set_state): When changing the
8058         state of an element currently changing state asynchronously, go to
8059         lost-state after commiting the pending state. Makes future calls
8060         to get_state continue to return ASYNC.
8061
8062         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8063         ASYNC when going to PLAYING if we still don't have preroll, as can
8064         happen with live sources.
8065
8066 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8067
8068         * docs/pwg/advanced-types.xml:
8069           Hack long paragraph into 2 chunks as a workaround for buggy
8070           jadetex version in sid and breezy that loops infinitely and
8071           eats all RAM.
8072
8073 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8074
8075         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8076         (test_event), (timediff), (gstevents_suite):
8077           Provide more error margin in clock measurements to allow for 
8078           g_get_current_time inaccuracies.
8079
8080 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8081
8082         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8083         (test_event), (timediff), (gstevents_suite):
8084            Fix error message output so I might be able to tell why the
8085            test works here but fails on the build farm.
8086
8087 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8088
8089         * check/Makefile.am:
8090         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8091         (test_event), (timediff), (gstevents_suite), (main):
8092           I wrote a test!
8093
8094         * docs/design/part-seeking.txt:
8095           Spelling correction
8096
8097         * docs/gst/tmpl/gstevent.sgml:
8098         * docs/gst/tmpl/gstfakesrc.sgml:
8099           Docs updates.
8100
8101         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8102           Treat a buffer-without-newsegment the same as a receiving 
8103           a newsegment not in time format, and disable syncing to the clock
8104           with a warning.
8105
8106         * gst/gstbus.c: (gst_bus_set_sync_handler):
8107           Assert if anyone tries to replace the existing sync_handler for bus, 
8108           as only the owner should be setting it.
8109
8110         * gst/gstevent.h:
8111           Have a fixed set of custom event enums with events identified by
8112           their structure name (as in 0.8), rather than a free-for-all
8113           allowing collisions between enum values from different plugins.
8114
8115         * gst/gstpad.c: (gst_pad_class_init):
8116           Docs change.
8117           
8118         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8119           Handle out-of-band downstream events from the sending thread.
8120
8121 2005-08-17  Andy Wingo  <wingo@pobox.com>
8122
8123         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8124         play-timeout==0 to mean no timeout at all. In that case, don't
8125         bother with a get_state or a warning, just return directly, even
8126         if it's ASYNC.
8127
8128         * gst/base/gstbasetransform.c: Debug changes.
8129
8130         * gst/gstutils.h:
8131         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8132         ensure bins post state change messages. A bit of a hack but I can't
8133         think of a way to avoid it.
8134
8135         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8136
8137 2005-08-16  Andy Wingo  <wingo@pobox.com>
8138
8139         * gst/base/gstadapter.h:
8140         * gst/base/gstadapter.c (gst_adapter_take): New function, like
8141         peek() but you own the data. Not terribly efficient atm.
8142
8143 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8144
8145         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8146         (gst_element_found_tags):
8147         * gst/gstutils.h:
8148           Add two utility functions for tag handling.
8149
8150 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8151
8152         * docs/manual/advanced-dataaccess.xml:
8153         * docs/manual/basics-helloworld.xml:
8154           Fix docs to use _bin_add() before _link(), which fixes the examples
8155           with recent core versions (reported by Madhan Raj M
8156           <raj_madan@rediffmail.com>, #313199).
8157
8158 2005-08-16  Wim Taymans  <wim@fluendo.com>
8159
8160         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8161         Added subtract checks.
8162
8163         * docs/design/part-events.txt:
8164         Some more docs about newsegment
8165
8166         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8167         Fix FIXME
8168
8169         * gst/gstcaps.c: (gst_caps_to_string):
8170         Add comments, cleanups.
8171         
8172         * gst/gstelement.c: (gst_element_save_thyself):
8173         cleanups
8174         
8175         * gst/gstvalue.c: (gst_value_collect_int_range),
8176         (gst_string_unwrap), (gst_value_union_int_int_range),
8177         (gst_value_union_int_range_int_range),
8178         (gst_value_intersect_int_int_range),
8179         (gst_value_intersect_int_range_int_range),
8180         (gst_value_intersect_double_double_range),
8181         (gst_value_intersect_double_range_double_range),
8182         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8183         (gst_value_subtract_int_range_int),
8184         (gst_value_subtract_double_range_double),
8185         (gst_value_subtract_double_range_double_range),
8186         (gst_value_subtract_from_list), (gst_value_subtract_list),
8187         (gst_value_can_compare), (gst_value_compare_fraction):
8188         Cleanups, add comments, remove unneeded asserts.
8189
8190 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8191
8192         * tools/gst-launch.c: (event_loop):
8193           don't convert NULL structures to strings
8194
8195 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
8196
8197         * docs/gst/gstreamer-sections.txt:
8198           made some defines private
8199         * docs/gst/tmpl/gstconfig.sgml:
8200         * docs/gst/tmpl/gstqueue.sgml:
8201         * docs/gst/tmpl/gsttaglist.sgml:
8202         * docs/gst/tmpl/gsttypes.sgml:
8203         * docs/gst/tmpl/gstutils.sgml:
8204         * docs/pwg/appendix-porting.xml:
8205         * gst/base/gstbasesink.h:
8206         * gst/base/gstbasesrc.c:
8207         * gst/base/gstbasesrc.h:
8208         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8209         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8210         * gst/gstelement.c: (gst_element_class_init):
8211         * gst/gstpad.c: (gst_pad_class_init):
8212         * gst/gstqueue.c: (gst_queue_class_init):
8213         * gst/gstxml.c: (gst_xml_class_init):
8214           documented all undocumented signal inline
8215         * libs/gst/controller/gst-controller.h:
8216           added padding
8217
8218 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8219
8220         * docs/pwg/appendix-porting.xml:
8221           Document _set_link_function -> _set_setcaps_function.
8222
8223 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8224
8225         * check/Makefile.am:
8226           add a .check target for running the check
8227         * check/gst-libs/controller.c: (GST_START_TEST):
8228           cosmetic fixups
8229         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8230           complete checks for gstbuffer; would be nice if I could get the
8231           gcov stuff to work so I can see if I actually completed gstbuffer.c
8232         * check/gstcheck.h:
8233           add ASSERT_BUFFER_REFCOUNT
8234
8235 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8236
8237         * docs/gst/gstreamer-sections.txt:
8238         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8239         * gst/gsttag.h:
8240           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8241           spew out a warning if a tag that is already registered
8242           is re-registered, unless it is re-registered with a 
8243           different type (#308438).
8244
8245 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8246
8247         * docs/pwg/appendix-porting.xml:
8248         * docs/pwg/building-state.xml:
8249           Add some paragraphs about state changes in 0.9 to the PWG
8250           and the porting guide, in particular about the new meaning
8251           of GST_STATE_PAUSED and how to write state change functions
8252           with concurrent access by multiple threads in mind.
8253
8254 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8255
8256         * docs/gst/gstreamer-docs.sgml:
8257         * docs/libs/gstreamer-libs-docs.sgml:
8258           added deprecation and since indexes
8259         * libs/gst/controller/gst-controller.c:
8260         * libs/gst/controller/gst-helper.c:
8261           added since tags
8262
8263
8264 2005-08-11  Wim Taymans  <wim@fluendo.com>
8265
8266         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8267         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8268         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8269         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8270         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8271         (gst_ghost_pad_set_target):
8272         Actually implement (re)setting the target on a ghostpad
8273         as described in the docs.
8274
8275 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8276
8277         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8278           Check whether GST_DEBUG_NO_COLOR environment variable is
8279           set and disable coloured debug output if that is the case.
8280
8281 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8282
8283         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8284         (gst_type_find_helper):
8285           The memory returned by gst_type_find_peek() needs to
8286           stay valid until the end of a typefind function, and
8287           typefind functions may keep results from different 
8288           offsets around, so we can't just unref the buffer from
8289           the previous _peek(), but have to save all buffers 
8290           returned by _peek() until typefinding is done and only
8291           free them then.
8292
8293 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8294
8295         * docs/gst/gstreamer-sections.txt:
8296         * gst/gstutils.h:
8297           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8298
8299 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8300
8301         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8302           Fix a pretty good memleak.
8303
8304 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8305
8306         * gst/gstiterator.h:
8307           Fix wrong include and 'make distcheck'.
8308
8309 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8310
8311         * gst/gstbin.c: (bin_bus_handler):
8312           Use gst_element_post_message() instead.
8313
8314 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8315
8316         * gst/base/gstadapter.h:
8317         * gst/base/gstbasesink.h:
8318         * gst/base/gstbasesrc.h:
8319         * gst/base/gstbasetransform.h:
8320         * gst/base/gstcollectpads.h:
8321         * gst/base/gstpushsrc.h:
8322         * gst/gstiterator.h:
8323           Add padding to our base elements' class and instance structs and
8324           to GstIterator (you will need to rebuild all plugins and apps!)
8325
8326 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8327
8328         * gst/gstbin.c: (bin_bus_handler):
8329           Make default message forwarding from child->bus to bin->bus
8330           threadsafe and make it not emit warnings if the parent has no bus.
8331
8332 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8333
8334         * gst/gstelement.c: (activate_pads):
8335           On paused->ready, set pad->caps to NULL, as is the documented
8336           behaviour in this state change. Fixes playback of series of
8337           media files when visualization is enabled in Totem.
8338
8339 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8340
8341         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8342           Allow NULL as filter-caps (which means "any").
8343
8344 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8345
8346         * docs/libs/gstreamer-libs-sections.txt:
8347         * libs/gst/controller/gst-controller.c:
8348         * libs/gst/controller/gst-controller.h:
8349         * libs/gst/controller/gst-helper.c:
8350           adding more entries to the docs and fix small doc-bugs
8351
8352 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8353
8354         * docs/gst/gstreamer-docs.sgml:
8355         * docs/gst/gstreamer-sections.txt:
8356         * docs/gst/gstreamer.types:
8357         * docs/gst/tmpl/gstbasesink.sgml:
8358         * docs/gst/tmpl/gstbasesrc.sgml:
8359         * docs/gst/tmpl/gstbasetransform.sgml:
8360         * docs/gst/tmpl/gstfakesrc.sgml:
8361         * gst/base/gstcollectpads.c:
8362         * gst/base/gstcollectpads.h:
8363         * libs/gst/controller/gst-controller.c:
8364         * libs/gst/controller/gst-controller.h:
8365         * libs/gst/controller/gst-helper.c:
8366         * libs/gst/controller/gst-interpolation.c:
8367         * libs/gst/controller/lib.c:
8368           added long/short desc for controller docs
8369           added collectpads base class docs
8370           added correct includes to base-class docs
8371
8372 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8373
8374         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8375         (gst_test_mono_source_set_property),
8376         (gst_test_mono_source_class_init), (GST_START_TEST),
8377         (gst_controller_suite):
8378         * docs/gst/gstreamer-docs.sgml:
8379         * docs/gst/gstreamer-sections.txt:
8380         * docs/gst/gstreamer.types:
8381         * docs/libs/gstreamer-libs-docs.sgml:
8382         * docs/libs/gstreamer-libs-sections.txt:
8383         * gst/base/gstadapter.c:
8384         * libs/gst/controller/gst-controller.c:
8385         (gst_controlled_property_new), (gst_controlled_property_free),
8386         (gst_controller_new_valist),
8387         (gst_controller_remove_properties_valist),
8388         (gst_controller_sink_values), (_gst_controller_finalize):
8389         * libs/gst/controller/gst-controller.h:
8390         * libs/gst/controller/gst-helper.c:
8391         (gst_object_control_properties), (gst_object_uncontrol_properties),
8392         (gst_object_get_controller), (gst_object_set_controller),
8393         (gst_object_sink_values), (gst_object_get_value_arrays),
8394         (gst_object_get_value_array):
8395           more tests (and fixes) for the controller
8396           more docs for the controller
8397           integrated companies docs for the adapter 
8398
8399 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8400
8401         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8402         (GST_START_TEST), (fakesrc_suite):
8403           add tests for sizetype
8404
8405 2005-08-04  Andy Wingo  <wingo@pobox.com>
8406
8407         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8408         fixes buffer_alloc proxying among other things.
8409
8410         * gst/base/gstbasetransform.c:
8411         * gst/base/gstbasetransform.h:
8412         Revert patch to gstbasetransform from 7-28 removing
8413         delay_configure.
8414
8415         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8416         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8417         Semantics changed, should return not the size of the output buffer
8418         but the byte size of a buffer with a given caps.
8419
8420         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8421         debug object.
8422         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8423         out) are not the pad caps until setcaps finishes.
8424         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8425         not-in-place case as well. Deal with changing from in-place to
8426         not-in-place within calling pad_alloc_buffer. Still a bit
8427         concerned about the overhead here...
8428
8429 2005-08-03  Andy Wingo  <wingo@pobox.com>
8430
8431         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8432         fixating is an error.
8433
8434 2005-08-04  Edward Hervey  <edward@fluendo.com>
8435
8436         * gst/base/gstadapter.h: 
8437         Added gst_adapter_get_type() to the header
8438
8439 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8440
8441         * check/Makefile.am:
8442         * check/gst-libs/controller.c:
8443         * libs/gst/controller/gst-controller.c:
8444         (gst_controller_new_valist):
8445           added check test suite for the controller
8446         * gst/base/gstpushsrc.c:
8447           fixed a doc typo
8448
8449 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8450
8451         * docs/gst/Makefile.am:
8452         * docs/gst/gstreamer-docs.sgml:
8453         * docs/gst/gstreamer-sections.txt:
8454         * docs/gst/gstreamer.types:
8455         * docs/gst/tmpl/gstfakesrc.sgml:
8456         * gst/base/README:
8457         * gst/base/gstbasesink.c:
8458         * gst/base/gstbasesink.h:
8459         * gst/base/gstbasesrc.c:
8460         * gst/base/gstbasesrc.h:
8461         * gst/base/gstbasetransform.c:
8462         * gst/base/gstpushsrc.c:
8463         * gst/base/gstpushsrc.h:
8464           add short/long description docs to base classes
8465           add pushsrc to the docs
8466           remove consolidated doc fragments
8467
8468 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8469
8470         * configure.ac:
8471         * docs/libs/Makefile.am:
8472         * docs/libs/gstreamer-libs-docs.sgml:
8473         * docs/libs/gstreamer-libs-sections.txt:
8474         * docs/libs/gstreamer-libs.types:
8475         * examples/Makefile.am:
8476         * examples/controller/.cvsignore:
8477         * examples/controller/Makefile.am:
8478         * examples/controller/audio-example.c: (main):
8479         * libs/gst/Makefile.am:
8480         * libs/gst/controller/.cvsignore:
8481         * libs/gst/controller/Makefile.am:
8482         * libs/gst/controller/gst-controller.c:
8483         (on_object_controlled_property_changed), (gst_timed_value_compare),
8484         (gst_timed_value_find),
8485         (gst_controlled_property_set_interpolation_mode),
8486         (gst_controlled_property_new), (gst_controlled_property_free),
8487         (gst_controller_find_controlled_property),
8488         (gst_controller_new_valist), (gst_controller_new),
8489         (gst_controller_remove_properties_valist),
8490         (gst_controller_remove_properties), (gst_controller_set),
8491         (gst_controller_set_from_list), (gst_controller_unset),
8492         (gst_controller_get), (gst_controller_get_all),
8493         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8494         (gst_controller_get_value_array),
8495         (gst_controller_set_interpolation_mode),
8496         (_gst_controller_finalize), (_gst_controller_init),
8497         (_gst_controller_class_init), (gst_controller_get_type):
8498         * libs/gst/controller/gst-controller.h:
8499         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8500         (g_object_uncontrol_properties), (g_object_get_controller),
8501         (g_object_set_controller), (g_object_sink_values),
8502         (g_object_get_value_arrays), (g_object_get_value_array):
8503         * libs/gst/controller/gst-interpolation.c:
8504         (gst_controlled_property_find_timed_value_node),
8505         (interpolate_none_get), (interpolate_trigger_get),
8506         (interpolate_trigger_get_value_array):
8507         * libs/gst/controller/lib.c: (gst_controller_init):
8508         * pkgconfig/Makefile.am:
8509         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8510         * pkgconfig/gstreamer-control.pc.in:
8511         * testsuite/Makefile.am:
8512         * testsuite/controller/.cvsignore:
8513         * testsuite/controller/Makefile.am:
8514         * testsuite/controller/interpolator.c: (main):
8515           added controller code
8516           removed dparam pc files
8517
8518 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8519         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8520         (gst_collectpads_stop):
8521           Broadcast the condition when shutting down, to make sure we wake all
8522           threads up. Shut down pads on finalize, for safety.
8523
8524 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8525         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8526         (gst_base_transform_handle_buffer),
8527         (gst_base_transform_change_state):
8528           Handle PAUSED->READY->PAUSED transition after negotiation
8529           occurred already.
8530         * gst/gstmessage.c: (gst_message_init):
8531           Extra piece of debug for new messages.
8532
8533 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8534
8535         * configure.ac:
8536         * docs/gst/tmpl/gstbasesrc.sgml:
8537         * docs/gst/tmpl/gstelement.sgml:
8538         * docs/gst/tmpl/gstevent.sgml:
8539         * docs/gst/tmpl/gstfakesrc.sgml:
8540         * docs/gst/tmpl/gstformat.sgml:
8541         * docs/gst/tmpl/gstghostpad.sgml:
8542         * docs/gst/tmpl/gstpad.sgml:
8543         * docs/gst/tmpl/gstquery.sgml:
8544         * docs/gst/tmpl/gststructure.sgml:
8545         * docs/gst/tmpl/gsttaglist.sgml:
8546         * docs/gst/tmpl/gstvalue.sgml:
8547         * docs/libs/gstreamer-libs-docs.sgml:
8548         * docs/libs/gstreamer-libs-sections.txt:
8549         * docs/libs/gstreamer-libs.types:
8550         * libs/gst/Makefile.am:
8551         * libs/gst/control/.cvsignore:
8552         * libs/gst/control/Makefile.am:
8553         * libs/gst/control/control.c:
8554         * libs/gst/control/control.h:
8555         * libs/gst/control/dparam.c:
8556         * libs/gst/control/dparam.h:
8557         * libs/gst/control/dparam_smooth.c:
8558         * libs/gst/control/dparam_smooth.h:
8559         * libs/gst/control/dparamcommon.h:
8560         * libs/gst/control/dparammanager.c:
8561         * libs/gst/control/dparammanager.h:
8562         * libs/gst/control/dplinearinterp.c:
8563         * libs/gst/control/dplinearinterp.h:
8564         * libs/gst/control/unitconvert.c:
8565         * libs/gst/control/unitconvert.h:
8566         * testsuite/Makefile.am:
8567         * testsuite/dynparams/.cvsignore:
8568         * testsuite/dynparams/Makefile.am:
8569         * testsuite/dynparams/dparamstest.c:
8570         * tools/Makefile.am:
8571         * tools/gst-inspect.c: (print_element_info), (main):
8572         * tools/gst-xmlinspect.c: (print_element_info), (main):
8573           deactivate and remove dparams (libgstcontrol)
8574
8575 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8576
8577         * gst/elements/gsttypefindelement.c:
8578         (gst_type_find_element_have_type), (gst_type_find_element_init),
8579         (stop_typefinding), (gst_type_find_element_handle_event),
8580         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8581         * gst/elements/gsttypefindelement.h:
8582           Set caps on all outgoing buffers, not just the first one.
8583
8584 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8585
8586         * gst/elements/gsttypefindelement.c:
8587         (gst_type_find_element_have_type),
8588         (gst_type_find_element_check_set_buffer_caps),
8589         (gst_type_find_element_init), (stop_typefinding),
8590         (gst_type_find_element_handle_event),
8591         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8592         * gst/elements/gsttypefindelement.h:
8593           Set caps on first outgoing buffer when we've found the type.
8594
8595 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8596
8597         * docs/gst/gstreamer-docs.sgml:
8598         * docs/gst/gstreamer-sections.txt:
8599         * docs/gst/tmpl/gstscheduler.sgml:
8600         * docs/gst/tmpl/gstschedulerfactory.sgml:
8601           Remove some old cruft from docs.
8602
8603 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8604
8605         * gst/gstpad.h:
8606           Fix inline docs for GstPadLinkReturn.
8607           
8608         * gst/gststructure.c: (gst_structure_has_name):
8609         * gst/gststructure.h:
8610         * docs/gst/gstreamer-sections.txt:
8611           New API: gst_structure_has_name().
8612
8613 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8614
8615         * configure.ac:
8616           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8617           and _LARGEFILE_SOURCE in config.h as required. Do not 
8618           export those flags in our .pc files any longer (#142209).
8619
8620           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8621
8622         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8623         (gst_file_sink_do_seek), (gst_file_sink_event),
8624         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8625           Redo seek/tell calls with large file support in mind; add some
8626           debugging messages; add log message that tells us when large
8627           file support is unavailable or not enabled for some reason.
8628
8629         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8630           Add log message that tells us when large file support 
8631           is unavailable or not enabled for some reason.
8632
8633 2005-07-29  Wim Taymans  <wim@fluendo.com>
8634
8635         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8636         Added test for removing an element with ghostpad from a bin.
8637         Fixed test as current implementation does the right thing.
8638
8639         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8640         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8641         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8642         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8643         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8644         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8645         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8646         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8647         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8648         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8649         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8650         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8651         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8652         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8653         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8654         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8655         * gst/gstghostpad.h:
8656         Clean up ghostpads, remove properties for internal stuff.
8657         Make threadsafe.
8658         Fix refcounting.
8659         Prepare for switching targets, not all use cases work yet.
8660
8661 2005-07-29  Wim Taymans  <wim@fluendo.com>
8662
8663         * docs/design/part-gstghostpad.txt:
8664         Small update.
8665
8666         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8667         (gst_bin_remove_func):
8668         Unlinking pads while holding the bin LOCK is not a good
8669         idea.
8670
8671         * gst/gstpad.c: (gst_pad_class_init),
8672         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8673         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8674         No prob setting template after creating the pad.
8675
8676 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8677
8678         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8679         (gst_bus_peek), (gst_bus_source_dispatch),
8680         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8681         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8682           gst_bus_poll may be called from other threads. Handle
8683           this nicely by not making poll_data disappear off the
8684           stack once gst_bus_poll returns.
8685           gst_bus_peek now increments the refcount on the returned
8686           message.
8687
8688 2005-07-29  Wim Taymans  <wim@fluendo.com>
8689
8690         * docs/design/part-gstghostpad.txt:
8691         Overview of current GhostPad datastructures and use
8692         cases for changing the target.
8693
8694 2005-07-28  Wim Taymans  <wim@fluendo.com>
8695
8696         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8697         Added checks for hierarchy consistency whan adding linked
8698         elements to bins.
8699
8700         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8701         Added check to test element scheduling without bin/pipeline.
8702
8703         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8704         First add elements to bin, then link.
8705         
8706         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8707         (gst_bin_remove_func):
8708         Unlink pads from elements added/removed from bin to maintain
8709         hierarchy consistency.
8710
8711 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8712
8713         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8714         (gst_base_transform_handle_buffer):
8715         * gst/base/gstbasetransform.h:
8716           Remove broken delay_configure (fixes renegotiation of software
8717           scaling pipelines); remove some leftover printf()s.
8718
8719 2005-07-28  Wim Taymans  <wim@fluendo.com>
8720
8721         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8722         Added some more tests for wrong hierarchy
8723
8724         * docs/design/part-overview.txt:
8725         Some updates.
8726
8727         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8728         Cleanups.
8729
8730         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8731         (gst_element_dispose):
8732         Some more cleanups.
8733
8734         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8735         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8736         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8737         (gst_pad_set_caps), (gst_pad_send_event):
8738         Check for correct hierarchy when linking pads. Moving to
8739         strict requirement for ghostpads when linking elements in
8740         different bins.
8741
8742         * gst/gstpad.h:
8743         Clean ups. Added WRONG_HIERARCHY return value.
8744
8745 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8746
8747         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8748           Better debug if no transform is possible.
8749
8750 2005-07-27  Wim Taymans  <wim@fluendo.com>
8751
8752         * docs/random/wtay/network-transp:
8753         Some old doc I had.
8754
8755 2005-07-27  Wim Taymans  <wim@fluendo.com>
8756
8757         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8758         (gst_dp_event_from_packet):
8759         Fix serialization of seek events.
8760
8761 2005-07-27  Wim Taymans  <wim@fluendo.com>
8762
8763         * check/gst-libs/gdp.c: (GST_START_TEST):
8764         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8765         Fix compilation and fix event serialization.
8766
8767 2005-07-27  Wim Taymans  <wim@fluendo.com>
8768
8769         * CHANGES-0.9:
8770         * docs/design/part-TODO.txt:
8771         * docs/design/part-events.txt:
8772         Some docs updates
8773
8774         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8775         (gst_base_sink_event), (gst_base_sink_do_sync),
8776         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8777         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8778         (gst_base_src_do_seek), (gst_base_src_event_handler),
8779         (gst_base_src_loop):
8780         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8781         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8782         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8783         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8784         (gst_base_transform_set_passthrough),
8785         (gst_base_transform_is_passthrough):
8786         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8787         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8788         Event updates.
8789
8790         * gst/gstbuffer.h:
8791         Use faster casts.
8792
8793         * gst/gstelement.c: (gst_element_seek):
8794         * gst/gstelement.h:
8795         Update gst_element_seek.
8796
8797         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8798         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8799         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8800         (gst_event_new_eos), (gst_event_new_newsegment),
8801         (gst_event_parse_newsegment), (gst_event_new_tag),
8802         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8803         (gst_event_parse_qos), (gst_event_new_seek),
8804         (gst_event_parse_seek), (gst_event_new_navigation):
8805         * gst/gstevent.h:
8806         Make GstEvent use GstStructure. Add parsing code, make sure the
8807         API is sufficiently generic.
8808         Mark possible directions of events and serialization.
8809
8810         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8811         (_gst_message_copy), (gst_message_new_segment_start),
8812         (gst_message_new_segment_done), (gst_message_new_custom),
8813         (gst_message_parse_segment_start),
8814         (gst_message_parse_segment_done):
8815         Small cleanups.
8816
8817         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8818         (gst_pad_set_caps), (gst_pad_send_event):
8819         Update for new events. 
8820         Catch events sent in wrong directions.
8821
8822         * gst/gstqueue.c: (gst_queue_link_src),
8823         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8824         (gst_queue_handle_src_query):
8825         Event updates.
8826
8827         * gst/gsttag.c:
8828         * gst/gsttag.h:
8829         Remove event code from this file.
8830
8831         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8832         (gst_dp_event_from_packet):
8833         Event updates.
8834
8835 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8836
8837         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8838         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8839         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8840           Make debugging actually useful.
8841
8842 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8843
8844         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8845         (gst_pad_fixate_caps):
8846           Implement default fixation once again, so that gst_pad_fixate()
8847           actually does anything at all. This probably needs to be some
8848           sort of a last resort, and use profile-based fixation first, but
8849           since that doesn't exist yet, this is the best we have. Fixes
8850           visualization in Totem.
8851
8852 2005-07-22  Wim Taymans  <wim@fluendo.com>
8853
8854         * docs/design/part-events.txt:
8855         Small update.
8856
8857         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8858         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8859         (gst_base_sink_activate_pull):
8860         Some more comments.
8861
8862         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8863         (gst_fake_src_create):
8864         Fix handoff marshall.
8865
8866         * gst/elements/gstidentity.c: (gst_identity_class_init),
8867         (gst_identity_transform_ip):
8868         We're a real inplace element.
8869
8870         * gst/gstbus.c: (gst_bus_post):
8871         Added some comments.
8872
8873         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8874         * tests/muxing/case1.c: (main):
8875         * tests/sched/dynamic-pipeline.c: (main):
8876         * tests/sched/interrupt1.c: (main):
8877         * tests/sched/interrupt2.c: (main):
8878         * tests/sched/interrupt3.c: (main):
8879         * tests/sched/runxml.c: (main):
8880         * tests/sched/sched-stress.c: (main):
8881         * tests/seeking/seeking1.c: (event_received), (main):
8882         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8883         (main):
8884         * tests/threadstate/threadstate3.c: (main):
8885         * tests/threadstate/threadstate4.c: (main):
8886         * tests/threadstate/threadstate5.c: (main):
8887         Fix the tests.
8888
8889 2005-07-21  Wim Taymans  <wim@fluendo.com>
8890
8891         * docs/design/part-seeking.txt:
8892         Some small additions.
8893
8894         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8895         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8896         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8897         * gst/base/gstbasesink.h:
8898         discont values are gint64, handle the math correctly.
8899
8900         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8901         Make the basesrc report error if the source pad is not linked.
8902
8903         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8904         (gst_queue_loop), (gst_queue_handle_src_query),
8905         (gst_queue_src_activate_push):
8906         Make queue collect data even if the srcpad is not linked.
8907         Start pushing out data as soon as it is linked.
8908
8909         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8910         * gst/gstutils.h:
8911         Added gst_flow_get_name() to ease error reporting.
8912
8913 2005-07-20  Wim Taymans  <wim@fluendo.com>
8914
8915         * gst/gstmessage.c: (gst_message_new_segment_start),
8916         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8917         (gst_message_parse_segment_done):
8918         * gst/gstmessage.h:
8919         Added a bunch of messages for advanced seeking.
8920
8921         * gst/parse/grammar.y:
8922         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8923         (gst_dpman_state_changed):
8924         Fix some new-pad -> pad-added signals
8925
8926 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8927
8928         * docs/manual/appendix-porting.xml:
8929         * docs/pwg/appendix-porting.xml:
8930           Document new-pad/state-change signal renames and the FixedList
8931           type rename.
8932
8933 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8934
8935         * docs/manual/advanced-autoplugging.xml:
8936         * docs/manual/basics-helloworld.xml:
8937         * docs/manual/basics-pads.xml:
8938         * docs/random/ds/0.9-suggested-changes:
8939         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8940         * gst/gstelement.h:
8941         * gst/gstevent.h:
8942         * gst/gstformat.h:
8943         * gst/gstquery.h:
8944         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8945         (gst_structure_parse_array), (gst_structure_parse_value):
8946         * gst/gstvalue.c: (gst_type_is_fixed),
8947         (gst_value_list_prepend_value), (gst_value_list_append_value),
8948         (gst_value_list_get_size), (gst_value_list_get_value),
8949         (gst_value_transform_array_string), (gst_value_serialize_array),
8950         (gst_value_deserialize_array), (gst_value_intersect_array),
8951         (gst_value_is_fixed), (_gst_value_initialize):
8952         * gst/gstvalue.h:
8953           GstElement::new-pad -> pad-added, GstElement::state-change ->
8954           state-changed, GstValueFixedList -> GstValueArray, add format and
8955           flags as their own arguments in gst_element_seek() (should improve
8956           "bindeability"), remove function generators since they don't work
8957           under a whole bunch of compilers (they were deprecated already
8958           anyway).
8959
8960 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8961
8962         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8963         (_gst_debug_register_funcptr):
8964         * gst/gstinfo.h:
8965           Fix illegal cast on some platforms (#309253).
8966
8967 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8968
8969         * gst/gstmessage.c: (gst_message_new_custom):
8970         * gst/gstmessage.h:
8971           Add _new_custom, make _new_application a macro to _new_custom.
8972
8973 2005-07-20  Wim Taymans  <wim@fluendo.com>
8974
8975         * gst/base/gstbasesrc.c: (gst_base_src_init),
8976         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8977         * gst/base/gstbasesrc.h:
8978         Add a gboolean to decide when to push out a discont.
8979
8980         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8981         (gst_queue_loop), (gst_queue_handle_src_query),
8982         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8983         (gst_queue_set_property), (gst_queue_get_property):
8984         Some cleanups.
8985
8986         * tests/threadstate/threadstate1.c: (main):
8987         Make a thread test compile and run... very silly..
8988
8989
8990 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8991
8992         * docs/manual/appendix-porting.xml:
8993           Mention removal of libgstgconf-0.9.la and existence of gconf
8994           elements.
8995
8996 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8997
8998         * docs/pwg/advanced-clock.xml:
8999         * docs/pwg/appendix-porting.xml:
9000         * docs/pwg/intro-preface.xml:
9001         * docs/pwg/other-base.xml:
9002         * docs/pwg/other-manager.xml:
9003         * docs/pwg/other-nton.xml:
9004         * docs/pwg/other-ntoone.xml:
9005         * docs/pwg/other-oneton.xml:
9006         * docs/pwg/pwg.xml:
9007           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9008           demuxer), remove n-to-n (was never written), fix some code examples
9009           and links and update the porting section to include all this.
9010
9011 2005-07-19  Wim Taymans  <wim@fluendo.com>
9012
9013         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9014         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9015         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9016         (gst_queue_src_activate_push), (gst_queue_change_state),
9017         (gst_queue_get_property):
9018         * gst/gstqueue.h:
9019         Propagate GstFlowReturn more intelligently upstream and output
9020         an ERROR/EOS when streaming stopped due to fatal error.
9021
9022 2005-07-19  Wim Taymans  <wim@fluendo.com>
9023
9024         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9025         Don't block forever for the state change to complete, the
9026         pipeline already did with a sensible timeout.
9027
9028 2005-07-19  Wim Taymans  <wim@fluendo.com>
9029
9030         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9031         Make sure we never call the create function is we
9032         got deactivated.
9033
9034 2005-07-19  Andy Wingo  <wingo@pobox.com>
9035
9036         * gst/parse/parse.l: Attempt to solve bug #172815.
9037
9038 2005-07-19  Wim Taymans  <wim@fluendo.com>
9039
9040         * docs/design/part-clocks.txt:
9041         * docs/design/part-events.txt:
9042         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9043         Small docs updates.
9044         Only update the seeking values when we are not
9045         busy streaming.
9046
9047 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9048
9049         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9050           Oops, ignore the result of gst_pad_push_event here.
9051
9052 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9053
9054         * gst/base/gstbasesrc.c: (gst_base_src_loop),
9055         (gst_base_src_activate_push):
9056           Send discont event from the loop function, as pads
9057           aren't activated yet in the activate_push handler.
9058
9059         * gst/gstbin.c: (bin_bus_handler):
9060           Don't leak element name.
9061
9062 2005-07-18  Andy Wingo  <wingo@pobox.com>
9063
9064         * configure.ac: Use AS_LIBTOOL_TAGS.
9065
9066 2005-07-18  Wim Taymans  <wim@fluendo.com>
9067
9068         * docs/gst/gstreamer.types:
9069         Remove deleted types.
9070
9071 2005-07-18  Wim Taymans  <wim@fluendo.com>
9072
9073         * check/elements/gstfakesrc.c: (GST_START_TEST):
9074         * configure.ac:
9075         * gst/Makefile.am:
9076         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9077         (init_popt_callback):
9078         * gst/gst.h:
9079         * gst/gst_private.h:
9080         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9081         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9082         * gst/gstbin.h:
9083         * gst/gstbus.h:
9084         * gst/gstconfig.h.in:
9085         * gst/gstelement.c: (gst_element_class_init),
9086         (gst_element_set_base_time), (gst_element_get_base_time),
9087         (iterator_fold_with_resync), (gst_element_change_state),
9088         (gst_element_dispose), (gst_element_get_bus):
9089         * gst/gstelement.h:
9090         * gst/gstelementfactory.h:
9091         * gst/gsterror.c: (_gst_core_errors_init):
9092         * gst/gsterror.h:
9093         * gst/gstevent.h:
9094         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9095         * gst/gstindex.c:
9096         * gst/gstinfo.c: (_gst_debug_init):
9097         * gst/gstmessage.c: (_gst_message_copy):
9098         * gst/gstmessage.h:
9099         * gst/gstminiobject.h:
9100         * gst/gstobject.c:
9101         * gst/gstobject.h:
9102         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9103         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9104         * gst/gstpad.h:
9105         * gst/gstparse.h:
9106         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9107         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9108         (gst_pipeline_get_last_stream_time):
9109         * gst/gstpipeline.h:
9110         * gst/gstpluginfeature.h:
9111         * gst/gstquery.h:
9112         * gst/gstscheduler.c:
9113         * gst/gstscheduler.h:
9114         * gst/gststructure.h:
9115         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9116         (gst_task_finalize), (gst_task_func), (gst_task_create),
9117         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9118         (gst_task_stop), (gst_task_pause):
9119         * gst/gsttask.h:
9120         * gst/gsttypefind.h:
9121         * gst/gsttypes.h:
9122         * gst/registries/gstlibxmlregistry.c: (load_feature),
9123         (gst_xml_registry_load), (gst_xml_registry_save_feature):
9124         * gst/registries/gstxmlregistry.c:
9125         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9126         * gst/schedulers/threadscheduler.c:
9127         * libs/gst/control/dparammanager.h:
9128         * tools/gst-inspect.c: (print_element_list),
9129         (print_plugin_features), (print_element_features):
9130         * tools/gst-xmlinspect.c: (print_element_list),
9131         (print_plugin_info), (main):
9132         Removed plugable schedulers.
9133         Removed Scheduler/Manager from elements.
9134         Removed gsttypes.h, rearranged includes.
9135         Removed dependency pad<->element, element<>pipeline, and
9136         various others,  fix includes.
9137         implement gst_pad_get_parent() with gst_object_get_parent()
9138         Make GstTask sefcontained.
9139         Fix _get_state() on GstBin, it did not return ASYNC with a 0
9140         timeout.
9141         Fix endless loop in iterator_fold_with_resync.
9142
9143
9144 2005-07-18  Wim Taymans  <wim@fluendo.com>
9145
9146         * gst/Makefile.am:
9147         * gst/gstarch.h:
9148         Remove old file.
9149
9150 2005-07-18  Wim Taymans  <wim@fluendo.com>
9151
9152         * gst/Makefile.am:
9153         No more cothreads.h
9154
9155 2005-07-18  Wim Taymans  <wim@fluendo.com>
9156
9157         * gst/cothreads.c:
9158         * gst/cothreads.h:
9159         Let's remove these.
9160
9161 2005-07-18  Wim Taymans  <wim@fluendo.com>
9162
9163         * docs/design/part-dynamic.txt:
9164         * docs/design/part-events.txt:
9165         * docs/design/part-seeking.txt:
9166         Some more docs in the works.
9167
9168         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9169         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9170         (gst_base_transform_setcaps), (gst_base_transform_get_size),
9171         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9172         (gst_base_transform_handle_buffer),
9173         (gst_base_transform_sink_activate_push),
9174         (gst_base_transform_src_activate_pull),
9175         (gst_base_transform_set_passthrough),
9176         (gst_base_transform_is_passthrough):
9177         Refcounting fixes.
9178
9179         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9180         Cleanups.
9181
9182         * gst/gstevent.c: (gst_event_finalize):
9183         Set SRC to NULL.
9184
9185         * gst/gstutils.c: (gst_element_unlink),
9186         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9187         (gst_pad_proxy_setcaps):
9188         * gst/gstutils.h:
9189         Add _get_parent_element() to get a pads parent as an element.
9190
9191 2005-07-18  Wim Taymans  <wim@fluendo.com>
9192
9193         * check/gst/gstbin.c: (GST_START_TEST):
9194         Remove bogus test.
9195
9196 2005-07-18  Wim Taymans  <wim@fluendo.com>
9197
9198         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9199         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9200         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9201         (gst_base_sink_event), (gst_base_sink_do_sync),
9202         (gst_base_sink_chain), (gst_base_sink_loop),
9203         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9204         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9205         Refcounting fixes.
9206         Fix logic for returning ASYNC when not prerolled.
9207
9208 2005-07-18  Wim Taymans  <wim@fluendo.com>
9209
9210         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9211         Fix nasty refcount bug.
9212
9213 2005-07-16 Philippe Khalaf <burger@speedy.org>
9214
9215         * gst/elements/gstfdsrc.c:
9216         * gst/elements/gstfdsrc.h:
9217         * gst/elements/gstelements.c:
9218         * gst/elements/Makefile.am:
9219         Ported fdsrc to 0.9.
9220
9221 2005-07-16  Wim Taymans  <wim@fluendo.com>
9222
9223         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9224         (gst_base_sink_do_sync):
9225         Fix compile error.
9226
9227 2005-07-16  Wim Taymans  <wim@fluendo.com>
9228
9229         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9230         (gst_base_sink_event), (gst_base_sink_get_times),
9231         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9232         * gst/base/gstbasesink.h:
9233         Store and use discont values when syncing buffers as described
9234         in design docs.
9235         
9236         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9237         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9238         (gst_base_src_activate_push):
9239         Push discont event when starting.
9240
9241         * gst/elements/gstidentity.c: (gst_identity_transform):
9242         Small cleanups.
9243
9244         * gst/gstbin.c: (gst_bin_change_state):
9245         Small cleanups in base_time  distribution.
9246
9247         * gst/gstelement.c: (gst_element_set_base_time),
9248         (gst_element_get_base_time), (gst_element_change_state):
9249         * gst/gstelement.h:
9250         Added methods for the base_time of the element.
9251         Some MT fixes.
9252
9253         * gst/gstpipeline.c: (gst_pipeline_send_event),
9254         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9255         (gst_pipeline_get_last_stream_time):
9256         * gst/gstpipeline.h:
9257         MT fixes.
9258         Handle seeking as described in design doc, remove stream_time
9259         hack.
9260         Cleanups clock and stream_time selection code. Added accessors
9261         for the stream_time.
9262         
9263
9264 2005-07-16  Andy Wingo  <wingo@pobox.com>
9265
9266         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9267         (#305291).
9268
9269 2005-07-16  Wim Taymans  <wim@fluendo.com>
9270
9271         * check/gst/gstbin.c: (GST_START_TEST):
9272         Make elements silent as the deep_notify refs the
9273         parent, which might make the test fail.
9274
9275         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9276         Don't hold the lock for too long.
9277
9278 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9279
9280         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9281           Don't unref the caps we passed to gst_caps_make_writable() after
9282           passing them. gst_caps_make_writable() will do that for us.
9283
9284 2005-07-15  Andy Wingo  <wingo@pobox.com>
9285
9286         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9287         (#157311).
9288
9289         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9290         own marshalling function for the handoff signal. Properly type the
9291         buffer as a buffer. Fixes some warnings. Should do a more general
9292         solution.
9293         (gst_identity_class_init): Plug into the right marshaller.
9294
9295 2005-07-15  Wim Taymans  <wim@fluendo.com>
9296
9297         * docs/design/part-TODO.txt:
9298         * docs/design/part-clocks.txt:
9299         * docs/design/part-element-sink.txt:
9300         * docs/design/part-events.txt:
9301         * docs/design/part-gstpipeline.txt:
9302         Updated docs, mostly DISCONT related.
9303
9304 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9305
9306         * docs/pwg/building-pads.xml:
9307           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9308
9309 2005-07-15  Andy Wingo  <wingo@pobox.com>
9310
9311         * tools/gst-typefind.c: Update, add copyright block.
9312
9313         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9314         Normalize and truncate caps before fixation.
9315
9316         * gst/gstcaps.h:
9317         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9318         discards all but the first structure from its argument.
9319
9320 2005-07-15  Wim Taymans  <wim@fluendo.com>
9321
9322         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9323         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9324         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9325         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9326         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9327         (gst_base_transform_chain), (gst_base_transform_change_state),
9328         (gst_base_transform_set_passthrough),
9329         (gst_base_transform_is_passthrough):
9330         * gst/base/gstbasetransform.h:
9331         Make passthrough work using the bufferpools.
9332         Changed API a bit, subclasses have to write into a buffer
9333         provided by the base class.
9334         More debug info in nego functions.
9335         
9336         * gst/elements/gstidentity.c: (gst_identity_init),
9337         (gst_identity_transform):
9338         Port to new base class.
9339
9340 2005-07-15  Wim Taymans  <wim@fluendo.com>
9341
9342         * gst/gstmessage.c: (gst_message_new_state_changed):
9343         * tools/gst-launch.c: (event_loop), (main):
9344         Totally dump messages in -launch with the -m option.
9345         Fix message name for State messages,
9346
9347 2005-07-14  Wim Taymans  <wim@fluendo.com>
9348
9349         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9350         Post error messages on errors.
9351
9352 2005-07-14  Wim Taymans  <wim@fluendo.com>
9353
9354         * gst/gstcaps.c: (gst_caps_do_simplify):
9355         Remove debug info.
9356
9357         * gst/gsterror.h:
9358         Define error for stream stopped.
9359
9360         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9361         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9362         Do proper return values.
9363
9364         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9365         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9366         (gst_pad_get_range):
9367         Better return values.
9368
9369         * gst/gstpad.h:
9370         Reorganise return values, add macro to check for fatal errors.
9371
9372         * gst/gstqueue.c: (gst_queue_chain):
9373         Return proper GstFlowReturn values,
9374
9375 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9376
9377         * docs/gst/gstreamer-sections.txt:
9378         * docs/gst/gstreamer.types:
9379         * docs/gst/tmpl/gst.sgml:
9380         * docs/gst/tmpl/gstbasesink.sgml:
9381         * docs/gst/tmpl/gstbasesrc.sgml:
9382         * docs/gst/tmpl/gstbasetransform.sgml:
9383         * docs/gst/tmpl/gstbin.sgml:
9384         * docs/gst/tmpl/gstbuffer.sgml:
9385         * docs/gst/tmpl/gstcaps.sgml:
9386         * docs/gst/tmpl/gstclock.sgml:
9387         * docs/gst/tmpl/gstcompat.sgml:
9388         * docs/gst/tmpl/gstconfig.sgml:
9389         * docs/gst/tmpl/gstelement.sgml:
9390         * docs/gst/tmpl/gstelementdetails.sgml:
9391         * docs/gst/tmpl/gstelementfactory.sgml:
9392         * docs/gst/tmpl/gstenumtypes.sgml:
9393         * docs/gst/tmpl/gsterror.sgml:
9394         * docs/gst/tmpl/gstevent.sgml:
9395         * docs/gst/tmpl/gstfakesink.sgml:
9396         * docs/gst/tmpl/gstfakesrc.sgml:
9397         * docs/gst/tmpl/gstfilesink.sgml:
9398         * docs/gst/tmpl/gstfilesrc.sgml:
9399         * docs/gst/tmpl/gstfilter.sgml:
9400         * docs/gst/tmpl/gstformat.sgml:
9401         * docs/gst/tmpl/gstghostpad.sgml:
9402         * docs/gst/tmpl/gstimplementsinterface.sgml:
9403         * docs/gst/tmpl/gstindex.sgml:
9404         * docs/gst/tmpl/gstindexfactory.sgml:
9405         * docs/gst/tmpl/gstinfo.sgml:
9406         * docs/gst/tmpl/gstiterator.sgml:
9407         * docs/gst/tmpl/gstmacros.sgml:
9408         * docs/gst/tmpl/gstmemchunk.sgml:
9409         * docs/gst/tmpl/gstminiobject.sgml:
9410         * docs/gst/tmpl/gstobject.sgml:
9411         * docs/gst/tmpl/gstpad.sgml:
9412         * docs/gst/tmpl/gstpadtemplate.sgml:
9413         * docs/gst/tmpl/gstparse.sgml:
9414         * docs/gst/tmpl/gstpipeline.sgml:
9415         * docs/gst/tmpl/gstplugin.sgml:
9416         * docs/gst/tmpl/gstpluginfeature.sgml:
9417         * docs/gst/tmpl/gstquery.sgml:
9418         * docs/gst/tmpl/gstqueue.sgml:
9419         * docs/gst/tmpl/gstregistry.sgml:
9420         * docs/gst/tmpl/gstregistrypool.sgml:
9421         * docs/gst/tmpl/gstscheduler.sgml:
9422         * docs/gst/tmpl/gstschedulerfactory.sgml:
9423         * docs/gst/tmpl/gststructure.sgml:
9424         * docs/gst/tmpl/gstsystemclock.sgml:
9425         * docs/gst/tmpl/gsttaglist.sgml:
9426         * docs/gst/tmpl/gsttagsetter.sgml:
9427         * docs/gst/tmpl/gsttrace.sgml:
9428         * docs/gst/tmpl/gsttrashstack.sgml:
9429         * docs/gst/tmpl/gsttypefind.sgml:
9430         * docs/gst/tmpl/gsttypefindfactory.sgml:
9431         * docs/gst/tmpl/gsttypes.sgml:
9432         * docs/gst/tmpl/gsturihandler.sgml:
9433         * docs/gst/tmpl/gsturitype.sgml:
9434         * docs/gst/tmpl/gstutils.sgml:
9435         * docs/gst/tmpl/gstvalue.sgml:
9436         * docs/gst/tmpl/gstversion.sgml:
9437         * docs/gst/tmpl/gstxml.sgml:
9438         * docs/libs/tmpl/gstcontrol.sgml:
9439         * docs/libs/tmpl/gstdataprotocol.sgml:
9440         * docs/libs/tmpl/gstdparam.sgml:
9441         * docs/libs/tmpl/gstdplinint.sgml:
9442         * docs/libs/tmpl/gstdpman.sgml:
9443         * docs/libs/tmpl/gstdpsmooth.sgml:
9444         * docs/libs/tmpl/gstgetbits.sgml:
9445         * docs/libs/tmpl/gstunitconvert.sgml:
9446         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9447         (gst_push_src_base_init), (gst_push_src_class_init),
9448         (gst_push_src_init), (gst_push_src_create):
9449         * gst/base/gstpushsrc.h:
9450         * gst/elements/gstelements.c:
9451         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9452         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9453         (gst_fake_sink_init), (gst_fake_sink_set_property),
9454         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9455         (gst_fake_sink_event), (gst_fake_sink_preroll),
9456         (gst_fake_sink_render), (gst_fake_sink_change_state):
9457         * gst/elements/gstfakesink.h:
9458         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9459         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9460         (gst_fake_src_base_init), (gst_fake_src_class_init),
9461         (gst_fake_src_init), (gst_fake_src_event_handler),
9462         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9463         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9464         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9465         (gst_fake_src_create_buffer), (gst_fake_src_create),
9466         (gst_fake_src_start), (gst_fake_src_stop):
9467         * gst/elements/gstfakesrc.h:
9468         * gst/elements/gstfilesink.c: (_do_init),
9469         (gst_file_sink_base_init), (gst_file_sink_class_init),
9470         (gst_file_sink_init), (gst_file_sink_dispose),
9471         (gst_file_sink_set_location), (gst_file_sink_set_property),
9472         (gst_file_sink_get_property), (gst_file_sink_open_file),
9473         (gst_file_sink_close_file), (gst_file_sink_query),
9474         (gst_file_sink_event), (gst_file_sink_render),
9475         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9476         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9477         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9478         * gst/elements/gstfilesink.h:
9479         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9480         (gst_file_src_class_init), (gst_file_src_init),
9481         (gst_file_src_finalize), (gst_file_src_set_location),
9482         (gst_file_src_set_property), (gst_file_src_get_property),
9483         (gst_file_src_map_region), (gst_file_src_map_small_region),
9484         (gst_file_src_create_mmap), (gst_file_src_create_read),
9485         (gst_file_src_create), (gst_file_src_is_seekable),
9486         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9487         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9488         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9489         (gst_file_src_uri_handler_init):
9490         * gst/elements/gstfilesrc.h:
9491           more autistic cleanliness in functions/names/defines
9492
9493 2005-07-13  Andy Wingo  <wingo@pobox.com>
9494
9495         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9496         source couldn't negotiate.
9497
9498         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9499         connections again.
9500
9501         * gst/gstutils.h:
9502         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9503         function. I am channeling Hades. Put your boots on suckers!!!
9504
9505 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9506
9507         * testsuite/caps/Makefile.am:
9508         * testsuite/caps/value_compare.c:
9509         * testsuite/caps/value_intersect.c:
9510         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9511           move two testsuite apps over to the check dir
9512
9513 2005-07-12  Wim Taymans  <wim@fluendo.com>
9514
9515         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9516         Added more debug info in the negotiate process.
9517
9518         * gst/gstmessage.h:
9519         Prepare for segment playback.
9520
9521         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9522         Better debugging.
9523
9524         * gst/gstutils.c:
9525         Some more docs.
9526
9527         * tools/gst-launch.c: (main):
9528         NULL pipeline on errors.
9529
9530 2005-07-12  Andy Wingo  <wingo@pobox.com>
9531
9532         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9533         not it comes from a malloc region. Make sure our copy gets freed.
9534
9535 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9536
9537         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9538         * check/gst/gstmessage.c: (GST_START_TEST):
9539         * check/gst/gststructure.c: (GST_START_TEST),
9540         (gst_structure_suite), (main):
9541           more testing
9542         * gst/gstelement.c: (gst_element_message_full):
9543           clean up GError and debug string now that they get copied
9544         * gst/gstmessage.c: (gst_message_new_error),
9545         (gst_message_new_warning), (gst_message_parse_error),
9546         (gst_message_parse_warning):
9547           use GST_TYPE_G_ERROR for structure_new, and take copies of
9548           arguments, so that we don't mess up refcounting
9549
9550 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9551
9552         * check/Makefile.am:
9553           add per-test valgrind targets
9554         * check/gst-libs/gdp.c: (GST_START_TEST),
9555         (gst_data_protocol_suite), (main):
9556           clean up
9557
9558 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9559
9560         * check/Makefile.am:
9561           instate more valgrindable tests
9562         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9563         (GST_START_TEST), (fakesrc_suite):
9564         * check/gst/gstpad.c: (GST_START_TEST):
9565         * check/gst/gststructure.c: (GST_START_TEST):
9566           fix test leaks
9567         * docs/gst/tmpl/gstminiobject.sgml:
9568         * gst/gstpad.c: (gst_pad_finalize):
9569           fix the static mutex leak
9570
9571 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9572
9573         * check/Makefile.am:
9574           add two more tests for valgrinding
9575         * check/gst/gstvalue.c: (GST_START_TEST):
9576           test refcount of deserialized buffer, found a leak
9577         * docs/gst/gstreamer-docs.sgml:
9578         * docs/gst/gstreamer-sections.txt:
9579         * docs/gst/gstreamer.types:
9580         * docs/gst/tmpl/gstminiobject.sgml:
9581           add miniobject to docs
9582         * gst/gstminiobject.c:
9583           add some docs
9584         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9585         (gst_string_unwrap):
9586           fix a hard-to-find invalid write for one of the tests
9587           fix a leak for deserialized buffers
9588
9589 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9590
9591         * docs/pwg/advanced-events.xml:
9592         * docs/pwg/advanced-request.xml:
9593         * docs/pwg/advanced-scheduling.xml:
9594         * docs/pwg/appendix-porting.xml:
9595         * docs/pwg/building-boiler.xml:
9596         * docs/pwg/intro-preface.xml:
9597         * docs/pwg/other-ntoone.xml:
9598           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9599           of example code and explanation for pad activation, loop() and
9600           getrange() functions and a bit more. Remove old comments pointing
9601           to loop-functions.
9602         * examples/pwg/Makefile.am:
9603           Add loop/getrange examples.
9604
9605 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9606
9607         * configure.ac:
9608           check for valgrind binary + some fixes
9609         * check/gst.supp:
9610           valgrind suppressions for the tests
9611         * check/Makefile.am:
9612           add a valgrind: target that valgrinds the unit tests
9613         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9614         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9615         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9616         * check/gst/gstghostpad.c:
9617           added some cleanup
9618         * check/gst/gstdata.c:
9619           removed
9620         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9621         (thread_unref), (gst_mini_object_suite), (main):
9622           added
9623         * gst/gst.c: (gst_deinit):
9624         * gst/gst.h:
9625           add a method to clean up.
9626         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9627         (gst_system_clock_obtain):
9628           allow for disposing the system clock.
9629         * tools/gst-launch.c: (main):
9630           deinit
9631
9632 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9633
9634         * docs/gst/tmpl/gstbasesrc.sgml:
9635         * docs/gst/tmpl/gstfakesrc.sgml:
9636         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9637         (gst_base_src_init), (gst_base_src_set_property),
9638         (gst_base_src_get_property), (gst_base_src_get_range),
9639         (gst_base_src_start):
9640         * gst/base/gstbasesrc.h:
9641           add num-buffers property
9642         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9643         (gst_fakesrc_init), (gst_fakesrc_set_property),
9644         (gst_fakesrc_get_property), (gst_fakesrc_create),
9645         (gst_fakesrc_start):
9646           remove num-buffers property
9647
9648 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9649
9650         * docs/gst/gstreamer-sections.txt:
9651         * docs/gst/tmpl/gstbasesink.sgml:
9652         * docs/gst/tmpl/gstbasesrc.sgml:
9653         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9654         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9655         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9656         (gst_base_sink_set_property), (gst_base_sink_get_property),
9657         (gst_base_sink_handle_object), (gst_base_sink_event),
9658         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9659         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9660         (gst_base_sink_loop), (gst_base_sink_deactivate),
9661         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9662         (gst_base_sink_change_state):
9663         * gst/base/gstbasesink.h:
9664         * gst/base/gstbasesrc.h:
9665         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9666         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9667         (gst_filesink_init):
9668           more macro splitting
9669
9670 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9671
9672         * gst/gstelement.c: (gst_element_get_bus):
9673           add debug
9674         * tools/gst-launch.c: (check_intr), (event_loop):
9675           fix bus leaks
9676
9677 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9678
9679         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9680           fix a caps leak
9681
9682 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9683
9684         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9685         (gst_base_src_finalize):
9686           add finalize method and clean up properly
9687         * gst/gstpipeline.c: (gst_pipeline_dispose):
9688           add debug
9689
9690 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9691
9692         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9693         (gst_bin_suite):
9694           add more things to check
9695         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9696         * gst/gstelement.c:
9697           more debug
9698
9699 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9700
9701         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9702         (GST_START_TEST), (fakesrc_suite):
9703         * check/gst-libs/gdp.c: (GST_START_TEST):
9704         * check/gst/gst.c: (GST_START_TEST):
9705         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9706         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9707         * check/gst/gstbus.c: (GST_START_TEST):
9708         * check/gst/gstcaps.c: (GST_START_TEST):
9709         * check/gst/gstdata.c: (GST_START_TEST):
9710         * check/gst/gstelement.c: (GST_START_TEST):
9711         * check/gst/gstghostpad.c: (GST_START_TEST):
9712         * check/gst/gstiterator.c: (GST_START_TEST):
9713         * check/gst/gstmessage.c: (GST_START_TEST):
9714         * check/gst/gstobject.c: (GST_START_TEST):
9715         * check/gst/gstpad.c: (GST_START_TEST):
9716         * check/gst/gststructure.c: (GST_START_TEST):
9717         * check/gst/gstsystemclock.c: (GST_START_TEST),
9718         (gst_systemclock_suite):
9719         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9720         * check/gst/gstvalue.c: (GST_START_TEST):
9721         * check/pipelines/cleanup.c: (GST_START_TEST):
9722         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9723         * check/states/sinks.c: (GST_START_TEST):
9724         * check/gstcheck.c: (gst_check_init):
9725         * check/gstcheck.h:
9726           add debugging category
9727           use GST_START_TEST now, so we add a debug line
9728
9729 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9730
9731         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9732           add test for state change message on a bin
9733         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9734           add another test
9735         * gst/gstbin.c: (gst_bin_init):
9736         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9737         * gst/gstelement.c: (gst_element_post_message),
9738         (gst_element_set_state):
9739         * gst/gstelementfactory.c: (gst_element_factory_create):
9740         * gst/gstmessage.c: (gst_message_new):
9741         * gst/gstscheduler.c:
9742           various debugging additions and cleanups
9743
9744 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9745
9746         * check/Makefile.am:
9747         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9748         (main):
9749           adding tests for elements
9750         * gst/gstelement.c: (gst_element_dispose):
9751
9752 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9753
9754         * gst/registries/gstlibxmlregistry.c: (load_feature):
9755           plug more leaks.  A simple gst_init() now is leakfree, yay.
9756
9757 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9758
9759         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9760         (gst_xml_registry_load):
9761           plug another memleak
9762
9763 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9764
9765         * configure.ac:
9766           use GST_SET_ERROR_CFLAGS
9767         * docs/faq/cvs.xml:
9768           change to ERROR_CFLAGS
9769
9770 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9771
9772         * configure.ac:
9773           make GST_ERROR_CFLAGS overridable and re-enable Werror
9774         * docs/faq/cvs.xml:
9775           add a note about error CFLAGS
9776         * docs/gst/tmpl/gstfakesrc.sgml:
9777         * gst/elements/gstfakesrc.c:
9778           comment out some unused code
9779         * gst/gst.c: (split_and_iterate):
9780         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9781         (load_feature):
9782           plug some memleaks
9783
9784 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9785
9786         * common/Makefile.am:
9787         * common/gtk-doc.mak:
9788         * docs/gst/Makefile.am:
9789           factor out gtk-doc.mak
9790
9791 2005-07-07  Wim Taymans  <wim@fluendo.com>
9792
9793         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9794         (gst_thread_scheduler_dispose):
9795         Unlock the STREAM_LOCK completely.
9796
9797 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9798
9799         * check/Makefile.am:
9800         * check/elements/.cvsignore:
9801         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9802         (START_TEST), (fakesrc_suite), (main):
9803         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9804         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9805         (gst_fakesrc_create), (gst_fakesrc_start):
9806         * gst/elements/gstfakesrc.h:
9807           adding a first element test
9808
9809 2005-07-07  Andy Wingo  <wingo@pobox.com>
9810
9811         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9812         debug message.
9813
9814 2005-07-07  Wim Taymans  <wim@fluendo.com>
9815
9816         * gst/gstquery.c:
9817         * gst/gstquery.h:
9818         Remove old types
9819
9820 2005-07-07  Wim Taymans  <wim@fluendo.com>
9821
9822         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9823         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9824         Allow subclasses to implement their own negotiation.
9825
9826 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9827
9828         * docs/design/part-gstbin.txt:
9829         * docs/design/part-gstpipeline.txt:
9830           Update design notes to reflect the movement of
9831           responsibility for bus handling from GstPipeline to
9832           GstBin
9833
9834 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9835
9836         * configure.ac:
9837           Remove unnecessary queue2/3/4 examples.
9838
9839 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9840
9841         * examples/Makefile.am:
9842         * examples/helloworld/helloworld.c: (event_loop), (main):
9843         * examples/queue/queue.c: (event_loop), (main):
9844         * examples/queue2/queue2.c: (main):
9845           Update a couple of the examples to work again.
9846
9847         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9848         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9849          Spelling corrections and extra debug.
9850         
9851         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9852         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9853         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9854         * gst/gstbin.h:
9855         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9856         (gst_pipeline_change_state):
9857         * gst/gstpipeline.h:
9858           Move the bus handler for children to the GstBin, and create a
9859           separate bus for receiving messages from children to the one the
9860           bus sends 'upwards' on.
9861
9862 2005-07-06  Wim Taymans  <wim@fluendo.com>
9863
9864         * gst/base/README:
9865         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9866         (gst_base_sink_handle_object), (gst_base_sink_loop),
9867         (gst_base_sink_change_state):
9868         * gst/base/gstbasesink.h:
9869         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9870         (gst_base_src_init), (gst_base_src_setcaps),
9871         (gst_base_src_getcaps), (gst_base_src_loop),
9872         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9873         (gst_base_src_start), (gst_base_src_change_state):
9874         * gst/base/gstbasesrc.h:
9875         Make basesrc negotiate.
9876         Handle the case where preroll fails in basesink.
9877         Update README.
9878
9879 2005-07-06  Wim Taymans  <wim@fluendo.com>
9880
9881         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9882         Implement the fixate function.
9883         Clean up acceptcaps.
9884
9885 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9886
9887         * docs/pwg/building-filterfactory.xml:
9888         * docs/pwg/pwg.xml:
9889           Remove never-written filter-factory chapter; I'll add the various
9890           base classes to part 4 ("other element types") later on.
9891
9892 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9893
9894         * docs/pwg/advanced-negotiation.xml:
9895         * docs/pwg/building-boiler.xml:
9896         * docs/pwg/building-pads.xml:
9897         * docs/pwg/pwg.xml:
9898         * examples/pwg/Makefile.am:
9899           Add a chapter on caps negotiation, simplify the original code
9900           samples a bit w.r.t. caps negotiation, add link to the advanced
9901           section. Add a bunch of examples showing different use cases of
9902           different types of caps negotiation. Upstream renegotiation isn't
9903           fully documented yet since nobody knows how that works.
9904
9905 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9906
9907         * check/gst/gstpad.c:
9908         * check/gstcheck.c:
9909         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9910           if pad has no parent, return NULL as list of internal links
9911
9912 2005-07-05  Andy Wingo  <wingo@pobox.com>
9913
9914         * gst/elements/gstfilesrc.c:
9915         * gst/elements/gstfakesrc.c: 
9916         * gst/base/gstpushsrc.c:
9917         * gst/base/gstbasesrc.h: 
9918         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9919         
9920 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9921
9922         * Makefile.am:
9923           better report generation target (lcov needs a patch)
9924
9925 2005-07-05  Andy Wingo  <wingo@pobox.com>
9926
9927         * gst/elements, testsuite: Null if we got it...
9928
9929 2005-07-05  Wim Taymans  <wim@fluendo.com>
9930
9931         * configure.ac:
9932         * libs/gst/dataprotocol/Makefile.am:
9933         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9934         * libs/gst/dataprotocol/dataprotocol.h:
9935         * pkgconfig/Makefile.am:
9936         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9937         * pkgconfig/gstreamer-dataprotocol.pc.in:
9938         Ported dataprotol to 0.9. 
9939         Added pkgconfig files.
9940
9941 2005-07-05  Andy Wingo  <wingo@pobox.com>
9942
9943         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9944         Default to returning TRUE for the case when tranform_caps returns
9945         a fixed caps, like for identity or volume.
9946
9947         * check/gst/gstbus.c (pound_bus_with_messages): 
9948         * check/gst/gstmessage.c (START_TEST): 
9949         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9950         message API change.
9951
9952         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9953         logic weaks here: always run transform_caps, trying passthrough
9954         operation only if the original caps intersects with the transform.
9955
9956         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9957         source and sink caps.
9958
9959         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9960         Intersect the peer caps with the pad template before going into
9961         transform_caps.
9962         (gst_base_transform_transform_caps): More debugging.
9963
9964         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9965         src argument.
9966
9967 2005-07-04  Edward Hervey  <edward@fluendo.com>
9968
9969         * gst/gstutils.c:
9970         * gst/gstutils.h:
9971         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9972         in bindings.
9973
9974 2005-07-04  Andy Wingo  <wingo@pobox.com>
9975
9976         * check/gst/gstpad.c: Only set explicit caps on pads.
9977
9978 2005-07-01  Andy Wingo  <wingo@pobox.com>
9979
9980         * tests/network-clock.scm: Commentary update.
9981
9982         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9983         Didn't really make sense, not implementable with basetransform,
9984         etc.
9985         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9986         attempt at implementing the sync property, needs an unlock method.
9987
9988         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9989         New func, by default returns the same caps (the identity
9990         transformation).
9991         (gst_base_transform_getcaps): Uses transform_caps to return
9992         something sensible.
9993         (gst_base_transform_setcaps): Complicated logic to get caps on
9994         both pads, even if they are different, and to call set_caps once
9995         for every time both pads get their caps set.
9996         (gst_base_transform_handle_buffer): Give the ref to the transform
9997         function. Allows in-place modification of the buffer.
9998
9999         * gst/base/gstbasetransform.h (transform_caps): New class method.
10000         Given caps on one side, what can I do on the other.
10001         (set_caps): Take two caps, one for each side of the element.
10002
10003         * gst/gstpad.h:
10004         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10005         caps in place. This is safe because we can check the mutability of
10006         the caps, and a good idea because fixate functions are just called
10007         as a matter of last resort. (Not actually implemented.)
10008         (gst_pad_set_caps): If the caps we're setting is actually the same
10009         as the existing pad caps, just update the pointer without calling
10010         setcaps. Assert that caps is either NULL or fixed, as per the
10011         docs.
10012
10013         * gst/gstghostpad.c: Update for fixate changes.
10014
10015 2005-07-02  Andy Wingo  <wingo@pobox.com>
10016
10017         * gst/gstcaps.c:
10018         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10019         two refcounts makes it immutable, which is enough. Doc more.
10020
10021 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
10022
10023         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10024           Put the mini_object into GValue as a mini_object,
10025           not a gpointer, since that's how we declared
10026           the signal.
10027
10028 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10029
10030         * examples/pwg/Makefile.am:
10031           Fix buildbot again.
10032
10033 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10034
10035         * docs/pwg/building-testapp.xml:
10036           Add extra check.
10037         * examples/pwg/Makefile.am:
10038           Fix buildbot.
10039
10040 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10041
10042         * configure.ac:
10043         * examples/Makefile.am:
10044         * examples/pwg/Makefile.am:
10045         * examples/pwg/extract.pl:
10046           Enable building the PWG examples.
10047         * docs/pwg/advanced-interfaces.xml:
10048           Add URI interface stub.
10049         * docs/pwg/advanced-types.xml:
10050         * docs/pwg/other-autoplugger.xml:
10051         * docs/pwg/appendix-porting.xml:
10052         * docs/pwg/pwg.xml:
10053           Add porting guide (mostly stubs), remove autoplugging (see ADM).
10054         * docs/pwg/building-boiler.xml:
10055         * docs/pwg/building-chainfn.xml:
10056         * docs/pwg/building-pads.xml:
10057         * docs/pwg/building-props.xml:
10058         * docs/pwg/building-state.xml:
10059         * docs/pwg/building-testapp.xml:
10060           Update the building-*.xml parts for 0.9 changes. All examples
10061           code blocks compile in examples/pwg/*.
10062
10063 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10064
10065         * docs/manual/advanced-autoplugging.xml:
10066         * docs/manual/appendix-checklist.xml:
10067         * docs/manual/appendix-integration.xml:
10068         * docs/manual/highlevel-components.xml:
10069           Fix playbin/decodebin examples, update docs a bit, mention bus
10070           instead of signals in various places, mention kmplayer and
10071           kaffeine since they have a working GStreamer backend in the KDE
10072           section.
10073
10074 2005-06-30  Wim Taymans  <wim@fluendo.com>
10075
10076         * CHANGES-0.9:
10077         * docs/design/draft-ghostpads.txt:
10078         * docs/design/draft-push-pull.txt:
10079         * docs/design/draft-query.txt:
10080         * docs/design/part-TODO.txt:
10081         * docs/design/part-query.txt:
10082         Added CHANGES-0.9 doc, updated status of other docs.
10083         
10084         * gst/gstquery.h:
10085         Remove "hmm" macro
10086
10087 2005-06-30  Wim Taymans  <wim@fluendo.com>
10088
10089         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10090         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10091         (gst_base_sink_change_state):
10092         * gst/base/gstbasesink.h:
10093         Some tweaks, only EOS and a buffer complete a preroll.
10094
10095 2005-06-30  Andy Wingo  <wingo@pobox.com>
10096
10097         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10098         activate_push down to the internal pad as well.
10099
10100 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
10101
10102         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10103
10104         * gst/gsttaginterface.c:
10105           Some documentation fixes (#307394 and #307397).
10106
10107 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
10108
10109         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10110
10111         * gst/gstvalue.c: (gst_value_intersect_list):
10112           Fix memleak (#309125).
10113
10114 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10115
10116         * docs/manual/advanced-dataaccess.xml:
10117           Fix fakesrc example to compile; doesn't work, bug somewhere...?
10118         * docs/manual/basics-pads.xml:
10119           Add reference for filtered caps to above chapter.
10120
10121 2005-06-30  Wim Taymans  <wim@fluendo.com>
10122
10123         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10124         (gst_bin_change_state):
10125         Probes are gone.
10126         Lame attempt at making the state change function a bit
10127         more readable.
10128
10129 2005-06-30  Wim Taymans  <wim@fluendo.com>
10130
10131         * docs/design/part-clocks.txt:
10132         * docs/design/part-element-sink.txt:
10133         * docs/design/part-events.txt:
10134         * docs/design/part-preroll.txt:
10135         * docs/design/part-states.txt:
10136         Some more tweeks and additions to the docs.
10137
10138 2005-06-30  Wim Taymans  <wim@fluendo.com>
10139
10140         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10141         (default_have_data), (gst_pad_class_init), (gst_pad_init),
10142         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10143         (gst_pad_check_pull_range), (gst_pad_get_range),
10144         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10145         * gst/gstpad.h:
10146         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10147         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10148         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10149         (gst_pad_remove_buffer_probe):
10150         Removed atomic operations, use existing LOCK.
10151         Move exception handling out of main code path.
10152
10153 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10154
10155         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10156         (silly_return_true_function), (gst_pad_class_init),
10157         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10158         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10159         (gst_pad_send_event):
10160           Fix accumulator, add default value by using _emitv() instead
10161           of _emit() for signal emission.
10162
10163 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10164
10165         * docs/manual/advanced-dataaccess.xml:
10166         * examples/manual/Makefile.am:
10167           Add probe example.
10168         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10169           Make work (??).
10170
10171 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
10172
10173         * gst/elements/gstfilesink.c: (gst_filesink_render):
10174           Simplify code so that we don't have to handle short
10175           writes and return GST_FLOW_ERROR if an error occured.
10176
10177 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10178
10179         * docs/gst/gstreamer-docs.sgml:
10180           Remove probes more.
10181
10182 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10183
10184         * docs/gst/gstreamer-sections.txt:
10185         * docs/gst/tmpl/gstpad.sgml:
10186         * docs/gst/tmpl/gstprobe.sgml:
10187         * gst/Makefile.am:
10188         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10189         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10190         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10191         (gst_pad_push_event), (gst_pad_send_event):
10192         * gst/gstpad.h:
10193         * gst/gstutils.c: (gst_pad_add_data_probe),
10194         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10195         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10196         (gst_pad_remove_buffer_probe):
10197         * gst/gstutils.h:
10198           Remove old probes, add new g-signal-based probes and some utility
10199           functions.
10200
10201 2005-06-29  Edward Hervey  <edward@fluendo.com>
10202
10203         * gst/gstelementfactory.c:
10204         * gst/gstutils.h:
10205         * gst/gstutils.c:
10206         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10207         the definition to the header file.
10208
10209 2005-06-29  Andy Wingo  <wingo@pobox.com>
10210
10211         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10212         plugins from the source directory.
10213
10214 2005-06-29  Wim Taymans  <wim@fluendo.com>
10215
10216         * docs/gst/tmpl/gstbuffer.sgml:
10217         * docs/gst/tmpl/gstclock.sgml:
10218         Some fixings for blantently wrong text.
10219
10220 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10221
10222         * check/Makefile.am:
10223         * gst/gst.c: (add_path_func), (init_pre):
10224         * gst/gstregistry.c: (gst_registry_add_path):
10225           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10226           only scan the GST_PLUGIN_PATH locations, and not add
10227           system locations
10228
10229 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10230
10231         * docs/gst/gstreamer-sections.txt:
10232         * docs/gst/tmpl/gstbasesrc.sgml:
10233         * gst/gstelement.c:
10234         * gst/gstelement.h:
10235         * gst/gstevent.c:
10236         * gst/gstutils.c:
10237           doc fixes
10238
10239 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10240
10241         * docs/manual/advanced-autoplugging.xml:
10242           Fix autoplugging example.
10243
10244 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10245
10246         * docs/manual/advanced-autoplugging.xml:
10247         * docs/manual/mime-world.fig:
10248           Try to get autoplugging working, fix type detection. Fix text
10249           in hello-world image.
10250
10251 2005-06-29  Wim Taymans  <wim@fluendo.com>
10252
10253         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10254         (gst_base_sink_change_state):
10255         Small debug line.
10256
10257         * gst/gstclock.h:
10258         map SIGNAL and BROADCAST to the right function.
10259
10260         * gst/gstobject.h:
10261         Remove redundant braces.
10262
10263         * gst/gstpad.c: (gst_pad_set_caps):
10264         Don't call setcaps function when reseting caps to NULL.
10265
10266         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10267         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10268         (gst_system_clock_id_unschedule):
10269         Use BROADCAST as this is what we do.
10270
10271 2005-06-29  Wim Taymans  <wim@fluendo.com>
10272
10273         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10274         We are actually prerolling before commiting the state
10275         change. 
10276
10277 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10278
10279         * docs/manual/advanced-clocks.xml:
10280         * docs/manual/advanced-interfaces.xml:
10281         * docs/manual/advanced-metadata.xml:
10282         * docs/manual/advanced-position.xml:
10283         * docs/manual/advanced-schedulers.xml:
10284         * docs/manual/advanced-threads.xml:
10285         * docs/manual/appendix-porting.xml:
10286         * docs/manual/basics-bins.xml:
10287         * docs/manual/basics-bus.xml:
10288         * docs/manual/basics-elements.xml:
10289         * docs/manual/basics-helloworld.xml:
10290         * docs/manual/basics-pads.xml:
10291         * docs/manual/highlevel-components.xml:
10292         * docs/manual/manual.xml:
10293         * docs/manual/thread.fig:
10294           Update (until threads/scheduling) Application Development Manual;
10295           remove GstThread, add GstBus, add simple porting checklist, add
10296           documentation for tag writing, clocks, make all examples until this
10297           part compile and run.
10298         * examples/manual/Makefile.am:
10299           Update from changes to Application Development Manual; add bus
10300           example, remove thread example.
10301
10302 2005-06-28  Wim Taymans  <wim@fluendo.com>
10303
10304         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10305         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10306         (gst_bus_source_dispatch):
10307         Add debugging messages.
10308         Make internal methods static.
10309         Handle the case where the bus is flushed in the handler.
10310         
10311         * gst/gstelement.c: (gst_element_get_bus):
10312         Fix refcount in _get_bus();
10313
10314         * gst/gstpipeline.c: (gst_pipeline_change_state),
10315         (gst_pipeline_get_clock_func):
10316         Clock refcounting fixes.
10317         Handle the case where preroll timed out more gracefully.
10318         
10319         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10320         Clean up the internal thread in dispose. This is needed
10321         for subclasses that actually get disposed.
10322         
10323         * gst/schedulers/threadscheduler.c:
10324         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10325         (gst_thread_scheduler_dispose):
10326         Free thread pool in dispose.
10327
10328 2005-06-28  Andy Wingo  <wingo@pobox.com>
10329
10330         * tests/network-clock-utils.scm (debug, print-event): New utils.
10331
10332         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10333         (*packet-loss*): Unified loss probability.
10334         (network-time): Report out-of-band events.
10335
10336         * tests/plot-data: Add support for out-of-band events. Hack it
10337         into this script instead of passing it down the pipe; should fix
10338         this later.
10339
10340 2005-06-28  Wim Taymans  <wim@fluendo.com>
10341
10342         * docs/gst/gstreamer.types:
10343         * docs/gst/tmpl/gstbasesrc.sgml:
10344         * docs/gst/tmpl/gstpad.sgml:
10345         Docs fixes.
10346
10347 2005-06-28  Wim Taymans  <wim@fluendo.com>
10348
10349         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10350         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10351         (gst_proxy_pad_do_fixatecaps):
10352         Correctly proxy the check_pull_range function.
10353
10354 2005-06-28  Andy Wingo  <wingo@pobox.com>
10355
10356         * tests/network-clock.scm: Removed need for slib.
10357         
10358 2005-06-28  Wim Taymans  <wim@fluendo.com>
10359
10360         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10361         (gst_basesink_preroll_queue_flush):
10362         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10363         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10364         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10365         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10366         (gst_proxy_pad_set_property):
10367         * gst/gstpad.c:
10368         * gst/gstpad.h:
10369         * gst/gstqueue.c: (gst_queue_init):
10370         The deprecated pad loop function is removed now.
10371
10372 2005-06-28  Andy Wingo  <wingo@pobox.com>
10373
10374         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10375         New parameters, simulate network packet loss.
10376
10377         * tests/network-clock-utils.scm: Initialize the RNG.
10378
10379 2005-06-28  Wim Taymans  <wim@fluendo.com>
10380
10381         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10382         (gst_basesink_event), (gst_basesink_deactivate):
10383         Flushing the preroll queue always needs to unlock the waiters.
10384
10385 2005-06-28  Edward Hervey  <edward@fluendo.com>
10386
10387         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10388         Wheen a seek was successful on a pipeline, set the stream_time to the
10389         seek offset in order to have a synchronized stream_time.
10390
10391 2005-06-28  Wim Taymans  <wim@fluendo.com>
10392
10393         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10394         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10395         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10396         (gst_proxy_pad_do_fixatecaps):
10397         Call wrapper function instead of just calling the function
10398         pointers. This takes care of any locking and whatmore.
10399
10400 2005-06-28  Wim Taymans  <wim@fluendo.com>
10401
10402         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10403         (gst_pad_pull_range):
10404         * gst/gstpad.h:
10405         CONNECTED -> LINKED.
10406
10407 2005-06-28  Andy Wingo  <wingo@pobox.com>
10408
10409         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10410         source-munging commit!!!
10411
10412         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10413         (gst_object_sink): Take gpointer arguments, not GstObject --
10414         avoids casts. Like GLib.
10415
10416         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10417         activate.
10418
10419 2005-06-27  Andy Wingo  <wingo@pobox.com>
10420
10421         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10422         remaining buffer.
10423
10424         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10425         returns a sorted copy of the trace list.
10426         (gst_alloc_trace_print_live): New API, only prints traces with
10427         live objects. Sort the list.
10428         (gst_alloc_trace_print_all): Sort the list.
10429         (gst_alloc_trace_print): Align columns.
10430
10431         * gst/elements/gstttypefindelement.c:
10432         * gst/elements/gsttee.c:
10433         * gst/base/gstbasesrc.c:
10434         * gst/base/gstbasesink.c:
10435         * gst/base/gstbasetransform.c:
10436         * gst/gstqueue.c: Adapt for pad activation changes.
10437
10438         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10439         sched.
10440         (gst_pipeline_dispose): Drop ref on sched.
10441
10442         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10443         (gst_pad_activate_default): Push mode by default.
10444         (pre_activate_switch, post_activate_switch): New stubs, things to
10445         do before and after switching activation modes on pads.
10446         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10447         the pad's activate function to choose which mode to activate.
10448         Shortcut on deactivation and call the right function directly.
10449         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10450         mode.
10451         (gst_pad_activate_push): New API, same for push mode.
10452         (gst_pad_set_activate_function) 
10453         (gst_pad_set_activatepull_function) 
10454         (gst_pad_set_activatepush_function): Setters for new API.
10455
10456         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10457         Trace all miniobjects.
10458         (gst_mini_object_make_writable): Unref the arg if we copy, like
10459         gst_caps_make_writable.
10460
10461         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10462
10463         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10464         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10465         Adapt for new pad API.
10466
10467         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10468
10469         * gst/gstelement.h:
10470         * gst/gstelement.c (gst_element_iterate_src_pads) 
10471         (gst_element_iterate_sink_pads): New API functions.
10472         
10473         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10474         should fold into gstiterator.c in some form.
10475         (gst_element_pads_activate): Simplified via use of fold and
10476         delegation of decisions to gstpad->activate.
10477
10478         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10479         help in debugging.
10480
10481         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10482         class once in init, like gstmessage. Didn't run into this issue
10483         but it seems correct. Don't initialize a trace, gstminiobject does
10484         that.
10485
10486         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10487         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10488         to the bus.
10489         (assert_live_count): New util function, uses alloc traces to check
10490         cleanup.
10491
10492         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10493         To be modified when unlink drops the internal pad.
10494
10495 2005-06-27  Wim Taymans  <wim@fluendo.com>
10496
10497         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10498         (gst_bin_change_state):
10499         Cleanup the get_state() function a little, make sure it
10500         iterates the same set of elements.
10501         Added stub iterate_state_order().
10502
10503 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10504
10505         * docs/gst/gstreamer-docs.sgml:
10506         * docs/gst/gstreamer-sections.txt:
10507         * docs/gst/gstreamer.types:
10508         * docs/gst/tmpl/gstbasesink.sgml:
10509         * docs/gst/tmpl/gstbasesrc.sgml:
10510         * docs/gst/tmpl/gstbasetransform.sgml:
10511         * docs/gst/tmpl/gstelement.sgml:
10512         * docs/gst/tmpl/gstiterator.sgml:
10513         * gst/base/gstbasesrc.c:
10514         * gst/base/gstbasesrc.h:
10515         * gst/base/gstbasetransform.h:
10516         * gst/gstelement.c:
10517         * gst/gstiterator.h:
10518           adding basetransform and iterator docs
10519
10520 2005-06-27  Andy Wingo  <wingo@pobox.com>
10521
10522         * docs/design/part-activation.txt: Notes on how activation should
10523         work -- not quite implemented yet.
10524
10525 2005-06-25  Wim Taymans  <wim@fluendo.com>
10526
10527         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10528         At least get the chain function correct, needs more
10529         fixing.
10530
10531 2005-06-25  Wim Taymans  <wim@fluendo.com>
10532
10533         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10534         (gst_basesink_handle_object), (gst_basesink_event),
10535         (gst_basesink_do_sync), (gst_basesink_handle_event),
10536         (gst_basesink_change_state):
10537         * gst/gsttask.h:
10538         Right, two problems here: ghostpads don't take locks and
10539         glib _rec_mutex_lock_full() with depth==0 still locks.
10540         Catch illegal locking and g_warn them.
10541
10542 2005-06-25  Wim Taymans  <wim@fluendo.com>
10543
10544         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10545         Have to check for completion now...
10546
10547 2005-06-25  Wim Taymans  <wim@fluendo.com>
10548
10549         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10550         (gst_basesink_handle_object), (gst_basesink_event),
10551         (gst_basesink_do_sync), (gst_basesink_handle_event),
10552         (gst_basesink_change_state):
10553         * gst/gstpad.h:
10554         Unlock STREAM_LOCK whatever the recursion was.
10555
10556 2005-06-25  Wim Taymans  <wim@fluendo.com>
10557
10558         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10559         (gst_basesink_preroll_queue_empty),
10560         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10561         (gst_basesink_event), (gst_basesink_do_sync),
10562         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10563         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10564         (gst_basesink_change_state):
10565         Reworked the base sink, handle event and buffer serialisation
10566         correctly and removed possible deadlock.
10567         Handle EOS correctly.
10568
10569 2005-06-25  Wim Taymans  <wim@fluendo.com>
10570
10571         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10572         (gst_pipeline_change_state):
10573         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10574         Allow elements to post EOS in the state change function.
10575         Fix up -launch, make it exit the poll loop when the
10576         pipeline actually changed state.
10577         Fix up warning parsing in -launch.
10578
10579 2005-06-25  Wim Taymans  <wim@fluendo.com>
10580
10581         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10582         (gst_tee_sink_activate):
10583         Core takes STREAM_LOCK for us now.
10584
10585 2005-06-25  Wim Taymans  <wim@fluendo.com>
10586
10587         * gst/gstelement.c: (gst_element_get_state_func),
10588         (gst_element_set_state):
10589         * gst/gstelement.h:
10590         * gst/gstmessage.c: (gst_message_parse_error),
10591         (gst_message_parse_warning):
10592         Keep track of current target state while performing a state
10593         change so that subclasses can do something interesting.
10594         Fix parsing of warning/error messages when GError is NULL.
10595
10596 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10597
10598         * docs/gst/Makefile.am:
10599         * docs/gst/gstreamer-docs.sgml:
10600         * docs/gst/gstreamer-sections.txt:
10601         * docs/gst/gstreamer.types:
10602         * docs/gst/tmpl/gstbasesink.sgml:
10603         * docs/gst/tmpl/gstbasesrc.sgml:
10604         * docs/gst/tmpl/gstbin.sgml:
10605         * docs/gst/tmpl/gstcompat.sgml:
10606         * docs/gst/tmpl/gstfakesink.sgml:
10607         * docs/gst/tmpl/gstfakesrc.sgml:
10608         * docs/gst/tmpl/gstfilesink.sgml:
10609         * docs/gst/tmpl/gstfilesrc.sgml:
10610         * docs/gst/tmpl/gstindex.sgml:
10611         * docs/manual/appendix-quotes.xml:
10612         * gst/base/gstbasesrc.h:
10613         * gst/elements/gstfakesrc.h:
10614         * gst/gstmessage.h:
10615           start pulling in base classes and elements in our docs
10616
10617 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10618
10619         * docs/gst/Makefile.am:
10620         * docs/libs/Makefile.am:
10621           fixed make distcheck with gtk-doc 1.3
10622
10623 2005-06-23  Wim Taymans  <wim@fluendo.com>
10624
10625         * gst/gstelement.c: (gst_element_get_state_func),
10626         (gst_element_set_state), (gst_element_change_state):
10627         When the state did not change, also report NO_PREROLL
10628         when it matters.
10629
10630 2005-06-23  Wim Taymans  <wim@fluendo.com>
10631
10632         * gst/gstpad.c: (gst_pad_event_default):
10633         * gst/gstqueue.c: (gst_queue_loop):
10634         No unsafe task pausing please.
10635
10636 2005-06-23  Wim Taymans  <wim@fluendo.com>
10637
10638         * gst/schedulers/threadscheduler.c:
10639         (gst_thread_scheduler_task_start),
10640         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10641         Ref the task before pushing it on the threadpool. This
10642         makes sure that we have a ref when the threadfunction is
10643         actually called.
10644
10645 2005-06-23  Andy Wingo  <wingo@pobox.com>
10646
10647         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10648         offset is greater than the file's size.
10649
10650         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10651         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10652         * gst/gstobject.c (gst_object_class_init): Make the class lock
10653         recursive. Wim won't let me drop deep_notify. Decodebin works
10654         again, whoopdy doo.
10655
10656         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10657         internal pad, and hacks accordingly. Doesn't do it on the target
10658         pad because we change its caps. Probably catches all cases of
10659         interest tho.
10660         (gst_ghost_pad_set_property): Connect to notify::caps as
10661         appropritate.
10662
10663         * tests/network-clock.scm (plot-simulation): Pipe data to the
10664         elite python skript.
10665
10666         * tests/network-clock-utils.scm (define-parameter): New macro,
10667         defines a parameter that can be set via the command line.
10668         (set-parameter!, parse-parameter-arguments): Command line args
10669         parser.
10670
10671         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10672         stdin.
10673
10674 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10675
10676         * gst/elements/gsttypefindelement.c:
10677         (gst_type_find_element_handle_event):
10678           Don't restart typefinding on a discont.
10679         * gst/gstelement.c: (gst_element_set_state):
10680           Debug spelling fix.
10681         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10682           Allow changing mode of an active pad.
10683           Debug output fixes.
10684         * gst/registries/gstlibxmlregistry.c: (load_feature):
10685           Don't cast a static pad template to a normal pad template.
10686
10687 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10688
10689         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10690         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10691           remove gst_strtoll completely, since it didn't actually do
10692           anything more than what g_ascii_strtoull already does.
10693           check for range errors when deserializing
10694           do a cast for the unsigned cases; but further fixing needs
10695           a decision on what the interpretation of "(int)" and
10696           deserialization should be for values that fall outside the
10697           type's boundaries (ie, refuse, or interpret as casting)
10698
10699 2005-06-23  Wim Taymans  <wim@fluendo.com>
10700
10701         * check/Makefile.am:
10702         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10703         * docs/design/part-live-source.txt:
10704         * docs/design/part-states.txt:
10705         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10706         (gst_basesrc_set_live), (gst_basesrc_is_live),
10707         (gst_basesrc_get_range), (gst_basesrc_activate),
10708         (gst_basesrc_change_state):
10709         * gst/base/gstbasesrc.h:
10710         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10711         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10712         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10713         * gst/gstelement.c: (gst_element_get_state_func),
10714         (gst_element_set_state):
10715         * gst/gstelement.h:
10716         * gst/gsttypes.h:
10717         * tools/gst-launch.c: (event_loop), (main):
10718         Added support for live sources and other elements that
10719         cannot do preroll.
10720         Updated design docs, added live-source design doc.
10721         Implemented live source functionality in basesrc
10722         Fix error condition in _bin_get_state()
10723         Implement live source handling in -launch.
10724         Added check for live sources.
10725         Fixed case in GstBin where elements were changed state
10726         multiple times.
10727
10728
10729 2005-06-23  Andy Wingo  <wingo@pobox.com>
10730
10731         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10732         borken refcounting.
10733
10734         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10735         gst_caps_replace takes care of this for us.
10736
10737         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10738         gst_pad_set_caps on the target, not just its setcaps() function.
10739
10740         * tests/network-clock.scm: 
10741         * tests/network-clock-utils.scm: A network clock simulator.
10742         Something of an algorithmic testbed before doing something in C.
10743
10744 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10745
10746         * check/Makefile.am:
10747         * check/gst/capslist.h:
10748           copy over from 0.8, and add two with bitmasks specified with
10749           (int) 0xFF...
10750         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10751           add test to parse everything from capslist.h
10752         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10753         (main):
10754           add test for structure deserialization
10755         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10756           add tests for deserialization of strings to int types
10757         * gst/gststructure.c: (gst_structure_nth_field_name):
10758         * gst/gststructure.h:
10759           add a way to get the name of a field referenced by index
10760         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10761           instead of checking if the resulting long long lies between
10762           min and max, we check if the long long would fit into
10763           a number of bytes for the final type.
10764           This fixes cases where a string represents 2^32 - 1, which
10765           when cast to int would be the (valid) -1, but is bigger than
10766           G_MAXINT
10767
10768 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10769
10770         * gst/parse/grammar.y:
10771           add a log line for type deserialization
10772
10773 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10774
10775         * check/gst/gstvalue.c: (START_TEST):
10776         * gst/gstvalue.c: (gst_value_deserialize):
10777           return long long, not int, so gint64 deserialization actually
10778           works.  Is there any flag that makes the compiler check this ?
10779           Fixes #308559
10780
10781 2005-06-22  Wim Taymans  <wim@fluendo.com>
10782
10783         * gst/gstbuffer.h:
10784         Added convenience macros for setting buffers in GValue.
10785
10786 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10787
10788         * check/gst/.cvsignore:
10789         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10790           add a test deserializing int64, and comment part out because
10791           it fails, yay !
10792
10793 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10794
10795         * check/Makefile.am:
10796         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10797         * testsuite/Makefile.am:
10798         * testsuite/caps/Makefile.am:
10799         * testsuite/caps/value_serialize.c:
10800         * testsuite/test_gst_init.c:
10801           move a value_serialize test over
10802
10803 2005-06-20  Wim Taymans  <wim@fluendo.com>
10804
10805         * gst/gstpad.c:
10806         Small doc updates.
10807         
10808         * gst/gstvalue.c: (gst_value_compare_buffer),
10809         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10810         (gst_value_compare_flags), (gst_value_serialize_flags),
10811         (gst_value_deserialize_flags), (_gst_value_initialize):
10812         Fix serialisation of buffers, they are not boxed types anymore
10813
10814 2005-06-20  Wim Taymans  <wim@fluendo.com>
10815
10816         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10817         Testcase to show error in buffer-on-caps serialisation.
10818
10819 2005-06-20  Andy Wingo  <wingo@pobox.com>
10820
10821         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10822         will be adding to later.
10823
10824         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10825         if its socks fill with rocks.
10826         (gst_system_clock_obtain): Set the name on object construction.
10827         Avoid double-checked locking.
10828
10829 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10830
10831         * gst/gsturi.c: (gst_element_make_from_uri):
10832           Fix potential endless loop.
10833
10834 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10835
10836         * check/Makefile.am:
10837           add gsttag
10838         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10839         (main):
10840           move over from testsuite dir and clean up
10841         * configure.ac:
10842         * gst/gsttag.c:
10843         * testsuite/Makefile.am:
10844         * testsuite/tags/.cvsignore:
10845         * testsuite/tags/Makefile.am:
10846         * testsuite/tags/merge.c:
10847           remove testsuite/tags
10848
10849 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10850
10851         * docs/gst/gstreamer-sections.txt:
10852         * docs/gst/tmpl/gstenumtypes.sgml:
10853         * win32/gstenumtypes.c:
10854           clean up documentation build a little
10855
10856 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10857
10858         * check/gstcheck.h:
10859           add macros for checking refcounts on objects and caps
10860         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10861           add some more unit tests
10862         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10863         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10864           fix leaked refcounts (I hope :)) so unittest works
10865         * gst/gstpad.h:
10866           whitespace removal
10867
10868 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10869
10870         * configure.ac: back to HEAD
10871
10872 === release 0.9.1 ===
10873
10874 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10875
10876         * NEWS:
10877         * RELEASE:
10878           updated
10879
10880 2005-06-17  Andy Wingo  <wingo@pobox.com>
10881
10882         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10883         assert; it's always possible that the pad gets deactivated in
10884         between the checks in gstpad.c and the implementation. Rely on
10885         finish_preroll() to return a FLUSHING or similar instead of on the
10886         assert.
10887         
10888         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10889         clock and post an EOS message if we come out of finish_preroll in
10890         the playing state.
10891
10892 2005-06-16  David Schleef  <ds@schleef.org>
10893
10894         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10895         (gst_capsfilter_set_property): Allow NULL as possible value
10896         for filter_caps property, indicating GST_CAPS_ANY.
10897
10898 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10899
10900         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10901           fix debug output
10902         * gst/schedulers/Makefile.am:
10903           use libgst prefix
10904         * gstreamer.spec.in:
10905           fix spec for it
10906
10907 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10908
10909         * gstreamer.spec.in:
10910           clean up
10911
10912 2005-06-08  Andy Wingo  <wingo@pobox.com>
10913
10914         * gst/gstutils.c: RPAD fixes all around.
10915         (gst_element_link_pads): Refcounting fixes.
10916
10917         * tools/gst-inspect.c:
10918         * tools/gst-xmlinspect.c:
10919         * parse/grammar.y:
10920         * gst/base/gsttypefindhelper.c:
10921         * gst/base/gstbasesink.c:
10922         * gst/gstqueue.c: RPAD fixes.
10923
10924         * gst/gstghostpad.h:
10925         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10926         pads. The tricky thing is they provide both source and sink
10927         interfaces, since they proxy the internal pad for the external
10928         pad, and vice versa. Implement with lower-level ProxyPad objects,
10929         with the interior proxy pad as a child of the exterior ghost pad.
10930         Should write a doc on this.
10931         
10932         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10933         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10934         gst_object API.
10935         
10936         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10937         pads are real pads. No ghost pads in this file. Not documenting
10938         the myriad s/RPAD/PAD/ and REALIZE fixes.
10939         (gst_pad_class_init): Add properties for "direction" and
10940         "template". Both are construct-only, so they can't change during
10941         the life of the pad. Fixes properly deriving from GstPad.
10942         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10943         derived objects, just set properties when creating the objects via
10944         g_object_new.
10945         (gst_pad_get_parent): Implement as a function, return NULL if the
10946         parent is not an element.
10947         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10948         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10949         
10950         * gst/gstobject.c (gst_object_class_init): Make name a construct
10951         property. Don't set it in the object init.
10952
10953         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10954         with UNKNOWN direction.
10955         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10956         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10957         (gst_element_remove_pad): Remove ghost-pad special cases.
10958         (gst_element_pads_activate): Remove rpad cruft.
10959
10960         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10961         catch the pad's-parent-not-an-element case.
10962
10963         * gst/gst.h: Include gstghostpad.h.
10964
10965         * gst/gst.c (init_post): No more real, ghost pads.
10966
10967         * gst/Makefile.am: Add gstghostpad.[ch].
10968
10969         * check/Makefile.am:
10970         * check/gst/gstbin.c:
10971         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10972         into a bin creates ghost pads, and that the refcounts are right.
10973         Partly moved from gstbin.c.
10974
10975 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10976
10977         * check/gst-libs/.cvsignore:
10978         * check/gst/.cvsignore:
10979         * check/pipelines/.cvsignore:
10980           ignore more
10981         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10982         (START_TEST), (cleanup_suite), (main):
10983           add some tests related to cleanup after running pipelines
10984
10985 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10986
10987         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10988           add a testsuite for GstBuffer
10989
10990 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10991
10992         * gst/gstminiobject.h:
10993           add defines for accessing the refcount
10994
10995 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10996
10997         * Makefile.am: added support for html unit test coverage reports
10998
10999 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
11000
11001         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11002           Free existing caps if the capsfilter changes. Add a FIXME about
11003           setting those caps on the pads.
11004
11005         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11006           Before adding a ghost pad to a parent bin, check that there isn't
11007           already one for the element on the bin. Prevents infinite recursion
11008           when using decodebin in parse pipelines. Andy says he'll rewrite the
11009           way this works anyway, so ignore the hack.
11010
11011 2005-06-02  Andy Wingo  <wingo@pobox.com>
11012
11013         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11014         file size, pass it on to the type find helper.
11015
11016         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11017         segment_start and segment_end properly according to the seek
11018         method. Segment_end is still a bit flaky because offset can be
11019         negative for CUR and END cases, but it takes -1 as an "unset"
11020         value.
11021
11022 2005-06-02  Wim Taymans  <wim@fluendo.com>
11023
11024         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11025         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11026         (gst_basesink_activate):
11027         * gst/base/gstbasesink.h:
11028         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11029         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11030         (gst_pad_query), (gst_pad_start_task):
11031         * gst/gstpad.h:
11032         * gst/gstqueue.c: (gst_queue_bufferalloc),
11033         (gst_queue_handle_sink_event), (gst_queue_chain):
11034         Bufferalloc: return GstFlowReturn to more accuratly report
11035         why allocation failed.
11036
11037 2005-06-02  Wim Taymans  <wim@fluendo.com>
11038
11039         * gst/gstpipeline.c: (gst_pipeline_send_event):
11040         Take snapshot of state without blocking.
11041
11042 2005-06-02  Wim Taymans  <wim@fluendo.com>
11043
11044         * docs/design/part-TODO.txt:
11045         * docs/design/part-caps.txt:
11046         * docs/design/part-clocks.txt:
11047         * docs/design/part-negotiation.txt:
11048         * docs/design/part-preroll.txt:
11049         Small doc updates 
11050
11051 2005-05-30  Wim Taymans  <wim@fluendo.com>
11052
11053         * gst/elements/gstidentity.c: (gst_identity_event),
11054         (gst_identity_transform), (gst_identity_get_property):
11055         Protect last_message property as it is accessed from
11056         multiple threads.
11057
11058 2005-05-30  Wim Taymans  <wim@fluendo.com>
11059
11060         * gst/gstelement.c: (gst_element_init),
11061         (gst_element_pads_activate), (gst_element_change_state):
11062         Slicker pad activation code.
11063
11064 2005-05-30  Wim Taymans  <wim@fluendo.com>
11065
11066         * gst/Makefile.am:
11067         * gst/gstelement.h:
11068         * gst/gstelementfactory.h:
11069         * gst/gsttypes.h:
11070         Move elementfactory methods to separate .h file.
11071
11072 2005-05-30  Wim Taymans  <wim@fluendo.com>
11073
11074         * docs/design/part-overview.txt:
11075         * gst/gstsystemclock.h:
11076         Small typo fixes, doc updates.
11077
11078 2005-05-30  Wim Taymans  <wim@fluendo.com>
11079
11080         * gst/gst.c: (gst_init_get_popt_table), (init_post),
11081         (init_popt_callback):
11082         Remove cpu-opt flag.
11083
11084 2005-05-30  Wim Taymans  <wim@fluendo.com>
11085
11086         * gst/gstbuffer.c: (gst_subbuffer_finalize),
11087         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11088         * gst/gstbuffer.h:
11089         Avoid typechecking in places where not needed.
11090         Added accessor for malloc_data.
11091
11092 2005-05-30  Wim Taymans  <wim@fluendo.com>
11093
11094         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11095         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11096         (gst_pad_configure_sink), (gst_pad_configure_src),
11097         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11098         (gst_pad_start_task):
11099         Propagate errors from _set_caps() in configure_src/sink
11100         functions instead of returning TRUE.
11101         FLUSH events can travel up and downstream
11102
11103
11104 2005-05-30  Wim Taymans  <wim@fluendo.com>
11105
11106         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11107         (gst_basesink_activate):
11108         Handle EOS in preroll.
11109
11110 2005-05-30  Wim Taymans  <wim@fluendo.com>
11111
11112         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11113         (gst_queue_loop), (gst_queue_handle_src_event):
11114         Remove old pieces of code
11115         Flushing the queue in an upstream event is a very bad idea.
11116
11117 2005-05-26  Andy Wingo  <wingo@pobox.com>
11118
11119         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11120         gst_value_set_mini_object so as to add a ref on the object (which
11121         will be removed when the value is unset).
11122
11123         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11124         arg type in ::handoff.
11125
11126         * gst/gstelement.c (gst_element_change_state): Also deactivate
11127         pads in READY->NULL, just in case the element didn't make it to
11128         PAUSED. Wingo tested, Wim approved.
11129
11130 2005-05-26  Wim Taymans  <wim@fluendo.com>
11131
11132         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11133         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11134         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11135         A flushing pad cannot be used to alloc_buffer from.
11136
11137 2005-05-26  Wim Taymans  <wim@fluendo.com>
11138
11139         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11140         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11141         (gst_bus_source_dispatch), (gst_bus_source_finalize),
11142         (gst_bus_create_watch), (gst_bus_add_watch_full):
11143         * gst/gstbus.h:
11144         Implement a real GSource and use g_main_context_wakeup() to
11145         signal new messages instead of the socketpair.
11146
11147 2005-05-25  Wim Taymans  <wim@fluendo.com>
11148
11149         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11150         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11151         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11152         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11153         (gst_pad_send_event), (gst_pad_start_task):
11154         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11155         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11156         (gst_queue_sink_activate), (gst_queue_src_activate),
11157         (gst_queue_change_state):
11158         * gst/gstqueue.h:
11159         Fix state changes for non sinks. We now change sinks, then elements
11160         with unconnected srcpads, then the rest.
11161         More efficient queue unlocking in flush and state changes.
11162         Set the pad activate mode even if it does not have an activate
11163         function.
11164
11165 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11166
11167         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11168           Don't go in pull mode for non-seekable sources.
11169         * gst/elements/gsttypefindelement.h:
11170         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11171         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11172         (free_entry), (stop_typefinding),
11173         (gst_type_find_element_handle_event), (find_peek),
11174         (gst_type_find_element_chain), (do_pull_typefind),
11175         (gst_type_find_element_change_state):
11176           Allow typefinding (w/o seeking) in push-mode, simplified version
11177           of what was in 0.8.
11178         * gst/gstutils.c: (gst_buffer_join):
11179         * gst/gstutils.h:
11180           gst_buffer_join() from 0.8.
11181
11182 2005-05-25  Wim Taymans  <wim@fluendo.com>
11183
11184         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11185         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11186         (gst_pad_send_event), (gst_pad_start_task):
11187         Disable attempt at mode switching until it is figured out.
11188
11189 2005-05-25  Wim Taymans  <wim@fluendo.com>
11190
11191         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11192         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11193         (gst_basesink_finish_preroll), (gst_basesink_chain),
11194         (gst_basesink_loop), (gst_basesink_activate),
11195         (gst_basesink_change_state):
11196         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11197         (gst_basesrc_get_range), (gst_basesrc_loop),
11198         (gst_basesrc_activate):
11199         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11200         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11201         (gst_real_pad_init), (gst_real_pad_set_property),
11202         (gst_real_pad_get_property), (gst_pad_set_active),
11203         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11204         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11205         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11206         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11207         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11208         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11209         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11210         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11211         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11212         (gst_pad_stop_task):
11213         * gst/gstpad.h:
11214         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11215         (gst_queue_loop), (gst_queue_src_activate):
11216         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11217         (gst_task_get_state):
11218         * gst/gsttask.h:
11219         * gst/schedulers/threadscheduler.c:
11220         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11221         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11222         in task function.
11223         Remove ACTIVE pad flag, use FLUSHING everywhere
11224         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11225         functions.
11226         Add locks around IS_FLUSHING when reading.
11227         Take STREAM lock in chain(), get_range() functions so plugins
11228         don't need to take it anymore.
11229         
11230
11231
11232 2005-05-25  Wim Taymans  <wim@fluendo.com>
11233
11234         * tools/gst-launch.c: (event_loop):
11235         Unref message after using its contents instead of
11236         before.
11237
11238 2005-05-24  Wim Taymans  <wim@fluendo.com>
11239
11240         * docs/design/draft-ghostpads.txt:
11241         * docs/design/draft-push-pull.txt:
11242         * docs/design/draft-query.txt:
11243         * docs/design/part-overview.txt:
11244         Docs updates, added general overview doc.
11245
11246 2005-05-21  David Schleef  <ds@schleef.org>
11247
11248         * docs/gst/tmpl/old/GstBin.sgml:
11249         * docs/gst/tmpl/old/GstBuffer.sgml:
11250         * docs/gst/tmpl/old/GstCaps.sgml:
11251         * docs/gst/tmpl/old/GstClock.sgml:
11252         * docs/gst/tmpl/old/GstCompat.sgml:
11253         * docs/gst/tmpl/old/GstData.sgml:
11254         * docs/gst/tmpl/old/GstElement.sgml:
11255         * docs/gst/tmpl/old/GstEvent.sgml:
11256         * docs/gst/tmpl/old/GstIndex.sgml:
11257         * docs/gst/tmpl/old/GstStructure.sgml:
11258         * docs/gst/tmpl/old/GstTag.sgml:
11259         * docs/gst/tmpl/old/cothreads.sgml:
11260         * docs/gst/tmpl/old/cothreads_compat.sgml:
11261         * docs/gst/tmpl/old/gettext.sgml:
11262         * docs/gst/tmpl/old/gobject2gtk.sgml:
11263         * docs/gst/tmpl/old/grammar.tab.sgml:
11264         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11265         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11266         * docs/gst/tmpl/old/gst_private.sgml:
11267         * docs/gst/tmpl/old/gstaggregator.sgml:
11268         * docs/gst/tmpl/old/gstarch.sgml:
11269         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11270         * docs/gst/tmpl/old/gstbufferstore.sgml:
11271         * docs/gst/tmpl/old/gstdata_private.sgml:
11272         * docs/gst/tmpl/old/gstdisksink.sgml:
11273         * docs/gst/tmpl/old/gstdisksrc.sgml:
11274         * docs/gst/tmpl/old/gstelementfactory.sgml:
11275         * docs/gst/tmpl/old/gstextratypes.sgml:
11276         * docs/gst/tmpl/old/gstfakesink.sgml:
11277         * docs/gst/tmpl/old/gstfakesrc.sgml:
11278         * docs/gst/tmpl/old/gstfdsink.sgml:
11279         * docs/gst/tmpl/old/gstfdsrc.sgml:
11280         * docs/gst/tmpl/old/gstfilesink.sgml:
11281         * docs/gst/tmpl/old/gstfilesrc.sgml:
11282         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11283         * docs/gst/tmpl/old/gstidentity.sgml:
11284         * docs/gst/tmpl/old/gstindexfactory.sgml:
11285         * docs/gst/tmpl/old/gstmarshal.sgml:
11286         * docs/gst/tmpl/old/gstmd5sink.sgml:
11287         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11288         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11289         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11290         * docs/gst/tmpl/old/gstpipefilter.sgml:
11291         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11292         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11293         * docs/gst/tmpl/old/gstshaper.sgml:
11294         * docs/gst/tmpl/old/gstspider.sgml:
11295         * docs/gst/tmpl/old/gstspideridentity.sgml:
11296         * docs/gst/tmpl/old/gststatistics.sgml:
11297         * docs/gst/tmpl/old/gsttee.sgml:
11298         * docs/gst/tmpl/old/gsttimecache.sgml:
11299         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11300         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11301         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11302         * docs/gst/tmpl/old/types.sgml:
11303           I didn't intend to add these or check them in.
11304
11305 2005-05-19  David Schleef  <ds@schleef.org>
11306
11307         * configure.ac: Use -no-common everywhere.  In a sane world, it
11308           would be the default in libtool, because without it, you can't
11309           build DLLs on Windows.
11310         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11311         * docs/gst/gstreamer-sections.txt:
11312         * docs/gst/tmpl/gstcpu.sgml:
11313         * docs/gst/tmpl/gstdata.sgml:
11314         * docs/gst/tmpl/gstthread.sgml:
11315
11316 2005-05-19  David Schleef  <ds@schleef.org>
11317
11318         * gst/gstminiobject.c: (gst_value_set_mini_object),
11319         (gst_value_take_mini_object), (gst_value_get_mini_object):
11320         * gst/gstminiobject.h: Add GValue set/get functions.
11321
11322 2005-05-19  Wim Taymans  <wim@fluendo.com>
11323
11324         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11325         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11326         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11327         * gst/gstbuffer.h:
11328         * gst/gstbus.c: (gst_bus_post):
11329         * gst/gstelement.c: (gst_element_get_random_pad):
11330         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11331         Make subbufer unref the parent in finalize.
11332         some more debugging info.
11333
11334
11335 2005-05-19  Wim Taymans  <wim@fluendo.com>
11336
11337         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11338         (gst_basesink_init), (gst_basesink_finalize),
11339         (gst_basesink_activate), (gst_basesink_change_state):
11340         Don't free preroll queue too early.
11341
11342 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11343
11344         * gst/Makefile.am:
11345         * gst/ROADMAP:
11346           Hi, I'm outdated. Please shoot me.
11347
11348 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11349
11350         * gst/gstpipeline.c: (gst_pipeline_send_event):
11351           Do not access variables after they have been deleted.
11352
11353 2005-05-19  Wim Taymans  <wim@fluendo.com>
11354
11355         * tools/gst-inspect.c: (print_plugin_features):
11356         A plugin feature does unfortunatly not use the
11357         object name yet...
11358
11359 2005-05-18  Wim Taymans  <wim@fluendo.com>
11360
11361         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11362         Port _span() functions to new subbuffers.
11363
11364 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11365
11366         * gst/gstbin.c: (gst_bin_add_func):
11367           Fix clock settery in bins when adding kids after the clock has
11368           been selected.
11369
11370 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11371
11372         * gst/elements/gstidentity.c: (gst_identity_class_init):
11373           Workaround until signals support GstMiniObject.
11374
11375 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11376
11377         * gst/gstbuffer.c:
11378         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11379
11380 2005-05-18  Wim Taymans  <wim@fluendo.com>
11381
11382         * gst/base/Makefile.am:
11383         * gst/base/gstadapter.c: (gst_adapter_base_init),
11384         (gst_adapter_class_init), (gst_adapter_init),
11385         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11386         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11387         (gst_adapter_flush), (gst_adapter_available),
11388         (gst_adapter_available_fast):
11389         * gst/base/gstadapter.h:
11390         Ported and added adapter to the base classes.
11391
11392 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11393
11394         * gst/gst.c:
11395         * gst/gstmessage.c:
11396           Make sure the class is reffed/unreffed once before threads can be
11397           used.  Fixes #304551.
11398
11399 2005-05-17  Wim Taymans  <wim@fluendo.com>
11400
11401         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11402         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11403         * gst/gstminiobject.c: (gst_mini_object_get_type),
11404         (gst_mini_object_free):
11405         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11406         (gst_pad_push), (gst_pad_push_event):
11407         * gst/gstqueue.c: (gst_queue_change_state):
11408         Don't queue buffers in basesink when we are flushing.
11409         Unref buffer when flushing in basesink.
11410         Flush queue when going to READY
11411         Unref buffer when _push() returns an error.
11412         Don't free MiniObject instance when refcount is incremented
11413         in _finalize() so that we can recover objects.
11414
11415 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11416
11417         * docs/manual/advanced-schedulers.xml:
11418         * docs/manual/appendix-checklist.xml:
11419         * docs/pwg/advanced-clock.xml:
11420         * docs/pwg/advanced-interfaces.xml:
11421         * docs/pwg/advanced-request.xml:
11422         * docs/pwg/advanced-types.xml:
11423         * docs/pwg/intro-preface.xml:
11424         * examples/plugins/example.c: (gst_example_get_type),
11425         (gst_example_class_init), (gst_example_chain),
11426         (gst_example_set_property), (gst_example_get_property),
11427         (gst_example_change_state), (plugin_init):
11428         * examples/plugins/example.h:
11429           small doc fixes
11430
11431 2005-05-17  Wim Taymans  <wim@fluendo.com>
11432
11433         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11434         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11435         * gst/gstqueue.c: (gst_queue_change_state):
11436         Clear queue when going to READY.
11437         Remove IN_SETCAPS flag too.
11438
11439 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11440
11441         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11442           Remove implicit cast from gboolean to GstElementStateReturn;
11443           make sure we still return failure in paused => ready case if
11444           the parent class fails to change state and our own stop 
11445           vfunc succeeds.
11446
11447 2005-05-17  Wim Taymans  <wim@fluendo.com>
11448
11449         * tools/gst-launch.c: (event_loop):
11450         Message was unreffed too soon.
11451
11452 2005-05-16  Andy Wingo  <wingo@pobox.com>
11453
11454         * gst/gstbin.c (sink_iterator_filter): Err... um...
11455
11456         * check/gst/gstbin.c (test_ghost_pads): New test for the
11457         ghosting-if-elements-not-in-same-bin behavior.
11458
11459 2005-05-16  David Schleef  <ds@schleef.org>
11460
11461         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11462         accessing refcount directly.
11463
11464 2005-05-15  David Schleef  <ds@schleef.org>
11465
11466         * check/Makefile.am: remove GstData checks
11467         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11468         * gst/Makefile.am: add miniobject, remove data
11469         * gst/gst.h: add miniobject, remove data
11470         * gst/gstdata.c: remove
11471         * gst/gstdata.h: remove
11472         * gst/gstdata_private.h: remove
11473         * gst/gsttypes.h: remove GstEvent and GstMessage
11474         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11475         * gst/gstmarshal.list: change BOXED -> OBJECT
11476
11477         Implement GstMiniObject.
11478         * gst/gstminiobject.c:
11479         * gst/gstminiobject.h:
11480
11481         Modify to be subclasses of GstMiniObject.
11482         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11483         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11484         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11485         (gst_subbuffer_get_type), (gst_subbuffer_init),
11486         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11487         (gst_buffer_span):
11488         * gst/gstbuffer.h:
11489         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11490         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11491         (_gst_event_copy), (gst_event_new):
11492         * gst/gstevent.h:
11493         * gst/gstmessage.c: (_gst_message_initialize),
11494         (gst_message_get_type), (gst_message_class_init),
11495         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11496         (gst_message_new), (gst_message_new_error),
11497         (gst_message_new_warning), (gst_message_new_tag),
11498         (gst_message_new_state_changed), (gst_message_new_application):
11499         * gst/gstmessage.h:
11500         * gst/gstprobe.c: (gst_probe_perform),
11501         (gst_probe_dispatcher_dispatch):
11502         * gst/gstprobe.h:
11503         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11504         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11505         (_gst_query_copy), (gst_query_new):
11506
11507         Update elements for GstData -> GstMiniObject changes
11508         * gst/gstquery.h:
11509         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11510         (gst_queue_chain), (gst_queue_loop):
11511         * gst/elements/gstbufferstore.c:
11512         (gst_buffer_store_add_buffer_func),
11513         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11514         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11515         (gst_fakesink_render):
11516         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11517         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11518         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11519         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11520         (gst_filesrc_create_read):
11521         * gst/elements/gstidentity.c: (gst_identity_class_init):
11522         * gst/elements/gsttypefindelement.c:
11523         (gst_type_find_element_src_event), (free_entry_buffers),
11524         (gst_type_find_element_handle_event):
11525         * libs/gst/dataprotocol/dataprotocol.c:
11526         (gst_dp_header_from_buffer):
11527         * libs/gst/dataprotocol/dataprotocol.h:
11528         * libs/gst/dataprotocol/dp-private.h:
11529
11530 2005-05-15  David Schleef  <ds@schleef.org>
11531
11532         * gst/elements/gstelements.c: Don't include headers that were
11533         just removed.
11534
11535 2005-05-15  David Schleef  <ds@schleef.org>
11536
11537         * gst/elements/Makefile.am: Remove some elements that don't
11538         need to be in the core (or even exist at all).
11539         * gst/elements/gstaggregator.c:
11540         * gst/elements/gstaggregator.h:
11541         * gst/elements/gstmd5sink.c:
11542         * gst/elements/gstmd5sink.h:
11543         * gst/elements/gstmultifilesrc.c:
11544         * gst/elements/gstmultifilesrc.h:
11545         * gst/elements/gstpipefilter.c:
11546         * gst/elements/gstpipefilter.h:
11547         * gst/elements/gstshaper.c:
11548         * gst/elements/gstshaper.h:
11549         * gst/elements/gststatistics.c:
11550         * gst/elements/gststatistics.h:
11551         * po/POTFILES.in: Remove above files.
11552
11553 2005-05-14  Andy Wingo  <wingo@pobox.com>
11554
11555         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11556         so as to get the refs right.
11557         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11558         unreffing objects that don't pass the filter.
11559
11560         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11561         gst_element_set_bus.
11562         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11563         normal cases, this will destroy the bus.
11564
11565         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11566         object.
11567
11568         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11569         has no sinks.
11570
11571 2005-05-13  Andy Wingo  <wingo@pobox.com>
11572
11573         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11574         gst_pad_link, call pad_link_maybe_ghosting,
11575         (pad_link_maybe_ghosting): Links pads, making sure that the
11576         elements being linked are in the same bin.
11577         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11578         Helpers for pad_link_maybe_ghosting.
11579
11580 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11581
11582         * configure.ac:
11583           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11584
11585 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11586
11587         * docs/design/part-element-source.txt:
11588           Mention GstPushSrc
11589
11590 2005-05-12  Wim Taymans  <wim@fluendo.com>
11591
11592         * gst/base/gstbasesink.c: (gst_basesink_init),
11593         (gst_basesink_activate):
11594         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11595         (gst_basesrc_is_seekable):
11596         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11597         (bin_element_is_sink), (gst_bin_change_state):
11598         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11599         * gst/gstelement.h:
11600         Identify sinks by their flag to avoid overly complicated
11601         checks (fow now).
11602         Do state changes even for elements not reachable from the
11603         sinks.
11604         BaseSink is a sink now :)
11605         Some more debugging info in the basesrc.
11606
11607
11608 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11609
11610         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11611           Implement _query on a bin, similar to _send_event.
11612
11613 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11614
11615         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11616           Discont event offset format should be GST_FORMAT_BYTES,
11617           not GST_FORMAT_TIME.
11618
11619 2005-05-12  Wim Taymans  <wim@fluendo.com>
11620
11621         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11622         Same fix as Ronald's but without the signal. 
11623
11624 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11625
11626         * gst/gstutils.c: (gst_element_query_position):
11627           No, an element is not a pad.
11628
11629 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11630
11631         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11632         (gst_bin_get_state):
11633           If a child is removed from a bin while we remove the child from
11634           the bin and while we're retrieving its state, signal this to the
11635           get_state function so we abort the wait (instead of waiting for
11636           a timeout) and can immediately re-iterate over all other elements.
11637
11638 2005-05-12  Wim Taymans  <wim@fluendo.com>
11639
11640         * gst/base/Makefile.am:
11641         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11642         (gst_basesrc_start):
11643         * gst/base/gstbasesrc.h:
11644         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11645         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11646         (gst_pushsrc_init), (gst_pushsrc_create):
11647         * gst/base/gstpushsrc.h:
11648         Added is_seekable to BaseSrc
11649         Added simple PushSrc.
11650
11651 2005-05-11  Wim Taymans  <wim@fluendo.com>
11652
11653         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11654         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11655         (gst_element_link_pads), (gst_element_query_position),
11656         (gst_element_query_convert), (intersect_caps_func),
11657         (gst_pad_query_position), (gst_pad_query_convert):
11658         Fix refcounting in utils function.
11659         No point in trying to activate a pad when it's added, it could
11660         be added from the state change function and then we deadlock, the
11661         element has to decide what to do.
11662
11663 2005-05-10  Andy Wingo  <wingo@pobox.com>
11664
11665         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11666         *all* the arguments.
11667
11668         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11669         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11670         lock (according to the docs -- if this is wrong change the docs).
11671
11672         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11673         flush messages in the NULL state.
11674
11675         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11676         message immediately and return.
11677         (gst_bus_set_flushing): New function. If a bus is flushing, it
11678         flushes out any queued messages and immediately unrefs new
11679         messages. This is so when an element goes to NULL, all of the
11680         unhandled messages coming from it can be freed, and their
11681         references to the element dropped. In other words: message source
11682         ref considered harmful :P
11683
11684         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11685         we're finished with it.
11686
11687         * gst/gstmessage.c (gst_message_new_state_changed): 
11688
11689 2005-05-10  Wim Taymans  <wim@fluendo.com>
11690
11691         * gst/gstvalue.c: (gst_value_compare_flags),
11692         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11693         (_gst_value_initialize):
11694         Added flags serialize/deserialize/compare code.
11695
11696 2005-05-09  Andy Wingo  <wingo@pobox.com>
11697
11698         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11699         Intersect the peer's caps with our caps.
11700
11701 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11702
11703         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11704         * gst/elements/gsttypefindelement.c: (find_peek):
11705           Handle negative offsets better. Fixes decodebin.
11706
11707 2005-05-09  Wim Taymans  <wim@fluendo.com>
11708
11709         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11710         (gst_base_transform_event):
11711         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11712         Implement accept_caps.
11713         Fix silly lock/unlock mismatch in base class.
11714
11715 2005-05-09  Wim Taymans  <wim@fluendo.com>
11716
11717         * docs/design/draft-push-pull.txt:
11718         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11719         * gst/elements/gstfilesink.c: (gst_filesink_init),
11720         (gst_filesink_query):
11721         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11722         (gst_type_find_handle_src_query), (find_element_get_length):
11723         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11724         * gst/gstelement.h:
11725         * gst/gstmessage.c:
11726         * gst/gstmessage.h:
11727         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11728         (gst_real_pad_get_caps_unlocked),
11729         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11730         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11731         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11732         (gst_real_pad_dispose), (gst_real_pad_finalize),
11733         (gst_pad_load_and_link), (gst_pad_save_thyself),
11734         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11735         (gst_pad_check_pull_range), (gst_pad_pull_range),
11736         (gst_pad_template_get_type), (gst_pad_template_class_init),
11737         (gst_pad_template_init), (gst_pad_template_dispose),
11738         (name_is_valid), (gst_static_pad_template_get),
11739         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11740         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11741         (gst_pad_get_element_private), (gst_pad_start_task),
11742         (gst_pad_pause_task), (gst_pad_stop_task),
11743         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11744         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11745         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11746         (gst_ghost_pad_new):
11747         * gst/gstpad.h:
11748         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11749         (gst_query_new_position), (gst_query_set_position),
11750         (gst_query_parse_position), (gst_query_new_convert),
11751         (gst_query_set_convert), (gst_query_parse_convert):
11752         * gst/gstquery.h:
11753         * gst/gstqueryutils.c:
11754         * gst/gstqueryutils.h:
11755         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11756         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11757         (gst_queue_handle_src_query):
11758         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11759         (gst_element_query_position), (gst_element_query_convert),
11760         (intersect_caps_func), (gst_pad_query_position),
11761         (gst_pad_query_convert):
11762         * gst/gstutils.h:
11763         * tools/gst-inspect.c: (print_pad_info):
11764         * tools/gst-xmlinspect.c: (print_element_info):
11765         Remove old query functions. Ported old code.
11766         Added position/convert helper functions to gstutils.
11767         Reordered gstpad.c code, grouping relevant things.
11768         Remove gst_message_new(), always need to speficy a specific
11769         message.
11770
11771
11772 2005-05-09  Andy Wingo  <wingo@pobox.com>
11773
11774         * gst/gstiterator.h: Add some includes.
11775
11776         * gst/gstqueryutils.h: Include more headers.
11777
11778         * gst/gstpad.h:
11779         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11780         some uses of gst_pad_query.
11781
11782         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11783         NULL out parameters.
11784         (gst_query_new_position): New proc, allocates a new position
11785         query.
11786
11787         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11788         gstqueryutils.c to the build.
11789
11790         * gst/gststructure.c (gst_structure_set_valist): Implement with
11791         the generic G_VALUE_COLLECT.
11792         
11793 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11794
11795         * gst/Makefile.am: (gst_headers):
11796         Added gstqueryutils.h to the list of headers to install, that was
11797         a 'nachty' move wingo :)
11798
11799 2005-05-06  Andy Wingo  <wingo@pobox.com>
11800
11801         * gst/gstquery.h
11802         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11803         GstData, init a memchunk.
11804         (standard_definitions): Add a few query types, deprecate a few.
11805         (gst_query_get_type): New proc.
11806         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11807         implementation.
11808         (gst_query_new_application, gst_query_get_structure): New public
11809         procs.
11810
11811         * docs/design/draft-query.txt: Removed LINKS from the query types,
11812         because all the rest can be dispatched to other pads -- seemed
11813         ugly to have a query that couldn't be dispatched. internal_links
11814         is fine as a pad method.
11815
11816         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11817         in gstpad.c, but maintain binary compatibility for the moment.
11818         Will fix before 0.9 is out.
11819
11820         * gst/gstqueryutils.c: 
11821         * gst/gstqueryutils.h: New files, implement 3 methods for each
11822         query type: parse_query, parse_response, and set. Probably need an
11823         allocator as well.
11824
11825         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11826
11827         * gst/elements/gstfilesink.c (gst_filesink_query2):
11828         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11829         query_types, and formats methods.
11830
11831         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11832         (gst_pad_set_query2_function): New functions.
11833         (gst_real_pad_init): Set query2_default as the default query2
11834         function. Basically just dispatches to internally linked pads.
11835
11836         Needs review!
11837         
11838         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11839         without using the atomic operations. Only one thread can possibly
11840         be accessing the data at this point. Changed so as to avoid
11841         gst_atomic operations.
11842
11843 2005-05-06  Wim Taymans  <wim@fluendo.com>
11844
11845         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11846         Also set caps if we use the fallback buffer alloc.
11847
11848 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11849
11850         * docs/gst/Makefile.am:
11851         * docs/gst/gstreamer-docs.sgml:
11852         * docs/gst/gstreamer-sections.txt:
11853         * docs/gst/tmpl/gstatomic.sgml:
11854         * docs/gst/tmpl/gstmemchunk.sgml:
11855         * testsuite/elements/struct_i386.h:
11856         * win32/GStreamer.vcproj:
11857         * win32/Makefile:
11858           Purge GstAtomic stuff from docs and win32 makefiles as well
11859
11860 2005-05-06  Wim Taymans  <wim@fluendo.com>
11861
11862         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11863         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11864         * gst/gstpad.c: (gst_pad_peer_get_caps):
11865         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11866         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11867         (gst_queue_src_activate), (gst_queue_change_state):
11868         * gst/gstqueue.h:
11869         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11870         (intersect_caps_func):
11871         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11872         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11873         Some fixes for the peer_get_caps() change.
11874
11875 2005-05-06  Wim Taymans  <wim@fluendo.com>
11876
11877         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11878         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11879         (gst_basesink_activate):
11880         Actually do something with error codes returned from the push
11881         functions.
11882
11883 2005-05-06  Wim Taymans  <wim@fluendo.com>
11884
11885         * docs/design/part-element-sink.txt:
11886         * docs/design/part-element-source.txt:
11887         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11888         (gst_basesink_event), (gst_basesink_activate):
11889         * gst/base/gstbasesink.h:
11890         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11891         (gst_basesrc_activate):
11892         * gst/base/gstbasesrc.h:
11893         * gst/gstelement.c: (gst_element_pads_activate):
11894         Some more documentation.
11895         Fixed scheduling decision in _pads_activate().
11896
11897 2005-05-05  Andy Wingo  <wingo@pobox.com>
11898
11899         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11900         the test suite.
11901
11902 2005-05-05  Wim Taymans  <wim@fluendo.com>
11903
11904         * gst/base/Makefile.am:
11905         * gst/base/gstbasesink.h:
11906         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11907         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11908         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11909         (gst_collectpads_class_init), (gst_collectpads_init),
11910         (gst_collectpads_finalize), (gst_collectpads_new),
11911         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11912         (find_pad), (gst_collectpads_remove_pad),
11913         (gst_collectpads_is_active), (gst_collectpads_collect),
11914         (gst_collectpads_collect_range), (gst_collectpads_start),
11915         (gst_collectpads_stop), (gst_collectpads_peek),
11916         (gst_collectpads_pop), (gst_collectpads_available),
11917         (gst_collectpads_read), (gst_collectpads_flush),
11918         (gst_collectpads_chain):
11919         * gst/base/gstcollectpads.h:
11920         * gst/elements/Makefile.am:
11921         * gst/elements/gstelements.c:
11922         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11923         (gst_fakesink_get_times), (gst_fakesink_event),
11924         (gst_fakesink_preroll), (gst_fakesink_render):
11925         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11926         (gst_filesink_init), (gst_filesink_set_location),
11927         (gst_filesink_open_file), (gst_filesink_close_file),
11928         (gst_filesink_pad_query), (gst_filesink_event),
11929         (gst_filesink_render), (gst_filesink_change_state):
11930         * gst/elements/gstfilesink.h:
11931         Added object to help in making collect pad based elements.
11932         Ported filesink.
11933         Make event function in sink baseclass return gboolean.
11934
11935 2005-05-05  Wim Taymans  <wim@fluendo.com>
11936
11937         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11938         (gst_bin_get_by_name):
11939         * gst/gstbuffer.h:
11940         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11941         (gst_clock_finalize):
11942         * gst/gstdata.c: (gst_data_replace):
11943         * gst/gstdata.h:
11944         * gst/gstelement.c: (gst_element_request_pad),
11945         (gst_element_pads_activate):
11946         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11947         (gst_object_unref):
11948         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11949         (gst_pad_set_checkgetrange_function),
11950         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11951         (gst_pad_check_pull_range), (gst_pad_pull_range),
11952         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11953         (gst_pad_pause_task), (gst_pad_stop_task):
11954         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11955         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11956         Fix name lookup in GstBin.
11957         Added _data_replace() function and _buffer_replace()
11958         Use finalize method to clean up clock.
11959         Fix refcounting on request pads.
11960         Fix pad schedule mode error.
11961         Some more object refcounting debug info,
11962
11963
11964 2005-05-04  Andy Wingo <wingo@pobox.com>
11965
11966         * check/Makefile.am:
11967         * docs/gst/tmpl/gstatomic.sgml:
11968         * docs/gst/tmpl/gstplugin.sgml:
11969         * gst/base/gstbasesink.c: (gst_basesink_activate):
11970         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11971         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11972         (gst_basesrc_query), (gst_basesrc_set_property),
11973         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11974         (gst_basesrc_activate):
11975         * gst/base/gstbasesrc.h:
11976         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11977         (gst_base_transform_src_activate):
11978         * gst/elements/gstelements.c:
11979         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11980         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11981         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11982         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11983         (gst_type_find_element_checkgetrange),
11984         (gst_type_find_element_activate):
11985         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11986         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11987         (gst_caps_load_thyself):
11988         * gst/gstelement.c: (gst_element_pads_activate),
11989         (gst_element_save_thyself), (gst_element_restore_thyself):
11990         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11991         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11992         * gst/gstpad.h:
11993         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11994         (gst_xml_parse_file), (gst_xml_parse_memory),
11995         (gst_xml_get_element), (gst_xml_make_element):
11996         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11997         (_file_index_id_save_xml), (gst_file_index_commit):
11998         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11999         (read_enum), (load_pad_template), (load_feature), (load_plugin),
12000         (load_paths):
12001         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12002         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12003         * tools/gst-complete.c: (main):
12004         * tools/gst-compprep.c: (main):
12005         * tools/gst-inspect.c: (print_element_properties_info):
12006         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12007         * tools/gst-xmlinspect.c: (print_element_properties):
12008         GCC 4 fixen.
12009         
12010 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12011
12012         * gst/gstplugin.c: (gst_plugin_check_module),
12013         (gst_plugin_check_file), (gst_plugin_load_file):
12014             apply patch from #172526 to make register work on MacOSX
12015
12016 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12017
12018         * docs/gst/tmpl/gstconfig.sgml:
12019         * gst/gstconfig.h.in:
12020           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
12021         * testsuite/debug/printf_extension.c: (main):
12022           Do not use GST_PTR_FORMAT on pointers to types with
12023           sizeof < sizeof(gpointer).  Fixes test on 64-bit
12024         * testsuite/elements/property.h:
12025           use correct printf format
12026
12027 2005-05-02  Wim Taymans  <wim@fluendo.com>
12028
12029         * docs/design/draft-push-pull.txt:
12030         * docs/design/draft-query.txt:
12031         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12032         (gst_basesrc_start):
12033         Added draft for new query API.
12034         Added draft for better selecting scheduling methods.
12035         Make basesrc ignore length if the subclass does not support
12036         it.
12037
12038 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12039
12040         * gst/Makefile.am:
12041           possible fixes for automake-1.5 - _LIBADD is reserved
12042
12043 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12044
12045         * docs/faq/Makefile.am:
12046         * docs/manual/Makefile.am:
12047         * docs/manuals.mak:
12048         * docs/pwg/Makefile.am:
12049         * gst/Makefile.am:
12050           possible fixes for automake-1.5
12051
12052 2005-04-28  Wim Taymans  <wim@fluendo.com>
12053
12054         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12055         (gst_basesink_pad_getcaps), (gst_basesink_init),
12056         (gst_basesink_do_sync):
12057         * gst/gstclock.c: (gst_clock_entry_new):
12058         * gst/gstevent.c: (gst_event_discont_get_value):
12059         * gst/gstpipeline.c: (pipeline_bus_handler),
12060         (gst_pipeline_change_state):
12061         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12062         Better debugging of clocking info.
12063         Allow NULL values when getting discont values.
12064
12065 2005-04-27  Wim Taymans  <wim@fluendo.com>
12066
12067         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12068         * check/gst/gstpad.c: (gst_pad_suite):
12069         Increase timeout for checks.
12070
12071 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12072
12073         * check/Makefile.am:
12074           fix the broken rule for cleanup.  Apparently this rule is
12075           only needed on FC2, so maybe this warrants further autotool
12076           inspection.
12077
12078 2005-04-26  Wim Taymans  <wim@fluendo.com>
12079
12080         * gst/gsttrashstack.h:
12081         Ooohh. a nasty one! After having a failed pop() from the stack,
12082         it's possible that the stack is empty. In that case, don't
12083         follow the NULL pointer.
12084
12085 2005-04-25  Wim Taymans  <wim@fluendo.com>
12086
12087         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12088         (gst_pad_set_checkgetrange_function),
12089         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12090         (gst_pad_check_pull_range), (gst_pad_pull_range),
12091         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12092         (gst_pad_pause_task), (gst_pad_stop_task):
12093         * gst/gstplugin.c: (gst_plugin_load):
12094         * gst/gstplugin.h:
12095         Remove gst_library_load as it does more harm than good with
12096         the new g_module flags.
12097         Revert bogus caps template check in pad linking, pad caps
12098         are important when linking not the template, which is more
12099         general than the current caps.
12100
12101 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12102
12103         * gst/autoplug/.cvsignore:
12104         * gst/autoplug/Makefile.am:
12105         * gst/autoplug/gstsearchfuncs.c:
12106         * gst/autoplug/gstsearchfuncs.h:
12107         * gst/autoplug/gstspider.c:
12108         * gst/autoplug/gstspider.h:
12109         * gst/autoplug/gstspideridentity.c:
12110         * gst/autoplug/gstspideridentity.h:
12111         * gst/autoplug/spidertest.c:
12112           Die, spider, die.
12113
12114 2005-04-25  Wim Taymans  <wim@fluendo.com>
12115
12116         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12117         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12118         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12119         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12120         * gst/gstpad.h:
12121         Added stubs for unimplemented functions. 
12122
12123 2005-04-24  David Schleef  <ds@schleef.org>
12124
12125         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
12126         please fix.
12127
12128 2005-04-24  David Schleef  <ds@schleef.org>
12129
12130         Convert everything from GstAtomicInt to g_atomic_int_*, and
12131         remove gstatomic.
12132         * gst/Makefile.am:
12133         * gst/gstatomic.c:
12134         * gst/gstatomic.h:
12135         * gst/gstatomic_impl.h:
12136         * gst/gstbuffer.c:
12137         * gst/gstcaps.c:
12138         * gst/gstcaps.h:
12139         * gst/gstclock.c:
12140         * gst/gstclock.h:
12141         * gst/gstdata.c:
12142         * gst/gstdata.h:
12143         * gst/gstdata_private.h:
12144         * gst/gstevent.c:
12145         * gst/gstinfo.c:
12146         * gst/gstinfo.h:
12147         * gst/gstmessage.c:
12148         * gst/gstobject.c:
12149         * gst/gstobject.h:
12150         * gst/gststructure.c:
12151         * gst/gststructure.h:
12152         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12153         * gst/gstutils.h:
12154
12155 2005-04-24  David Schleef  <ds@schleef.org>
12156
12157         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12158         make the regressions tests work.  Remove some code that is no
12159         longer true.
12160         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12161         Disable warning for pads without templates.
12162
12163 2005-04-24  David Schleef  <ds@schleef.org>
12164
12165         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
12166         functions that handle filtered links.
12167         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12168         removed functions.
12169         * gst/gstutils.c: Fix/remove utility functions that handle
12170         filtered caps.
12171         * gst/gstutils.h:
12172         * gst/gstvalue.c: Add serialization/deserialization of caps
12173         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
12174         requires fixing so that the filter caps notation creates
12175         a capsfilter element and sets the filter_caps property.  I
12176         think everyone probably wants to keep the shorthand notation.
12177         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12178         * docs/gst/tmpl/gstpad.sgml:
12179
12180         * gst/elements/gstelements.c: Register capsfilter element.
12181         * gst/Makefile.am: fix spacing
12182         * docs/random/ds/0.9-suggested-changes: random
12183
12184 2005-04-23  David Schleef  <ds@schleef.org>
12185
12186         * gst/elements/Makefile.am:
12187         * gst/elements/gstcapsfilter.c: New element that acts like an
12188         identity, but filters caps.  Will eventually replace filtered
12189         caps in pad linking.
12190         * gst/gstutils.c: (gst_element_create_all_pads): New function
12191         to create all the ALWAYS pads that are registered with an
12192         element class.  This functionality should eventually be
12193         merged in with GstElement initialization.
12194         * gst/gstutils.h:
12195         * testsuite/trigger/README: part of trigger test code that should
12196         have been checked in a long time ago.
12197
12198 2005-04-23  David Schleef  <ds@schleef.org>
12199
12200         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12201         needed with new versions of libtool (nobody will confirm this),
12202         and hard to carry around.
12203         * gst/autoplug/Makefile.am:
12204         * gst/base/Makefile.am:
12205         * gst/elements/Makefile.am:
12206         * gst/indexers/Makefile.am:
12207         * gst/schedulers/Makefile.am:
12208         * libs/gst/bytestream/Makefile.am:
12209         * libs/gst/control/Makefile.am:
12210         * libs/gst/dataprotocol/Makefile.am:
12211         * libs/gst/getbits/Makefile.am:
12212
12213 2005-04-21  Wim Taymans  <wim@fluendo.com>
12214
12215         * docs/design/draft-push-pull.txt:
12216         * docs/design/part-MT-refcounting.txt:
12217         * docs/design/part-TODO.txt:
12218         * docs/design/part-caps.txt:
12219         * docs/design/part-events.txt:
12220         * docs/design/part-gstbus.txt:
12221         * docs/design/part-gstpipeline.txt:
12222         * docs/design/part-messages.txt:
12223         * docs/design/part-push-pull.txt:
12224         * docs/design/part-query.txt:
12225         Some more docs.
12226
12227 2005-04-21  Wim Taymans  <wim@fluendo.com>
12228
12229         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12230         (gst_message_new), (gst_message_new_error),
12231         (gst_message_new_warning), (gst_message_new_tag),
12232         (gst_message_new_state_changed), (gst_message_new_application),
12233         (gst_message_get_structure):
12234         * gst/gstmessage.h:
12235         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12236         (gst_structure_copy_conditional):
12237         Use parent refcount in GstMessage to ensure GstStructure
12238         consistency.
12239         Cleaned up headers a bit.
12240         
12241
12242 2005-04-20  Wim Taymans  <wim@fluendo.com>
12243
12244         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12245         (gst_basesink_pad_getcaps), (gst_basesink_init),
12246         (gst_basesink_chain_unlocked):
12247         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12248         (gst_type_find_helper):
12249         * gst/elements/gsttypefindelement.c:
12250         (gst_type_find_element_have_type), (gst_type_find_element_init),
12251         (stop_typefinding), (gst_type_find_element_handle_event),
12252         (find_suggest), (gst_type_find_element_chain),
12253         (gst_type_find_element_checkgetrange),
12254         (gst_type_find_element_getrange), (do_typefind),
12255         (gst_type_find_element_activate):
12256         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12257         (gst_buffer_default_free), (gst_buffer_default_copy),
12258         (gst_buffer_set_caps):
12259         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12260         (gst_caps_replace):
12261         * gst/gstmessage.c: (gst_message_new),
12262         (gst_message_new_state_changed):
12263         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12264         (gst_pad_set_checkgetrange_function),
12265         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12266         (gst_pad_set_caps), (gst_pad_check_pull_range),
12267         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12268         * gst/gstpad.h:
12269         * gst/gsttypefind.c: (gst_type_find_register):
12270         Make gst_caps_replace() work like other _replace() functions.
12271         Use _caps_replace() where possible.
12272         Make sure _message_new() initialises its field.
12273         Add gst_static_pad_template_get_caps()
12274
12275
12276 2005-04-18  Andy Wingo  <wingo@pobox.com>
12277
12278         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12279         on the peer, not the pad. I think that was a typo. Pass an extra
12280         arg to see if random access is possible. Activate the pads as
12281         PULL_RANGE if possible.
12282
12283         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12284
12285         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12286         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12287         to PROP_....
12288
12289 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12290
12291         * docs/faq/using.xml:
12292           Add note on gstreamer-properties (#154996).
12293
12294 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12295
12296         * docs/random/bbb/optional-properties:
12297           Some analysis on optional properties.
12298
12299 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12300
12301         * docs/gst/tmpl/gstelementfactory.sgml:
12302         * gst/gstelement.h:
12303         * gst/gstelementfactory.c: (gst_element_factory_init),
12304         (gst_element_factory_cleanup), (gst_element_register),
12305         (__gst_element_factory_add_static_pad_template),
12306         (gst_element_factory_get_static_pad_templates),
12307         (gst_element_factory_can_src_caps),
12308         (gst_element_factory_can_sink_caps):
12309         * gst/registries/Makefile.am:
12310         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12311         (gst_xml_registry_class_init), (gst_xml_registry_init),
12312         (gst_xml_registry_new), (gst_xml_registry_set_property),
12313         (gst_xml_registry_get_property), (get_time), (make_dir),
12314         (gst_xml_registry_get_perms_func),
12315         (plugin_times_older_than_recurse), (plugin_times_older_than),
12316         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12317         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12318         (add_to_char_array), (read_string), (read_uint), (read_enum),
12319         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12320         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12321         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12322         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12323         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12324         (gst_xml_registry_rebuild):
12325         * gst/registries/gstlibxmlregistry.h:
12326         * tools/gst-compprep.c: (main):
12327         * tools/gst-inspect.c: (print_pad_templates_info):
12328         * tools/gst-xmlinspect.c: (print_element_info):
12329           Use libxml2 for registry parsing, use staticpadtemplates in
12330           elementfactories. Makes gst_init() +/- 10x faster.
12331
12332 2005-04-12  Wim Taymans  <wim@fluendo.com>
12333
12334         * gst/base/Makefile.am:
12335         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12336         (gst_basesink_pad_getcaps), (gst_basesink_init),
12337         (gst_basesink_event), (gst_basesink_change_state):
12338         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12339         (gst_basesrc_init), (gst_basesrc_query),
12340         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12341         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12342         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12343         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12344         (gst_basesrc_stop), (gst_basesrc_activate),
12345         (gst_basesrc_change_state):
12346         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12347         (helper_find_suggest), (gst_type_find_helper):
12348         * gst/base/gsttypefindhelper.h:
12349         * gst/elements/Makefile.am:
12350         * gst/elements/gstelements.c:
12351         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12352         (gst_fakesink_get_times), (gst_fakesink_event),
12353         (gst_fakesink_preroll), (gst_fakesink_render):
12354         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12355         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12356         (gst_fakesrc_get_property), (gst_fakesrc_create),
12357         (gst_fakesrc_start), (gst_fakesrc_stop):
12358         * gst/elements/gstfakesrc.h:
12359         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12360         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12361         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12362         (gst_filesrc_create_read), (gst_filesrc_create),
12363         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12364         (gst_filesrc_start):
12365         * gst/elements/gsttypefindelement.c:
12366         (gst_type_find_element_have_type), (gst_type_find_element_init),
12367         (start_typefinding), (stop_typefinding), (push_buffer_store),
12368         (gst_type_find_element_handle_event),
12369         (gst_type_find_element_chain),
12370         (gst_type_find_element_checkgetrange),
12371         (gst_type_find_element_getrange), (do_typefind),
12372         (gst_type_find_element_activate),
12373         (gst_type_find_element_change_state):
12374         * gst/elements/gsttypefindelement.h:
12375         * gst/gstpipeline.c: (pipeline_bus_handler):
12376         Added typefind helper.
12377         Small preroll fix in the base sink.
12378         Disable typefind code in basesrc.
12379         Crude port of typefindelement.
12380         Fakesrc cleanups.
12381
12382
12383 2005-04-11  Wim Taymans  <wim@fluendo.com>
12384
12385         * check/gst/gstbus.c: (gstbus_suite):
12386         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12387         * check/gstcheck.h:
12388           Fix up the timeout so that the test does not fail.
12389
12390 2005-04-06  Wim Taymans  <wim@fluendo.com>
12391
12392         * gst/base/README:
12393         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12394         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12395         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12396         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12397         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12398         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12399         (gst_basesrc_stop), (gst_basesrc_activate),
12400         (gst_basesrc_change_state), (basesrc_find_peek),
12401         (basesrc_find_suggest), (gst_basesrc_type_find):
12402         * gst/base/gstbasesrc.h:
12403         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12404         (gst_filesrc_class_init), (gst_filesrc_init),
12405         (gst_filesrc_finalize), (gst_filesrc_set_location),
12406         (gst_filesrc_set_property), (gst_filesrc_get_property),
12407         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12408         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12409         (gst_filesrc_create_read), (gst_filesrc_create),
12410         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12411         * gst/elements/gstfilesrc.h:
12412         * gst/gstelement.c: (gst_element_get_state_func),
12413         (gst_element_lost_state), (gst_element_pads_activate):
12414         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12415         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12416         (gst_pad_pull_range):
12417         * gst/gstpad.h:
12418         More work on the generic source base class, implement seeking,
12419         query.
12420         Make filesrc extend the base source class.
12421         Added gst_pad_set_checkgetrange_function to GstPad.
12422
12423 2005-04-06  Andy Wingo  <wingo@pobox.com>
12424
12425         * pkgconfig/gstreamer-base.pc.in:
12426         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12427
12428         * pkgconfig/Makefile.am:
12429         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12430
12431 2005-04-04  Wim Taymans  <wim@fluendo.com>
12432
12433         * gst/base/Makefile.am:
12434         * gst/base/README:
12435         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12436         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12437         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12438         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12439         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12440         (gst_basesrc_base_init), (gst_basesrc_class_init),
12441         (gst_basesrc_init), (gst_basesrc_get_formats),
12442         (gst_basesrc_get_query_types), (gst_basesrc_query),
12443         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12444         (gst_basesrc_set_property), (gst_basesrc_get_property),
12445         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12446         (gst_basesrc_loop), (gst_basesrc_activate),
12447         (gst_basesrc_change_state):
12448         * gst/base/gstbasesrc.h:
12449         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12450         (gst_fakesrc_class_init), (gst_fakesrc_init),
12451         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12452         (gst_fakesrc_get_property), (gst_fakesrc_create):
12453         * gst/elements/gstfakesrc.h:
12454         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12455         (gst_filesrc_open_file), (gst_filesrc_loop),
12456         (gst_filesrc_activate), (filesrc_find_peek),
12457         (gst_filesrc_type_find):
12458         Made base source class, make fakesrc extend it.
12459         Add comments to basesink class.
12460         Some filesrc cleanup.
12461
12462 2005-03-31  David Schleef  <ds@schleef.org>
12463
12464         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12465         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12466         expected to link against libgstreamer.
12467         * gst/base/Makefile.am: link against libgstreamer
12468         * gst/elements/Makefile.am: same
12469
12470 2005-03-31  Andy Wingo  <wingo@pobox.com>
12471
12472         * tests/instantiate/Makefile.am:
12473         * tests/instantiate/caps.c: Add test to test speed of caps copy
12474         and free.
12475
12476         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12477         GMemChunk to be fair.
12478
12479         * gst/gsttrashstack.h: Remove warning about using the fallback
12480         trash stack implementation, it's still faster than malloc.
12481
12482 2005-03-30  Andy Wingo  <wingo@pobox.com>
12483
12484         * tests/complexity.c: Add a copyright.
12485
12486 2005-03-31  Wim Taymans  <wim@fluendo.com>
12487
12488         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12489         (gst_base_transform_class_init), (gst_base_transform_init),
12490         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12491         (gst_base_transform_get_property),
12492         (gst_base_transform_sink_activate),
12493         (gst_base_transform_src_activate),
12494         (gst_base_transform_change_state):
12495         * gst/base/gstbasetransform.h:
12496         * gst/elements/gstidentity.c: (gst_identity_class_init),
12497         (gst_identity_event), (gst_identity_check_perfect),
12498         (gst_identity_transform), (gst_identity_start),
12499         (gst_identity_stop):
12500         Added start/stop methods to transform base class so subclasses 
12501         don't need to deal with state changes even.
12502
12503 2005-03-31  Wim Taymans  <wim@fluendo.com>
12504
12505         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12506         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12507         * gst/gstevent.h:
12508         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12509         (gst_pad_pull_range):
12510         Added rate to the discont event to prepare for variable speed
12511         and reverse playback.
12512
12513 2005-03-29  David Schleef  <ds@schleef.org>
12514
12515         * configure.ac:
12516         * testsuite/trigger/Makefile.am:
12517         * testsuite/trigger/trigger.c: A little example program to show
12518         how trigger-based elements can work.
12519
12520 2005-03-29  Wim Taymans  <wim@fluendo.com>
12521
12522         * gst/base/Makefile.am:
12523         * gst/base/README:
12524         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12525         (gst_basesink_base_init), (gst_basesink_class_init),
12526         (gst_basesink_pad_getcaps), (gst_basesink_init),
12527         (gst_basesink_activate), (gst_basesink_change_state):
12528         * gst/base/gstbasesink.h:
12529         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12530         (gst_base_transform_base_init), (gst_base_transform_finalize),
12531         (gst_base_transform_class_init), (gst_base_transform_init),
12532         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12533         (gst_base_transform_event), (gst_base_transform_getrange),
12534         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12535         (gst_base_transform_set_property),
12536         (gst_base_transform_get_property),
12537         (gst_base_transform_sink_activate),
12538         (gst_base_transform_src_activate),
12539         (gst_base_transform_change_state):
12540         * gst/base/gstbasetransform.h:
12541         * gst/elements/gstidentity.c: (gst_identity_finalize),
12542         (gst_identity_class_init), (gst_identity_init),
12543         (gst_identity_event), (gst_identity_check_perfect),
12544         (gst_identity_transform), (gst_identity_set_property),
12545         (gst_identity_get_property), (gst_identity_change_state):
12546         * gst/elements/gstidentity.h:
12547         * gst/gstelement.c: (gst_element_get_state_func),
12548         (gst_element_lost_state), (gst_element_pads_activate):
12549         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12550         (gst_pad_check_pull_range), (gst_pad_pull_range):
12551         * gst/gstpad.h:
12552         Simplify pad activation.
12553         Added function to check if pull_range can be performed.
12554         Error out when pulling inactive or flushing pads.
12555         Removed const from refcounted types as it does not make sense.
12556         Simplify pad templates in basesink
12557         Added base class for simple 1-to-1 transforms.
12558         Make identity subclass the base transform.
12559
12560 2005-03-29  Andy Wingo  <wingo@pobox.com>
12561
12562         * docs/libs/gstreamer-libs-overrides.txt: 
12563         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12564         really don't understand what's going on, but like whatever. I want
12565         green buildbot!
12566
12567         * docs/gst/Makefile.am:
12568         * docs/libs/Makefile.am: Dist the overrides files.
12569
12570         * check/Makefile.am (clean-local): Remove .libs directories.
12571
12572         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12573         elements to EXTRA_DIST, so po/ files are happy.
12574
12575         * po/POTFILES.in: Er, remove it here.
12576
12577         * po/POTFILES: Remove gstspider.c.
12578
12579         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12580
12581         * docs/libs/gstreamer-libs-docs.sgml: 
12582         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12583         bytestream.
12584
12585         * tests/complexity.c (main): Set the length of the preroll queue
12586         on the sinks to prevent a lockup.
12587
12588         * libs/gst/dataprotocol/Makefile.am: 
12589         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12590         the same as the one in check/gst-libs/gdp.c.
12591
12592         * po/, docs/gst/: Commit automatic changes to docs and po files.
12593
12594         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12595         the versioned libgstbase.
12596
12597         * check/Makefile.am: Depend on an unversioned gst-register, seems
12598         to make autoconf happier.
12599
12600         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12601
12602 2005-03-28  Wim Taymans  <wim@fluendo.com>
12603
12604         * configure.ac:
12605         * docs/design/part-gstelement.txt:
12606         * docs/design/part-negotiation.txt:
12607         * docs/design/part-preroll.txt:
12608         * docs/design/part-scheduling.txt:
12609         * docs/design/part-states.txt:
12610         * gst/Makefile.am:
12611         * gst/base/Makefile.am:
12612         * gst/base/README:
12613         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12614         (gst_basesink_base_init), (gst_basesink_class_init),
12615         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12616         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12617         (gst_basesink_set_pad_functions),
12618         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12619         (gst_basesink_set_property), (gst_basesink_get_property),
12620         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12621         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12622         (gst_basesink_preroll_queue_push),
12623         (gst_basesink_preroll_queue_empty),
12624         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12625         (gst_basesink_event), (gst_basesink_get_times),
12626         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12627         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12628         (gst_basesink_loop), (gst_basesink_activate),
12629         (gst_basesink_change_state):
12630         * gst/base/gstbasesink.h:
12631         * gst/elements/Makefile.am:
12632         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12633         (gst_fakesink_class_init), (gst_fakesink_init),
12634         (gst_fakesink_set_property), (gst_fakesink_get_property),
12635         (gst_fakesink_get_times), (gst_fakesink_event),
12636         (gst_fakesink_preroll), (gst_fakesink_render),
12637         (gst_fakesink_change_state):
12638         * gst/elements/gstfakesink.h:
12639         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12640         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12641         * gst/gstelement.c: (gst_element_add_pad),
12642         (gst_element_get_state_func), (gst_element_abort_state),
12643         (gst_element_commit_state), (gst_element_lost_state),
12644         (gst_element_set_state), (gst_element_pads_activate):
12645         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12646         * gst/gstpipeline.c: (gst_pipeline_send_event),
12647         (gst_pipeline_change_state):
12648         Added state change code.
12649         Added/updated docs.
12650         Added sink base class, make fakesink extend the base class.
12651         Small cleanups in GstPipeline.
12652
12653 2005-03-26  David Schleef  <ds@schleef.org>
12654
12655         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12656         is broken and should be implemented in a different library.
12657         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12658         * gst/gst.h: remove gstcpu.h
12659         * gst/gstcpu.c: remove
12660         * gst/gstcpu.h: remove
12661         * gst/Makefile.am.future: Remove this file.  It's ancient.
12662
12663 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12664
12665         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12666         (gst_bin_send_event):
12667           Add default event/set_manager handlers. The set_manager handler
12668           takes care that the manager is distributed over kids that were
12669           already in the bin before the manager was set. The event handler
12670           is a utility virtual function that sends the event over all sinks,
12671           so that gst_element_send_event (bin, event); has the expected
12672           behaviour.
12673         * gst/gstpad.c: (gst_pad_event_default):
12674           Re-install default event handling for discontinuities, so that
12675           seeking works without requiring hacks in applications or extra
12676           code in sinks.
12677         * gst/gstpipeline.c: (gst_pipeline_class_init),
12678         (gst_pipeline_send_event):
12679           Half hack, half utility: set a pipeline to PAUSED for seek events,
12680           since that is the only way we can guarantee a/v sync. Means that
12681           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12682           and it "just works".
12683
12684 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12685
12686         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12687           Lock/unlock mismatch.
12688
12689 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12690
12691         * docs/faq/gst-uninstalled:
12692           add gst-plugins-base
12693         * docs/gst/Makefile.am:
12694           don't error out until docs are fixed
12695         * docs/gst/gstreamer.types:
12696           remove thread
12697
12698 2005-03-22  Wim Taymans  <wim@fluendo.com>
12699
12700         * check/Makefile.am:
12701         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12702         * gst/gststructure.c: (gst_structure_set_valist),
12703         (gst_structure_copy_conditional):
12704         Activated more tests.
12705         Added message test.
12706         Added G_TYPE_POINTER to GstStructure.
12707         
12708
12709 2005-03-22  Wim Taymans  <wim@fluendo.com>
12710
12711         * docs/design/part-TODO.txt:
12712         * docs/design/part-events.txt:
12713         * docs/design/part-gstbin.txt:
12714         * docs/design/part-gstbus.txt:
12715         * docs/design/part-gstpipeline.txt:
12716         * docs/design/part-messages.txt:
12717         * gst/gstbus.c:
12718         * gst/gstmessage.c:
12719         Docs updates
12720
12721 2005-03-21  Wim Taymans  <wim@fluendo.com>
12722
12723         * gst/gstbus.c: (gst_bus_post):
12724         Fix copy-and-paste error.
12725
12726 2005-03-21  Wim Taymans  <wim@fluendo.com>
12727
12728         * check/Makefile.am:
12729         * gst/Makefile.am:
12730         * gst/elements/Makefile.am:
12731         * gst/elements/gstelements.c:
12732         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12733         (gst_fakesink_event), (gst_fakesink_chain):
12734         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12735         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12736         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12737         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12738         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12739         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12740         (gst_fakesrc_loop), (gst_fakesrc_activate),
12741         (gst_fakesrc_change_state):
12742         * gst/elements/gstfakesrc.h:
12743         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12744         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12745         (gst_filesrc_open_file), (gst_filesrc_loop),
12746         (gst_filesrc_activate), (gst_filesrc_change_state),
12747         (filesrc_find_peek), (filesrc_find_suggest),
12748         (gst_filesrc_type_find):
12749         * gst/elements/gstidentity.c: (gst_identity_finalize),
12750         (gst_identity_class_init), (gst_identity_init),
12751         (gst_identity_proxy_getcaps), (identity_queue_push),
12752         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12753         (gst_identity_getrange), (gst_identity_chain),
12754         (gst_identity_sink_loop), (gst_identity_src_loop),
12755         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12756         (gst_identity_set_property), (gst_identity_get_property),
12757         (gst_identity_change_state):
12758         * gst/elements/gstidentity.h:
12759         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12760         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12761         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12762         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12763         (gst_tee_sink_activate):
12764         * gst/elements/gsttee.h:
12765         * gst/gst.c: (gst_register_core_elements), (init_post):
12766         * gst/gst.h:
12767         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12768         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12769         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12770         (gst_bin_change_state):
12771         * gst/gstbin.h:
12772         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12773         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12774         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12775         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12776         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12777         (bus_watch_callback), (bus_watch_destroy),
12778         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12779         (poll_timeout), (gst_bus_poll):
12780         * gst/gstbus.h:
12781         * gst/gstcaps.h:
12782         * gst/gstdata.h:
12783         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12784         (gst_element_post_message), (gst_element_message_full),
12785         (gst_element_get_state_func), (gst_element_get_state),
12786         (gst_element_abort_state), (gst_element_commit_state),
12787         (gst_element_lost_state), (gst_element_set_state),
12788         (gst_element_pads_activate), (gst_element_change_state),
12789         (gst_element_dispose), (gst_element_set_manager_func),
12790         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12791         (gst_element_set_manager), (gst_element_get_manager),
12792         (gst_element_set_bus), (gst_element_get_bus),
12793         (gst_element_set_scheduler), (gst_element_get_scheduler):
12794         * gst/gstelement.h:
12795         * gst/gstevent.c: (gst_event_new_segment_seek),
12796         (gst_event_new_flush):
12797         * gst/gstevent.h:
12798         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12799         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12800         (gst_message_new_eos), (gst_message_new_error),
12801         (gst_message_new_warning), (gst_message_new_tag),
12802         (gst_message_new_state_changed), (gst_message_new_application),
12803         (gst_message_get_structure), (gst_message_parse_tag),
12804         (gst_message_parse_state_changed), (gst_message_parse_error),
12805         (gst_message_parse_warning):
12806         * gst/gstmessage.h:
12807         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12808         (gst_real_pad_set_property), (gst_pad_set_active),
12809         (gst_pad_is_active), (gst_pad_set_blocked_async),
12810         (gst_pad_set_blocked), (gst_pad_is_blocked),
12811         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12812         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12813         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12814         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12815         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12816         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12817         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12818         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12819         (gst_pad_set_caps), (gst_pad_configure_sink),
12820         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12821         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12822         (gst_real_pad_dispose), (gst_real_pad_finalize),
12823         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12824         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12825         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12826         * gst/gstpad.h:
12827         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12828         (pipeline_bus_handler), (gst_pipeline_change_state),
12829         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12830         * gst/gstpipeline.h:
12831         * gst/gstprobe.h:
12832         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12833         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12834         (gst_queue_link_src), (gst_queue_bufferalloc),
12835         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12836         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12837         (gst_queue_loop), (gst_queue_handle_src_event),
12838         (gst_queue_handle_src_query), (gst_queue_src_activate),
12839         (gst_queue_change_state):
12840         * gst/gstqueue.h:
12841         * gst/gstscheduler.c: (gst_scheduler_init),
12842         (gst_scheduler_dispose), (gst_scheduler_create_task),
12843         (gst_scheduler_factory_create):
12844         * gst/gstscheduler.h:
12845         * gst/gststructure.c: (gst_structure_get_type),
12846         (gst_structure_copy_conditional):
12847         * gst/gststructure.h:
12848         * gst/gsttaginterface.h:
12849         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12850         (gst_task_init), (gst_task_dispose), (gst_task_create),
12851         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12852         (gst_task_pause):
12853         * gst/gsttask.h:
12854         * gst/gstthread.c:
12855         * gst/gstthread.h:
12856         * gst/gsttypes.h:
12857         * gst/schedulers/Makefile.am:
12858         * gst/schedulers/cothreads_compat.h:
12859         * gst/schedulers/entryscheduler.c:
12860         * gst/schedulers/faircothreads.c:
12861         * gst/schedulers/faircothreads.h:
12862         * gst/schedulers/fairscheduler.c:
12863         * gst/schedulers/gstbasicscheduler.c:
12864         * gst/schedulers/gstoptimalscheduler.c:
12865         * gst/schedulers/gthread-cothreads.h:
12866         * gst/schedulers/threadscheduler.c:
12867         (gst_thread_scheduler_task_get_type),
12868         (gst_thread_scheduler_task_class_init),
12869         (gst_thread_scheduler_task_init),
12870         (gst_thread_scheduler_task_start),
12871         (gst_thread_scheduler_task_stop),
12872         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12873         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12874         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12875         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12876         (plugin_init):
12877         * libs/gst/Makefile.am:
12878         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12879         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12880         (gst_file_pad_parent_set):
12881         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12882         (gst_dp_event_from_packet):
12883         * tests/complexity.c: (main):
12884         * tests/mass_elements.c: (main):
12885         * testsuite/states/locked.c: (message_received), (main):
12886         * testsuite/states/parent.c: (main):
12887         * tools/gst-inspect.c: (print_element_flag_info),
12888         (print_implementation_info), (print_pad_info):
12889         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12890         (main):
12891         * tools/gst-md5sum.c: (event_loop), (main):
12892         * tools/gst-typefind.c: (main):
12893         * tools/gst-xmlinspect.c: (print_element_info):
12894         Next big merge.
12895         Added GstBus for mainloop integration.
12896         Added GstMessage for sending notifications on the bus.
12897         Added GstTask as an abstraction for pipeline entry points.
12898         Removed GstThread.
12899         Removed Schedulers.
12900         Simplified GstQueue for multithreaded core.
12901         Made _link threadsafe, removed old capsnego.
12902         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12903         Added pad blocking functions.
12904         Reworked scheduling functions in GstPad to prepare for
12905         scheduling updates soon.
12906         Moved events out of data stream.
12907         Simplified GstEvent types.
12908         Added return values to push/pull.
12909         Removed clocking from GstElement.
12910         Added prototypes for state change function for next merge.
12911         Removed iterate from bins and state change management.
12912         Fixed some elements, disabled others for now.
12913         Fixed -inspect and -launch.
12914         Added check for GstBus.
12915
12916 2005-03-10  Wim Taymans  <wim@fluendo.com>
12917
12918         * docs/design/part-MT-refcounting.txt:
12919         * docs/design/part-clocks.txt:
12920         * docs/design/part-gstelement.txt:
12921         * docs/design/part-gstobject.txt:
12922         * docs/design/part-standards.txt:
12923         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12924         (gst_bin_remove_func), (gst_bin_remove):
12925         * gst/gstbin.h:
12926         * gst/gstbuffer.c:
12927         * gst/gstcaps.h:
12928         * testsuite/clock/clock1.c: (main):
12929         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12930         (main):
12931         * testsuite/dlopen/loadgst.c: (do_test):
12932         * testsuite/refcounting/bin.c: (add_remove_test1),
12933         (add_remove_test2), (main):
12934         * testsuite/refcounting/element.c: (main):
12935         * testsuite/refcounting/element_pad.c: (main):
12936         * testsuite/refcounting/pad.c: (main):
12937         * tools/gst-launch.c: (sigint_handler_sighandler):
12938         * tools/gst-typefind.c: (main):
12939         Doc updates.
12940         Added doc about clock.
12941         removed gst_bin_iterate_recurse_up(), marked methods
12942         for removal.
12943         Fix more testsuites.
12944
12945 2005-03-09  Wim Taymans  <wim@fluendo.com>
12946
12947         * gst/gstpad.c: (gst_pad_get_direction),
12948         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12949         (gst_pad_collect_valist):
12950         * testsuite/bins/interface.c: (main):
12951         * testsuite/caps/audioscale.c: (test_caps):
12952         * testsuite/caps/caps.c: (test1), (test2), (test3):
12953         * testsuite/caps/deserialize.c: (main):
12954         * testsuite/caps/enumcaps.c: (main):
12955         * testsuite/caps/filtercaps.c: (main):
12956         * testsuite/caps/intersect2.c: (main):
12957         * testsuite/caps/random.c: (main):
12958         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12959         * testsuite/caps/sets.c: (check_caps):
12960         * testsuite/caps/simplify.c: (check_caps), (main):
12961         * testsuite/caps/subtract.c: (check_caps):
12962         Fix _pad_get_direction wrt ghostpads.
12963         Fix caps testsuite.
12964
12965 2005-03-09  Wim Taymans  <wim@fluendo.com>
12966
12967         * check/Makefile.am:
12968         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12969         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12970         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12971         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12972         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12973         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12974         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12975         (bin_element_is_sink), (gst_bin_iterate_sinks),
12976         (gst_bin_iterate_all_by_interface):
12977         * gst/gstbin.h:
12978         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12979         (gst_element_change_state), (gst_element_dispose),
12980         (gst_element_finalize), (gst_element_set_loop_function):
12981         * gst/gstelement.h:
12982         * gst/gstiterator.c: (find_custom_fold_func):
12983         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12984         (gst_pad_collectv), (gst_pad_collect_valist),
12985         (gst_pad_template_new):
12986         * gst/gstpipeline.c: (gst_pipeline_class_init),
12987         (gst_pipeline_dispose), (gst_pipeline_set_property),
12988         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12989         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12990         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12991         * gst/gstutils.h:
12992         * gst/schedulers/entryscheduler.c:
12993         * gst/schedulers/gstbasicscheduler.c:
12994         (gst_basic_scheduler_cothreaded_chain),
12995         (gst_basic_scheduler_chain_add_element):
12996         * testsuite/bins/interface.c: (main):
12997         Added GstBin test.
12998         Added GstSystemClock test.
12999         Implemented clock distribution code in GstBin.
13000         Implemented iterate sinks method for future use.
13001         Rearranged gstelement.h
13002         Fix GstIterator comparison bug.
13003         Moved some code to GstPipeline, mostly clocking related.
13004
13005 2005-03-09  Wim Taymans  <wim@fluendo.com>
13006
13007         * configure.ac:
13008         * gst/gst_private.h:
13009         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13010         (gst_bin_remove_func), (gst_bin_remove),
13011         (gst_bin_get_by_name_recurse_up):
13012         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13013         (gst_clock_id_compare_func), (gst_clock_id_wait),
13014         (gst_clock_id_wait_async), (gst_clock_init),
13015         (gst_clock_adjust_unlocked), (gst_clock_get_time):
13016         * gst/gstelement.h:
13017         * gst/gstinfo.c: (_gst_debug_init):
13018         * gst/gstobject.h:
13019         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13020         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13021         * gst/gstpad.h:
13022         Bump version number, we're now 0.9.0
13023         Add future debugging category.
13024         Fix NULL _unref() in _get_by_name_recurse_up
13025         Rearrange gstpad.h.
13026         Update some docs.
13027
13028 2005-03-08  Wim Taymans  <wim@fluendo.com>
13029
13030         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13031         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13032         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13033         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13034         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13035         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13036         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13037         * gst/elements/gstidentity.c: (gst_identity_class_init):
13038         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13039         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13040         * gst/elements/gstshaper.c: (gst_shaper_class_init):
13041         * gst/elements/gststatistics.c: (gst_statistics_class_init):
13042         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13043         (gst_tee_link):
13044         * gst/gstelement.c: (gst_element_class_init),
13045         (gst_element_base_class_init), (gst_element_init),
13046         (gst_element_get_random_pad), (gst_element_wait_state_change),
13047         (gst_element_change_state), (gst_element_dispose),
13048         (gst_element_finalize), (gst_element_set_loop_function):
13049         * gst/gstelement.h:
13050         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13051         * gst/gstthread.c: (gst_thread_class_init),
13052         (gst_thread_release_children_locks), (gst_thread_change_state):
13053         * gst/schedulers/gstbasicscheduler.c:
13054         (gst_basic_scheduler_loopfunc_wrapper),
13055         (gst_basic_scheduler_chain_wrapper),
13056         (gst_basic_scheduler_src_wrapper),
13057         (gst_basic_scheduler_remove_element):
13058         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13059         Remove threadsafe properties. Fix elements because GObject
13060         complains when installing a property before declaring a
13061         set/get_property handler.
13062         Rearrange gstelement.h file, use STATE macros for state locks.
13063         Free mutexes in the finalize method instead of dispose.
13064
13065 2005-03-08  Wim Taymans  <wim@fluendo.com>
13066
13067         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13068         * gst/gstthread.c: (gst_thread_release_children_locks):
13069         Added parentage check.
13070         Fix build og GstThread again.
13071
13072 2005-03-08  Wim Taymans  <wim@fluendo.com>
13073
13074         * docs/design/part-MT-refcounting.txt:
13075         * docs/design/part-conventions.txt:
13076         * docs/design/part-gstobject.txt:
13077         * docs/design/part-relations.txt:
13078         * docs/design/part-standards.txt:
13079         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13080         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13081         (gst_bin_get_by_name), (gst_bin_get_by_interface),
13082         (gst_bin_iterate_all_by_interface):
13083         * gst/gstbuffer.h:
13084         * gst/gstclock.h:
13085         * gst/gstelement.c: (gst_element_class_init),
13086         (gst_element_change_state), (gst_element_set_loop_function):
13087         * gst/gstelement.h:
13088         * gst/gstiterator.c:
13089         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13090         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13091         (gst_object_dispatch_properties_changed), (gst_object_set_name),
13092         (gst_object_set_parent), (gst_object_unparent),
13093         (gst_object_check_uniqueness):
13094         * gst/gstobject.h:
13095         Docs updates, clean up some headers.
13096
13097 2005-03-07  Wim Taymans  <wim@fluendo.com>
13098
13099         * check/.cvsignore:
13100         * check/Makefile.am:
13101         * check/gst-libs/.cvsignore:
13102         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13103         * check/gst/.cvsignore:
13104         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13105         (START_TEST), (gstbus_suite), (main):
13106         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13107         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13108         (gst_data_suite), (main):
13109         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13110         (add_fold_func), (gstiterator_suite), (main):
13111         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13112         (thread_name_object), (thread_name_object_default),
13113         (gst_object_name_compare), (gst_object_suite), (main):
13114         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13115         (gst_pad_suite), (main):
13116         * check/gstcheck.c: (gst_check_log_message_func),
13117         (gst_check_log_critical_func), (gst_check_init):
13118         * check/gstcheck.h:
13119         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13120         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13121         Added checks.
13122
13123 2005-03-07  Wim Taymans  <wim@fluendo.com>
13124
13125         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13126         (gst_list_iterator_next), (gst_list_iterator_resync),
13127         (gst_list_iterator_free), (gst_iterator_new_list),
13128         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13129         (gst_iterator_free), (gst_iterator_push), (filter_next),
13130         (filter_resync), (filter_uninit), (filter_free),
13131         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13132         (gst_iterator_foreach), (find_custom_fold_func),
13133         (gst_iterator_find_custom):
13134         * gst/gstiterator.h:
13135         Added missing files.
13136
13137 2005-03-07  Wim Taymans  <wim@fluendo.com>
13138
13139         * Makefile.am:
13140         * configure.ac:
13141         * docs/design/part-MT-refcounting.txt:
13142         * docs/design/part-conventions.txt:
13143         * docs/design/part-gstobject.txt:
13144         * docs/design/part-relations.txt:
13145         * examples/mixer/mixer.c: (main):
13146         * examples/thread/thread.c: (eos), (main):
13147         * gst/Makefile.am:
13148         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13149         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13150         (gst_spider_plug_from_srcpad):
13151         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13152         (gst_spider_identity_change_state),
13153         (gst_spider_identity_sink_loop_type_finding):
13154         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13155         * gst/elements/gstidentity.c: (gst_identity_init):
13156         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13157         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13158         * gst/elements/gsttypefindelement.c: (free_entry):
13159         * gst/gst.c:
13160         * gst/gst.h:
13161         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13162         (gst_bin_set_clock_func), (gst_bin_auto_clock),
13163         (gst_bin_set_index), (gst_bin_set_element_sched),
13164         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13165         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13166         (gst_bin_iterate_elements), (iterate_child_recurse),
13167         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13168         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13169         (compare_interface), (gst_bin_get_by_interface),
13170         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13171         * gst/gstbin.h:
13172         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13173         (gst_buffer_default_free), (gst_buffer_default_copy),
13174         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13175         (gst_buffer_create_sub):
13176         * gst/gstbuffer.h:
13177         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13178         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13179         (gst_caps_unref), (gst_static_caps_get),
13180         (gst_caps_remove_and_get_structure), (gst_caps_append),
13181         (gst_caps_append_structure), (gst_caps_remove_structure),
13182         (gst_caps_copy_nth), (gst_caps_set_simple),
13183         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13184         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13185         (gst_caps_structure_intersect_field), (gst_caps_intersect),
13186         (gst_caps_structure_subtract_field), (gst_caps_subtract),
13187         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13188         (gst_caps_structure_figure_out_union),
13189         (gst_caps_switch_structures), (gst_caps_do_simplify),
13190         (gst_caps_replace), (gst_caps_from_string),
13191         (gst_caps_copy_conditional):
13192         * gst/gstcaps.h:
13193         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13194         (_gst_clock_id_free), (gst_clock_id_unref),
13195         (gst_clock_id_compare_func), (gst_clock_id_wait),
13196         (gst_clock_id_wait_async), (gst_clock_class_init),
13197         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13198         (gst_clock_get_time), (gst_clock_set_time_adjust),
13199         (gst_clock_set_property), (gst_clock_get_property):
13200         * gst/gstclock.h:
13201         * gst/gstcompat.h:
13202         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13203         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13204         * gst/gstdata.h:
13205         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13206         (gst_element_requires_clock), (gst_element_provides_clock),
13207         (gst_element_set_clock), (gst_element_clock_wait),
13208         (gst_element_wait), (gst_element_set_time_delay),
13209         (gst_element_is_indexable), (gst_element_add_pad),
13210         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13211         (pad_compare_name), (gst_element_get_static_pad),
13212         (gst_element_request_pad), (gst_element_get_request_pad),
13213         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13214         (gst_element_class_get_pad_template_list),
13215         (gst_element_class_get_pad_template), (gst_element_error_func),
13216         (gst_element_get_random_pad), (gst_element_get_event_masks),
13217         (gst_element_send_event), (gst_element_seek),
13218         (gst_element_get_query_types), (gst_element_query),
13219         (gst_element_get_formats), (gst_element_convert),
13220         (gst_element_is_locked_state), (gst_element_set_locked_state),
13221         (gst_element_sync_state_with_parent), (gst_element_change_state),
13222         (gst_element_finalize), (gst_element_yield),
13223         (gst_element_interrupt), (gst_element_set_scheduler),
13224         (gst_element_get_scheduler), (gst_element_set_loop_function):
13225         * gst/gstelement.h:
13226         * gst/gstevent.h:
13227         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13228         (gst_format_get_by_nick), (gst_format_get_details),
13229         (gst_format_iterate_definitions):
13230         * gst/gstformat.h:
13231         * gst/gstindex.c: (gst_index_gtype_resolver):
13232         * gst/gstinfo.c:
13233         * gst/gstinfo.h:
13234         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13235         (gst_mem_chunk_free):
13236         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13237         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13238         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13239         (gst_object_dispatch_properties_changed),
13240         (gst_object_set_name_default), (gst_object_set_name),
13241         (gst_object_get_name), (gst_object_set_name_prefix),
13242         (gst_object_get_name_prefix), (gst_object_set_parent),
13243         (gst_object_get_parent), (gst_object_unparent),
13244         (gst_object_check_uniqueness), (gst_object_save_thyself),
13245         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13246         (gst_object_set_property), (gst_object_get_property),
13247         (gst_object_get_path_string):
13248         * gst/gstobject.h:
13249         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13250         (gst_real_pad_init), (gst_real_pad_get_property),
13251         (gst_pad_custom_new), (gst_pad_get_direction),
13252         (gst_pad_set_active), (gst_pad_is_active),
13253         (gst_pad_set_event_function), (gst_pad_is_linked),
13254         (gst_pad_link_free), (gst_pad_link_intersect),
13255         (gst_pad_link_fixate), (gst_pad_set_caps),
13256         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13257         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13258         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13259         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13260         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13261         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13262         (gst_pad_realize), (gst_pad_get_allowed_caps),
13263         (gst_real_pad_dispose), (gst_real_pad_finalize),
13264         (gst_pad_collectv), (gst_pad_collect_valist),
13265         (gst_pad_template_dispose), (gst_pad_template_new),
13266         (gst_pad_get_internal_links):
13267         * gst/gstpad.h:
13268         * gst/gstpipeline.c: (gst_pipeline_dispose),
13269         (gst_pipeline_change_state):
13270         * gst/gstpipeline.h:
13271         * gst/gstplugin.c:
13272         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13273         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13274         * gst/gstpluginfeature.h:
13275         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13276         * gst/gstquery.c: (_gst_query_type_initialize),
13277         (gst_query_type_register), (gst_query_type_get_by_nick),
13278         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13279         * gst/gstquery.h:
13280         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13281         * gst/gstscheduler.c: (gst_scheduler_add_element),
13282         (gst_scheduler_factory_create):
13283         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13284         (gst_structure_free), (gst_structure_set_name),
13285         (gst_structure_id_set_value), (gst_structure_set_value),
13286         (gst_structure_set_valist), (gst_structure_remove_field),
13287         (gst_structure_remove_fields),
13288         (gst_structure_remove_fields_valist),
13289         (gst_structure_remove_all_fields), (gst_structure_foreach),
13290         (gst_structure_map_in_place),
13291         (gst_caps_structure_fixate_field_nearest_int),
13292         (gst_caps_structure_fixate_field_nearest_double):
13293         * gst/gststructure.h:
13294         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13295         (gst_system_clock_init), (gst_system_clock_dispose),
13296         (gst_system_clock_async_thread),
13297         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13298         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13299         * gst/gstsystemclock.h:
13300         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13301         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13302         * gst/gsttaginterface.c:
13303         * gst/gstthread.c: (gst_thread_dispose),
13304         (gst_thread_release_children_locks), (gst_thread_change_state),
13305         (gst_thread_main_loop):
13306         * gst/gsttrashstack.h:
13307         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13308         * gst/gsttypes.h:
13309         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13310         (gst_element_request_pad), (gst_element_get_pad_from_template),
13311         (gst_element_request_compatible_pad),
13312         (gst_element_get_compatible_pad_filtered),
13313         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13314         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13315         (gst_element_link_many), (gst_element_link),
13316         (gst_element_link_pads), (gst_element_unlink_pads),
13317         (gst_element_unlink_many), (gst_element_unlink),
13318         (gst_pad_can_link_filtered), (gst_pad_can_link),
13319         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13320         (gst_object_default_error), (gst_bin_add_many),
13321         (gst_bin_remove_many), (gst_element_populate_std_props),
13322         (gst_element_class_install_std_props), (gst_buffer_merge),
13323         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13324         (link_fold_func), (gst_pad_proxy_setcaps):
13325         * gst/gstutils.h:
13326         * gst/gstvalue.c: (gst_value_deserialize_string):
13327         * gst/parse/grammar.y:
13328         * gst/schedulers/gstbasicscheduler.c:
13329         (gst_basic_scheduler_cothreaded_chain),
13330         (gst_basic_scheduler_chain_recursive_add),
13331         (gst_basic_scheduler_pad_link):
13332         * gst/schedulers/gstoptimalscheduler.c:
13333         (get_group_schedule_function),
13334         (gst_opt_scheduler_state_transition),
13335         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13336         * libs/gst/bytestream/bytestream.c:
13337         * libs/gst/dataprotocol/dataprotocol.c:
13338         (gst_dp_header_from_buffer):
13339         * po/nb.po:
13340         * po/ru.po:
13341         * tests/threadstate/threadstate2.c: (eos):
13342         * tools/gst-compprep.c: (main):
13343         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13344         (print_pad_info), (print_children_info):
13345         * tools/gst-launch.c: (idle_func), (main):
13346         * tools/gst-md5sum.c: (idle_func), (main):
13347         * tools/gst-xmlinspect.c: (print_element_info):
13348         First THREADED backport attempt, focusing on adding locks and
13349         making sure the API is threadsafe. Needs more work. More docs
13350         follow this week.
13351
13352 2005-02-24  Andy Wingo  <wingo@pobox.com>
13353
13354         * tests/bench-complexity.scm:
13355         * tests/complexity.gnuplot: New files, good for running complexity
13356         benchmarks.
13357
13358         * tests/Makefile.am:
13359         * tests/complexity.c: New test, sets up N elements, at each level
13360         teeing into M streams per element. Eeeenteresting.
13361
13362         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13363         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13364         running bench-mass_elements.scm.
13365
13366         * tests/bench-mass_elements.scm: New script, runs mass_elements
13367         for various numbers of identities, outputting the results to a
13368         file. Requires guile 1.6. Just for testing.
13369
13370 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13371
13372         * gst/schedulers/fairscheduler.c:
13373           compile with debug disabled
13374
13375 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13376
13377         * configure.ac:
13378           hunting season on 0.9 is now OPEN