docs/manual/mime-world.fig: Add audioconvert element to diagram so that it matches...
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * docs/manual/mime-world.fig:
4           Add audioconvert element to diagram so that it
5           matches the text and the code (fixes #319526).
6
7 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
8
9         * docs/pwg/building-chainfn.xml:
10         * docs/pwg/building-pads.xml:
11         * docs/pwg/building-state.xml:
12         * docs/pwg/other-source.xml:
13           Update state change stuff for 0.10 (fixes #322969).
14
15 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16
17         * docs/manual/advanced-dataaccess.xml:
18         * docs/manual/appendix-checklist.xml:
19         * docs/manual/appendix-programs.xml:
20         * docs/manual/basics-pads.xml:
21         * docs/manual/highlevel-components.xml:
22         * docs/manual/manual.xml:
23           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
24           add converters in front of pipelines; remove curly
25           brackets for threads stuff, they no longer exist; use
26           GST_TYPE_FRACTION for framerates; update some pieces of
27           code to 0.10, but there's plenty more to do.
28
29         * docs/manual/appendix-porting.xml:
30           Expand on asynchroneous state changes; s/0.9/0.10/;
31           mention disappearance of gst_init_get_popt_table()
32           (fixes #322916).
33
34 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
35
36         * docs/faq/using.xml:
37           Spider no longer exists, and neither does gst-launch-ext.
38           Update examples to use decodebin and playbin and put
39           converters in front of sinks (fixes #323726).
40
41 2005-12-09  Michael Smith  <msmith@fluendo.com>
42
43         * plugins/elements/gsttypefindelement.c: (find_peek),
44         (gst_type_find_element_chain):
45           Fix leaking element factories in typefinding.
46           Fix problem where we forgot about a probable type on non-seekable
47           files, and thus later mis-typefound it.
48
49 2005-12-09  Michael Smith  <msmith@fluendo.com>
50
51         * common/m4/gst-makecontext.m4:
52         * common/m4/gst-mcsc.m4:
53         * configure.ac:
54         * win32/common/config.h:
55         * win32/common/config.h.in:
56           Remove makecontext stuff; not used in 0.10 and causes problems on
57           HPUX according to bug #322441
58
59 2005-12-07  Wim Taymans  <wim@fluendo.com>
60
61         * tests/check/Makefile.am:
62         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
63         (main):
64         * tests/check/libs/struct_i386.h:
65         Added ABI check for libs
66
67 2005-12-07  Wim Taymans  <wim@fluendo.com>
68
69         * tests/check/Makefile.am:
70         And add the struct_i386.h to dist.
71
72 2005-12-07  Wim Taymans  <wim@fluendo.com>
73
74         * tests/check/Makefile.am:
75         * tests/check/gst/.cvsignore:
76         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
77         (main):
78         * tests/check/gst/struct_i386.h:
79         Added check for ABI compatibility.
80
81 2005-12-07  Wim Taymans  <wim@fluendo.com>
82
83         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
84         (gst_fake_src_get_times), (gst_fake_src_create):
85         Fix broken sync option, fixes #323259
86
87 2005-12-07  Wim Taymans  <wim@fluendo.com>
88
89         * gst/gstbuffer.c:
90         Small docs update.
91
92         * gst/gstcaps.c: (gst_caps_is_equal):
93         Don't assert on NULL <--> X. Fixes #323260
94
95         * gst/gstminiobject.c: (gst_mini_object_replace):
96         If we're doing atomic operations, we might just as well use
97         the proper way to get an atomic pointer.
98
99         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
100         Clean up debugging.
101
102 2005-12-07  Michael Smith  <msmith@fluendo.com>
103
104         * gst/parse/grammar.y:
105           Remove handling of { } for threads.
106
107 2005-12-06  David Schleef  <ds@schleef.org>
108
109         * libs/gst/base/gstbasetransform.c: speling fix.
110
111 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
112
113         * docs/libs/tmpl/gstdataprotocol.sgml:
114         * docs/random/omega/testing/gstobject.c:
115         * gst/gst.c:
116         * gst/gstclock.c:
117         * gst/gstelement.c:
118         * gst/gstelementfactory.c:
119         * gst/gsterror.c:
120         * gst/gstevent.c:
121         * gst/gstghostpad.c:
122         * gst/gstinfo.c:
123         * gst/gstpadtemplate.c:
124         * gst/gstregistryxml.c:
125         * gst/gsttaglist.c:
126         * gst/gsttagsetter.c:
127         * gst/gsttypefind.c:
128         * gst/gstvalue.c:
129         * libs/gst/base/gstbasesrc.c:
130         * libs/gst/net/gstnetclientclock.c:
131         * libs/gst/net/gstnettimeprovider.c:
132         * plugins/elements/gstfakesrc.c:
133         * plugins/elements/gstfdsrc.c:
134         * plugins/elements/gstfilesrc.c:
135         * plugins/elements/gstidentity.c:
136         * plugins/elements/gstqueue.c:
137         * plugins/elements/gsttypefindelement.c:
138         * plugins/indexers/gstfileindex.c:
139         * plugins/indexers/gstmemindex.c:
140         * tests/check/gst/gsttag.c:
141         * tests/old/examples/cutter/cutter.c:
142         * tests/old/examples/mixer/mixer.c:
143         * tests/old/examples/xml/runxml.c: (main):
144         * tests/old/testsuite/caps/normalisation.c:
145         * tests/old/testsuite/debug/global.c:
146         * tests/old/testsuite/parse/parse1.c:
147         * tools/gst-xmlinspect.c:
148         * win32/common/dirent.c:
149           expand tabs
150
151 === release 0.10.0 ===
152
153 2005-12-05   <thomas (at) apestaart (dot) org>
154
155         * configure.ac:
156           releasing 0.10.0, "Maroilles"
157
158 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
159
160         submitted by: Funda Wang <fundawang@linux.net.cn>
161
162         * po/LINGUAS:
163         * po/zh_CN.po:
164           added Chinese (Traditional) translation
165
166 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
167
168         * docs/gst/gstreamer-sections.txt:
169         * docs/libs/tmpl/gstdataprotocol.sgml:
170         * docs/random/thomasvs/TODO:
171         * gst/gstutils.c:
172         * gst/gstutils.h:
173           fix docs
174
175 2005-12-05  Andy Wingo  <wingo@pobox.com>
176
177         patch by: Wim Taymans <wim@fluendo.com>
178
179         * libs/gst/base/gstbasetransform.c
180         (gst_base_transform_prepare_output_buf)
181         (gst_base_transform_buffer_alloc):
182         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
183         alloc_buffer_and_set_caps.
184
185         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
186         set_caps on the source pad.
187         (gst_pad_alloc_buffer_and_set_caps): New function, does what
188         alloc_buffer used to do. Fixes #322874.
189
190         * docs/gst/gstreamer-sections.txt: 
191         * docs/design/part-negotiation.txt: 
192         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
193         changes.
194
195 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
196
197         patch by: Sebastien Moutte
198
199         * win32/MANIFEST:
200         * win32/common/config.h.in:
201         * win32/vs6/libgstcontroller.dsp:
202           win32 build fixes
203
204 2005-12-05  Wim Taymans  <wim@fluendo.com>
205
206         * gst/gstcaps.c: (gst_caps_is_equal):
207         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
208         (gst_fake_src_create):
209         Back out previous code changes, leave doc updates, file bugs 
210         instead. 
211
212 2005-12-05  Wim Taymans  <wim@fluendo.com>
213
214         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
215         (gst_fake_src_get_times), (gst_fake_src_create):
216         * plugins/elements/gstfakesrc.h:
217         Fix broken sync code.
218
219 2005-12-05  Wim Taymans  <wim@fluendo.com>
220
221         * gst/gstcaps.c: (gst_caps_is_equal):
222         Comparing NULL against !NULL yields different caps, not a
223         failure.
224
225 2005-12-05  Wim Taymans  <wim@fluendo.com>
226
227         * gst/gstpipeline.c:
228         Fix small typo in docs.
229
230 2005-12-05  Andy Wingo  <wingo@pobox.com>
231
232         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
233
234         * gst/gst.c (init_post): remove hard-coded 0.9 location for
235         registries/plugins with a MAJORMINOR one.
236         (plugin_desc): Rename library from gstcoreleements to
237         staticelements. Fixes #323222.
238
239 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
240
241         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
242           Change debug category to 'collectpads' from 'collect_pads'
243           (fixes #323250).
244
245 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
246
247         patch by: Sebastien Moutte
248
249         * libs/gst/controller/gstinterpolation.c:
250           use convert function for uint64/double
251         * win32/vs6/libgstcontroller.dsp:
252           link to GLib
253
254 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
255
256         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
257         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
258         * gst/gstutils.h:
259         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
260           add tests that seem to show that the guint64/gdouble conversions
261           are correct.
262
263 2005-12-02  Wim Taymans  <wim@fluendo.com>
264
265         * gst/gstregistry.c: (gst_registry_add_path):
266         * gst/gstregistry.h:
267         * gst/gstregistryxml.c:
268         Fix docs again.
269
270 2005-12-02  Wim Taymans  <wim@fluendo.com>
271
272         * gst/gstutils.c: (gst_util_uint64_scale_int64),
273         (gst_util_uint64_scale_int):
274         Small cleanup.
275
276         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
277         Add debug log line.
278
279         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
280         Add FIXME.
281
282 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
283
284         * win32/MANIFEST:
285         * win32/common/config.h:
286         * win32/vs6/gstreamer.dsw:
287         * win32/vs6/libgstcoreelements.dsp:
288         * win32/vs6/libgstelements.dsp:
289           renamed core elements plugin
290
291 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
292
293         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
294         (get_candidates):
295           do piece-wise major/minor comparison so 0.9 < 0.10
296           also allow .exe extensions for tools
297
298 2005-12-02  Michael Smith  <msmith@fluendo.com>
299
300         * gst/gst.c:
301           Escape a % to make gtkdoc happier; bug 322958.
302
303 === release 0.9.7 ===
304
305 2005-12-01   <thomas (at) apestaart (dot) org>
306
307         * configure.ac:
308           releasing 0.9.7, "My Dog Has No Nose"
309
310 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
311
312         * common/gst-xmlinspect.py:
313         * configure.ac:
314         * docs/libs/tmpl/gstdataprotocol.sgml:
315         * docs/random/release:
316         * po/af.po:
317         * po/az.po:
318         * po/bg.po:
319         * po/ca.po:
320         * po/cs.po:
321         * po/de.po:
322         * po/en_GB.po:
323         * po/fr.po:
324         * po/it.po:
325         * po/nb.po:
326         * po/nl.po:
327         * po/ru.po:
328         * po/sq.po:
329         * po/sr.po:
330         * po/sv.po:
331         * po/tr.po:
332         * po/uk.po:
333         * po/vi.po:
334         * win32/common/config.h:
335         * win32/common/config.h.in:
336         * win32/vs6/gst_inspect.dsp:
337         * win32/vs6/gst_launch.dsp:
338         * win32/vs6/libgstbase.dsp:
339         * win32/vs6/libgstelements.dsp:
340         * win32/vs6/libgstreamer.dsp:
341         * win32/vs7/GStreamer.vcproj:
342         * win32/vs7/gst-inspect.vcproj:
343         * win32/vs7/gst-launch.vcproj:
344         * win32/vs7/libgstbase.vcproj:
345           bump GST_MAJORMINOR to 0.10
346           reset libtool version
347
348 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
349
350         * po/LINGUAS:
351         * po/bg.po:
352           Added Bulgarian translation by (Alexander Shopov)
353
354 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
355
356         * tests/check/gst/gstplugin.c:
357           fix test
358
359 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
360
361         * common/gst-xmlinspect.py:
362         * common/gtk-doc-plugins.mak:
363         * configure.ac:
364         * docs/Makefile.am:
365         * docs/gst/Makefile.am:
366         * docs/gst/gstreamer-docs.sgml:
367         * docs/gst/gstreamer-sections.txt:
368         * docs/gst/gstreamer.types:
369         * docs/gst/gstreamer.types.in:
370         * docs/plugins/Makefile.am:
371         * docs/plugins/gstreamer-plugins-docs.sgml:
372         * docs/plugins/gstreamer-plugins-sections.txt:
373         * docs/plugins/gstreamer-plugins.types:
374         * docs/plugins/inspect.stamp:
375         * docs/plugins/inspect/plugin-coreelements.xml:
376         * docs/plugins/inspect/plugin-coreindexers.xml:
377         * docs/plugins/scanobj-build.stamp:
378         * gstreamer.spec.in:
379         * plugins/elements/Makefile.am:
380         * plugins/elements/gstelements.c:
381         * plugins/elements/gstfakesink.c:
382         * plugins/elements/gstfakesrc.c:
383         * plugins/elements/gstfilesink.c:
384         * plugins/elements/gstfilesrc.c:
385         * plugins/elements/gstqueue.c:
386         * plugins/indexers/Makefile.am:
387         * plugins/indexers/gstindexers.c:
388           document core plugins in a separate document just like all the
389           others
390           rename these plugins to something starting with core
391
392 2005-12-01  Andy Wingo  <wingo@pobox.com>
393
394         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
395         padding here before, but it missed the commit.
396
397 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
398
399         * libs/gst/controller/gstinterpolation.c:
400           whitespace prices have crashed, we should feel free to use some now
401           use gst_guint64_to_gdouble
402
403 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
404
405         * libs/gst/controller/gstcontroller.c:
406         * libs/gst/controller/gsthelper.c:
407         * libs/gst/controller/gstinterpolation.c:
408         * libs/gst/controller/lib.c:
409           wrap config.h include
410
411 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
412
413         * docs/gst/gstreamer-sections.txt:
414           update docs
415
416 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
417
418         * plugins/elements/gstelements.c:
419         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
420         (gst_fd_sink__class_init), (gst_fd_sink__init),
421         (gst_fd_sink__chain), (gst_fd_sink__set_property),
422         (gst_fd_sink__get_property):
423         * plugins/elements/gstfdsink.h:
424         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
425         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
426         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
427         (gst_fd_src_unlock), (gst_fd_src_set_property),
428         (gst_fd_src_get_property), (gst_fd_src_create),
429         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
430         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
431         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
432         (gst_fd_src_uri_handler_init):
433         * plugins/elements/gstfdsrc.h:
434         * plugins/elements/gstqueue.c: (gst_queue_get_type):
435           more anal cleanup
436
437 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
438
439         * docs/gst/Makefile.am:
440         * docs/gst/gstreamer.types.in:
441         * gst/Makefile.am:
442           fix the docs build
443
444 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
445
446         * configure.ac:
447         * gst/Makefile.am:
448         * gst/gst.c:
449         * gst/gstplugin.h:
450         * gst/gstregistry.h:
451         * tests/benchmarks/complexity.c:
452         * tests/benchmarks/mass-elements.c:
453         * tests/check/Makefile.am:
454         * tools/Makefile.am:
455         * tools/gst-inspect.c:
456         * tools/gst-xmlinspect.c:
457           various fixes to make
458           --disable-nls --disable-registry --disable-loadsave
459           --disable-parse --disable-gst-debug
460           work and get the core .so down to 360444 bytes after stripping
461
462 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
463
464         * Makefile.am:
465         * configure.ac:
466           descend into tests
467         * docs/random/thomasvs/TODO:
468         * tests/Makefile.am:
469         * tests/README:
470           add a README
471
472 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
473
474         * win32/GStreamer.vcproj:
475         * win32/MANIFEST:
476         * win32/Makefile:
477         * win32/Makefile.inspect:
478         * win32/Makefile.launch:
479         * win32/Makefile.register:
480         * win32/README.txt:
481         * win32/gst-inspect.vcproj:
482         * win32/gst-launch.vcproj:
483         * win32/gst-register.vcproj:
484         * win32/gstelements.vcproj:
485         * win32/gstgetbits.def:
486         * win32/gstgetbits.vcproj:
487         * win32/gstreamer-dbg.def:
488         * win32/gstreamer.def:
489         * win32/libgstbase.def:
490         * win32/libgstbase.vcproj:
491         * win32/link_oldruntime.c:
492         * win32/mman.c:
493         * win32/mman.h:
494         * win32/mman.inl:
495         * win32/msvc71.sln:
496           move even more stuff, win32/ is nice and clean now
497
498 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
499
500         * libs/gst/control/.cvsignore:
501         * win32/MANIFEST:
502         * win32/config.h:
503         * win32/dirent.c:
504         * win32/dirent.h:
505         * win32/gstbytestream.def:
506         * win32/gstbytestream.vcproj:
507         * win32/gstconfig.h:
508         * win32/gstenumtypes.c:
509         * win32/gstenumtypes.h:
510         * win32/gstoptimalscheduler.vcproj:
511         * win32/gstversion.h:
512         * win32/gtchar.h:
513         * win32/testsuite/bins.vcproj:
514         * win32/testsuite/bytestream.vcproj:
515         * win32/testsuite/caps.vcproj:
516         * win32/testsuite/cleanup.vcproj:
517         * win32/testsuite/clock.vcproj:
518         * win32/testsuite/debug.vcproj:
519         * win32/testsuite/dlopen.vcproj:
520         * win32/testsuite/dynparams.vcproj:
521         * win32/testsuite/elements.vcproj:
522         * win32/testsuite/ghostpads.vcproj:
523         * win32/testsuite/indexers.vcproj:
524         * win32/testsuite/negotiation.vcproj:
525         * win32/testsuite/parse.vcproj:
526         * win32/testsuite/plugin.vcproj:
527         * win32/testsuite/refcounting.vcproj:
528         * win32/testsuite/schedulers.vcproj:
529         * win32/testsuite/states.vcproj:
530         * win32/testsuite/tags.vcproj:
531         * win32/testsuite/threads.vcproj:
532           remove old win32 stuff that isn't maintained and should be
533           reorganized
534
535 2005-11-30  Andy Wingo  <wingo@pobox.com>
536
537         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
538         loading the gst.interfaces python module bork.
539
540         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
541         available since GLib 2.2. Fixes #318031.
542
543 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
544
545         * Makefile.am:
546         * check/.cvsignore:
547         * check/Makefile.am:
548         * check/elements/.cvsignore:
549         * check/elements/fakesrc.c:
550         * check/elements/fdsrc.c:
551         * check/elements/identity.c:
552         * check/generic/.cvsignore:
553         * check/generic/states.c:
554         * check/gst-libs/.cvsignore:
555         * check/gst-libs/controller.c:
556         * check/gst-libs/gdp.c:
557         * check/gst/.cvsignore:
558         * check/gst/capslist.h:
559         * check/gst/gst.c:
560         * check/gst/gstbin.c:
561         * check/gst/gstbuffer.c:
562         * check/gst/gstbus.c:
563         * check/gst/gstcaps.c:
564         * check/gst/gstelement.c:
565         * check/gst/gstevent.c:
566         * check/gst/gstghostpad.c:
567         * check/gst/gstiterator.c:
568         * check/gst/gstmessage.c:
569         * check/gst/gstminiobject.c:
570         * check/gst/gstobject.c:
571         * check/gst/gstpad.c:
572         * check/gst/gstpipeline.c:
573         * check/gst/gstplugin.c:
574         * check/gst/gstsegment.c:
575         * check/gst/gststructure.c:
576         * check/gst/gstsystemclock.c:
577         * check/gst/gsttag.c:
578         * check/gst/gstutils.c:
579         * check/gst/gstvalue.c:
580         * check/net/.cvsignore:
581         * check/net/gstnetclientclock.c:
582         * check/net/gstnettimeprovider.c:
583         * check/pipelines/.cvsignore:
584         * check/pipelines/cleanup.c:
585         * check/pipelines/simple_launch_lines.c:
586         * check/pipelines/stress.c:
587         * check/states/.cvsignore:
588         * check/states/sinks.c:
589         * configure.ac:
590         * examples/Makefile.am:
591         * examples/appreader/.cvsignore:
592         * examples/appreader/Makefile.am:
593         * examples/appreader/appreader.c:
594         * examples/controller/.cvsignore:
595         * examples/controller/Makefile.am:
596         * examples/controller/audio-example.c:
597         * examples/cutter/.cvsignore:
598         * examples/cutter/Makefile.am:
599         * examples/cutter/cutter.c:
600         * examples/cutter/cutter.h:
601         * examples/events/Makefile.am:
602         * examples/events/seek.c:
603         * examples/helloworld/.cvsignore:
604         * examples/helloworld/Makefile.am:
605         * examples/helloworld/helloworld.c:
606         * examples/helloworld2/.cvsignore:
607         * examples/helloworld2/Makefile.am:
608         * examples/helloworld2/helloworld2.c:
609         * examples/launch/.cvsignore:
610         * examples/launch/Makefile.am:
611         * examples/launch/mp3parselaunch.c:
612         * examples/launch/mp3play:
613         * examples/manual/.cvsignore:
614         * examples/manual/Makefile.am:
615         * examples/manual/extract.pl:
616         * examples/metadata/Makefile.am:
617         * examples/metadata/read-metadata.c:
618         * examples/mixer/.cvsignore:
619         * examples/mixer/Makefile.am:
620         * examples/mixer/mixer.c:
621         * examples/mixer/mixer.h:
622         * examples/pingpong/.cvsignore:
623         * examples/pingpong/Makefile.am:
624         * examples/pingpong/pingpong.c:
625         * examples/plugins/.cvsignore:
626         * examples/plugins/Makefile.am:
627         * examples/plugins/example.c:
628         * examples/plugins/example.h:
629         * examples/pwg/.cvsignore:
630         * examples/pwg/Makefile.am:
631         * examples/pwg/extract.pl:
632         * examples/queue/.cvsignore:
633         * examples/queue/Makefile.am:
634         * examples/queue/queue.c:
635         * examples/queue2/.cvsignore:
636         * examples/queue2/Makefile.am:
637         * examples/queue2/queue2.c:
638         * examples/queue3/.cvsignore:
639         * examples/queue3/Makefile.am:
640         * examples/queue3/queue3.c:
641         * examples/queue4/.cvsignore:
642         * examples/queue4/Makefile.am:
643         * examples/queue4/queue4.c:
644         * examples/retag/.cvsignore:
645         * examples/retag/Makefile.am:
646         * examples/retag/retag.c:
647         * examples/retag/transcode.c:
648         * examples/thread/.cvsignore:
649         * examples/thread/Makefile.am:
650         * examples/thread/thread.c:
651         * examples/typefind/.cvsignore:
652         * examples/typefind/Makefile.am:
653         * examples/typefind/typefind.c:
654         * examples/xml/.cvsignore:
655         * examples/xml/Makefile.am:
656         * examples/xml/createxml.c:
657         * examples/xml/runxml.c:
658         * tests/Makefile.am:
659         * tests/check/Makefile.am:
660         * testsuite/.cvsignore:
661         * testsuite/Makefile.am:
662         * testsuite/Rules:
663         * testsuite/caps/.cvsignore:
664         * testsuite/caps/Makefile.am:
665         * testsuite/caps/app_fixate.c:
666         * testsuite/caps/audioscale.c:
667         * testsuite/caps/caps.c:
668         * testsuite/caps/caps.h:
669         * testsuite/caps/caps_strings:
670         * testsuite/caps/compatibility.c:
671         * testsuite/caps/deserialize.c:
672         * testsuite/caps/enumcaps.c:
673         * testsuite/caps/eratosthenes.c:
674         * testsuite/caps/filtercaps.c:
675         * testsuite/caps/fixed.c:
676         * testsuite/caps/fraction-convert.c:
677         * testsuite/caps/fraction-multiply-and-zero.c:
678         * testsuite/caps/intersect2.c:
679         * testsuite/caps/intersection.c:
680         * testsuite/caps/normalisation.c:
681         * testsuite/caps/random.c:
682         * testsuite/caps/renegotiate.c:
683         * testsuite/caps/sets.c:
684         * testsuite/caps/simplify.c:
685         * testsuite/caps/string-conversions.c:
686         * testsuite/caps/structure.c:
687         * testsuite/caps/subtract.c:
688         * testsuite/caps/union.c:
689         * testsuite/debug/.cvsignore:
690         * testsuite/debug/Makefile.am:
691         * testsuite/debug/category.c:
692         * testsuite/debug/commandline.c:
693         * testsuite/debug/global.c:
694         * testsuite/debug/output.c:
695         * testsuite/debug/printf_extension.c:
696         * testsuite/dlopen/.cvsignore:
697         * testsuite/dlopen/Makefile.am:
698         * testsuite/dlopen/dlopen_gst.c:
699         * testsuite/dlopen/loadgst.c:
700         * testsuite/elements/.cvsignore:
701         * testsuite/elements/Makefile.am:
702         * testsuite/elements/gst-inspect-check.in:
703         * testsuite/elements/struct_i386.h:
704         * testsuite/elements/struct_size.c:
705         * testsuite/indexers/.cvsignore:
706         * testsuite/indexers/Makefile.am:
707         * testsuite/indexers/cache1.c:
708         * testsuite/indexers/indexdump.c:
709         * testsuite/parse/.cvsignore:
710         * testsuite/parse/Makefile.am:
711         * testsuite/parse/parse1.c:
712         * testsuite/parse/parse2.c:
713         * testsuite/plugin/.cvsignore:
714         * testsuite/plugin/Makefile.am:
715         * testsuite/plugin/README:
716         * testsuite/plugin/dynamic.c:
717         * testsuite/plugin/linked.c:
718         * testsuite/plugin/loading.c:
719         * testsuite/plugin/registry.c:
720         * testsuite/plugin/static.c:
721         * testsuite/plugin/static2.c:
722         * testsuite/plugin/testplugin.c:
723         * testsuite/plugin/testplugin2.c:
724         * testsuite/plugin/testplugin2_s.c:
725         * testsuite/plugin/testplugin_s.c:
726         * testsuite/refcounting/.cvsignore:
727         * testsuite/refcounting/Makefile.am:
728         * testsuite/refcounting/bin.c:
729         * testsuite/refcounting/element.c:
730         * testsuite/refcounting/element_pad.c:
731         * testsuite/refcounting/mainloop.c:
732         * testsuite/refcounting/mem.c:
733         * testsuite/refcounting/mem.h:
734         * testsuite/refcounting/object.c:
735         * testsuite/refcounting/pad.c:
736         * testsuite/refcounting/sched.c:
737         * testsuite/refcounting/thread.c:
738         * testsuite/states/.cvsignore:
739         * testsuite/states/Makefile.am:
740         * testsuite/states/bin.c:
741         * testsuite/states/locked.c:
742         * testsuite/states/parent.c:
743         * testsuite/threads/.cvsignore:
744         * testsuite/threads/159566.c:
745         * testsuite/threads/159852.c:
746         * testsuite/threads/Makefile.am:
747         * testsuite/threads/queue.c:
748         * testsuite/threads/signals.c:
749         * testsuite/threads/staticrec.c:
750         * testsuite/threads/thread.c:
751         * testsuite/threads/threadb.c:
752         * testsuite/threads/threadc.c:
753         * testsuite/threads/threadd.c:
754         * testsuite/threads/threade.c:
755         * testsuite/threads/threadf.c:
756         * testsuite/threads/threadg.c:
757         * testsuite/threads/threadh.c:
758         * testsuite/threads/threadi.c:
759           move all of these under tests
760
761 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
762
763         * configure.ac:
764         * tests/Makefile.am:
765           fix distcheck
766
767 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
768
769         * docs/gst/gstreamer-sections.txt:
770         * tests/sched/.cvsignore:
771         * tests/sched/Makefile.am:
772         * tests/sched/cases/(fs-fs).xml:
773         * tests/sched/cases/(fs-i-fs).xml:
774         * tests/sched/cases/(fs-i-i-fs).xml:
775         * tests/sched/cases/(fs-i-q[i-fs]).xml:
776         * tests/sched/dynamic-pipeline.c:
777         * tests/sched/interrupt1.c:
778         * tests/sched/interrupt2.c:
779         * tests/sched/interrupt3.c:
780         * tests/sched/runtestcases:
781         * tests/sched/runxml.c:
782         * tests/sched/sched-stress.c:
783         * tests/sched/sort.c:
784         * tests/sched/testcases:
785         * tests/sched/testcases1.tc:
786         * tests/seeking/.cvsignore:
787         * tests/seeking/Makefile.am:
788         * tests/seeking/seeking1.c:
789         * tests/threadstate/.cvsignore:
790         * tests/threadstate/Makefile.am:
791         * tests/threadstate/test1.c:
792         * tests/threadstate/test2.c:
793         * tests/threadstate/threadstate1.c:
794         * tests/threadstate/threadstate2.c:
795         * tests/threadstate/threadstate3.c:
796         * tests/threadstate/threadstate4.c:
797         * tests/threadstate/threadstate5.c:
798           remove obsolete tests
799         * configure.ac:
800         * tests/bench-complexity.scm:
801         * tests/bench-mass_elements.scm:
802         * tests/complexity.c:
803         * tests/complexity.gnuplot:
804         * tests/instantiate/.cvsignore:
805         * tests/instantiate/Makefile.am:
806         * tests/instantiate/caps.c:
807         * tests/mass_elements.c:
808         * tests/network-clock-utils.scm:
809         * tests/network-clock.scm:
810         * tests/plot-data:
811         First pass at cleaning up tests/ dir before moving the rest
812         Combined with CVS surgery
813
814 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
815
816         * po/POTFILES.in:
817           queue has moved, update
818
819 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
820
821         * docs/gst/gstreamer-sections.txt:
822           remove double entries from the docs
823         * gst/gst_private.h:
824         * gst/gstinfo.c: (_gst_debug_init):
825           remove the THREAD debug category
826         * gst/Makefile.am:
827         * gst/gstqueue.c:
828         * gst/gstqueue.h:
829         * docs/gst/gstreamer.types:
830         * plugins/elements/gstqueue.c: (gst_queue_get_type),
831         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
832           completely move queue and fix up debugging categories
833
834 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
835
836         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
837           make initialization portable, using LL is not
838
839 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
840
841         * win32/common/gstconfig.h:
842           add large padding
843
844 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
845
846         * win32/common/libgstreamer.def:
847           rename symbols; sort base section
848
849 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
850
851         * gst/gstclock.c: (do_linear_regression):
852           remove crack non-portable handrolled DEBUG macro
853
854 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
855
856         * docs/random/release:
857           update notes
858         * win32/common/gstenumtypes.c: (register_gst_object_flags),
859         (gst_object_flags_get_type), (register_gst_bin_flags),
860         (gst_bin_flags_get_type), (register_gst_buffer_flag),
861         (gst_buffer_flag_get_type), (register_gst_bus_flags),
862         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
863         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
864         (gst_caps_flags_get_type), (register_gst_clock_return),
865         (gst_clock_return_get_type), (register_gst_clock_entry_type),
866         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
867         (gst_clock_flags_get_type), (register_gst_state),
868         (gst_state_get_type), (register_gst_state_change_return),
869         (gst_state_change_return_get_type), (register_gst_state_change),
870         (gst_state_change_get_type), (register_gst_element_flags),
871         (gst_element_flags_get_type), (register_gst_core_error),
872         (gst_core_error_get_type), (register_gst_library_error),
873         (gst_library_error_get_type), (register_gst_resource_error),
874         (gst_resource_error_get_type), (register_gst_stream_error),
875         (gst_stream_error_get_type), (register_gst_event_type_flags),
876         (gst_event_type_flags_get_type), (register_gst_event_type),
877         (gst_event_type_get_type), (register_gst_seek_type),
878         (gst_seek_type_get_type), (register_gst_seek_flags),
879         (gst_seek_flags_get_type), (register_gst_format),
880         (gst_format_get_type), (register_gst_index_certainty),
881         (gst_index_certainty_get_type), (register_gst_index_entry_type),
882         (gst_index_entry_type_get_type),
883         (register_gst_index_lookup_method),
884         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
885         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
886         (gst_index_resolver_method_get_type), (register_gst_index_flags),
887         (gst_index_flags_get_type), (register_gst_debug_level),
888         (gst_debug_level_get_type), (register_gst_debug_color_flags),
889         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
890         (gst_iterator_result_get_type), (register_gst_iterator_item),
891         (gst_iterator_item_get_type), (register_gst_message_type),
892         (gst_message_type_get_type), (register_gst_mini_object_flags),
893         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
894         (gst_pad_link_return_get_type), (register_gst_flow_return),
895         (gst_flow_return_get_type), (register_gst_activate_mode),
896         (gst_activate_mode_get_type), (register_gst_pad_direction),
897         (gst_pad_direction_get_type), (register_gst_pad_flags),
898         (gst_pad_flags_get_type), (register_gst_pad_presence),
899         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
900         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
901         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
902         (gst_plugin_error_get_type), (register_gst_plugin_flags),
903         (gst_plugin_flags_get_type), (register_gst_rank),
904         (gst_rank_get_type), (register_gst_query_type),
905         (gst_query_type_get_type), (register_gst_tag_merge_mode),
906         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
907         (gst_tag_flag_get_type), (register_gst_task_state),
908         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
909         (gst_alloc_trace_flags_get_type),
910         (register_gst_type_find_probability),
911         (gst_type_find_probability_get_type), (register_gst_uri_type),
912         (gst_uri_type_get_type), (register_gst_parse_error),
913         (gst_parse_error_get_type):
914         * win32/common/gstenumtypes.h:
915         * win32/common/gstversion.h:
916           update visual studio generated files
917
918 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
919
920         * win32/vs6/libgstbase.dsp:
921         * win32/vs6/libgstelements.dsp:
922           update project files for new locations
923
924 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
925
926         * Makefile.am:
927           remove some files
928         * README:
929           reinstate and update
930         * DEVEL:
931         * REQUIREMENTS:
932           removed
933         * LICENSE:
934         * docs/random/LICENSE:
935           moved to random
936
937 2005-11-30  Edward Hervey  <edward@fluendo.com>
938
939         * gst/gsttypefind.c: (gst_type_find_register):
940         * gst/gsttypefind.h:
941         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
942         (gst_type_find_factory_dispose):
943         * gst/gsttypefindfactory.h:
944         Fix memory leak in GstTypeFindFactory.
945
946 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
947
948         * gst/gst.c:
949         * plugins/elements/Makefile.am:
950         * plugins/elements/gstelements.c:
951         * plugins/elements/gstqueue.c:
952           move queue from core to the elements plugin
953
954 2005-11-29  Andy Wingo  <wingo@pobox.com>
955
956         * libs/gst/base/gstbasetransform.h: 
957         * libs/gst/base/gstbasesrc.h: 
958         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
959
960         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
961         of pointers by which to pad very extensible base classes (like the
962         ones in libs/gst/base).
963
964 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
965
966         * docs/gst/gstreamer-docs.sgml:
967         * docs/gst/gstreamer-sections.txt:
968         * docs/libs/gstreamer-libs-docs.sgml:
969         * docs/libs/gstreamer-libs-sections.txt:
970           moving documentation from core to lib
971
972 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
973
974         * check/Makefile.am:
975         * configure.ac:
976         * docs/gst/Makefile.am:
977         * gst/Makefile.am:
978         * gst/base/.cvsignore:
979         * gst/base/Makefile.am:
980         * gst/base/README:
981         * gst/base/gstadapter.c:
982         * gst/base/gstadapter.h:
983         * gst/base/gstbasesink.c:
984         * gst/base/gstbasesink.h:
985         * gst/base/gstbasesrc.c:
986         * gst/base/gstbasesrc.h:
987         * gst/base/gstbasetransform.c:
988         * gst/base/gstbasetransform.h:
989         * gst/base/gstcollectpads.c:
990         * gst/base/gstcollectpads.h:
991         * gst/base/gstpushsrc.c:
992         * gst/base/gstpushsrc.h:
993         * gst/base/gsttypefindhelper.c:
994         * gst/base/gsttypefindhelper.h:
995         * gst/check/Makefile.am:
996         * gst/check/gstcheck.c:
997         * gst/check/gstcheck.h:
998         * gst/net/Makefile.am:
999         * gst/net/gstnet.h:
1000         * gst/net/gstnetclientclock.c:
1001         * gst/net/gstnetclientclock.h:
1002         * gst/net/gstnettimepacket.c:
1003         * gst/net/gstnettimepacket.h:
1004         * gst/net/gstnettimeprovider.c:
1005         * gst/net/gstnettimeprovider.h:
1006         * libs/gst/Makefile.am:
1007         * libs/gst/base/Makefile.am:
1008         * libs/gst/base/gstbasetransform.c:
1009         * libs/gst/check/Makefile.am:
1010         * plugins/elements/Makefile.am:
1011         * po/POTFILES.in:
1012           CVS surgery + support to move base, check, and net out of gst
1013           and into libs/gst
1014
1015 2005-11-29  Andy Wingo  <wingo@pobox.com>
1016
1017         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1018
1019         * gst/gststructure.h (struct _GstStructure): Only one pointer of
1020         padding.
1021
1022         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1023
1024         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1025
1026         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1027
1028         * gst/gstobject.h: (struct _GstObject): Only one pointer of
1029         padding; reduces object size by about 30%. We don't expect
1030         anything else to go into gstobject.
1031
1032         * gst/gstminiobject.h (struct _GstMiniObject)
1033         (struct _GstMiniObjectClass): Only one pointer of padding; the
1034         payload is only a pointer and two ints anyway. For the class there
1035         are only two methods as well.
1036         
1037         * gst/gstelement.h (struct _GstElementClass): Removed
1038         the state_changed signal callback, it is not used.
1039
1040 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1041
1042         * docs/gst/gstreamer.types:
1043           fix includes, though they are a little dinky
1044
1045 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1046
1047         * check/Makefile.am:
1048           look in the right place for elements, a lot more chance of
1049           success
1050         * gst/Makefile.am:
1051           remove indexers and elements subdirs
1052         * plugins/Makefile.am:
1053           make indexers conditional
1054
1055 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1056
1057         * Makefile.am:
1058         * configure.ac:
1059         * plugins/elements/Makefile.am:
1060         * plugins/elements/gstcapsfilter.c:
1061         * plugins/elements/gstfilesink.c:
1062         * plugins/elements/gstfilesrc.c:
1063         * plugins/elements/gstidentity.c:
1064         * plugins/indexers/Makefile.am:
1065           do CVS surgery and related build fixery to move elements
1066           and indexers in a new gstreamer/plugins directory, out of the
1067           gst/ directory
1068
1069 2005-11-29  Andy Wingo  <wingo@pobox.com>
1070
1071         * check/Makefile.am:
1072         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1073         * pkgconfig/gstreamer-net.pc.in:
1074         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1075         #322257.
1076
1077 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1078
1079         * tools/Makefile.am:
1080         * tools/gst-complete.1.in:
1081         * tools/gst-complete.c:
1082         * tools/gst-compprep.1.in:
1083         * tools/gst-compprep.c:
1084           removing -compprep and -complete
1085
1086 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1087
1088         * gst/gstevent.c: (gst_event_new_new_segment),
1089         (gst_event_parse_new_segment):
1090         * gst/gstevent.h:
1091           fix #320529 - clean up new_segment API and structure.
1092           Let's hope everyone was using the methods, and not the structure.
1093
1094 2005-11-29  Edward Hervey  <edward@fluendo.com>
1095
1096         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1097         (gst_base_sink_event), (gst_base_sink_do_sync),
1098         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1099         Properly handle non GST_FORMAT_TIME segment
1100         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1101         Properly handle non GST_FORMAT_TIME segment
1102         * gst/gstsegment.c:
1103         This function is valid if the accumulator is 0 and the format
1104         is different from the requested format.
1105         
1106 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1107
1108         * docs/gst/gstreamer-sections.txt:
1109         Add gst_query_new_seeking and gst_query_parse_seeking to the
1110         docs.
1111
1112 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1113
1114         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1115           Treat a pad alloc with new caps the same as if we were not
1116           negotiated, in order to allow a changing upstream output
1117           to produce a new format of data.
1118
1119 2005-11-29  Edward Hervey  <edward@fluendo.com>
1120
1121         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1122         (gst_base_transform_event), (gst_base_transform_eventfunc):
1123         The event virtual method is now properly implemented, with a default
1124         handler
1125         Sub classes should call the parent_class event method. They should
1126         return FALSE if they had a problem handling the given event, or don't
1127         want GstBaseTransform to send that even downstream
1128         * gst/elements/gstidentity.c: (gst_identity_class_init),
1129         (gst_identity_init), (gst_identity_event),
1130         (gst_identity_transform_ip), (gst_identity_set_property),
1131         (gst_identity_get_property):
1132         * gst/elements/gstidentity.h:
1133         Added the single-segment boolean property.
1134         If set to TRUE, it will output a single segment of data, starting from
1135         0, will eat up all incoming newsegment, and modify the timestamp of the
1136         buffers accordingly
1137
1138 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
1139
1140         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1141           Don't ref NULL target pad (#322751). Improve docs.
1142
1143 2005-11-29  Michael Smith  <msmith@fluendo.com>
1144
1145         * gst/gstregistryxml.c: (load_plugin):
1146           Don't crash if we failed to load a feature from a plugin. 
1147
1148 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1149
1150         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1151         (GST_START_TEST):
1152           use more check API and less GLib API
1153
1154 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1155
1156         * Makefile.am:
1157           don't run checks if we don't have check
1158         * common/check.mak:
1159           remove the registry when running make torture
1160         * docs/gst/gstreamer-sections.txt:
1161           remove second multiply
1162         * gst/gstqueue.c: (gst_queue_loop):
1163           fix a compile warning when disabling debug
1164
1165 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1166
1167         * gst/gstinfo.h:
1168         Hey! Let's print the pad name if the pointer != NULL instead
1169         of when it == NULL :-)
1170
1171 2005-11-28  Wim Taymans  <wim@fluendo.com>
1172
1173         * check/gst/gstutils.c: (GST_START_TEST):
1174         Updated check, add some scaling accuracy checking code.
1175
1176         * gst/gstutils.c: (gst_util_div128_64),
1177         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1178         (gst_util_uint64_scale_int):
1179         Fix 6 times faster division code. Optimize for common 
1180         1/1 and less common X/1 cases.
1181
1182 2005-11-28  Wim Taymans  <wim@fluendo.com>
1183
1184         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1185         More checks.
1186
1187         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1188         (do_linear_regression), (gst_clock_add_observation):
1189         Cleanups.
1190         Release lock when the clock cannot be slaved.
1191         Catch the case where the regression returned an invalid denominator.
1192
1193         * gst/gstutils.c: (gst_util_div128_64_iterate),
1194         (gst_util_div128_64), (gst_util_uint64_scale_int64),
1195         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1196         Add protentially more performant non-iterative 128/64 divide function
1197         that unfortunatly does not work yet.
1198         Shortcut the trivial 0/X = 0 case.
1199         Remove the warnings on overflow.
1200
1201 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1202
1203         * gst/gstplugin.c: (gst_plugin_register_func):
1204           everything causing a plugin not to load should be at least a WARNING
1205
1206 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
1207
1208         * docs/random/ensonic/dparams.txt:
1209           some TODOs for the next dev cycle
1210         * libs/gst/controller/gstcontroller.c:
1211         (gst_controlled_property_set_interpolation_mode),
1212         (gst_controlled_property_new):
1213         * libs/gst/controller/gstcontroller.h:
1214           use base type to assign acccessor functions
1215
1216 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1217
1218         * check/Makefile.am:
1219         Oops, that should have been top_srcdir
1220
1221 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1222
1223         * check/Makefile.am:
1224         * check/elements/fdsrc.c: (GST_START_TEST):
1225         Use a cmdline define to specify the location of a file to use for
1226         testing, to avoid breaking distcheck.
1227
1228 2005-11-28  Andy Wingo  <wingo@pobox.com>
1229
1230         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1231
1232 2005-11-28  Edward Hervey  <edward@fluendo.com>
1233
1234         * tools/gst-launch.c: (main):
1235         Clarify the output strings, makes it easier to translate.
1236         Fixes #322626
1237
1238 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1239
1240         * gst/Makefile.am:
1241           don't try and build net if we don't even have <sys/socket.h>
1242
1243 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1244
1245         * check/Makefile.am:
1246         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1247         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1248           Add tests for fdsrc seekability
1249
1250         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1251         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1252         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1253         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1254         * gst/elements/gstfdsrc.h:
1255           fdsrc should not be a 'live' source.
1256           Implement seeking on seekable fd's.
1257
1258         * gst/gstquery.c: (gst_query_new_seeking),
1259         (gst_query_parse_seeking):
1260         * gst/gstquery.h:
1261           Implement SEEKING query functions: 
1262             *_new_seeking and *_parse_seeking
1263
1264 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1265
1266         * gst/gstelement.c: (gst_element_dispose):
1267           don't loop forever
1268
1269         * gst/gstiterator.c:
1270         * gst/gststructure.c:
1271           doc fixes
1272
1273         * libs/gst/controller/gstcontroller.c:
1274         (gst_controlled_property_set_interpolation_mode):
1275         * libs/gst/controller/gstcontroller.h:
1276         * libs/gst/controller/gstinterpolation.c:
1277         (interpolate_none_get_enum_value_array):
1278           support controlling enums
1279
1280 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1281
1282         * gst/gstvalue.c:
1283           Improve documentation for gst_value_union().
1284
1285         * gst/gstvalue.h:
1286           Change return value for union, intersect and subtract functions
1287           from gint to gboolean.
1288
1289 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1290
1291         * gst/gstvalue.c: (gst_value_serialize_any_list),
1292         (gst_value_transform_any_list_string),
1293         (gst_value_deserialize_list), (gst_value_deserialize_array),
1294         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1295         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1296         (gst_value_set_fraction_range_full),
1297         (gst_value_deserialize_fraction_range),
1298         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1299         (gst_value_deserialize_boolean),
1300         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1301         (gst_value_serialize_float), (gst_value_deserialize_float),
1302         (gst_string_wrap), (gst_value_deserialize_string),
1303         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1304         (gst_value_union_int_range_int_range),
1305         (gst_value_intersect_int_range_int_range),
1306         (gst_value_intersect_double_range_double_range),
1307         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1308         (gst_value_subtract_int_range_int_range),
1309         (gst_value_subtract_double_double_range),
1310         (gst_value_subtract_double_range_double_range),
1311         (gst_value_deserialize_fraction):
1312         * gst/gstvalue.h:
1313           Use gint, gdouble and gchar in our API instead of int, double and
1314           char (and make usage in gstvalue.c more consistent).
1315
1316 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1317
1318         * check/Makefile.am:
1319         * libs/gst/controller/Makefile.am:
1320         * libs/gst/dataprotocol/Makefile.am:
1321           fix up Makefile.am and remove GST_ENABLE_NEW
1322
1323 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1324
1325         * configure.ac:
1326         * gst/Makefile.am:
1327         * gst/base/Makefile.am:
1328         * gst/check/Makefile.am:
1329         * gst/elements/Makefile.am:
1330         * gst/net/Makefile.am:
1331           update LDFLAGS use some more
1332
1333 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1334
1335         * common/m4/gst-doc.m4:
1336           Fixes #312589
1337
1338 2005-11-26  Edward Hervey  <edward@fluendo.com>
1339
1340         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1341         This shouldn't issue a g_warning since it returns NULL if it
1342         couldn't find the plugin, and all functions using this behave
1343         properly on a NULL return. Switching to a GST_WARNING.
1344
1345 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1346
1347         * gst/gstbin.c: (gst_bin_handle_message_func):
1348         Don't leak clock messages.
1349
1350 2005-11-25  Wim Taymans  <wim@fluendo.com>
1351
1352         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1353         (gst_util_uint64_scale_int):
1354         Optimisations, remove unneeded vars.
1355
1356 2005-11-25  Wim Taymans  <wim@fluendo.com>
1357
1358         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1359         Added more checks for the high precision uint64 cases.
1360
1361         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1362         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1363         Implement high precision (guint64 * guint64) / guint64.
1364
1365 2005-11-24  Wim Taymans  <wim@fluendo.com>
1366
1367         * gst/base/gstbasesrc.c: (gst_base_src_query):
1368         Fix wrong percentage query.
1369
1370         * gst/gstutils.c: (gst_util_uint64_scale),
1371         (gst_util_uint64_scale_int):
1372         Add some more common cases that can be handled 
1373         efficiently to _scale.
1374
1375 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1376
1377         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1378         (gst_mini_object_suite):
1379           don't use check calls from threads; check probably isn't
1380           threadsafe and using a lock to make it threadsafe would
1381           defeat the purpose of this check
1382         * gst/check/gstcheck.c:
1383         * gst/check/gstcheck.h:
1384           use GST_DEBUG some more
1385
1386 2005-11-24  Wim Taymans  <wim@fluendo.com>
1387
1388         * gst/gstutils.c: (gst_util_uint64_scale),
1389         (gst_util_uint64_scale_int):
1390         Chain trivial case to _scale_int.
1391
1392 2005-11-24  Wim Taymans  <wim@fluendo.com>
1393
1394         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1395         Added test for scaling.
1396
1397         * gst/gstclock.h:
1398         Small doc fix.
1399
1400         * gst/gstutils.c: (gst_util_uint64_scale_int):
1401         Implemented high precision scaling code.
1402
1403 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1404
1405         * gst/gstinfo.h:
1406           do not crash on pad==NULL
1407
1408 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1409
1410         Patch by: Stefan Kost
1411
1412         * common/gtk-doc.mak:
1413         * docs/gst/Makefile.am:
1414         * docs/libs/Makefile.am:
1415           Fix distcheck issues for the libraries docs build
1416           Closes #319599.
1417
1418 2005-11-24  Michael Smith <msmith@fluendo.com>
1419
1420         * docs/manual/basics-helloworld.xml:
1421           Fix bug #315027: memory leak in example code in docs.
1422
1423 2005-11-24  Michael Smith <msmith@fluendo.com>
1424
1425         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1426           Unlock the PREROLL_LOCK in a failure case.
1427
1428 2005-11-24  Wim Taymans  <wim@fluendo.com>
1429
1430         * docs/gst/gstreamer-sections.txt:
1431         * gst/base/gstadapter.h:
1432         * gst/base/gstbasesink.h:
1433         * gst/base/gstbasesrc.h:
1434         * gst/base/gstbasetransform.h:
1435         * gst/base/gstpushsrc.h:
1436         * gst/elements/gstfakesink.h:
1437         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1438         * gst/elements/gstfakesrc.h:
1439         * gst/elements/gstfilesink.h:
1440         * gst/elements/gstfilesrc.h:
1441         * gst/gst.c:
1442         * gst/gstbin.c:
1443         * gst/gstbuffer.c: (_gst_buffer_copy):
1444         * gst/gstbus.h:
1445         * gst/gstcaps.c:
1446         * gst/gstchildproxy.c:
1447         * gst/gstclock.c:
1448         * gst/gstelement.c:
1449         * gst/gstelementfactory.c:
1450         * gst/gstelementfactory.h:
1451         * gst/gstevent.c:
1452         * gst/gstghostpad.h:
1453         * gst/gstindex.h:
1454         * gst/gstinterface.h:
1455         * gst/gstminiobject.c:
1456         * gst/gstminiobject.h:
1457         * gst/gstpad.c:
1458         * gst/gstpad.h:
1459         * gst/gstpadtemplate.h:
1460         * gst/gstpipeline.h:
1461         * gst/gstpluginfeature.h:
1462         * gst/gstquery.h:
1463         * gst/gstqueue.h:
1464         * gst/gsttaglist.c:
1465         * gst/gsttaglist.h:
1466         * gst/gsttagsetter.c:
1467         * gst/gsttagsetter.h:
1468         * gst/gsttrace.c:
1469         * gst/gsttrace.h:
1470         * gst/gsttypefind.h:
1471         * gst/gsturi.h:
1472         * gst/gstvalue.c:
1473         * gst/net/gstnetclientclock.c:
1474         * gst/net/gstnetclientclock.h:
1475         * gst/net/gstnettimepacket.c:
1476         * gst/net/gstnettimeprovider.c:
1477         * gst/net/gstnettimeprovider.h:
1478         Doc fixes.
1479
1480 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1481
1482         * configure.ac: back to HEAD
1483
1484 === release 0.9.6 ===
1485
1486 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1487
1488         * configure.ac:
1489           releasing 0.9.6, "Always On Time"
1490
1491 2005-11-23  Wim Taymans  <wim@fluendo.com>
1492
1493         * docs/gst/gstreamer-sections.txt:
1494         * gst/glib-compat.c:
1495         * gst/gsttagsetter.c:
1496         * gst/gstvalue.c:
1497         * gst/net/gstnetclientclock.c:
1498         * gst/net/gstnettimepacket.h:
1499         Doc updates.
1500
1501 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1502
1503         * docs/faq/using.xml:
1504         * docs/libs/tmpl/gstcontrol.sgml:
1505         * docs/manual/advanced-dparams.xml:
1506         * docs/manual/appendix-checklist.xml:
1507         * docs/manual/basics-elements.xml:
1508         * docs/pwg/other-source.xml:
1509         * docs/random/moving-plugins:
1510         * gst/gstpad.c:
1511         * tools/gst-launch.1.in:
1512           remove mentions of sinesrc
1513
1514 2005-11-23  Michael Smith <msmith@fluendo.com>
1515
1516         * docs/gst/gstreamer-sections.txt:
1517           Update for new API and API changes.
1518         * gst/gstobject.h:
1519           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1520         * gst/gstvalue.c:
1521           Documentation typo fix.
1522         * gst/net/gstnettimepacket.c:
1523           Documentation fixes for arguments.
1524
1525 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1526
1527         * gst/gststructure.c: (gst_structure_get_fraction),
1528         (gst_structure_parse_value),
1529         (gst_structure_fixate_field_nearest_fraction):
1530         * gst/gststructure.h:
1531         * gst/gstutils.c: (gst_util_uint64_scale_int):
1532         * gst/gstutils.h:
1533         * scripts/update-funcnames:
1534         API Changes. 
1535         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1536         Make gst_structure_fixate_field_nearest_fraction take a numerator
1537         and denominator argument instead of a GValue
1538         add gst_structure_get_fraction helper function.
1539
1540 2005-11-23  Wim Taymans  <wim@fluendo.com>
1541
1542         * docs/design/part-TODO.txt:
1543         Update TODO.
1544
1545         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1546         * gst/net/gstnetclientclock.h:
1547         Use parent fields for timeout and window_size.
1548
1549 2005-11-23  Andy Wingo  <wingo@pobox.com>
1550
1551         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1552         rate_num/rate_denom change.
1553
1554         * gst/net/gstnetclientclock.c
1555         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1556         OBJECT_LOCK. Don't call add_observation with the lock.
1557
1558         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1559         fraction.
1560         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1561         rate fraction.
1562         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1563         deal with rate as a fraction whose numerator and denominator are
1564         GstClockTime values.
1565         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1566         master; the other fields are protected by the SLAVE_LOCK.
1567         (do_linear_regression): Note that this must be called with the
1568         SLAVE_LOCK.
1569         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1570         OBJECT_LOCK. Call set_calibration instead of touching the
1571         variables directly.
1572         (gst_clock_set_property, gst_clock_get_property): Protect
1573         master/slave parameters with the SLAVE_LOCK.
1574
1575         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1576         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1577         note that all of the instance variables that add_observation and
1578         the set_master functions use are protected by that lock and not
1579         the OBJECT_LOCK.
1580         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1581
1582         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1583         the caller to take the object lock.
1584
1585 2005-11-23  Wim Taymans  <wim@fluendo.com>
1586
1587         * gst/gsterror.c: (_gst_core_errors_init):
1588         * gst/gsterror.h:
1589         Add error for clock stuff.
1590
1591         * gst/gstpipeline.c: (gst_pipeline_change_state),
1592         (gst_pipeline_set_clock):
1593         Post clock error when clock cannot be used in a pipeline.
1594
1595 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1596
1597         * docs/gst/gstreamer-sections.txt:
1598           make two symbols from gstinfo private for the docs
1599         * gst/base/gstcollectpads.h:
1600         * gst/gstutils.c:
1601           fix doc typos, update docs
1602
1603 2005-11-22  Wim Taymans  <wim@fluendo.com>
1604
1605         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1606         (gst_base_sink_wait), (gst_base_sink_do_sync),
1607         (gst_base_sink_handle_event):
1608         * gst/base/gstbasesink.h:
1609         No need to store the clock, the parent element class already
1610         has it.
1611
1612         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1613         Updates for clock_set returning a gboolean
1614
1615         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1616         (gst_clock_id_wait_async), (gst_clock_class_init),
1617         (gst_clock_init), (gst_clock_finalize),
1618         (gst_clock_get_internal_time), (gst_clock_get_time),
1619         (gst_clock_slave_callback), (gst_clock_set_master),
1620         (gst_clock_get_master), (do_linear_regression),
1621         (gst_clock_add_observation), (gst_clock_set_property),
1622         (gst_clock_get_property):
1623         * gst/gstclock.h:
1624         Implement master/slave. When setting a clock as a slave, a
1625         periodic timeout is scheduled to sample master and slave times.
1626         Then the slave clock is recalibrated to match offset and rate
1627         of the master clock.
1628         Update logging a bit.
1629         Add flag so that a clock can state that is cannot be slaved to
1630         another clock.
1631
1632         * gst/gstelement.c: (gst_element_set_clock):
1633         * gst/gstelement.h:
1634         The set clock returns a gboolean for when an element cannot
1635         deal with the selected clock in the pipeline. 
1636
1637         * gst/gstpipeline.c: (gst_pipeline_change_state),
1638         (gst_pipeline_set_clock):
1639         * gst/gstpipeline.h:
1640         Handle the case where the selected clock cannot be set on
1641         the pipeline.
1642
1643         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1644         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1645         (gst_net_client_clock_set_property),
1646         (gst_net_client_clock_get_property),
1647         (gst_net_client_clock_observe_times):
1648         * gst/net/gstnetclientclock.h:
1649         Use regression code in GstClock parent, remove duplicated
1650         functionality.
1651
1652 2005-11-22  Michael Smith <msmith@fluendo.com>
1653
1654         * gst/gstutils.c: (gst_util_clock_time_scale):
1655         * gst/gstutils.h:
1656         * docs/gst/gstreamer-sections.txt:
1657           Rename method to have extra underscore.
1658
1659 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1660
1661         * gst/elements/Makefile.am:
1662         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1663         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1664         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1665         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1666         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1667         * gst/elements/gstfakesrc.h:
1668         * gst/gstqueue.c: (queue_leaky_get_type):
1669           correctly fix GEnumValues so that nick is the short lowercase
1670           dashed tag
1671         * tools/gst-inspect.c: (print_element_properties_info):
1672           also show the nick, since it's useful to use from parse_launch
1673           syntax
1674           Fixes #322139
1675
1676 2005-11-22  Michael Smith <msmith@fluendo.com>
1677
1678         * gst/gstutils.c: (gst_util_clocktime_scale):
1679         * gst/gstutils.h:
1680         * docs/gst/gstreamer-sections.txt:
1681           Add util method for scaling a clocktime by a fraction. Useful 
1682           implementation is left as an exercise for the reader.
1683
1684 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1685
1686         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1687         If needed, allocate storage in the destination value during
1688         collection.
1689
1690 2005-11-22  Edward Hervey  <edward@fluendo.com>
1691
1692         * docs/gst/gstreamer-sections.txt:
1693         * gst/Makefile.am:
1694         * gst/gst.h:
1695         * gst/gsturitype.c:
1696         * gst/gsturitype.h:
1697         * gst/gstutils.c: (gst_util_set_object_arg):
1698         * tools/gst-compprep.c: (main):
1699         * tools/gst-inspect.c: (print_element_properties_info):
1700         Removed GstURI, closes bug #321061
1701
1702 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1703
1704         * check/gst/gststructure.c: (GST_START_TEST):
1705         * gst/gststructure.c: (gst_structure_parse_value):
1706           Oops, broke automatic string type parsing.
1707           Add a test to catch it in future.
1708
1709 2005-11-22  Andy Wingo  <wingo@pobox.com>
1710
1711         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1712         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1713         Actually rename the function implementations. Grr.
1714
1715 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1716
1717         * check/gst/capslist.h:
1718           Comment test cases
1719         * check/gst/gststructure.c: (GST_START_TEST),
1720         (gst_structure_suite):
1721           Test automatic value type detection in gst_structure_from_string.
1722         * gst/gststructure.c: (gst_structure_parse_value):
1723           Add fraction as a type we try and guess automatically in
1724           caps/structure strings.
1725
1726 2005-11-22  Andy Wingo  <wingo@pobox.com>
1727
1728         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1729
1730         * gst/gsttagsetter.h:
1731         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1732         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1733         (gst_tag_setter_add_tag_valist)
1734         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1735         _add_values, _add_valist, and _add_valist_values. Since this is an
1736         interface the function suffixes should be more explicit so
1737         language binding don't end up with element.add_valist ->
1738         gst_tag_setter_add_valist, for example. Fixes #322069.
1739
1740 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1741
1742         * check/gst/gstcaps.c: (GST_START_TEST):
1743           Extend caps string tests to check that a caps to string
1744           conversion is reversible and produces the same caps.
1745
1746         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1747           Output "fraction" as the generic type fraction range, so caps
1748           serialisation and deserialisation works.
1749         * check/gst/capslist.h:
1750         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1751           Support 'MIN' and 'MAX' for deserialising fractions.
1752
1753 2005-11-22  Andy Wingo  <wingo@pobox.com>
1754
1755         * gst/gstevent.h (gst_event_new_new_segment)
1756         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1757         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1758         Renamed from *_newsegment, *_buffersize, *_notarget.
1759
1760         * scripts/update-funcnames: New script, performs the changes
1761         listed above.
1762
1763 2005-11-22  Wim Taymans  <wim@fluendo.com>
1764
1765         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1766         Make sure the GstFlowReturn is returned.
1767
1768         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1769         (gst_bus_add_signal_watch):
1770         * gst/gstbus.h:
1771         add gst_bus_add_signal_watch_full.
1772
1773         * gst/gstplugin.c: (gst_plugin_load_file):
1774         Small style cleanup.
1775
1776 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1777
1778         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1779           Block the fakesrc srcpad when we send an event, to avoid
1780           contention on the stream_lock causing random test failures.
1781
1782 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1783
1784         * check/gst/gstvalue.c: (GST_START_TEST):
1785         * gst/gstvalue.c: (gst_value_fraction_subtract):
1786           Fix subtraction.
1787
1788 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1789
1790         * gst/gst.h:
1791           include "gstchildproxy.h"
1792         * gst/gstchildproxy.h:
1793         * libs/gst/controller/gstcontroller.h:
1794           use G_GNUC_NULL_TERMINATED
1795
1796 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1797
1798         * check/gst/capslist.h:
1799         * check/gst/gstcaps.c: (GST_START_TEST):
1800         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1801         * gst/gststructure.c: (gst_structure_parse_range),
1802         (gst_structure_fixate_field_nearest_fraction):
1803         * gst/gststructure.h:
1804         * gst/gstvalue.c: (gst_value_init_fraction_range),
1805         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1806         (gst_value_collect_fraction_range),
1807         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1808         (gst_value_set_fraction_range_full),
1809         (gst_value_get_fraction_range_min),
1810         (gst_value_get_fraction_range_max),
1811         (gst_value_serialize_fraction_range),
1812         (gst_value_transform_fraction_range_string),
1813         (gst_value_compare_fraction_range),
1814         (gst_value_deserialize_fraction_range),
1815         (gst_value_intersect_fraction_fraction_range),
1816         (gst_value_intersect_fraction_range_fraction_range),
1817         (gst_value_subtract_fraction_fraction_range),
1818         (gst_value_subtract_fraction_range_fraction),
1819         (gst_value_subtract_fraction_range_fraction_range),
1820         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1821         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1822         (gst_value_transform_string_fraction), (_gst_value_initialize):
1823         * gst/gstvalue.h:
1824           Implement fraction ranges and extend GstFraction to support
1825           arithmetic subtraction, as well as deserialization from integer
1826           strings such as "100"
1827           Add a testsuite as for int and double range set operations
1828
1829 2005-11-21  Andy Wingo  <wingo@pobox.com>
1830
1831         * gst/gsttaglist.h: 
1832         * gst/gstcaps.h: 
1833         * gst/gststructure.h: Add glib-compat.h.
1834
1835 2005-11-21  Wim Taymans  <wim@fluendo.com>
1836
1837         * gst/gstbin.c: (gst_bin_change_state_func):
1838         Fix for #321595
1839
1840 2005-11-21  Wim Taymans  <wim@fluendo.com>
1841
1842         * gst/gstsegment.h:
1843         And add a nice define too.
1844
1845 2005-11-21  Wim Taymans  <wim@fluendo.com>
1846
1847         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1848         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1849         (gst_segment_set_duration), (gst_segment_set_last_stop),
1850         (gst_segment_set_seek), (gst_segment_set_newsegment),
1851         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1852         (gst_segment_clip):
1853         * gst/gstsegment.h:
1854         Make binding friendly.
1855
1856 2005-11-21  Andy Wingo  <wingo@pobox.com>
1857
1858         * gst/gsttagsetter.h: 
1859         * gst/gsttaglist.h: 
1860         * gst/gststructure.h: 
1861         * gst/gstcaps.h: 
1862         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1863         #319940.
1864
1865         * gst/gsterror.c (_gst_core_errors_init):
1866         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1867         category.
1868
1869         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1870         (noinst_HEADERS): noinst the -private.
1871
1872 2005-11-21  Michael Smith <msmith@fluendo.com>
1873
1874         * gst/gstplugin.h:
1875         * gst/gstregistry.h:
1876           Remove unimplemented declarations for which we can see no sensible
1877           use.
1878
1879 2005-11-21  Andy Wingo  <wingo@pobox.com>
1880
1881         * gst/gst.h: Include glib-compat.h.
1882
1883         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1884
1885         * gst/glib-compat.c: Include the public and the private header.
1886
1887         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1888
1889         * gst/gstvalue.c: 
1890         * gst/gstpad.c: 
1891         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1892
1893         * check/gst/gstevent.c (create_custom_events): Check that
1894         FLUSH_STOP is serialized.
1895
1896         * check/elements/identity.c (event_func): 
1897         * check/elements/fakesrc.c (event_func): No stream lock, the core
1898         takes it.
1899
1900         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1901         stream lock taking, yay.
1902
1903         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1904         ensure that core takes the stream lock.
1905
1906         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1907         lock name change.
1908
1909         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1910         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1911         it already. For the flush start we do take it though so we get the
1912         right preroll state change messages.
1913
1914         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1915         the stream lock here, the core does it for us.
1916
1917         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1918         GST_STREAM_GET_LOCK.
1919         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1920         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1921         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1922         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1923         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1924         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1925
1926         * gst/gstpad.c: Update for stream lock name change.
1927
1928         * gst/base/gstbasesink.c: Update for preroll lock name change.
1929
1930 2005-11-21  Wim Taymans  <wim@fluendo.com>
1931
1932         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1933         (gst_clock_get_master):
1934         * gst/gstclock.h:
1935         * gst/gstsystemclock.c: (gst_system_clock_init):
1936         Convert Clock flags to object flags.
1937         Added methods to manage master/slave clocks.
1938
1939 2005-11-21  Wim Taymans  <wim@fluendo.com>
1940
1941         * check/gst/gstsegment.c: (GST_START_TEST):
1942         * docs/design/part-TODO.txt:
1943         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1944         (gst_base_sink_event), (gst_base_sink_do_sync),
1945         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1946         (gst_base_sink_query), (gst_base_sink_change_state):
1947         * gst/base/gstbasesink.h:
1948         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1949         (gst_base_src_default_newsegment),
1950         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1951         (gst_base_src_get_range), (gst_base_src_loop),
1952         (gst_base_src_change_state):
1953         * gst/base/gstbasesrc.h:
1954         * gst/base/gstbasetransform.c:
1955         (gst_base_transform_prepare_output_buf),
1956         (gst_base_transform_event), (gst_base_transform_change_state):
1957         * gst/base/gstbasetransform.h:
1958         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1959         (gst_collect_pads_event):
1960         * gst/base/gstcollectpads.h:
1961         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1962         (gst_fake_src_create):
1963         * gst/elements/gstfakesrc.h:
1964         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1965         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1966         (gst_segment_set_last_stop), (gst_segment_set_seek),
1967         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1968         (gst_segment_to_running_time), (gst_segment_clip):
1969         * gst/gstsegment.h:
1970         More segment updates, replace code in plugins with segment
1971         helper functions.
1972
1973 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1974
1975         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1976         Don't ignore sscanf results
1977
1978 2005-11-21  Andy Wingo  <wingo@pobox.com>
1979
1980         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1981
1982         * *.h:
1983         * *.c: Ran scripts/update-macros. Oh yes.
1984
1985         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1986         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1987         GST_GET_LOCK, etc.
1988
1989         * scripts/update-macros: New script. Run it on your files to
1990         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1991         well.
1992
1993 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1994
1995         * docs/gst/Makefile.am:
1996         * docs/gst/gstreamer-docs.sgml:
1997         * docs/gst/gstreamer-sections.txt:
1998         * docs/gst/gstreamer.types:
1999         * gst/gstinfo.h:
2000           more docs fixes, add new api to the docs
2001
2002 2005-11-21  Andy Wingo  <wingo@pobox.com>
2003
2004         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2005         state_broadcast call.
2006
2007         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2008
2009 2005-11-21  Julien MOUTTE  <julien@moutte.net>
2010
2011         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2012         function calls for arrays.
2013
2014 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2015
2016         * docs/random/ensonic/media-device-daemon.txt:
2017           wild idea, can this be done?
2018         * docs/gst/gstreamer-sections.txt:
2019         * gst/gsterror.h:
2020         * gst/gstfilter.c:
2021         * gst/gstfilter.h:
2022         * gst/gstplugin.h:
2023         * gst/gstpluginfeature.c:
2024         * gst/gsttrace.c:
2025         * gst/gstvalue.c:
2026         * gst/gstvalue.h:
2027           doc fixes and additions
2028
2029 2005-11-21  Andy Wingo  <wingo@pobox.com>
2030
2031         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
2032         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
2033         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
2034         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2035         private to the basesrc implementation.
2036
2037         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2038         behalf of event function if necessary. It should no longer be
2039         necessary to take the stream lock in pad's event functions. Fixes
2040         #320299.
2041
2042 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2043         * docs/gst/gstreamer-sections.txt:
2044         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2045         (gst_structure_fixate_field_nearest_double),
2046         (gst_structure_fixate_field_boolean):
2047         * gst/gststructure.h:
2048         * win32/common/libgstreamer.def:
2049         * win32/gstreamer.def:
2050
2051         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2052         (#322027)
2053
2054 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2055
2056         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2057         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2058         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2059         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2060         (gst_fdsrc_uri_handler_init):
2061         * gst/elements/gstfdsrc.h:
2062           Port fd:// URI handler from 0.8 to fdsrc
2063
2064 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2065
2066         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2067         (gst_value_serialize_fourcc):
2068         * gst/gstvalue.h:
2069           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2070           consistent with our other format defines (#320324).
2071
2072 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2073
2074         * gst/gstvalue.c: (gst_value_is_fixed):
2075           Revert previous commit. Value lists are by definition
2076           not fixed, as they are a list of possible values.
2077
2078 2005-11-21  Andy Wingo  <wingo@pobox.com>
2079
2080         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2081         during the stable series if we need it. Fixes #319178.
2082
2083         * gst/gstevent.c (gst_event_new_filler): Removed.
2084
2085         * check/gst/gstevent.c: Update comment about filler events.
2086
2087 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2088
2089         * gst/gstvalue.c: (gst_value_is_fixed):
2090           Should handle both value arrays and value lists.
2091
2092 2005-11-21  Andy Wingo  <wingo@pobox.com>
2093
2094         patch by: Alessandro Dessina <alessandro nnva org>
2095
2096         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2097         functions to access arrays. Fixes #321962.
2098
2099 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2100
2101         * docs/gst/gstreamer.types:
2102           gst_collectpads_get_type => gst_collect_pads_get_type.
2103           
2104         * gst/base/gstbasetransform.c:
2105           Remove unused SIGNAL_HANDOFF enum.
2106
2107 2005-11-21  Andy Wingo  <wingo@pobox.com>
2108
2109         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2110         the event type (upstream, downstream, serialized). Renamed
2111         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2112         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2113         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2114
2115         * gst/gstevent.c: Update for new CUSTOM event names.
2116
2117         * check/gst/gstevent.c: Update check for new CUSTOM event names.
2118
2119         * gst/gstevent.h:
2120         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2121         bug #319392.
2122
2123 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2124
2125         * docs/gst/gstreamer-sections.txt:
2126         * win32/common/libgstbase.def:
2127         * win32/libgstbase.def:
2128         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2129         (gst_collect_pads_class_init), (gst_collect_pads_init),
2130         (gst_collect_pads_finalize), (gst_collect_pads_new),
2131         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2132         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2133         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2134         (gst_collect_pads_start), (gst_collect_pads_stop),
2135         (gst_collect_pads_peek), (gst_collect_pads_pop),
2136         (gst_collect_pads_available), (gst_collect_pads_read),
2137         (gst_collect_pads_flush), (gst_collect_pads_event),
2138         (gst_collect_pads_chain):
2139         * gst/base/gstcollectpads.h:
2140           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2141           unimplemented functions as unimplemented. Add padding to
2142           GstCollectData. (#320766, #320423)
2143
2144 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2145
2146         * gst/gstmessage.c:
2147           Improve docs for DURATION message (usage of duration parameter)
2148           (#320113)
2149
2150 2005-11-20  Wim Taymans  <wim@fluendo.com>
2151
2152         * check/Makefile.am:
2153         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2154         (main):
2155         * gst/Makefile.am:
2156         * gst/gst.h:
2157         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2158         (gst_segment_set_seek), (gst_segment_set_newsegment),
2159         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2160         (gst_segment_clip):
2161         * gst/gstsegment.h:
2162         Added segment helper structure and methods. Not fully implemented
2163         yet.
2164         Added segment check.
2165
2166 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
2167
2168         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2169           Add a deserialisation test for fractions
2170         * examples/metadata/read-metadata.c: (message_loop),
2171         (make_pipeline), (main):
2172           Fix up metadata reading sample.
2173         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2174           Debug format fix
2175         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2176           Don't try and fixate empty caps
2177         * gst/gst_private.h:
2178           Wrap in G_BEGIN_DECLS/G_END_DECLS
2179         * gst/gstvalue.c: (gst_value_collect_fraction),
2180         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2181         (gst_value_transform_string_fraction),
2182         (gst_value_compare_fraction):
2183           Add some extra guards to ensure that we don't end up 
2184           with an invalid denominator of 0 in a gstfraction and
2185           that fractions always get reduced.
2186
2187 2005-11-20  Wim Taymans  <wim@fluendo.com>
2188
2189         * docs/gst/gstreamer-sections.txt:
2190         * gst/gstbuffer.h:
2191         * gst/gstelement.c:
2192         * gst/gstformat.c:
2193         * gst/gstformat.h:
2194         * gst/gstindex.h:
2195         * gst/gstquery.c:
2196         * gst/gstquery.h:
2197         * gst/gstvalue.c:
2198         Doc fixes.
2199
2200 2005-11-20  Wim Taymans  <wim@fluendo.com>
2201
2202         * docs/design/part-TODO.txt:
2203         * gst/gstcaps.h:
2204         Make a proper enum of the flag.
2205
2206 2005-11-19  Wim Taymans  <wim@fluendo.com>
2207
2208         * docs/design/part-TODO.txt:
2209         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2210         (gst_format_to_quark), (gst_format_register):
2211         * gst/gstformat.h:
2212         * gst/gstquery.c: (_gst_query_initialize),
2213         (gst_query_type_get_name), (gst_query_type_to_quark),
2214         (gst_query_type_register):
2215         * gst/gstquery.h:
2216         Add type to quark and type to string conversions.
2217
2218 2005-11-19  Andy Wingo  <wingo@pobox.com>
2219
2220         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2221         #320097.
2222
2223 2005-11-19  Wim Taymans  <wim@fluendo.com>
2224
2225         * docs/design/part-TODO.txt:
2226         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2227         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2228         (gst_bin_handle_message_func):
2229         * gst/gstbin.h:
2230         Make message handling overridable.
2231
2232 2005-11-19  Andy Wingo  <wingo@pobox.com>
2233
2234         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2235
2236         * gst/gstclock.h:
2237         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2238         be a GstClockTime.
2239         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2240         is a GstClockTime. Fixes #321710.
2241
2242         * gst/gstclock.h (GstClock): Remove offset property. Add
2243         internal_calibration and external_calibration. Fix padding. Pad
2244         also by GstClockTime so we don't run into problems.
2245
2246         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2247         (gst_clock_get_rate_offset): Remove.
2248         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2249
2250         * gst/gstutils.h:
2251         * gst/gstutils.c (g_static_rec_cond_wait)
2252         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2253
2254         * gst/gstbin.c: Remove terrible continue_state prototype.
2255
2256         * gst/gstelement.h (gst_element_continue_state): Make public.
2257
2258         * gst/gstelement.h:
2259         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2260         by continue_state. Fixes #319389.
2261
2262         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2263         Really fixes #168438. However I don't see anywhere where the
2264         filter function is called... stupid GStreamer...
2265         
2266         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2267         don't have a dispose function, so it won't get called when the
2268         object is unreffed, but oh well!
2269
2270         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2271         allows a destroy function to be set so user_data can be freed.
2272         Fixes #168438.
2273         (gst_index_set_filter): Call gst_index_set_filter_full.
2274
2275         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2276
2277         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2278         string should produce an error, given the lack of a way to
2279         represent NULL strings. Fixes #165650.
2280         
2281         * gst/gstvalue.h: 
2282         * gst/gstvalue.c (gst_value_array_append_value) 
2283         (gst_value_array_prepend_value, gst_value_array_get_size) 
2284         (gst_value_array_get_value): New API, copied from
2285         gst_value_list_*, only operates on arrays.
2286         (gst_value_list_append_value, gst_value_list_prepend_value) 
2287         (gst_value_list_concat, gst_value_list_get_size) 
2288         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2289
2290         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2291         init_list, because it works on both.
2292         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2293         (gst_value_copy_list_or_array): Renamed from copy_list.
2294         (gst_value_free_list_or_array): Renamed from free_list.
2295         (gst_value_collect_list_or_array): Renamed from collect_list.
2296         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2297         (gst_value_list_or_array_peek_pointer): Renamed from
2298         list_peek_pointer.
2299         (_gst_value_array_value_table, _gst_value_list_value_table):
2300         Update value table functions.
2301         (gst_value_compare_list_or_array): Renamed from compare_list.
2302
2303         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2304         some constness.
2305
2306         * gst/gsttaglist.c:
2307         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2308         GstTagList*. Fixes #143472.
2309
2310         * gst/gststructure.h: Clarify what the foreach/map functions can
2311         or can't do to their arguments.
2312
2313 2005-11-18  Wim Taymans  <wim@fluendo.com>
2314
2315         * gst/gstclock.c: (gst_clock_set_calibration),
2316         (gst_clock_get_calibration):
2317         Doc and API fixes.
2318         Calibration can be set with internal time equal to current
2319         internal time too.
2320
2321 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2322
2323         * gst/gsterror.c:
2324         * gst/gsterror.h:
2325           document
2326
2327 2005-11-18  Andy Wingo  <wingo@pobox.com>
2328
2329         * configure.ac: 
2330         * pkgconfig/gstreamer-net.pc.in:
2331         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2332         * pkgconfig/Makefile.am: Add net pkgconfig files.
2333
2334 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2335
2336         * gst/gstcaps.c:
2337         * gst/gstghostpad.c:
2338         * gst/gsttrace.c:
2339         * gst/gstvalue.c:
2340         * gst/gstvalue.h:
2341           docs fixes
2342
2343 2005-11-18  Andy Wingo  <wingo@pobox.com>
2344
2345         * gst/net/gstnetclientclock.c: Turn off debugging.
2346
2347         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2348         times connverge somewhat. Can't make a real test.
2349
2350         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2351         integer arithmetic. Return the minimum of the domain, which can be
2352         set as "internal" for gst_clock_set_calibration.
2353         (gst_net_client_clock_observe_times): Call _set_calibration.
2354         (gst_net_client_clock_new): Call _set_calibration instead of
2355         rate_offset.
2356
2357         * check/net/gstnetclientclock.c (test_functioning): Use the right
2358         adjustment api.
2359
2360         * gst/gstclock.h:
2361         * gst/gstclock.c (gst_clock_get_calibration) 
2362         (gst_clock_set_calibration): New functions, obsolete the ones I
2363         added yesterday. Doh. Precision issues mean we have to extrapolate
2364         from a point in the more recent past than 1970.
2365         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2366         obsolete.
2367         (gst_clock_adjust_unlocked): Use the right calibration data.
2368
2369 2005-11-18  Edward Hervey  <edward@fluendo.com>
2370
2371         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2372         Also reset the ->current_* values in READY->PAUSED
2373
2374 2005-11-18  Andy Wingo  <wingo@pobox.com>
2375
2376         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2377         Whoops, check the right fd. Also add some debugging.
2378         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2379         (do_linear_regression): Add a crapload of debugging. Subtract off
2380         the minimum values from the input series to discard unneeded bits.
2381         Use only int arithmetic. There is still double arithmetic when
2382         calculating the intercept that needs fixing. Return boolean to
2383         indicate success; FALSE would mean the domain or range is too
2384         great. Still needs fixes.
2385
2386 2005-11-18  Wim Taymans  <wim@fluendo.com>
2387
2388         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2389         For the current position in stream time, we need to subtract
2390         accumulated time.
2391         
2392         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2393         Release lock before calling the callback function of async
2394         entries.
2395
2396 2005-11-18  Andy Wingo  <wingo@pobox.com>
2397
2398         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2399         Port goes all the way to MAXUINT16.
2400
2401         * gst/net/gstnettimeprovider.c: Make the port range the same as
2402         for the kernel: 0 assigns, otherwise ports are less than
2403         MAXUINT16.
2404
2405         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2406         port change.
2407
2408         * check/net/gstnetclientclock.c (test_functioning): Add the start
2409         of another test. 
2410
2411 2005-11-18  Wim Taymans  <wim@fluendo.com>
2412
2413         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2414         (gst_bin_remove_func), (bin_bus_handler):
2415         * gst/gstbin.h:
2416         Removing a clock provider from a bin, triggers a clock lost message
2417         so that a new clock will be selected.
2418         Adding a clock to a bin triggers a clock provider message.
2419         Make sure we reselect a clock when we received a clock lost message.
2420         Keep a reference to the element that provided the clock.
2421
2422 2005-11-18  Andy Wingo  <wingo@pobox.com>
2423
2424         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2425         the clock initially so it produces values around the base time.
2426         (gst_net_client_clock_class_init): Typo fix.
2427         (gst_net_client_clock_thread): Add note on when the socket gets
2428         closed.
2429
2430 2005-11-17  Wim Taymans  <wim@fluendo.com>
2431
2432         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2433         Free remote and local time arrays.
2434
2435 2005-11-17  Wim Taymans  <wim@fluendo.com>
2436
2437         * gst/net/gstnetclientclock.c: (do_linear_regression),
2438         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2439         Fix compilation, uninitialized vars and a forgotten continue.
2440
2441 2005-11-17  Andy Wingo  <wingo@pobox.com>
2442
2443         * check/Makefile.am (check_PROGRAMS): 
2444         * check/net/gstnetclientclock.c: Add a most minimal test for the
2445         net client clock. More to come later.
2446
2447         * gst/net/gstnet.h: 
2448         * gst/net/Makefile.am: Add netclientclock.
2449
2450         * gst/net/gstnetclientclock.h:
2451         * gst/net/gstnetclientclock.c: New files, implement an untested
2452         GstClock that takes its time from a network time provider.
2453         Implements the algorithm in network-clock.scm.
2454
2455         * tests/network-clock.scm (*window-size*): Rename from
2456         *queue-length*.
2457         * tests/network-clock.scm (network-time): 
2458         * tests/network-clock-utils.scm (q-push): Update callers.
2459
2460 2005-11-17  Wim Taymans  <wim@fluendo.com>
2461
2462         * gst/gstbin.c: (gst_bin_provide_clock_func),
2463         (gst_bin_sort_iterator_new):
2464         And unref the child too..
2465
2466 2005-11-17  Wim Taymans  <wim@fluendo.com>
2467
2468         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2469         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2470         Refactor the sort iterator so it can be used while holding the
2471         LOCK too.
2472         Make clock selection select a clock closest to the source.
2473
2474 2005-11-17  Michael Smith <msmith@fluendo.com>
2475
2476         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2477         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2478         * gst/gstclock.h:
2479           Anonymous structs are a gcc (and some other compilers) extension, so
2480           don't use them. Since this is only for ABI-compatibility, and our
2481           API/ABI freeze is over in a few days, this whole thing will only
2482           last a few days, so don't bother trying to think up a meaningful
2483           name for the struct.
2484
2485 2005-11-17  Andy Wingo  <wingo@pobox.com>
2486
2487         * gst/gstclock.h (GstClock): Add rate and offset properties,
2488         preserving ABI stability. Add rate/offset accessors. Will file bug
2489         for the freeze break.
2490
2491         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2492         and offset, trying to keep precision and avoiding
2493         underflow/overflow.
2494         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2495         functions. Make gst_clock_set_time_adjust obsolete.
2496         (gst_clock_set_time_adjust): Note that this function is obsolete.
2497         Will file bug soon.
2498
2499         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2500         greppable by using GST_PADDING-1+1.
2501
2502 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2503
2504         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2505
2506         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2507           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2508
2509         * gst/gstpadtemplate.h:
2510         * gst/gstpluginfeature.h:
2511           Don't use c++ style comments in headers (#321638).
2512
2513 2005-11-16  Andy Wingo  <wingo@pobox.com>
2514
2515         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2516         buffer.
2517
2518         * check/net/gstnettimeprovider.c: Check to see that the time
2519         provider actually provides times. Works, yo!
2520
2521 2005-11-16  Wim Taymans  <wim@fluendo.com>
2522
2523         * check/Makefile.am:
2524         Enable more tests.
2525
2526         * check/elements/fakesrc.c: (GST_START_TEST):
2527         Set element to NULL before disposing it.
2528
2529 2005-11-16  Andy Wingo  <wingo@pobox.com>
2530
2531         * gst/net/Makefile.am:
2532         * gst/net/gstnet.h:
2533         * gst/net/gstnettimeprovider.c: 
2534         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2535         provider, include it from gstnet.h, and add it to the build.
2536
2537         * gst/net/gstnettimepacket.h: 
2538         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2539         sending and receiving.
2540
2541 2005-11-16  Wim Taymans  <wim@fluendo.com>
2542
2543         * check/Makefile.am:
2544         Enable valgrind check.
2545
2546         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2547         (gst_fake_src_alloc_buffer):
2548         Fix memleak.
2549
2550 2005-11-16  Wim Taymans  <wim@fluendo.com>
2551
2552         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2553         Call parent finalize too.
2554
2555 2005-11-16  Wim Taymans  <wim@fluendo.com>
2556
2557         * check/Makefile.am:
2558         Enable valgrind check that should work fine now.
2559
2560         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2561         * gst/gstqueue.c: (gst_queue_init):
2562         Fix memleaks in pad allocation.
2563
2564 2005-11-16  Andy Wingo  <wingo@pobox.com>
2565
2566         * gst/net/Makefile.am:
2567         * gst/net/gstnet.h: New part of core to hold network elements and
2568         objects. Put in core because it exposes API that applications want
2569         to use. The library is named libgstnet-tempname right now because
2570         of the existing libgstnet in gst-plugins-base. Solution is
2571         probably to rename the one in plugins-base; will file a bug for
2572         the freeze break.
2573
2574         * gst/net/gstnettimeprovider.c: 
2575         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2576         get_time call over the network.
2577
2578         * configure.ac: 
2579         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2580
2581         * check/Makefile.am:
2582         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2583         get additions shortly.
2584
2585 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2586
2587         * gst/gstpad.c: (gst_pad_new_from_static_template):
2588         * gst/gstpad.h:
2589           add gst_pad_new_from_static_template functions
2590         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2591         (gst_check_setup_sink_pad):
2592         * gst/elements/gsttee.c: (gst_tee_init):
2593           and use them
2594
2595 2005-11-16  Wim Taymans  <wim@fluendo.com>
2596
2597         * gst/gstpad.c: (gst_pad_pause_task):
2598         Removed warning, it's not really an error either.
2599
2600 2005-11-16  Wim Taymans  <wim@fluendo.com>
2601
2602         * gst/base/gstbasetransform.c:
2603         (gst_base_transform_prepare_output_buf),
2604         (gst_base_transform_event):
2605         Check if the caps are NULL, this can happen if the element
2606         is shutting down and the pad caps are set to NULL.
2607
2608 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2609
2610         * gst/elements/gsttee.c: (gst_tee_init):
2611           fix pad template leak in tee
2612
2613 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2614
2615         * gst/glib-compat.c: (g_value_dup_gst_object):
2616         * gst/glib-compat.h:
2617         * gst/gstpad.c: (gst_pad_set_property):
2618           use gst_object_ref when setting the pad template; this will
2619           trigger the pad template leaks on GLib 2.6 and the slaves
2620
2621 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2622
2623         * gst/glib-compat.c: (gst_flags_get_first_value):
2624         * gst/glib-compat.h:
2625         * gst/gstregistryxml.c:
2626           remove functions copied from GLib 2.6
2627
2628 2005-11-16  Michael Smith <msmith@fluendo.com>
2629
2630         * gst/Makefile.am:
2631           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2632           do, but only breaks with newer valgrind versions. We're not a
2633           valgrind tool, we have no link-time dependencies on libcoregrind.
2634
2635 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2636
2637         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2638           some debug changes
2639         * gst/gstmessage.h:
2640           typo fixes
2641
2642 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2643
2644         * gst/base/gstbasesrc.c: (gst_base_src_init):
2645         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2646         * gst/gstqueue.c: (gst_queue_init):
2647         * gst/gstregistryxml.c: (load_feature):
2648           Revert all these unrefs, they don't even pass make check !
2649
2650 2005-11-15  Johan Dahlin  <johan@gnome.org>
2651
2652         * gst/base/gstbasesrc.c: (gst_base_src_init):
2653         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2654         * gst/gstqueue.c: (gst_queue_init): 
2655         Free pad templates, fixes a couple of leaks.
2656
2657 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2658
2659         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2660
2661         * gst/gstpad.c: (gst_pad_get_property):
2662           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2663           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2664           (#321452)
2665
2666 2005-11-15  Wim Taymans  <wim@fluendo.com>
2667
2668         * gst/gstevent.c:
2669         Small doc update.
2670
2671 2005-11-15  Andy Wingo  <wingo@pobox.com>
2672
2673         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2674
2675         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2676         using GST_CLOCK_TIME_NONE to disable base time management.
2677         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2678         time if it was NONE before.
2679         (gst_pipeline_change_state): Only munge the base time if
2680         stream_time != GST_CLOCK_TIME_NONE.
2681
2682         * check/gst/gstpipeline.c (test_base_time): Punt around the
2683         problem of the probe not being called, because that's not the
2684         issue I'm looking at. Add a check that setting stream_time to NONE
2685         disables base time management.
2686         
2687 2005-11-15  Wim Taymans  <wim@fluendo.com>
2688
2689         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2690         segment_stop == -1 at startup.
2691
2692         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2693         (gst_base_transform_change_state):
2694         Init segment values at start.
2695
2696 2005-11-15  Wim Taymans  <wim@fluendo.com>
2697
2698         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2699         0 segment values are 0 in any format.
2700
2701         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2702         * gst/base/gstbasetransform.h:
2703         Parse newsegment correctly in basetransform
2704
2705         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2706         Sync to clock using updated segment values.
2707
2708 2005-11-15  Andy Wingo  <wingo@pobox.com>
2709
2710         * check/gst/gstpipeline.c (test_base_time): Add check that the
2711         base time and stream time are reset correctly.
2712
2713 2005-11-15  Wim Taymans  <wim@fluendo.com>
2714
2715         * docs/design/part-TODO.txt:
2716         Some more TODO items.
2717
2718 2005-11-15  Andy Wingo  <wingo@pobox.com>
2719
2720         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2721         error if the user selected "no clock" as the clocking method.
2722
2723         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2724         timestamps with live capture.
2725
2726         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2727         is 0 but we are a live source, timestamp the buffers using the
2728         element's clock.
2729
2730 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2731
2732         * docs/gst/gstreamer-sections.txt:
2733         * gst/gsterror.c:
2734         * gst/gstghostpad.c:
2735         * gst/gstobject.h:
2736         * gst/gstxml.c:
2737           more section docs
2738
2739 2005-11-14  Wim Taymans  <wim@fluendo.com>
2740
2741         * common/gst.supp:
2742           add suppressions from Wim's Debian machine
2743
2744 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2745
2746         * common/gst.supp:
2747           add suppressions from Andy's AMD64 Ubuntu machine
2748
2749 2005-11-14  Andy Wingo  <wingo@pobox.com>
2750
2751         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2752         STATE_LOCK not necessary. Fixes #311489.
2753
2754         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2755         #305291.
2756
2757         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2758         this function is not implemented.
2759
2760 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2761
2762         * gst/base/gstbasetransform.c:
2763         (gst_base_transform_prepare_output_buf):
2764         Ref the source pad caps while we need them.
2765         Fixes (#321386)
2766
2767 2005-11-11  Wim Taymans  <wim@fluendo.com>
2768
2769         * docs/gst/gstreamer-sections.txt:
2770         Added some docs for GstCollectData.
2771
2772         * gst/base/gstadapter.c:
2773         Some small code example fix.
2774
2775         * gst/base/gstcollectpads.c:
2776         * gst/base/gstcollectpads.h:
2777         Document some more.
2778
2779 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2780
2781         * configure.ac: back to HEAD
2782
2783 === release 0.9.5 ===
2784
2785 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2786
2787         * configure.ac:
2788           releasing 0.9.5, "Bike Lunch Day"
2789
2790 2005-11-11  Wim Taymans  <wim@fluendo.com>
2791
2792         * gst/gstbuffer.c: (_gst_buffer_copy):
2793         Copy more flags.
2794
2795         * gst/gstcaps.c: (gst_caps_is_equal):
2796         Fix some docs.
2797         Make _is_equal fast in the trivial cases.
2798
2799         * gst/gstminiobject.c:
2800         * gst/gstminiobject.h:
2801         More docs. Spifify .h file.
2802
2803         * gst/gstutils.c:
2804         Small doc update.
2805
2806 2005-11-11  Wim Taymans  <wim@fluendo.com>
2807
2808         * gst/base/gstbasetransform.c:
2809         (gst_base_transform_prepare_output_buf),
2810         (gst_base_transform_handle_buffer):
2811         Small cleanups.
2812         If we're processing a buffer and need to allocate an output
2813         buffer, we cannot accept a format change. If we did get a 
2814         format change, we have to alloc a buffer ourselves of the 
2815         right size.
2816
2817 2005-11-11  Wim Taymans  <wim@fluendo.com>
2818
2819         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2820         While checking the flag for reentrancy in the gstcaps function
2821         is nice to detect recursive invocations, it also makes it 
2822         impossible to call getcaps from multiple threads, which must be
2823         possible. So, checking for recursive calls has to go.
2824
2825 2005-11-11  Michael Smith <msmith@fluendo.com>
2826
2827         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2828           Don't sync on buffers that fall partially outside our current
2829           segment. Prevents an assertion failure/abort playing some files.
2830
2831 2005-11-10  Andy Wingo  <wingo@pobox.com>
2832
2833         * check/gst/gstbin.c (test_message_state_changed_children): Style
2834         fix..
2835
2836         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2837         gst_bus_poll with the signal watch. Ensures that poll and a signal
2838         watch see the same messages.
2839
2840         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2841         a poll and a watch at the same time get the same messages.
2842
2843 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2844
2845         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2846         * gst/gstcaps.c: (gst_caps_intersect):
2847           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2848           and it's not needed.
2849
2850 2005-11-10  Wim Taymans  <wim@fluendo.com>
2851
2852         * docs/design/part-TODO.txt:
2853         Updated todo.
2854
2855 2005-11-10  Wim Taymans  <wim@fluendo.com>
2856
2857         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2858         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2859         (gst_base_src_do_sync), (gst_base_src_get_range):
2860         Implement clock sync in base class.
2861
2862 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2863
2864         patch by: Tim-Philipp Müller <tim at centricular dot net>
2865
2866         * gst/gststructure.c: (gst_structure_parse_field),
2867         (gst_structure_from_string):
2868           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2869           so that gst_parse_launch() can deal with spaces in filtered link
2870           caps (fixes #164479)
2871         * check/gst/capslist.h:
2872         * check/gst/gststructure.c: (GST_START_TEST):
2873           add unit tests for this change
2874
2875 2005-11-10  Wim Taymans  <wim@fluendo.com>
2876
2877         * docs/gst/gstreamer-sections.txt:
2878         * gst/gstelement.c:
2879         * gst/gstelement.h:
2880         Fix docs, move some STATE macros to private.
2881
2882 2005-11-10  Wim Taymans  <wim@fluendo.com>
2883
2884         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2885         Added check for bug #317341
2886
2887         * gst/gstbuffer.c:
2888         * gst/gstbuffer.h:
2889         Some more spiffifying.
2890
2891         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2892         Call peer linkfunction if we are a source pad. Totally fixes
2893         #317341
2894
2895         * gst/gstpad.c:
2896         Update docs, source pads should call the peer linkfunction
2897         so they can atomically perform the pad link.
2898
2899 2005-11-09  Wim Taymans  <wim@fluendo.com>
2900
2901         * gst/gstbuffer.c:
2902         * gst/gstbuffer.h:
2903         Uber-spiffy-spiffify some more.
2904
2905 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2906
2907         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2908         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2909         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2910         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2911         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2912         * gst/gstpad.c: (gst_pad_init):
2913           Use GST_DEBUG_FUNCPTR() more extensively.
2914
2915 2005-11-09  Wim Taymans  <wim@fluendo.com>
2916
2917         * gst/gstobject.c: (gst_object_class_init):
2918         * gst/gstobject.h:
2919         Documentation fixes.
2920
2921 2005-11-09  Edward Hervey  <edward@fluendo.com>
2922
2923         * gst/gsttypefindfactory.c:
2924         Fix docs.
2925         
2926 2005-11-09  Edward Hervey  <edward@fluendo.com>
2927
2928         * gst/base/gsttypefindhelper.c:
2929         * gst/gsttypefind.c:
2930         * gst/gsttypefind.h:
2931         Fix docs.
2932
2933 2005-11-09  Wim Taymans  <wim@fluendo.com>
2934
2935         * gst/gstiterator.c:
2936         Fix revision data.
2937
2938         * gst/gsttask.c:
2939         * gst/gsttask.h:
2940         Fix docs.
2941
2942 2005-11-09  Wim Taymans  <wim@fluendo.com>
2943
2944         * gst/gstevent.h:
2945         * gst/gsturi.h:
2946         Fix docs.
2947
2948 2005-11-09  Wim Taymans  <wim@fluendo.com>
2949
2950         * docs/gst/gstreamer-sections.txt:
2951         Moved the message async delivery private lock and cond
2952         to the private section.
2953
2954         * gst/gstmessage.c:
2955         * gst/gstmessage.h:
2956         Fixed docs.
2957
2958 2005-11-09  Edward Hervey  <edward@fluendo.com>
2959
2960         * docs/gst/gstreamer-sections.txt:
2961         * gst/gsturi.c:
2962         * gst/gsturi.h:
2963         Document GstURIHandler
2964
2965 2005-11-09  Wim Taymans  <wim@fluendo.com>
2966
2967         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2968         (gst_iterator_find_custom):
2969         * gst/gstiterator.h:
2970         Fix iterator docs.
2971
2972 2005-11-09  Wim Taymans  <wim@fluendo.com>
2973
2974         * gst/gstbin.h:
2975         Document another field.
2976
2977         * gst/gststructure.c:
2978         * gst/gststructure.h:
2979         Document.
2980
2981 2005-11-09  Wim Taymans  <wim@fluendo.com>
2982
2983         * gst/gstbin.h:
2984         Documented structs.
2985
2986 2005-11-09  Wim Taymans  <wim@fluendo.com>
2987
2988         * docs/gst/gstreamer-sections.txt:
2989         Added some new macros.
2990
2991         * gst/gstclock.c:
2992         * gst/gstclock.h:
2993         * gst/gstobject.h:
2994         Docs updates.
2995
2996 2005-11-09  Wim Taymans  <wim@fluendo.com>
2997
2998         * docs/design/part-TODO.txt:
2999         Some more items for the TODO
3000
3001         * gst/gstcaps.c:
3002         * gst/gstcaps.h:
3003         Document GstCaps.
3004
3005 2005-11-09  Andy Wingo  <wingo@pobox.com>
3006
3007         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3008         to work on something else now tho...
3009
3010         * gst/base/gstadapter.c: More adapter docs.
3011
3012         * gst/elements/gstfilesink.c (gst_file_sink_start) 
3013         (gst_file_sink_stop): New functions, replace the state change
3014         handler.
3015         (gst_file_sink_class_init): Hook up the start and stop functions.
3016         (gst_file_sink_base_init): Don't set the state change handler any
3017         more. It was a bit ugly too, being set from here...
3018         (gst_file_sink_get_property, gst_file_sink_set_property):
3019         Cleanups...
3020         (gst_file_sink_set_location): More robust check that doesn't call
3021         GST_STATE. Ugggggg.
3022
3023 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3024
3025         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3026           Hold STREAM_LOCK while pushing newsegment or tag events as well.
3027
3028 2005-11-08  Wim Taymans  <wim@fluendo.com>
3029
3030         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3031         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3032         (gst_base_sink_chain), (gst_base_sink_change_state):
3033         * gst/base/gstbasesink.h:
3034         * gst/base/gstbasesrc.h:
3035         * gst/gstelement.h:
3036         * gst/gstevent.h:
3037         Avoid excessive typechecking in macros.
3038
3039         * gst/gstminiobject.c: (gst_mini_object_get_type),
3040         (gst_mini_object_init), (gst_mini_object_new),
3041         (gst_mini_object_free):
3042         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3043         (gst_object_finalize):
3044         Remove cruft code, optimize alloc_trace.
3045
3046 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3047
3048         * docs/faq/gst-uninstalled:
3049           fix up PS1 for systems that try to reset it
3050
3051 2005-11-07  Wim Taymans  <wim@fluendo.com>
3052
3053         * gst/base/gstbasesrc.c: (gst_base_src_init),
3054         (gst_base_src_get_range):
3055         Set the segment_end to -1 initially. Fixed typefind.
3056
3057 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3058
3059         * gst/base/gstadapter.c:
3060           Debug category should be 'adapter', not 'GstAdapter'.
3061           
3062         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3063         (gst_collectpads_class_init), (gst_collectpads_init),
3064         (gst_collectpads_peek), (gst_collectpads_pop),
3065         (gst_collectpads_event), (gst_collectpads_chain):
3066           Add debug category and some debugging output. Use boilerplate
3067           macros. Remove some extraneous words from docs.
3068
3069 2005-11-05  Andy Wingo  <wingo@pobox.com>
3070
3071         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3072         macro.
3073
3074 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3075
3076         * docs/gst/gstreamer-sections.txt:
3077         * gst/gstcaps.h:
3078         * gst/gstinfo.c:
3079         * gst/gstminiobject.h:
3080         * gst/gstobject.h:
3081         * gst/gstutils.h:
3082           more docs added
3083
3084 2005-11-04  Wim Taymans  <wim@fluendo.com>
3085
3086         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3087         Small update to stop at the configured segment_end
3088         position.
3089
3090 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3091
3092         * gst/gstregistry.c:
3093         * gst/gstregistry.h:
3094           added missing docs
3095
3096 2005-11-04  Edward Hervey  <edward@fluendo.com>
3097
3098         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3099         Check if we are doing a segment seek and have arrived at the
3100         end of that segment.
3101
3102 2005-11-04  Wim Taymans  <wim@fluendo.com>
3103
3104         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3105         Don't leak a mutex unlock in case of an error.
3106
3107         * gst/gstbus.h:
3108         Doc fixes.
3109
3110 2005-11-04  Wim Taymans  <wim@fluendo.com>
3111
3112         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3113         (gst_bus_post):
3114         Get the context to wake up only once.
3115
3116 2005-11-03  Wim Taymans  <wim@fluendo.com>
3117
3118         * check/states/sinks.c: (GST_START_TEST):
3119         Uncomment fixed check.
3120
3121         * docs/design/part-TODO.txt:
3122         Updated TODO.
3123
3124         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3125         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3126         (gst_base_sink_get_position):
3127         If we are going to PLAYING, post the right pending state
3128         when we post the intermediate paused message.
3129
3130         * gst/gstelement.c: (gst_element_continue_state),
3131         (gst_element_set_state_func), (gst_element_change_state):
3132         Don't post state changes that were between the same state
3133         and were not ASYNC.
3134
3135 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3136
3137         * docs/gst/gstreamer-sections.txt:
3138         * gst/gstcaps.h:
3139         * gst/gstinfo.c:
3140         * gst/gstminiobject.h:
3141         * gst/gstobject.h:
3142         * gst/gstutils.h:
3143           more docs and doc style fixes
3144
3145 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3146
3147         * docs/gst/gstreamer-sections.txt:
3148         * gst/gstelement.c:
3149         * gst/gstminiobject.c:
3150         doc fixes
3151
3152 2005-11-03  Andy Wingo  <wingo@pobox.com>
3153
3154         * check/states/sinks.c (test_livesrc_sink): Add checks that the
3155         state-changed messages actually have the right order and the right
3156         values.
3157
3158 2005-11-03  Wim Taymans  <wim@fluendo.com>
3159
3160         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3161         Added some more checks. Specifically the case where NO_PREROLL
3162         elements are in the pipeline.
3163
3164         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3165         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3166         (gst_base_sink_get_position):
3167         Post READY->PAUSED state change messages too.
3168         Fix bug where VOID was posted as pending state...
3169
3170         * gst/gstbin.c: (gst_bin_recalc_state):
3171         use _element_continue_state() to continue the state change.
3172
3173         * gst/gstelement.c: (gst_element_continue_state),
3174         (gst_element_commit_state), (gst_element_set_state_func),
3175         (gst_element_change_state), (gst_element_change_state_func):
3176         Lots of state change cleanups, assign the STATE_RETURN in
3177         a new continue_state() function that also propagates the
3178         last return value from a state change to the app.
3179         Update some debug statements with proper category.
3180
3181 2005-11-03  Wim Taymans  <wim@fluendo.com>
3182
3183         * docs/design/part-events.txt:
3184         * docs/design/part-gstpipeline.txt:
3185         * docs/design/part-messages.txt:
3186         * docs/design/part-overview.txt:
3187         * docs/design/part-seeking.txt:
3188         * docs/design/part-states.txt:
3189         * docs/design/part-trickmodes.txt:
3190         * docs/manual/advanced-position.xml:
3191         Small docs updates.
3192
3193         * gst/gstobject.h:
3194         People think !! is ugly, this looks better.
3195
3196         * gst/gstpad.c: (gst_pad_set_blocked_async):
3197         Remove !! since it's fixed elsewhere now.
3198
3199 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3200
3201         * gst/gstminiobject.h:
3202         * gst/gstobject.h:
3203           Add !! to _FLAG_IS_SET macros to make the result boolean.
3204
3205 2005-11-03  Edward Hervey  <edward@fluendo.com>
3206
3207         * gst/gstpad.c: (gst_pad_set_blocked_async):
3208         comparing a flag and a gboolean rarely returns coherent results...
3209         Added two characters (!!) to make that work correctly.
3210         
3211 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3212
3213         * gst/gstbus.c: (gst_bus_class_init):
3214           Fix some typos.
3215           
3216         * gst/gstqueue.c: (gst_queue_loop):
3217           Don't assume a miniobject that isn't a buffer is an
3218           event (it could be that there is a refcounting
3219           problem somewhere and the pointer is stale and
3220           refers to an already destroyed miniobject).
3221
3222 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3223
3224         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3225
3226 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3227
3228         * docs/manual/advanced-position.xml:
3229           Update seek example and explanations to current 0.9 API.
3230
3231         * gst/elements/gsttypefindelement.c:
3232         (gst_type_find_element_activate):
3233           Remove FIXME comment now that the found caps
3234           are unreffed.
3235
3236 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3237
3238         * gst/gstregistryxml.c: (load_feature):
3239           Add another GST_STR_NULL instance
3240
3241 2005-11-02  Edward Hervey  <edward@fluendo.com>
3242
3243         * gst/gstpad.c: (handle_pad_block):
3244         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3245         
3246 2005-11-02  Wim Taymans  <wim@fluendo.com>
3247
3248         * gst/gstbin.c:
3249         Fix typo in docs.
3250
3251         * gst/gstelement.c: (gst_element_commit_state):
3252         Remove unused value.
3253
3254         * gst/gstiterator.c:
3255         Mention that the returned element is reffed in the docs.
3256
3257 2005-11-02  Wim Taymans  <wim@fluendo.com>
3258
3259         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3260         (gst_pad_push), (gst_pad_push_event):
3261         Unlock blocked pads when they are flushed.
3262
3263 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3264
3265         * docs/README:
3266         * docs/gst/gstreamer-sections.txt:
3267         * gst/gstbin.c:
3268           doc updates
3269         * gst/gstregistry.c: (gst_registry_scan_path_level):
3270           fix for a nasty little missed situation where an installed plug-in
3271           which was in the cache did not get overridden by an uninstalled one
3272           which was earlier in the plugin path because the newly created plugin
3273           for the uninstalled one (not in the registry) didn't get its
3274           ->registered set to TRUE
3275
3276 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3277
3278         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3279         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3280         (gst_collectpads_is_active), (gst_collectpads_collect),
3281         (gst_collectpads_collect_range), (gst_collectpads_start),
3282         (gst_collectpads_stop), (gst_collectpads_peek),
3283         (gst_collectpads_pop), (gst_collectpads_available),
3284         (gst_collectpads_read), (gst_collectpads_flush):
3285           Guard public API with assertions.
3286         
3287         * gst/gstpad.c:
3288           Fix docs for gst_pad_set_link_function().
3289
3290 2005-11-02  Johan Dahlin  <johan@gnome.org>
3291
3292         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3293         Unref found_caps after we used it.
3294
3295 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3296
3297         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3298           Don't try to ref NULL.
3299
3300 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3301
3302         * win32/common/config.h.in:
3303           provide a GST_FUNCTION that just gives a string for now
3304
3305 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3306
3307         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3308         (gst_object_flags_get_type), (register_gst_bin_flags),
3309         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3310         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3311         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3312         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3313         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3314         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3315         (gst_clock_flags_get_type), (register_gst_state),
3316         (gst_state_get_type), (register_gst_state_change_return),
3317         (gst_state_change_return_get_type), (register_gst_state_change),
3318         (gst_state_change_get_type), (register_gst_element_flags),
3319         (gst_element_flags_get_type), (register_gst_core_error),
3320         (gst_core_error_get_type), (register_gst_library_error),
3321         (gst_library_error_get_type), (register_gst_resource_error),
3322         (gst_resource_error_get_type), (register_gst_stream_error),
3323         (gst_stream_error_get_type), (register_gst_event_type),
3324         (gst_event_type_get_type), (register_gst_seek_type),
3325         (gst_seek_type_get_type), (register_gst_seek_flags),
3326         (gst_seek_flags_get_type), (register_gst_format),
3327         (gst_format_get_type), (register_gst_index_certainty),
3328         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3329         (gst_index_entry_type_get_type),
3330         (register_gst_index_lookup_method),
3331         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3332         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3333         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3334         (gst_index_flags_get_type), (register_gst_debug_level),
3335         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3336         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3337         (gst_iterator_result_get_type), (register_gst_iterator_item),
3338         (gst_iterator_item_get_type), (register_gst_message_type),
3339         (gst_message_type_get_type), (register_gst_mini_object_flags),
3340         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3341         (gst_pad_link_return_get_type), (register_gst_flow_return),
3342         (gst_flow_return_get_type), (register_gst_activate_mode),
3343         (gst_activate_mode_get_type), (register_gst_pad_direction),
3344         (gst_pad_direction_get_type), (register_gst_pad_flags),
3345         (gst_pad_flags_get_type), (register_gst_pad_presence),
3346         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3347         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3348         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3349         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3350         (gst_plugin_flags_get_type), (register_gst_rank),
3351         (gst_rank_get_type), (register_gst_query_type),
3352         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3353         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3354         (gst_tag_flag_get_type), (register_gst_task_state),
3355         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3356         (gst_alloc_trace_flags_get_type),
3357         (register_gst_type_find_probability),
3358         (gst_type_find_probability_get_type), (register_gst_uri_type),
3359         (gst_uri_type_get_type), (register_gst_parse_error),
3360         (gst_parse_error_get_type):
3361         * win32/common/gstversion.h:
3362           update win32 copies
3363
3364 2005-11-01  Luca Ognibene  <luogni@tin.it>
3365
3366         * gst/gst.c:
3367           fix docs. popt is dead, long live GOption.
3368
3369 2005-10-31  Wim Taymans  <wim@fluendo.com>
3370
3371         * gst/gstbuffer.h:
3372         Small doc fix.
3373
3374 2005-10-31  Andy Wingo  <wingo@pobox.com>
3375
3376         * Boo!
3377
3378         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3379
3380         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3381         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3382         the possibility of deadlocks here if code calling notify() or
3383         set() has a lock that can be taken in another notify handler (ABBA
3384         with class lock and e.g. python GIL state lock).
3385
3386 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3387
3388         * gst/gstbus.c: Doc updates.
3389
3390 2005-10-28  Wim Taymans  <wim@fluendo.com>
3391
3392         * docs/design/part-TODO.txt:
3393         * gst/gstiterator.c:
3394         * gst/gstsystemclock.c:
3395         * gst/gstsystemclock.h:
3396         Doc updates.
3397
3398 2005-10-28  Edward Hervey  <edward@fluendo.com>
3399
3400         * docs/gst/gstreamer-docs.sgml:
3401         * docs/gst/gstreamer-sections.txt:
3402         the GstURIType documentation page is private, it only defines GstURIType
3403         which should be defined in the GstURIHandler page
3404         
3405 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3406
3407         * gst/gstbin.c: (gst_bin_class_init):
3408         * gst/gstbin.h:
3409         * gst/gstutils.c:
3410         Documentation updates.
3411
3412 2005-10-28  Wim Taymans  <wim@fluendo.com>
3413
3414         * docs/gst/gstreamer-sections.txt:
3415         * gst/gstclock.c:
3416         * gst/gstclock.h:
3417         Documented the clocks.
3418
3419 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3420
3421         * docs/gst/gstreamer-sections.txt:
3422           move some macros to private sections
3423         * gst/gstminiobject.c:
3424         * gst/gstminiobject.h:
3425           add descriptions provided by ds and some more
3426         * gst/gstpad.h:
3427           mark macro as to be removed
3428
3429 2005-10-28  Wim Taymans  <wim@fluendo.com>
3430
3431         * docs/design/part-TODO.txt:
3432         Add an item to TODO.
3433
3434         * gst/gstiterator.c: (gst_iterator_fold),
3435         (gst_iterator_find_custom):
3436         * gst/gstiterator.h:
3437         Add iterator docs.
3438
3439 2005-10-28  Wim Taymans  <wim@fluendo.com>
3440
3441         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3442         (gst_base_transform_init):
3443         Don't leak class.
3444
3445         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3446         An EOS event marks the queue as completely filled.
3447
3448 2005-10-27  Wim Taymans  <wim@fluendo.com>
3449
3450         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3451         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3452         Some more debugging.
3453
3454         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3455         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3456         (gst_base_transform_event), (gst_base_transform_getrange),
3457         (gst_base_transform_chain):
3458         * gst/base/gstbasetransform.h:
3459         Fix debugging,
3460         Protect transform and concurrent buffer alloc with a new lock.
3461         Try not to break ABI/API.
3462
3463 2005-10-27  Wim Taymans  <wim@fluendo.com>
3464
3465         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3466         (gst_base_src_init), (gst_base_src_query),
3467         (gst_base_src_default_newsegment),
3468         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3469         (gst_base_src_send_event), (gst_base_src_event_handler),
3470         (gst_base_src_pad_get_range), (gst_base_src_loop),
3471         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3472         (gst_base_src_start), (gst_base_src_deactivate),
3473         (gst_base_src_activate_push), (gst_base_src_change_state):
3474         Move some stuff around and cleanup things.
3475
3476 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3477
3478         * gst/base/gstbasesrc.c: (gst_base_src_query):
3479           Add missing break statements.
3480
3481 2005-10-27  Wim Taymans  <wim@fluendo.com>
3482
3483         * check/gst/gstbin.c: (GST_START_TEST):
3484         An extra refcount is taken in basesrc.
3485
3486         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3487         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3488         (gst_base_src_loop):
3489         Small cleanups, check for flushing after being unlocked from the 
3490         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3491         Don't send out EOS when going to READY.
3492
3493 2005-10-27  Wim Taymans  <wim@fluendo.com>
3494
3495         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3496         (gst_base_sink_get_position):
3497         Some more debug.
3498
3499         * gst/gstbin.c: (message_check), (bin_replace_message),
3500         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3501         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3502         (bin_query_duration_init), (bin_query_duration_fold),
3503         (bin_query_duration_done), (bin_query_generic_fold),
3504         (gst_bin_query):
3505         * tools/gst-launch.c: (main):
3506         Remove old option.
3507
3508 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3509
3510         * examples/controller/audio-example.c: (main):
3511         * examples/queue/queue.c: (event_loop):
3512         * gst/base/gstbasetransform.h:
3513         * gst/gstelement.c: (gst_element_send_event):
3514         * gst/gstevent.h:
3515         * gst/gstpad.c: (gst_pad_send_event):
3516           fixing examples
3517           fixing docs typos
3518           changing log priority in error situations
3519
3520 2005-10-25  Wim Taymans  <wim@fluendo.com>
3521
3522         * gst/gstbin.c: (message_check), (bin_replace_message),
3523         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3524         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3525         (bin_query_duration_init), (bin_query_duration_fold),
3526         (bin_query_duration_done), (bin_query_generic_fold),
3527         (gst_bin_query):
3528         Some doc and debug updates.
3529         Cache previously requested query DURATION for speed. invalidate
3530         cached duration if element posts a DURATION message.
3531
3532 2005-10-25  Wim Taymans  <wim@fluendo.com>
3533
3534         * docs/design/part-TODO.txt:
3535         Update TODO.
3536
3537         * gst/gstbin.c: (message_check), (bin_replace_message),
3538         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3539         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3540         (bin_query_duration_init), (bin_query_duration_fold),
3541         (bin_query_duration_done), (bin_query_generic_fold),
3542         (gst_bin_query):
3543         Handle SEGMENT_START/DONE messages correctly.
3544         More evolved query algorithm that handles duration queries
3545         correctly.
3546
3547         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3548         (gst_element_get_state_func), (gst_element_abort_state),
3549         (gst_element_commit_state), (gst_element_lost_state):
3550         Some more debugging.
3551
3552         * gst/gstmessage.h:
3553         Added doc.
3554
3555 2005-10-25  Wim Taymans  <wim@fluendo.com>
3556
3557         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3558         Don't use invalid stream_time.
3559
3560         * gst/gstevent.c: (gst_event_new_newsegment):
3561         stream_time in newsegment cannot be undefined.
3562
3563 2005-10-24  Wim Taymans  <wim@fluendo.com>
3564
3565         * gst/gstbus.c:
3566         Doc fix.
3567
3568         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3569         (gst_queue_loop):
3570         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3571
3572 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3573
3574         * docs/libs/tmpl/gstdparam.sgml:
3575         * docs/libs/tmpl/gstdplinint.sgml:
3576         * docs/libs/tmpl/gstdpman.sgml:
3577         * docs/libs/tmpl/gstdpsmooth.sgml:
3578         * docs/libs/tmpl/gstunitconvert.sgml:
3579           these are obsolete
3580
3581 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3582
3583         * configure.ac:
3584           back to HEAD
3585
3586 === release 0.9.4 ===
3587
3588 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3589
3590         * configure.ac:
3591           releasing 0.9.4, "Tyrannosaurus Rex"
3592
3593 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3594
3595         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3596         (gst_file_sink_get_current_offset):
3597           Use fseeko() and ftello() if available. When falling back on
3598           lseek() to get the current offset, fflush() first to make sure
3599           everything is up-to-date and we get the right offset.
3600
3601 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3602
3603         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3604         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3605         * gst/gsterror.c: (_gst_stream_errors_init):
3606         * gst/gsterror.h:
3607         * gst/gstqueue.c: (gst_queue_loop):
3608         * po/POTFILES.in:
3609           remove prematurely added error category and clean up the instances
3610
3611 2005-10-21  Wim Taymans  <wim@fluendo.com>
3612
3613         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3614         (gst_base_sink_get_position), (gst_base_sink_query),
3615         (gst_base_sink_change_state):
3616         Simply set the right flag when going to playing, that's all
3617         we need to do instead of calling a function inside the object
3618         lock (that could take the lock as well and deadlock)
3619
3620 2005-10-21  Wim Taymans  <wim@fluendo.com>
3621
3622         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3623         (gst_base_src_loop):
3624         Don't warn, the peer element knows what to do best when
3625         the seek failed, it might try something else.
3626
3627 2005-10-21  Wim Taymans  <wim@fluendo.com>
3628
3629         * gst/base/gstbasesrc.c: (gst_base_src_init),
3630         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3631         Fix seeking.
3632
3633 2005-10-21  Wim Taymans  <wim@fluendo.com>
3634
3635         * docs/design/part-segments.txt:
3636         More docs.
3637
3638         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3639         Correctly set caps, even on the subbufer.
3640
3641 2005-10-21  Wim Taymans  <wim@fluendo.com>
3642
3643         * docs/gst/gstreamer-docs.sgml:
3644         * docs/gst/gstreamer-sections.txt:
3645         * gst/gstelement.h:
3646         * gst/gstevent.c:
3647         * gst/gstevent.h:
3648         * gst/gstmessage.h:
3649         * gst/gstpad.h:
3650         * gst/gstparse.h:
3651         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3652         * gst/gsttask.h:
3653         * gst/gstutils.c:
3654         * gst/gstutils.h:
3655         And 2% more doc coverage.
3656
3657 2005-10-21  Andy Wingo  <wingo@pobox.com>
3658
3659         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3660         position reporting.
3661
3662 2005-10-20  Wim Taymans  <wim@fluendo.com>
3663
3664         * gst/gsterror.c: (gst_error_get_message):
3665         * gst/gstparse.h:
3666         * gst/gstquery.h:
3667         * gst/gststructure.c:
3668         * gst/gsttrace.c:
3669         * gst/gstutils.c:
3670         More docs.
3671
3672 2005-10-20  Wim Taymans  <wim@fluendo.com>
3673
3674         * gst/gstbuffer.h:
3675         * gst/gstpad.c:
3676         * gst/gstparse.c:
3677         Another 1% more coverage.
3678
3679 2005-10-20  Wim Taymans  <wim@fluendo.com>
3680
3681         * docs/gst/gstreamer-sections.txt:
3682         * gst/gstelement.c: (gst_element_get_state_func),
3683         (gst_element_abort_state), (gst_element_commit_state),
3684         (gst_element_lost_state):
3685         * gst/gstevent.h:
3686         * gst/gstquery.c: (gst_query_set_position),
3687         (gst_query_parse_position), (gst_query_set_duration),
3688         (gst_query_parse_duration), (gst_query_new_convert):
3689         * gst/gstutils.c:
3690         Yay! 1% more docs coverage.
3691
3692 2005-10-20  Wim Taymans  <wim@fluendo.com>
3693
3694         * gst/gstpad.h:
3695         * gst/gstquery.c: (gst_query_set_position),
3696         (gst_query_parse_position), (gst_query_set_duration),
3697         (gst_query_parse_duration), (gst_query_new_convert):
3698         * gst/gstquery.h:
3699         * gst/gstutils.c: (gst_element_query_convert):
3700         * gst/gstutils.h:
3701         Docs and consistency fixes.
3702
3703 2005-10-20  Wim Taymans  <wim@fluendo.com>
3704
3705         * gst/gsttask.c:
3706         * gst/gsttask.h:
3707         More docs.
3708
3709 2005-10-20  Wim Taymans  <wim@fluendo.com>
3710
3711         * gst/gstbin.c: (message_check), (bin_replace_message),
3712         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3713         (update_degree), (gst_bin_sort_iterator_next),
3714         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3715         Reworked the message handling a bit, cache the messages instead of
3716         only the senders. alows us to do more in the future.
3717
3718 2005-10-20  Wim Taymans  <wim@fluendo.com>
3719
3720         * docs/design/part-TODO.txt:
3721         Update TODO
3722
3723         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3724         (gst_base_sink_query):
3725         Don't use clock time to report position when in EOS.
3726
3727 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3728
3729         * tools/gst-inspect.c: (print_interfaces),
3730         (print_element_properties_info), (print_element_info):
3731           Fix interface output with gst-inspect -a; don't print
3732           newlines after double/float properties.
3733
3734 2005-10-20  Wim Taymans  <wim@fluendo.com>
3735
3736         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3737         (gst_base_sink_query):
3738         Speed up current position calculation.
3739
3740         * gst/base/gstbasesrc.c: (gst_base_src_query),
3741         (gst_base_src_default_newsegment):
3742         Correctly set stream position in newsegment.
3743
3744         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3745         (update_degree), (gst_bin_sort_iterator_next),
3746         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3747         * gst/gstmessage.c: (gst_message_new_custom):
3748         Clean up debugging info
3749
3750         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3751         (gst_queue_loop), (gst_queue_handle_src_query):
3752         Pause task faster.
3753
3754 2005-10-19  Wim Taymans  <wim@fluendo.com>
3755
3756         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3757         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3758         Fix query handling again.
3759
3760 2005-10-19  Wim Taymans  <wim@fluendo.com>
3761
3762         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3763         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3764         * gst/base/gstbasesrc.c: (gst_base_src_query):
3765         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3766         * gst/elements/gsttypefindelement.c:
3767         (gst_type_find_handle_src_query), (find_element_get_length),
3768         (gst_type_find_element_activate):
3769         API change fix.
3770
3771         * gst/gstquery.c: (gst_query_new_position),
3772         (gst_query_set_position), (gst_query_parse_position),
3773         (gst_query_new_duration), (gst_query_set_duration),
3774         (gst_query_parse_duration), (gst_query_set_segment),
3775         (gst_query_parse_segment):
3776         * gst/gstquery.h:
3777         Bundling query position/duration is not a good idea since duration
3778         does not change much and we don't want to recalculate it for every
3779         position query, so they are separated again..
3780         Base value in segment query is not needed.
3781
3782         * gst/gstqueue.c: (gst_queue_handle_src_query):
3783         * gst/gstutils.c: (gst_element_query_position),
3784         (gst_element_query_duration), (gst_pad_query_position),
3785         (gst_pad_query_duration):
3786         * gst/gstutils.h:
3787         Updates for query API change.
3788         Added some docs here and there.
3789
3790 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3791
3792         * check/gst/gstbin.c: (GST_START_TEST):
3793         * check/gst/gstghostpad.c: (GST_START_TEST):
3794         * check/pipelines/cleanup.c: (GST_START_TEST):
3795           wait on thread to die so we can check refcount correctly
3796
3797 2005-10-18  Wim Taymans  <wim@fluendo.com>
3798
3799         * check/pipelines/stress.c: (GST_START_TEST):
3800         Make check a little more time consuming.
3801
3802 2005-10-18  Wim Taymans  <wim@fluendo.com>
3803
3804         * check/Makefile.am:
3805         * check/pipelines/stress.c: (GST_START_TEST),
3806         (simple_launch_lines_suite), (main):
3807         Small state change torture test.
3808
3809         * docs/design/part-states.txt:
3810         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3811         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3812         (gst_base_sink_change_state):
3813         Never take state lock from streaming thread, clean up ugly
3814         hacks. Unfortunatly core does not yet support nice ways to
3815         async commit state.
3816         
3817         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3818         (bin_bus_handler):
3819         Start state recalc if a STATE_DIRTY message is posted, but only
3820         on the toplevel bin.
3821
3822         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3823         (gst_element_get_state_func), (gst_element_abort_state),
3824         (gst_element_commit_state), (gst_element_lost_state),
3825         (gst_element_set_state_func), (gst_element_change_state):
3826         * gst/gstelement.h:
3827         State variables are now protected with the LOCK, the state
3828         lock is only used to serialize _set_state().
3829
3830 2005-10-18  Wim Taymans  <wim@fluendo.com>
3831
3832         * check/gst/gstbin.c: (GST_START_TEST):
3833         * check/gst/gstmessage.c: (GST_START_TEST):
3834         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3835         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3836         (bin_bus_handler):
3837         * gst/gstelement.c: (gst_element_abort_state),
3838         (gst_element_commit_state), (gst_element_lost_state):
3839         * gst/gstmessage.c: (gst_message_new_state_changed),
3840         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3841         (gst_message_new_segment_done), (gst_message_new_duration),
3842         (gst_message_parse_state_changed),
3843         (gst_message_parse_segment_start),
3844         (gst_message_parse_segment_done), (gst_message_parse_duration):
3845         * gst/gstmessage.h:
3846         * tools/gst-launch.c: (event_loop):
3847         Seriously, this is better than a previous commit as we only need
3848         to notify the fact that an element changed state in a streaming
3849         thread, marking the state of the parents dirty, hence the 
3850         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3851         message.
3852
3853 2005-10-18  Wim Taymans  <wim@fluendo.com>
3854
3855         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3856         (gst_bin_recalc_func):
3857         * gst/gstelement.c: (gst_element_set_clock),
3858         (gst_element_abort_state), (gst_element_lost_state):
3859         Cleanups, prepare for state change fixes.
3860
3861 2005-10-18  Wim Taymans  <wim@fluendo.com>
3862
3863         * gst/gstbin.h:
3864         * gst/gstelement.c: (gst_element_class_init),
3865         (gst_element_set_state), (gst_element_set_state_func):
3866         * gst/gstelement.h:
3867         Pending ABI changes.
3868         GThreadPool in GstBinClass to monitor async state changes.
3869         state_cookie in GstElement to detect concurrent gst/set state.
3870         set_state is now virtual too in case a very complicated element
3871         has to be constructed.
3872
3873 2005-10-18  Wim Taymans  <wim@fluendo.com>
3874
3875         * check/gst/gstbin.c: (GST_START_TEST):
3876         * check/gst/gstmessage.c: (GST_START_TEST):
3877         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3878         * gst/gstbin.c: (bin_bus_handler):
3879         * gst/gstelement.c: (gst_element_commit_state),
3880         (gst_element_lost_state):
3881         * gst/gstmessage.c: (gst_message_new_state_changed),
3882         (gst_message_new_segment_start), (gst_message_new_segment_done),
3883         (gst_message_new_duration), (gst_message_parse_state_changed),
3884         (gst_message_parse_segment_start),
3885         (gst_message_parse_segment_done), (gst_message_parse_duration):
3886         * gst/gstmessage.h:
3887         * tools/gst-launch.c: (event_loop):
3888         Make messages future proof.
3889         state-change gets a flag if it was a message comming from the
3890         streaming thread.
3891         segment-start/stop can also be specified in other formats.
3892         A message to notify an app that a pipeline changed playback 
3893         duration.
3894         Also fix a GstMessage leak in -launch
3895
3896 2005-10-18  Andy Wingo  <wingo@pobox.com>
3897
3898         * gst/gstelement.c (gst_element_dispose): More helpful message.
3899
3900 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3901
3902         reviewed by: <delete if not using a buddy>
3903
3904         * common/gtk-doc.mak:
3905
3906 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3907
3908         * gst/gstregistry.c: (gst_registry_scan_path_level):
3909           unref a plug-in we get that was already initialized
3910
3911 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3912
3913         * docs/gst/gstreamer-sections.txt:
3914         * docs/libs/gstreamer-libs-sections.txt:
3915         * gst/gstelement.h:
3916           add new api entries
3917           hide internal macro
3918
3919 2005-10-17  Andy Wingo  <wingo@pobox.com>
3920
3921         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3922         cleanup.
3923
3924         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3925
3926         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3927
3928         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3929         (gst_element_get_state_func): Better debug message.
3930         (gst_element_commit_state): s/INFO/DEBUG/.
3931         (gst_element_lost_state, gst_element_change_state): 
3932
3933         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3934         (gst_message_new_custom): s/INFO/LOG/.
3935
3936 2005-10-17  Michael Smith <msmith@fluendo.com>
3937
3938         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3939           Check if end time is valid using end time, not start time.
3940
3941 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3942
3943         * check/gst-libs/controller.c: (GST_START_TEST),
3944         (gst_controller_suite):
3945         * libs/gst/controller/gstcontroller.c:
3946         (gst_controlled_property_set_interpolation_mode):
3947         * libs/gst/controller/gstcontroller.h:
3948         * libs/gst/controller/gstinterpolation.c:
3949         * testsuite/controller/.cvsignore:
3950         * testsuite/controller/Makefile.am:
3951         * testsuite/controller/interpolator.c:
3952           merge controller testsuites
3953           fix broken tests
3954           remove mem-chunk from docs
3955
3956 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3957
3958         * gst/gstmemchunk.c:
3959         * gst/gstmemchunk.h:
3960         * gst/gsttrashstack.c:
3961         * gst/gsttrashstack.h:
3962           out.  get out.  you're fired.  to the Attic !
3963
3964 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3965
3966         * gst/gstcaps.c: (gst_caps_intersect):
3967           fix signedness issues in a (hopefully) correct way
3968         * gst/gstelement.c: (gst_element_pads_activate):
3969           some debugging
3970         * gst/gstobject.c: (gst_object_set_parent):
3971           some debugging
3972
3973 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3974
3975         * gst/gstvalue.h: Fix prototypes.
3976
3977 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3978
3979         * docs/gst/gstreamer-sections.txt:
3980         * gst/gst.c: (gst_version_string):
3981         * gst/gst.h:
3982         * gst/gstversion.h.in:
3983         * win32/common/libgstreamer.def:
3984           add gst_version_string ()
3985
3986 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3987
3988         * configure.ac:
3989           clean up further
3990         * gst/gst.c: (init_post):
3991         * win32/common/config.h.in:
3992           it's PLUGINDIR now
3993         * gst/gstcaps.c: (gst_caps_intersect):
3994           use gint64, the range could be bigger than a guint
3995
3996 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3997
3998         * gst/gstclock.h:
3999           document potential problem in 2038
4000
4001 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4002
4003         * gst/gstcaps.c: (gst_caps_intersect):
4004           Fix guint j diving under 0
4005
4006 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4007
4008         * configure.ac:
4009         * win32/common/config.h:
4010         * win32/common/config.h.in:
4011           check for process.h, declares getpid() on Windows
4012         * gst/gstinfo.c:
4013           include process.h if we have it
4014         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4015         * gst/gstmemchunk.h:
4016           fix signedness issues
4017         * win32/common/libgstreamer.def:
4018           fix get_type's
4019
4020 2005-10-16  Julien MOUTTE  <julien@moutte.net>
4021
4022         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4023         fix. Because of unsigned ints, caps intersection was going nuts and
4024         trying to access structures with G_MAXUINT index. That fixes
4025         videotestsrc ! ffmpegcolorspace ! fakesink
4026         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4027         consistency.
4028
4029 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4030
4031         * configure.ac:
4032           use the gettext macro
4033         * gst/elements/gstelements.c:
4034         * gst/gst.c:
4035         * gst/indexers/gstindexers.c:
4036           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4037         * win32/common/config.h:
4038           updated config.h
4039         * win32/common/config.h.in:
4040           add the template to generate config.h
4041         * win32/common/gstenumtypes.c:
4042         * win32/common/gstversion.h:
4043           updated copies
4044
4045 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4046
4047         * gst/gst.c: (gst_version):
4048         * gst/gstversion.h.in:
4049           add the nano
4050
4051 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4052
4053         * gst/gstevent.h:
4054           Oops, add missing closing bracket.
4055
4056 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4057
4058         * configure.ac:
4059           use common m4's for argument checking
4060
4061 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4062
4063         * docs/gst/gstreamer-sections.txt:
4064         * gst/gstevent.h:
4065           Add GST_EVENT_TYPE_NAME() macro.
4066
4067 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4068
4069         * gst/gstinfo.c:
4070         * gst/gstpluginfeature.c:
4071         * gst/gsttask.c:
4072           privatize more symbols
4073
4074 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4075
4076         * configure.ac:
4077           add srcdir, builddir includes to GST_ALL_CFLAGS, since
4078           everything that uses GStreamer API should have the includes
4079
4080 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4081
4082         * docs/gst/gstreamer-sections.txt:
4083         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4084         * gst/gstvalue.h:
4085           give each value a _get_type, removes the DATA exports
4086
4087 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4088
4089         * gst/gst.c:
4090         * gst/gst.h:
4091           remove _gst_registry_auto_load, not used anymore
4092         * gst/gstbin.c: (gst_bin_get_type):
4093         * gst/gstbin.h:
4094         * gst/gstelement.c: (gst_element_get_type):
4095         * gst/gstelement.h:
4096         * gst/gstobject.c: (gst_object_get_type):
4097         * gst/gstobject.h:
4098         * gst/gstpad.c: (gst_pad_get_type):
4099         * gst/gstpad.h:
4100           make _get_type functions similar, fixes data export from library
4101
4102 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4103
4104         * configure.ac:
4105           correctly make conditionals
4106         * gst/elements/Makefile.am:
4107         * gst/elements/gstelements.c:
4108           fix typo causing fdsrc not to build
4109
4110 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4111
4112         * testsuite/Makefile.am:
4113         * testsuite/bytestream/.cvsignore:
4114         * testsuite/bytestream/Makefile.am:
4115         * testsuite/bytestream/filepadsink.c:
4116         * testsuite/bytestream/gstbstest.c:
4117         * testsuite/bytestream/test1.c:
4118         * testsuite/bytestream/testfile1:
4119         * testsuite/caps/normalisation.c:
4120         * testsuite/caps/random.c: (main):
4121         * testsuite/cleanup/.cvsignore:
4122         * testsuite/cleanup/Makefile.am:
4123         * testsuite/cleanup/cleanup1.c:
4124         * testsuite/cleanup/cleanup2.c:
4125         * testsuite/cleanup/cleanup3.c:
4126         * testsuite/cleanup/cleanup4.c:
4127         * testsuite/cleanup/cleanup5.c:
4128         * testsuite/controller/interpolator.c:
4129         * testsuite/debug/printf_extension.c: (main):
4130         * testsuite/elements/tee.c:
4131         * testsuite/negotiation/.cvsignore:
4132         * testsuite/negotiation/Makefile.am:
4133         * testsuite/negotiation/pad_link.c:
4134         * testsuite/pad/Makefile.am:
4135         * testsuite/pad/chainnopull.c:
4136         * testsuite/pad/getnopush.c:
4137         * testsuite/pad/link.c:
4138         * testsuite/refcounting/sched.c: (create_pipeline):
4139         * testsuite/registry/Makefile.am:
4140         * testsuite/registry/gst-print-formats.c:
4141         * testsuite/schedulers/.cvsignore:
4142         * testsuite/schedulers/142183-2.c:
4143         * testsuite/schedulers/142183.c:
4144         * testsuite/schedulers/143777-2.c:
4145         * testsuite/schedulers/143777.c:
4146         * testsuite/schedulers/147713.c:
4147         * testsuite/schedulers/147819.c:
4148         * testsuite/schedulers/147894-2.c:
4149         * testsuite/schedulers/147894.c:
4150         * testsuite/schedulers/Makefile.am:
4151         * testsuite/schedulers/group_link.c:
4152         * testsuite/schedulers/queue_link.c:
4153         * testsuite/schedulers/relink.c:
4154         * testsuite/schedulers/unlink.c:
4155         * testsuite/schedulers/unref.c:
4156         * testsuite/schedulers/useless_iteration.c:
4157         * testsuite/states/bin.c:
4158           clean out/remove some stuff from the testsuite directories
4159
4160 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4161
4162         * configure.ac:
4163           check for some headers
4164         * gst/elements/Makefile.am:
4165         * gst/elements/gstelements.c:
4166           don't compile fdsrc without sys/socket.h
4167         * gst/indexers/Makefile.am:
4168         * gst/indexers/gstindexers.c: (plugin_init):
4169           don't compile fileindex without mmap
4170
4171 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4172
4173         * configure.ac:
4174           reorganize
4175           clean up
4176           document more
4177           remove cruft
4178         * check/Makefile.am:
4179         * docs/gst/Makefile.am:
4180         * examples/helloworld/Makefile.am:
4181         * gst/Makefile.am:
4182         * gst/base/Makefile.am:
4183         * gst/check/Makefile.am:
4184         * gst/elements/Makefile.am:
4185         * gst/indexers/Makefile.am:
4186         * gst/parse/Makefile.am:
4187         * libs/gst/controller/Makefile.am:
4188         * libs/gst/dataprotocol/Makefile.am:
4189         * examples/helloworld/helloworld.c: (event_loop):
4190           compile fixes, though it's not being compiled currently
4191
4192 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4193
4194         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4195           Add some simple tests for the new taglist date API.
4196
4197 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4198
4199         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4200         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4201           Beautify 'last-message' output: print 'none' for buffer timestamps
4202           and durations if none is set; improve alignment with next messages.
4203
4204 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4205
4206         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4207         * gst/gstpluginfeature.h:
4208         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4209         * gst/gstregistry.h:
4210         * docs/gst/gstreamer-sections.txt:
4211           Add new API to check plugin feature version requirements.
4212
4213         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4214           Some basic tests for the above.         
4215
4216 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4217
4218         * gst/gststructure.c: (gst_structure_to_string):
4219           guard against NULL printf - happens when for example
4220           a message structure with GstClock gets serialized
4221
4222 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4223
4224         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4225           Fix presumable copy'n'pasto.
4226
4227 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4228
4229         * gst/elements/gstfakesrc.h:
4230         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4231         * gst/elements/gsttypefindelement.c:
4232           fix some signedness
4233         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4234           I wonder if this could actually write +2GB files before
4235
4236 2005-10-13  Andy Wingo  <wingo@pobox.com>
4237
4238         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4239         Fix Timmeke Waymans bug.
4240         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4241         string of the proper length to gst_caps_from_string. There's a
4242         potential for, before this fix, that this could cause someone
4243         connecting over the network to cause a segfault if the payload is
4244         not NUL-terminated.
4245
4246 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4247
4248         * docs/design/draft-push-pull.txt:
4249         * docs/design/part-overview.txt:
4250         * docs/random/TODO-pre-0.9:
4251         * docs/random/old/ChangeLog.gstreamer:
4252         * gst/base/gstpushsrc.c:
4253         * gst/gstclock.c:
4254           fixed typos
4255
4256 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4257
4258         * gst/glib-compat.c: (gst_flags_get_first_value):
4259         * gst/glib-compat.h:
4260         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4261         (gst_value_compare_double), (gst_value_serialize_flags):
4262           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4263           infinite loop
4264
4265 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4266
4267         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4268         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4269           fix up debugging
4270         * tools/gst-launch.c: (event_loop):
4271           print out clock nicely
4272
4273 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4274
4275         * docs/gst/gstreamer-sections.txt:
4276         * gst/gsttaglist.h:
4277         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4278         (gst_tag_list_get_date_index):
4279           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4280           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4281
4282 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4283
4284         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4285         (gst_collectpads_chain):
4286         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4287         in CollectData.
4288
4289 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4290
4291         * docs/gst/gstreamer-sections.txt:
4292         * gst/gst.c:
4293         * gst/gsterror.h:
4294         * tools/gst-inspect.c: (main):
4295         * tools/gst-launch.c: (main):
4296         * tools/gst-run.c: (main):
4297         * tools/gst-xmlinspect.c: (main):
4298           fix GOption context leaks
4299           doc fixes
4300
4301 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4302
4303         * gst/gstbus.c:
4304           use HAVE_UNISTD_H
4305         * win32/common/config.h:
4306           update config
4307         * win32/vs6/grammar.dsp:
4308         * win32/vs6/libgstelements.dsp:
4309         * win32/vs6/libgstreamer.dsp:
4310           update vs6 files
4311
4312 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4313
4314         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4315         * gst/base/gstbasesrc.c: (gst_base_src_query):
4316           fix more guint64<->gdouble conversions
4317
4318 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4319
4320         * Makefile.am:
4321           add win32-update target
4322         * win32/common/gstconfig.h:
4323         * win32/common/gstenumtypes.c:
4324         * win32/common/gstenumtypes.h:
4325         * win32/common/gstversion.h:
4326           add files that visual studio can't generate
4327
4328 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4329
4330         * Makefile.am:
4331           add a win32-update target
4332         * configure.ac:
4333
4334 2005-10-12  Wim Taymans  <wim@fluendo.com>
4335
4336         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4337         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4338         * gst/gstelement.c: (gst_element_commit_state),
4339         (gst_element_set_state):
4340         Protect flags with proper lock.
4341         unref provided cached clock in dispose.
4342
4343 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4344
4345         * gst/gst.c:
4346         * gst/gstminiobject.h:
4347         * gst/gstpad.h:
4348         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4349           removed unused flags from miniobject
4350           doc fixes
4351
4352 2005-10-12  Wim Taymans  <wim@fluendo.com>
4353
4354         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4355         (gst_file_sink_event), (gst_file_sink_render):
4356         Flush before seeking.
4357
4358 2005-10-12  Andy Wingo  <wingo@pobox.com>
4359
4360         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4361         always been the case.
4362
4363 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4364
4365         * check/gst/gstbin.c: (GST_START_TEST):
4366         * docs/gst/gstreamer-sections.txt:
4367         * gst/base/gstbasesink.c: (gst_base_sink_init):
4368         * gst/base/gstbasesrc.c: (gst_base_src_init),
4369         (gst_base_src_get_range), (gst_base_src_check_get_range),
4370         (gst_base_src_start), (gst_base_src_stop):
4371         * gst/base/gstbasesrc.h:
4372         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4373         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4374         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4375         (bin_bus_handler):
4376         * gst/gstbin.h:
4377         * gst/gstbuffer.h:
4378         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4379         * gst/gstbus.h:
4380         * gst/gstelement.c: (gst_element_is_locked_state),
4381         (gst_element_set_locked_state), (gst_element_commit_state),
4382         (gst_element_set_state):
4383         * gst/gstelement.h:
4384         * gst/gstindex.c: (gst_index_init):
4385         * gst/gstindex.h:
4386         * gst/gstminiobject.h:
4387         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4388         (gst_object_set_parent):
4389         * gst/gstobject.h:
4390         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4391         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4392         * gst/gstpad.h:
4393         * gst/gstpadtemplate.h:
4394         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4395         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4396         * gst/gstpipeline.h:
4397         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4398         (gst_file_index_commit):
4399         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4400         * testsuite/pad/link.c: (gst_test_src_init),
4401         (gst_test_filter_init), (gst_test_sink_init):
4402         * testsuite/states/locked.c: (main):
4403           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4404           moved bitshift from macro to enum definition
4405
4406 2005-10-12  Wim Taymans  <wim@fluendo.com>
4407
4408         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4409         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4410         (gst_file_sink_render):
4411         Some more debugging info.
4412
4413 2005-10-12  Wim Taymans  <wim@fluendo.com>
4414
4415         * docs/design/part-states.txt:
4416         * tools/gst-launch.c: (main):
4417         Some doc updates.
4418         Revert non-intentional change.
4419
4420 2005-10-12  Wim Taymans  <wim@fluendo.com>
4421
4422         * check/gst/gstbin.c: (GST_START_TEST):
4423         * check/gst/gstelement.c: (GST_START_TEST):
4424         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4425         * check/gst/gstghostpad.c: (GST_START_TEST):
4426         * check/gst/gstpipeline.c: (GST_START_TEST):
4427         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4428         * check/states/sinks.c: (GST_START_TEST):
4429         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4430         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4431         (gst_bin_remove_func), (gst_bin_get_state_func),
4432         (gst_bin_recalc_state), (gst_bin_change_state_func),
4433         (bin_bus_handler):
4434         * gst/gstelement.c: (gst_element_get_state_func),
4435         (gst_element_get_state), (gst_element_abort_state),
4436         (gst_element_commit_state), (gst_element_set_state),
4437         (gst_element_change_state), (gst_element_change_state_func):
4438         * gst/gstelement.h:
4439         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4440         (gst_pipeline_provide_clock_func):
4441         * gst/gstutils.c: (gst_element_link_pads_filtered):
4442         * tools/gst-launch.c: (main):
4443         * tools/gst-typefind.c: (main):
4444         Use GstClockTime in _get_state() instead of GTimeVal.
4445         Remove old code in gstutils.c
4446
4447 2005-10-12  Andy Wingo  <wingo@pobox.com>
4448
4449         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4450         removed.
4451
4452         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4453         there is no task. Shouldn't affect any code, as nothing in our
4454         plugins checks this return value.
4455         (gst_pad_stop_task): Also take the stream lock if the pad has no
4456         task. Docs updated.
4457
4458 2005-10-12  Wim Taymans  <wim@fluendo.com>
4459
4460         * gst/gstpad.c: (pre_activate), (post_activate),
4461         (gst_pad_activate_pull), (gst_pad_activate_push):
4462         Cleanup activation code. Reset old state if
4463         activation failed.
4464
4465 2005-10-12  Wim Taymans  <wim@fluendo.com>
4466
4467         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4468         (gst_base_sink_change_state):
4469         No need to prerol after receiving EOS.
4470
4471         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4472         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4473         * gst/elements/gstidentity.c: (gst_identity_event):
4474         Print events more verbosely.
4475
4476 2005-10-12  Wim Taymans  <wim@fluendo.com>
4477
4478         * check/Makefile.am:
4479         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4480         * check/states/sinks2.c:
4481         Moved sinks2 testcode in sinks check.
4482
4483         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4484         (gst_bin_remove_func), (gst_bin_recalc_state),
4485         (gst_bin_change_state_func), (bin_bus_handler):
4486         Fix potential race condition when _get_state() iterated over an
4487         ASYNC element right before it posted a state completion.
4488
4489         * gst/gstclock.h:
4490         Do proper cast here.
4491
4492         * gst/gstevent.c: (gst_event_new_newsegment),
4493         (gst_event_parse_newsegment):
4494         A playback rate of 0.0 is not allowed.
4495
4496 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4497
4498         * win32/common/config.h:
4499         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4500         (_trewinddir), (_ttelldir), (_tseekdir):
4501         * win32/common/dirent.h:
4502         * win32/common/gtchar.h:
4503         * win32/common/libgstbase.def:
4504         * win32/common/libgstreamer.def:
4505         * win32/vs6/grammar.dsp:
4506         * win32/vs6/gst_inspect.dsp:
4507         * win32/vs6/gst_launch.dsp:
4508         * win32/vs6/gstreamer.dsw:
4509         * win32/vs6/libgstbase.dsp:
4510         * win32/vs6/libgstelements.dsp:
4511         * win32/vs6/libgstreamer.dsp:
4512           Visual Studio 6 project files, and a new common directory.
4513           Phear.
4514
4515 2005-10-11  Wim Taymans  <wim@fluendo.com>
4516
4517         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4518         (gst_base_sink_do_sync), (gst_base_sink_query),
4519         (gst_base_sink_change_state):
4520         * gst/base/gstbasesink.h:
4521         Correctly parse newsegment info.
4522
4523 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4524
4525         * gst/gst.c: (init_post):
4526           split plugin paths correctly
4527
4528 2005-10-11  Wim Taymans  <wim@fluendo.com>
4529
4530         * check/gst/gstevent.c: (GST_START_TEST):
4531         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4532         (gst_base_sink_change_state):
4533         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4534         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4535         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4536         * gst/gstevent.c: (gst_event_new_newsegment),
4537         (gst_event_parse_newsegment):
4538         * gst/gstevent.h:
4539         Added extra flag to newsegment for future API freeze.
4540         Updated check and base elements.
4541
4542 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4543
4544         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4545         (gst_collectpads_add_pad), (gst_collectpads_pop),
4546         (gst_collectpads_event), (gst_collectpads_chain):
4547         * gst/base/gstcollectpads.h: Handle EOS correctly.
4548
4549 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4550
4551         * tools/gst-launch.c: (main):
4552           more null protecting
4553
4554 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4555
4556         * gst/gst-i18n-lib.h:
4557           check for ENABLE_NLS, not GETTEXT_PACKAGE
4558         * gst/gstregistry.c: (gst_registry_add_plugin),
4559         (gst_registry_scan_path_level),
4560         (_gst_registry_remove_cache_plugins):
4561           protect possibly NULL strings
4562         * gst/parse/types.h:
4563           config.h already included before
4564         * tools/gst-inspect.c: (main):
4565           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4566           check for ENABLE_NLS, not GETTEXT_PACKAGE
4567         * tools/gst-launch.c: (main):
4568           check for ENABLE_NLS, not GETTEXT_PACKAGE
4569
4570 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4571
4572         * configure.ac:
4573           if we don't have glib, fail before testing 2.8
4574         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4575           fix a leak, should fix plugins-base testsuite
4576
4577 2005-10-11  Andy Wingo  <wingo@pobox.com>
4578
4579         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4580         take the mode we're going to as an arg. Go head and set the mode
4581         and flushing flags now, so that if the activate function starts a
4582         thread all the flags will be in the right state.
4583         (post_activate): Renamed also. Just handle making sure streaming
4584         finishes for the deactivation case, and setting the deactivated
4585         mode.
4586         (gst_pad_set_active): Complain loudly if deactivation fails.
4587         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4588         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4589         remove the terrible hack.
4590
4591 2005-10-11  Wim Taymans  <wim@fluendo.com>
4592
4593         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4594         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4595         (gst_bin_recalc_state), (gst_bin_change_state_func),
4596         (gst_bin_dispose), (bin_bus_handler):
4597         * gst/gstbin.h:
4598         Prepare to make current EOS message queue more generic.
4599         Fix some typos.
4600
4601         * gst/gstevent.c: (gst_event_new_newsegment),
4602         (gst_event_parse_newsegment):
4603         * gst/gstevent.h:
4604         Rename base to stream_time.
4605
4606         * gst/gstmessage.h:
4607         Fix typo in docs.
4608
4609 2005-10-11  Wim Taymans  <wim@fluendo.com>
4610
4611         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4612         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4613         (gst_bin_change_state_func), (bin_bus_handler):
4614         * gst/gstbin.h:
4615         Work on proper clock selection.
4616
4617 2005-10-11  Edward Hervey  <edward@fluendo.com>
4618
4619         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4620         * libs/gst/controller/gstcontroller.h:
4621         Added GList* version of _remove_properties() in order to be able to wrap
4622         it in bindings.
4623
4624 2005-10-11  Wim Taymans  <wim@fluendo.com>
4625
4626         * docs/design/part-states.txt:
4627         Some more docs.
4628
4629         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4630         (gst_bin_change_state_func), (bin_bus_handler):
4631         Doc updates. Don't distribute the same clock over and over again.
4632
4633         * gst/gstclock.c:
4634         * gst/gstclock.h:
4635         Doc updates.
4636
4637         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4638         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4639         (gst_pad_send_event):
4640         * gst/gstpad.h:
4641         Make probe emission threadsafe again.
4642         Register quarks and move _get_name() from utils.
4643         Doc updates.
4644
4645         * gst/gstpipeline.c: (gst_pipeline_class_init),
4646         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4647         Only redistribute the clock of it changed.
4648
4649         * gst/gstsystemclock.h:
4650         Doc updates. 
4651
4652         * gst/gstutils.c:
4653         * gst/gstutils.h:
4654         Moved the _flow_get_name() to GstPad.
4655
4656 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4657
4658         * check/gst-libs/gdp.c: (GST_START_TEST):
4659         * check/gst/gstcaps.c: (GST_START_TEST):
4660         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4661         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4662         (gst_dp_packet_from_caps):
4663           fix more valgrind warnings before turning up the heat
4664
4665 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4666
4667         * gst/parse/grammar.y:
4668           some cleanup before the hacking
4669
4670 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4671
4672         * gst/base/gstbasesrc.c: (gst_base_src_query):
4673           use conversions
4674         * gst/gstutils.c: (gst_guint64_to_gdouble),
4675         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4676         * gst/gstutils.h:
4677           externalize, basesrc uses it
4678           obviously the implementation needs testing
4679
4680 2005-10-10  Wim Taymans  <wim@fluendo.com>
4681
4682         * tests/sched/Makefile.am:
4683         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4684         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4685
4686 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4687
4688         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4689           apparently converting from guint64 to double is not implemented
4690           on MSVC
4691
4692 2005-10-10  Wim Taymans  <wim@fluendo.com>
4693
4694         * check/Makefile.am:
4695         * check/generic/states.c: (GST_START_TEST):
4696         * check/gst/gstbin.c: (GST_START_TEST):
4697         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4698         * check/states/sinks.c: (GST_START_TEST):
4699         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4700         (main):
4701         Check fixes, use API as stated in design docs, remove hacks.
4702
4703         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4704         (gst_base_sink_change_state):
4705         Catch stopping our task while we're shutting down.
4706
4707         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4708         (gst_bin_remove_func), (gst_bin_get_state_func),
4709         (gst_bin_recalc_state), (gst_bin_change_state_func),
4710         (bin_bus_handler):
4711         * gst/gstbin.h:
4712         * gst/gstelement.c: (gst_element_init),
4713         (gst_element_get_state_func), (gst_element_abort_state),
4714         (gst_element_commit_state), (gst_element_lost_state),
4715         (gst_element_set_state), (gst_element_change_state),
4716         (gst_element_change_state_func):
4717         * gst/gstelement.h:
4718         New state change algorithm (see #318116)
4719
4720         * gst/gstpipeline.c: (gst_pipeline_class_init),
4721         (gst_pipeline_init), (gst_pipeline_set_property),
4722         (gst_pipeline_get_property), (do_pipeline_seek),
4723         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4724         * gst/gstpipeline.h:
4725         Remove crude state change hacks.
4726
4727         * gst/gstutils.h:
4728         Remove crude hacks.
4729
4730         * tools/gst-launch.c: (main):
4731         Fixes for state change. Needs some more work to fully use the
4732         new stuff.
4733
4734 2005-10-10  Andy Wingo  <wingo@pobox.com>
4735
4736         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4737
4738         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4739         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4740         issue.
4741
4742 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4743
4744         * gst/gstiterator.c: (gst_iterator_new):
4745           Fix my previous commit: GTypes passed to gst_iterator_new()
4746           can be fundamental types.
4747
4748 2005-10-10  Wim Taymans  <wim@fluendo.com>
4749
4750         * gst/gstelement.c: (gst_element_iterate_pad_list),
4751         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4752         (gst_element_iterate_sink_pads):
4753         Use src/sink pads lists for the respective iterators instead
4754         of filtering.
4755
4756 2005-10-10  Andy Wingo  <wingo@pobox.com>
4757
4758         Merged in popt removal + GOption addition patch from Ronald, bug
4759         #169772.
4760
4761         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4762         GstElement macros around, remove popt-related symbols, add goption
4763         stuff.
4764
4765         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4766         
4767         * docs/gst/Makefile.am:
4768         * docs/libs/Makefile.am: No POPT_CFLAGS.
4769         
4770         * examples/manual/Makefile.am:
4771         * docs/manual/basics-init.xml: Doc updates with an example.
4772         
4773         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4774         (gst_init), (parse_one_option), (parse_goption_arg):
4775         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4776         bit of hand merging and debugging to get the GOption stuff working
4777         tho.
4778         
4779         * tests/Makefile.am:
4780         * tools/Makefile.am:
4781         * tools/gst-inspect.c: (main):
4782         * tools/gst-launch.c: (main):
4783         * tools/gst-run.c: (main):
4784         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4785
4786 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4787
4788         * gst/gstiterator.c: (gst_iterator_new):
4789           Add assertions to make sure passed GType is likely to really
4790           be a GType (as the compiler won't catch it if the size and
4791           GType arguments get mixed up, see #318447).
4792
4793 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4794
4795         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4796
4797         * gst/gstbin.c: (gst_bin_iterate_sorted):
4798           Pass GType and size arguments to gst_iterator_new() in the right
4799           order (maybe we should make _new() take the GType as first argument
4800           just like _new_list()?) (#318447).
4801           
4802
4803 2005-10-10  Wim Taymans  <wim@fluendo.com>
4804
4805         * gst/gstelement.c: (gst_element_finalize):
4806         And free the GStaticRecMutex too
4807
4808 2005-10-10  Andy Wingo  <wingo@pobox.com>
4809
4810         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4811         Allocate and free the mutex properly.
4812
4813         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4814         New macros.
4815         (GstElement): The state_lock is now recursive. Rebuild your
4816         plugins, suckers. Old macros adapted.
4817
4818         * docs/gst/gstreamer-sections.txt: Doc updates.
4819
4820         * gst/gstutils.h:
4821         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4822         (g_static_rec_cond_wait): Ported from state changes patch, while
4823         we wait on bug #317802 to be solved in a well-distributed GLib.
4824
4825         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4826         gst_element_change_state, variable name changes.
4827         (gst_element_change_state): Split out of gst_element_set_state in
4828         preparation for the state change merge. Doesn't pay attention to
4829         the 'transition' argument.
4830         (gst_element_set_state): Updates, hopefully purely cosmetic.
4831         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4832         state change patch.
4833         (gst_element_get_state_func): Renamed from get_state, cosmetic
4834         changes.
4835
4836 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4837
4838         * gst/elements/gstelements.c:
4839         * win32/GStreamer.vcproj:
4840         * win32/config.h:
4841         * win32/dirent.c: (_tseekdir):
4842         * win32/gst-inspect.vcproj:
4843         * win32/gst-launch.vcproj:
4844         * win32/gstconfig.h:
4845         * win32/gstelements.vcproj:
4846         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4847         * win32/gstreamer.def:
4848         * win32/msvc71.sln:
4849           updates for the win32 build (patch from Sebastien Moutte)
4850
4851 2005-10-10  Andy Wingo  <wingo@pobox.com>
4852
4853         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4854         gst_bin_get_state, cleaned up (but no logic changes).
4855         (bin_element_is_sink): Comment updates.
4856         (sink_iterator_filter): Remove needless cast.
4857         (gst_bin_iterate_sinks): Doc update.
4858         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4859         cleaned up (but no logic changes).
4860
4861         * check/states/sinks.c (test_src_sink): Cleanups from the state
4862         change patch.
4863         (test_livesrc_sink): Sync on the state.
4864
4865         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4866         the state change patch.
4867
4868         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4869         change patch.
4870
4871         * check/gst/gstbin.c: Merge in some style fixes and additional
4872         checks from Wim's state change patch.
4873
4874 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4875
4876         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4877         (gst_type_find_helper):
4878           Check whether we have the requested data already in our list of
4879           cached buffers before pulling a new buffer; also make the buffer
4880           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4881
4882 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4883
4884         * gst/gstcaps.c:
4885         * gst/gstevent.c:
4886           doc updates
4887         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4888           don't use long long, it's not portable.  Replacing with
4889           gint64 seems to work; let's hope no skeletons fall out of the closet.
4890
4891 2005-10-10  Andy Wingo  <wingo@pobox.com>
4892
4893         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4894
4895 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4896
4897         * docs/gst/gstreamer-sections.txt:
4898         * gst/gstevent.c:
4899         * gst/gstevent.h:
4900         * gst/gstinfo.c:
4901         * gst/gstinfo.h:
4902         * gst/gstmessage.c: (gst_message_parse_state_changed):
4903         * gst/gstpad.c:
4904         * gst/gstpad.h:
4905           more docs, fix compilation
4906
4907 2005-10-09  Philippe Khalaf <burger@speedy.org>
4908         * gst/gstmessage.c:
4909           Fixed a few forgotten variables on previous commit
4910
4911 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4912
4913         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4914           Fix evil typefind crasher: getrange() might return a short
4915           buffer at the end of a file, but gst_type_find_peek() must
4916           either return the full data as requested or NULL, but
4917           never a short buffer.
4918
4919 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4920
4921         * gst/gstmessage.c: (gst_message_new_state_changed),
4922         (gst_message_parse_state_changed):
4923         * gst/gstmessage.h:
4924           don't use "new", it's a C++ keyword
4925
4926 2005-10-08  Wim Taymans  <wim@fluendo.com>
4927
4928         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4929         * gst/gstelement.c: (gst_element_post_message):
4930         * gst/gstpipeline.c: (gst_pipeline_change_state):
4931         Small docs and debug updates.
4932
4933 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4934
4935         * docs/gst/gstreamer-sections.txt:
4936         * gst/gstelementfactory.c:
4937         * gst/gstevent.c:
4938         * gst/gsttaglist.c:
4939           more docs
4940
4941 2005-10-08  Wim Taymans  <wim@fluendo.com>
4942
4943         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4944         (gst_bin_dispose), (bin_bus_handler):
4945         Fix typos, add comments.
4946         Clear EOS list when going to PAUSED from any direction and do it
4947         in a threadsafe way.
4948         Get base time in a threadsafe way too.
4949         Fix confusing debug in the change_state function.
4950         Various other small cleanups.
4951         
4952         * gst/gstelement.c: (gst_element_post_message):
4953         Fix very verbose bus posting code.
4954
4955         * gst/gstpipeline.c: (gst_pipeline_class_init),
4956         (gst_pipeline_set_property), (gst_pipeline_get_property),
4957         (gst_pipeline_change_state):
4958         Small ARG_ -> PROP_ cleanup
4959
4960 2005-10-08  Wim Taymans  <wim@fluendo.com>
4961
4962         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4963         Do a less CPU demanding EOS check because we can.
4964
4965 2005-10-08  Wim Taymans  <wim@fluendo.com>
4966
4967         * libs/gst/dataprotocol/dataprotocol.c:
4968         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4969         (gst_dp_packet_from_event):
4970         * libs/gst/dataprotocol/dataprotocol.h:
4971         * libs/gst/dataprotocol/dp-private.h:
4972         It's about time we bump the version number.
4973         Since event types don't fit in the guint8 anymore describing
4974         the payload type, make payload type 16 bits wide.
4975
4976 2005-10-08  Wim Taymans  <wim@fluendo.com>
4977
4978         * docs/design/part-TODO.txt:
4979         * docs/design/part-clocks.txt:
4980         * docs/design/part-events.txt:
4981         * docs/design/part-gstbin.txt:
4982         * docs/design/part-gstelement.txt:
4983         * docs/design/part-gstpipeline.txt:
4984         * docs/design/part-live-source.txt:
4985         * docs/design/part-messages.txt:
4986         * docs/design/part-overview.txt:
4987         * docs/design/part-states.txt:
4988         Many doc updates.
4989
4990 2005-10-08  Wim Taymans  <wim@fluendo.com>
4991
4992         * gst/gstevent.c:
4993         * gst/gstevent.h:
4994         Fix event quark registration.
4995         Add some space between events so we can insert them in the
4996         right groups.
4997
4998 2005-10-08  Wim Taymans  <wim@fluendo.com>
4999
5000         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5001         (gst_base_sink_handle_buffer):
5002         Better log message.
5003
5004         * gst/gstbus.h:
5005         * gst/gstelement.h:
5006         More docs.
5007
5008         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5009         (gst_queue_set_property), (gst_queue_get_property):
5010         * gst/gstqueue.h:
5011         Remove old unused properties.
5012
5013 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5014         * docs/gst/gstreamer-sections.txt:
5015         * gst/gstmessage.c:
5016         * gst/gstmessage.h:
5017         * gst/gstminiobject.c:
5018         * gst/gstminiobject.h:
5019         * gst/gstobject.h:
5020         * gst/gstpad.h:
5021         * gst/gstutils.h:
5022           lots of new docs and doc fixes
5023
5024 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5025
5026         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5027         * gst/gstplugin.h:
5028         * gst/gstregistry.c: (gst_registry_lookup_locked),
5029         (gst_registry_scan_path_level):
5030         * gst/gstregistryxml.c: (load_plugin):
5031           Only ever load one plugin for a given plugin basename.
5032           This ensures correct overriding of GST_PLUGIN_PATH over
5033           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5034           system installed plugins.
5035
5036 2005-10-08  Wim Taymans  <wim@fluendo.com>
5037
5038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5039         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5040         Prepare for doing QOS.
5041
5042 2005-10-08  Wim Taymans  <wim@fluendo.com>
5043
5044         * check/gst/gstbin.c: (GST_START_TEST):
5045         * check/pipelines/cleanup.c: (GST_START_TEST):
5046         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5047         Allow new clock message too.
5048
5049 2005-10-08  Wim Taymans  <wim@fluendo.com>
5050
5051         * gst/gstmessage.c: (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_clock_lost), (gst_message_new_new_clock),
5055         (gst_message_new_segment_start), (gst_message_new_segment_done),
5056         (gst_message_parse_state_changed),
5057         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5058         (gst_message_parse_new_clock):
5059         * gst/gstmessage.h:
5060         Also carry the clock in question.
5061
5062 2005-10-08  Wim Taymans  <wim@fluendo.com>
5063
5064         * gst/gstmessage.c: (gst_message_new_custom),
5065         (gst_message_new_eos), (gst_message_new_error),
5066         (gst_message_new_warning), (gst_message_new_tag),
5067         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5068         (gst_message_new_new_clock), (gst_message_new_segment_start),
5069         (gst_message_new_segment_done), (gst_message_parse_state_changed),
5070         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5071         * gst/gstmessage.h:
5072         Clean up.
5073         Added clock related messages.
5074
5075         * gst/gstpipeline.c: (gst_pipeline_change_state):
5076         Post message when the clock changed.
5077
5078         * tools/gst-launch.c: (event_loop):
5079         Print new clock.
5080
5081 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5082
5083         * tools/gst-inspect.c: (print_element_properties_info):
5084           Can't pass NULL strings to g_print() on windows.
5085
5086 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5087
5088         * docs/Makefile.am:
5089         * docs/gst/Makefile.am:
5090         * docs/gst/gstreamer-docs.sgml:
5091         * docs/gst/running.xml:
5092         * docs/version.entities.in:
5093           add a chapter on running GStreamer.
5094           document GST_DEBUG and GST_PLUGIN* env vars
5095
5096 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5097
5098         * Makefile.am:
5099           remove include dir
5100         * configure.ac:
5101           remove PLUGINS_BUILDDIR stuff
5102         * gst/gst.c: (init_post):
5103           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5104         * idiottest.mak:
5105           remove, it was condescending and not needed
5106
5107 2005-10-08  Wim Taymans  <wim@fluendo.com>
5108
5109         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5110         (gst_base_sink_handle_object), (gst_base_sink_event),
5111         (gst_base_sink_wait), (gst_base_sink_handle_event),
5112         (gst_base_sink_change_state):
5113         * gst/base/gstbasesink.h:
5114         Repost EOS message while going to PLAYING if still EOS.
5115         Make sure that when receiving a FLUSH_START we don't attempt
5116         to sync on the clock anymore.
5117
5118 2005-10-08  Wim Taymans  <wim@fluendo.com>
5119
5120         * tools/gst-launch.c: (event_loop):
5121         Better message printout.
5122
5123 2005-10-08  Wim Taymans  <wim@fluendo.com>
5124
5125         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5126         (gst_bin_child_proxy_get_children_count):
5127         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5128         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5129         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5130         (gst_child_proxy_set_valist):
5131         * gst/parse/grammar.y:
5132         Make ChildProxy threadsafe and fix mem leaks.
5133
5134 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5135
5136         * gst/gst.c: (init_post):
5137           debug the GST_PLUGIN_ env vars
5138
5139 2005-10-08  Wim Taymans  <wim@fluendo.com>
5140
5141         * check/gst/gstbin.c: (GST_START_TEST):
5142         * check/gst/gstmessage.c: (GST_START_TEST):
5143         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5144         * gst/gstelement.c: (gst_element_commit_state),
5145         (gst_element_lost_state):
5146         * gst/gstmessage.c: (gst_message_new_state_changed),
5147         (gst_message_parse_state_changed):
5148         * gst/gstmessage.h:
5149         * tools/gst-launch.c: (event_loop):
5150         Added extra field to STATE_CHANGE message with the pending
5151         state, which will be different from the new state soon.
5152
5153 2005-10-08  Wim Taymans  <wim@fluendo.com>
5154
5155         * gst/gstbus.c: (gst_bus_pop):
5156         * gst/gstclock.c:
5157         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5158         Small cleanups and doc updates.
5159
5160 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5161
5162         * gst/gst.c: (init_pre):
5163         * gst/gstbin.c: (gst_bin_add_func):
5164           log distributing clocks and base time
5165         * gst/gstregistry.c: (gst_registry_add_plugin),
5166         (gst_registry_scan_path_level), (gst_registry_scan_path):
5167           clean up the debugging output a little
5168         * gst/gstutils.c: (gst_element_state_get_name):
5169           warn about a memleak (I've actually seen this be used, though
5170           it was probably a bug)
5171
5172 2005-10-07  Wim Taymans  <wim@fluendo.com>
5173
5174         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5175         (gst_base_src_init), (gst_base_src_default_newsegment),
5176         (gst_base_src_newsegment), (gst_base_src_do_seek),
5177         (gst_base_src_loop), (gst_base_src_start):
5178         * gst/base/gstbasesrc.h:
5179         Make the newsegment event customizable by subclasses.
5180
5181 2005-10-07  Wim Taymans  <wim@fluendo.com>
5182
5183         * gst/gstevent.c: (gst_event_new_buffersize),
5184         (gst_event_parse_buffersize):
5185         * gst/gstevent.h:
5186         New event for future idea.
5187
5188 2005-10-07  Andy Wingo  <wingo@pobox.com>
5189
5190         * gst/gstelement.c (gst_element_post_message): Doc update.
5191
5192         * docs/gst/gstreamer-sections.txt: Update.
5193
5194         * gst/gstmessage.c (gst_message_new_application): Made into a
5195         function like honest API calls.
5196         (gst_message_new_element): New message type.
5197
5198         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5199
5200         * check/elements/fakesrc.c (test_no_preroll): New check, checks
5201         that setting a live fakesrc to PAUSED returns NO_PREROLL both
5202         times.
5203
5204         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5205         NO_PREROLL from gst_element_change_state to fall through.
5206
5207 2005-10-07  Wim Taymans  <wim@fluendo.com>
5208
5209         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5210         (gst_ghost_pad_do_activate_push):
5211         Activating a ghostpad with no internal pad in push mode
5212         is ok.
5213
5214 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5215
5216         * gst/gstobject.h:
5217           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5218           Fixes compilation on Windows.
5219
5220 2005-10-07  Michael Smith <msmith@fluendo.com>
5221
5222         * tools/gst-inspect.c:
5223           Print out feature and plugin count at the end when printing out
5224           all features.
5225
5226 2005-10-04  Michael Smith <msmith@fluendo.com>
5227
5228         * gst/gsterror.c: (_gst_stream_errors_init):
5229           Add another error string used in a few existing plugins.
5230
5231         * gst/gstplugin.c:
5232         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5233         * tools/gst-inspect.c: (print_element_info):
5234           When a feature disappears from a plugin (and the feature exists in
5235           the cached registry file), things went horribly wrong. This isn't a
5236           complete fix, we should actually be removing the 'missing' features
5237           from the features list when we load the actual plugin. That's not
5238           yet implemented. 
5239
5240 2005-10-04  Johan Dahlin  <johan@gnome.org>
5241
5242         * check/gst/gstiterator.c: (GST_START_TEST):
5243         * gst/gstbin.c: (gst_bin_iterate_elements),
5244         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5245         * gst/gstelement.c: (gst_element_iterate_pads):
5246         * gst/gstformat.c: (gst_format_iterate_definitions):
5247         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5248         (gst_iterator_new_list), (gst_iterator_filter):
5249         * gst/gstiterator.h:
5250         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5251         Add a GType to GstIterator, update callsites and tests.
5252
5253 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5254
5255         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5256           give events a chance to be handled by event probes when the pad
5257           is not linked
5258
5259 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5260
5261         * gst/gstevent.c: (gst_event_type_get_name),
5262         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5263         * gst/gstevent.h:
5264           add string representations for event types
5265
5266 2005-10-06  Wim Taymans  <wim@fluendo.com>
5267
5268         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5269         Don't use NULL pointers.
5270
5271 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5272
5273         * gst/gst_private.h:
5274         * gst/gstbus.c:
5275         * gst/gstelement.c:
5276         * gst/gstinfo.c:
5277         * gst/gstpluginfeature.c:
5278           widen the debug category in output to fit the biggest one we have
5279           add a bus category and use it
5280           play with the colors
5281           fix up some categories
5282
5283 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5284
5285         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5286           add push activation of sink ghost pads.
5287           Andye, please verify
5288
5289 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5290
5291         * gst/gstutils.c: (gst_element_link_pads):
5292           fix a bug in the case where neither element has a pad
5293         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5294           add a test for that case
5295
5296 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5297
5298         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5299           emit have-data before checking for peers.  This allows
5300           for probe handlers to connect elements.  This helps autopluggers.
5301         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5302         (gst_pad_suite):
5303           add six checks, linked/unlinked with no/true/false probe
5304
5305 2005-10-04  Wim Taymans  <wim@fluendo.com>
5306
5307         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5308         (gst_fake_sink_event), (gst_fake_sink_preroll),
5309         (gst_fake_sink_render), (gst_fake_sink_change_state):
5310         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5311         (gst_fake_src_get_property), (gst_fake_src_create),
5312         (gst_fake_src_stop):
5313         * gst/elements/gstidentity.c: (gst_identity_stop):
5314         Protect last_message with lock.
5315
5316 2005-10-04  Edward Hervey  <edward@fluendo.com>
5317
5318         * gst/gstformat.h: 
5319         Added precision in the comments for GST_FORMAT_DEFAULT
5320
5321 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5322
5323         * tools/gst-launch.c: (main):
5324           Don't try to run erroneous pipelines.
5325
5326 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5327
5328         * gst/gstbus.c: We don't need this header.
5329
5330 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5331
5332         * configure.ac:
5333           back to development
5334
5335 === release 0.9.3 ===
5336
5337 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5338
5339         * README:
5340         * configure.ac:
5341           Releasing 0.9.3, "Unregistered"
5342
5343 2005-10-03  Andy Wingo  <wingo@pobox.com>
5344
5345         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5346         whereby calling a pad's activatepush() function can start a thread
5347         that starts to push or pull before the pad gets the FLUSHING flag
5348         unset. Hack around it by holding the stream lock until the flag is
5349         set. Need to replace this with a proper solution. Together with
5350         the ghost pad fixes, this fixes mp3 playing/tagreading.
5351
5352         * docs/design/part-gstghostpad.txt: Add a note about activation of
5353         proxy pads outside of ghost pads.
5354
5355         * gst/gstghostpad.c: Implement the ghost pad activation design.
5356
5357 2005-10-02  Andy Wingo  <wingo@pobox.com>
5358
5359         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5360         It is volatile, after all.
5361
5362         * docs/design/part-gstghostpad.txt: Flesh out activation with
5363         ghost pads.
5364
5365         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5366         GST_DEBUG_FUNCPTR.
5367
5368 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5369
5370         * configure.ac:
5371           Fix (unused) AM_CONDITIONAL tests.
5372
5373 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5374
5375         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5376
5377         * gst/gstutils.c: (gst_pad_query_convert):
5378           Add assertion that makes sure src_val is >=0, just like
5379           gst_query_new_convert() has. (#315895)
5380
5381 2005-09-30  Edward Hervey  <edward@fluendo.com>
5382
5383         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5384         Let's not iterate pads we're not interested in, it avoids getting 
5385         sky-high refcounts on sinkpad.
5386
5387 2005-09-30  Wim Taymans  <wim@fluendo.com>
5388
5389         * gst/gstelement.c: (gst_element_set_state),
5390         (gst_element_change_state):
5391         Small tweak, element in ASYNC remains ASYNC.
5392
5393 2005-09-30  Wim Taymans  <wim@fluendo.com>
5394
5395         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5396         Only error is an error.
5397
5398         * gst/gstbin.c: (gst_bin_change_state):
5399         Better debugging.
5400
5401         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5402         Also call pad_block in pad alloc.
5403
5404         * gst/gstutils.c: (gst_flow_get_name):
5405         Better debugging.
5406
5407 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5408
5409         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5410         (gst_base_src_get_range):
5411           Fix documentation typos. Add some more debug info.
5412
5413 2005-09-29  David Schleef  <ds@schleef.org>
5414
5415         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5416           more end-user friendly.
5417         * tools/gst-inspect.c: (main): Check if command-line argument is
5418           a file and attempt to load that file as a plugin.
5419
5420 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5421
5422         * check/gst/gstbin.c:
5423         * check/states/sinks.c:
5424           fix tests for the new warning
5425         * check/gst/gstpipeline.c:
5426           add a test for pipeline and bus interaction
5427         * gst/gstelement.c:
5428           elements should be NULL if they get disposed; add a warning if not
5429
5430 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5431
5432         * gst/gstobject.c:
5433           for 2.6 refcounting, make debug log more correct by printing
5434           the actual refcounts at the time of swap (Wim)
5435
5436 2005-09-29  Andy Wingo  <wingo@pobox.com>
5437
5438         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5439         removes signal watches previously added via
5440         gst_bus_add_signal_watch.
5441         (gst_bus_add_signal_watch): Don't return the source id, just store
5442         it on the bus if there wasn't an id already.
5443
5444         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5445         add_signal_watch and remove_signal_watch.
5446
5447 2005-09-29  Edward Hervey  <edward@fluendo.com>
5448
5449         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5450         Better if we actually iterate the list :)
5451
5452 2005-09-29  Wim Taymans  <wim@fluendo.com>
5453
5454         * check/gst/gstbin.c: (GST_START_TEST):
5455         Change for new bus API.
5456
5457         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5458         (send_messages), (GST_START_TEST), (gstbus_suite):
5459         Change for new bus signal API.
5460
5461         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5462         (gst_bus_source_prepare), (gst_bus_source_check),
5463         (gst_bus_create_watch), (gst_bus_add_watch_full),
5464         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5465         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5466         * gst/gstbus.h:
5467         Remove support for multiple GSources operating on different
5468         message types as it is too complex and unneeded when using
5469         signals.
5470         Added support for receiving signals from the bus.
5471
5472 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5473
5474         * docs/libs/tmpl/gstdataprotocol.sgml:
5475         * docs/manual/advanced-dataaccess.xml:
5476         * gst/elements/gstcapsfilter.c:
5477         * gst/gstutils.c:
5478           rename filter-caps to caps property
5479
5480 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5481
5482         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5483           More robust fraction string parsing.
5484
5485         * docs/pwg/appendix-porting.xml:
5486           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5487
5488 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5489
5490         * gst/gstcaps.c: (gst_caps_do_simplify):
5491           Thou shalt not free a structure and then continue using it
5492           in the next loop iteration.
5493
5494         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5495         (gst_caps_suite):
5496           Add test case for caps simplification.
5497
5498 2005-09-29  Wim Taymans  <wim@fluendo.com>
5499
5500         * check/gst/gstbin.c: (GST_START_TEST):
5501         Oops.
5502
5503 2005-09-29  Wim Taymans  <wim@fluendo.com>
5504
5505         * check/gst/gstbin.c: (GST_START_TEST):
5506         Add bus to bin.
5507
5508         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5509         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5510         (find_element), (gst_bin_sort_iterator_next),
5511         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5512         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5513         (gst_bin_change_state), (gst_bin_dispose):
5514         A bin does not have a bus, it gets the bus from the parent.
5515
5516         * gst/gstelement.c: (gst_element_requires_clock),
5517         (gst_element_provides_clock), (gst_element_is_indexable),
5518         (gst_element_is_locked_state), (gst_element_change_state),
5519         (gst_element_set_bus_func):
5520         Small cleanups.
5521
5522         * gst/gstpipeline.c: (gst_pipeline_class_init),
5523         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5524         The pipeline provides a bus.
5525
5526 2005-09-28  Johan Dahlin  <johan@gnome.org>
5527
5528         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5529         gst_structure_get_enum instead of gst_structure_get_int
5530
5531         * gst/gststructure.c (gst_structure_get_enum): Impl.
5532
5533         * gst/gststructure.h (gst_structure_get_enum): Add
5534
5535         * docs/gst/gstreamer-sections.txt: Ditto
5536
5537         * gst/gstmessage.c (gst_message_new_state_changed): Use
5538         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5539         which does introspection.
5540         Reviewed by Christian Schaller
5541
5542 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5543
5544         * gst/gstinfo.c: (gst_debug_log_default):
5545           don't do dummy g_strdup()s
5546         * libs/gst/controller/gstcontroller.c:
5547         (on_object_controlled_property_changed),
5548         (gst_controlled_property_new), (gst_controller_new_valist),
5549         (gst_controller_new_list),
5550         (gst_controller_remove_properties_valist), (gst_controller_set),
5551         (gst_controller_get), (gst_controller_sync_values),
5552         (gst_controller_get_value_array), (_gst_controller_class_init),
5553         (gst_controller_get_type):
5554         * libs/gst/controller/gstcontroller.h:
5555         * libs/gst/controller/gstinterpolation.c:
5556         (gst_controlled_property_find_timed_value_node):
5557           convert // to /**/ comments
5558
5559 2005-09-28  Wim Taymans  <wim@fluendo.com>
5560
5561         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5562         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5563         (gst_bus_sync_signal_handler):
5564         * gst/gstbus.h:
5565         Added async-message and sync-message signals to the bus.
5566         Added helper BusFunc to emit signals for all posted messages.
5567
5568         * gst/gstmessage.c: (gst_message_type_get_name),
5569         (gst_message_type_to_quark), (gst_message_get_type):
5570         * gst/gstmessage.h:
5571         Register quarks for message names.
5572
5573 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5574
5575         * docs/libs/gstreamer-libs-sections.txt:
5576         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5577         (gst_controller_new_list):
5578         * libs/gst/controller/gstcontroller.h:
5579           added another constructor for language bindings
5580
5581 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5582
5583         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5584           add another check
5585         * gst/gstbus.c:
5586           add some doc
5587         * gst/gstinfo.c: (_gst_debug_init):
5588           slightly more readable color for refcount debugging
5589
5590 2005-09-28  Wim Taymans  <wim@fluendo.com>
5591
5592         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5593         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5594         (find_element), (gst_bin_sort_iterator_next),
5595         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5596         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5597         (gst_bin_change_state), (gst_bin_dispose):
5598         Small doc fixes. get_clock -> provide_clock.
5599
5600         * gst/gstelement.c: (gst_element_class_init),
5601         (gst_element_provides_clock), (gst_element_provide_clock),
5602         (gst_element_get_clock), (gst_element_commit_state),
5603         (gst_element_lost_state):
5604         * gst/gstelement.h:
5605         Make get/set_clock() symetric. Add provide_clock vmethod since
5606         that is actually what this function does.
5607
5608         * gst/gstpipeline.c: (gst_pipeline_class_init),
5609         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5610         (gst_pipeline_get_clock):
5611         get_clock -> provide_clock.
5612
5613 2005-09-28  Andy Wingo  <wingo@pobox.com>
5614
5615         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5616         lieu of real docs...
5617
5618         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5619
5620 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5621
5622         * gst/elements/gstcapsfilter.c:
5623         * gst/elements/gstfakesink.c:
5624         * gst/elements/gstfakesrc.c:
5625         * gst/elements/gstfdsink.c:
5626         * gst/elements/gstfdsrc.c:
5627         * gst/elements/gstfilesink.c:
5628         * gst/elements/gstfilesrc.c:
5629         * gst/elements/gstidentity.c:
5630         * gst/elements/gsttee.c:
5631         * gst/elements/gsttypefindelement.c:
5632           Make element details static.
5633
5634 2005-09-28  Wim Taymans  <wim@fluendo.com>
5635
5636         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5637         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5638         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5639         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5640         (gst_bin_change_state), (gst_bin_dispose):
5641         Some documentation updates.
5642         Clean up dispose handlers.
5643
5644         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5645         * gst/gstpad.c: (gst_pad_dispose):
5646         Clean up dispose handler.
5647
5648         * gst/gstpipeline.c: (gst_pipeline_change_state):
5649         Removed spurious UNLOCK.
5650
5651 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5652
5653         * docs/gst/gstreamer-sections.txt:
5654         * gst/base/gstbasesrc.h:
5655         * gst/gstelement.h:
5656         * gst/gstevent.h:
5657         * gst/gstobject.h:
5658         * gst/gstpad.h:
5659         * gst/gstpipeline.c:
5660         * gst/gstpipeline.h:
5661         * gst/gstutils.h:
5662         * gst/gstxml.h:
5663           added two new functions to the docs
5664                 documents all undocumented GstXXXFlags
5665                 completed some incomplete docs 
5666
5667 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5668
5669         * gst/gstbin.c: (gst_bin_dispose):
5670         * gst/gstelement.c: (gst_element_dispose):
5671           remove now useless and leaky resurrection code in dispose
5672         * gst/base/gstbasesrc.c: (gst_base_src_init):
5673         * gst/gstelementfactory.c: (gst_element_factory_create):
5674         * gst/gstobject.c: (gst_object_set_parent):
5675           add some debugging
5676
5677 2005-09-27  Wim Taymans  <wim@fluendo.com>
5678
5679         * docs/design/part-TODO.txt:
5680         Update TODO.
5681
5682         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5683         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5684         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5685         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5686         (gst_bin_change_state):
5687         * gst/gstelement.h:
5688         Remove element variable, we keep element info in the iterator now.
5689
5690 2005-09-27  Andy Wingo  <wingo@pobox.com>
5691
5692         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5693         values.
5694
5695 2005-09-27  Wim Taymans  <wim@fluendo.com>
5696
5697         * check/gst/gstbin.c: (GST_START_TEST):
5698         Enable check that works now.
5699
5700         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5701         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5702         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5703         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5704         (gst_bin_change_state):
5705         * gst/gstbin.h:
5706         Redid the state change algorithm using a topological sort algo.
5707         Handles all cases correctly.
5708         Exposed iterator for state change order.
5709
5710         * gst/gstelement.h:
5711         Temp storage for state changes. Need to get rid of this soon.
5712
5713 2005-09-27  Wim Taymans  <wim@fluendo.com>
5714
5715         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5716         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5717         (link_fold_func), (gst_pad_proxy_setcaps):
5718         Leak fixes, the fold functions need to unref the passed object and
5719         _get_parent_*() returns ref to parent.
5720
5721 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5722
5723         * check/gst/gstbuffer.c: (test_make_writable):
5724           Plug leak in test case and fix 'make check-valgrind'
5725
5726 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5727
5728         * gst/gstbuffer.c: (gst_subbuffer_init):
5729           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5730           works correctly in all circumstances (we could have just copied
5731           the parent buffer's readonly flag, but conceptually it seems
5732           cleaner to mark all subbuffers as read-only). (based on patch
5733           by Alessandro Decina, #314710).
5734         
5735         * check/gst/gstbuffer.c: (create_read_only_buffer),
5736         (test_make_writable), (test_subbuffer_make_writable),
5737         (gst_test_suite):
5738           Add some tests for gst_buffer_make_writable().
5739
5740 2005-09-27  Wim Taymans  <wim@fluendo.com>
5741
5742         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5743         use gst_object_has_ancestor().
5744
5745         * gst/gstobject.c: (gst_object_has_ancestor):
5746         * gst/gstobject.h:
5747         gst_object_has_ancestor() copied from gstbin.c as it is a
5748         usefull function.
5749
5750         * tests/instantiate/create.c: (create_all_elements):
5751         * tests/lat.c: (handoff_src), (handoff_sink):
5752         * tests/sched/runxml.c: (main):
5753         * tests/seeking/seeking1.c: (main):
5754         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5755         (main):
5756         Fix compilation of some tests.
5757
5758 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5759
5760         * gst/gsterror.h:
5761           Remove comment. GST_TYPE_G_ERROR is here to stay,
5762           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5763           (#316961, #300610).
5764
5765 2005-09-26  Wim Taymans  <wim@fluendo.com>
5766
5767         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5768         Added check that shows error in state change order.
5769
5770 2005-09-26  Wim Taymans  <wim@fluendo.com>
5771
5772         * gst/gstbin.c: (gst_bin_change_state):
5773         Make state change function use 3 queues again, we were
5774         adding elements in the wrong order.
5775
5776         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5777         Some debug info,
5778
5779         * gst/gstpad.c: (gst_pad_dispose):
5780         Added some debug info first.
5781
5782 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5783
5784         * docs/design/draft-push-pull.txt:
5785         * docs/design/part-events.txt:
5786         * docs/design/part-overview.txt:
5787         * docs/design/part-scheduling.txt:
5788           Replace all _pull_region() with _pull_range()
5789           
5790 2005-09-26  Andy Wingo  <wingo@pobox.com>
5791
5792         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5793
5794         * check/gst-libs/controller.c: Update for controller api change.
5795
5796         * configure.ac: 
5797         * tests/Makefile.am:
5798         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5799         over by GLib bug 118439.
5800         
5801         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5802         routines to a function.
5803
5804         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5805
5806         * libs/gst/controller/gsthelper.c:
5807         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5808         (gst_object_sync_values): Renamed from sink_values. Ugh.
5809
5810         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5811
5812         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5813         Renamed from controller_key, as it is exported.
5814
5815         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5816
5817 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5818
5819         * gst/Makefile.am:
5820         * gst/gst.h:
5821         * gst/gstpad.h:
5822         * gst/gstpadtemplate.h:
5823         * gst/gstquery.c:
5824         * gst/gstquery.h:
5825         * gst/gstqueryutils.c:
5826         * gst/gstqueryutils.h:
5827           remove queryutils headers after moving the two used functions
5828           to gstquery.  also fixes build problem for gstsiddec
5829
5830 2005-09-26  Michael Smith <msmith@fluendo.com>
5831
5832         * tools/gst-launch.1.in:
5833         Correct documentation in manpage of debug syntax
5834
5835 2005-09-26  Wim Taymans  <wim@fluendo.com>
5836
5837         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5838         (gst_base_src_is_seekable), (gst_base_src_change_state):
5839         Some more debugging info.
5840
5841 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5842
5843         * docs/gst/gstreamer-sections.txt:
5844         * gst/base/gstbasetransform.h:
5845         * gst/gstindex.h:
5846           added more docs
5847
5848 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5849
5850         * docs/gst/.cvsignore:
5851         * docs/gst/tmpl/.cvsignore:
5852         * docs/gst/tmpl/gstpipeline.sgml:
5853         * docs/gst/tmpl/gstplugin.sgml:
5854         * gst/gstpipeline.c:
5855         * gst/gstplugin.c:
5856         * gst/gstplugin.h:
5857           inlined the last two docs files
5858           removed the tmpl directory from cvs (no more conflicts here!)
5859
5860 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5861
5862         * docs/gst/gstreamer-sections.txt:
5863         * docs/gst/tmpl/.cvsignore:
5864         * docs/gst/tmpl/gstpad.sgml:
5865         * docs/gst/tmpl/gstpadtemplate.sgml:
5866         * gst/Makefile.am:
5867         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5868         (gst_pad_finalize), (gst_pad_set_pad_template):
5869         * gst/gstpad.h:
5870         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5871         (gst_pad_template_class_init), (gst_pad_template_init),
5872         (gst_pad_template_dispose), (name_is_valid),
5873         (gst_static_pad_template_get), (gst_pad_template_new),
5874         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5875         (gst_pad_template_pad_created):
5876         * gst/gstpadtemplate.h:
5877           inlined two more docs
5878           factored gstpadtemplate out of gstpad
5879
5880 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5881
5882         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5883         (test_children_state_change_order_semi_sink):
5884           Fix test case: we can't rely on a fixed state change order when
5885           going from READY => PAUSED because the sink might commit its 
5886           new state first when the first buffer created by the source 
5887           reaches the sink before the source has finished its change state.
5888           (Test case still fails at times, see #316856, comment 5 onwards)
5889
5890 2005-09-24  Wim Taymans  <wim@fluendo.com>
5891
5892         * docs/design/part-events.txt:
5893         * docs/design/part-gstbus.txt:
5894         * docs/design/part-gstpipeline.txt:
5895         * docs/design/part-messages.txt:
5896         * docs/design/part-overview.txt:
5897         * docs/design/part-segments.txt:
5898         * gst/gstbin.c:
5899         * gst/gstbuffer.c:
5900         * gst/gstclock.c:
5901         * gst/gstelement.c:
5902         * gst/gstevent.c:
5903         * gst/gstfilter.c:
5904         * gst/gstiterator.c:
5905         Various documentation updates.
5906
5907 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5908
5909         * gst/gstclock.h:
5910           Well, that's embarassing.  Luckily we weren't using
5911           GST_CLOCK_DIFF anywhere.
5912
5913 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5914
5915         * common/gtk-doc.mak:
5916           don't fail on building XML, FC4 slave shows a bunch of doc
5917           missing bits that I don't get
5918         * gst/gstpad.c:
5919         * gst/gstpipeline.c:
5920         * gst/gststructure.c:
5921           some doc updates
5922
5923 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5924
5925         * docs/design/part-gstbin.txt:
5926         * docs/design/part-gstbus.txt:
5927         * gst/gstbus.c:
5928           Add blurb about how the bus goes into flushing mode and
5929           drops all messages when its bin goes from READY into NULL 
5930           state.
5931
5932 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5933
5934         * docs/gst/gstreamer-sections.txt:
5935         * gst/gststructure.c: (gst_structure_get_clock_time):
5936         * gst/gststructure.h:
5937           add a method to get a GstClockTime out of a structure
5938
5939 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5940
5941         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5942         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5943           Added test to check state change order in bins (can still be made
5944           to fail here under heavy disk load; bails out with 'Push on pad
5945           fakesink:sink0, but it was not activated in push mode').
5946
5947         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5948           Fix state change order when there is only a semi sink (#316856)
5949
5950         * gst/gstbus.c: (gst_bus_class_init):
5951           Use _class_peek_parent(), not _class_ref(); fix docs to say
5952           'default main context' instead of 'mainloop' where that is
5953           what's meant.
5954
5955         * gst/gstelement.c: (gst_element_commit_state),
5956         (gst_element_set_state):
5957           Fix typos in debug messages
5958
5959 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5960
5961         * docs/README:
5962         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5963         * gst/gstpluginfeature.c:
5964         * gst/gstutils.c:
5965           various doc updates
5966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5967           change an assert into an error until it gets fixed properly
5968
5969 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5970
5971         * docs/gst/gstreamer-sections.txt:
5972         * docs/gst/tmpl/.cvsignore:
5973         * docs/gst/tmpl/gstelement.sgml:
5974         * docs/gst/tmpl/gstinfo.sgml:
5975         * docs/gst/tmpl/gstobject.sgml:
5976         * gst/gstelement.c:
5977         * gst/gstelement.h:
5978         * gst/gstinfo.c:
5979         * gst/gstinfo.h:
5980         * gst/gstobject.c: (gst_object_class_init):
5981         * gst/gstobject.h:
5982           inlined 3 more biiiig doc files and added some missing docs on the fly
5983
5984 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5985
5986         * check/gst/.cvsignore:
5987         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5988         * gst/gstregistryxml.c: (load_plugin),
5989         (gst_registry_xml_save_plugin):
5990           put back source in registry.  add checks for find_plugin.
5991         * testsuite/states/bin.c: (assert_state), (empty_bin),
5992         (test_adding_one_element), (main):
5993         * testsuite/states/locked.c: (main):
5994           some compile/run fixes
5995
5996 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5997
5998         * check/gst/gstvalue.c: (GST_START_TEST):
5999           fix leaks in the test itself
6000
6001 2005-09-22  Wim Taymans  <wim@fluendo.com>
6002
6003         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6004         (gst_base_sink_send_event), (gst_base_sink_peer_query),
6005         (gst_base_sink_query):
6006         Prepare for more accurate position reporting and query
6007         handling.
6008
6009         * gst/gstelement.c: (gst_element_send_event),
6010         (gst_element_set_state):
6011         Add some comment.
6012
6013 2005-09-22  Wim Taymans  <wim@fluendo.com>
6014
6015         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6016         (gst_query_parse_segment):
6017         * gst/gstquery.h:
6018         More documentation.
6019         Add segment query for future use.
6020
6021 2005-09-22  Wim Taymans  <wim@fluendo.com>
6022
6023         * gst/gstbin.c: (gst_bin_add_func):
6024         Some more debug info.
6025
6026         * gst/gstelement.c: (gst_element_send_event):
6027         Simplify send_event
6028
6029         * gst/gstelement.h:
6030         Don't know how flags got broken.
6031
6032         * gst/gstquery.h:
6033         Added new query.
6034
6035 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6036
6037         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6038           Add simplistic test suite for GST_TYPE_DATE serialisation and
6039           deserialisation.
6040
6041 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6042
6043         * docs/gst/gstreamer-sections.txt:
6044         * gst/gststructure.c: (gst_structure_set_valist),
6045         (gst_structure_get_date):
6046         * gst/gststructure.h:
6047         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6048         (gst_date_copy), (gst_value_compare_date),
6049         (gst_value_serialize_date), (gst_value_deserialize_date),
6050         (gst_value_transform_date_string),
6051         (gst_value_transform_string_date), (_gst_value_initialize):
6052         * gst/gstvalue.h:
6053           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6054           bunch of utility functions along with a hack that checks that
6055           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6056           is required. Part of the grand scheme in #170777.
6057
6058 2005-09-22  Andy Wingo  <wingo@pobox.com>
6059
6060         * gst/gstconfig.h.in: Psych out gtk-doc.
6061
6062         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6063
6064         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6065
6066         * tools/gst-inspect.c (print_element_list): Plug some
6067         inconsequential leaks.
6068
6069         * gst/gstregistry.c (gst_registry_get_default): Doc.
6070
6071         * check/gst/gstplugin.c: 
6072         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6073         * gst/gstelementfactory.c (gst_element_factory_create): 
6074         * gst/gstindexfactory.c (gst_index_factory_create): Update for
6075         refcount changes.
6076
6077         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6078         (gst_plugin_feature_load): Doc, don't eat refs.
6079
6080         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6081         (gst_plugin_list_free): Doc.
6082         (gst_plugin_load_file): Doc updates.
6083
6084         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6085         accessors returning refcounted objects, return a ref.
6086
6087         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6088         accessor for caps. IDEMPOTENCE. Oh yes.
6089
6090 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
6091
6092         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6093
6094         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6095         (_gst_debug_register_funcptr):
6096           Add mutex to serialise access to the hash table with
6097           the function pointer => function name string mapping;
6098           make that hash table static scope (#316809).
6099
6100         * gst/registries/.cvsignore:
6101           Remove left-over file.
6102
6103 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6104
6105         * docs/pwg/appendix-porting.xml:
6106           And something about newsegment events and caps-on-buffers to
6107           the porting guide (feel free to improve).
6108
6109 2005-09-21  Andy Wingo  <wingo@pobox.com>
6110
6111         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6112         data and event probes on the same pad.
6113         (test_buffer_probe_once): Test that removing probes from within
6114         the probe functions works.
6115
6116 2005-09-21  Andy Wingo  <wingo@pobox.com>
6117
6118         * check/gst/gstutils.c: New file.
6119         (test_buffer_probe_n_times): A simple buffer probe test. More to
6120         come, foolios.
6121
6122         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6123         have-data::buffer, not have-data.
6124         (gst_pad_add_event_probe): Likewise for have-data::event.
6125         (gst_pad_add_data_probe): More docs. The part about 'resolving the
6126         peer' isn't quite right yet though.
6127         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
6128         (gst_pad_remove_data_probe): Change to take the guint handler_id
6129         as their arg, not the function+data, which is more glib-like.
6130
6131         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6132         the signal emission to indicate if the data is a buffer or an
6133         event.
6134         (gst_pad_get_type): Initialize buffer and event quarks.
6135         (gst_pad_class_init): have-data is now a detailed signal, yes it
6136         is.
6137
6138 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6139
6140         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6141         * gst/gstutils.c: (gst_util_set_value_from_string),
6142         (gst_util_set_object_arg):
6143           Don't put functional code in g_return_if_fail() or
6144           g_return_val_if_fail() statements, otherwise things will 
6145           break when G_DISABLE_CHECKS is defined during compilation.
6146
6147 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6148
6149         * docs/gst/tmpl/.cvsignore:
6150         * docs/gst/tmpl/gstvalue.sgml:
6151         * gst/gstvalue.c:
6152         * gst/gstvalue.h:
6153           inlied another one and added  some obvious docs
6154
6155 2005-09-21  Wim Taymans  <wim@fluendo.com>
6156
6157         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6158         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6159         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6160         (gst_fdsrc_get_property), (gst_fdsrc_create):
6161         * gst/elements/gstfdsrc.h:
6162         Properly implement fdsrc. Removed signal and timeout,
6163         better implemented somewhere else.
6164
6165 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6166
6167         * docs/gst/tmpl/.cvsignore:
6168         * docs/gst/tmpl/gstimplementsinterface.sgml:
6169         * gst/gstinterface.c:
6170           inlined more docs
6171
6172 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6173
6174         * docs/gst/gstreamer-sections.txt:
6175         * docs/gst/tmpl/.cvsignore:
6176         * docs/gst/tmpl/gstenumtypes.sgml:
6177           remove obsolete doc file
6178
6179 2005-09-21  David Schleef  <ds@schleef.org>
6180
6181         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6182         little beer, fix a little leak.
6183
6184 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6185
6186         * docs/gst/gstreamer-docs.sgml:
6187         * docs/gst/gstreamer-sections.txt:
6188         * docs/gst/tmpl/.cvsignore:
6189         * gst/Makefile.am:
6190         * gst/gst.h:
6191         * gst/gstbin.c:
6192         * gst/gstelement.h:
6193         * gst/gstindex.c: (gst_index_class_init):
6194         * gst/gstindex.h:
6195         * gst/gstindexfactory.c: (gst_index_factory_get_type),
6196         (gst_index_factory_class_init), (gst_index_factory_init),
6197         (gst_index_factory_finalize), (gst_index_factory_new),
6198         (gst_index_factory_destroy), (gst_index_factory_find),
6199         (gst_index_factory_create), (gst_index_factory_make):
6200         * gst/gstindexfactory.h:
6201         * gst/gstpluginfeature.c:
6202         * gst/gstpluginfeature.h:
6203         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6204           more docs inlined, splitted gstindex.{c,h}
6205
6206 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6207
6208         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6209           fix a leak
6210
6211 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6212
6213         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6214           Set sync to FALSE by default.
6215
6216 2005-09-20  Wim Taymans  <wim@fluendo.com>
6217
6218         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6219         (gst_base_sink_init):
6220         Make sync property settable from subclass.
6221
6222         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6223         (gst_fake_sink_change_state):
6224         Set sync to FALSE by default.
6225
6226 2005-09-20  Wim Taymans  <wim@fluendo.com>
6227
6228         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6229         * tools/gst-launch.c: (main):
6230         The timeout handler should have lower priority than the source
6231         so we don't timeout before popping a message with 0 timeout.
6232         Dump error messages after failed state change.
6233
6234 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6235
6236         * tools/gst-inspect.c: (print_element_properties_info):
6237           Fix two typos.
6238
6239 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6240
6241         * check/gst/gstevent.c:
6242         * gst/elements/gstfakesink.c:
6243         * gst/elements/gstfakesink.h:
6244           remove the sync property from fakesink.
6245           has the side effect of setting sync TRUE
6246           for fakesink, which is a change.  Anyone who knows how
6247           to fix this nicely in a GObject-y way, feel free.
6248
6249 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6250
6251         * docs/gst/gstreamer-docs.sgml:
6252           remove probe refsection
6253
6254 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6255
6256         * check/Makefile.am:
6257           disable valgrinding the controller test again
6258         * docs/gst/gstreamer-sections.txt:
6259           update for api-changes
6260
6261 2005-09-20  Wim Taymans  <wim@fluendo.com>
6262
6263         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6264         (gst_base_sink_set_property), (gst_base_sink_get_property),
6265         (gst_base_sink_do_sync):
6266         * gst/base/gstbasesink.h:
6267         Added sync property to basesink to disable clock sync.
6268
6269 2005-09-20  Andy Wingo  <wingo@pobox.com>
6270
6271         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6272         eating the caller's refcount.
6273
6274         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6275         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6276         refcount.
6277
6278         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6279         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6280         of GLib 2.8 public, so we can know which refcount to check in
6281         tests.
6282
6283         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6284         (gst_object_init): Only set the gst refcount if we're going ahead
6285         with the refcount hack.
6286
6287 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6288
6289         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6290         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6291           more leaks plumbed, added more debug-logging
6292         * gst/gstmacros.h:
6293           whitespace fix
6294
6295 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6296
6297         * gst/gstmessage.c:
6298           remove include of gstmemchunk.h
6299
6300 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6301
6302         * gst/gstclock.c: (_gst_clock_id_free):
6303           Commit from the Political Party For More Atomic CVS Commits,
6304           so that people don't waste too much of their day fishing
6305           out obvious leaks out of massive commits.
6306           Oh, and fix a pretty damn obvious leak in the memchunk
6307           removal code.
6308
6309 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6310
6311         * check/Makefile.am:
6312         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6313           plug mem-leak, re-add to valgrindable tests
6314
6315 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6316
6317         * gst/gstplugin.h:
6318           unbreak the build for those who have chronic arthritis
6319           and typing "make check" is just too taxing on the hands
6320
6321 2005-09-20  Andy Wingo  <wingo@pobox.com>
6322
6323         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6324         really want it out, you should fix plugins at the same time.
6325
6326 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6327
6328         * configure.ac:
6329         * docs/gst/gstreamer-sections.txt:
6330         * gst/gstobject.c:
6331           added missing symbols to api docs
6332           disable ref-count hack if we have glib >= 2.8
6333
6334 2005-09-19  David Schleef  <ds@schleef.org>
6335
6336         * docs/gst/Makefile.am: Ignore a few more internal headers
6337         * docs/gst/gstreamer-docs.sgml: Remove old sections
6338         * docs/gst/gstreamer-sections.txt: Remove old sections
6339         * docs/gst/tmpl/gstobject.sgml: update
6340         * docs/gst/tmpl/gstplugin.sgml: update
6341         * docs/gst/tmpl/gstpluginfeature.sgml: update
6342         * docs/random/ds/0.9-suggested-changes: update.
6343         * gst/Makefile.am: remove memchunk and trashstack, since they're
6344           not used.
6345         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6346         * gst/gst.h: don't include some headers
6347         * gst/gstchildproxy.c: add gstmarshal.h
6348         * gst/gstclock.c: Don't use memchunks
6349         * gst/gstminiobject.c: Add some docs
6350         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6351         * gst/gstobject.h: same
6352         * gst/gstplugin.c: include gstmacros.h
6353         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6354         * gst/gstquery.c: don't use memchunks
6355         * gst/gstregistry.c: rename gst_registry_deinit()
6356         * gst/gstregistry.h: same
6357
6358 2005-09-19  David Schleef  <ds@schleef.org>
6359
6360         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6361         * docs/libs/gstreamer-libs-sections.txt:
6362         * docs/libs/tmpl/gstgetbits.sgml:
6363         * docs/libs/tmpl/gstputbits.sgml:
6364
6365 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6366
6367         * win32/gstenumtypes.c:
6368         * win32/gstenumtypes.h:
6369           Update.
6370
6371 2005-09-19  Wim Taymans  <wim@fluendo.com>
6372
6373         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6374         Automatically PAUSE and RESUME a pipeline when a flushing seek
6375         is performed.
6376
6377 2005-09-19  Andy Wingo  <wingo@pobox.com>
6378
6379         * gst/gstregistry.h: Spacing fixen.
6380
6381 2005-09-19  Wim Taymans  <wim@fluendo.com>
6382
6383         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6384         Handle state change failure more correctly.
6385
6386 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6387
6388         * check/Makefile.am:
6389         * check/pipelines/cleanup.c: (run_pipeline):
6390         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6391         (GST_START_TEST):
6392           enable cleanup again after fixing the leak
6393         * docs/README:
6394           some more info on docs
6395
6396 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6397
6398         * check/Makefile.am:
6399           re-enable tests now that leaks are plugged
6400         * check/gst/gst.c:
6401         * check/gst/gstbin.c:
6402         * check/gst/gstpipeline.c:
6403           add some more tests while fixing leaks
6404         * common/check.mak:
6405           make sure binaries are uptodate when valgrinding/gdbing
6406         * gst/gst.c:
6407         * gst/gstelementfactory.c:
6408           remove a ref too many, and add a FIXME for when we get
6409           round to disposing of classes
6410         * gst/gstplugin.c:
6411           fix the refcounting when loading a plugin from a file and
6412           the code pretends that the pointer is the same even though
6413           of course it can change
6414         * gst/gstpluginfeature.c:
6415           unref plugins marked cached (a bit confusing as a name)
6416           as the docs state should be done
6417           various doc additions to explain refcounting
6418         * gst/gstregistry.c:
6419         * gst/gstregistryxml.c:
6420           debugging
6421
6422 2005-09-19  Wim Taymans  <wim@fluendo.com>
6423
6424         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6425         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6426         (send_messages), (GST_START_TEST), (gstbus_suite):
6427         * check/gst/gstpipeline.c: (GST_START_TEST):
6428         * check/pipelines/cleanup.c: (run_pipeline):
6429         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6430         (GST_START_TEST):
6431         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6432         (gst_bus_source_check), (gst_bus_source_dispatch),
6433         (gst_bus_create_watch), (gst_bus_add_watch_full),
6434         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6435         * gst/gstbus.h:
6436         * tools/gst-launch.c: (event_loop):
6437         * tools/gst-md5sum.c: (event_loop):
6438         GstBusHandler -> GstBusFunc, return value has the same meaning as
6439         any other GSource (FALSE == remove source).
6440         _add_watch() and _add_watch_full() now take a MessageType mask to
6441         only handle specific types of messages.
6442         _poll() returns the GstMessage instead of the message type to avoid
6443         race conditions.
6444         _have_pending() takes a MessageType mask now too.
6445         Added testsuite for multiple bus watches.
6446         Fix testsuites and applications for new bus API.
6447
6448 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6449
6450         * check/Makefile.am:
6451           mark a bunch of the tests as to fix until we fix them
6452
6453 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6454
6455         * common/check.mak:
6456           use GST_PLUGIN settings for valgrind tests as well, so we're
6457           valgrinding the correct thing
6458         * gst/gst.c: (init_post):
6459           plug another leak
6460
6461 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6462
6463         * gst/gst.c: (init_post), (gst_deinit):
6464         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6465         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6466         * gst/gstindex.c: (gst_index_factory_class_init),
6467         (gst_index_factory_finalize):
6468         * gst/gstobject.c: (gst_object_dispose):
6469         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6470         (gst_plugin_load_file), (gst_plugin_desc_free):
6471         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6472         (gst_plugin_feature_finalize):
6473         * gst/gstregistry.c: (gst_registry_class_init),
6474         (gst_registry_init), (gst_registry_finalize),
6475         (gst_registry_get_default), (gst_registry_deinit):
6476         * gst/gstregistry.h:
6477         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6478           various cleanups and memleak plugging.  make valgrind is happy now.
6479
6480 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6481
6482         * common/check.mak:
6483           add a check-valgrind target
6484
6485 2005-09-18  David Schleef  <ds@schleef.org>
6486
6487         * tools/gst-inspect.c: Revert the GOption code.
6488
6489 2005-09-17  David Schleef  <ds@schleef.org>
6490
6491         * check/Makefile.am: Fix environment variables.
6492         * check/gst/gstplugin.c: Fix for API changes.
6493         * tools/gst-inspect.c: Fix for API changes.
6494         * tools/gst-xmlinspect.c: Fix for API changes.
6495         * gst/gstelementfactory.c:
6496         * gst/gstplugin.c:
6497         * gst/gstplugin.h:
6498         * gst/gstpluginfeature.c:
6499         * gst/gstpluginfeature.h:
6500         * gst/gstregistry.c:
6501         * gst/gstregistry.h:
6502         * gst/gstregistryxml.c:
6503         * gst/gsttypefind.c:
6504         * gst/gsttypefindfactory.c:
6505         * gst/indexers/gstfileindex.c:
6506         * gst/indexers/gstmemindex.c:
6507         * gst/schedulers/Makefile.am:
6508           Change registry to keep track of both plugins and features,
6509           removing the feature tracking from plugins themselves.
6510
6511 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6512
6513         * check/Makefile.am:
6514         * tools/gst-register.1.in:
6515           remove gst-register
6516
6517 2005-09-15  David Schleef  <ds@schleef.org>
6518
6519         * check/gst/gstplugin.c:
6520         * gst/gstelementfactory.c:
6521         * gst/gstplugin.c:
6522         * gst/gstpluginfeature.c:
6523         * gst/gstregistry.c:
6524           Getting tired of debugging.  Disabled all the unreffing of
6525           plugins and features, which fixes the segfaults, but of
6526           course leaks like crazy.  At least playbin works.
6527
6528 2005-09-15  David Schleef  <ds@schleef.org>
6529
6530         * check/gst/gstplugin.c: (register_check_elements),
6531         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6532         More testing
6533         * gst/elements/gsttypefindelement.c: Fix refcounting.
6534         * gst/gsttypefind.c:
6535         * gst/gsttypefindfactory.c:
6536         * gst/gsttypefindfactory.h:
6537
6538 2005-09-15  David Schleef  <ds@schleef.org>
6539
6540         * gst/gstindex.c: get refcounting correct.
6541         * gst/gstregistry.c: Handle the case where a feature/plugin is
6542           not found.
6543
6544 2005-09-15  David Schleef  <ds@schleef.org>
6545
6546         * check/Makefile.am:
6547         * check/gst/gstplugin.c: Add test
6548         * gst/gstplugin.c: Fix problems noticed by testsuite
6549         * gst/gstplugin.h:
6550         * gst/gstregistry.c: 
6551         * gst/gstregistry.h:
6552
6553 2005-09-15  David Schleef  <ds@schleef.org>
6554
6555         * gst/gstplugin.c: Implement semi-decent recounting and locking
6556           in plugins and plugin features.
6557         * gst/gstplugin.h:
6558         * gst/gstpluginfeature.c:
6559         * gst/gstpluginfeature.h:
6560         * gst/gstregistry.c:
6561
6562 2005-09-15  Michael Smith <msmith@fluendo.com>
6563
6564         * gst/gstregistry.c: (gst_registry_get_feature_list):
6565           Implement this. Makes oggdemux work; decodebin still broken.
6566
6567 2005-09-14  David Schleef  <ds@schleef.org>
6568
6569         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6570           #316076)
6571         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6572         * gst/check/Makefile.am:
6573         * libs/gst/controller/Makefile.am:
6574         * libs/gst/dataprotocol/Makefile.am:
6575
6576 2005-09-14  David Schleef  <ds@schleef.org>
6577
6578         * configure.ac: Remove getbits library.  Nothing uses it, and
6579           it should be in something like liboil if someone did want
6580           to use it.
6581         * libs/gst/Makefile.am:
6582         * libs/gst/getbits/Makefile.am:
6583         * libs/gst/getbits/gbtest.c:
6584         * libs/gst/getbits/getbits.c:
6585         * libs/gst/getbits/getbits.h:
6586         * libs/gst/getbits/gstgetbits_generic.c:
6587         * libs/gst/getbits/gstgetbits_i386.s:
6588         * libs/gst/getbits/gstgetbits_inl.h:
6589
6590 2005-09-14  David Schleef  <ds@schleef.org>
6591
6592         * gst/Makefile.am: Dist glib-compat.h
6593
6594 2005-09-14  David Schleef  <ds@schleef.org>
6595
6596         * configure.ac: Remove gst/registries, since it's no longer used.
6597         * gst/registries/Makefile.am:
6598         * gst/registries/gstlibxmlregistry.c:
6599         * gst/registries/gstlibxmlregistry.h:
6600         * gst/registries/gstxmlregistry.c:
6601         * gst/registries/gstxmlregistry.h:
6602         * gst/registries/registrytest.c:
6603
6604 2005-09-14  David Schleef  <ds@schleef.org>
6605
6606         * gst/glib-compat.h:
6607         * gst/gstregistryxml.c:
6608           Convergence is near.  Seriously.
6609
6610 2005-09-14  David Schleef  <ds@schleef.org>
6611
6612         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6613         * gst/glib-compat.h:
6614           Attempt #4 to appease the buildbots.
6615
6616 2005-09-14  David Schleef  <ds@schleef.org>
6617
6618         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6619           Attempt #3.
6620
6621 2005-09-14  David Schleef  <ds@schleef.org>
6622
6623         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6624         Attempt #2.
6625
6626 2005-09-14  David Schleef  <ds@schleef.org>
6627
6628         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6629           the new functions.
6630
6631 2005-09-14  David Schleef  <ds@schleef.org>
6632
6633         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6634         * gst/glib-compat.h: Add some functions that are in newer versions
6635           of glib than we care to require.
6636         * gst/gstregistryxml.c: Use them.
6637
6638 2005-09-14  David Schleef  <ds@schleef.org>
6639
6640         * po/POTFILES.in: remove gst-register.c
6641
6642 2005-09-14  David Schleef  <ds@schleef.org>
6643
6644         * docs/gst/gstreamer-docs.sgml:
6645         * docs/gst/gstreamer-sections.txt:
6646         * docs/gst/gstreamer.types:
6647         * docs/gst/tmpl/gstelement.sgml:
6648         * docs/gst/tmpl/gstplugin.sgml:
6649         * docs/gst/tmpl/gstpluginfeature.sgml:
6650           Documentation updates for registry changes.
6651
6652 2005-09-14  David Schleef  <ds@schleef.org>
6653
6654         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6655           because we don't require glib-2.8.
6656
6657 2005-09-14  David Schleef  <ds@schleef.org>
6658
6659         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6660           registries directory.
6661
6662 2005-09-14  David Schleef  <ds@schleef.org>
6663
6664         * check/Makefile.am:
6665         * check/generic/states.c:
6666         * gst/Makefile.am:
6667         * gst/gst.c:
6668         * gst/gst.h:
6669         * gst/gst_private.h:
6670         * gst/gstelementfactory.c:
6671         * gst/gstindex.c:
6672         * gst/gstinfo.c:
6673         * gst/gstplugin.c:
6674         * gst/gstplugin.h:
6675         * gst/gstpluginfeature.c:
6676         * gst/gstpluginfeature.h:
6677         * gst/gstregistry.c:
6678         * gst/gstregistry.h:
6679         * gst/gstregistrypool.c: remove
6680         * gst/gstregistrypool.h: remove
6681         * gst/gsttypefind.c:
6682         * gst/gsttypefindfactory.c:
6683         * gst/gsturi.c:
6684         * tools/Makefile.am:
6685         * tools/gst-compprep.c:
6686         * tools/gst-inspect.c:
6687         * tools/gst-register.c: remove
6688         * tools/gst-xmlinspect.c:
6689           Registry rewrite.  Changes registry from being a file created
6690           by a tool into a simple cache file created automatically by 
6691           libgstreamer.  Removed gst-register (because it's no longer
6692           needed).  Remove registry pools, because we only have one
6693           registry implementation (XML).  Fix up other subsystems as
6694           necessary.
6695
6696 2005-09-13  Michael Smith <msmith@fluendo.com>
6697
6698         * gst/gstconfig.h.in:
6699           Don't Use windows linking attributes for MinGW. Fixes #316157
6700
6701 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6702
6703         * gst/gstutils.c: (set_state_async_thread_func),
6704         (gst_element_set_state_async):
6705           Apparently people think it's better if this function doesn't
6706           try to set the state to whatever state was asked for on the first
6707           call to this function for any object.  Seriously.
6708
6709 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6710
6711         * check/gst/gstpipeline.c: (GST_START_TEST):
6712         * docs/gst/gstreamer-sections.txt:
6713         * gst/gstutils.c: (set_state_async_thread_func),
6714         (gst_element_set_state_async):
6715         * gst/gstutils.h:
6716           add a "gst_element_set_state_async" method that
6717           sets the state and starts a thread to make sure the state
6718           change completes as best as it can
6719
6720 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6721
6722         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6723           codify design+behaviour in testsuite after discussion
6724
6725 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6726
6727         * docs/gst/tmpl/gstelement.sgml:
6728         * docs/manual/appendix-quotes.xml:
6729           add a quote
6730         * gst/gstelement.c: (gst_element_set_state):
6731           add some debug
6732
6733 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6734
6735         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6736         (gst_base_transform_prepare_output_buf),
6737         (gst_base_transform_handle_buffer):
6738         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6739         (gst_capsfilter_prepare_buf):
6740           Remove the requirement for sub-classes to call the parent
6741           implementation of prepare_output_buffer with a wrapper function.
6742           
6743         * gst/gsttaglist.h:
6744         * gst/gsttagsetter.h:
6745           Fix #define wrapper
6746
6747 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6748
6749         * docs/gst/gstreamer-sections.txt:
6750           more doc cleanups
6751
6752 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6753
6754         * docs/gst/gstreamer-sections.txt:
6755         * docs/gst/tmpl/gstelement.sgml:
6756         * docs/gst/tmpl/gstplugin.sgml:
6757         * gst/gstminiobject.c:
6758         * gst/gstvalue.h:
6759           docs now stop throwing warnings
6760
6761 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6762
6763         * docs/gst/gstreamer-sections.txt:
6764         * docs/gst/gstreamer.types:
6765         * docs/gst/tmpl/gstpad.sgml:
6766         * docs/gst/tmpl/gsttypes.sgml:
6767         * gst/base/gstadapter.h:
6768         * gst/base/gstbasesink.h:
6769         * gst/base/gstbasesrc.h:
6770         * gst/gstbin.h:
6771         * gst/gstbuffer.h:
6772         * gst/gstbus.h:
6773         * gst/gstcaps.h:
6774         * gst/gstclock.h:
6775         * gst/gstelement.h:
6776         * gst/gstevent.h:
6777         * gst/gstmessage.h:
6778         * gst/gstpad.h:
6779         * gst/gststructure.c:
6780         * gst/registries/gstlibxmlregistry.h:
6781           various documentation fixes
6782
6783 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6784
6785         * docs/gst/gstreamer-sections.txt:
6786         * docs/gst/tmpl/gstvalue.sgml:
6787           rearrange gstvalue section
6788         * gst/gstutils.c: (gst_element_state_get_name):
6789           NONE -> VOID
6790         * gst/gstvalue.c: (_gst_value_initialize):
6791         * gst/gstvalue.h:
6792           doc updates
6793
6794 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6795
6796         * check/gst-libs/controller.c:
6797           Header include fix.
6798         * gst/base/gstbasetransform.c:
6799         (gst_base_transform_default_prepare_buf),
6800         (gst_base_transform_handle_buffer):
6801         * gst/base/gstbasetransform.h:
6802           Some more basetransform changes and fixes to enable sub-classes
6803           that modify buffer metadata only.
6804         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6805         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6806         (gst_capsfilter_prepare_buf):
6807           If the output pad has fixed allowed caps and input buffers 
6808           don't have any, set the fixed caps on outgoing buffers.
6809
6810 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6811         * check/elements/identity.c: (GST_START_TEST):
6812           Make the error a little clearer when the test fails because
6813           identity made a copy of the buffer.
6814         * docs/gst/gstreamer-sections.txt:
6815           New symbols in gstbasetransform.h
6816         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6817         (gst_base_transform_init), (gst_base_transform_transform_size),
6818         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6819         (gst_base_transform_default_prepare_buf),
6820         (gst_base_transform_get_unit_size),
6821         (gst_base_transform_buffer_alloc),
6822         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6823         (gst_base_transform_change_state),
6824         (gst_base_transform_set_passthrough),
6825         (gst_base_transform_set_in_place),
6826         (gst_base_transform_is_in_place):
6827         * gst/base/gstbasetransform.h:
6828           Change BaseTransform to separate in_place operate from same_caps
6829           output. in_place implies that the element can perform the transform
6830           on incoming buffers in-place, even if the caps on the output are
6831           different.
6832           Sub-class elements can now implement special buffer allocation
6833           methods for outgoing buffers if they wish to.
6834           Big documentation addition.
6835         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6836         * gst/elements/gstelements.c:
6837           Changes for basetransform modifications.
6838         * gst/elements/Makefile.am:
6839         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6840           Compile fix. Extra debug output.
6841
6842 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6843
6844         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6845         (gst_pad_suite):
6846           add tests for valid pad naming
6847         * gst/check/gstcheck.c: (gst_check_log_message_func),
6848         (gst_check_log_critical_func):
6849           add ASSERT_WARNING
6850           remove printing of code, it is fragile when the code contains
6851           % and the line number is enough info
6852         * gst/check/gstcheck.h:
6853         * gst/gstpad.c: (gst_pad_template_new):
6854           fix memleaks
6855
6856 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6857
6858         * configure.ac:
6859           say what CHECK flags we use
6860         * docs/libs/gstreamer-libs.types:
6861         * libs/gst/controller/Makefile.am:
6862         * libs/gst/controller/gst-controller.c:
6863         * libs/gst/controller/gst-controller.h:
6864         * libs/gst/controller/gst-helper.c:
6865         * libs/gst/controller/gst-interpolation.c:
6866         * libs/gst/controller/gstcontroller.c:
6867         * libs/gst/controller/gsthelper.c:
6868         * libs/gst/controller/gstinterpolation.c:
6869         * tools/gst-inspect.c: (print_plugin_info):
6870           we don't use dashes in header names
6871
6872 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6873
6874         * check/Makefile.am:
6875         * check/gst/.cvsignore:
6876         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6877         (gst_pipeline_suite), (main):
6878           adding a test for pipelines and state changes
6879         * gst/gstutils.c: (get_state_func):
6880           add some debugging
6881         * gstreamer.spec.in:
6882           fix up spec file
6883
6884 2005-09-08  Michael Smith <msmith@fluendo.com>
6885
6886         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6887         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6888         (gst_file_src_is_seekable), (gst_file_src_get_size),
6889         (gst_file_src_start):
6890         * gst/elements/gstfilesrc.h:
6891           Various fixes for unseekable, unmmapable, and non-normal files, so
6892           that fallback to read() rather than mmap() works.
6893         * gst/gstevent.c: (gst_event_new_newsegment):
6894           Allow newsegment events with segment_start == segment_end, as will
6895           correctly happen if you use filesrc on a zero-size file, for
6896           example.
6897
6898 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6899
6900         * gst/gstplugin.c: (gst_plugin_load_file):
6901           Call g_module_close when we don't load the module
6902
6903         * gst/registries/gstlibxmlregistry.c:
6904         (gst_xml_registry_get_property):
6905           Port leak fix from 0.8
6906
6907 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6908
6909         * docs/gst/gstreamer-docs.sgml:
6910         * docs/gst/tmpl/.cvsignore:
6911         * docs/gst/tmpl/gsttrace.sgml:
6912         * docs/gst/tmpl/gsttrashstack.sgml:
6913         * gst/Makefile.am:
6914         * gst/gst.h:
6915         * gst/gstelement.h:
6916         * gst/gstevent.h:
6917         * gst/gstmessage.c:
6918         * gst/gstmessage.h:
6919         * gst/gsttag.c:
6920         * gst/gsttag.h:
6921         * gst/gsttaginterface.c:
6922         * gst/gsttaginterface.h:
6923         * gst/gsttaglist.c:
6924         * gst/gsttaglist.h:
6925         * gst/gsttagsetter.c:
6926         * gst/gsttagsetter.h:
6927         * gst/gsttrace.c:
6928         * gst/gsttrace.h:
6929         * gst/gsttrashstack.c:
6930           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6931           inlined docs for gsttrace, gsttrashstack
6932
6933 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6934
6935         * gst/Makefile.am:
6936         * gst/elements/gstbufferstore.h:
6937         * gst/elements/gsttypefindelement.c:
6938         * gst/elements/gsttypefindelement.h:
6939         * gst/gst.h:
6940         * gst/gsttypefind.c:
6941         * gst/gsttypefind.h:
6942         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6943         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6944         (gst_type_find_factory_dispose),
6945         (gst_type_find_factory_unload_thyself),
6946         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6947         (gst_type_find_factory_get_caps),
6948         (gst_type_find_factory_get_extensions),
6949         (gst_type_find_factory_call_function):
6950         * gst/gsttypefindfactory.h:
6951         * gst/registries/gstlibxmlregistry.c:
6952         * gst/registries/gstxmlregistry.c:
6953           splitted gsttypefind into gsttypefind, gsttypefindfactory
6954
6955 2005-09-07  Andy Wingo  <wingo@pobox.com>
6956
6957         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6958         condition whereby the pad's task function is entered before the
6959         pad_mode variable was set.
6960
6961 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6962
6963         * gst/gstpad.c: (gst_pad_alloc_buffer):
6964           Catch misbehaving pad_alloc functions that don't
6965           set up caps and do it for them.
6966
6967 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6968
6969         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6970           test for pipe!=NULL
6971         * docs/gst/tmpl/.cvsignore:
6972         * docs/gst/tmpl/gstmemchunk.sgml:
6973         * docs/gst/tmpl/gstparse.sgml:
6974         * docs/gst/tmpl/gsttaglist.sgml:
6975         * docs/gst/tmpl/gsttagsetter.sgml:
6976         * docs/gst/tmpl/gsttypefind.sgml:
6977         * docs/gst/tmpl/gsttypefindfactory.sgml:
6978         * gst/gstmemchunk.c:
6979         * gst/gstparse.c:
6980         * gst/gsttag.c:
6981         * gst/gsttaginterface.c:
6982         * gst/gsttypefind.c:
6983         * gst/gsttypefind.h:
6984           inlined more docs
6985
6986 === release 0.9.2 ===
6987
6988 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6989
6990         * NEWS:
6991         * RELEASE:
6992         * configure.ac:
6993           releasing 0.9.2, "South"
6994
6995 2005-09-05  Andy Wingo  <wingo@pobox.com>
6996
6997         * gst/registries/gstxmlregistry.h:
6998         * gst/registries/gstxmlregistry.c: Um... resurrect...
6999         
7000         * gst/registries/gstxmlregistry.h:
7001         * gst/registries/gstxmlregistry.c: and update to newer API.
7002         Incidentally they should be a bit faster now that they don't have
7003         to parse the caps.
7004         
7005 2005-09-05  Andy Wingo  <wingo@pobox.com>
7006
7007         * gst/registries/gstxmlregistry.h:
7008         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7009         replaced by the libxml registry a while back
7010
7011 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7012
7013         * docs/gst/tmpl/gstplugin.sgml:
7014         * gst/elements/gstelements.c:
7015         * gst/gst.c:
7016         * gst/gstplugin.c: (gst_plugin_register_func),
7017         (gst_plugin_desc_copy), (gst_plugin_desc_free),
7018         (gst_plugin_get_source):
7019         * gst/gstplugin.h:
7020         * gst/registries/gstlibxmlregistry.c: (load_plugin),
7021         (gst_xml_registry_save_plugin):
7022         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7023         (gst_xml_registry_save_plugin):
7024         * tools/gst-inspect.c: (print_plugin_info):
7025           add a "source" plugin description field, to represent the source
7026           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
7027           will set it to PACKAGE, which is automake's idea of the name of
7028           the source project.
7029
7030 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7031
7032         * Makefile.am:
7033         * autogen.sh:
7034         * configure.ac:
7035         * docs/Makefile.am:
7036         * docs/faq/Makefile.am:
7037         * docs/gst/tmpl/gstelement.sgml:
7038         * docs/gst/tmpl/gsttypes.sgml:
7039         * docs/htmlinstall.mak:
7040         * docs/manual/Makefile.am:
7041         * docs/pwg/Makefile.am:
7042           reorganize doc build a little
7043           split out docbook and gtk-doc stuff
7044           have two separate --enable's and enable them through autogen
7045           but disable by default in configure (to be similar to other
7046           projects)
7047         * gstreamer.spec.in:
7048           clean up docs install
7049         * po/af.po:
7050         * po/az.po:
7051         * po/ca.po:
7052         * po/cs.po:
7053         * po/de.po:
7054         * po/en_GB.po:
7055         * po/fr.po:
7056         * po/it.po:
7057         * po/nb.po:
7058         * po/nl.po:
7059         * po/ru.po:
7060         * po/sq.po:
7061         * po/sr.po:
7062         * po/sv.po:
7063         * po/tr.po:
7064         * po/uk.po:
7065         * po/vi.po:
7066           translation updates
7067
7068 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7069
7070         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7071           Add comment.
7072           
7073         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7074         (gst_fake_sink_change_state):
7075           Make state change function thread-safe.
7076           
7077         * gst/gstpad.c: (gst_pad_alloc_buffer):
7078           Set offset on generic buffer allocated by fallback.
7079
7080 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
7081
7082         * docs/gst/gstreamer-sections.txt:
7083         * docs/gst/tmpl/gstelement.sgml:
7084         * gst/gstpad.c:
7085         * libs/gst/controller/gst-controller.c:
7086         (gst_controlled_property_set_interpolation_mode),
7087         (gst_controlled_property_new),
7088         (gst_controller_find_controlled_property):
7089          run the wingo-magic script against the docs
7090
7091 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7092
7093         * docs/gst/gstreamer-docs.sgml:
7094         * docs/gst/gstreamer-sections.txt:
7095         * docs/gst/tmpl/.cvsignore:
7096         * docs/gst/tmpl/gstelementdetails.sgml:
7097         * docs/gst/tmpl/gstelementfactory.sgml:
7098         * gst/gst.c:
7099         * gst/gstbus.c:
7100         * gst/gstelementfactory.c:
7101         * gst/gstelementfactory.h:
7102           merged elementdetails docs into elementfactory docs
7103           inlined both
7104
7105 2005-09-02  Andy Wingo  <wingo@pobox.com>
7106
7107         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7108         consider this enum an enum and not a flags.
7109
7110 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7111
7112         * docs/gst/gstreamer-docs.sgml:
7113         * docs/gst/tmpl/.cvsignore:
7114         * docs/gst/tmpl/gstghostpad.sgml:
7115         * docs/gst/tmpl/gstiterator.sgml:
7116         * docs/gst/tmpl/gstmacros.sgml:
7117         * docs/gst/tmpl/gstrealpad.sgml:
7118         * docs/gst/tmpl/gstregistry.sgml:
7119         * docs/gst/tmpl/gstregistrypool.sgml:
7120         * docs/gst/tmpl/gststructure.sgml:
7121         * docs/gst/tmpl/gstsystemclock.sgml:
7122         * docs/gst/tmpl/gsttrace.sgml:
7123         * gst/gstghostpad.c:
7124         * gst/gstmacros.h:
7125         * gst/gstmemchunk.c:
7126         * gst/gstmemchunk.h:
7127         * gst/gstqueue.c:
7128         * gst/gstregistry.c:
7129         * gst/gstregistrypool.c:
7130         * gst/gststructure.c:
7131         * gst/gstsystemclock.c:
7132           more docs inlined
7133
7134 2005-09-02  Andy Wingo  <wingo@pobox.com>
7135
7136         * gst/gstelement.h (GstState): Renamed from GstElementState,
7137         changed to be a normal enum instead of flags.
7138         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7139         munged to be GST_STATE_CHANGE_*.
7140         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7141         work with the new state representation.
7142         (GstStateChange): New enumeration of possible state transitions.
7143         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7144         (GstElementClass::change_state): Pass the GstStateChange along as
7145         an argument. Helps language bindings, so they don't have to use
7146         tricky lock-needing macros like GST_STATE_CHANGE ().
7147
7148         * scripts/update-states (file): New script. Run it on a file to
7149         update it for state naming and API changes. Updates files in
7150         place.
7151
7152         * All files updated for the new API.
7153
7154 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7155
7156         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7157         * gst/gstutils.c: (gst_util_set_value_from_string),
7158         (gst_util_set_object_arg):
7159           fix a bunch of unchecked return values
7160         * tools/gst-complete.c: (main):
7161         * gstreamer.spec.in:
7162           clean up a little
7163
7164 2005-09-01  Wim Taymans  <wim@fluendo.com>
7165
7166         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7167         (gst_base_sink_event), (gst_base_sink_do_sync),
7168         (gst_base_sink_handle_event):
7169         * gst/base/gstbasesink.h:
7170         Handle newsegments more correctly.
7171
7172         * gst/gstbus.c:
7173         Fix docs.
7174
7175         * gst/gstevent.c: (gst_event_new_newsegment):
7176         A newsegment cannot have a start_time of -1
7177
7178 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7179
7180         * win32/gstenumtypes.c:
7181         * win32/gstenumtypes.h:
7182           Update
7183
7184 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7185
7186         * libs/gst/controller/gst-controller.c:
7187         (gst_controlled_property_set_interpolation_mode),
7188         (gst_controlled_property_new):
7189          fixed boolean again
7190
7191 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
7192
7193         * docs/faq/gst-uninstalled:
7194           add -good
7195         * gst/gstevent.c:
7196         * gst/gstevent.h:
7197           remove wrong docs
7198         * gst/gstutils.c: (gst_element_link_filtered):
7199         * gst/gstutils.h:
7200           add gst_element_link_filtered
7201
7202 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7203
7204         * docs/gst/gstreamer-docs.sgml:
7205         * docs/gst/gstreamer-sections.txt:
7206         * docs/gst/tmpl/.cvsignore:
7207         * docs/gst/tmpl/gsterror.sgml:
7208         * docs/gst/tmpl/gstfilter.sgml:
7209         * docs/gst/tmpl/gsturihandler.sgml:
7210         * docs/gst/tmpl/gsturitype.sgml:
7211         * docs/gst/tmpl/gstutils.sgml:
7212         * docs/gst/tmpl/gstxml.sgml:
7213         * gst/gsterror.c:
7214         * gst/gsterror.h:
7215         * gst/gstfilter.c:
7216         * gst/gsturi.c:
7217         * gst/gsturitype.c:
7218         * gst/gstutils.c:
7219         * gst/gstxml.c:
7220           inlined more docs, fixed double id-ref
7221
7222 2005-08-31  Wim Taymans  <wim@fluendo.com>
7223
7224         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7225         (gst_base_transform_handle_buffer):
7226         Passthrough elements don't need the caps as they don't care.
7227
7228 2005-08-31  Wim Taymans  <wim@fluendo.com>
7229
7230         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7231         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7232         Don't leak refcounts on buffers.
7233
7234 2005-08-31  Wim Taymans  <wim@fluendo.com>
7235
7236         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7237         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7238         (gst_base_transform_chain), (gst_base_transform_change_state):
7239         * gst/base/gstbasetransform.h:
7240         Handle the case where we are not negotiated more gracefully.
7241
7242 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7243
7244         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7245         (gst_file_src_map_region):
7246           Set READONLY flag on mmap'ed buffers, otherwise
7247           gst_buffer_make_writable() won't work properly (#314708).
7248
7249 2005-08-31  Wim Taymans  <wim@fluendo.com>
7250
7251         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7252         passthrough elements can even do inplace on non writable
7253         buffers (as they don't touch them).
7254
7255 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7256
7257         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7258         (gst_test_mono_source_set_property),
7259         (gst_test_mono_source_class_init), (GST_START_TEST),
7260         (gst_controller_suite):
7261           more tests (hehe I have the most)
7262         * gst/gstbus.c:
7263           describe popping messages whenusing mulltiple sources
7264         * libs/gst/controller/gst-controller.c:
7265         (gst_controlled_property_set_interpolation_mode),
7266         (gst_controlled_property_new):
7267         * libs/gst/controller/gst-controller.h:
7268         * libs/gst/controller/gst-interpolation.c:
7269           implement boolean properties
7270
7271 2005-08-31  Wim Taymans  <wim@fluendo.com>
7272
7273         * gst/gstminiobject.c: (gst_mini_object_ref):
7274         Cannot assert that the refcount has to be positive
7275         since a disposed object can be resurrected.
7276
7277 2005-08-31  Wim Taymans  <wim@fluendo.com>
7278
7279         * gst/gstpad.c: (gst_pad_init):
7280         Revert change, need to first fix badly behaving 
7281         apps.
7282
7283 2005-08-30  Wim Taymans  <wim@fluendo.com>
7284
7285         * check/elements/fakesrc.c: (setup_fakesrc):
7286         * check/elements/identity.c: (setup_identity):
7287         Activate pads before using them.
7288
7289 2005-08-30  Wim Taymans  <wim@fluendo.com>
7290
7291         * gst/base/gstadapter.c: (gst_adapter_flush):
7292         Flushing out 0 bytes is ok for this function.
7293
7294         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7295         no newsegment gives a warning and sets the start/stop to 
7296         invalid.
7297
7298         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7299         (gst_base_transform_set_passthrough):
7300         Some debug info.
7301
7302         * gst/gstminiobject.c: (gst_mini_object_ref):
7303         Check refcount here too.
7304
7305         * gst/gstpad.c: (gst_pad_init):
7306         Pads are initially flushing and refusing data.
7307
7308         * gst/gstutils.c: (gst_element_link_pads_filtered):
7309         When adding a capsfilter element make sure it has the
7310         same state as the parent bin.
7311
7312 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7313
7314         * docs/gst/tmpl/.cvsignore:
7315         * docs/gst/tmpl/gstformat.sgml:
7316         * docs/gst/tmpl/gstversion.sgml:
7317         * gst/gstbus.h:
7318         * gst/gstformat.c:
7319         * gst/gstformat.h:
7320         * gst/gstversion.h.in:
7321           more docs and two more inlined
7322
7323 2005-08-30  Wim Taymans  <wim@fluendo.com>
7324
7325         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7326         Don't sync to clock.
7327
7328 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7329
7330         * docs/gst/gstreamer-sections.txt:
7331           ultral33t func10ns deserve to appear in the docs actually
7332         * docs/gst/tmpl/.cvsignore:
7333         * docs/gst/tmpl/gstcompat.sgml:
7334         * docs/gst/tmpl/gstconfig.sgml:
7335         * gst/check/gstcheck.c:
7336         * gst/gstcompat.h:
7337         * gst/gstconfig.h.in:
7338           inlined more docs
7339
7340 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7341
7342         * docs/gst/tmpl/.cvsignore:
7343         * docs/gst/tmpl/gstquery.sgml:
7344         * docs/gst/tmpl/gstutils.sgml:
7345         * gst/gstquery.c:
7346         * gst/gstquery.h:
7347           inlined and extended docs
7348
7349 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7350
7351         * check/gst-libs/controller.c: (GST_START_TEST),
7352         (gst_controller_suite):
7353           more tests
7354         * docs/gst/tmpl/gstutils.sgml:
7355         * docs/libs/gstreamer-libs-sections.txt:
7356         * docs/libs/tmpl/gstdataprotocol.sgml:
7357           include path fixes
7358         * examples/controller/audio-example.c: (main):
7359           controller example works now
7360         * gst/gstclock.h:
7361           doc fixes
7362         * tools/gst-inspect.c: (print_element_properties_info):
7363           show param spec flags
7364
7365 2005-08-29  Andy Wingo  <wingo@pobox.com>
7366
7367         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7368
7369 2005-08-28  Andy Wingo  <wingo@pobox.com>
7370
7371         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7372         as having two arguments instead of just one. Allows superclasses
7373         to access information on subclasses -- see the terrible for() loop
7374         in gtype.c:g_type_create_instance for the reason why. All callers
7375         changed.
7376
7377 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7378
7379         * docs/design/part-messages.txt:
7380           update info
7381         * docs/gst/tmpl/.cvsignore:
7382         * docs/gst/tmpl/gstcaps.sgml:
7383         * docs/gst/tmpl/gstclock.sgml:
7384         * gst/gstbus.c:
7385         * gst/gstcaps.c:
7386         * gst/gstcaps.h:
7387         * gst/gstclock.c:
7388         * gst/gstclock.h:
7389         * gst/gstmessage.c:
7390           added descriptions for bus and message
7391           inline caps and clock docs
7392
7393 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7394
7395         * gst/gstmessage.c:
7396         * gst/gstmessage.h:
7397           doc fixes
7398
7399 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7400
7401         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7402           fix div-by-zero
7403
7404 2005-08-26  Andy Wingo  <wingo@pobox.com>
7405
7406         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7407         element_set_state's return val.
7408         (test_2_elements): Add test that's been disabled for months.
7409
7410         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7411         can-activate-pull properties.
7412
7413         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7414         can-activate-pull properties. Implement is_seekable so fakesrc can
7415         operate in pull mode.
7416
7417         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7418         properties.
7419         (gst_base_sink_activate, gst_base_sink_activate_pull)
7420         (gst_base_sink_activate_push): Make activation mode choosing work.
7421         Cleanups.
7422         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7423         is right. Make pull mode work. Post an eos before pausing in pull
7424         mode.
7425         (gst_base_sink_change_state): Pay attention to the core's
7426         change_state() return val.
7427         
7428         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7429         has-getrange properties. Cleanups.
7430         
7431         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7432         has_getrange and replace with can_activate_pull and
7433         can_activate_push.
7434
7435         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7436         locking comments. Remove has_loop, has_chain and replace with
7437         can_activate_pull and can_activate_push.
7438
7439 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7440
7441         * configure.ac:
7442         * examples/Makefile.am:
7443         * examples/metadata/Makefile.am:
7444         * examples/metadata/read-metadata.c: (message_loop),
7445         (have_pad_handler), (make_pipeline), (print_tag), (main):
7446           Add metadata reading example that loops over a list of filenames,
7447           dumping any tags found.
7448
7449         * gst/gstbus.c: (gst_bus_dispose):
7450         * gst/gstelement.c: (gst_element_dispose):
7451           Release a few potentially-held references in dispose.
7452
7453 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7454
7455         * docs/gst/tmpl/gstminiobject.sgml:
7456           do *not* add tmpl/*.sgml files to CVS!
7457
7458 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7459
7460         * libs/gst/bytestream/.cvsignore:
7461         * libs/gst/bytestream/Makefile.am:
7462         * libs/gst/bytestream/adapter.c:
7463         * libs/gst/bytestream/adapter.h:
7464         * libs/gst/bytestream/bytestream.c:
7465         * libs/gst/bytestream/bytestream.h:
7466         * libs/gst/bytestream/filepad.c:
7467         * libs/gst/bytestream/filepad.h:
7468           removing obsolete files
7469
7470 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7471
7472         * docs/gst/gstreamer-docs.sgml:
7473         * docs/libs/gstreamer-libs-docs.sgml:
7474           disabed additional index entries again, as this makes docs-gen just
7475           slow and they aren't useful yet
7476         * docs/libs/gstreamer-libs-sections.txt:
7477           little -section.txt cleanup for libs
7478
7479 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7480
7481         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7482         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7483           fix up some debugging
7484         (gst_base_transform_get_unit_size),
7485         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7486         (gst_base_transform_handle_buffer):
7487         * gst/base/gstbasetransform.h:
7488           handle and store timed NEWSEGMENT events so that subclasses that
7489           calculate time by counting samples have a segment_start time they
7490           need to add to their timestamps - see audioresample
7491
7492 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7493
7494         * gst/gstbin.h:
7495           removed ';' from the end of macro defs
7496         * docs/gst/gstreamer-docs.sgml:
7497         * docs/gst/gstreamer-sections.txt:
7498         * docs/gst/tmpl/.cvsignore:
7499         * gst/gstbus.h:
7500         * gst/gstelement.c: (gst_element_class_init),
7501         (gst_element_set_state), (activate_pads),
7502         (gst_element_save_thyself):
7503         * gst/gstevent.c: (gst_event_new_newsegment):
7504         * gst/gstevent.h:
7505         * gst/gstiterator.c:
7506         * gst/gstiterator.h:
7507         * gst/gstpad.c:
7508         * gst/gstprobe.h:
7509         * gst/gstutils.c: (gst_pad_query_convert):
7510         * gst/gstutils.h:
7511           fixed parameter name mismatches between source, header and docs
7512           added some more docs, resolved the last batch of unused elements in
7513           docs (now someone needs to doc them)
7514
7515 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7516
7517         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7518         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7519           don't walk through the plugins backwards.  Where is all this
7520           reversed logic coming from ?
7521
7522 2005-08-25  Wim Taymans  <wim@fluendo.com>
7523
7524         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7525         (gst_base_transform_transform_size),
7526         (gst_base_transform_configure_caps),
7527         (gst_base_transform_get_unit_size),
7528         (gst_base_transform_buffer_alloc),
7529         (gst_base_transform_change_state):
7530         * gst/base/gstbasetransform.h:
7531         Cache caps unit_size.
7532         Make sure we cannot negotiate up and downstream at the
7533         same time.
7534
7535 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7536
7537         * gst/gst.c: (init_pre), (init_post):
7538           register the installed plugin path after the env var
7539         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7540         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7541           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7542           directories, so the tests can prefer uninstalled over installed
7543
7544 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7545
7546         * gst/base/gstbasetransform.h:
7547           comment
7548         * gst/gstpad.c:
7549           add to docs
7550
7551 2005-08-25  Wim Taymans  <wim@fluendo.com>
7552
7553         * gst/gstbin.c: (bin_bus_handler):
7554         Be a bit more conservative about the posted message.
7555         
7556         * gst/gstbus.c: (gst_bus_post):
7557         Some cleanups, warn wrong return values.
7558
7559 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7560
7561         * check/gst/gstbin.c: (GST_START_TEST):
7562         * gst/gstbin.c: (bin_bus_handler):
7563         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7564         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7565         (gst_message_new_warning), (gst_message_new_tag),
7566         (gst_message_new_state_changed), (gst_message_new_segment_start),
7567         (gst_message_new_segment_done), (gst_message_new_custom):
7568         * gst/gstmessage.h:
7569         * tools/gst-launch.c: (event_loop):
7570         * tools/gst-md5sum.c: (event_loop):
7571           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7572
7573 2005-08-25  Wim Taymans  <wim@fluendo.com>
7574
7575         * check/generic/states.c: (GST_START_TEST):
7576         Cleanup can be done at the end.
7577
7578         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7579         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7580         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7581         Oh boy.. Thanks for finding this, Thomas. 
7582
7583 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7584
7585         * docs/gst/gstreamer.types:
7586           added missing types
7587
7588 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7589
7590         * docs/gst/gstreamer-docs.sgml:
7591         * docs/gst/gstreamer-sections.txt:
7592         * docs/gst/tmpl/.cvsignore:
7593         * gst/gstbin.c:
7594         * gst/gstiterator.c:
7595         * gst/gstutils.c:
7596         * gst/registries/gstxmlregistry.h:
7597           added missing classes and symbols (123 more to go)
7598           removed removed symbols from section file
7599           fixed many doc-comments
7600
7601 2005-08-24  Wim Taymans  <wim@fluendo.com>
7602
7603         * check/generic/states.c: (GST_START_TEST):
7604         Make sure all tasks are stopped.
7605
7606         * check/gst/gstbin.c: (GST_START_TEST):
7607         Unref after usage for proper valgrinding.
7608
7609         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7610         Really wait for the task to stop before destroying the
7611         mutex.
7612
7613         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7614         (gst_queue_src_activate_push):
7615         Small cleanups. Don't stop the task when we did not start
7616         it.
7617
7618         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7619         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7620         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7621         (gst_task_join):
7622         * gst/gsttask.h:
7623         Protect the stream lock with the object lock.
7624         Disallow setting the stream lock when running.
7625         Add cleanup_all to wait for the threadpool to finish.
7626         Remove code to autoallocate a mutex if none was provided.
7627         Add _join() to wait for a task to stop.
7628         Protect the thread pool with a global lock.
7629
7630 2005-08-24  Wim Taymans  <wim@fluendo.com>
7631
7632         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7633         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7634         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7635         * gst/base/gstbasesink.h:
7636         Handle newsegment events correctly.
7637         Drop buffers out of the segment range.
7638
7639 2005-08-22  Andy Wingo  <wingo@pobox.com>
7640
7641         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7642         macro, implements an interface and gstimplementsinterface for a
7643         new type.
7644
7645 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7646
7647         * check/Makefile.am:
7648         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7649           add a test that does a bunch of state changes on elements
7650           needs some fixing for valgrind
7651         * check/states/sinks.c: (gst_object_suite):
7652           whitespace
7653         * gst/gstcaps.h:
7654           add prototype for gst_caps_is_equal_fixed
7655         * gst/gstplugin.c:
7656         * gst/gstregistrypool.c:
7657           doc fixes
7658
7659 2005-08-24  Andy Wingo  <wingo@pobox.com>
7660
7661         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7662         convert a negative value. Doesn't make much sense. Mostly this is
7663         here to force callers to ensure -1 maps to -1.
7664
7665 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7666
7667         * docs/pwg/advanced-types.xml:
7668           Well done to Michael for catching my deliberate introduction
7669           of this spelling mistake. 
7670         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7671         * gst/gstelement.h:
7672           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7673           unlink pads before removing the element from the bin.
7674
7675 2005-08-24  Andy Wingo  <wingo@pobox.com>
7676
7677         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7678         the same thing as GST_DEBUG=*:4.
7679         (parse_debug_level, parse_debug_category): New helper parsers.
7680
7681 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7682
7683         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7684         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7685         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7686         (gst_base_transform_buffer_alloc),
7687         (gst_base_transform_handle_buffer):
7688           use gboolean return values and pointers to size so we can use the
7689           full GST_BUFFER_SIZE range (guint) for buffer sizes
7690           use GstPadDirection for transform_caps
7691         * gst/base/gstbasetransform.h:
7692           rename get_size to get_unit_size since that's what it is
7693         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7694           use GstPadDirection for transform_caps
7695         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7696         * gst/gstutils.h:
7697           cleanup and debugging
7698
7699 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7700
7701         * gst/gstelement.c: (gst_element_class_init),
7702         (gst_element_set_state), (activate_pads),
7703         (gst_element_save_thyself):
7704         * tools/gst-compprep.c: (main):
7705         * tools/gst-inspect.c: (print_element_properties_info):
7706         * tools/gst-xmlinspect.c: (print_element_properties):
7707           Fixed long standing mem-leak
7708
7709 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7710
7711         * check/gst/gstbin.c: (GST_START_TEST):
7712         * gst/gstbin.c: (bin_bus_handler):
7713         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7714         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7715         (gst_message_new_warning), (gst_message_new_tag),
7716         (gst_message_new_state_changed), (gst_message_new_segment_start),
7717         (gst_message_new_segment_done), (gst_message_new_custom):
7718         * gst/gstmessage.h:
7719         * tools/gst-launch.c: (event_loop):
7720         * tools/gst-md5sum.c: (event_loop):
7721           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7722           that applications can sensibly post custom messages with references
7723           to their own objects.
7724
7725 2005-08-24  Andy Wingo  <wingo@pobox.com>
7726
7727         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7728         already.
7729
7730 2005-08-24  Wim Taymans  <wim@fluendo.com>
7731
7732         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7733         (gst_base_transform_transform_caps),
7734         (gst_base_transform_transform_size),
7735         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7736         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7737         (gst_base_transform_handle_buffer):
7738         * gst/base/gstbasetransform.h:
7739         Many fixes and new features added by Thomas. Can now also do
7740         transforms with variable sizes and a custom fixate_caps function.
7741
7742 2005-08-24  Wim Taymans  <wim@fluendo.com>
7743
7744         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7745         Some debugging.
7746
7747         * gst/gstclock.h:
7748         Cast to ClockTime before formatting to time.
7749
7750         * gst/gstutils.h:
7751         Cleanups.
7752
7753 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7754
7755         * check/gst-libs/controller.c: (GST_START_TEST),
7756         (gst_controller_suite):
7757         * docs/gst/tmpl/gstcaps.sgml:
7758         * docs/gst/tmpl/gstghostpad.sgml:
7759         * docs/gst/tmpl/gstquery.sgml:
7760         * docs/gst/tmpl/gstutils.sgml:
7761         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7762         (gst_object_sink_values), (gst_object_get_value_arrays),
7763         (gst_object_get_value_array):
7764           gracefully handle helper method calls to objects that are not beeing
7765           controlled, added test case for that          
7766
7767 2005-08-23  Wim Taymans  <wim@fluendo.com>
7768
7769         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7770         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7771         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7772         (gst_event_parse_qos), (gst_event_new_seek),
7773         (gst_event_parse_seek):
7774         * gst/gstevent.h:
7775         Some more debugging output and doc cleanups.
7776
7777         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7778         Fix possible deadlock.
7779
7780 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7781
7782         * docs/gst/gstreamer-docs.sgml:
7783         * docs/gst/gstreamer-sections.txt:
7784         * docs/gst/gstreamer.types:
7785         * docs/gst/tmpl/.cvsignore:
7786         * gst/gstbin.h:
7787         * gst/gstbus.c:
7788         * gst/gstelement.c:
7789         * gst/gstevent.h:
7790           added 100 symbols from gstreamer-unused.txt to the right sections
7791           fixed more broken comments
7792           added GstBus to docs
7793
7794 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7795
7796         * docs/gst/gstreamer-sections.txt:
7797         * docs/gst/tmpl/.cvsignore:
7798         * docs/gst/tmpl/gstbin.sgml:
7799         * docs/gst/tmpl/gstbuffer.sgml:
7800         * gst/base/gstbasesrc.c:
7801         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7802         * gst/gstbuffer.c:
7803         * gst/gstbuffer.h:
7804         * tools/gst-launch.1.in:
7805           inlined more doc comments, added missing comments and fixed comments
7806           fixed typos
7807
7808 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7809
7810         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7811           some debugging
7812         * gst/gstcaps.h:
7813           whitespace fixes
7814         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7815           more debugging
7816         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7817         * gst/gststructure.h:
7818           add a fixate function for booleans; add a FIXME that these func
7819           names should probably be gst_structure_fixate_*
7820
7821 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7822
7823         * docs/gst/gstreamer-docs.sgml:
7824         * docs/gst/gstreamer-sections.txt:
7825         * gst/Makefile.am:
7826         * gst/gstbin.c: (gst_bin_get_type),
7827         (gst_bin_child_proxy_get_child_by_index),
7828         (gst_bin_child_proxy_get_children_count),
7829         (gst_bin_child_proxy_init):
7830         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7831         (gst_child_proxy_get_child_by_index),
7832         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7833         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7834         (gst_child_proxy_get), (gst_child_proxy_set_property),
7835         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7836         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7837         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7838         * gst/gstchildproxy.h:
7839         * gst/parse/grammar.y:
7840         * tools/gst-inspect.c: (print_interfaces),
7841         (print_element_properties_info), (print_element_info):
7842           ported gstchildproxy over from 0.8
7843           ported gst-inspect fixes and enhancements over from 0.8
7844
7845 2005-08-22  Wim Taymans  <wim@fluendo.com>
7846
7847         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7848         (gst_base_transform_handle_buffer):
7849         Also call the transform function if we have ANY caps.
7850
7851         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7852         Fix debug info.
7853
7854 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7855
7856         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7857           Don't pretend to handle seek events if the source is not seekable
7858
7859 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7860
7861         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7862           Remove extra parameter to debug output
7863
7864         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7865         (gst_base_src_do_seek), (gst_base_src_activate_push):
7866           Fix seek event handling.
7867
7868         * gst/gstpipeline.c: (gst_pipeline_change_state):
7869         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7870         (gst_queue_src_activate_push):
7871           Don't start the src pad task on FLUSH_STOP if the pad
7872           isn't linked.
7873           Debug changes.
7874
7875 2005-08-22  Wim Taymans  <wim@fluendo.com>
7876
7877         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7878         Added check for gst_static_caps_get() refcounting.
7879
7880 2005-08-22  Wim Taymans  <wim@fluendo.com>
7881
7882         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7883         Make _static_caps_get() refcounting sane.
7884         
7885         * gst/gstelement.c: (gst_element_set_state):
7886         Add g_return_val_if_fail() to protect against segfaults.
7887
7888 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7889
7890         * docs/gst/tmpl/gstevent.sgml:
7891         * gst/gstevent.c:
7892         * gst/gstevent.h:
7893           inlined remaining docs, added missing doc comments
7894
7895 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7896
7897         * check/gst/gstbin.c: (GST_START_TEST):
7898           since we don't know when preroll is done, use refcount range
7899           check for the sink
7900         * gst/check/gstcheck.h:
7901           add macro for checking refcount range
7902
7903 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7904
7905         * check/Makefile.am:
7906           clean up environment for when registry gets built versus
7907           when actual tests are run; valgrind seems to not report
7908           leaks if GST_PLUGIN_PATH is set to some specific values
7909         * check/gst/gstbin.c: (GST_START_TEST):
7910           add more refcounting checks; maybe this exposes a
7911           preroll lock bug ?
7912         * common/check.mak:
7913         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7914         * gst/check/gstcheck.h:
7915         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7916         (gst_bin_change_state):
7917         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7918           add/fix debugging/whitespace
7919
7920 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7921
7922         * check/gst/gstevent.c: (event_probe), (test_event),
7923         (GST_START_TEST):
7924          Er, don't call gst_bin_watch_for_state_change you idiot.
7925
7926 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7927
7928         * check/Makefile.am:
7929           Use CHECK_CFLAGS and CHECK_LIBS
7930         * check/gst/gstevent.c: (event_probe), (test_event),
7931         (GST_START_TEST):
7932           Don't leak events.
7933         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7934         (gst_base_src_start), (gst_base_src_stop),
7935         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7936         (gst_base_src_change_state):
7937           Sprinkle gst_base_src_stop liberally around error paths to fix
7938           problems reusing a source after failed state changes.
7939         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7940         (helper_find_suggest), (gst_type_find_helper):
7941           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7942         * gst/gstevent.h:
7943         * docs/gst/tmpl/gstevent.sgml:
7944           Migrate part of the docs from the SGML file. Wait for ensonic to
7945           tell me how I did it wrong ;)
7946         * tools/gst-typefind.c: (main):
7947           Extra robustness to state changes between files.
7948
7949 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7950
7951         * check/Makefile.am:
7952           don't valgrind the controller test - it's leaking - Stefan, HELP
7953         * gst/check/gstcheck.c: (gst_check_message_error),
7954         (gst_check_chain_func), (gst_check_setup_element),
7955         (gst_check_teardown_element), (gst_check_setup_src_pad),
7956         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7957         (gst_check_teardown_sink_pad):
7958         * gst/check/gstcheck.h:
7959           add a bunch of methods to set up elements, and src and sink pads
7960         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7961         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7962         (GST_START_TEST):
7963           use them
7964         * gst/gstmessage.c:
7965         * gst/gsttag.h:
7966           whitespace/doc fixes
7967
7968 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7969
7970         * gst/gstelement.h:
7971           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7972           be handled by the application and not always printed as well
7973
7974 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7975
7976         * check/Makefile.am:
7977           set GST_TOOLS_DIR
7978         * gst/check/gstcheck.c: (gst_check_message_error):
7979         * gst/check/gstcheck.h:
7980           add a fail_unless_equals_int
7981           add fail_unless for error messages
7982
7983 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7984
7985         * check/Makefile.am:
7986         * check/gst.supp:
7987         * common/Makefile.am:
7988         * common/check.mak:
7989         * common/gst.supp:
7990           factor out some of the common stuff so we can use it
7991
7992 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7993
7994         * check/Makefile.am:
7995         * check/gst/gstiterator.c: (GST_START_TEST):
7996         * check/gst/gstsystemclock.c: (GST_START_TEST),
7997         (gst_systemclock_suite):
7998         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7999         * gst/gstclock.c:
8000           valgrind more tests
8001
8002 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8003
8004         * check/elements/.cvsignore:
8005         * check/elements/gstfakesrc.c:
8006           rename to name of element
8007         * check/elements/identity.c: (chain_func), (event_func),
8008         (setup_identity), (cleanup_identity), (GST_START_TEST),
8009         (identity_suite), (main):
8010           add a test for identity
8011         * check/Makefile.am:
8012         * pkgconfig/Makefile.am:
8013         * pkgconfig/gstreamer-check.pc.in:
8014         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8015         * gst/check:
8016         * gst/Makefile.am:
8017         * configure.ac:
8018           move the check stuff to a library that gets installed
8019         * check/gst-libs/controller.c: (GST_START_TEST):
8020         * check/gst-libs/gdp.c:
8021         * check/gst/gst.c: (GST_START_TEST):
8022         * check/gst/gstbin.c:
8023         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8024         * check/gst/gstbus.c:
8025         * check/gst/gstcaps.c: (GST_START_TEST):
8026         * check/gst/gstelement.c:
8027         * check/gst/gstghostpad.c:
8028         * check/gst/gstiterator.c:
8029         * check/gst/gstmessage.c:
8030         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8031         * check/gst/gstobject.c:
8032         * check/gst/gstpad.c: (GST_START_TEST):
8033         * check/gst/gststructure.c: (GST_START_TEST):
8034         * check/gst/gstsystemclock.c: (GST_START_TEST),
8035         (gst_systemclock_suite):
8036         * check/gst/gsttag.c: (gst_tag_suite):
8037         * check/gst/gstvalue.c:
8038         * check/pipelines/cleanup.c:
8039         * check/pipelines/simple_launch_lines.c:
8040         * check/states/sinks.c:
8041           change include statement
8042
8043         * docs/gst/gstreamer-sections.txt:
8044         * docs/gst/tmpl/gstpad.sgml:
8045           document more pad stuff
8046         * gst/gstminiobject.c: (gst_mini_object_ref),
8047         (gst_mini_object_unref):
8048           debug refcounting
8049
8050 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
8051
8052         * docs/gst/tmpl/gst.sgml:
8053         * gst/gst.c:
8054           eliminate another tmpl file, fix spelling in the long-description
8055
8056 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8057
8058         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8059         (test_event), (timediff), (gstevents_suite):
8060           Should fix build on 64-bit arch's
8061
8062 2005-08-18  Andy Wingo  <wingo@pobox.com>
8063
8064         Make sure that when a pipeline goes to PLAYING, that data has
8065         actually hit the sink.
8066
8067         * check/states/sinks.c (test_sink): A sink that doesn't get any
8068         data shouldn't return SUCCESS for going to either PLAYING or
8069         PAUSED. Test also the return values on the way back down.
8070
8071         * gst/gstelement.c (gst_element_set_state): When changing the
8072         state of an element currently changing state asynchronously, go to
8073         lost-state after commiting the pending state. Makes future calls
8074         to get_state continue to return ASYNC.
8075
8076         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8077         ASYNC when going to PLAYING if we still don't have preroll, as can
8078         happen with live sources.
8079
8080 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8081
8082         * docs/pwg/advanced-types.xml:
8083           Hack long paragraph into 2 chunks as a workaround for buggy
8084           jadetex version in sid and breezy that loops infinitely and
8085           eats all RAM.
8086
8087 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8088
8089         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8090         (test_event), (timediff), (gstevents_suite):
8091           Provide more error margin in clock measurements to allow for 
8092           g_get_current_time inaccuracies.
8093
8094 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8095
8096         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8097         (test_event), (timediff), (gstevents_suite):
8098            Fix error message output so I might be able to tell why the
8099            test works here but fails on the build farm.
8100
8101 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8102
8103         * check/Makefile.am:
8104         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8105         (test_event), (timediff), (gstevents_suite), (main):
8106           I wrote a test!
8107
8108         * docs/design/part-seeking.txt:
8109           Spelling correction
8110
8111         * docs/gst/tmpl/gstevent.sgml:
8112         * docs/gst/tmpl/gstfakesrc.sgml:
8113           Docs updates.
8114
8115         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8116           Treat a buffer-without-newsegment the same as a receiving 
8117           a newsegment not in time format, and disable syncing to the clock
8118           with a warning.
8119
8120         * gst/gstbus.c: (gst_bus_set_sync_handler):
8121           Assert if anyone tries to replace the existing sync_handler for bus, 
8122           as only the owner should be setting it.
8123
8124         * gst/gstevent.h:
8125           Have a fixed set of custom event enums with events identified by
8126           their structure name (as in 0.8), rather than a free-for-all
8127           allowing collisions between enum values from different plugins.
8128
8129         * gst/gstpad.c: (gst_pad_class_init):
8130           Docs change.
8131           
8132         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8133           Handle out-of-band downstream events from the sending thread.
8134
8135 2005-08-17  Andy Wingo  <wingo@pobox.com>
8136
8137         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8138         play-timeout==0 to mean no timeout at all. In that case, don't
8139         bother with a get_state or a warning, just return directly, even
8140         if it's ASYNC.
8141
8142         * gst/base/gstbasetransform.c: Debug changes.
8143
8144         * gst/gstutils.h:
8145         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8146         ensure bins post state change messages. A bit of a hack but I can't
8147         think of a way to avoid it.
8148
8149         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8150
8151 2005-08-16  Andy Wingo  <wingo@pobox.com>
8152
8153         * gst/base/gstadapter.h:
8154         * gst/base/gstadapter.c (gst_adapter_take): New function, like
8155         peek() but you own the data. Not terribly efficient atm.
8156
8157 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8158
8159         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8160         (gst_element_found_tags):
8161         * gst/gstutils.h:
8162           Add two utility functions for tag handling.
8163
8164 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8165
8166         * docs/manual/advanced-dataaccess.xml:
8167         * docs/manual/basics-helloworld.xml:
8168           Fix docs to use _bin_add() before _link(), which fixes the examples
8169           with recent core versions (reported by Madhan Raj M
8170           <raj_madan@rediffmail.com>, #313199).
8171
8172 2005-08-16  Wim Taymans  <wim@fluendo.com>
8173
8174         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8175         Added subtract checks.
8176
8177         * docs/design/part-events.txt:
8178         Some more docs about newsegment
8179
8180         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8181         Fix FIXME
8182
8183         * gst/gstcaps.c: (gst_caps_to_string):
8184         Add comments, cleanups.
8185         
8186         * gst/gstelement.c: (gst_element_save_thyself):
8187         cleanups
8188         
8189         * gst/gstvalue.c: (gst_value_collect_int_range),
8190         (gst_string_unwrap), (gst_value_union_int_int_range),
8191         (gst_value_union_int_range_int_range),
8192         (gst_value_intersect_int_int_range),
8193         (gst_value_intersect_int_range_int_range),
8194         (gst_value_intersect_double_double_range),
8195         (gst_value_intersect_double_range_double_range),
8196         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8197         (gst_value_subtract_int_range_int),
8198         (gst_value_subtract_double_range_double),
8199         (gst_value_subtract_double_range_double_range),
8200         (gst_value_subtract_from_list), (gst_value_subtract_list),
8201         (gst_value_can_compare), (gst_value_compare_fraction):
8202         Cleanups, add comments, remove unneeded asserts.
8203
8204 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8205
8206         * tools/gst-launch.c: (event_loop):
8207           don't convert NULL structures to strings
8208
8209 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
8210
8211         * docs/gst/gstreamer-sections.txt:
8212           made some defines private
8213         * docs/gst/tmpl/gstconfig.sgml:
8214         * docs/gst/tmpl/gstqueue.sgml:
8215         * docs/gst/tmpl/gsttaglist.sgml:
8216         * docs/gst/tmpl/gsttypes.sgml:
8217         * docs/gst/tmpl/gstutils.sgml:
8218         * docs/pwg/appendix-porting.xml:
8219         * gst/base/gstbasesink.h:
8220         * gst/base/gstbasesrc.c:
8221         * gst/base/gstbasesrc.h:
8222         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8223         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8224         * gst/gstelement.c: (gst_element_class_init):
8225         * gst/gstpad.c: (gst_pad_class_init):
8226         * gst/gstqueue.c: (gst_queue_class_init):
8227         * gst/gstxml.c: (gst_xml_class_init):
8228           documented all undocumented signal inline
8229         * libs/gst/controller/gst-controller.h:
8230           added padding
8231
8232 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8233
8234         * docs/pwg/appendix-porting.xml:
8235           Document _set_link_function -> _set_setcaps_function.
8236
8237 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8238
8239         * check/Makefile.am:
8240           add a .check target for running the check
8241         * check/gst-libs/controller.c: (GST_START_TEST):
8242           cosmetic fixups
8243         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8244           complete checks for gstbuffer; would be nice if I could get the
8245           gcov stuff to work so I can see if I actually completed gstbuffer.c
8246         * check/gstcheck.h:
8247           add ASSERT_BUFFER_REFCOUNT
8248
8249 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8250
8251         * docs/gst/gstreamer-sections.txt:
8252         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8253         * gst/gsttag.h:
8254           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8255           spew out a warning if a tag that is already registered
8256           is re-registered, unless it is re-registered with a 
8257           different type (#308438).
8258
8259 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8260
8261         * docs/pwg/appendix-porting.xml:
8262         * docs/pwg/building-state.xml:
8263           Add some paragraphs about state changes in 0.9 to the PWG
8264           and the porting guide, in particular about the new meaning
8265           of GST_STATE_PAUSED and how to write state change functions
8266           with concurrent access by multiple threads in mind.
8267
8268 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8269
8270         * docs/gst/gstreamer-docs.sgml:
8271         * docs/libs/gstreamer-libs-docs.sgml:
8272           added deprecation and since indexes
8273         * libs/gst/controller/gst-controller.c:
8274         * libs/gst/controller/gst-helper.c:
8275           added since tags
8276
8277
8278 2005-08-11  Wim Taymans  <wim@fluendo.com>
8279
8280         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8281         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8282         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8283         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8284         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8285         (gst_ghost_pad_set_target):
8286         Actually implement (re)setting the target on a ghostpad
8287         as described in the docs.
8288
8289 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8290
8291         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8292           Check whether GST_DEBUG_NO_COLOR environment variable is
8293           set and disable coloured debug output if that is the case.
8294
8295 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8296
8297         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8298         (gst_type_find_helper):
8299           The memory returned by gst_type_find_peek() needs to
8300           stay valid until the end of a typefind function, and
8301           typefind functions may keep results from different 
8302           offsets around, so we can't just unref the buffer from
8303           the previous _peek(), but have to save all buffers 
8304           returned by _peek() until typefinding is done and only
8305           free them then.
8306
8307 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8308
8309         * docs/gst/gstreamer-sections.txt:
8310         * gst/gstutils.h:
8311           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8312
8313 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8314
8315         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8316           Fix a pretty good memleak.
8317
8318 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8319
8320         * gst/gstiterator.h:
8321           Fix wrong include and 'make distcheck'.
8322
8323 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8324
8325         * gst/gstbin.c: (bin_bus_handler):
8326           Use gst_element_post_message() instead.
8327
8328 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8329
8330         * gst/base/gstadapter.h:
8331         * gst/base/gstbasesink.h:
8332         * gst/base/gstbasesrc.h:
8333         * gst/base/gstbasetransform.h:
8334         * gst/base/gstcollectpads.h:
8335         * gst/base/gstpushsrc.h:
8336         * gst/gstiterator.h:
8337           Add padding to our base elements' class and instance structs and
8338           to GstIterator (you will need to rebuild all plugins and apps!)
8339
8340 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8341
8342         * gst/gstbin.c: (bin_bus_handler):
8343           Make default message forwarding from child->bus to bin->bus
8344           threadsafe and make it not emit warnings if the parent has no bus.
8345
8346 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8347
8348         * gst/gstelement.c: (activate_pads):
8349           On paused->ready, set pad->caps to NULL, as is the documented
8350           behaviour in this state change. Fixes playback of series of
8351           media files when visualization is enabled in Totem.
8352
8353 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8354
8355         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8356           Allow NULL as filter-caps (which means "any").
8357
8358 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8359
8360         * docs/libs/gstreamer-libs-sections.txt:
8361         * libs/gst/controller/gst-controller.c:
8362         * libs/gst/controller/gst-controller.h:
8363         * libs/gst/controller/gst-helper.c:
8364           adding more entries to the docs and fix small doc-bugs
8365
8366 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8367
8368         * docs/gst/gstreamer-docs.sgml:
8369         * docs/gst/gstreamer-sections.txt:
8370         * docs/gst/gstreamer.types:
8371         * docs/gst/tmpl/gstbasesink.sgml:
8372         * docs/gst/tmpl/gstbasesrc.sgml:
8373         * docs/gst/tmpl/gstbasetransform.sgml:
8374         * docs/gst/tmpl/gstfakesrc.sgml:
8375         * gst/base/gstcollectpads.c:
8376         * gst/base/gstcollectpads.h:
8377         * libs/gst/controller/gst-controller.c:
8378         * libs/gst/controller/gst-controller.h:
8379         * libs/gst/controller/gst-helper.c:
8380         * libs/gst/controller/gst-interpolation.c:
8381         * libs/gst/controller/lib.c:
8382           added long/short desc for controller docs
8383           added collectpads base class docs
8384           added correct includes to base-class docs
8385
8386 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8387
8388         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8389         (gst_test_mono_source_set_property),
8390         (gst_test_mono_source_class_init), (GST_START_TEST),
8391         (gst_controller_suite):
8392         * docs/gst/gstreamer-docs.sgml:
8393         * docs/gst/gstreamer-sections.txt:
8394         * docs/gst/gstreamer.types:
8395         * docs/libs/gstreamer-libs-docs.sgml:
8396         * docs/libs/gstreamer-libs-sections.txt:
8397         * gst/base/gstadapter.c:
8398         * libs/gst/controller/gst-controller.c:
8399         (gst_controlled_property_new), (gst_controlled_property_free),
8400         (gst_controller_new_valist),
8401         (gst_controller_remove_properties_valist),
8402         (gst_controller_sink_values), (_gst_controller_finalize):
8403         * libs/gst/controller/gst-controller.h:
8404         * libs/gst/controller/gst-helper.c:
8405         (gst_object_control_properties), (gst_object_uncontrol_properties),
8406         (gst_object_get_controller), (gst_object_set_controller),
8407         (gst_object_sink_values), (gst_object_get_value_arrays),
8408         (gst_object_get_value_array):
8409           more tests (and fixes) for the controller
8410           more docs for the controller
8411           integrated companies docs for the adapter 
8412
8413 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8414
8415         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8416         (GST_START_TEST), (fakesrc_suite):
8417           add tests for sizetype
8418
8419 2005-08-04  Andy Wingo  <wingo@pobox.com>
8420
8421         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8422         fixes buffer_alloc proxying among other things.
8423
8424         * gst/base/gstbasetransform.c:
8425         * gst/base/gstbasetransform.h:
8426         Revert patch to gstbasetransform from 7-28 removing
8427         delay_configure.
8428
8429         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8430         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8431         Semantics changed, should return not the size of the output buffer
8432         but the byte size of a buffer with a given caps.
8433
8434         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8435         debug object.
8436         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8437         out) are not the pad caps until setcaps finishes.
8438         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8439         not-in-place case as well. Deal with changing from in-place to
8440         not-in-place within calling pad_alloc_buffer. Still a bit
8441         concerned about the overhead here...
8442
8443 2005-08-03  Andy Wingo  <wingo@pobox.com>
8444
8445         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8446         fixating is an error.
8447
8448 2005-08-04  Edward Hervey  <edward@fluendo.com>
8449
8450         * gst/base/gstadapter.h: 
8451         Added gst_adapter_get_type() to the header
8452
8453 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8454
8455         * check/Makefile.am:
8456         * check/gst-libs/controller.c:
8457         * libs/gst/controller/gst-controller.c:
8458         (gst_controller_new_valist):
8459           added check test suite for the controller
8460         * gst/base/gstpushsrc.c:
8461           fixed a doc typo
8462
8463 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8464
8465         * docs/gst/Makefile.am:
8466         * docs/gst/gstreamer-docs.sgml:
8467         * docs/gst/gstreamer-sections.txt:
8468         * docs/gst/gstreamer.types:
8469         * docs/gst/tmpl/gstfakesrc.sgml:
8470         * gst/base/README:
8471         * gst/base/gstbasesink.c:
8472         * gst/base/gstbasesink.h:
8473         * gst/base/gstbasesrc.c:
8474         * gst/base/gstbasesrc.h:
8475         * gst/base/gstbasetransform.c:
8476         * gst/base/gstpushsrc.c:
8477         * gst/base/gstpushsrc.h:
8478           add short/long description docs to base classes
8479           add pushsrc to the docs
8480           remove consolidated doc fragments
8481
8482 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8483
8484         * configure.ac:
8485         * docs/libs/Makefile.am:
8486         * docs/libs/gstreamer-libs-docs.sgml:
8487         * docs/libs/gstreamer-libs-sections.txt:
8488         * docs/libs/gstreamer-libs.types:
8489         * examples/Makefile.am:
8490         * examples/controller/.cvsignore:
8491         * examples/controller/Makefile.am:
8492         * examples/controller/audio-example.c: (main):
8493         * libs/gst/Makefile.am:
8494         * libs/gst/controller/.cvsignore:
8495         * libs/gst/controller/Makefile.am:
8496         * libs/gst/controller/gst-controller.c:
8497         (on_object_controlled_property_changed), (gst_timed_value_compare),
8498         (gst_timed_value_find),
8499         (gst_controlled_property_set_interpolation_mode),
8500         (gst_controlled_property_new), (gst_controlled_property_free),
8501         (gst_controller_find_controlled_property),
8502         (gst_controller_new_valist), (gst_controller_new),
8503         (gst_controller_remove_properties_valist),
8504         (gst_controller_remove_properties), (gst_controller_set),
8505         (gst_controller_set_from_list), (gst_controller_unset),
8506         (gst_controller_get), (gst_controller_get_all),
8507         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8508         (gst_controller_get_value_array),
8509         (gst_controller_set_interpolation_mode),
8510         (_gst_controller_finalize), (_gst_controller_init),
8511         (_gst_controller_class_init), (gst_controller_get_type):
8512         * libs/gst/controller/gst-controller.h:
8513         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8514         (g_object_uncontrol_properties), (g_object_get_controller),
8515         (g_object_set_controller), (g_object_sink_values),
8516         (g_object_get_value_arrays), (g_object_get_value_array):
8517         * libs/gst/controller/gst-interpolation.c:
8518         (gst_controlled_property_find_timed_value_node),
8519         (interpolate_none_get), (interpolate_trigger_get),
8520         (interpolate_trigger_get_value_array):
8521         * libs/gst/controller/lib.c: (gst_controller_init):
8522         * pkgconfig/Makefile.am:
8523         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8524         * pkgconfig/gstreamer-control.pc.in:
8525         * testsuite/Makefile.am:
8526         * testsuite/controller/.cvsignore:
8527         * testsuite/controller/Makefile.am:
8528         * testsuite/controller/interpolator.c: (main):
8529           added controller code
8530           removed dparam pc files
8531
8532 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8533         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8534         (gst_collectpads_stop):
8535           Broadcast the condition when shutting down, to make sure we wake all
8536           threads up. Shut down pads on finalize, for safety.
8537
8538 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8539         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8540         (gst_base_transform_handle_buffer),
8541         (gst_base_transform_change_state):
8542           Handle PAUSED->READY->PAUSED transition after negotiation
8543           occurred already.
8544         * gst/gstmessage.c: (gst_message_init):
8545           Extra piece of debug for new messages.
8546
8547 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8548
8549         * configure.ac:
8550         * docs/gst/tmpl/gstbasesrc.sgml:
8551         * docs/gst/tmpl/gstelement.sgml:
8552         * docs/gst/tmpl/gstevent.sgml:
8553         * docs/gst/tmpl/gstfakesrc.sgml:
8554         * docs/gst/tmpl/gstformat.sgml:
8555         * docs/gst/tmpl/gstghostpad.sgml:
8556         * docs/gst/tmpl/gstpad.sgml:
8557         * docs/gst/tmpl/gstquery.sgml:
8558         * docs/gst/tmpl/gststructure.sgml:
8559         * docs/gst/tmpl/gsttaglist.sgml:
8560         * docs/gst/tmpl/gstvalue.sgml:
8561         * docs/libs/gstreamer-libs-docs.sgml:
8562         * docs/libs/gstreamer-libs-sections.txt:
8563         * docs/libs/gstreamer-libs.types:
8564         * libs/gst/Makefile.am:
8565         * libs/gst/control/.cvsignore:
8566         * libs/gst/control/Makefile.am:
8567         * libs/gst/control/control.c:
8568         * libs/gst/control/control.h:
8569         * libs/gst/control/dparam.c:
8570         * libs/gst/control/dparam.h:
8571         * libs/gst/control/dparam_smooth.c:
8572         * libs/gst/control/dparam_smooth.h:
8573         * libs/gst/control/dparamcommon.h:
8574         * libs/gst/control/dparammanager.c:
8575         * libs/gst/control/dparammanager.h:
8576         * libs/gst/control/dplinearinterp.c:
8577         * libs/gst/control/dplinearinterp.h:
8578         * libs/gst/control/unitconvert.c:
8579         * libs/gst/control/unitconvert.h:
8580         * testsuite/Makefile.am:
8581         * testsuite/dynparams/.cvsignore:
8582         * testsuite/dynparams/Makefile.am:
8583         * testsuite/dynparams/dparamstest.c:
8584         * tools/Makefile.am:
8585         * tools/gst-inspect.c: (print_element_info), (main):
8586         * tools/gst-xmlinspect.c: (print_element_info), (main):
8587           deactivate and remove dparams (libgstcontrol)
8588
8589 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8590
8591         * gst/elements/gsttypefindelement.c:
8592         (gst_type_find_element_have_type), (gst_type_find_element_init),
8593         (stop_typefinding), (gst_type_find_element_handle_event),
8594         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8595         * gst/elements/gsttypefindelement.h:
8596           Set caps on all outgoing buffers, not just the first one.
8597
8598 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8599
8600         * gst/elements/gsttypefindelement.c:
8601         (gst_type_find_element_have_type),
8602         (gst_type_find_element_check_set_buffer_caps),
8603         (gst_type_find_element_init), (stop_typefinding),
8604         (gst_type_find_element_handle_event),
8605         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8606         * gst/elements/gsttypefindelement.h:
8607           Set caps on first outgoing buffer when we've found the type.
8608
8609 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8610
8611         * docs/gst/gstreamer-docs.sgml:
8612         * docs/gst/gstreamer-sections.txt:
8613         * docs/gst/tmpl/gstscheduler.sgml:
8614         * docs/gst/tmpl/gstschedulerfactory.sgml:
8615           Remove some old cruft from docs.
8616
8617 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8618
8619         * gst/gstpad.h:
8620           Fix inline docs for GstPadLinkReturn.
8621           
8622         * gst/gststructure.c: (gst_structure_has_name):
8623         * gst/gststructure.h:
8624         * docs/gst/gstreamer-sections.txt:
8625           New API: gst_structure_has_name().
8626
8627 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8628
8629         * configure.ac:
8630           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8631           and _LARGEFILE_SOURCE in config.h as required. Do not 
8632           export those flags in our .pc files any longer (#142209).
8633
8634           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8635
8636         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8637         (gst_file_sink_do_seek), (gst_file_sink_event),
8638         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8639           Redo seek/tell calls with large file support in mind; add some
8640           debugging messages; add log message that tells us when large
8641           file support is unavailable or not enabled for some reason.
8642
8643         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8644           Add log message that tells us when large file support 
8645           is unavailable or not enabled for some reason.
8646
8647 2005-07-29  Wim Taymans  <wim@fluendo.com>
8648
8649         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8650         Added test for removing an element with ghostpad from a bin.
8651         Fixed test as current implementation does the right thing.
8652
8653         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8654         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8655         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8656         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8657         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8658         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8659         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8660         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8661         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8662         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8663         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8664         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8665         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8666         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8667         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8668         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8669         * gst/gstghostpad.h:
8670         Clean up ghostpads, remove properties for internal stuff.
8671         Make threadsafe.
8672         Fix refcounting.
8673         Prepare for switching targets, not all use cases work yet.
8674
8675 2005-07-29  Wim Taymans  <wim@fluendo.com>
8676
8677         * docs/design/part-gstghostpad.txt:
8678         Small update.
8679
8680         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8681         (gst_bin_remove_func):
8682         Unlinking pads while holding the bin LOCK is not a good
8683         idea.
8684
8685         * gst/gstpad.c: (gst_pad_class_init),
8686         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8687         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8688         No prob setting template after creating the pad.
8689
8690 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8691
8692         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8693         (gst_bus_peek), (gst_bus_source_dispatch),
8694         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8695         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8696           gst_bus_poll may be called from other threads. Handle
8697           this nicely by not making poll_data disappear off the
8698           stack once gst_bus_poll returns.
8699           gst_bus_peek now increments the refcount on the returned
8700           message.
8701
8702 2005-07-29  Wim Taymans  <wim@fluendo.com>
8703
8704         * docs/design/part-gstghostpad.txt:
8705         Overview of current GhostPad datastructures and use
8706         cases for changing the target.
8707
8708 2005-07-28  Wim Taymans  <wim@fluendo.com>
8709
8710         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8711         Added checks for hierarchy consistency whan adding linked
8712         elements to bins.
8713
8714         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8715         Added check to test element scheduling without bin/pipeline.
8716
8717         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8718         First add elements to bin, then link.
8719         
8720         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8721         (gst_bin_remove_func):
8722         Unlink pads from elements added/removed from bin to maintain
8723         hierarchy consistency.
8724
8725 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8726
8727         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8728         (gst_base_transform_handle_buffer):
8729         * gst/base/gstbasetransform.h:
8730           Remove broken delay_configure (fixes renegotiation of software
8731           scaling pipelines); remove some leftover printf()s.
8732
8733 2005-07-28  Wim Taymans  <wim@fluendo.com>
8734
8735         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8736         Added some more tests for wrong hierarchy
8737
8738         * docs/design/part-overview.txt:
8739         Some updates.
8740
8741         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8742         Cleanups.
8743
8744         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8745         (gst_element_dispose):
8746         Some more cleanups.
8747
8748         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8749         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8750         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8751         (gst_pad_set_caps), (gst_pad_send_event):
8752         Check for correct hierarchy when linking pads. Moving to
8753         strict requirement for ghostpads when linking elements in
8754         different bins.
8755
8756         * gst/gstpad.h:
8757         Clean ups. Added WRONG_HIERARCHY return value.
8758
8759 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8760
8761         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8762           Better debug if no transform is possible.
8763
8764 2005-07-27  Wim Taymans  <wim@fluendo.com>
8765
8766         * docs/random/wtay/network-transp:
8767         Some old doc I had.
8768
8769 2005-07-27  Wim Taymans  <wim@fluendo.com>
8770
8771         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8772         (gst_dp_event_from_packet):
8773         Fix serialization of seek events.
8774
8775 2005-07-27  Wim Taymans  <wim@fluendo.com>
8776
8777         * check/gst-libs/gdp.c: (GST_START_TEST):
8778         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8779         Fix compilation and fix event serialization.
8780
8781 2005-07-27  Wim Taymans  <wim@fluendo.com>
8782
8783         * CHANGES-0.9:
8784         * docs/design/part-TODO.txt:
8785         * docs/design/part-events.txt:
8786         Some docs updates
8787
8788         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8789         (gst_base_sink_event), (gst_base_sink_do_sync),
8790         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8791         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8792         (gst_base_src_do_seek), (gst_base_src_event_handler),
8793         (gst_base_src_loop):
8794         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8795         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8796         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8797         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8798         (gst_base_transform_set_passthrough),
8799         (gst_base_transform_is_passthrough):
8800         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8801         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8802         Event updates.
8803
8804         * gst/gstbuffer.h:
8805         Use faster casts.
8806
8807         * gst/gstelement.c: (gst_element_seek):
8808         * gst/gstelement.h:
8809         Update gst_element_seek.
8810
8811         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8812         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8813         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8814         (gst_event_new_eos), (gst_event_new_newsegment),
8815         (gst_event_parse_newsegment), (gst_event_new_tag),
8816         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8817         (gst_event_parse_qos), (gst_event_new_seek),
8818         (gst_event_parse_seek), (gst_event_new_navigation):
8819         * gst/gstevent.h:
8820         Make GstEvent use GstStructure. Add parsing code, make sure the
8821         API is sufficiently generic.
8822         Mark possible directions of events and serialization.
8823
8824         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8825         (_gst_message_copy), (gst_message_new_segment_start),
8826         (gst_message_new_segment_done), (gst_message_new_custom),
8827         (gst_message_parse_segment_start),
8828         (gst_message_parse_segment_done):
8829         Small cleanups.
8830
8831         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8832         (gst_pad_set_caps), (gst_pad_send_event):
8833         Update for new events. 
8834         Catch events sent in wrong directions.
8835
8836         * gst/gstqueue.c: (gst_queue_link_src),
8837         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8838         (gst_queue_handle_src_query):
8839         Event updates.
8840
8841         * gst/gsttag.c:
8842         * gst/gsttag.h:
8843         Remove event code from this file.
8844
8845         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8846         (gst_dp_event_from_packet):
8847         Event updates.
8848
8849 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8850
8851         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8852         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8853         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8854           Make debugging actually useful.
8855
8856 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8857
8858         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8859         (gst_pad_fixate_caps):
8860           Implement default fixation once again, so that gst_pad_fixate()
8861           actually does anything at all. This probably needs to be some
8862           sort of a last resort, and use profile-based fixation first, but
8863           since that doesn't exist yet, this is the best we have. Fixes
8864           visualization in Totem.
8865
8866 2005-07-22  Wim Taymans  <wim@fluendo.com>
8867
8868         * docs/design/part-events.txt:
8869         Small update.
8870
8871         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8872         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8873         (gst_base_sink_activate_pull):
8874         Some more comments.
8875
8876         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8877         (gst_fake_src_create):
8878         Fix handoff marshall.
8879
8880         * gst/elements/gstidentity.c: (gst_identity_class_init),
8881         (gst_identity_transform_ip):
8882         We're a real inplace element.
8883
8884         * gst/gstbus.c: (gst_bus_post):
8885         Added some comments.
8886
8887         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8888         * tests/muxing/case1.c: (main):
8889         * tests/sched/dynamic-pipeline.c: (main):
8890         * tests/sched/interrupt1.c: (main):
8891         * tests/sched/interrupt2.c: (main):
8892         * tests/sched/interrupt3.c: (main):
8893         * tests/sched/runxml.c: (main):
8894         * tests/sched/sched-stress.c: (main):
8895         * tests/seeking/seeking1.c: (event_received), (main):
8896         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8897         (main):
8898         * tests/threadstate/threadstate3.c: (main):
8899         * tests/threadstate/threadstate4.c: (main):
8900         * tests/threadstate/threadstate5.c: (main):
8901         Fix the tests.
8902
8903 2005-07-21  Wim Taymans  <wim@fluendo.com>
8904
8905         * docs/design/part-seeking.txt:
8906         Some small additions.
8907
8908         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8909         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8910         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8911         * gst/base/gstbasesink.h:
8912         discont values are gint64, handle the math correctly.
8913
8914         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8915         Make the basesrc report error if the source pad is not linked.
8916
8917         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8918         (gst_queue_loop), (gst_queue_handle_src_query),
8919         (gst_queue_src_activate_push):
8920         Make queue collect data even if the srcpad is not linked.
8921         Start pushing out data as soon as it is linked.
8922
8923         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8924         * gst/gstutils.h:
8925         Added gst_flow_get_name() to ease error reporting.
8926
8927 2005-07-20  Wim Taymans  <wim@fluendo.com>
8928
8929         * gst/gstmessage.c: (gst_message_new_segment_start),
8930         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8931         (gst_message_parse_segment_done):
8932         * gst/gstmessage.h:
8933         Added a bunch of messages for advanced seeking.
8934
8935         * gst/parse/grammar.y:
8936         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8937         (gst_dpman_state_changed):
8938         Fix some new-pad -> pad-added signals
8939
8940 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8941
8942         * docs/manual/appendix-porting.xml:
8943         * docs/pwg/appendix-porting.xml:
8944           Document new-pad/state-change signal renames and the FixedList
8945           type rename.
8946
8947 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8948
8949         * docs/manual/advanced-autoplugging.xml:
8950         * docs/manual/basics-helloworld.xml:
8951         * docs/manual/basics-pads.xml:
8952         * docs/random/ds/0.9-suggested-changes:
8953         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8954         * gst/gstelement.h:
8955         * gst/gstevent.h:
8956         * gst/gstformat.h:
8957         * gst/gstquery.h:
8958         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8959         (gst_structure_parse_array), (gst_structure_parse_value):
8960         * gst/gstvalue.c: (gst_type_is_fixed),
8961         (gst_value_list_prepend_value), (gst_value_list_append_value),
8962         (gst_value_list_get_size), (gst_value_list_get_value),
8963         (gst_value_transform_array_string), (gst_value_serialize_array),
8964         (gst_value_deserialize_array), (gst_value_intersect_array),
8965         (gst_value_is_fixed), (_gst_value_initialize):
8966         * gst/gstvalue.h:
8967           GstElement::new-pad -> pad-added, GstElement::state-change ->
8968           state-changed, GstValueFixedList -> GstValueArray, add format and
8969           flags as their own arguments in gst_element_seek() (should improve
8970           "bindeability"), remove function generators since they don't work
8971           under a whole bunch of compilers (they were deprecated already
8972           anyway).
8973
8974 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8975
8976         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8977         (_gst_debug_register_funcptr):
8978         * gst/gstinfo.h:
8979           Fix illegal cast on some platforms (#309253).
8980
8981 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8982
8983         * gst/gstmessage.c: (gst_message_new_custom):
8984         * gst/gstmessage.h:
8985           Add _new_custom, make _new_application a macro to _new_custom.
8986
8987 2005-07-20  Wim Taymans  <wim@fluendo.com>
8988
8989         * gst/base/gstbasesrc.c: (gst_base_src_init),
8990         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8991         * gst/base/gstbasesrc.h:
8992         Add a gboolean to decide when to push out a discont.
8993
8994         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8995         (gst_queue_loop), (gst_queue_handle_src_query),
8996         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8997         (gst_queue_set_property), (gst_queue_get_property):
8998         Some cleanups.
8999
9000         * tests/threadstate/threadstate1.c: (main):
9001         Make a thread test compile and run... very silly..
9002
9003
9004 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9005
9006         * docs/manual/appendix-porting.xml:
9007           Mention removal of libgstgconf-0.9.la and existence of gconf
9008           elements.
9009
9010 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9011
9012         * docs/pwg/advanced-clock.xml:
9013         * docs/pwg/appendix-porting.xml:
9014         * docs/pwg/intro-preface.xml:
9015         * docs/pwg/other-base.xml:
9016         * docs/pwg/other-manager.xml:
9017         * docs/pwg/other-nton.xml:
9018         * docs/pwg/other-ntoone.xml:
9019         * docs/pwg/other-oneton.xml:
9020         * docs/pwg/pwg.xml:
9021           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9022           demuxer), remove n-to-n (was never written), fix some code examples
9023           and links and update the porting section to include all this.
9024
9025 2005-07-19  Wim Taymans  <wim@fluendo.com>
9026
9027         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9028         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9029         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9030         (gst_queue_src_activate_push), (gst_queue_change_state),
9031         (gst_queue_get_property):
9032         * gst/gstqueue.h:
9033         Propagate GstFlowReturn more intelligently upstream and output
9034         an ERROR/EOS when streaming stopped due to fatal error.
9035
9036 2005-07-19  Wim Taymans  <wim@fluendo.com>
9037
9038         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9039         Don't block forever for the state change to complete, the
9040         pipeline already did with a sensible timeout.
9041
9042 2005-07-19  Wim Taymans  <wim@fluendo.com>
9043
9044         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9045         Make sure we never call the create function is we
9046         got deactivated.
9047
9048 2005-07-19  Andy Wingo  <wingo@pobox.com>
9049
9050         * gst/parse/parse.l: Attempt to solve bug #172815.
9051
9052 2005-07-19  Wim Taymans  <wim@fluendo.com>
9053
9054         * docs/design/part-clocks.txt:
9055         * docs/design/part-events.txt:
9056         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9057         Small docs updates.
9058         Only update the seeking values when we are not
9059         busy streaming.
9060
9061 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9062
9063         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9064           Oops, ignore the result of gst_pad_push_event here.
9065
9066 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9067
9068         * gst/base/gstbasesrc.c: (gst_base_src_loop),
9069         (gst_base_src_activate_push):
9070           Send discont event from the loop function, as pads
9071           aren't activated yet in the activate_push handler.
9072
9073         * gst/gstbin.c: (bin_bus_handler):
9074           Don't leak element name.
9075
9076 2005-07-18  Andy Wingo  <wingo@pobox.com>
9077
9078         * configure.ac: Use AS_LIBTOOL_TAGS.
9079
9080 2005-07-18  Wim Taymans  <wim@fluendo.com>
9081
9082         * docs/gst/gstreamer.types:
9083         Remove deleted types.
9084
9085 2005-07-18  Wim Taymans  <wim@fluendo.com>
9086
9087         * check/elements/gstfakesrc.c: (GST_START_TEST):
9088         * configure.ac:
9089         * gst/Makefile.am:
9090         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9091         (init_popt_callback):
9092         * gst/gst.h:
9093         * gst/gst_private.h:
9094         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9095         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9096         * gst/gstbin.h:
9097         * gst/gstbus.h:
9098         * gst/gstconfig.h.in:
9099         * gst/gstelement.c: (gst_element_class_init),
9100         (gst_element_set_base_time), (gst_element_get_base_time),
9101         (iterator_fold_with_resync), (gst_element_change_state),
9102         (gst_element_dispose), (gst_element_get_bus):
9103         * gst/gstelement.h:
9104         * gst/gstelementfactory.h:
9105         * gst/gsterror.c: (_gst_core_errors_init):
9106         * gst/gsterror.h:
9107         * gst/gstevent.h:
9108         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9109         * gst/gstindex.c:
9110         * gst/gstinfo.c: (_gst_debug_init):
9111         * gst/gstmessage.c: (_gst_message_copy):
9112         * gst/gstmessage.h:
9113         * gst/gstminiobject.h:
9114         * gst/gstobject.c:
9115         * gst/gstobject.h:
9116         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9117         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9118         * gst/gstpad.h:
9119         * gst/gstparse.h:
9120         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9121         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9122         (gst_pipeline_get_last_stream_time):
9123         * gst/gstpipeline.h:
9124         * gst/gstpluginfeature.h:
9125         * gst/gstquery.h:
9126         * gst/gstscheduler.c:
9127         * gst/gstscheduler.h:
9128         * gst/gststructure.h:
9129         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9130         (gst_task_finalize), (gst_task_func), (gst_task_create),
9131         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9132         (gst_task_stop), (gst_task_pause):
9133         * gst/gsttask.h:
9134         * gst/gsttypefind.h:
9135         * gst/gsttypes.h:
9136         * gst/registries/gstlibxmlregistry.c: (load_feature),
9137         (gst_xml_registry_load), (gst_xml_registry_save_feature):
9138         * gst/registries/gstxmlregistry.c:
9139         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9140         * gst/schedulers/threadscheduler.c:
9141         * libs/gst/control/dparammanager.h:
9142         * tools/gst-inspect.c: (print_element_list),
9143         (print_plugin_features), (print_element_features):
9144         * tools/gst-xmlinspect.c: (print_element_list),
9145         (print_plugin_info), (main):
9146         Removed plugable schedulers.
9147         Removed Scheduler/Manager from elements.
9148         Removed gsttypes.h, rearranged includes.
9149         Removed dependency pad<->element, element<>pipeline, and
9150         various others,  fix includes.
9151         implement gst_pad_get_parent() with gst_object_get_parent()
9152         Make GstTask sefcontained.
9153         Fix _get_state() on GstBin, it did not return ASYNC with a 0
9154         timeout.
9155         Fix endless loop in iterator_fold_with_resync.
9156
9157
9158 2005-07-18  Wim Taymans  <wim@fluendo.com>
9159
9160         * gst/Makefile.am:
9161         * gst/gstarch.h:
9162         Remove old file.
9163
9164 2005-07-18  Wim Taymans  <wim@fluendo.com>
9165
9166         * gst/Makefile.am:
9167         No more cothreads.h
9168
9169 2005-07-18  Wim Taymans  <wim@fluendo.com>
9170
9171         * gst/cothreads.c:
9172         * gst/cothreads.h:
9173         Let's remove these.
9174
9175 2005-07-18  Wim Taymans  <wim@fluendo.com>
9176
9177         * docs/design/part-dynamic.txt:
9178         * docs/design/part-events.txt:
9179         * docs/design/part-seeking.txt:
9180         Some more docs in the works.
9181
9182         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9183         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9184         (gst_base_transform_setcaps), (gst_base_transform_get_size),
9185         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9186         (gst_base_transform_handle_buffer),
9187         (gst_base_transform_sink_activate_push),
9188         (gst_base_transform_src_activate_pull),
9189         (gst_base_transform_set_passthrough),
9190         (gst_base_transform_is_passthrough):
9191         Refcounting fixes.
9192
9193         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9194         Cleanups.
9195
9196         * gst/gstevent.c: (gst_event_finalize):
9197         Set SRC to NULL.
9198
9199         * gst/gstutils.c: (gst_element_unlink),
9200         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9201         (gst_pad_proxy_setcaps):
9202         * gst/gstutils.h:
9203         Add _get_parent_element() to get a pads parent as an element.
9204
9205 2005-07-18  Wim Taymans  <wim@fluendo.com>
9206
9207         * check/gst/gstbin.c: (GST_START_TEST):
9208         Remove bogus test.
9209
9210 2005-07-18  Wim Taymans  <wim@fluendo.com>
9211
9212         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9213         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9214         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9215         (gst_base_sink_event), (gst_base_sink_do_sync),
9216         (gst_base_sink_chain), (gst_base_sink_loop),
9217         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9218         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9219         Refcounting fixes.
9220         Fix logic for returning ASYNC when not prerolled.
9221
9222 2005-07-18  Wim Taymans  <wim@fluendo.com>
9223
9224         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9225         Fix nasty refcount bug.
9226
9227 2005-07-16 Philippe Khalaf <burger@speedy.org>
9228
9229         * gst/elements/gstfdsrc.c:
9230         * gst/elements/gstfdsrc.h:
9231         * gst/elements/gstelements.c:
9232         * gst/elements/Makefile.am:
9233         Ported fdsrc to 0.9.
9234
9235 2005-07-16  Wim Taymans  <wim@fluendo.com>
9236
9237         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9238         (gst_base_sink_do_sync):
9239         Fix compile error.
9240
9241 2005-07-16  Wim Taymans  <wim@fluendo.com>
9242
9243         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9244         (gst_base_sink_event), (gst_base_sink_get_times),
9245         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9246         * gst/base/gstbasesink.h:
9247         Store and use discont values when syncing buffers as described
9248         in design docs.
9249         
9250         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9251         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9252         (gst_base_src_activate_push):
9253         Push discont event when starting.
9254
9255         * gst/elements/gstidentity.c: (gst_identity_transform):
9256         Small cleanups.
9257
9258         * gst/gstbin.c: (gst_bin_change_state):
9259         Small cleanups in base_time  distribution.
9260
9261         * gst/gstelement.c: (gst_element_set_base_time),
9262         (gst_element_get_base_time), (gst_element_change_state):
9263         * gst/gstelement.h:
9264         Added methods for the base_time of the element.
9265         Some MT fixes.
9266
9267         * gst/gstpipeline.c: (gst_pipeline_send_event),
9268         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9269         (gst_pipeline_get_last_stream_time):
9270         * gst/gstpipeline.h:
9271         MT fixes.
9272         Handle seeking as described in design doc, remove stream_time
9273         hack.
9274         Cleanups clock and stream_time selection code. Added accessors
9275         for the stream_time.
9276         
9277
9278 2005-07-16  Andy Wingo  <wingo@pobox.com>
9279
9280         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9281         (#305291).
9282
9283 2005-07-16  Wim Taymans  <wim@fluendo.com>
9284
9285         * check/gst/gstbin.c: (GST_START_TEST):
9286         Make elements silent as the deep_notify refs the
9287         parent, which might make the test fail.
9288
9289         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9290         Don't hold the lock for too long.
9291
9292 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9293
9294         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9295           Don't unref the caps we passed to gst_caps_make_writable() after
9296           passing them. gst_caps_make_writable() will do that for us.
9297
9298 2005-07-15  Andy Wingo  <wingo@pobox.com>
9299
9300         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9301         (#157311).
9302
9303         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9304         own marshalling function for the handoff signal. Properly type the
9305         buffer as a buffer. Fixes some warnings. Should do a more general
9306         solution.
9307         (gst_identity_class_init): Plug into the right marshaller.
9308
9309 2005-07-15  Wim Taymans  <wim@fluendo.com>
9310
9311         * docs/design/part-TODO.txt:
9312         * docs/design/part-clocks.txt:
9313         * docs/design/part-element-sink.txt:
9314         * docs/design/part-events.txt:
9315         * docs/design/part-gstpipeline.txt:
9316         Updated docs, mostly DISCONT related.
9317
9318 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9319
9320         * docs/pwg/building-pads.xml:
9321           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9322
9323 2005-07-15  Andy Wingo  <wingo@pobox.com>
9324
9325         * tools/gst-typefind.c: Update, add copyright block.
9326
9327         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9328         Normalize and truncate caps before fixation.
9329
9330         * gst/gstcaps.h:
9331         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9332         discards all but the first structure from its argument.
9333
9334 2005-07-15  Wim Taymans  <wim@fluendo.com>
9335
9336         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9337         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9338         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9339         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9340         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9341         (gst_base_transform_chain), (gst_base_transform_change_state),
9342         (gst_base_transform_set_passthrough),
9343         (gst_base_transform_is_passthrough):
9344         * gst/base/gstbasetransform.h:
9345         Make passthrough work using the bufferpools.
9346         Changed API a bit, subclasses have to write into a buffer
9347         provided by the base class.
9348         More debug info in nego functions.
9349         
9350         * gst/elements/gstidentity.c: (gst_identity_init),
9351         (gst_identity_transform):
9352         Port to new base class.
9353
9354 2005-07-15  Wim Taymans  <wim@fluendo.com>
9355
9356         * gst/gstmessage.c: (gst_message_new_state_changed):
9357         * tools/gst-launch.c: (event_loop), (main):
9358         Totally dump messages in -launch with the -m option.
9359         Fix message name for State messages,
9360
9361 2005-07-14  Wim Taymans  <wim@fluendo.com>
9362
9363         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9364         Post error messages on errors.
9365
9366 2005-07-14  Wim Taymans  <wim@fluendo.com>
9367
9368         * gst/gstcaps.c: (gst_caps_do_simplify):
9369         Remove debug info.
9370
9371         * gst/gsterror.h:
9372         Define error for stream stopped.
9373
9374         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9375         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9376         Do proper return values.
9377
9378         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9379         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9380         (gst_pad_get_range):
9381         Better return values.
9382
9383         * gst/gstpad.h:
9384         Reorganise return values, add macro to check for fatal errors.
9385
9386         * gst/gstqueue.c: (gst_queue_chain):
9387         Return proper GstFlowReturn values,
9388
9389 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9390
9391         * docs/gst/gstreamer-sections.txt:
9392         * docs/gst/gstreamer.types:
9393         * docs/gst/tmpl/gst.sgml:
9394         * docs/gst/tmpl/gstbasesink.sgml:
9395         * docs/gst/tmpl/gstbasesrc.sgml:
9396         * docs/gst/tmpl/gstbasetransform.sgml:
9397         * docs/gst/tmpl/gstbin.sgml:
9398         * docs/gst/tmpl/gstbuffer.sgml:
9399         * docs/gst/tmpl/gstcaps.sgml:
9400         * docs/gst/tmpl/gstclock.sgml:
9401         * docs/gst/tmpl/gstcompat.sgml:
9402         * docs/gst/tmpl/gstconfig.sgml:
9403         * docs/gst/tmpl/gstelement.sgml:
9404         * docs/gst/tmpl/gstelementdetails.sgml:
9405         * docs/gst/tmpl/gstelementfactory.sgml:
9406         * docs/gst/tmpl/gstenumtypes.sgml:
9407         * docs/gst/tmpl/gsterror.sgml:
9408         * docs/gst/tmpl/gstevent.sgml:
9409         * docs/gst/tmpl/gstfakesink.sgml:
9410         * docs/gst/tmpl/gstfakesrc.sgml:
9411         * docs/gst/tmpl/gstfilesink.sgml:
9412         * docs/gst/tmpl/gstfilesrc.sgml:
9413         * docs/gst/tmpl/gstfilter.sgml:
9414         * docs/gst/tmpl/gstformat.sgml:
9415         * docs/gst/tmpl/gstghostpad.sgml:
9416         * docs/gst/tmpl/gstimplementsinterface.sgml:
9417         * docs/gst/tmpl/gstindex.sgml:
9418         * docs/gst/tmpl/gstindexfactory.sgml:
9419         * docs/gst/tmpl/gstinfo.sgml:
9420         * docs/gst/tmpl/gstiterator.sgml:
9421         * docs/gst/tmpl/gstmacros.sgml:
9422         * docs/gst/tmpl/gstmemchunk.sgml:
9423         * docs/gst/tmpl/gstminiobject.sgml:
9424         * docs/gst/tmpl/gstobject.sgml:
9425         * docs/gst/tmpl/gstpad.sgml:
9426         * docs/gst/tmpl/gstpadtemplate.sgml:
9427         * docs/gst/tmpl/gstparse.sgml:
9428         * docs/gst/tmpl/gstpipeline.sgml:
9429         * docs/gst/tmpl/gstplugin.sgml:
9430         * docs/gst/tmpl/gstpluginfeature.sgml:
9431         * docs/gst/tmpl/gstquery.sgml:
9432         * docs/gst/tmpl/gstqueue.sgml:
9433         * docs/gst/tmpl/gstregistry.sgml:
9434         * docs/gst/tmpl/gstregistrypool.sgml:
9435         * docs/gst/tmpl/gstscheduler.sgml:
9436         * docs/gst/tmpl/gstschedulerfactory.sgml:
9437         * docs/gst/tmpl/gststructure.sgml:
9438         * docs/gst/tmpl/gstsystemclock.sgml:
9439         * docs/gst/tmpl/gsttaglist.sgml:
9440         * docs/gst/tmpl/gsttagsetter.sgml:
9441         * docs/gst/tmpl/gsttrace.sgml:
9442         * docs/gst/tmpl/gsttrashstack.sgml:
9443         * docs/gst/tmpl/gsttypefind.sgml:
9444         * docs/gst/tmpl/gsttypefindfactory.sgml:
9445         * docs/gst/tmpl/gsttypes.sgml:
9446         * docs/gst/tmpl/gsturihandler.sgml:
9447         * docs/gst/tmpl/gsturitype.sgml:
9448         * docs/gst/tmpl/gstutils.sgml:
9449         * docs/gst/tmpl/gstvalue.sgml:
9450         * docs/gst/tmpl/gstversion.sgml:
9451         * docs/gst/tmpl/gstxml.sgml:
9452         * docs/libs/tmpl/gstcontrol.sgml:
9453         * docs/libs/tmpl/gstdataprotocol.sgml:
9454         * docs/libs/tmpl/gstdparam.sgml:
9455         * docs/libs/tmpl/gstdplinint.sgml:
9456         * docs/libs/tmpl/gstdpman.sgml:
9457         * docs/libs/tmpl/gstdpsmooth.sgml:
9458         * docs/libs/tmpl/gstgetbits.sgml:
9459         * docs/libs/tmpl/gstunitconvert.sgml:
9460         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9461         (gst_push_src_base_init), (gst_push_src_class_init),
9462         (gst_push_src_init), (gst_push_src_create):
9463         * gst/base/gstpushsrc.h:
9464         * gst/elements/gstelements.c:
9465         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9466         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9467         (gst_fake_sink_init), (gst_fake_sink_set_property),
9468         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9469         (gst_fake_sink_event), (gst_fake_sink_preroll),
9470         (gst_fake_sink_render), (gst_fake_sink_change_state):
9471         * gst/elements/gstfakesink.h:
9472         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9473         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9474         (gst_fake_src_base_init), (gst_fake_src_class_init),
9475         (gst_fake_src_init), (gst_fake_src_event_handler),
9476         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9477         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9478         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9479         (gst_fake_src_create_buffer), (gst_fake_src_create),
9480         (gst_fake_src_start), (gst_fake_src_stop):
9481         * gst/elements/gstfakesrc.h:
9482         * gst/elements/gstfilesink.c: (_do_init),
9483         (gst_file_sink_base_init), (gst_file_sink_class_init),
9484         (gst_file_sink_init), (gst_file_sink_dispose),
9485         (gst_file_sink_set_location), (gst_file_sink_set_property),
9486         (gst_file_sink_get_property), (gst_file_sink_open_file),
9487         (gst_file_sink_close_file), (gst_file_sink_query),
9488         (gst_file_sink_event), (gst_file_sink_render),
9489         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9490         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9491         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9492         * gst/elements/gstfilesink.h:
9493         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9494         (gst_file_src_class_init), (gst_file_src_init),
9495         (gst_file_src_finalize), (gst_file_src_set_location),
9496         (gst_file_src_set_property), (gst_file_src_get_property),
9497         (gst_file_src_map_region), (gst_file_src_map_small_region),
9498         (gst_file_src_create_mmap), (gst_file_src_create_read),
9499         (gst_file_src_create), (gst_file_src_is_seekable),
9500         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9501         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9502         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9503         (gst_file_src_uri_handler_init):
9504         * gst/elements/gstfilesrc.h:
9505           more autistic cleanliness in functions/names/defines
9506
9507 2005-07-13  Andy Wingo  <wingo@pobox.com>
9508
9509         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9510         source couldn't negotiate.
9511
9512         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9513         connections again.
9514
9515         * gst/gstutils.h:
9516         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9517         function. I am channeling Hades. Put your boots on suckers!!!
9518
9519 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9520
9521         * testsuite/caps/Makefile.am:
9522         * testsuite/caps/value_compare.c:
9523         * testsuite/caps/value_intersect.c:
9524         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9525           move two testsuite apps over to the check dir
9526
9527 2005-07-12  Wim Taymans  <wim@fluendo.com>
9528
9529         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9530         Added more debug info in the negotiate process.
9531
9532         * gst/gstmessage.h:
9533         Prepare for segment playback.
9534
9535         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9536         Better debugging.
9537
9538         * gst/gstutils.c:
9539         Some more docs.
9540
9541         * tools/gst-launch.c: (main):
9542         NULL pipeline on errors.
9543
9544 2005-07-12  Andy Wingo  <wingo@pobox.com>
9545
9546         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9547         not it comes from a malloc region. Make sure our copy gets freed.
9548
9549 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9550
9551         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9552         * check/gst/gstmessage.c: (GST_START_TEST):
9553         * check/gst/gststructure.c: (GST_START_TEST),
9554         (gst_structure_suite), (main):
9555           more testing
9556         * gst/gstelement.c: (gst_element_message_full):
9557           clean up GError and debug string now that they get copied
9558         * gst/gstmessage.c: (gst_message_new_error),
9559         (gst_message_new_warning), (gst_message_parse_error),
9560         (gst_message_parse_warning):
9561           use GST_TYPE_G_ERROR for structure_new, and take copies of
9562           arguments, so that we don't mess up refcounting
9563
9564 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9565
9566         * check/Makefile.am:
9567           add per-test valgrind targets
9568         * check/gst-libs/gdp.c: (GST_START_TEST),
9569         (gst_data_protocol_suite), (main):
9570           clean up
9571
9572 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9573
9574         * check/Makefile.am:
9575           instate more valgrindable tests
9576         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9577         (GST_START_TEST), (fakesrc_suite):
9578         * check/gst/gstpad.c: (GST_START_TEST):
9579         * check/gst/gststructure.c: (GST_START_TEST):
9580           fix test leaks
9581         * docs/gst/tmpl/gstminiobject.sgml:
9582         * gst/gstpad.c: (gst_pad_finalize):
9583           fix the static mutex leak
9584
9585 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9586
9587         * check/Makefile.am:
9588           add two more tests for valgrinding
9589         * check/gst/gstvalue.c: (GST_START_TEST):
9590           test refcount of deserialized buffer, found a leak
9591         * docs/gst/gstreamer-docs.sgml:
9592         * docs/gst/gstreamer-sections.txt:
9593         * docs/gst/gstreamer.types:
9594         * docs/gst/tmpl/gstminiobject.sgml:
9595           add miniobject to docs
9596         * gst/gstminiobject.c:
9597           add some docs
9598         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9599         (gst_string_unwrap):
9600           fix a hard-to-find invalid write for one of the tests
9601           fix a leak for deserialized buffers
9602
9603 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9604
9605         * docs/pwg/advanced-events.xml:
9606         * docs/pwg/advanced-request.xml:
9607         * docs/pwg/advanced-scheduling.xml:
9608         * docs/pwg/appendix-porting.xml:
9609         * docs/pwg/building-boiler.xml:
9610         * docs/pwg/intro-preface.xml:
9611         * docs/pwg/other-ntoone.xml:
9612           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9613           of example code and explanation for pad activation, loop() and
9614           getrange() functions and a bit more. Remove old comments pointing
9615           to loop-functions.
9616         * examples/pwg/Makefile.am:
9617           Add loop/getrange examples.
9618
9619 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9620
9621         * configure.ac:
9622           check for valgrind binary + some fixes
9623         * check/gst.supp:
9624           valgrind suppressions for the tests
9625         * check/Makefile.am:
9626           add a valgrind: target that valgrinds the unit tests
9627         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9628         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9629         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9630         * check/gst/gstghostpad.c:
9631           added some cleanup
9632         * check/gst/gstdata.c:
9633           removed
9634         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9635         (thread_unref), (gst_mini_object_suite), (main):
9636           added
9637         * gst/gst.c: (gst_deinit):
9638         * gst/gst.h:
9639           add a method to clean up.
9640         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9641         (gst_system_clock_obtain):
9642           allow for disposing the system clock.
9643         * tools/gst-launch.c: (main):
9644           deinit
9645
9646 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9647
9648         * docs/gst/tmpl/gstbasesrc.sgml:
9649         * docs/gst/tmpl/gstfakesrc.sgml:
9650         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9651         (gst_base_src_init), (gst_base_src_set_property),
9652         (gst_base_src_get_property), (gst_base_src_get_range),
9653         (gst_base_src_start):
9654         * gst/base/gstbasesrc.h:
9655           add num-buffers property
9656         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9657         (gst_fakesrc_init), (gst_fakesrc_set_property),
9658         (gst_fakesrc_get_property), (gst_fakesrc_create),
9659         (gst_fakesrc_start):
9660           remove num-buffers property
9661
9662 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9663
9664         * docs/gst/gstreamer-sections.txt:
9665         * docs/gst/tmpl/gstbasesink.sgml:
9666         * docs/gst/tmpl/gstbasesrc.sgml:
9667         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9668         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9669         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9670         (gst_base_sink_set_property), (gst_base_sink_get_property),
9671         (gst_base_sink_handle_object), (gst_base_sink_event),
9672         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9673         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9674         (gst_base_sink_loop), (gst_base_sink_deactivate),
9675         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9676         (gst_base_sink_change_state):
9677         * gst/base/gstbasesink.h:
9678         * gst/base/gstbasesrc.h:
9679         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9680         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9681         (gst_filesink_init):
9682           more macro splitting
9683
9684 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9685
9686         * gst/gstelement.c: (gst_element_get_bus):
9687           add debug
9688         * tools/gst-launch.c: (check_intr), (event_loop):
9689           fix bus leaks
9690
9691 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9692
9693         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9694           fix a caps leak
9695
9696 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9697
9698         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9699         (gst_base_src_finalize):
9700           add finalize method and clean up properly
9701         * gst/gstpipeline.c: (gst_pipeline_dispose):
9702           add debug
9703
9704 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9705
9706         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9707         (gst_bin_suite):
9708           add more things to check
9709         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9710         * gst/gstelement.c:
9711           more debug
9712
9713 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9714
9715         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9716         (GST_START_TEST), (fakesrc_suite):
9717         * check/gst-libs/gdp.c: (GST_START_TEST):
9718         * check/gst/gst.c: (GST_START_TEST):
9719         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9720         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9721         * check/gst/gstbus.c: (GST_START_TEST):
9722         * check/gst/gstcaps.c: (GST_START_TEST):
9723         * check/gst/gstdata.c: (GST_START_TEST):
9724         * check/gst/gstelement.c: (GST_START_TEST):
9725         * check/gst/gstghostpad.c: (GST_START_TEST):
9726         * check/gst/gstiterator.c: (GST_START_TEST):
9727         * check/gst/gstmessage.c: (GST_START_TEST):
9728         * check/gst/gstobject.c: (GST_START_TEST):
9729         * check/gst/gstpad.c: (GST_START_TEST):
9730         * check/gst/gststructure.c: (GST_START_TEST):
9731         * check/gst/gstsystemclock.c: (GST_START_TEST),
9732         (gst_systemclock_suite):
9733         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9734         * check/gst/gstvalue.c: (GST_START_TEST):
9735         * check/pipelines/cleanup.c: (GST_START_TEST):
9736         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9737         * check/states/sinks.c: (GST_START_TEST):
9738         * check/gstcheck.c: (gst_check_init):
9739         * check/gstcheck.h:
9740           add debugging category
9741           use GST_START_TEST now, so we add a debug line
9742
9743 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9744
9745         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9746           add test for state change message on a bin
9747         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9748           add another test
9749         * gst/gstbin.c: (gst_bin_init):
9750         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9751         * gst/gstelement.c: (gst_element_post_message),
9752         (gst_element_set_state):
9753         * gst/gstelementfactory.c: (gst_element_factory_create):
9754         * gst/gstmessage.c: (gst_message_new):
9755         * gst/gstscheduler.c:
9756           various debugging additions and cleanups
9757
9758 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9759
9760         * check/Makefile.am:
9761         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9762         (main):
9763           adding tests for elements
9764         * gst/gstelement.c: (gst_element_dispose):
9765
9766 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9767
9768         * gst/registries/gstlibxmlregistry.c: (load_feature):
9769           plug more leaks.  A simple gst_init() now is leakfree, yay.
9770
9771 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9772
9773         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9774         (gst_xml_registry_load):
9775           plug another memleak
9776
9777 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9778
9779         * configure.ac:
9780           use GST_SET_ERROR_CFLAGS
9781         * docs/faq/cvs.xml:
9782           change to ERROR_CFLAGS
9783
9784 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9785
9786         * configure.ac:
9787           make GST_ERROR_CFLAGS overridable and re-enable Werror
9788         * docs/faq/cvs.xml:
9789           add a note about error CFLAGS
9790         * docs/gst/tmpl/gstfakesrc.sgml:
9791         * gst/elements/gstfakesrc.c:
9792           comment out some unused code
9793         * gst/gst.c: (split_and_iterate):
9794         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9795         (load_feature):
9796           plug some memleaks
9797
9798 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9799
9800         * common/Makefile.am:
9801         * common/gtk-doc.mak:
9802         * docs/gst/Makefile.am:
9803           factor out gtk-doc.mak
9804
9805 2005-07-07  Wim Taymans  <wim@fluendo.com>
9806
9807         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9808         (gst_thread_scheduler_dispose):
9809         Unlock the STREAM_LOCK completely.
9810
9811 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9812
9813         * check/Makefile.am:
9814         * check/elements/.cvsignore:
9815         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9816         (START_TEST), (fakesrc_suite), (main):
9817         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9818         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9819         (gst_fakesrc_create), (gst_fakesrc_start):
9820         * gst/elements/gstfakesrc.h:
9821           adding a first element test
9822
9823 2005-07-07  Andy Wingo  <wingo@pobox.com>
9824
9825         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9826         debug message.
9827
9828 2005-07-07  Wim Taymans  <wim@fluendo.com>
9829
9830         * gst/gstquery.c:
9831         * gst/gstquery.h:
9832         Remove old types
9833
9834 2005-07-07  Wim Taymans  <wim@fluendo.com>
9835
9836         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9837         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9838         Allow subclasses to implement their own negotiation.
9839
9840 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9841
9842         * docs/design/part-gstbin.txt:
9843         * docs/design/part-gstpipeline.txt:
9844           Update design notes to reflect the movement of
9845           responsibility for bus handling from GstPipeline to
9846           GstBin
9847
9848 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9849
9850         * configure.ac:
9851           Remove unnecessary queue2/3/4 examples.
9852
9853 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9854
9855         * examples/Makefile.am:
9856         * examples/helloworld/helloworld.c: (event_loop), (main):
9857         * examples/queue/queue.c: (event_loop), (main):
9858         * examples/queue2/queue2.c: (main):
9859           Update a couple of the examples to work again.
9860
9861         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9862         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9863          Spelling corrections and extra debug.
9864         
9865         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9866         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9867         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9868         * gst/gstbin.h:
9869         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9870         (gst_pipeline_change_state):
9871         * gst/gstpipeline.h:
9872           Move the bus handler for children to the GstBin, and create a
9873           separate bus for receiving messages from children to the one the
9874           bus sends 'upwards' on.
9875
9876 2005-07-06  Wim Taymans  <wim@fluendo.com>
9877
9878         * gst/base/README:
9879         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9880         (gst_base_sink_handle_object), (gst_base_sink_loop),
9881         (gst_base_sink_change_state):
9882         * gst/base/gstbasesink.h:
9883         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9884         (gst_base_src_init), (gst_base_src_setcaps),
9885         (gst_base_src_getcaps), (gst_base_src_loop),
9886         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9887         (gst_base_src_start), (gst_base_src_change_state):
9888         * gst/base/gstbasesrc.h:
9889         Make basesrc negotiate.
9890         Handle the case where preroll fails in basesink.
9891         Update README.
9892
9893 2005-07-06  Wim Taymans  <wim@fluendo.com>
9894
9895         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9896         Implement the fixate function.
9897         Clean up acceptcaps.
9898
9899 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9900
9901         * docs/pwg/building-filterfactory.xml:
9902         * docs/pwg/pwg.xml:
9903           Remove never-written filter-factory chapter; I'll add the various
9904           base classes to part 4 ("other element types") later on.
9905
9906 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9907
9908         * docs/pwg/advanced-negotiation.xml:
9909         * docs/pwg/building-boiler.xml:
9910         * docs/pwg/building-pads.xml:
9911         * docs/pwg/pwg.xml:
9912         * examples/pwg/Makefile.am:
9913           Add a chapter on caps negotiation, simplify the original code
9914           samples a bit w.r.t. caps negotiation, add link to the advanced
9915           section. Add a bunch of examples showing different use cases of
9916           different types of caps negotiation. Upstream renegotiation isn't
9917           fully documented yet since nobody knows how that works.
9918
9919 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9920
9921         * check/gst/gstpad.c:
9922         * check/gstcheck.c:
9923         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9924           if pad has no parent, return NULL as list of internal links
9925
9926 2005-07-05  Andy Wingo  <wingo@pobox.com>
9927
9928         * gst/elements/gstfilesrc.c:
9929         * gst/elements/gstfakesrc.c: 
9930         * gst/base/gstpushsrc.c:
9931         * gst/base/gstbasesrc.h: 
9932         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9933         
9934 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9935
9936         * Makefile.am:
9937           better report generation target (lcov needs a patch)
9938
9939 2005-07-05  Andy Wingo  <wingo@pobox.com>
9940
9941         * gst/elements, testsuite: Null if we got it...
9942
9943 2005-07-05  Wim Taymans  <wim@fluendo.com>
9944
9945         * configure.ac:
9946         * libs/gst/dataprotocol/Makefile.am:
9947         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9948         * libs/gst/dataprotocol/dataprotocol.h:
9949         * pkgconfig/Makefile.am:
9950         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9951         * pkgconfig/gstreamer-dataprotocol.pc.in:
9952         Ported dataprotol to 0.9. 
9953         Added pkgconfig files.
9954
9955 2005-07-05  Andy Wingo  <wingo@pobox.com>
9956
9957         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9958         Default to returning TRUE for the case when tranform_caps returns
9959         a fixed caps, like for identity or volume.
9960
9961         * check/gst/gstbus.c (pound_bus_with_messages): 
9962         * check/gst/gstmessage.c (START_TEST): 
9963         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9964         message API change.
9965
9966         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9967         logic weaks here: always run transform_caps, trying passthrough
9968         operation only if the original caps intersects with the transform.
9969
9970         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9971         source and sink caps.
9972
9973         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9974         Intersect the peer caps with the pad template before going into
9975         transform_caps.
9976         (gst_base_transform_transform_caps): More debugging.
9977
9978         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9979         src argument.
9980
9981 2005-07-04  Edward Hervey  <edward@fluendo.com>
9982
9983         * gst/gstutils.c:
9984         * gst/gstutils.h:
9985         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9986         in bindings.
9987
9988 2005-07-04  Andy Wingo  <wingo@pobox.com>
9989
9990         * check/gst/gstpad.c: Only set explicit caps on pads.
9991
9992 2005-07-01  Andy Wingo  <wingo@pobox.com>
9993
9994         * tests/network-clock.scm: Commentary update.
9995
9996         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9997         Didn't really make sense, not implementable with basetransform,
9998         etc.
9999         (gst_identity_transform): Unref inbuf via make_writable. Feeble
10000         attempt at implementing the sync property, needs an unlock method.
10001
10002         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10003         New func, by default returns the same caps (the identity
10004         transformation).
10005         (gst_base_transform_getcaps): Uses transform_caps to return
10006         something sensible.
10007         (gst_base_transform_setcaps): Complicated logic to get caps on
10008         both pads, even if they are different, and to call set_caps once
10009         for every time both pads get their caps set.
10010         (gst_base_transform_handle_buffer): Give the ref to the transform
10011         function. Allows in-place modification of the buffer.
10012
10013         * gst/base/gstbasetransform.h (transform_caps): New class method.
10014         Given caps on one side, what can I do on the other.
10015         (set_caps): Take two caps, one for each side of the element.
10016
10017         * gst/gstpad.h:
10018         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10019         caps in place. This is safe because we can check the mutability of
10020         the caps, and a good idea because fixate functions are just called
10021         as a matter of last resort. (Not actually implemented.)
10022         (gst_pad_set_caps): If the caps we're setting is actually the same
10023         as the existing pad caps, just update the pointer without calling
10024         setcaps. Assert that caps is either NULL or fixed, as per the
10025         docs.
10026
10027         * gst/gstghostpad.c: Update for fixate changes.
10028
10029 2005-07-02  Andy Wingo  <wingo@pobox.com>
10030
10031         * gst/gstcaps.c:
10032         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10033         two refcounts makes it immutable, which is enough. Doc more.
10034
10035 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
10036
10037         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10038           Put the mini_object into GValue as a mini_object,
10039           not a gpointer, since that's how we declared
10040           the signal.
10041
10042 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10043
10044         * examples/pwg/Makefile.am:
10045           Fix buildbot again.
10046
10047 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10048
10049         * docs/pwg/building-testapp.xml:
10050           Add extra check.
10051         * examples/pwg/Makefile.am:
10052           Fix buildbot.
10053
10054 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10055
10056         * configure.ac:
10057         * examples/Makefile.am:
10058         * examples/pwg/Makefile.am:
10059         * examples/pwg/extract.pl:
10060           Enable building the PWG examples.
10061         * docs/pwg/advanced-interfaces.xml:
10062           Add URI interface stub.
10063         * docs/pwg/advanced-types.xml:
10064         * docs/pwg/other-autoplugger.xml:
10065         * docs/pwg/appendix-porting.xml:
10066         * docs/pwg/pwg.xml:
10067           Add porting guide (mostly stubs), remove autoplugging (see ADM).
10068         * docs/pwg/building-boiler.xml:
10069         * docs/pwg/building-chainfn.xml:
10070         * docs/pwg/building-pads.xml:
10071         * docs/pwg/building-props.xml:
10072         * docs/pwg/building-state.xml:
10073         * docs/pwg/building-testapp.xml:
10074           Update the building-*.xml parts for 0.9 changes. All examples
10075           code blocks compile in examples/pwg/*.
10076
10077 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10078
10079         * docs/manual/advanced-autoplugging.xml:
10080         * docs/manual/appendix-checklist.xml:
10081         * docs/manual/appendix-integration.xml:
10082         * docs/manual/highlevel-components.xml:
10083           Fix playbin/decodebin examples, update docs a bit, mention bus
10084           instead of signals in various places, mention kmplayer and
10085           kaffeine since they have a working GStreamer backend in the KDE
10086           section.
10087
10088 2005-06-30  Wim Taymans  <wim@fluendo.com>
10089
10090         * CHANGES-0.9:
10091         * docs/design/draft-ghostpads.txt:
10092         * docs/design/draft-push-pull.txt:
10093         * docs/design/draft-query.txt:
10094         * docs/design/part-TODO.txt:
10095         * docs/design/part-query.txt:
10096         Added CHANGES-0.9 doc, updated status of other docs.
10097         
10098         * gst/gstquery.h:
10099         Remove "hmm" macro
10100
10101 2005-06-30  Wim Taymans  <wim@fluendo.com>
10102
10103         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10104         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10105         (gst_base_sink_change_state):
10106         * gst/base/gstbasesink.h:
10107         Some tweaks, only EOS and a buffer complete a preroll.
10108
10109 2005-06-30  Andy Wingo  <wingo@pobox.com>
10110
10111         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10112         activate_push down to the internal pad as well.
10113
10114 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
10115
10116         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10117
10118         * gst/gsttaginterface.c:
10119           Some documentation fixes (#307394 and #307397).
10120
10121 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
10122
10123         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10124
10125         * gst/gstvalue.c: (gst_value_intersect_list):
10126           Fix memleak (#309125).
10127
10128 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10129
10130         * docs/manual/advanced-dataaccess.xml:
10131           Fix fakesrc example to compile; doesn't work, bug somewhere...?
10132         * docs/manual/basics-pads.xml:
10133           Add reference for filtered caps to above chapter.
10134
10135 2005-06-30  Wim Taymans  <wim@fluendo.com>
10136
10137         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10138         (gst_bin_change_state):
10139         Probes are gone.
10140         Lame attempt at making the state change function a bit
10141         more readable.
10142
10143 2005-06-30  Wim Taymans  <wim@fluendo.com>
10144
10145         * docs/design/part-clocks.txt:
10146         * docs/design/part-element-sink.txt:
10147         * docs/design/part-events.txt:
10148         * docs/design/part-preroll.txt:
10149         * docs/design/part-states.txt:
10150         Some more tweeks and additions to the docs.
10151
10152 2005-06-30  Wim Taymans  <wim@fluendo.com>
10153
10154         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10155         (default_have_data), (gst_pad_class_init), (gst_pad_init),
10156         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10157         (gst_pad_check_pull_range), (gst_pad_get_range),
10158         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10159         * gst/gstpad.h:
10160         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10161         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10162         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10163         (gst_pad_remove_buffer_probe):
10164         Removed atomic operations, use existing LOCK.
10165         Move exception handling out of main code path.
10166
10167 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10168
10169         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10170         (silly_return_true_function), (gst_pad_class_init),
10171         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10172         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10173         (gst_pad_send_event):
10174           Fix accumulator, add default value by using _emitv() instead
10175           of _emit() for signal emission.
10176
10177 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10178
10179         * docs/manual/advanced-dataaccess.xml:
10180         * examples/manual/Makefile.am:
10181           Add probe example.
10182         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10183           Make work (??).
10184
10185 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
10186
10187         * gst/elements/gstfilesink.c: (gst_filesink_render):
10188           Simplify code so that we don't have to handle short
10189           writes and return GST_FLOW_ERROR if an error occured.
10190
10191 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10192
10193         * docs/gst/gstreamer-docs.sgml:
10194           Remove probes more.
10195
10196 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10197
10198         * docs/gst/gstreamer-sections.txt:
10199         * docs/gst/tmpl/gstpad.sgml:
10200         * docs/gst/tmpl/gstprobe.sgml:
10201         * gst/Makefile.am:
10202         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10203         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10204         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10205         (gst_pad_push_event), (gst_pad_send_event):
10206         * gst/gstpad.h:
10207         * gst/gstutils.c: (gst_pad_add_data_probe),
10208         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10209         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10210         (gst_pad_remove_buffer_probe):
10211         * gst/gstutils.h:
10212           Remove old probes, add new g-signal-based probes and some utility
10213           functions.
10214
10215 2005-06-29  Edward Hervey  <edward@fluendo.com>
10216
10217         * gst/gstelementfactory.c:
10218         * gst/gstutils.h:
10219         * gst/gstutils.c:
10220         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10221         the definition to the header file.
10222
10223 2005-06-29  Andy Wingo  <wingo@pobox.com>
10224
10225         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10226         plugins from the source directory.
10227
10228 2005-06-29  Wim Taymans  <wim@fluendo.com>
10229
10230         * docs/gst/tmpl/gstbuffer.sgml:
10231         * docs/gst/tmpl/gstclock.sgml:
10232         Some fixings for blantently wrong text.
10233
10234 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10235
10236         * check/Makefile.am:
10237         * gst/gst.c: (add_path_func), (init_pre):
10238         * gst/gstregistry.c: (gst_registry_add_path):
10239           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10240           only scan the GST_PLUGIN_PATH locations, and not add
10241           system locations
10242
10243 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10244
10245         * docs/gst/gstreamer-sections.txt:
10246         * docs/gst/tmpl/gstbasesrc.sgml:
10247         * gst/gstelement.c:
10248         * gst/gstelement.h:
10249         * gst/gstevent.c:
10250         * gst/gstutils.c:
10251           doc fixes
10252
10253 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10254
10255         * docs/manual/advanced-autoplugging.xml:
10256           Fix autoplugging example.
10257
10258 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10259
10260         * docs/manual/advanced-autoplugging.xml:
10261         * docs/manual/mime-world.fig:
10262           Try to get autoplugging working, fix type detection. Fix text
10263           in hello-world image.
10264
10265 2005-06-29  Wim Taymans  <wim@fluendo.com>
10266
10267         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10268         (gst_base_sink_change_state):
10269         Small debug line.
10270
10271         * gst/gstclock.h:
10272         map SIGNAL and BROADCAST to the right function.
10273
10274         * gst/gstobject.h:
10275         Remove redundant braces.
10276
10277         * gst/gstpad.c: (gst_pad_set_caps):
10278         Don't call setcaps function when reseting caps to NULL.
10279
10280         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10281         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10282         (gst_system_clock_id_unschedule):
10283         Use BROADCAST as this is what we do.
10284
10285 2005-06-29  Wim Taymans  <wim@fluendo.com>
10286
10287         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10288         We are actually prerolling before commiting the state
10289         change. 
10290
10291 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10292
10293         * docs/manual/advanced-clocks.xml:
10294         * docs/manual/advanced-interfaces.xml:
10295         * docs/manual/advanced-metadata.xml:
10296         * docs/manual/advanced-position.xml:
10297         * docs/manual/advanced-schedulers.xml:
10298         * docs/manual/advanced-threads.xml:
10299         * docs/manual/appendix-porting.xml:
10300         * docs/manual/basics-bins.xml:
10301         * docs/manual/basics-bus.xml:
10302         * docs/manual/basics-elements.xml:
10303         * docs/manual/basics-helloworld.xml:
10304         * docs/manual/basics-pads.xml:
10305         * docs/manual/highlevel-components.xml:
10306         * docs/manual/manual.xml:
10307         * docs/manual/thread.fig:
10308           Update (until threads/scheduling) Application Development Manual;
10309           remove GstThread, add GstBus, add simple porting checklist, add
10310           documentation for tag writing, clocks, make all examples until this
10311           part compile and run.
10312         * examples/manual/Makefile.am:
10313           Update from changes to Application Development Manual; add bus
10314           example, remove thread example.
10315
10316 2005-06-28  Wim Taymans  <wim@fluendo.com>
10317
10318         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10319         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10320         (gst_bus_source_dispatch):
10321         Add debugging messages.
10322         Make internal methods static.
10323         Handle the case where the bus is flushed in the handler.
10324         
10325         * gst/gstelement.c: (gst_element_get_bus):
10326         Fix refcount in _get_bus();
10327
10328         * gst/gstpipeline.c: (gst_pipeline_change_state),
10329         (gst_pipeline_get_clock_func):
10330         Clock refcounting fixes.
10331         Handle the case where preroll timed out more gracefully.
10332         
10333         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10334         Clean up the internal thread in dispose. This is needed
10335         for subclasses that actually get disposed.
10336         
10337         * gst/schedulers/threadscheduler.c:
10338         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10339         (gst_thread_scheduler_dispose):
10340         Free thread pool in dispose.
10341
10342 2005-06-28  Andy Wingo  <wingo@pobox.com>
10343
10344         * tests/network-clock-utils.scm (debug, print-event): New utils.
10345
10346         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10347         (*packet-loss*): Unified loss probability.
10348         (network-time): Report out-of-band events.
10349
10350         * tests/plot-data: Add support for out-of-band events. Hack it
10351         into this script instead of passing it down the pipe; should fix
10352         this later.
10353
10354 2005-06-28  Wim Taymans  <wim@fluendo.com>
10355
10356         * docs/gst/gstreamer.types:
10357         * docs/gst/tmpl/gstbasesrc.sgml:
10358         * docs/gst/tmpl/gstpad.sgml:
10359         Docs fixes.
10360
10361 2005-06-28  Wim Taymans  <wim@fluendo.com>
10362
10363         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10364         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10365         (gst_proxy_pad_do_fixatecaps):
10366         Correctly proxy the check_pull_range function.
10367
10368 2005-06-28  Andy Wingo  <wingo@pobox.com>
10369
10370         * tests/network-clock.scm: Removed need for slib.
10371         
10372 2005-06-28  Wim Taymans  <wim@fluendo.com>
10373
10374         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10375         (gst_basesink_preroll_queue_flush):
10376         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10377         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10378         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10379         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10380         (gst_proxy_pad_set_property):
10381         * gst/gstpad.c:
10382         * gst/gstpad.h:
10383         * gst/gstqueue.c: (gst_queue_init):
10384         The deprecated pad loop function is removed now.
10385
10386 2005-06-28  Andy Wingo  <wingo@pobox.com>
10387
10388         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10389         New parameters, simulate network packet loss.
10390
10391         * tests/network-clock-utils.scm: Initialize the RNG.
10392
10393 2005-06-28  Wim Taymans  <wim@fluendo.com>
10394
10395         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10396         (gst_basesink_event), (gst_basesink_deactivate):
10397         Flushing the preroll queue always needs to unlock the waiters.
10398
10399 2005-06-28  Edward Hervey  <edward@fluendo.com>
10400
10401         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10402         Wheen a seek was successful on a pipeline, set the stream_time to the
10403         seek offset in order to have a synchronized stream_time.
10404
10405 2005-06-28  Wim Taymans  <wim@fluendo.com>
10406
10407         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10408         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10409         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10410         (gst_proxy_pad_do_fixatecaps):
10411         Call wrapper function instead of just calling the function
10412         pointers. This takes care of any locking and whatmore.
10413
10414 2005-06-28  Wim Taymans  <wim@fluendo.com>
10415
10416         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10417         (gst_pad_pull_range):
10418         * gst/gstpad.h:
10419         CONNECTED -> LINKED.
10420
10421 2005-06-28  Andy Wingo  <wingo@pobox.com>
10422
10423         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10424         source-munging commit!!!
10425
10426         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10427         (gst_object_sink): Take gpointer arguments, not GstObject --
10428         avoids casts. Like GLib.
10429
10430         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10431         activate.
10432
10433 2005-06-27  Andy Wingo  <wingo@pobox.com>
10434
10435         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10436         remaining buffer.
10437
10438         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10439         returns a sorted copy of the trace list.
10440         (gst_alloc_trace_print_live): New API, only prints traces with
10441         live objects. Sort the list.
10442         (gst_alloc_trace_print_all): Sort the list.
10443         (gst_alloc_trace_print): Align columns.
10444
10445         * gst/elements/gstttypefindelement.c:
10446         * gst/elements/gsttee.c:
10447         * gst/base/gstbasesrc.c:
10448         * gst/base/gstbasesink.c:
10449         * gst/base/gstbasetransform.c:
10450         * gst/gstqueue.c: Adapt for pad activation changes.
10451
10452         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10453         sched.
10454         (gst_pipeline_dispose): Drop ref on sched.
10455
10456         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10457         (gst_pad_activate_default): Push mode by default.
10458         (pre_activate_switch, post_activate_switch): New stubs, things to
10459         do before and after switching activation modes on pads.
10460         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10461         the pad's activate function to choose which mode to activate.
10462         Shortcut on deactivation and call the right function directly.
10463         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10464         mode.
10465         (gst_pad_activate_push): New API, same for push mode.
10466         (gst_pad_set_activate_function) 
10467         (gst_pad_set_activatepull_function) 
10468         (gst_pad_set_activatepush_function): Setters for new API.
10469
10470         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10471         Trace all miniobjects.
10472         (gst_mini_object_make_writable): Unref the arg if we copy, like
10473         gst_caps_make_writable.
10474
10475         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10476
10477         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10478         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10479         Adapt for new pad API.
10480
10481         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10482
10483         * gst/gstelement.h:
10484         * gst/gstelement.c (gst_element_iterate_src_pads) 
10485         (gst_element_iterate_sink_pads): New API functions.
10486         
10487         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10488         should fold into gstiterator.c in some form.
10489         (gst_element_pads_activate): Simplified via use of fold and
10490         delegation of decisions to gstpad->activate.
10491
10492         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10493         help in debugging.
10494
10495         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10496         class once in init, like gstmessage. Didn't run into this issue
10497         but it seems correct. Don't initialize a trace, gstminiobject does
10498         that.
10499
10500         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10501         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10502         to the bus.
10503         (assert_live_count): New util function, uses alloc traces to check
10504         cleanup.
10505
10506         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10507         To be modified when unlink drops the internal pad.
10508
10509 2005-06-27  Wim Taymans  <wim@fluendo.com>
10510
10511         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10512         (gst_bin_change_state):
10513         Cleanup the get_state() function a little, make sure it
10514         iterates the same set of elements.
10515         Added stub iterate_state_order().
10516
10517 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10518
10519         * docs/gst/gstreamer-docs.sgml:
10520         * docs/gst/gstreamer-sections.txt:
10521         * docs/gst/gstreamer.types:
10522         * docs/gst/tmpl/gstbasesink.sgml:
10523         * docs/gst/tmpl/gstbasesrc.sgml:
10524         * docs/gst/tmpl/gstbasetransform.sgml:
10525         * docs/gst/tmpl/gstelement.sgml:
10526         * docs/gst/tmpl/gstiterator.sgml:
10527         * gst/base/gstbasesrc.c:
10528         * gst/base/gstbasesrc.h:
10529         * gst/base/gstbasetransform.h:
10530         * gst/gstelement.c:
10531         * gst/gstiterator.h:
10532           adding basetransform and iterator docs
10533
10534 2005-06-27  Andy Wingo  <wingo@pobox.com>
10535
10536         * docs/design/part-activation.txt: Notes on how activation should
10537         work -- not quite implemented yet.
10538
10539 2005-06-25  Wim Taymans  <wim@fluendo.com>
10540
10541         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10542         At least get the chain function correct, needs more
10543         fixing.
10544
10545 2005-06-25  Wim Taymans  <wim@fluendo.com>
10546
10547         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10548         (gst_basesink_handle_object), (gst_basesink_event),
10549         (gst_basesink_do_sync), (gst_basesink_handle_event),
10550         (gst_basesink_change_state):
10551         * gst/gsttask.h:
10552         Right, two problems here: ghostpads don't take locks and
10553         glib _rec_mutex_lock_full() with depth==0 still locks.
10554         Catch illegal locking and g_warn them.
10555
10556 2005-06-25  Wim Taymans  <wim@fluendo.com>
10557
10558         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10559         Have to check for completion now...
10560
10561 2005-06-25  Wim Taymans  <wim@fluendo.com>
10562
10563         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10564         (gst_basesink_handle_object), (gst_basesink_event),
10565         (gst_basesink_do_sync), (gst_basesink_handle_event),
10566         (gst_basesink_change_state):
10567         * gst/gstpad.h:
10568         Unlock STREAM_LOCK whatever the recursion was.
10569
10570 2005-06-25  Wim Taymans  <wim@fluendo.com>
10571
10572         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10573         (gst_basesink_preroll_queue_empty),
10574         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10575         (gst_basesink_event), (gst_basesink_do_sync),
10576         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10577         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10578         (gst_basesink_change_state):
10579         Reworked the base sink, handle event and buffer serialisation
10580         correctly and removed possible deadlock.
10581         Handle EOS correctly.
10582
10583 2005-06-25  Wim Taymans  <wim@fluendo.com>
10584
10585         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10586         (gst_pipeline_change_state):
10587         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10588         Allow elements to post EOS in the state change function.
10589         Fix up -launch, make it exit the poll loop when the
10590         pipeline actually changed state.
10591         Fix up warning parsing in -launch.
10592
10593 2005-06-25  Wim Taymans  <wim@fluendo.com>
10594
10595         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10596         (gst_tee_sink_activate):
10597         Core takes STREAM_LOCK for us now.
10598
10599 2005-06-25  Wim Taymans  <wim@fluendo.com>
10600
10601         * gst/gstelement.c: (gst_element_get_state_func),
10602         (gst_element_set_state):
10603         * gst/gstelement.h:
10604         * gst/gstmessage.c: (gst_message_parse_error),
10605         (gst_message_parse_warning):
10606         Keep track of current target state while performing a state
10607         change so that subclasses can do something interesting.
10608         Fix parsing of warning/error messages when GError is NULL.
10609
10610 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10611
10612         * docs/gst/Makefile.am:
10613         * docs/gst/gstreamer-docs.sgml:
10614         * docs/gst/gstreamer-sections.txt:
10615         * docs/gst/gstreamer.types:
10616         * docs/gst/tmpl/gstbasesink.sgml:
10617         * docs/gst/tmpl/gstbasesrc.sgml:
10618         * docs/gst/tmpl/gstbin.sgml:
10619         * docs/gst/tmpl/gstcompat.sgml:
10620         * docs/gst/tmpl/gstfakesink.sgml:
10621         * docs/gst/tmpl/gstfakesrc.sgml:
10622         * docs/gst/tmpl/gstfilesink.sgml:
10623         * docs/gst/tmpl/gstfilesrc.sgml:
10624         * docs/gst/tmpl/gstindex.sgml:
10625         * docs/manual/appendix-quotes.xml:
10626         * gst/base/gstbasesrc.h:
10627         * gst/elements/gstfakesrc.h:
10628         * gst/gstmessage.h:
10629           start pulling in base classes and elements in our docs
10630
10631 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10632
10633         * docs/gst/Makefile.am:
10634         * docs/libs/Makefile.am:
10635           fixed make distcheck with gtk-doc 1.3
10636
10637 2005-06-23  Wim Taymans  <wim@fluendo.com>
10638
10639         * gst/gstelement.c: (gst_element_get_state_func),
10640         (gst_element_set_state), (gst_element_change_state):
10641         When the state did not change, also report NO_PREROLL
10642         when it matters.
10643
10644 2005-06-23  Wim Taymans  <wim@fluendo.com>
10645
10646         * gst/gstpad.c: (gst_pad_event_default):
10647         * gst/gstqueue.c: (gst_queue_loop):
10648         No unsafe task pausing please.
10649
10650 2005-06-23  Wim Taymans  <wim@fluendo.com>
10651
10652         * gst/schedulers/threadscheduler.c:
10653         (gst_thread_scheduler_task_start),
10654         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10655         Ref the task before pushing it on the threadpool. This
10656         makes sure that we have a ref when the threadfunction is
10657         actually called.
10658
10659 2005-06-23  Andy Wingo  <wingo@pobox.com>
10660
10661         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10662         offset is greater than the file's size.
10663
10664         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10665         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10666         * gst/gstobject.c (gst_object_class_init): Make the class lock
10667         recursive. Wim won't let me drop deep_notify. Decodebin works
10668         again, whoopdy doo.
10669
10670         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10671         internal pad, and hacks accordingly. Doesn't do it on the target
10672         pad because we change its caps. Probably catches all cases of
10673         interest tho.
10674         (gst_ghost_pad_set_property): Connect to notify::caps as
10675         appropritate.
10676
10677         * tests/network-clock.scm (plot-simulation): Pipe data to the
10678         elite python skript.
10679
10680         * tests/network-clock-utils.scm (define-parameter): New macro,
10681         defines a parameter that can be set via the command line.
10682         (set-parameter!, parse-parameter-arguments): Command line args
10683         parser.
10684
10685         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10686         stdin.
10687
10688 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10689
10690         * gst/elements/gsttypefindelement.c:
10691         (gst_type_find_element_handle_event):
10692           Don't restart typefinding on a discont.
10693         * gst/gstelement.c: (gst_element_set_state):
10694           Debug spelling fix.
10695         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10696           Allow changing mode of an active pad.
10697           Debug output fixes.
10698         * gst/registries/gstlibxmlregistry.c: (load_feature):
10699           Don't cast a static pad template to a normal pad template.
10700
10701 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10702
10703         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10704         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10705           remove gst_strtoll completely, since it didn't actually do
10706           anything more than what g_ascii_strtoull already does.
10707           check for range errors when deserializing
10708           do a cast for the unsigned cases; but further fixing needs
10709           a decision on what the interpretation of "(int)" and
10710           deserialization should be for values that fall outside the
10711           type's boundaries (ie, refuse, or interpret as casting)
10712
10713 2005-06-23  Wim Taymans  <wim@fluendo.com>
10714
10715         * check/Makefile.am:
10716         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10717         * docs/design/part-live-source.txt:
10718         * docs/design/part-states.txt:
10719         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10720         (gst_basesrc_set_live), (gst_basesrc_is_live),
10721         (gst_basesrc_get_range), (gst_basesrc_activate),
10722         (gst_basesrc_change_state):
10723         * gst/base/gstbasesrc.h:
10724         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10725         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10726         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10727         * gst/gstelement.c: (gst_element_get_state_func),
10728         (gst_element_set_state):
10729         * gst/gstelement.h:
10730         * gst/gsttypes.h:
10731         * tools/gst-launch.c: (event_loop), (main):
10732         Added support for live sources and other elements that
10733         cannot do preroll.
10734         Updated design docs, added live-source design doc.
10735         Implemented live source functionality in basesrc
10736         Fix error condition in _bin_get_state()
10737         Implement live source handling in -launch.
10738         Added check for live sources.
10739         Fixed case in GstBin where elements were changed state
10740         multiple times.
10741
10742
10743 2005-06-23  Andy Wingo  <wingo@pobox.com>
10744
10745         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10746         borken refcounting.
10747
10748         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10749         gst_caps_replace takes care of this for us.
10750
10751         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10752         gst_pad_set_caps on the target, not just its setcaps() function.
10753
10754         * tests/network-clock.scm: 
10755         * tests/network-clock-utils.scm: A network clock simulator.
10756         Something of an algorithmic testbed before doing something in C.
10757
10758 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10759
10760         * check/Makefile.am:
10761         * check/gst/capslist.h:
10762           copy over from 0.8, and add two with bitmasks specified with
10763           (int) 0xFF...
10764         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10765           add test to parse everything from capslist.h
10766         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10767         (main):
10768           add test for structure deserialization
10769         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10770           add tests for deserialization of strings to int types
10771         * gst/gststructure.c: (gst_structure_nth_field_name):
10772         * gst/gststructure.h:
10773           add a way to get the name of a field referenced by index
10774         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10775           instead of checking if the resulting long long lies between
10776           min and max, we check if the long long would fit into
10777           a number of bytes for the final type.
10778           This fixes cases where a string represents 2^32 - 1, which
10779           when cast to int would be the (valid) -1, but is bigger than
10780           G_MAXINT
10781
10782 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10783
10784         * gst/parse/grammar.y:
10785           add a log line for type deserialization
10786
10787 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10788
10789         * check/gst/gstvalue.c: (START_TEST):
10790         * gst/gstvalue.c: (gst_value_deserialize):
10791           return long long, not int, so gint64 deserialization actually
10792           works.  Is there any flag that makes the compiler check this ?
10793           Fixes #308559
10794
10795 2005-06-22  Wim Taymans  <wim@fluendo.com>
10796
10797         * gst/gstbuffer.h:
10798         Added convenience macros for setting buffers in GValue.
10799
10800 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10801
10802         * check/gst/.cvsignore:
10803         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10804           add a test deserializing int64, and comment part out because
10805           it fails, yay !
10806
10807 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10808
10809         * check/Makefile.am:
10810         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10811         * testsuite/Makefile.am:
10812         * testsuite/caps/Makefile.am:
10813         * testsuite/caps/value_serialize.c:
10814         * testsuite/test_gst_init.c:
10815           move a value_serialize test over
10816
10817 2005-06-20  Wim Taymans  <wim@fluendo.com>
10818
10819         * gst/gstpad.c:
10820         Small doc updates.
10821         
10822         * gst/gstvalue.c: (gst_value_compare_buffer),
10823         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10824         (gst_value_compare_flags), (gst_value_serialize_flags),
10825         (gst_value_deserialize_flags), (_gst_value_initialize):
10826         Fix serialisation of buffers, they are not boxed types anymore
10827
10828 2005-06-20  Wim Taymans  <wim@fluendo.com>
10829
10830         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10831         Testcase to show error in buffer-on-caps serialisation.
10832
10833 2005-06-20  Andy Wingo  <wingo@pobox.com>
10834
10835         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10836         will be adding to later.
10837
10838         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10839         if its socks fill with rocks.
10840         (gst_system_clock_obtain): Set the name on object construction.
10841         Avoid double-checked locking.
10842
10843 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10844
10845         * gst/gsturi.c: (gst_element_make_from_uri):
10846           Fix potential endless loop.
10847
10848 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10849
10850         * check/Makefile.am:
10851           add gsttag
10852         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10853         (main):
10854           move over from testsuite dir and clean up
10855         * configure.ac:
10856         * gst/gsttag.c:
10857         * testsuite/Makefile.am:
10858         * testsuite/tags/.cvsignore:
10859         * testsuite/tags/Makefile.am:
10860         * testsuite/tags/merge.c:
10861           remove testsuite/tags
10862
10863 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10864
10865         * docs/gst/gstreamer-sections.txt:
10866         * docs/gst/tmpl/gstenumtypes.sgml:
10867         * win32/gstenumtypes.c:
10868           clean up documentation build a little
10869
10870 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10871
10872         * check/gstcheck.h:
10873           add macros for checking refcounts on objects and caps
10874         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10875           add some more unit tests
10876         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10877         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10878           fix leaked refcounts (I hope :)) so unittest works
10879         * gst/gstpad.h:
10880           whitespace removal
10881
10882 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10883
10884         * configure.ac: back to HEAD
10885
10886 === release 0.9.1 ===
10887
10888 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10889
10890         * NEWS:
10891         * RELEASE:
10892           updated
10893
10894 2005-06-17  Andy Wingo  <wingo@pobox.com>
10895
10896         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10897         assert; it's always possible that the pad gets deactivated in
10898         between the checks in gstpad.c and the implementation. Rely on
10899         finish_preroll() to return a FLUSHING or similar instead of on the
10900         assert.
10901         
10902         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10903         clock and post an EOS message if we come out of finish_preroll in
10904         the playing state.
10905
10906 2005-06-16  David Schleef  <ds@schleef.org>
10907
10908         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10909         (gst_capsfilter_set_property): Allow NULL as possible value
10910         for filter_caps property, indicating GST_CAPS_ANY.
10911
10912 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10913
10914         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10915           fix debug output
10916         * gst/schedulers/Makefile.am:
10917           use libgst prefix
10918         * gstreamer.spec.in:
10919           fix spec for it
10920
10921 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10922
10923         * gstreamer.spec.in:
10924           clean up
10925
10926 2005-06-08  Andy Wingo  <wingo@pobox.com>
10927
10928         * gst/gstutils.c: RPAD fixes all around.
10929         (gst_element_link_pads): Refcounting fixes.
10930
10931         * tools/gst-inspect.c:
10932         * tools/gst-xmlinspect.c:
10933         * parse/grammar.y:
10934         * gst/base/gsttypefindhelper.c:
10935         * gst/base/gstbasesink.c:
10936         * gst/gstqueue.c: RPAD fixes.
10937
10938         * gst/gstghostpad.h:
10939         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10940         pads. The tricky thing is they provide both source and sink
10941         interfaces, since they proxy the internal pad for the external
10942         pad, and vice versa. Implement with lower-level ProxyPad objects,
10943         with the interior proxy pad as a child of the exterior ghost pad.
10944         Should write a doc on this.
10945         
10946         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10947         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10948         gst_object API.
10949         
10950         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10951         pads are real pads. No ghost pads in this file. Not documenting
10952         the myriad s/RPAD/PAD/ and REALIZE fixes.
10953         (gst_pad_class_init): Add properties for "direction" and
10954         "template". Both are construct-only, so they can't change during
10955         the life of the pad. Fixes properly deriving from GstPad.
10956         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10957         derived objects, just set properties when creating the objects via
10958         g_object_new.
10959         (gst_pad_get_parent): Implement as a function, return NULL if the
10960         parent is not an element.
10961         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10962         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10963         
10964         * gst/gstobject.c (gst_object_class_init): Make name a construct
10965         property. Don't set it in the object init.
10966
10967         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10968         with UNKNOWN direction.
10969         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10970         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10971         (gst_element_remove_pad): Remove ghost-pad special cases.
10972         (gst_element_pads_activate): Remove rpad cruft.
10973
10974         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10975         catch the pad's-parent-not-an-element case.
10976
10977         * gst/gst.h: Include gstghostpad.h.
10978
10979         * gst/gst.c (init_post): No more real, ghost pads.
10980
10981         * gst/Makefile.am: Add gstghostpad.[ch].
10982
10983         * check/Makefile.am:
10984         * check/gst/gstbin.c:
10985         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10986         into a bin creates ghost pads, and that the refcounts are right.
10987         Partly moved from gstbin.c.
10988
10989 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10990
10991         * check/gst-libs/.cvsignore:
10992         * check/gst/.cvsignore:
10993         * check/pipelines/.cvsignore:
10994           ignore more
10995         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10996         (START_TEST), (cleanup_suite), (main):
10997           add some tests related to cleanup after running pipelines
10998
10999 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11000
11001         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11002           add a testsuite for GstBuffer
11003
11004 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11005
11006         * gst/gstminiobject.h:
11007           add defines for accessing the refcount
11008
11009 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
11010
11011         * Makefile.am: added support for html unit test coverage reports
11012
11013 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
11014
11015         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11016           Free existing caps if the capsfilter changes. Add a FIXME about
11017           setting those caps on the pads.
11018
11019         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11020           Before adding a ghost pad to a parent bin, check that there isn't
11021           already one for the element on the bin. Prevents infinite recursion
11022           when using decodebin in parse pipelines. Andy says he'll rewrite the
11023           way this works anyway, so ignore the hack.
11024
11025 2005-06-02  Andy Wingo  <wingo@pobox.com>
11026
11027         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11028         file size, pass it on to the type find helper.
11029
11030         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11031         segment_start and segment_end properly according to the seek
11032         method. Segment_end is still a bit flaky because offset can be
11033         negative for CUR and END cases, but it takes -1 as an "unset"
11034         value.
11035
11036 2005-06-02  Wim Taymans  <wim@fluendo.com>
11037
11038         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11039         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11040         (gst_basesink_activate):
11041         * gst/base/gstbasesink.h:
11042         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11043         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11044         (gst_pad_query), (gst_pad_start_task):
11045         * gst/gstpad.h:
11046         * gst/gstqueue.c: (gst_queue_bufferalloc),
11047         (gst_queue_handle_sink_event), (gst_queue_chain):
11048         Bufferalloc: return GstFlowReturn to more accuratly report
11049         why allocation failed.
11050
11051 2005-06-02  Wim Taymans  <wim@fluendo.com>
11052
11053         * gst/gstpipeline.c: (gst_pipeline_send_event):
11054         Take snapshot of state without blocking.
11055
11056 2005-06-02  Wim Taymans  <wim@fluendo.com>
11057
11058         * docs/design/part-TODO.txt:
11059         * docs/design/part-caps.txt:
11060         * docs/design/part-clocks.txt:
11061         * docs/design/part-negotiation.txt:
11062         * docs/design/part-preroll.txt:
11063         Small doc updates 
11064
11065 2005-05-30  Wim Taymans  <wim@fluendo.com>
11066
11067         * gst/elements/gstidentity.c: (gst_identity_event),
11068         (gst_identity_transform), (gst_identity_get_property):
11069         Protect last_message property as it is accessed from
11070         multiple threads.
11071
11072 2005-05-30  Wim Taymans  <wim@fluendo.com>
11073
11074         * gst/gstelement.c: (gst_element_init),
11075         (gst_element_pads_activate), (gst_element_change_state):
11076         Slicker pad activation code.
11077
11078 2005-05-30  Wim Taymans  <wim@fluendo.com>
11079
11080         * gst/Makefile.am:
11081         * gst/gstelement.h:
11082         * gst/gstelementfactory.h:
11083         * gst/gsttypes.h:
11084         Move elementfactory methods to separate .h file.
11085
11086 2005-05-30  Wim Taymans  <wim@fluendo.com>
11087
11088         * docs/design/part-overview.txt:
11089         * gst/gstsystemclock.h:
11090         Small typo fixes, doc updates.
11091
11092 2005-05-30  Wim Taymans  <wim@fluendo.com>
11093
11094         * gst/gst.c: (gst_init_get_popt_table), (init_post),
11095         (init_popt_callback):
11096         Remove cpu-opt flag.
11097
11098 2005-05-30  Wim Taymans  <wim@fluendo.com>
11099
11100         * gst/gstbuffer.c: (gst_subbuffer_finalize),
11101         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11102         * gst/gstbuffer.h:
11103         Avoid typechecking in places where not needed.
11104         Added accessor for malloc_data.
11105
11106 2005-05-30  Wim Taymans  <wim@fluendo.com>
11107
11108         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11109         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11110         (gst_pad_configure_sink), (gst_pad_configure_src),
11111         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11112         (gst_pad_start_task):
11113         Propagate errors from _set_caps() in configure_src/sink
11114         functions instead of returning TRUE.
11115         FLUSH events can travel up and downstream
11116
11117
11118 2005-05-30  Wim Taymans  <wim@fluendo.com>
11119
11120         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11121         (gst_basesink_activate):
11122         Handle EOS in preroll.
11123
11124 2005-05-30  Wim Taymans  <wim@fluendo.com>
11125
11126         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11127         (gst_queue_loop), (gst_queue_handle_src_event):
11128         Remove old pieces of code
11129         Flushing the queue in an upstream event is a very bad idea.
11130
11131 2005-05-26  Andy Wingo  <wingo@pobox.com>
11132
11133         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11134         gst_value_set_mini_object so as to add a ref on the object (which
11135         will be removed when the value is unset).
11136
11137         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11138         arg type in ::handoff.
11139
11140         * gst/gstelement.c (gst_element_change_state): Also deactivate
11141         pads in READY->NULL, just in case the element didn't make it to
11142         PAUSED. Wingo tested, Wim approved.
11143
11144 2005-05-26  Wim Taymans  <wim@fluendo.com>
11145
11146         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11147         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11148         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11149         A flushing pad cannot be used to alloc_buffer from.
11150
11151 2005-05-26  Wim Taymans  <wim@fluendo.com>
11152
11153         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11154         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11155         (gst_bus_source_dispatch), (gst_bus_source_finalize),
11156         (gst_bus_create_watch), (gst_bus_add_watch_full):
11157         * gst/gstbus.h:
11158         Implement a real GSource and use g_main_context_wakeup() to
11159         signal new messages instead of the socketpair.
11160
11161 2005-05-25  Wim Taymans  <wim@fluendo.com>
11162
11163         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11164         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11165         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11166         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11167         (gst_pad_send_event), (gst_pad_start_task):
11168         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11169         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11170         (gst_queue_sink_activate), (gst_queue_src_activate),
11171         (gst_queue_change_state):
11172         * gst/gstqueue.h:
11173         Fix state changes for non sinks. We now change sinks, then elements
11174         with unconnected srcpads, then the rest.
11175         More efficient queue unlocking in flush and state changes.
11176         Set the pad activate mode even if it does not have an activate
11177         function.
11178
11179 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11180
11181         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11182           Don't go in pull mode for non-seekable sources.
11183         * gst/elements/gsttypefindelement.h:
11184         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11185         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11186         (free_entry), (stop_typefinding),
11187         (gst_type_find_element_handle_event), (find_peek),
11188         (gst_type_find_element_chain), (do_pull_typefind),
11189         (gst_type_find_element_change_state):
11190           Allow typefinding (w/o seeking) in push-mode, simplified version
11191           of what was in 0.8.
11192         * gst/gstutils.c: (gst_buffer_join):
11193         * gst/gstutils.h:
11194           gst_buffer_join() from 0.8.
11195
11196 2005-05-25  Wim Taymans  <wim@fluendo.com>
11197
11198         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11199         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11200         (gst_pad_send_event), (gst_pad_start_task):
11201         Disable attempt at mode switching until it is figured out.
11202
11203 2005-05-25  Wim Taymans  <wim@fluendo.com>
11204
11205         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11206         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11207         (gst_basesink_finish_preroll), (gst_basesink_chain),
11208         (gst_basesink_loop), (gst_basesink_activate),
11209         (gst_basesink_change_state):
11210         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11211         (gst_basesrc_get_range), (gst_basesrc_loop),
11212         (gst_basesrc_activate):
11213         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11214         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11215         (gst_real_pad_init), (gst_real_pad_set_property),
11216         (gst_real_pad_get_property), (gst_pad_set_active),
11217         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11218         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11219         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11220         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11221         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11222         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11223         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11224         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11225         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11226         (gst_pad_stop_task):
11227         * gst/gstpad.h:
11228         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11229         (gst_queue_loop), (gst_queue_src_activate):
11230         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11231         (gst_task_get_state):
11232         * gst/gsttask.h:
11233         * gst/schedulers/threadscheduler.c:
11234         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11235         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11236         in task function.
11237         Remove ACTIVE pad flag, use FLUSHING everywhere
11238         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11239         functions.
11240         Add locks around IS_FLUSHING when reading.
11241         Take STREAM lock in chain(), get_range() functions so plugins
11242         don't need to take it anymore.
11243         
11244
11245
11246 2005-05-25  Wim Taymans  <wim@fluendo.com>
11247
11248         * tools/gst-launch.c: (event_loop):
11249         Unref message after using its contents instead of
11250         before.
11251
11252 2005-05-24  Wim Taymans  <wim@fluendo.com>
11253
11254         * docs/design/draft-ghostpads.txt:
11255         * docs/design/draft-push-pull.txt:
11256         * docs/design/draft-query.txt:
11257         * docs/design/part-overview.txt:
11258         Docs updates, added general overview doc.
11259
11260 2005-05-21  David Schleef  <ds@schleef.org>
11261
11262         * docs/gst/tmpl/old/GstBin.sgml:
11263         * docs/gst/tmpl/old/GstBuffer.sgml:
11264         * docs/gst/tmpl/old/GstCaps.sgml:
11265         * docs/gst/tmpl/old/GstClock.sgml:
11266         * docs/gst/tmpl/old/GstCompat.sgml:
11267         * docs/gst/tmpl/old/GstData.sgml:
11268         * docs/gst/tmpl/old/GstElement.sgml:
11269         * docs/gst/tmpl/old/GstEvent.sgml:
11270         * docs/gst/tmpl/old/GstIndex.sgml:
11271         * docs/gst/tmpl/old/GstStructure.sgml:
11272         * docs/gst/tmpl/old/GstTag.sgml:
11273         * docs/gst/tmpl/old/cothreads.sgml:
11274         * docs/gst/tmpl/old/cothreads_compat.sgml:
11275         * docs/gst/tmpl/old/gettext.sgml:
11276         * docs/gst/tmpl/old/gobject2gtk.sgml:
11277         * docs/gst/tmpl/old/grammar.tab.sgml:
11278         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11279         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11280         * docs/gst/tmpl/old/gst_private.sgml:
11281         * docs/gst/tmpl/old/gstaggregator.sgml:
11282         * docs/gst/tmpl/old/gstarch.sgml:
11283         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11284         * docs/gst/tmpl/old/gstbufferstore.sgml:
11285         * docs/gst/tmpl/old/gstdata_private.sgml:
11286         * docs/gst/tmpl/old/gstdisksink.sgml:
11287         * docs/gst/tmpl/old/gstdisksrc.sgml:
11288         * docs/gst/tmpl/old/gstelementfactory.sgml:
11289         * docs/gst/tmpl/old/gstextratypes.sgml:
11290         * docs/gst/tmpl/old/gstfakesink.sgml:
11291         * docs/gst/tmpl/old/gstfakesrc.sgml:
11292         * docs/gst/tmpl/old/gstfdsink.sgml:
11293         * docs/gst/tmpl/old/gstfdsrc.sgml:
11294         * docs/gst/tmpl/old/gstfilesink.sgml:
11295         * docs/gst/tmpl/old/gstfilesrc.sgml:
11296         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11297         * docs/gst/tmpl/old/gstidentity.sgml:
11298         * docs/gst/tmpl/old/gstindexfactory.sgml:
11299         * docs/gst/tmpl/old/gstmarshal.sgml:
11300         * docs/gst/tmpl/old/gstmd5sink.sgml:
11301         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11302         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11303         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11304         * docs/gst/tmpl/old/gstpipefilter.sgml:
11305         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11306         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11307         * docs/gst/tmpl/old/gstshaper.sgml:
11308         * docs/gst/tmpl/old/gstspider.sgml:
11309         * docs/gst/tmpl/old/gstspideridentity.sgml:
11310         * docs/gst/tmpl/old/gststatistics.sgml:
11311         * docs/gst/tmpl/old/gsttee.sgml:
11312         * docs/gst/tmpl/old/gsttimecache.sgml:
11313         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11314         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11315         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11316         * docs/gst/tmpl/old/types.sgml:
11317           I didn't intend to add these or check them in.
11318
11319 2005-05-19  David Schleef  <ds@schleef.org>
11320
11321         * configure.ac: Use -no-common everywhere.  In a sane world, it
11322           would be the default in libtool, because without it, you can't
11323           build DLLs on Windows.
11324         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11325         * docs/gst/gstreamer-sections.txt:
11326         * docs/gst/tmpl/gstcpu.sgml:
11327         * docs/gst/tmpl/gstdata.sgml:
11328         * docs/gst/tmpl/gstthread.sgml:
11329
11330 2005-05-19  David Schleef  <ds@schleef.org>
11331
11332         * gst/gstminiobject.c: (gst_value_set_mini_object),
11333         (gst_value_take_mini_object), (gst_value_get_mini_object):
11334         * gst/gstminiobject.h: Add GValue set/get functions.
11335
11336 2005-05-19  Wim Taymans  <wim@fluendo.com>
11337
11338         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11339         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11340         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11341         * gst/gstbuffer.h:
11342         * gst/gstbus.c: (gst_bus_post):
11343         * gst/gstelement.c: (gst_element_get_random_pad):
11344         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11345         Make subbufer unref the parent in finalize.
11346         some more debugging info.
11347
11348
11349 2005-05-19  Wim Taymans  <wim@fluendo.com>
11350
11351         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11352         (gst_basesink_init), (gst_basesink_finalize),
11353         (gst_basesink_activate), (gst_basesink_change_state):
11354         Don't free preroll queue too early.
11355
11356 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11357
11358         * gst/Makefile.am:
11359         * gst/ROADMAP:
11360           Hi, I'm outdated. Please shoot me.
11361
11362 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11363
11364         * gst/gstpipeline.c: (gst_pipeline_send_event):
11365           Do not access variables after they have been deleted.
11366
11367 2005-05-19  Wim Taymans  <wim@fluendo.com>
11368
11369         * tools/gst-inspect.c: (print_plugin_features):
11370         A plugin feature does unfortunatly not use the
11371         object name yet...
11372
11373 2005-05-18  Wim Taymans  <wim@fluendo.com>
11374
11375         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11376         Port _span() functions to new subbuffers.
11377
11378 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11379
11380         * gst/gstbin.c: (gst_bin_add_func):
11381           Fix clock settery in bins when adding kids after the clock has
11382           been selected.
11383
11384 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11385
11386         * gst/elements/gstidentity.c: (gst_identity_class_init):
11387           Workaround until signals support GstMiniObject.
11388
11389 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11390
11391         * gst/gstbuffer.c:
11392         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11393
11394 2005-05-18  Wim Taymans  <wim@fluendo.com>
11395
11396         * gst/base/Makefile.am:
11397         * gst/base/gstadapter.c: (gst_adapter_base_init),
11398         (gst_adapter_class_init), (gst_adapter_init),
11399         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11400         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11401         (gst_adapter_flush), (gst_adapter_available),
11402         (gst_adapter_available_fast):
11403         * gst/base/gstadapter.h:
11404         Ported and added adapter to the base classes.
11405
11406 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11407
11408         * gst/gst.c:
11409         * gst/gstmessage.c:
11410           Make sure the class is reffed/unreffed once before threads can be
11411           used.  Fixes #304551.
11412
11413 2005-05-17  Wim Taymans  <wim@fluendo.com>
11414
11415         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11416         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11417         * gst/gstminiobject.c: (gst_mini_object_get_type),
11418         (gst_mini_object_free):
11419         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11420         (gst_pad_push), (gst_pad_push_event):
11421         * gst/gstqueue.c: (gst_queue_change_state):
11422         Don't queue buffers in basesink when we are flushing.
11423         Unref buffer when flushing in basesink.
11424         Flush queue when going to READY
11425         Unref buffer when _push() returns an error.
11426         Don't free MiniObject instance when refcount is incremented
11427         in _finalize() so that we can recover objects.
11428
11429 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11430
11431         * docs/manual/advanced-schedulers.xml:
11432         * docs/manual/appendix-checklist.xml:
11433         * docs/pwg/advanced-clock.xml:
11434         * docs/pwg/advanced-interfaces.xml:
11435         * docs/pwg/advanced-request.xml:
11436         * docs/pwg/advanced-types.xml:
11437         * docs/pwg/intro-preface.xml:
11438         * examples/plugins/example.c: (gst_example_get_type),
11439         (gst_example_class_init), (gst_example_chain),
11440         (gst_example_set_property), (gst_example_get_property),
11441         (gst_example_change_state), (plugin_init):
11442         * examples/plugins/example.h:
11443           small doc fixes
11444
11445 2005-05-17  Wim Taymans  <wim@fluendo.com>
11446
11447         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11448         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11449         * gst/gstqueue.c: (gst_queue_change_state):
11450         Clear queue when going to READY.
11451         Remove IN_SETCAPS flag too.
11452
11453 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11454
11455         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11456           Remove implicit cast from gboolean to GstElementStateReturn;
11457           make sure we still return failure in paused => ready case if
11458           the parent class fails to change state and our own stop 
11459           vfunc succeeds.
11460
11461 2005-05-17  Wim Taymans  <wim@fluendo.com>
11462
11463         * tools/gst-launch.c: (event_loop):
11464         Message was unreffed too soon.
11465
11466 2005-05-16  Andy Wingo  <wingo@pobox.com>
11467
11468         * gst/gstbin.c (sink_iterator_filter): Err... um...
11469
11470         * check/gst/gstbin.c (test_ghost_pads): New test for the
11471         ghosting-if-elements-not-in-same-bin behavior.
11472
11473 2005-05-16  David Schleef  <ds@schleef.org>
11474
11475         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11476         accessing refcount directly.
11477
11478 2005-05-15  David Schleef  <ds@schleef.org>
11479
11480         * check/Makefile.am: remove GstData checks
11481         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11482         * gst/Makefile.am: add miniobject, remove data
11483         * gst/gst.h: add miniobject, remove data
11484         * gst/gstdata.c: remove
11485         * gst/gstdata.h: remove
11486         * gst/gstdata_private.h: remove
11487         * gst/gsttypes.h: remove GstEvent and GstMessage
11488         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11489         * gst/gstmarshal.list: change BOXED -> OBJECT
11490
11491         Implement GstMiniObject.
11492         * gst/gstminiobject.c:
11493         * gst/gstminiobject.h:
11494
11495         Modify to be subclasses of GstMiniObject.
11496         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11497         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11498         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11499         (gst_subbuffer_get_type), (gst_subbuffer_init),
11500         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11501         (gst_buffer_span):
11502         * gst/gstbuffer.h:
11503         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11504         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11505         (_gst_event_copy), (gst_event_new):
11506         * gst/gstevent.h:
11507         * gst/gstmessage.c: (_gst_message_initialize),
11508         (gst_message_get_type), (gst_message_class_init),
11509         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11510         (gst_message_new), (gst_message_new_error),
11511         (gst_message_new_warning), (gst_message_new_tag),
11512         (gst_message_new_state_changed), (gst_message_new_application):
11513         * gst/gstmessage.h:
11514         * gst/gstprobe.c: (gst_probe_perform),
11515         (gst_probe_dispatcher_dispatch):
11516         * gst/gstprobe.h:
11517         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11518         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11519         (_gst_query_copy), (gst_query_new):
11520
11521         Update elements for GstData -> GstMiniObject changes
11522         * gst/gstquery.h:
11523         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11524         (gst_queue_chain), (gst_queue_loop):
11525         * gst/elements/gstbufferstore.c:
11526         (gst_buffer_store_add_buffer_func),
11527         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11528         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11529         (gst_fakesink_render):
11530         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11531         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11532         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11533         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11534         (gst_filesrc_create_read):
11535         * gst/elements/gstidentity.c: (gst_identity_class_init):
11536         * gst/elements/gsttypefindelement.c:
11537         (gst_type_find_element_src_event), (free_entry_buffers),
11538         (gst_type_find_element_handle_event):
11539         * libs/gst/dataprotocol/dataprotocol.c:
11540         (gst_dp_header_from_buffer):
11541         * libs/gst/dataprotocol/dataprotocol.h:
11542         * libs/gst/dataprotocol/dp-private.h:
11543
11544 2005-05-15  David Schleef  <ds@schleef.org>
11545
11546         * gst/elements/gstelements.c: Don't include headers that were
11547         just removed.
11548
11549 2005-05-15  David Schleef  <ds@schleef.org>
11550
11551         * gst/elements/Makefile.am: Remove some elements that don't
11552         need to be in the core (or even exist at all).
11553         * gst/elements/gstaggregator.c:
11554         * gst/elements/gstaggregator.h:
11555         * gst/elements/gstmd5sink.c:
11556         * gst/elements/gstmd5sink.h:
11557         * gst/elements/gstmultifilesrc.c:
11558         * gst/elements/gstmultifilesrc.h:
11559         * gst/elements/gstpipefilter.c:
11560         * gst/elements/gstpipefilter.h:
11561         * gst/elements/gstshaper.c:
11562         * gst/elements/gstshaper.h:
11563         * gst/elements/gststatistics.c:
11564         * gst/elements/gststatistics.h:
11565         * po/POTFILES.in: Remove above files.
11566
11567 2005-05-14  Andy Wingo  <wingo@pobox.com>
11568
11569         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11570         so as to get the refs right.
11571         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11572         unreffing objects that don't pass the filter.
11573
11574         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11575         gst_element_set_bus.
11576         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11577         normal cases, this will destroy the bus.
11578
11579         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11580         object.
11581
11582         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11583         has no sinks.
11584
11585 2005-05-13  Andy Wingo  <wingo@pobox.com>
11586
11587         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11588         gst_pad_link, call pad_link_maybe_ghosting,
11589         (pad_link_maybe_ghosting): Links pads, making sure that the
11590         elements being linked are in the same bin.
11591         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11592         Helpers for pad_link_maybe_ghosting.
11593
11594 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11595
11596         * configure.ac:
11597           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11598
11599 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11600
11601         * docs/design/part-element-source.txt:
11602           Mention GstPushSrc
11603
11604 2005-05-12  Wim Taymans  <wim@fluendo.com>
11605
11606         * gst/base/gstbasesink.c: (gst_basesink_init),
11607         (gst_basesink_activate):
11608         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11609         (gst_basesrc_is_seekable):
11610         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11611         (bin_element_is_sink), (gst_bin_change_state):
11612         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11613         * gst/gstelement.h:
11614         Identify sinks by their flag to avoid overly complicated
11615         checks (fow now).
11616         Do state changes even for elements not reachable from the
11617         sinks.
11618         BaseSink is a sink now :)
11619         Some more debugging info in the basesrc.
11620
11621
11622 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11623
11624         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11625           Implement _query on a bin, similar to _send_event.
11626
11627 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11628
11629         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11630           Discont event offset format should be GST_FORMAT_BYTES,
11631           not GST_FORMAT_TIME.
11632
11633 2005-05-12  Wim Taymans  <wim@fluendo.com>
11634
11635         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11636         Same fix as Ronald's but without the signal. 
11637
11638 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11639
11640         * gst/gstutils.c: (gst_element_query_position):
11641           No, an element is not a pad.
11642
11643 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11644
11645         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11646         (gst_bin_get_state):
11647           If a child is removed from a bin while we remove the child from
11648           the bin and while we're retrieving its state, signal this to the
11649           get_state function so we abort the wait (instead of waiting for
11650           a timeout) and can immediately re-iterate over all other elements.
11651
11652 2005-05-12  Wim Taymans  <wim@fluendo.com>
11653
11654         * gst/base/Makefile.am:
11655         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11656         (gst_basesrc_start):
11657         * gst/base/gstbasesrc.h:
11658         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11659         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11660         (gst_pushsrc_init), (gst_pushsrc_create):
11661         * gst/base/gstpushsrc.h:
11662         Added is_seekable to BaseSrc
11663         Added simple PushSrc.
11664
11665 2005-05-11  Wim Taymans  <wim@fluendo.com>
11666
11667         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11668         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11669         (gst_element_link_pads), (gst_element_query_position),
11670         (gst_element_query_convert), (intersect_caps_func),
11671         (gst_pad_query_position), (gst_pad_query_convert):
11672         Fix refcounting in utils function.
11673         No point in trying to activate a pad when it's added, it could
11674         be added from the state change function and then we deadlock, the
11675         element has to decide what to do.
11676
11677 2005-05-10  Andy Wingo  <wingo@pobox.com>
11678
11679         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11680         *all* the arguments.
11681
11682         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11683         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11684         lock (according to the docs -- if this is wrong change the docs).
11685
11686         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11687         flush messages in the NULL state.
11688
11689         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11690         message immediately and return.
11691         (gst_bus_set_flushing): New function. If a bus is flushing, it
11692         flushes out any queued messages and immediately unrefs new
11693         messages. This is so when an element goes to NULL, all of the
11694         unhandled messages coming from it can be freed, and their
11695         references to the element dropped. In other words: message source
11696         ref considered harmful :P
11697
11698         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11699         we're finished with it.
11700
11701         * gst/gstmessage.c (gst_message_new_state_changed): 
11702
11703 2005-05-10  Wim Taymans  <wim@fluendo.com>
11704
11705         * gst/gstvalue.c: (gst_value_compare_flags),
11706         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11707         (_gst_value_initialize):
11708         Added flags serialize/deserialize/compare code.
11709
11710 2005-05-09  Andy Wingo  <wingo@pobox.com>
11711
11712         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11713         Intersect the peer's caps with our caps.
11714
11715 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11716
11717         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11718         * gst/elements/gsttypefindelement.c: (find_peek):
11719           Handle negative offsets better. Fixes decodebin.
11720
11721 2005-05-09  Wim Taymans  <wim@fluendo.com>
11722
11723         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11724         (gst_base_transform_event):
11725         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11726         Implement accept_caps.
11727         Fix silly lock/unlock mismatch in base class.
11728
11729 2005-05-09  Wim Taymans  <wim@fluendo.com>
11730
11731         * docs/design/draft-push-pull.txt:
11732         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11733         * gst/elements/gstfilesink.c: (gst_filesink_init),
11734         (gst_filesink_query):
11735         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11736         (gst_type_find_handle_src_query), (find_element_get_length):
11737         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11738         * gst/gstelement.h:
11739         * gst/gstmessage.c:
11740         * gst/gstmessage.h:
11741         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11742         (gst_real_pad_get_caps_unlocked),
11743         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11744         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11745         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11746         (gst_real_pad_dispose), (gst_real_pad_finalize),
11747         (gst_pad_load_and_link), (gst_pad_save_thyself),
11748         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11749         (gst_pad_check_pull_range), (gst_pad_pull_range),
11750         (gst_pad_template_get_type), (gst_pad_template_class_init),
11751         (gst_pad_template_init), (gst_pad_template_dispose),
11752         (name_is_valid), (gst_static_pad_template_get),
11753         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11754         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11755         (gst_pad_get_element_private), (gst_pad_start_task),
11756         (gst_pad_pause_task), (gst_pad_stop_task),
11757         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11758         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11759         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11760         (gst_ghost_pad_new):
11761         * gst/gstpad.h:
11762         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11763         (gst_query_new_position), (gst_query_set_position),
11764         (gst_query_parse_position), (gst_query_new_convert),
11765         (gst_query_set_convert), (gst_query_parse_convert):
11766         * gst/gstquery.h:
11767         * gst/gstqueryutils.c:
11768         * gst/gstqueryutils.h:
11769         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11770         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11771         (gst_queue_handle_src_query):
11772         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11773         (gst_element_query_position), (gst_element_query_convert),
11774         (intersect_caps_func), (gst_pad_query_position),
11775         (gst_pad_query_convert):
11776         * gst/gstutils.h:
11777         * tools/gst-inspect.c: (print_pad_info):
11778         * tools/gst-xmlinspect.c: (print_element_info):
11779         Remove old query functions. Ported old code.
11780         Added position/convert helper functions to gstutils.
11781         Reordered gstpad.c code, grouping relevant things.
11782         Remove gst_message_new(), always need to speficy a specific
11783         message.
11784
11785
11786 2005-05-09  Andy Wingo  <wingo@pobox.com>
11787
11788         * gst/gstiterator.h: Add some includes.
11789
11790         * gst/gstqueryutils.h: Include more headers.
11791
11792         * gst/gstpad.h:
11793         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11794         some uses of gst_pad_query.
11795
11796         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11797         NULL out parameters.
11798         (gst_query_new_position): New proc, allocates a new position
11799         query.
11800
11801         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11802         gstqueryutils.c to the build.
11803
11804         * gst/gststructure.c (gst_structure_set_valist): Implement with
11805         the generic G_VALUE_COLLECT.
11806         
11807 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11808
11809         * gst/Makefile.am: (gst_headers):
11810         Added gstqueryutils.h to the list of headers to install, that was
11811         a 'nachty' move wingo :)
11812
11813 2005-05-06  Andy Wingo  <wingo@pobox.com>
11814
11815         * gst/gstquery.h
11816         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11817         GstData, init a memchunk.
11818         (standard_definitions): Add a few query types, deprecate a few.
11819         (gst_query_get_type): New proc.
11820         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11821         implementation.
11822         (gst_query_new_application, gst_query_get_structure): New public
11823         procs.
11824
11825         * docs/design/draft-query.txt: Removed LINKS from the query types,
11826         because all the rest can be dispatched to other pads -- seemed
11827         ugly to have a query that couldn't be dispatched. internal_links
11828         is fine as a pad method.
11829
11830         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11831         in gstpad.c, but maintain binary compatibility for the moment.
11832         Will fix before 0.9 is out.
11833
11834         * gst/gstqueryutils.c: 
11835         * gst/gstqueryutils.h: New files, implement 3 methods for each
11836         query type: parse_query, parse_response, and set. Probably need an
11837         allocator as well.
11838
11839         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11840
11841         * gst/elements/gstfilesink.c (gst_filesink_query2):
11842         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11843         query_types, and formats methods.
11844
11845         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11846         (gst_pad_set_query2_function): New functions.
11847         (gst_real_pad_init): Set query2_default as the default query2
11848         function. Basically just dispatches to internally linked pads.
11849
11850         Needs review!
11851         
11852         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11853         without using the atomic operations. Only one thread can possibly
11854         be accessing the data at this point. Changed so as to avoid
11855         gst_atomic operations.
11856
11857 2005-05-06  Wim Taymans  <wim@fluendo.com>
11858
11859         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11860         Also set caps if we use the fallback buffer alloc.
11861
11862 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11863
11864         * docs/gst/Makefile.am:
11865         * docs/gst/gstreamer-docs.sgml:
11866         * docs/gst/gstreamer-sections.txt:
11867         * docs/gst/tmpl/gstatomic.sgml:
11868         * docs/gst/tmpl/gstmemchunk.sgml:
11869         * testsuite/elements/struct_i386.h:
11870         * win32/GStreamer.vcproj:
11871         * win32/Makefile:
11872           Purge GstAtomic stuff from docs and win32 makefiles as well
11873
11874 2005-05-06  Wim Taymans  <wim@fluendo.com>
11875
11876         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11877         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11878         * gst/gstpad.c: (gst_pad_peer_get_caps):
11879         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11880         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11881         (gst_queue_src_activate), (gst_queue_change_state):
11882         * gst/gstqueue.h:
11883         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11884         (intersect_caps_func):
11885         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11886         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11887         Some fixes for the peer_get_caps() change.
11888
11889 2005-05-06  Wim Taymans  <wim@fluendo.com>
11890
11891         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11892         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11893         (gst_basesink_activate):
11894         Actually do something with error codes returned from the push
11895         functions.
11896
11897 2005-05-06  Wim Taymans  <wim@fluendo.com>
11898
11899         * docs/design/part-element-sink.txt:
11900         * docs/design/part-element-source.txt:
11901         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11902         (gst_basesink_event), (gst_basesink_activate):
11903         * gst/base/gstbasesink.h:
11904         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11905         (gst_basesrc_activate):
11906         * gst/base/gstbasesrc.h:
11907         * gst/gstelement.c: (gst_element_pads_activate):
11908         Some more documentation.
11909         Fixed scheduling decision in _pads_activate().
11910
11911 2005-05-05  Andy Wingo  <wingo@pobox.com>
11912
11913         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11914         the test suite.
11915
11916 2005-05-05  Wim Taymans  <wim@fluendo.com>
11917
11918         * gst/base/Makefile.am:
11919         * gst/base/gstbasesink.h:
11920         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11921         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11922         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11923         (gst_collectpads_class_init), (gst_collectpads_init),
11924         (gst_collectpads_finalize), (gst_collectpads_new),
11925         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11926         (find_pad), (gst_collectpads_remove_pad),
11927         (gst_collectpads_is_active), (gst_collectpads_collect),
11928         (gst_collectpads_collect_range), (gst_collectpads_start),
11929         (gst_collectpads_stop), (gst_collectpads_peek),
11930         (gst_collectpads_pop), (gst_collectpads_available),
11931         (gst_collectpads_read), (gst_collectpads_flush),
11932         (gst_collectpads_chain):
11933         * gst/base/gstcollectpads.h:
11934         * gst/elements/Makefile.am:
11935         * gst/elements/gstelements.c:
11936         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11937         (gst_fakesink_get_times), (gst_fakesink_event),
11938         (gst_fakesink_preroll), (gst_fakesink_render):
11939         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11940         (gst_filesink_init), (gst_filesink_set_location),
11941         (gst_filesink_open_file), (gst_filesink_close_file),
11942         (gst_filesink_pad_query), (gst_filesink_event),
11943         (gst_filesink_render), (gst_filesink_change_state):
11944         * gst/elements/gstfilesink.h:
11945         Added object to help in making collect pad based elements.
11946         Ported filesink.
11947         Make event function in sink baseclass return gboolean.
11948
11949 2005-05-05  Wim Taymans  <wim@fluendo.com>
11950
11951         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11952         (gst_bin_get_by_name):
11953         * gst/gstbuffer.h:
11954         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11955         (gst_clock_finalize):
11956         * gst/gstdata.c: (gst_data_replace):
11957         * gst/gstdata.h:
11958         * gst/gstelement.c: (gst_element_request_pad),
11959         (gst_element_pads_activate):
11960         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11961         (gst_object_unref):
11962         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11963         (gst_pad_set_checkgetrange_function),
11964         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11965         (gst_pad_check_pull_range), (gst_pad_pull_range),
11966         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11967         (gst_pad_pause_task), (gst_pad_stop_task):
11968         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11969         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11970         Fix name lookup in GstBin.
11971         Added _data_replace() function and _buffer_replace()
11972         Use finalize method to clean up clock.
11973         Fix refcounting on request pads.
11974         Fix pad schedule mode error.
11975         Some more object refcounting debug info,
11976
11977
11978 2005-05-04  Andy Wingo <wingo@pobox.com>
11979
11980         * check/Makefile.am:
11981         * docs/gst/tmpl/gstatomic.sgml:
11982         * docs/gst/tmpl/gstplugin.sgml:
11983         * gst/base/gstbasesink.c: (gst_basesink_activate):
11984         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11985         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11986         (gst_basesrc_query), (gst_basesrc_set_property),
11987         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11988         (gst_basesrc_activate):
11989         * gst/base/gstbasesrc.h:
11990         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11991         (gst_base_transform_src_activate):
11992         * gst/elements/gstelements.c:
11993         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11994         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11995         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11996         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11997         (gst_type_find_element_checkgetrange),
11998         (gst_type_find_element_activate):
11999         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12000         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12001         (gst_caps_load_thyself):
12002         * gst/gstelement.c: (gst_element_pads_activate),
12003         (gst_element_save_thyself), (gst_element_restore_thyself):
12004         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12005         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12006         * gst/gstpad.h:
12007         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12008         (gst_xml_parse_file), (gst_xml_parse_memory),
12009         (gst_xml_get_element), (gst_xml_make_element):
12010         * gst/indexers/gstfileindex.c: (gst_file_index_load),
12011         (_file_index_id_save_xml), (gst_file_index_commit):
12012         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12013         (read_enum), (load_pad_template), (load_feature), (load_plugin),
12014         (load_paths):
12015         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12016         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12017         * tools/gst-complete.c: (main):
12018         * tools/gst-compprep.c: (main):
12019         * tools/gst-inspect.c: (print_element_properties_info):
12020         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12021         * tools/gst-xmlinspect.c: (print_element_properties):
12022         GCC 4 fixen.
12023         
12024 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12025
12026         * gst/gstplugin.c: (gst_plugin_check_module),
12027         (gst_plugin_check_file), (gst_plugin_load_file):
12028             apply patch from #172526 to make register work on MacOSX
12029
12030 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12031
12032         * docs/gst/tmpl/gstconfig.sgml:
12033         * gst/gstconfig.h.in:
12034           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
12035         * testsuite/debug/printf_extension.c: (main):
12036           Do not use GST_PTR_FORMAT on pointers to types with
12037           sizeof < sizeof(gpointer).  Fixes test on 64-bit
12038         * testsuite/elements/property.h:
12039           use correct printf format
12040
12041 2005-05-02  Wim Taymans  <wim@fluendo.com>
12042
12043         * docs/design/draft-push-pull.txt:
12044         * docs/design/draft-query.txt:
12045         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12046         (gst_basesrc_start):
12047         Added draft for new query API.
12048         Added draft for better selecting scheduling methods.
12049         Make basesrc ignore length if the subclass does not support
12050         it.
12051
12052 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12053
12054         * gst/Makefile.am:
12055           possible fixes for automake-1.5 - _LIBADD is reserved
12056
12057 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12058
12059         * docs/faq/Makefile.am:
12060         * docs/manual/Makefile.am:
12061         * docs/manuals.mak:
12062         * docs/pwg/Makefile.am:
12063         * gst/Makefile.am:
12064           possible fixes for automake-1.5
12065
12066 2005-04-28  Wim Taymans  <wim@fluendo.com>
12067
12068         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12069         (gst_basesink_pad_getcaps), (gst_basesink_init),
12070         (gst_basesink_do_sync):
12071         * gst/gstclock.c: (gst_clock_entry_new):
12072         * gst/gstevent.c: (gst_event_discont_get_value):
12073         * gst/gstpipeline.c: (pipeline_bus_handler),
12074         (gst_pipeline_change_state):
12075         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12076         Better debugging of clocking info.
12077         Allow NULL values when getting discont values.
12078
12079 2005-04-27  Wim Taymans  <wim@fluendo.com>
12080
12081         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12082         * check/gst/gstpad.c: (gst_pad_suite):
12083         Increase timeout for checks.
12084
12085 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12086
12087         * check/Makefile.am:
12088           fix the broken rule for cleanup.  Apparently this rule is
12089           only needed on FC2, so maybe this warrants further autotool
12090           inspection.
12091
12092 2005-04-26  Wim Taymans  <wim@fluendo.com>
12093
12094         * gst/gsttrashstack.h:
12095         Ooohh. a nasty one! After having a failed pop() from the stack,
12096         it's possible that the stack is empty. In that case, don't
12097         follow the NULL pointer.
12098
12099 2005-04-25  Wim Taymans  <wim@fluendo.com>
12100
12101         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12102         (gst_pad_set_checkgetrange_function),
12103         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12104         (gst_pad_check_pull_range), (gst_pad_pull_range),
12105         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12106         (gst_pad_pause_task), (gst_pad_stop_task):
12107         * gst/gstplugin.c: (gst_plugin_load):
12108         * gst/gstplugin.h:
12109         Remove gst_library_load as it does more harm than good with
12110         the new g_module flags.
12111         Revert bogus caps template check in pad linking, pad caps
12112         are important when linking not the template, which is more
12113         general than the current caps.
12114
12115 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12116
12117         * gst/autoplug/.cvsignore:
12118         * gst/autoplug/Makefile.am:
12119         * gst/autoplug/gstsearchfuncs.c:
12120         * gst/autoplug/gstsearchfuncs.h:
12121         * gst/autoplug/gstspider.c:
12122         * gst/autoplug/gstspider.h:
12123         * gst/autoplug/gstspideridentity.c:
12124         * gst/autoplug/gstspideridentity.h:
12125         * gst/autoplug/spidertest.c:
12126           Die, spider, die.
12127
12128 2005-04-25  Wim Taymans  <wim@fluendo.com>
12129
12130         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12131         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12132         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12133         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12134         * gst/gstpad.h:
12135         Added stubs for unimplemented functions. 
12136
12137 2005-04-24  David Schleef  <ds@schleef.org>
12138
12139         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
12140         please fix.
12141
12142 2005-04-24  David Schleef  <ds@schleef.org>
12143
12144         Convert everything from GstAtomicInt to g_atomic_int_*, and
12145         remove gstatomic.
12146         * gst/Makefile.am:
12147         * gst/gstatomic.c:
12148         * gst/gstatomic.h:
12149         * gst/gstatomic_impl.h:
12150         * gst/gstbuffer.c:
12151         * gst/gstcaps.c:
12152         * gst/gstcaps.h:
12153         * gst/gstclock.c:
12154         * gst/gstclock.h:
12155         * gst/gstdata.c:
12156         * gst/gstdata.h:
12157         * gst/gstdata_private.h:
12158         * gst/gstevent.c:
12159         * gst/gstinfo.c:
12160         * gst/gstinfo.h:
12161         * gst/gstmessage.c:
12162         * gst/gstobject.c:
12163         * gst/gstobject.h:
12164         * gst/gststructure.c:
12165         * gst/gststructure.h:
12166         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12167         * gst/gstutils.h:
12168
12169 2005-04-24  David Schleef  <ds@schleef.org>
12170
12171         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12172         make the regressions tests work.  Remove some code that is no
12173         longer true.
12174         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12175         Disable warning for pads without templates.
12176
12177 2005-04-24  David Schleef  <ds@schleef.org>
12178
12179         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
12180         functions that handle filtered links.
12181         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12182         removed functions.
12183         * gst/gstutils.c: Fix/remove utility functions that handle
12184         filtered caps.
12185         * gst/gstutils.h:
12186         * gst/gstvalue.c: Add serialization/deserialization of caps
12187         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
12188         requires fixing so that the filter caps notation creates
12189         a capsfilter element and sets the filter_caps property.  I
12190         think everyone probably wants to keep the shorthand notation.
12191         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12192         * docs/gst/tmpl/gstpad.sgml:
12193
12194         * gst/elements/gstelements.c: Register capsfilter element.
12195         * gst/Makefile.am: fix spacing
12196         * docs/random/ds/0.9-suggested-changes: random
12197
12198 2005-04-23  David Schleef  <ds@schleef.org>
12199
12200         * gst/elements/Makefile.am:
12201         * gst/elements/gstcapsfilter.c: New element that acts like an
12202         identity, but filters caps.  Will eventually replace filtered
12203         caps in pad linking.
12204         * gst/gstutils.c: (gst_element_create_all_pads): New function
12205         to create all the ALWAYS pads that are registered with an
12206         element class.  This functionality should eventually be
12207         merged in with GstElement initialization.
12208         * gst/gstutils.h:
12209         * testsuite/trigger/README: part of trigger test code that should
12210         have been checked in a long time ago.
12211
12212 2005-04-23  David Schleef  <ds@schleef.org>
12213
12214         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12215         needed with new versions of libtool (nobody will confirm this),
12216         and hard to carry around.
12217         * gst/autoplug/Makefile.am:
12218         * gst/base/Makefile.am:
12219         * gst/elements/Makefile.am:
12220         * gst/indexers/Makefile.am:
12221         * gst/schedulers/Makefile.am:
12222         * libs/gst/bytestream/Makefile.am:
12223         * libs/gst/control/Makefile.am:
12224         * libs/gst/dataprotocol/Makefile.am:
12225         * libs/gst/getbits/Makefile.am:
12226
12227 2005-04-21  Wim Taymans  <wim@fluendo.com>
12228
12229         * docs/design/draft-push-pull.txt:
12230         * docs/design/part-MT-refcounting.txt:
12231         * docs/design/part-TODO.txt:
12232         * docs/design/part-caps.txt:
12233         * docs/design/part-events.txt:
12234         * docs/design/part-gstbus.txt:
12235         * docs/design/part-gstpipeline.txt:
12236         * docs/design/part-messages.txt:
12237         * docs/design/part-push-pull.txt:
12238         * docs/design/part-query.txt:
12239         Some more docs.
12240
12241 2005-04-21  Wim Taymans  <wim@fluendo.com>
12242
12243         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12244         (gst_message_new), (gst_message_new_error),
12245         (gst_message_new_warning), (gst_message_new_tag),
12246         (gst_message_new_state_changed), (gst_message_new_application),
12247         (gst_message_get_structure):
12248         * gst/gstmessage.h:
12249         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12250         (gst_structure_copy_conditional):
12251         Use parent refcount in GstMessage to ensure GstStructure
12252         consistency.
12253         Cleaned up headers a bit.
12254         
12255
12256 2005-04-20  Wim Taymans  <wim@fluendo.com>
12257
12258         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12259         (gst_basesink_pad_getcaps), (gst_basesink_init),
12260         (gst_basesink_chain_unlocked):
12261         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12262         (gst_type_find_helper):
12263         * gst/elements/gsttypefindelement.c:
12264         (gst_type_find_element_have_type), (gst_type_find_element_init),
12265         (stop_typefinding), (gst_type_find_element_handle_event),
12266         (find_suggest), (gst_type_find_element_chain),
12267         (gst_type_find_element_checkgetrange),
12268         (gst_type_find_element_getrange), (do_typefind),
12269         (gst_type_find_element_activate):
12270         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12271         (gst_buffer_default_free), (gst_buffer_default_copy),
12272         (gst_buffer_set_caps):
12273         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12274         (gst_caps_replace):
12275         * gst/gstmessage.c: (gst_message_new),
12276         (gst_message_new_state_changed):
12277         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12278         (gst_pad_set_checkgetrange_function),
12279         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12280         (gst_pad_set_caps), (gst_pad_check_pull_range),
12281         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12282         * gst/gstpad.h:
12283         * gst/gsttypefind.c: (gst_type_find_register):
12284         Make gst_caps_replace() work like other _replace() functions.
12285         Use _caps_replace() where possible.
12286         Make sure _message_new() initialises its field.
12287         Add gst_static_pad_template_get_caps()
12288
12289
12290 2005-04-18  Andy Wingo  <wingo@pobox.com>
12291
12292         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12293         on the peer, not the pad. I think that was a typo. Pass an extra
12294         arg to see if random access is possible. Activate the pads as
12295         PULL_RANGE if possible.
12296
12297         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12298
12299         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12300         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12301         to PROP_....
12302
12303 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12304
12305         * docs/faq/using.xml:
12306           Add note on gstreamer-properties (#154996).
12307
12308 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12309
12310         * docs/random/bbb/optional-properties:
12311           Some analysis on optional properties.
12312
12313 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12314
12315         * docs/gst/tmpl/gstelementfactory.sgml:
12316         * gst/gstelement.h:
12317         * gst/gstelementfactory.c: (gst_element_factory_init),
12318         (gst_element_factory_cleanup), (gst_element_register),
12319         (__gst_element_factory_add_static_pad_template),
12320         (gst_element_factory_get_static_pad_templates),
12321         (gst_element_factory_can_src_caps),
12322         (gst_element_factory_can_sink_caps):
12323         * gst/registries/Makefile.am:
12324         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12325         (gst_xml_registry_class_init), (gst_xml_registry_init),
12326         (gst_xml_registry_new), (gst_xml_registry_set_property),
12327         (gst_xml_registry_get_property), (get_time), (make_dir),
12328         (gst_xml_registry_get_perms_func),
12329         (plugin_times_older_than_recurse), (plugin_times_older_than),
12330         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12331         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12332         (add_to_char_array), (read_string), (read_uint), (read_enum),
12333         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12334         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12335         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12336         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12337         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12338         (gst_xml_registry_rebuild):
12339         * gst/registries/gstlibxmlregistry.h:
12340         * tools/gst-compprep.c: (main):
12341         * tools/gst-inspect.c: (print_pad_templates_info):
12342         * tools/gst-xmlinspect.c: (print_element_info):
12343           Use libxml2 for registry parsing, use staticpadtemplates in
12344           elementfactories. Makes gst_init() +/- 10x faster.
12345
12346 2005-04-12  Wim Taymans  <wim@fluendo.com>
12347
12348         * gst/base/Makefile.am:
12349         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12350         (gst_basesink_pad_getcaps), (gst_basesink_init),
12351         (gst_basesink_event), (gst_basesink_change_state):
12352         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12353         (gst_basesrc_init), (gst_basesrc_query),
12354         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12355         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12356         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12357         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12358         (gst_basesrc_stop), (gst_basesrc_activate),
12359         (gst_basesrc_change_state):
12360         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12361         (helper_find_suggest), (gst_type_find_helper):
12362         * gst/base/gsttypefindhelper.h:
12363         * gst/elements/Makefile.am:
12364         * gst/elements/gstelements.c:
12365         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12366         (gst_fakesink_get_times), (gst_fakesink_event),
12367         (gst_fakesink_preroll), (gst_fakesink_render):
12368         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12369         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12370         (gst_fakesrc_get_property), (gst_fakesrc_create),
12371         (gst_fakesrc_start), (gst_fakesrc_stop):
12372         * gst/elements/gstfakesrc.h:
12373         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12374         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12375         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12376         (gst_filesrc_create_read), (gst_filesrc_create),
12377         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12378         (gst_filesrc_start):
12379         * gst/elements/gsttypefindelement.c:
12380         (gst_type_find_element_have_type), (gst_type_find_element_init),
12381         (start_typefinding), (stop_typefinding), (push_buffer_store),
12382         (gst_type_find_element_handle_event),
12383         (gst_type_find_element_chain),
12384         (gst_type_find_element_checkgetrange),
12385         (gst_type_find_element_getrange), (do_typefind),
12386         (gst_type_find_element_activate),
12387         (gst_type_find_element_change_state):
12388         * gst/elements/gsttypefindelement.h:
12389         * gst/gstpipeline.c: (pipeline_bus_handler):
12390         Added typefind helper.
12391         Small preroll fix in the base sink.
12392         Disable typefind code in basesrc.
12393         Crude port of typefindelement.
12394         Fakesrc cleanups.
12395
12396
12397 2005-04-11  Wim Taymans  <wim@fluendo.com>
12398
12399         * check/gst/gstbus.c: (gstbus_suite):
12400         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12401         * check/gstcheck.h:
12402           Fix up the timeout so that the test does not fail.
12403
12404 2005-04-06  Wim Taymans  <wim@fluendo.com>
12405
12406         * gst/base/README:
12407         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12408         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12409         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12410         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12411         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12412         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12413         (gst_basesrc_stop), (gst_basesrc_activate),
12414         (gst_basesrc_change_state), (basesrc_find_peek),
12415         (basesrc_find_suggest), (gst_basesrc_type_find):
12416         * gst/base/gstbasesrc.h:
12417         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12418         (gst_filesrc_class_init), (gst_filesrc_init),
12419         (gst_filesrc_finalize), (gst_filesrc_set_location),
12420         (gst_filesrc_set_property), (gst_filesrc_get_property),
12421         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12422         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12423         (gst_filesrc_create_read), (gst_filesrc_create),
12424         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12425         * gst/elements/gstfilesrc.h:
12426         * gst/gstelement.c: (gst_element_get_state_func),
12427         (gst_element_lost_state), (gst_element_pads_activate):
12428         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12429         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12430         (gst_pad_pull_range):
12431         * gst/gstpad.h:
12432         More work on the generic source base class, implement seeking,
12433         query.
12434         Make filesrc extend the base source class.
12435         Added gst_pad_set_checkgetrange_function to GstPad.
12436
12437 2005-04-06  Andy Wingo  <wingo@pobox.com>
12438
12439         * pkgconfig/gstreamer-base.pc.in:
12440         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12441
12442         * pkgconfig/Makefile.am:
12443         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12444
12445 2005-04-04  Wim Taymans  <wim@fluendo.com>
12446
12447         * gst/base/Makefile.am:
12448         * gst/base/README:
12449         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12450         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12451         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12452         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12453         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12454         (gst_basesrc_base_init), (gst_basesrc_class_init),
12455         (gst_basesrc_init), (gst_basesrc_get_formats),
12456         (gst_basesrc_get_query_types), (gst_basesrc_query),
12457         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12458         (gst_basesrc_set_property), (gst_basesrc_get_property),
12459         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12460         (gst_basesrc_loop), (gst_basesrc_activate),
12461         (gst_basesrc_change_state):
12462         * gst/base/gstbasesrc.h:
12463         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12464         (gst_fakesrc_class_init), (gst_fakesrc_init),
12465         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12466         (gst_fakesrc_get_property), (gst_fakesrc_create):
12467         * gst/elements/gstfakesrc.h:
12468         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12469         (gst_filesrc_open_file), (gst_filesrc_loop),
12470         (gst_filesrc_activate), (filesrc_find_peek),
12471         (gst_filesrc_type_find):
12472         Made base source class, make fakesrc extend it.
12473         Add comments to basesink class.
12474         Some filesrc cleanup.
12475
12476 2005-03-31  David Schleef  <ds@schleef.org>
12477
12478         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12479         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12480         expected to link against libgstreamer.
12481         * gst/base/Makefile.am: link against libgstreamer
12482         * gst/elements/Makefile.am: same
12483
12484 2005-03-31  Andy Wingo  <wingo@pobox.com>
12485
12486         * tests/instantiate/Makefile.am:
12487         * tests/instantiate/caps.c: Add test to test speed of caps copy
12488         and free.
12489
12490         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12491         GMemChunk to be fair.
12492
12493         * gst/gsttrashstack.h: Remove warning about using the fallback
12494         trash stack implementation, it's still faster than malloc.
12495
12496 2005-03-30  Andy Wingo  <wingo@pobox.com>
12497
12498         * tests/complexity.c: Add a copyright.
12499
12500 2005-03-31  Wim Taymans  <wim@fluendo.com>
12501
12502         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12503         (gst_base_transform_class_init), (gst_base_transform_init),
12504         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12505         (gst_base_transform_get_property),
12506         (gst_base_transform_sink_activate),
12507         (gst_base_transform_src_activate),
12508         (gst_base_transform_change_state):
12509         * gst/base/gstbasetransform.h:
12510         * gst/elements/gstidentity.c: (gst_identity_class_init),
12511         (gst_identity_event), (gst_identity_check_perfect),
12512         (gst_identity_transform), (gst_identity_start),
12513         (gst_identity_stop):
12514         Added start/stop methods to transform base class so subclasses 
12515         don't need to deal with state changes even.
12516
12517 2005-03-31  Wim Taymans  <wim@fluendo.com>
12518
12519         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12520         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12521         * gst/gstevent.h:
12522         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12523         (gst_pad_pull_range):
12524         Added rate to the discont event to prepare for variable speed
12525         and reverse playback.
12526
12527 2005-03-29  David Schleef  <ds@schleef.org>
12528
12529         * configure.ac:
12530         * testsuite/trigger/Makefile.am:
12531         * testsuite/trigger/trigger.c: A little example program to show
12532         how trigger-based elements can work.
12533
12534 2005-03-29  Wim Taymans  <wim@fluendo.com>
12535
12536         * gst/base/Makefile.am:
12537         * gst/base/README:
12538         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12539         (gst_basesink_base_init), (gst_basesink_class_init),
12540         (gst_basesink_pad_getcaps), (gst_basesink_init),
12541         (gst_basesink_activate), (gst_basesink_change_state):
12542         * gst/base/gstbasesink.h:
12543         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12544         (gst_base_transform_base_init), (gst_base_transform_finalize),
12545         (gst_base_transform_class_init), (gst_base_transform_init),
12546         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12547         (gst_base_transform_event), (gst_base_transform_getrange),
12548         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12549         (gst_base_transform_set_property),
12550         (gst_base_transform_get_property),
12551         (gst_base_transform_sink_activate),
12552         (gst_base_transform_src_activate),
12553         (gst_base_transform_change_state):
12554         * gst/base/gstbasetransform.h:
12555         * gst/elements/gstidentity.c: (gst_identity_finalize),
12556         (gst_identity_class_init), (gst_identity_init),
12557         (gst_identity_event), (gst_identity_check_perfect),
12558         (gst_identity_transform), (gst_identity_set_property),
12559         (gst_identity_get_property), (gst_identity_change_state):
12560         * gst/elements/gstidentity.h:
12561         * gst/gstelement.c: (gst_element_get_state_func),
12562         (gst_element_lost_state), (gst_element_pads_activate):
12563         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12564         (gst_pad_check_pull_range), (gst_pad_pull_range):
12565         * gst/gstpad.h:
12566         Simplify pad activation.
12567         Added function to check if pull_range can be performed.
12568         Error out when pulling inactive or flushing pads.
12569         Removed const from refcounted types as it does not make sense.
12570         Simplify pad templates in basesink
12571         Added base class for simple 1-to-1 transforms.
12572         Make identity subclass the base transform.
12573
12574 2005-03-29  Andy Wingo  <wingo@pobox.com>
12575
12576         * docs/libs/gstreamer-libs-overrides.txt: 
12577         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12578         really don't understand what's going on, but like whatever. I want
12579         green buildbot!
12580
12581         * docs/gst/Makefile.am:
12582         * docs/libs/Makefile.am: Dist the overrides files.
12583
12584         * check/Makefile.am (clean-local): Remove .libs directories.
12585
12586         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12587         elements to EXTRA_DIST, so po/ files are happy.
12588
12589         * po/POTFILES.in: Er, remove it here.
12590
12591         * po/POTFILES: Remove gstspider.c.
12592
12593         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12594
12595         * docs/libs/gstreamer-libs-docs.sgml: 
12596         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12597         bytestream.
12598
12599         * tests/complexity.c (main): Set the length of the preroll queue
12600         on the sinks to prevent a lockup.
12601
12602         * libs/gst/dataprotocol/Makefile.am: 
12603         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12604         the same as the one in check/gst-libs/gdp.c.
12605
12606         * po/, docs/gst/: Commit automatic changes to docs and po files.
12607
12608         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12609         the versioned libgstbase.
12610
12611         * check/Makefile.am: Depend on an unversioned gst-register, seems
12612         to make autoconf happier.
12613
12614         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12615
12616 2005-03-28  Wim Taymans  <wim@fluendo.com>
12617
12618         * configure.ac:
12619         * docs/design/part-gstelement.txt:
12620         * docs/design/part-negotiation.txt:
12621         * docs/design/part-preroll.txt:
12622         * docs/design/part-scheduling.txt:
12623         * docs/design/part-states.txt:
12624         * gst/Makefile.am:
12625         * gst/base/Makefile.am:
12626         * gst/base/README:
12627         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12628         (gst_basesink_base_init), (gst_basesink_class_init),
12629         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12630         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12631         (gst_basesink_set_pad_functions),
12632         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12633         (gst_basesink_set_property), (gst_basesink_get_property),
12634         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12635         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12636         (gst_basesink_preroll_queue_push),
12637         (gst_basesink_preroll_queue_empty),
12638         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12639         (gst_basesink_event), (gst_basesink_get_times),
12640         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12641         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12642         (gst_basesink_loop), (gst_basesink_activate),
12643         (gst_basesink_change_state):
12644         * gst/base/gstbasesink.h:
12645         * gst/elements/Makefile.am:
12646         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12647         (gst_fakesink_class_init), (gst_fakesink_init),
12648         (gst_fakesink_set_property), (gst_fakesink_get_property),
12649         (gst_fakesink_get_times), (gst_fakesink_event),
12650         (gst_fakesink_preroll), (gst_fakesink_render),
12651         (gst_fakesink_change_state):
12652         * gst/elements/gstfakesink.h:
12653         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12654         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12655         * gst/gstelement.c: (gst_element_add_pad),
12656         (gst_element_get_state_func), (gst_element_abort_state),
12657         (gst_element_commit_state), (gst_element_lost_state),
12658         (gst_element_set_state), (gst_element_pads_activate):
12659         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12660         * gst/gstpipeline.c: (gst_pipeline_send_event),
12661         (gst_pipeline_change_state):
12662         Added state change code.
12663         Added/updated docs.
12664         Added sink base class, make fakesink extend the base class.
12665         Small cleanups in GstPipeline.
12666
12667 2005-03-26  David Schleef  <ds@schleef.org>
12668
12669         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12670         is broken and should be implemented in a different library.
12671         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12672         * gst/gst.h: remove gstcpu.h
12673         * gst/gstcpu.c: remove
12674         * gst/gstcpu.h: remove
12675         * gst/Makefile.am.future: Remove this file.  It's ancient.
12676
12677 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12678
12679         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12680         (gst_bin_send_event):
12681           Add default event/set_manager handlers. The set_manager handler
12682           takes care that the manager is distributed over kids that were
12683           already in the bin before the manager was set. The event handler
12684           is a utility virtual function that sends the event over all sinks,
12685           so that gst_element_send_event (bin, event); has the expected
12686           behaviour.
12687         * gst/gstpad.c: (gst_pad_event_default):
12688           Re-install default event handling for discontinuities, so that
12689           seeking works without requiring hacks in applications or extra
12690           code in sinks.
12691         * gst/gstpipeline.c: (gst_pipeline_class_init),
12692         (gst_pipeline_send_event):
12693           Half hack, half utility: set a pipeline to PAUSED for seek events,
12694           since that is the only way we can guarantee a/v sync. Means that
12695           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12696           and it "just works".
12697
12698 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12699
12700         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12701           Lock/unlock mismatch.
12702
12703 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12704
12705         * docs/faq/gst-uninstalled:
12706           add gst-plugins-base
12707         * docs/gst/Makefile.am:
12708           don't error out until docs are fixed
12709         * docs/gst/gstreamer.types:
12710           remove thread
12711
12712 2005-03-22  Wim Taymans  <wim@fluendo.com>
12713
12714         * check/Makefile.am:
12715         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12716         * gst/gststructure.c: (gst_structure_set_valist),
12717         (gst_structure_copy_conditional):
12718         Activated more tests.
12719         Added message test.
12720         Added G_TYPE_POINTER to GstStructure.
12721         
12722
12723 2005-03-22  Wim Taymans  <wim@fluendo.com>
12724
12725         * docs/design/part-TODO.txt:
12726         * docs/design/part-events.txt:
12727         * docs/design/part-gstbin.txt:
12728         * docs/design/part-gstbus.txt:
12729         * docs/design/part-gstpipeline.txt:
12730         * docs/design/part-messages.txt:
12731         * gst/gstbus.c:
12732         * gst/gstmessage.c:
12733         Docs updates
12734
12735 2005-03-21  Wim Taymans  <wim@fluendo.com>
12736
12737         * gst/gstbus.c: (gst_bus_post):
12738         Fix copy-and-paste error.
12739
12740 2005-03-21  Wim Taymans  <wim@fluendo.com>
12741
12742         * check/Makefile.am:
12743         * gst/Makefile.am:
12744         * gst/elements/Makefile.am:
12745         * gst/elements/gstelements.c:
12746         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12747         (gst_fakesink_event), (gst_fakesink_chain):
12748         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12749         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12750         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12751         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12752         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12753         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12754         (gst_fakesrc_loop), (gst_fakesrc_activate),
12755         (gst_fakesrc_change_state):
12756         * gst/elements/gstfakesrc.h:
12757         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12758         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12759         (gst_filesrc_open_file), (gst_filesrc_loop),
12760         (gst_filesrc_activate), (gst_filesrc_change_state),
12761         (filesrc_find_peek), (filesrc_find_suggest),
12762         (gst_filesrc_type_find):
12763         * gst/elements/gstidentity.c: (gst_identity_finalize),
12764         (gst_identity_class_init), (gst_identity_init),
12765         (gst_identity_proxy_getcaps), (identity_queue_push),
12766         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12767         (gst_identity_getrange), (gst_identity_chain),
12768         (gst_identity_sink_loop), (gst_identity_src_loop),
12769         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12770         (gst_identity_set_property), (gst_identity_get_property),
12771         (gst_identity_change_state):
12772         * gst/elements/gstidentity.h:
12773         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12774         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12775         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12776         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12777         (gst_tee_sink_activate):
12778         * gst/elements/gsttee.h:
12779         * gst/gst.c: (gst_register_core_elements), (init_post):
12780         * gst/gst.h:
12781         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12782         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12783         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12784         (gst_bin_change_state):
12785         * gst/gstbin.h:
12786         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12787         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12788         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12789         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12790         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12791         (bus_watch_callback), (bus_watch_destroy),
12792         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12793         (poll_timeout), (gst_bus_poll):
12794         * gst/gstbus.h:
12795         * gst/gstcaps.h:
12796         * gst/gstdata.h:
12797         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12798         (gst_element_post_message), (gst_element_message_full),
12799         (gst_element_get_state_func), (gst_element_get_state),
12800         (gst_element_abort_state), (gst_element_commit_state),
12801         (gst_element_lost_state), (gst_element_set_state),
12802         (gst_element_pads_activate), (gst_element_change_state),
12803         (gst_element_dispose), (gst_element_set_manager_func),
12804         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12805         (gst_element_set_manager), (gst_element_get_manager),
12806         (gst_element_set_bus), (gst_element_get_bus),
12807         (gst_element_set_scheduler), (gst_element_get_scheduler):
12808         * gst/gstelement.h:
12809         * gst/gstevent.c: (gst_event_new_segment_seek),
12810         (gst_event_new_flush):
12811         * gst/gstevent.h:
12812         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12813         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12814         (gst_message_new_eos), (gst_message_new_error),
12815         (gst_message_new_warning), (gst_message_new_tag),
12816         (gst_message_new_state_changed), (gst_message_new_application),
12817         (gst_message_get_structure), (gst_message_parse_tag),
12818         (gst_message_parse_state_changed), (gst_message_parse_error),
12819         (gst_message_parse_warning):
12820         * gst/gstmessage.h:
12821         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12822         (gst_real_pad_set_property), (gst_pad_set_active),
12823         (gst_pad_is_active), (gst_pad_set_blocked_async),
12824         (gst_pad_set_blocked), (gst_pad_is_blocked),
12825         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12826         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12827         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12828         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12829         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12830         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12831         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12832         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12833         (gst_pad_set_caps), (gst_pad_configure_sink),
12834         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12835         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12836         (gst_real_pad_dispose), (gst_real_pad_finalize),
12837         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12838         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12839         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12840         * gst/gstpad.h:
12841         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12842         (pipeline_bus_handler), (gst_pipeline_change_state),
12843         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12844         * gst/gstpipeline.h:
12845         * gst/gstprobe.h:
12846         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12847         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12848         (gst_queue_link_src), (gst_queue_bufferalloc),
12849         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12850         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12851         (gst_queue_loop), (gst_queue_handle_src_event),
12852         (gst_queue_handle_src_query), (gst_queue_src_activate),
12853         (gst_queue_change_state):
12854         * gst/gstqueue.h:
12855         * gst/gstscheduler.c: (gst_scheduler_init),
12856         (gst_scheduler_dispose), (gst_scheduler_create_task),
12857         (gst_scheduler_factory_create):
12858         * gst/gstscheduler.h:
12859         * gst/gststructure.c: (gst_structure_get_type),
12860         (gst_structure_copy_conditional):
12861         * gst/gststructure.h:
12862         * gst/gsttaginterface.h:
12863         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12864         (gst_task_init), (gst_task_dispose), (gst_task_create),
12865         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12866         (gst_task_pause):
12867         * gst/gsttask.h:
12868         * gst/gstthread.c:
12869         * gst/gstthread.h:
12870         * gst/gsttypes.h:
12871         * gst/schedulers/Makefile.am:
12872         * gst/schedulers/cothreads_compat.h:
12873         * gst/schedulers/entryscheduler.c:
12874         * gst/schedulers/faircothreads.c:
12875         * gst/schedulers/faircothreads.h:
12876         * gst/schedulers/fairscheduler.c:
12877         * gst/schedulers/gstbasicscheduler.c:
12878         * gst/schedulers/gstoptimalscheduler.c:
12879         * gst/schedulers/gthread-cothreads.h:
12880         * gst/schedulers/threadscheduler.c:
12881         (gst_thread_scheduler_task_get_type),
12882         (gst_thread_scheduler_task_class_init),
12883         (gst_thread_scheduler_task_init),
12884         (gst_thread_scheduler_task_start),
12885         (gst_thread_scheduler_task_stop),
12886         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12887         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12888         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12889         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12890         (plugin_init):
12891         * libs/gst/Makefile.am:
12892         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12893         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12894         (gst_file_pad_parent_set):
12895         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12896         (gst_dp_event_from_packet):
12897         * tests/complexity.c: (main):
12898         * tests/mass_elements.c: (main):
12899         * testsuite/states/locked.c: (message_received), (main):
12900         * testsuite/states/parent.c: (main):
12901         * tools/gst-inspect.c: (print_element_flag_info),
12902         (print_implementation_info), (print_pad_info):
12903         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12904         (main):
12905         * tools/gst-md5sum.c: (event_loop), (main):
12906         * tools/gst-typefind.c: (main):
12907         * tools/gst-xmlinspect.c: (print_element_info):
12908         Next big merge.
12909         Added GstBus for mainloop integration.
12910         Added GstMessage for sending notifications on the bus.
12911         Added GstTask as an abstraction for pipeline entry points.
12912         Removed GstThread.
12913         Removed Schedulers.
12914         Simplified GstQueue for multithreaded core.
12915         Made _link threadsafe, removed old capsnego.
12916         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12917         Added pad blocking functions.
12918         Reworked scheduling functions in GstPad to prepare for
12919         scheduling updates soon.
12920         Moved events out of data stream.
12921         Simplified GstEvent types.
12922         Added return values to push/pull.
12923         Removed clocking from GstElement.
12924         Added prototypes for state change function for next merge.
12925         Removed iterate from bins and state change management.
12926         Fixed some elements, disabled others for now.
12927         Fixed -inspect and -launch.
12928         Added check for GstBus.
12929
12930 2005-03-10  Wim Taymans  <wim@fluendo.com>
12931
12932         * docs/design/part-MT-refcounting.txt:
12933         * docs/design/part-clocks.txt:
12934         * docs/design/part-gstelement.txt:
12935         * docs/design/part-gstobject.txt:
12936         * docs/design/part-standards.txt:
12937         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12938         (gst_bin_remove_func), (gst_bin_remove):
12939         * gst/gstbin.h:
12940         * gst/gstbuffer.c:
12941         * gst/gstcaps.h:
12942         * testsuite/clock/clock1.c: (main):
12943         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12944         (main):
12945         * testsuite/dlopen/loadgst.c: (do_test):
12946         * testsuite/refcounting/bin.c: (add_remove_test1),
12947         (add_remove_test2), (main):
12948         * testsuite/refcounting/element.c: (main):
12949         * testsuite/refcounting/element_pad.c: (main):
12950         * testsuite/refcounting/pad.c: (main):
12951         * tools/gst-launch.c: (sigint_handler_sighandler):
12952         * tools/gst-typefind.c: (main):
12953         Doc updates.
12954         Added doc about clock.
12955         removed gst_bin_iterate_recurse_up(), marked methods
12956         for removal.
12957         Fix more testsuites.
12958
12959 2005-03-09  Wim Taymans  <wim@fluendo.com>
12960
12961         * gst/gstpad.c: (gst_pad_get_direction),
12962         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12963         (gst_pad_collect_valist):
12964         * testsuite/bins/interface.c: (main):
12965         * testsuite/caps/audioscale.c: (test_caps):
12966         * testsuite/caps/caps.c: (test1), (test2), (test3):
12967         * testsuite/caps/deserialize.c: (main):
12968         * testsuite/caps/enumcaps.c: (main):
12969         * testsuite/caps/filtercaps.c: (main):
12970         * testsuite/caps/intersect2.c: (main):
12971         * testsuite/caps/random.c: (main):
12972         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12973         * testsuite/caps/sets.c: (check_caps):
12974         * testsuite/caps/simplify.c: (check_caps), (main):
12975         * testsuite/caps/subtract.c: (check_caps):
12976         Fix _pad_get_direction wrt ghostpads.
12977         Fix caps testsuite.
12978
12979 2005-03-09  Wim Taymans  <wim@fluendo.com>
12980
12981         * check/Makefile.am:
12982         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12983         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12984         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12985         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12986         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12987         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12988         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12989         (bin_element_is_sink), (gst_bin_iterate_sinks),
12990         (gst_bin_iterate_all_by_interface):
12991         * gst/gstbin.h:
12992         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12993         (gst_element_change_state), (gst_element_dispose),
12994         (gst_element_finalize), (gst_element_set_loop_function):
12995         * gst/gstelement.h:
12996         * gst/gstiterator.c: (find_custom_fold_func):
12997         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12998         (gst_pad_collectv), (gst_pad_collect_valist),
12999         (gst_pad_template_new):
13000         * gst/gstpipeline.c: (gst_pipeline_class_init),
13001         (gst_pipeline_dispose), (gst_pipeline_set_property),
13002         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13003         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13004         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13005         * gst/gstutils.h:
13006         * gst/schedulers/entryscheduler.c:
13007         * gst/schedulers/gstbasicscheduler.c:
13008         (gst_basic_scheduler_cothreaded_chain),
13009         (gst_basic_scheduler_chain_add_element):
13010         * testsuite/bins/interface.c: (main):
13011         Added GstBin test.
13012         Added GstSystemClock test.
13013         Implemented clock distribution code in GstBin.
13014         Implemented iterate sinks method for future use.
13015         Rearranged gstelement.h
13016         Fix GstIterator comparison bug.
13017         Moved some code to GstPipeline, mostly clocking related.
13018
13019 2005-03-09  Wim Taymans  <wim@fluendo.com>
13020
13021         * configure.ac:
13022         * gst/gst_private.h:
13023         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13024         (gst_bin_remove_func), (gst_bin_remove),
13025         (gst_bin_get_by_name_recurse_up):
13026         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13027         (gst_clock_id_compare_func), (gst_clock_id_wait),
13028         (gst_clock_id_wait_async), (gst_clock_init),
13029         (gst_clock_adjust_unlocked), (gst_clock_get_time):
13030         * gst/gstelement.h:
13031         * gst/gstinfo.c: (_gst_debug_init):
13032         * gst/gstobject.h:
13033         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13034         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13035         * gst/gstpad.h:
13036         Bump version number, we're now 0.9.0
13037         Add future debugging category.
13038         Fix NULL _unref() in _get_by_name_recurse_up
13039         Rearrange gstpad.h.
13040         Update some docs.
13041
13042 2005-03-08  Wim Taymans  <wim@fluendo.com>
13043
13044         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13045         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13046         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13047         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13048         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13049         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13050         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13051         * gst/elements/gstidentity.c: (gst_identity_class_init):
13052         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13053         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13054         * gst/elements/gstshaper.c: (gst_shaper_class_init):
13055         * gst/elements/gststatistics.c: (gst_statistics_class_init):
13056         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13057         (gst_tee_link):
13058         * gst/gstelement.c: (gst_element_class_init),
13059         (gst_element_base_class_init), (gst_element_init),
13060         (gst_element_get_random_pad), (gst_element_wait_state_change),
13061         (gst_element_change_state), (gst_element_dispose),
13062         (gst_element_finalize), (gst_element_set_loop_function):
13063         * gst/gstelement.h:
13064         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13065         * gst/gstthread.c: (gst_thread_class_init),
13066         (gst_thread_release_children_locks), (gst_thread_change_state):
13067         * gst/schedulers/gstbasicscheduler.c:
13068         (gst_basic_scheduler_loopfunc_wrapper),
13069         (gst_basic_scheduler_chain_wrapper),
13070         (gst_basic_scheduler_src_wrapper),
13071         (gst_basic_scheduler_remove_element):
13072         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13073         Remove threadsafe properties. Fix elements because GObject
13074         complains when installing a property before declaring a
13075         set/get_property handler.
13076         Rearrange gstelement.h file, use STATE macros for state locks.
13077         Free mutexes in the finalize method instead of dispose.
13078
13079 2005-03-08  Wim Taymans  <wim@fluendo.com>
13080
13081         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13082         * gst/gstthread.c: (gst_thread_release_children_locks):
13083         Added parentage check.
13084         Fix build og GstThread again.
13085
13086 2005-03-08  Wim Taymans  <wim@fluendo.com>
13087
13088         * docs/design/part-MT-refcounting.txt:
13089         * docs/design/part-conventions.txt:
13090         * docs/design/part-gstobject.txt:
13091         * docs/design/part-relations.txt:
13092         * docs/design/part-standards.txt:
13093         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13094         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13095         (gst_bin_get_by_name), (gst_bin_get_by_interface),
13096         (gst_bin_iterate_all_by_interface):
13097         * gst/gstbuffer.h:
13098         * gst/gstclock.h:
13099         * gst/gstelement.c: (gst_element_class_init),
13100         (gst_element_change_state), (gst_element_set_loop_function):
13101         * gst/gstelement.h:
13102         * gst/gstiterator.c:
13103         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13104         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13105         (gst_object_dispatch_properties_changed), (gst_object_set_name),
13106         (gst_object_set_parent), (gst_object_unparent),
13107         (gst_object_check_uniqueness):
13108         * gst/gstobject.h:
13109         Docs updates, clean up some headers.
13110
13111 2005-03-07  Wim Taymans  <wim@fluendo.com>
13112
13113         * check/.cvsignore:
13114         * check/Makefile.am:
13115         * check/gst-libs/.cvsignore:
13116         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13117         * check/gst/.cvsignore:
13118         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13119         (START_TEST), (gstbus_suite), (main):
13120         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13121         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13122         (gst_data_suite), (main):
13123         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13124         (add_fold_func), (gstiterator_suite), (main):
13125         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13126         (thread_name_object), (thread_name_object_default),
13127         (gst_object_name_compare), (gst_object_suite), (main):
13128         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13129         (gst_pad_suite), (main):
13130         * check/gstcheck.c: (gst_check_log_message_func),
13131         (gst_check_log_critical_func), (gst_check_init):
13132         * check/gstcheck.h:
13133         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13134         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13135         Added checks.
13136
13137 2005-03-07  Wim Taymans  <wim@fluendo.com>
13138
13139         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13140         (gst_list_iterator_next), (gst_list_iterator_resync),
13141         (gst_list_iterator_free), (gst_iterator_new_list),
13142         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13143         (gst_iterator_free), (gst_iterator_push), (filter_next),
13144         (filter_resync), (filter_uninit), (filter_free),
13145         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13146         (gst_iterator_foreach), (find_custom_fold_func),
13147         (gst_iterator_find_custom):
13148         * gst/gstiterator.h:
13149         Added missing files.
13150
13151 2005-03-07  Wim Taymans  <wim@fluendo.com>
13152
13153         * Makefile.am:
13154         * configure.ac:
13155         * docs/design/part-MT-refcounting.txt:
13156         * docs/design/part-conventions.txt:
13157         * docs/design/part-gstobject.txt:
13158         * docs/design/part-relations.txt:
13159         * examples/mixer/mixer.c: (main):
13160         * examples/thread/thread.c: (eos), (main):
13161         * gst/Makefile.am:
13162         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13163         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13164         (gst_spider_plug_from_srcpad):
13165         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13166         (gst_spider_identity_change_state),
13167         (gst_spider_identity_sink_loop_type_finding):
13168         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13169         * gst/elements/gstidentity.c: (gst_identity_init):
13170         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13171         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13172         * gst/elements/gsttypefindelement.c: (free_entry):
13173         * gst/gst.c:
13174         * gst/gst.h:
13175         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13176         (gst_bin_set_clock_func), (gst_bin_auto_clock),
13177         (gst_bin_set_index), (gst_bin_set_element_sched),
13178         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13179         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13180         (gst_bin_iterate_elements), (iterate_child_recurse),
13181         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13182         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13183         (compare_interface), (gst_bin_get_by_interface),
13184         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13185         * gst/gstbin.h:
13186         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13187         (gst_buffer_default_free), (gst_buffer_default_copy),
13188         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13189         (gst_buffer_create_sub):
13190         * gst/gstbuffer.h:
13191         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13192         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13193         (gst_caps_unref), (gst_static_caps_get),
13194         (gst_caps_remove_and_get_structure), (gst_caps_append),
13195         (gst_caps_append_structure), (gst_caps_remove_structure),
13196         (gst_caps_copy_nth), (gst_caps_set_simple),
13197         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13198         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13199         (gst_caps_structure_intersect_field), (gst_caps_intersect),
13200         (gst_caps_structure_subtract_field), (gst_caps_subtract),
13201         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13202         (gst_caps_structure_figure_out_union),
13203         (gst_caps_switch_structures), (gst_caps_do_simplify),
13204         (gst_caps_replace), (gst_caps_from_string),
13205         (gst_caps_copy_conditional):
13206         * gst/gstcaps.h:
13207         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13208         (_gst_clock_id_free), (gst_clock_id_unref),
13209         (gst_clock_id_compare_func), (gst_clock_id_wait),
13210         (gst_clock_id_wait_async), (gst_clock_class_init),
13211         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13212         (gst_clock_get_time), (gst_clock_set_time_adjust),
13213         (gst_clock_set_property), (gst_clock_get_property):
13214         * gst/gstclock.h:
13215         * gst/gstcompat.h:
13216         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13217         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13218         * gst/gstdata.h:
13219         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13220         (gst_element_requires_clock), (gst_element_provides_clock),
13221         (gst_element_set_clock), (gst_element_clock_wait),
13222         (gst_element_wait), (gst_element_set_time_delay),
13223         (gst_element_is_indexable), (gst_element_add_pad),
13224         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13225         (pad_compare_name), (gst_element_get_static_pad),
13226         (gst_element_request_pad), (gst_element_get_request_pad),
13227         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13228         (gst_element_class_get_pad_template_list),
13229         (gst_element_class_get_pad_template), (gst_element_error_func),
13230         (gst_element_get_random_pad), (gst_element_get_event_masks),
13231         (gst_element_send_event), (gst_element_seek),
13232         (gst_element_get_query_types), (gst_element_query),
13233         (gst_element_get_formats), (gst_element_convert),
13234         (gst_element_is_locked_state), (gst_element_set_locked_state),
13235         (gst_element_sync_state_with_parent), (gst_element_change_state),
13236         (gst_element_finalize), (gst_element_yield),
13237         (gst_element_interrupt), (gst_element_set_scheduler),
13238         (gst_element_get_scheduler), (gst_element_set_loop_function):
13239         * gst/gstelement.h:
13240         * gst/gstevent.h:
13241         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13242         (gst_format_get_by_nick), (gst_format_get_details),
13243         (gst_format_iterate_definitions):
13244         * gst/gstformat.h:
13245         * gst/gstindex.c: (gst_index_gtype_resolver):
13246         * gst/gstinfo.c:
13247         * gst/gstinfo.h:
13248         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13249         (gst_mem_chunk_free):
13250         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13251         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13252         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13253         (gst_object_dispatch_properties_changed),
13254         (gst_object_set_name_default), (gst_object_set_name),
13255         (gst_object_get_name), (gst_object_set_name_prefix),
13256         (gst_object_get_name_prefix), (gst_object_set_parent),
13257         (gst_object_get_parent), (gst_object_unparent),
13258         (gst_object_check_uniqueness), (gst_object_save_thyself),
13259         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13260         (gst_object_set_property), (gst_object_get_property),
13261         (gst_object_get_path_string):
13262         * gst/gstobject.h:
13263         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13264         (gst_real_pad_init), (gst_real_pad_get_property),
13265         (gst_pad_custom_new), (gst_pad_get_direction),
13266         (gst_pad_set_active), (gst_pad_is_active),
13267         (gst_pad_set_event_function), (gst_pad_is_linked),
13268         (gst_pad_link_free), (gst_pad_link_intersect),
13269         (gst_pad_link_fixate), (gst_pad_set_caps),
13270         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13271         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13272         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13273         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13274         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13275         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13276         (gst_pad_realize), (gst_pad_get_allowed_caps),
13277         (gst_real_pad_dispose), (gst_real_pad_finalize),
13278         (gst_pad_collectv), (gst_pad_collect_valist),
13279         (gst_pad_template_dispose), (gst_pad_template_new),
13280         (gst_pad_get_internal_links):
13281         * gst/gstpad.h:
13282         * gst/gstpipeline.c: (gst_pipeline_dispose),
13283         (gst_pipeline_change_state):
13284         * gst/gstpipeline.h:
13285         * gst/gstplugin.c:
13286         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13287         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13288         * gst/gstpluginfeature.h:
13289         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13290         * gst/gstquery.c: (_gst_query_type_initialize),
13291         (gst_query_type_register), (gst_query_type_get_by_nick),
13292         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13293         * gst/gstquery.h:
13294         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13295         * gst/gstscheduler.c: (gst_scheduler_add_element),
13296         (gst_scheduler_factory_create):
13297         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13298         (gst_structure_free), (gst_structure_set_name),
13299         (gst_structure_id_set_value), (gst_structure_set_value),
13300         (gst_structure_set_valist), (gst_structure_remove_field),
13301         (gst_structure_remove_fields),
13302         (gst_structure_remove_fields_valist),
13303         (gst_structure_remove_all_fields), (gst_structure_foreach),
13304         (gst_structure_map_in_place),
13305         (gst_caps_structure_fixate_field_nearest_int),
13306         (gst_caps_structure_fixate_field_nearest_double):
13307         * gst/gststructure.h:
13308         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13309         (gst_system_clock_init), (gst_system_clock_dispose),
13310         (gst_system_clock_async_thread),
13311         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13312         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13313         * gst/gstsystemclock.h:
13314         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13315         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13316         * gst/gsttaginterface.c:
13317         * gst/gstthread.c: (gst_thread_dispose),
13318         (gst_thread_release_children_locks), (gst_thread_change_state),
13319         (gst_thread_main_loop):
13320         * gst/gsttrashstack.h:
13321         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13322         * gst/gsttypes.h:
13323         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13324         (gst_element_request_pad), (gst_element_get_pad_from_template),
13325         (gst_element_request_compatible_pad),
13326         (gst_element_get_compatible_pad_filtered),
13327         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13328         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13329         (gst_element_link_many), (gst_element_link),
13330         (gst_element_link_pads), (gst_element_unlink_pads),
13331         (gst_element_unlink_many), (gst_element_unlink),
13332         (gst_pad_can_link_filtered), (gst_pad_can_link),
13333         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13334         (gst_object_default_error), (gst_bin_add_many),
13335         (gst_bin_remove_many), (gst_element_populate_std_props),
13336         (gst_element_class_install_std_props), (gst_buffer_merge),
13337         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13338         (link_fold_func), (gst_pad_proxy_setcaps):
13339         * gst/gstutils.h:
13340         * gst/gstvalue.c: (gst_value_deserialize_string):
13341         * gst/parse/grammar.y:
13342         * gst/schedulers/gstbasicscheduler.c:
13343         (gst_basic_scheduler_cothreaded_chain),
13344         (gst_basic_scheduler_chain_recursive_add),
13345         (gst_basic_scheduler_pad_link):
13346         * gst/schedulers/gstoptimalscheduler.c:
13347         (get_group_schedule_function),
13348         (gst_opt_scheduler_state_transition),
13349         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13350         * libs/gst/bytestream/bytestream.c:
13351         * libs/gst/dataprotocol/dataprotocol.c:
13352         (gst_dp_header_from_buffer):
13353         * po/nb.po:
13354         * po/ru.po:
13355         * tests/threadstate/threadstate2.c: (eos):
13356         * tools/gst-compprep.c: (main):
13357         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13358         (print_pad_info), (print_children_info):
13359         * tools/gst-launch.c: (idle_func), (main):
13360         * tools/gst-md5sum.c: (idle_func), (main):
13361         * tools/gst-xmlinspect.c: (print_element_info):
13362         First THREADED backport attempt, focusing on adding locks and
13363         making sure the API is threadsafe. Needs more work. More docs
13364         follow this week.
13365
13366 2005-02-24  Andy Wingo  <wingo@pobox.com>
13367
13368         * tests/bench-complexity.scm:
13369         * tests/complexity.gnuplot: New files, good for running complexity
13370         benchmarks.
13371
13372         * tests/Makefile.am:
13373         * tests/complexity.c: New test, sets up N elements, at each level
13374         teeing into M streams per element. Eeeenteresting.
13375
13376         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13377         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13378         running bench-mass_elements.scm.
13379
13380         * tests/bench-mass_elements.scm: New script, runs mass_elements
13381         for various numbers of identities, outputting the results to a
13382         file. Requires guile 1.6. Just for testing.
13383
13384 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13385
13386         * gst/schedulers/fairscheduler.c:
13387           compile with debug disabled
13388
13389 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13390
13391         * configure.ac:
13392           hunting season on 0.9 is now OPEN