gst/gstutils.c: Small cleanup.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-02  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstutils.c: (gst_util_uint64_scale_int64),
4         (gst_util_uint64_scale_int):
5         Small cleanup.
6
7         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8         Add debug log line.
9
10         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11         Add FIXME.
12
13 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14
15         * win32/MANIFEST:
16         * win32/common/config.h:
17         * win32/vs6/gstreamer.dsw:
18         * win32/vs6/libgstcoreelements.dsp:
19         * win32/vs6/libgstelements.dsp:
20           renamed core elements plugin
21
22 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23
24         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
25         (get_candidates):
26           do piece-wise major/minor comparison so 0.9 < 0.10
27           also allow .exe extensions for tools
28
29 2005-12-02  Michael Smith  <msmith@fluendo.com>
30
31         * gst/gst.c:
32           Escape a % to make gtkdoc happier; bug 322958.
33
34 === release 0.9.7 ===
35
36 2005-12-01   <thomas (at) apestaart (dot) org>
37
38         * configure.ac:
39           releasing 0.9.7, "My Dog Has No Nose"
40
41 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
42
43         * common/gst-xmlinspect.py:
44         * configure.ac:
45         * docs/libs/tmpl/gstdataprotocol.sgml:
46         * docs/random/release:
47         * po/af.po:
48         * po/az.po:
49         * po/bg.po:
50         * po/ca.po:
51         * po/cs.po:
52         * po/de.po:
53         * po/en_GB.po:
54         * po/fr.po:
55         * po/it.po:
56         * po/nb.po:
57         * po/nl.po:
58         * po/ru.po:
59         * po/sq.po:
60         * po/sr.po:
61         * po/sv.po:
62         * po/tr.po:
63         * po/uk.po:
64         * po/vi.po:
65         * win32/common/config.h:
66         * win32/common/config.h.in:
67         * win32/vs6/gst_inspect.dsp:
68         * win32/vs6/gst_launch.dsp:
69         * win32/vs6/libgstbase.dsp:
70         * win32/vs6/libgstelements.dsp:
71         * win32/vs6/libgstreamer.dsp:
72         * win32/vs7/GStreamer.vcproj:
73         * win32/vs7/gst-inspect.vcproj:
74         * win32/vs7/gst-launch.vcproj:
75         * win32/vs7/libgstbase.vcproj:
76           bump GST_MAJORMINOR to 0.10
77           reset libtool version
78
79 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
80
81         * po/LINGUAS:
82         * po/bg.po:
83           Added Bulgarian translation by (Alexander Shopov)
84
85 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
86
87         * tests/check/gst/gstplugin.c:
88           fix test
89
90 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
91
92         * common/gst-xmlinspect.py:
93         * common/gtk-doc-plugins.mak:
94         * configure.ac:
95         * docs/Makefile.am:
96         * docs/gst/Makefile.am:
97         * docs/gst/gstreamer-docs.sgml:
98         * docs/gst/gstreamer-sections.txt:
99         * docs/gst/gstreamer.types:
100         * docs/gst/gstreamer.types.in:
101         * docs/plugins/Makefile.am:
102         * docs/plugins/gstreamer-plugins-docs.sgml:
103         * docs/plugins/gstreamer-plugins-sections.txt:
104         * docs/plugins/gstreamer-plugins.types:
105         * docs/plugins/inspect.stamp:
106         * docs/plugins/inspect/plugin-coreelements.xml:
107         * docs/plugins/inspect/plugin-coreindexers.xml:
108         * docs/plugins/scanobj-build.stamp:
109         * gstreamer.spec.in:
110         * plugins/elements/Makefile.am:
111         * plugins/elements/gstelements.c:
112         * plugins/elements/gstfakesink.c:
113         * plugins/elements/gstfakesrc.c:
114         * plugins/elements/gstfilesink.c:
115         * plugins/elements/gstfilesrc.c:
116         * plugins/elements/gstqueue.c:
117         * plugins/indexers/Makefile.am:
118         * plugins/indexers/gstindexers.c:
119           document core plugins in a separate document just like all the
120           others
121           rename these plugins to something starting with core
122
123 2005-12-01  Andy Wingo  <wingo@pobox.com>
124
125         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
126         padding here before, but it missed the commit.
127
128 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
129
130         * libs/gst/controller/gstinterpolation.c:
131           whitespace prices have crashed, we should feel free to use some now
132           use gst_guint64_to_gdouble
133
134 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
135
136         * libs/gst/controller/gstcontroller.c:
137         * libs/gst/controller/gsthelper.c:
138         * libs/gst/controller/gstinterpolation.c:
139         * libs/gst/controller/lib.c:
140           wrap config.h include
141
142 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
143
144         * docs/gst/gstreamer-sections.txt:
145           update docs
146
147 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
148
149         * plugins/elements/gstelements.c:
150         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
151         (gst_fd_sink__class_init), (gst_fd_sink__init),
152         (gst_fd_sink__chain), (gst_fd_sink__set_property),
153         (gst_fd_sink__get_property):
154         * plugins/elements/gstfdsink.h:
155         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
156         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
157         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
158         (gst_fd_src_unlock), (gst_fd_src_set_property),
159         (gst_fd_src_get_property), (gst_fd_src_create),
160         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
161         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
162         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
163         (gst_fd_src_uri_handler_init):
164         * plugins/elements/gstfdsrc.h:
165         * plugins/elements/gstqueue.c: (gst_queue_get_type):
166           more anal cleanup
167
168 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
169
170         * docs/gst/Makefile.am:
171         * docs/gst/gstreamer.types.in:
172         * gst/Makefile.am:
173           fix the docs build
174
175 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
176
177         * configure.ac:
178         * gst/Makefile.am:
179         * gst/gst.c:
180         * gst/gstplugin.h:
181         * gst/gstregistry.h:
182         * tests/benchmarks/complexity.c:
183         * tests/benchmarks/mass-elements.c:
184         * tests/check/Makefile.am:
185         * tools/Makefile.am:
186         * tools/gst-inspect.c:
187         * tools/gst-xmlinspect.c:
188           various fixes to make
189           --disable-nls --disable-registry --disable-loadsave
190           --disable-parse --disable-gst-debug
191           work and get the core .so down to 360444 bytes after stripping
192
193 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
194
195         * Makefile.am:
196         * configure.ac:
197           descend into tests
198         * docs/random/thomasvs/TODO:
199         * tests/Makefile.am:
200         * tests/README:
201           add a README
202
203 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
204
205         * win32/GStreamer.vcproj:
206         * win32/MANIFEST:
207         * win32/Makefile:
208         * win32/Makefile.inspect:
209         * win32/Makefile.launch:
210         * win32/Makefile.register:
211         * win32/README.txt:
212         * win32/gst-inspect.vcproj:
213         * win32/gst-launch.vcproj:
214         * win32/gst-register.vcproj:
215         * win32/gstelements.vcproj:
216         * win32/gstgetbits.def:
217         * win32/gstgetbits.vcproj:
218         * win32/gstreamer-dbg.def:
219         * win32/gstreamer.def:
220         * win32/libgstbase.def:
221         * win32/libgstbase.vcproj:
222         * win32/link_oldruntime.c:
223         * win32/mman.c:
224         * win32/mman.h:
225         * win32/mman.inl:
226         * win32/msvc71.sln:
227           move even more stuff, win32/ is nice and clean now
228
229 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
230
231         * libs/gst/control/.cvsignore:
232         * win32/MANIFEST:
233         * win32/config.h:
234         * win32/dirent.c:
235         * win32/dirent.h:
236         * win32/gstbytestream.def:
237         * win32/gstbytestream.vcproj:
238         * win32/gstconfig.h:
239         * win32/gstenumtypes.c:
240         * win32/gstenumtypes.h:
241         * win32/gstoptimalscheduler.vcproj:
242         * win32/gstversion.h:
243         * win32/gtchar.h:
244         * win32/testsuite/bins.vcproj:
245         * win32/testsuite/bytestream.vcproj:
246         * win32/testsuite/caps.vcproj:
247         * win32/testsuite/cleanup.vcproj:
248         * win32/testsuite/clock.vcproj:
249         * win32/testsuite/debug.vcproj:
250         * win32/testsuite/dlopen.vcproj:
251         * win32/testsuite/dynparams.vcproj:
252         * win32/testsuite/elements.vcproj:
253         * win32/testsuite/ghostpads.vcproj:
254         * win32/testsuite/indexers.vcproj:
255         * win32/testsuite/negotiation.vcproj:
256         * win32/testsuite/parse.vcproj:
257         * win32/testsuite/plugin.vcproj:
258         * win32/testsuite/refcounting.vcproj:
259         * win32/testsuite/schedulers.vcproj:
260         * win32/testsuite/states.vcproj:
261         * win32/testsuite/tags.vcproj:
262         * win32/testsuite/threads.vcproj:
263           remove old win32 stuff that isn't maintained and should be
264           reorganized
265
266 2005-11-30  Andy Wingo  <wingo@pobox.com>
267
268         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
269         loading the gst.interfaces python module bork.
270
271         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
272         available since GLib 2.2. Fixes #318031.
273
274 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
275
276         * Makefile.am:
277         * check/.cvsignore:
278         * check/Makefile.am:
279         * check/elements/.cvsignore:
280         * check/elements/fakesrc.c:
281         * check/elements/fdsrc.c:
282         * check/elements/identity.c:
283         * check/generic/.cvsignore:
284         * check/generic/states.c:
285         * check/gst-libs/.cvsignore:
286         * check/gst-libs/controller.c:
287         * check/gst-libs/gdp.c:
288         * check/gst/.cvsignore:
289         * check/gst/capslist.h:
290         * check/gst/gst.c:
291         * check/gst/gstbin.c:
292         * check/gst/gstbuffer.c:
293         * check/gst/gstbus.c:
294         * check/gst/gstcaps.c:
295         * check/gst/gstelement.c:
296         * check/gst/gstevent.c:
297         * check/gst/gstghostpad.c:
298         * check/gst/gstiterator.c:
299         * check/gst/gstmessage.c:
300         * check/gst/gstminiobject.c:
301         * check/gst/gstobject.c:
302         * check/gst/gstpad.c:
303         * check/gst/gstpipeline.c:
304         * check/gst/gstplugin.c:
305         * check/gst/gstsegment.c:
306         * check/gst/gststructure.c:
307         * check/gst/gstsystemclock.c:
308         * check/gst/gsttag.c:
309         * check/gst/gstutils.c:
310         * check/gst/gstvalue.c:
311         * check/net/.cvsignore:
312         * check/net/gstnetclientclock.c:
313         * check/net/gstnettimeprovider.c:
314         * check/pipelines/.cvsignore:
315         * check/pipelines/cleanup.c:
316         * check/pipelines/simple_launch_lines.c:
317         * check/pipelines/stress.c:
318         * check/states/.cvsignore:
319         * check/states/sinks.c:
320         * configure.ac:
321         * examples/Makefile.am:
322         * examples/appreader/.cvsignore:
323         * examples/appreader/Makefile.am:
324         * examples/appreader/appreader.c:
325         * examples/controller/.cvsignore:
326         * examples/controller/Makefile.am:
327         * examples/controller/audio-example.c:
328         * examples/cutter/.cvsignore:
329         * examples/cutter/Makefile.am:
330         * examples/cutter/cutter.c:
331         * examples/cutter/cutter.h:
332         * examples/events/Makefile.am:
333         * examples/events/seek.c:
334         * examples/helloworld/.cvsignore:
335         * examples/helloworld/Makefile.am:
336         * examples/helloworld/helloworld.c:
337         * examples/helloworld2/.cvsignore:
338         * examples/helloworld2/Makefile.am:
339         * examples/helloworld2/helloworld2.c:
340         * examples/launch/.cvsignore:
341         * examples/launch/Makefile.am:
342         * examples/launch/mp3parselaunch.c:
343         * examples/launch/mp3play:
344         * examples/manual/.cvsignore:
345         * examples/manual/Makefile.am:
346         * examples/manual/extract.pl:
347         * examples/metadata/Makefile.am:
348         * examples/metadata/read-metadata.c:
349         * examples/mixer/.cvsignore:
350         * examples/mixer/Makefile.am:
351         * examples/mixer/mixer.c:
352         * examples/mixer/mixer.h:
353         * examples/pingpong/.cvsignore:
354         * examples/pingpong/Makefile.am:
355         * examples/pingpong/pingpong.c:
356         * examples/plugins/.cvsignore:
357         * examples/plugins/Makefile.am:
358         * examples/plugins/example.c:
359         * examples/plugins/example.h:
360         * examples/pwg/.cvsignore:
361         * examples/pwg/Makefile.am:
362         * examples/pwg/extract.pl:
363         * examples/queue/.cvsignore:
364         * examples/queue/Makefile.am:
365         * examples/queue/queue.c:
366         * examples/queue2/.cvsignore:
367         * examples/queue2/Makefile.am:
368         * examples/queue2/queue2.c:
369         * examples/queue3/.cvsignore:
370         * examples/queue3/Makefile.am:
371         * examples/queue3/queue3.c:
372         * examples/queue4/.cvsignore:
373         * examples/queue4/Makefile.am:
374         * examples/queue4/queue4.c:
375         * examples/retag/.cvsignore:
376         * examples/retag/Makefile.am:
377         * examples/retag/retag.c:
378         * examples/retag/transcode.c:
379         * examples/thread/.cvsignore:
380         * examples/thread/Makefile.am:
381         * examples/thread/thread.c:
382         * examples/typefind/.cvsignore:
383         * examples/typefind/Makefile.am:
384         * examples/typefind/typefind.c:
385         * examples/xml/.cvsignore:
386         * examples/xml/Makefile.am:
387         * examples/xml/createxml.c:
388         * examples/xml/runxml.c:
389         * tests/Makefile.am:
390         * tests/check/Makefile.am:
391         * testsuite/.cvsignore:
392         * testsuite/Makefile.am:
393         * testsuite/Rules:
394         * testsuite/caps/.cvsignore:
395         * testsuite/caps/Makefile.am:
396         * testsuite/caps/app_fixate.c:
397         * testsuite/caps/audioscale.c:
398         * testsuite/caps/caps.c:
399         * testsuite/caps/caps.h:
400         * testsuite/caps/caps_strings:
401         * testsuite/caps/compatibility.c:
402         * testsuite/caps/deserialize.c:
403         * testsuite/caps/enumcaps.c:
404         * testsuite/caps/eratosthenes.c:
405         * testsuite/caps/filtercaps.c:
406         * testsuite/caps/fixed.c:
407         * testsuite/caps/fraction-convert.c:
408         * testsuite/caps/fraction-multiply-and-zero.c:
409         * testsuite/caps/intersect2.c:
410         * testsuite/caps/intersection.c:
411         * testsuite/caps/normalisation.c:
412         * testsuite/caps/random.c:
413         * testsuite/caps/renegotiate.c:
414         * testsuite/caps/sets.c:
415         * testsuite/caps/simplify.c:
416         * testsuite/caps/string-conversions.c:
417         * testsuite/caps/structure.c:
418         * testsuite/caps/subtract.c:
419         * testsuite/caps/union.c:
420         * testsuite/debug/.cvsignore:
421         * testsuite/debug/Makefile.am:
422         * testsuite/debug/category.c:
423         * testsuite/debug/commandline.c:
424         * testsuite/debug/global.c:
425         * testsuite/debug/output.c:
426         * testsuite/debug/printf_extension.c:
427         * testsuite/dlopen/.cvsignore:
428         * testsuite/dlopen/Makefile.am:
429         * testsuite/dlopen/dlopen_gst.c:
430         * testsuite/dlopen/loadgst.c:
431         * testsuite/elements/.cvsignore:
432         * testsuite/elements/Makefile.am:
433         * testsuite/elements/gst-inspect-check.in:
434         * testsuite/elements/struct_i386.h:
435         * testsuite/elements/struct_size.c:
436         * testsuite/indexers/.cvsignore:
437         * testsuite/indexers/Makefile.am:
438         * testsuite/indexers/cache1.c:
439         * testsuite/indexers/indexdump.c:
440         * testsuite/parse/.cvsignore:
441         * testsuite/parse/Makefile.am:
442         * testsuite/parse/parse1.c:
443         * testsuite/parse/parse2.c:
444         * testsuite/plugin/.cvsignore:
445         * testsuite/plugin/Makefile.am:
446         * testsuite/plugin/README:
447         * testsuite/plugin/dynamic.c:
448         * testsuite/plugin/linked.c:
449         * testsuite/plugin/loading.c:
450         * testsuite/plugin/registry.c:
451         * testsuite/plugin/static.c:
452         * testsuite/plugin/static2.c:
453         * testsuite/plugin/testplugin.c:
454         * testsuite/plugin/testplugin2.c:
455         * testsuite/plugin/testplugin2_s.c:
456         * testsuite/plugin/testplugin_s.c:
457         * testsuite/refcounting/.cvsignore:
458         * testsuite/refcounting/Makefile.am:
459         * testsuite/refcounting/bin.c:
460         * testsuite/refcounting/element.c:
461         * testsuite/refcounting/element_pad.c:
462         * testsuite/refcounting/mainloop.c:
463         * testsuite/refcounting/mem.c:
464         * testsuite/refcounting/mem.h:
465         * testsuite/refcounting/object.c:
466         * testsuite/refcounting/pad.c:
467         * testsuite/refcounting/sched.c:
468         * testsuite/refcounting/thread.c:
469         * testsuite/states/.cvsignore:
470         * testsuite/states/Makefile.am:
471         * testsuite/states/bin.c:
472         * testsuite/states/locked.c:
473         * testsuite/states/parent.c:
474         * testsuite/threads/.cvsignore:
475         * testsuite/threads/159566.c:
476         * testsuite/threads/159852.c:
477         * testsuite/threads/Makefile.am:
478         * testsuite/threads/queue.c:
479         * testsuite/threads/signals.c:
480         * testsuite/threads/staticrec.c:
481         * testsuite/threads/thread.c:
482         * testsuite/threads/threadb.c:
483         * testsuite/threads/threadc.c:
484         * testsuite/threads/threadd.c:
485         * testsuite/threads/threade.c:
486         * testsuite/threads/threadf.c:
487         * testsuite/threads/threadg.c:
488         * testsuite/threads/threadh.c:
489         * testsuite/threads/threadi.c:
490           move all of these under tests
491
492 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
493
494         * configure.ac:
495         * tests/Makefile.am:
496           fix distcheck
497
498 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
499
500         * docs/gst/gstreamer-sections.txt:
501         * tests/sched/.cvsignore:
502         * tests/sched/Makefile.am:
503         * tests/sched/cases/(fs-fs).xml:
504         * tests/sched/cases/(fs-i-fs).xml:
505         * tests/sched/cases/(fs-i-i-fs).xml:
506         * tests/sched/cases/(fs-i-q[i-fs]).xml:
507         * tests/sched/dynamic-pipeline.c:
508         * tests/sched/interrupt1.c:
509         * tests/sched/interrupt2.c:
510         * tests/sched/interrupt3.c:
511         * tests/sched/runtestcases:
512         * tests/sched/runxml.c:
513         * tests/sched/sched-stress.c:
514         * tests/sched/sort.c:
515         * tests/sched/testcases:
516         * tests/sched/testcases1.tc:
517         * tests/seeking/.cvsignore:
518         * tests/seeking/Makefile.am:
519         * tests/seeking/seeking1.c:
520         * tests/threadstate/.cvsignore:
521         * tests/threadstate/Makefile.am:
522         * tests/threadstate/test1.c:
523         * tests/threadstate/test2.c:
524         * tests/threadstate/threadstate1.c:
525         * tests/threadstate/threadstate2.c:
526         * tests/threadstate/threadstate3.c:
527         * tests/threadstate/threadstate4.c:
528         * tests/threadstate/threadstate5.c:
529           remove obsolete tests
530         * configure.ac:
531         * tests/bench-complexity.scm:
532         * tests/bench-mass_elements.scm:
533         * tests/complexity.c:
534         * tests/complexity.gnuplot:
535         * tests/instantiate/.cvsignore:
536         * tests/instantiate/Makefile.am:
537         * tests/instantiate/caps.c:
538         * tests/mass_elements.c:
539         * tests/network-clock-utils.scm:
540         * tests/network-clock.scm:
541         * tests/plot-data:
542         First pass at cleaning up tests/ dir before moving the rest
543         Combined with CVS surgery
544
545 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
546
547         * po/POTFILES.in:
548           queue has moved, update
549
550 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
551
552         * docs/gst/gstreamer-sections.txt:
553           remove double entries from the docs
554         * gst/gst_private.h:
555         * gst/gstinfo.c: (_gst_debug_init):
556           remove the THREAD debug category
557         * gst/Makefile.am:
558         * gst/gstqueue.c:
559         * gst/gstqueue.h:
560         * docs/gst/gstreamer.types:
561         * plugins/elements/gstqueue.c: (gst_queue_get_type),
562         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
563           completely move queue and fix up debugging categories
564
565 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
566
567         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
568           make initialization portable, using LL is not
569
570 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
571
572         * win32/common/gstconfig.h:
573           add large padding
574
575 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
576
577         * win32/common/libgstreamer.def:
578           rename symbols; sort base section
579
580 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
581
582         * gst/gstclock.c: (do_linear_regression):
583           remove crack non-portable handrolled DEBUG macro
584
585 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
586
587         * docs/random/release:
588           update notes
589         * win32/common/gstenumtypes.c: (register_gst_object_flags),
590         (gst_object_flags_get_type), (register_gst_bin_flags),
591         (gst_bin_flags_get_type), (register_gst_buffer_flag),
592         (gst_buffer_flag_get_type), (register_gst_bus_flags),
593         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
594         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
595         (gst_caps_flags_get_type), (register_gst_clock_return),
596         (gst_clock_return_get_type), (register_gst_clock_entry_type),
597         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
598         (gst_clock_flags_get_type), (register_gst_state),
599         (gst_state_get_type), (register_gst_state_change_return),
600         (gst_state_change_return_get_type), (register_gst_state_change),
601         (gst_state_change_get_type), (register_gst_element_flags),
602         (gst_element_flags_get_type), (register_gst_core_error),
603         (gst_core_error_get_type), (register_gst_library_error),
604         (gst_library_error_get_type), (register_gst_resource_error),
605         (gst_resource_error_get_type), (register_gst_stream_error),
606         (gst_stream_error_get_type), (register_gst_event_type_flags),
607         (gst_event_type_flags_get_type), (register_gst_event_type),
608         (gst_event_type_get_type), (register_gst_seek_type),
609         (gst_seek_type_get_type), (register_gst_seek_flags),
610         (gst_seek_flags_get_type), (register_gst_format),
611         (gst_format_get_type), (register_gst_index_certainty),
612         (gst_index_certainty_get_type), (register_gst_index_entry_type),
613         (gst_index_entry_type_get_type),
614         (register_gst_index_lookup_method),
615         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
616         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
617         (gst_index_resolver_method_get_type), (register_gst_index_flags),
618         (gst_index_flags_get_type), (register_gst_debug_level),
619         (gst_debug_level_get_type), (register_gst_debug_color_flags),
620         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
621         (gst_iterator_result_get_type), (register_gst_iterator_item),
622         (gst_iterator_item_get_type), (register_gst_message_type),
623         (gst_message_type_get_type), (register_gst_mini_object_flags),
624         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
625         (gst_pad_link_return_get_type), (register_gst_flow_return),
626         (gst_flow_return_get_type), (register_gst_activate_mode),
627         (gst_activate_mode_get_type), (register_gst_pad_direction),
628         (gst_pad_direction_get_type), (register_gst_pad_flags),
629         (gst_pad_flags_get_type), (register_gst_pad_presence),
630         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
631         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
632         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
633         (gst_plugin_error_get_type), (register_gst_plugin_flags),
634         (gst_plugin_flags_get_type), (register_gst_rank),
635         (gst_rank_get_type), (register_gst_query_type),
636         (gst_query_type_get_type), (register_gst_tag_merge_mode),
637         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
638         (gst_tag_flag_get_type), (register_gst_task_state),
639         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
640         (gst_alloc_trace_flags_get_type),
641         (register_gst_type_find_probability),
642         (gst_type_find_probability_get_type), (register_gst_uri_type),
643         (gst_uri_type_get_type), (register_gst_parse_error),
644         (gst_parse_error_get_type):
645         * win32/common/gstenumtypes.h:
646         * win32/common/gstversion.h:
647           update visual studio generated files
648
649 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
650
651         * win32/vs6/libgstbase.dsp:
652         * win32/vs6/libgstelements.dsp:
653           update project files for new locations
654
655 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
656
657         * Makefile.am:
658           remove some files
659         * README:
660           reinstate and update
661         * DEVEL:
662         * REQUIREMENTS:
663           removed
664         * LICENSE:
665         * docs/random/LICENSE:
666           moved to random
667
668 2005-11-30  Edward Hervey  <edward@fluendo.com>
669
670         * gst/gsttypefind.c: (gst_type_find_register):
671         * gst/gsttypefind.h:
672         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
673         (gst_type_find_factory_dispose):
674         * gst/gsttypefindfactory.h:
675         Fix memory leak in GstTypeFindFactory.
676
677 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
678
679         * gst/gst.c:
680         * plugins/elements/Makefile.am:
681         * plugins/elements/gstelements.c:
682         * plugins/elements/gstqueue.c:
683           move queue from core to the elements plugin
684
685 2005-11-29  Andy Wingo  <wingo@pobox.com>
686
687         * libs/gst/base/gstbasetransform.h: 
688         * libs/gst/base/gstbasesrc.h: 
689         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
690
691         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
692         of pointers by which to pad very extensible base classes (like the
693         ones in libs/gst/base).
694
695 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
696
697         * docs/gst/gstreamer-docs.sgml:
698         * docs/gst/gstreamer-sections.txt:
699         * docs/libs/gstreamer-libs-docs.sgml:
700         * docs/libs/gstreamer-libs-sections.txt:
701           moving documentation from core to lib
702
703 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
704
705         * check/Makefile.am:
706         * configure.ac:
707         * docs/gst/Makefile.am:
708         * gst/Makefile.am:
709         * gst/base/.cvsignore:
710         * gst/base/Makefile.am:
711         * gst/base/README:
712         * gst/base/gstadapter.c:
713         * gst/base/gstadapter.h:
714         * gst/base/gstbasesink.c:
715         * gst/base/gstbasesink.h:
716         * gst/base/gstbasesrc.c:
717         * gst/base/gstbasesrc.h:
718         * gst/base/gstbasetransform.c:
719         * gst/base/gstbasetransform.h:
720         * gst/base/gstcollectpads.c:
721         * gst/base/gstcollectpads.h:
722         * gst/base/gstpushsrc.c:
723         * gst/base/gstpushsrc.h:
724         * gst/base/gsttypefindhelper.c:
725         * gst/base/gsttypefindhelper.h:
726         * gst/check/Makefile.am:
727         * gst/check/gstcheck.c:
728         * gst/check/gstcheck.h:
729         * gst/net/Makefile.am:
730         * gst/net/gstnet.h:
731         * gst/net/gstnetclientclock.c:
732         * gst/net/gstnetclientclock.h:
733         * gst/net/gstnettimepacket.c:
734         * gst/net/gstnettimepacket.h:
735         * gst/net/gstnettimeprovider.c:
736         * gst/net/gstnettimeprovider.h:
737         * libs/gst/Makefile.am:
738         * libs/gst/base/Makefile.am:
739         * libs/gst/base/gstbasetransform.c:
740         * libs/gst/check/Makefile.am:
741         * plugins/elements/Makefile.am:
742         * po/POTFILES.in:
743           CVS surgery + support to move base, check, and net out of gst
744           and into libs/gst
745
746 2005-11-29  Andy Wingo  <wingo@pobox.com>
747
748         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
749
750         * gst/gststructure.h (struct _GstStructure): Only one pointer of
751         padding.
752
753         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
754
755         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
756
757         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
758
759         * gst/gstobject.h: (struct _GstObject): Only one pointer of
760         padding; reduces object size by about 30%. We don't expect
761         anything else to go into gstobject.
762
763         * gst/gstminiobject.h (struct _GstMiniObject)
764         (struct _GstMiniObjectClass): Only one pointer of padding; the
765         payload is only a pointer and two ints anyway. For the class there
766         are only two methods as well.
767         
768         * gst/gstelement.h (struct _GstElementClass): Removed
769         the state_changed signal callback, it is not used.
770
771 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
772
773         * docs/gst/gstreamer.types:
774           fix includes, though they are a little dinky
775
776 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
777
778         * check/Makefile.am:
779           look in the right place for elements, a lot more chance of
780           success
781         * gst/Makefile.am:
782           remove indexers and elements subdirs
783         * plugins/Makefile.am:
784           make indexers conditional
785
786 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
787
788         * Makefile.am:
789         * configure.ac:
790         * plugins/elements/Makefile.am:
791         * plugins/elements/gstcapsfilter.c:
792         * plugins/elements/gstfilesink.c:
793         * plugins/elements/gstfilesrc.c:
794         * plugins/elements/gstidentity.c:
795         * plugins/indexers/Makefile.am:
796           do CVS surgery and related build fixery to move elements
797           and indexers in a new gstreamer/plugins directory, out of the
798           gst/ directory
799
800 2005-11-29  Andy Wingo  <wingo@pobox.com>
801
802         * check/Makefile.am:
803         * pkgconfig/gstreamer-net-uninstalled.pc.in:
804         * pkgconfig/gstreamer-net.pc.in:
805         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
806         #322257.
807
808 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
809
810         * tools/Makefile.am:
811         * tools/gst-complete.1.in:
812         * tools/gst-complete.c:
813         * tools/gst-compprep.1.in:
814         * tools/gst-compprep.c:
815           removing -compprep and -complete
816
817 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
818
819         * gst/gstevent.c: (gst_event_new_new_segment),
820         (gst_event_parse_new_segment):
821         * gst/gstevent.h:
822           fix #320529 - clean up new_segment API and structure.
823           Let's hope everyone was using the methods, and not the structure.
824
825 2005-11-29  Edward Hervey  <edward@fluendo.com>
826
827         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
828         (gst_base_sink_event), (gst_base_sink_do_sync),
829         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
830         Properly handle non GST_FORMAT_TIME segment
831         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
832         Properly handle non GST_FORMAT_TIME segment
833         * gst/gstsegment.c:
834         This function is valid if the accumulator is 0 and the format
835         is different from the requested format.
836         
837 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
838
839         * docs/gst/gstreamer-sections.txt:
840         Add gst_query_new_seeking and gst_query_parse_seeking to the
841         docs.
842
843 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
844
845         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
846           Treat a pad alloc with new caps the same as if we were not
847           negotiated, in order to allow a changing upstream output
848           to produce a new format of data.
849
850 2005-11-29  Edward Hervey  <edward@fluendo.com>
851
852         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
853         (gst_base_transform_event), (gst_base_transform_eventfunc):
854         The event virtual method is now properly implemented, with a default
855         handler
856         Sub classes should call the parent_class event method. They should
857         return FALSE if they had a problem handling the given event, or don't
858         want GstBaseTransform to send that even downstream
859         * gst/elements/gstidentity.c: (gst_identity_class_init),
860         (gst_identity_init), (gst_identity_event),
861         (gst_identity_transform_ip), (gst_identity_set_property),
862         (gst_identity_get_property):
863         * gst/elements/gstidentity.h:
864         Added the single-segment boolean property.
865         If set to TRUE, it will output a single segment of data, starting from
866         0, will eat up all incoming newsegment, and modify the timestamp of the
867         buffers accordingly
868
869 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
870
871         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
872           Don't ref NULL target pad (#322751). Improve docs.
873
874 2005-11-29  Michael Smith  <msmith@fluendo.com>
875
876         * gst/gstregistryxml.c: (load_plugin):
877           Don't crash if we failed to load a feature from a plugin. 
878
879 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
880
881         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
882         (GST_START_TEST):
883           use more check API and less GLib API
884
885 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
886
887         * Makefile.am:
888           don't run checks if we don't have check
889         * common/check.mak:
890           remove the registry when running make torture
891         * docs/gst/gstreamer-sections.txt:
892           remove second multiply
893         * gst/gstqueue.c: (gst_queue_loop):
894           fix a compile warning when disabling debug
895
896 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
897
898         * gst/gstinfo.h:
899         Hey! Let's print the pad name if the pointer != NULL instead
900         of when it == NULL :-)
901
902 2005-11-28  Wim Taymans  <wim@fluendo.com>
903
904         * check/gst/gstutils.c: (GST_START_TEST):
905         Updated check, add some scaling accuracy checking code.
906
907         * gst/gstutils.c: (gst_util_div128_64),
908         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
909         (gst_util_uint64_scale_int):
910         Fix 6 times faster division code. Optimize for common 
911         1/1 and less common X/1 cases.
912
913 2005-11-28  Wim Taymans  <wim@fluendo.com>
914
915         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
916         More checks.
917
918         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
919         (do_linear_regression), (gst_clock_add_observation):
920         Cleanups.
921         Release lock when the clock cannot be slaved.
922         Catch the case where the regression returned an invalid denominator.
923
924         * gst/gstutils.c: (gst_util_div128_64_iterate),
925         (gst_util_div128_64), (gst_util_uint64_scale_int64),
926         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
927         Add protentially more performant non-iterative 128/64 divide function
928         that unfortunatly does not work yet.
929         Shortcut the trivial 0/X = 0 case.
930         Remove the warnings on overflow.
931
932 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
933
934         * gst/gstplugin.c: (gst_plugin_register_func):
935           everything causing a plugin not to load should be at least a WARNING
936
937 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
938
939         * docs/random/ensonic/dparams.txt:
940           some TODOs for the next dev cycle
941         * libs/gst/controller/gstcontroller.c:
942         (gst_controlled_property_set_interpolation_mode),
943         (gst_controlled_property_new):
944         * libs/gst/controller/gstcontroller.h:
945           use base type to assign acccessor functions
946
947 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
948
949         * check/Makefile.am:
950         Oops, that should have been top_srcdir
951
952 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
953
954         * check/Makefile.am:
955         * check/elements/fdsrc.c: (GST_START_TEST):
956         Use a cmdline define to specify the location of a file to use for
957         testing, to avoid breaking distcheck.
958
959 2005-11-28  Andy Wingo  <wingo@pobox.com>
960
961         * gst/gstpad.c (fixate_value): Use array functions for arrays.
962
963 2005-11-28  Edward Hervey  <edward@fluendo.com>
964
965         * tools/gst-launch.c: (main):
966         Clarify the output strings, makes it easier to translate.
967         Fixes #322626
968
969 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
970
971         * gst/Makefile.am:
972           don't try and build net if we don't even have <sys/socket.h>
973
974 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
975
976         * check/Makefile.am:
977         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
978         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
979           Add tests for fdsrc seekability
980
981         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
982         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
983         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
984         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
985         * gst/elements/gstfdsrc.h:
986           fdsrc should not be a 'live' source.
987           Implement seeking on seekable fd's.
988
989         * gst/gstquery.c: (gst_query_new_seeking),
990         (gst_query_parse_seeking):
991         * gst/gstquery.h:
992           Implement SEEKING query functions: 
993             *_new_seeking and *_parse_seeking
994
995 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
996
997         * gst/gstelement.c: (gst_element_dispose):
998           don't loop forever
999
1000         * gst/gstiterator.c:
1001         * gst/gststructure.c:
1002           doc fixes
1003
1004         * libs/gst/controller/gstcontroller.c:
1005         (gst_controlled_property_set_interpolation_mode):
1006         * libs/gst/controller/gstcontroller.h:
1007         * libs/gst/controller/gstinterpolation.c:
1008         (interpolate_none_get_enum_value_array):
1009           support controlling enums
1010
1011 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1012
1013         * gst/gstvalue.c:
1014           Improve documentation for gst_value_union().
1015
1016         * gst/gstvalue.h:
1017           Change return value for union, intersect and subtract functions
1018           from gint to gboolean.
1019
1020 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1021
1022         * gst/gstvalue.c: (gst_value_serialize_any_list),
1023         (gst_value_transform_any_list_string),
1024         (gst_value_deserialize_list), (gst_value_deserialize_array),
1025         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1026         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1027         (gst_value_set_fraction_range_full),
1028         (gst_value_deserialize_fraction_range),
1029         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1030         (gst_value_deserialize_boolean),
1031         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1032         (gst_value_serialize_float), (gst_value_deserialize_float),
1033         (gst_string_wrap), (gst_value_deserialize_string),
1034         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1035         (gst_value_union_int_range_int_range),
1036         (gst_value_intersect_int_range_int_range),
1037         (gst_value_intersect_double_range_double_range),
1038         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1039         (gst_value_subtract_int_range_int_range),
1040         (gst_value_subtract_double_double_range),
1041         (gst_value_subtract_double_range_double_range),
1042         (gst_value_deserialize_fraction):
1043         * gst/gstvalue.h:
1044           Use gint, gdouble and gchar in our API instead of int, double and
1045           char (and make usage in gstvalue.c more consistent).
1046
1047 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1048
1049         * check/Makefile.am:
1050         * libs/gst/controller/Makefile.am:
1051         * libs/gst/dataprotocol/Makefile.am:
1052           fix up Makefile.am and remove GST_ENABLE_NEW
1053
1054 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1055
1056         * configure.ac:
1057         * gst/Makefile.am:
1058         * gst/base/Makefile.am:
1059         * gst/check/Makefile.am:
1060         * gst/elements/Makefile.am:
1061         * gst/net/Makefile.am:
1062           update LDFLAGS use some more
1063
1064 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1065
1066         * common/m4/gst-doc.m4:
1067           Fixes #312589
1068
1069 2005-11-26  Edward Hervey  <edward@fluendo.com>
1070
1071         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1072         This shouldn't issue a g_warning since it returns NULL if it
1073         couldn't find the plugin, and all functions using this behave
1074         properly on a NULL return. Switching to a GST_WARNING.
1075
1076 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1077
1078         * gst/gstbin.c: (gst_bin_handle_message_func):
1079         Don't leak clock messages.
1080
1081 2005-11-25  Wim Taymans  <wim@fluendo.com>
1082
1083         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1084         (gst_util_uint64_scale_int):
1085         Optimisations, remove unneeded vars.
1086
1087 2005-11-25  Wim Taymans  <wim@fluendo.com>
1088
1089         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1090         Added more checks for the high precision uint64 cases.
1091
1092         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1093         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1094         Implement high precision (guint64 * guint64) / guint64.
1095
1096 2005-11-24  Wim Taymans  <wim@fluendo.com>
1097
1098         * gst/base/gstbasesrc.c: (gst_base_src_query):
1099         Fix wrong percentage query.
1100
1101         * gst/gstutils.c: (gst_util_uint64_scale),
1102         (gst_util_uint64_scale_int):
1103         Add some more common cases that can be handled 
1104         efficiently to _scale.
1105
1106 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1107
1108         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1109         (gst_mini_object_suite):
1110           don't use check calls from threads; check probably isn't
1111           threadsafe and using a lock to make it threadsafe would
1112           defeat the purpose of this check
1113         * gst/check/gstcheck.c:
1114         * gst/check/gstcheck.h:
1115           use GST_DEBUG some more
1116
1117 2005-11-24  Wim Taymans  <wim@fluendo.com>
1118
1119         * gst/gstutils.c: (gst_util_uint64_scale),
1120         (gst_util_uint64_scale_int):
1121         Chain trivial case to _scale_int.
1122
1123 2005-11-24  Wim Taymans  <wim@fluendo.com>
1124
1125         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1126         Added test for scaling.
1127
1128         * gst/gstclock.h:
1129         Small doc fix.
1130
1131         * gst/gstutils.c: (gst_util_uint64_scale_int):
1132         Implemented high precision scaling code.
1133
1134 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1135
1136         * gst/gstinfo.h:
1137           do not crash on pad==NULL
1138
1139 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1140
1141         Patch by: Stefan Kost
1142
1143         * common/gtk-doc.mak:
1144         * docs/gst/Makefile.am:
1145         * docs/libs/Makefile.am:
1146           Fix distcheck issues for the libraries docs build
1147           Closes #319599.
1148
1149 2005-11-24  Michael Smith <msmith@fluendo.com>
1150
1151         * docs/manual/basics-helloworld.xml:
1152           Fix bug #315027: memory leak in example code in docs.
1153
1154 2005-11-24  Michael Smith <msmith@fluendo.com>
1155
1156         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1157           Unlock the PREROLL_LOCK in a failure case.
1158
1159 2005-11-24  Wim Taymans  <wim@fluendo.com>
1160
1161         * docs/gst/gstreamer-sections.txt:
1162         * gst/base/gstadapter.h:
1163         * gst/base/gstbasesink.h:
1164         * gst/base/gstbasesrc.h:
1165         * gst/base/gstbasetransform.h:
1166         * gst/base/gstpushsrc.h:
1167         * gst/elements/gstfakesink.h:
1168         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1169         * gst/elements/gstfakesrc.h:
1170         * gst/elements/gstfilesink.h:
1171         * gst/elements/gstfilesrc.h:
1172         * gst/gst.c:
1173         * gst/gstbin.c:
1174         * gst/gstbuffer.c: (_gst_buffer_copy):
1175         * gst/gstbus.h:
1176         * gst/gstcaps.c:
1177         * gst/gstchildproxy.c:
1178         * gst/gstclock.c:
1179         * gst/gstelement.c:
1180         * gst/gstelementfactory.c:
1181         * gst/gstelementfactory.h:
1182         * gst/gstevent.c:
1183         * gst/gstghostpad.h:
1184         * gst/gstindex.h:
1185         * gst/gstinterface.h:
1186         * gst/gstminiobject.c:
1187         * gst/gstminiobject.h:
1188         * gst/gstpad.c:
1189         * gst/gstpad.h:
1190         * gst/gstpadtemplate.h:
1191         * gst/gstpipeline.h:
1192         * gst/gstpluginfeature.h:
1193         * gst/gstquery.h:
1194         * gst/gstqueue.h:
1195         * gst/gsttaglist.c:
1196         * gst/gsttaglist.h:
1197         * gst/gsttagsetter.c:
1198         * gst/gsttagsetter.h:
1199         * gst/gsttrace.c:
1200         * gst/gsttrace.h:
1201         * gst/gsttypefind.h:
1202         * gst/gsturi.h:
1203         * gst/gstvalue.c:
1204         * gst/net/gstnetclientclock.c:
1205         * gst/net/gstnetclientclock.h:
1206         * gst/net/gstnettimepacket.c:
1207         * gst/net/gstnettimeprovider.c:
1208         * gst/net/gstnettimeprovider.h:
1209         Doc fixes.
1210
1211 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1212
1213         * configure.ac: back to HEAD
1214
1215 === release 0.9.6 ===
1216
1217 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1218
1219         * configure.ac:
1220           releasing 0.9.6, "Always On Time"
1221
1222 2005-11-23  Wim Taymans  <wim@fluendo.com>
1223
1224         * docs/gst/gstreamer-sections.txt:
1225         * gst/glib-compat.c:
1226         * gst/gsttagsetter.c:
1227         * gst/gstvalue.c:
1228         * gst/net/gstnetclientclock.c:
1229         * gst/net/gstnettimepacket.h:
1230         Doc updates.
1231
1232 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1233
1234         * docs/faq/using.xml:
1235         * docs/libs/tmpl/gstcontrol.sgml:
1236         * docs/manual/advanced-dparams.xml:
1237         * docs/manual/appendix-checklist.xml:
1238         * docs/manual/basics-elements.xml:
1239         * docs/pwg/other-source.xml:
1240         * docs/random/moving-plugins:
1241         * gst/gstpad.c:
1242         * tools/gst-launch.1.in:
1243           remove mentions of sinesrc
1244
1245 2005-11-23  Michael Smith <msmith@fluendo.com>
1246
1247         * docs/gst/gstreamer-sections.txt:
1248           Update for new API and API changes.
1249         * gst/gstobject.h:
1250           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1251         * gst/gstvalue.c:
1252           Documentation typo fix.
1253         * gst/net/gstnettimepacket.c:
1254           Documentation fixes for arguments.
1255
1256 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1257
1258         * gst/gststructure.c: (gst_structure_get_fraction),
1259         (gst_structure_parse_value),
1260         (gst_structure_fixate_field_nearest_fraction):
1261         * gst/gststructure.h:
1262         * gst/gstutils.c: (gst_util_uint64_scale_int):
1263         * gst/gstutils.h:
1264         * scripts/update-funcnames:
1265         API Changes. 
1266         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1267         Make gst_structure_fixate_field_nearest_fraction take a numerator
1268         and denominator argument instead of a GValue
1269         add gst_structure_get_fraction helper function.
1270
1271 2005-11-23  Wim Taymans  <wim@fluendo.com>
1272
1273         * docs/design/part-TODO.txt:
1274         Update TODO.
1275
1276         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1277         * gst/net/gstnetclientclock.h:
1278         Use parent fields for timeout and window_size.
1279
1280 2005-11-23  Andy Wingo  <wingo@pobox.com>
1281
1282         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1283         rate_num/rate_denom change.
1284
1285         * gst/net/gstnetclientclock.c
1286         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1287         OBJECT_LOCK. Don't call add_observation with the lock.
1288
1289         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1290         fraction.
1291         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1292         rate fraction.
1293         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1294         deal with rate as a fraction whose numerator and denominator are
1295         GstClockTime values.
1296         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1297         master; the other fields are protected by the SLAVE_LOCK.
1298         (do_linear_regression): Note that this must be called with the
1299         SLAVE_LOCK.
1300         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1301         OBJECT_LOCK. Call set_calibration instead of touching the
1302         variables directly.
1303         (gst_clock_set_property, gst_clock_get_property): Protect
1304         master/slave parameters with the SLAVE_LOCK.
1305
1306         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1307         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1308         note that all of the instance variables that add_observation and
1309         the set_master functions use are protected by that lock and not
1310         the OBJECT_LOCK.
1311         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1312
1313         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1314         the caller to take the object lock.
1315
1316 2005-11-23  Wim Taymans  <wim@fluendo.com>
1317
1318         * gst/gsterror.c: (_gst_core_errors_init):
1319         * gst/gsterror.h:
1320         Add error for clock stuff.
1321
1322         * gst/gstpipeline.c: (gst_pipeline_change_state),
1323         (gst_pipeline_set_clock):
1324         Post clock error when clock cannot be used in a pipeline.
1325
1326 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1327
1328         * docs/gst/gstreamer-sections.txt:
1329           make two symbols from gstinfo private for the docs
1330         * gst/base/gstcollectpads.h:
1331         * gst/gstutils.c:
1332           fix doc typos, update docs
1333
1334 2005-11-22  Wim Taymans  <wim@fluendo.com>
1335
1336         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1337         (gst_base_sink_wait), (gst_base_sink_do_sync),
1338         (gst_base_sink_handle_event):
1339         * gst/base/gstbasesink.h:
1340         No need to store the clock, the parent element class already
1341         has it.
1342
1343         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1344         Updates for clock_set returning a gboolean
1345
1346         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1347         (gst_clock_id_wait_async), (gst_clock_class_init),
1348         (gst_clock_init), (gst_clock_finalize),
1349         (gst_clock_get_internal_time), (gst_clock_get_time),
1350         (gst_clock_slave_callback), (gst_clock_set_master),
1351         (gst_clock_get_master), (do_linear_regression),
1352         (gst_clock_add_observation), (gst_clock_set_property),
1353         (gst_clock_get_property):
1354         * gst/gstclock.h:
1355         Implement master/slave. When setting a clock as a slave, a
1356         periodic timeout is scheduled to sample master and slave times.
1357         Then the slave clock is recalibrated to match offset and rate
1358         of the master clock.
1359         Update logging a bit.
1360         Add flag so that a clock can state that is cannot be slaved to
1361         another clock.
1362
1363         * gst/gstelement.c: (gst_element_set_clock):
1364         * gst/gstelement.h:
1365         The set clock returns a gboolean for when an element cannot
1366         deal with the selected clock in the pipeline. 
1367
1368         * gst/gstpipeline.c: (gst_pipeline_change_state),
1369         (gst_pipeline_set_clock):
1370         * gst/gstpipeline.h:
1371         Handle the case where the selected clock cannot be set on
1372         the pipeline.
1373
1374         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1375         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1376         (gst_net_client_clock_set_property),
1377         (gst_net_client_clock_get_property),
1378         (gst_net_client_clock_observe_times):
1379         * gst/net/gstnetclientclock.h:
1380         Use regression code in GstClock parent, remove duplicated
1381         functionality.
1382
1383 2005-11-22  Michael Smith <msmith@fluendo.com>
1384
1385         * gst/gstutils.c: (gst_util_clock_time_scale):
1386         * gst/gstutils.h:
1387         * docs/gst/gstreamer-sections.txt:
1388           Rename method to have extra underscore.
1389
1390 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1391
1392         * gst/elements/Makefile.am:
1393         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1394         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1395         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1396         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1397         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1398         * gst/elements/gstfakesrc.h:
1399         * gst/gstqueue.c: (queue_leaky_get_type):
1400           correctly fix GEnumValues so that nick is the short lowercase
1401           dashed tag
1402         * tools/gst-inspect.c: (print_element_properties_info):
1403           also show the nick, since it's useful to use from parse_launch
1404           syntax
1405           Fixes #322139
1406
1407 2005-11-22  Michael Smith <msmith@fluendo.com>
1408
1409         * gst/gstutils.c: (gst_util_clocktime_scale):
1410         * gst/gstutils.h:
1411         * docs/gst/gstreamer-sections.txt:
1412           Add util method for scaling a clocktime by a fraction. Useful 
1413           implementation is left as an exercise for the reader.
1414
1415 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1416
1417         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1418         If needed, allocate storage in the destination value during
1419         collection.
1420
1421 2005-11-22  Edward Hervey  <edward@fluendo.com>
1422
1423         * docs/gst/gstreamer-sections.txt:
1424         * gst/Makefile.am:
1425         * gst/gst.h:
1426         * gst/gsturitype.c:
1427         * gst/gsturitype.h:
1428         * gst/gstutils.c: (gst_util_set_object_arg):
1429         * tools/gst-compprep.c: (main):
1430         * tools/gst-inspect.c: (print_element_properties_info):
1431         Removed GstURI, closes bug #321061
1432
1433 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1434
1435         * check/gst/gststructure.c: (GST_START_TEST):
1436         * gst/gststructure.c: (gst_structure_parse_value):
1437           Oops, broke automatic string type parsing.
1438           Add a test to catch it in future.
1439
1440 2005-11-22  Andy Wingo  <wingo@pobox.com>
1441
1442         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1443         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1444         Actually rename the function implementations. Grr.
1445
1446 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1447
1448         * check/gst/capslist.h:
1449           Comment test cases
1450         * check/gst/gststructure.c: (GST_START_TEST),
1451         (gst_structure_suite):
1452           Test automatic value type detection in gst_structure_from_string.
1453         * gst/gststructure.c: (gst_structure_parse_value):
1454           Add fraction as a type we try and guess automatically in
1455           caps/structure strings.
1456
1457 2005-11-22  Andy Wingo  <wingo@pobox.com>
1458
1459         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1460
1461         * gst/gsttagsetter.h:
1462         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1463         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1464         (gst_tag_setter_add_tag_valist)
1465         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1466         _add_values, _add_valist, and _add_valist_values. Since this is an
1467         interface the function suffixes should be more explicit so
1468         language binding don't end up with element.add_valist ->
1469         gst_tag_setter_add_valist, for example. Fixes #322069.
1470
1471 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1472
1473         * check/gst/gstcaps.c: (GST_START_TEST):
1474           Extend caps string tests to check that a caps to string
1475           conversion is reversible and produces the same caps.
1476
1477         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1478           Output "fraction" as the generic type fraction range, so caps
1479           serialisation and deserialisation works.
1480         * check/gst/capslist.h:
1481         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1482           Support 'MIN' and 'MAX' for deserialising fractions.
1483
1484 2005-11-22  Andy Wingo  <wingo@pobox.com>
1485
1486         * gst/gstevent.h (gst_event_new_new_segment)
1487         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1488         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1489         Renamed from *_newsegment, *_buffersize, *_notarget.
1490
1491         * scripts/update-funcnames: New script, performs the changes
1492         listed above.
1493
1494 2005-11-22  Wim Taymans  <wim@fluendo.com>
1495
1496         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1497         Make sure the GstFlowReturn is returned.
1498
1499         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1500         (gst_bus_add_signal_watch):
1501         * gst/gstbus.h:
1502         add gst_bus_add_signal_watch_full.
1503
1504         * gst/gstplugin.c: (gst_plugin_load_file):
1505         Small style cleanup.
1506
1507 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1508
1509         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1510           Block the fakesrc srcpad when we send an event, to avoid
1511           contention on the stream_lock causing random test failures.
1512
1513 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1514
1515         * check/gst/gstvalue.c: (GST_START_TEST):
1516         * gst/gstvalue.c: (gst_value_fraction_subtract):
1517           Fix subtraction.
1518
1519 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1520
1521         * gst/gst.h:
1522           include "gstchildproxy.h"
1523         * gst/gstchildproxy.h:
1524         * libs/gst/controller/gstcontroller.h:
1525           use G_GNUC_NULL_TERMINATED
1526
1527 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1528
1529         * check/gst/capslist.h:
1530         * check/gst/gstcaps.c: (GST_START_TEST):
1531         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1532         * gst/gststructure.c: (gst_structure_parse_range),
1533         (gst_structure_fixate_field_nearest_fraction):
1534         * gst/gststructure.h:
1535         * gst/gstvalue.c: (gst_value_init_fraction_range),
1536         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1537         (gst_value_collect_fraction_range),
1538         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1539         (gst_value_set_fraction_range_full),
1540         (gst_value_get_fraction_range_min),
1541         (gst_value_get_fraction_range_max),
1542         (gst_value_serialize_fraction_range),
1543         (gst_value_transform_fraction_range_string),
1544         (gst_value_compare_fraction_range),
1545         (gst_value_deserialize_fraction_range),
1546         (gst_value_intersect_fraction_fraction_range),
1547         (gst_value_intersect_fraction_range_fraction_range),
1548         (gst_value_subtract_fraction_fraction_range),
1549         (gst_value_subtract_fraction_range_fraction),
1550         (gst_value_subtract_fraction_range_fraction_range),
1551         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1552         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1553         (gst_value_transform_string_fraction), (_gst_value_initialize):
1554         * gst/gstvalue.h:
1555           Implement fraction ranges and extend GstFraction to support
1556           arithmetic subtraction, as well as deserialization from integer
1557           strings such as "100"
1558           Add a testsuite as for int and double range set operations
1559
1560 2005-11-21  Andy Wingo  <wingo@pobox.com>
1561
1562         * gst/gsttaglist.h: 
1563         * gst/gstcaps.h: 
1564         * gst/gststructure.h: Add glib-compat.h.
1565
1566 2005-11-21  Wim Taymans  <wim@fluendo.com>
1567
1568         * gst/gstbin.c: (gst_bin_change_state_func):
1569         Fix for #321595
1570
1571 2005-11-21  Wim Taymans  <wim@fluendo.com>
1572
1573         * gst/gstsegment.h:
1574         And add a nice define too.
1575
1576 2005-11-21  Wim Taymans  <wim@fluendo.com>
1577
1578         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1579         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1580         (gst_segment_set_duration), (gst_segment_set_last_stop),
1581         (gst_segment_set_seek), (gst_segment_set_newsegment),
1582         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1583         (gst_segment_clip):
1584         * gst/gstsegment.h:
1585         Make binding friendly.
1586
1587 2005-11-21  Andy Wingo  <wingo@pobox.com>
1588
1589         * gst/gsttagsetter.h: 
1590         * gst/gsttaglist.h: 
1591         * gst/gststructure.h: 
1592         * gst/gstcaps.h: 
1593         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1594         #319940.
1595
1596         * gst/gsterror.c (_gst_core_errors_init):
1597         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1598         category.
1599
1600         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1601         (noinst_HEADERS): noinst the -private.
1602
1603 2005-11-21  Michael Smith <msmith@fluendo.com>
1604
1605         * gst/gstplugin.h:
1606         * gst/gstregistry.h:
1607           Remove unimplemented declarations for which we can see no sensible
1608           use.
1609
1610 2005-11-21  Andy Wingo  <wingo@pobox.com>
1611
1612         * gst/gst.h: Include glib-compat.h.
1613
1614         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1615
1616         * gst/glib-compat.c: Include the public and the private header.
1617
1618         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1619
1620         * gst/gstvalue.c: 
1621         * gst/gstpad.c: 
1622         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1623
1624         * check/gst/gstevent.c (create_custom_events): Check that
1625         FLUSH_STOP is serialized.
1626
1627         * check/elements/identity.c (event_func): 
1628         * check/elements/fakesrc.c (event_func): No stream lock, the core
1629         takes it.
1630
1631         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1632         stream lock taking, yay.
1633
1634         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1635         ensure that core takes the stream lock.
1636
1637         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1638         lock name change.
1639
1640         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1641         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1642         it already. For the flush start we do take it though so we get the
1643         right preroll state change messages.
1644
1645         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1646         the stream lock here, the core does it for us.
1647
1648         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1649         GST_STREAM_GET_LOCK.
1650         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1651         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1652         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1653         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1654         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1655         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1656
1657         * gst/gstpad.c: Update for stream lock name change.
1658
1659         * gst/base/gstbasesink.c: Update for preroll lock name change.
1660
1661 2005-11-21  Wim Taymans  <wim@fluendo.com>
1662
1663         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1664         (gst_clock_get_master):
1665         * gst/gstclock.h:
1666         * gst/gstsystemclock.c: (gst_system_clock_init):
1667         Convert Clock flags to object flags.
1668         Added methods to manage master/slave clocks.
1669
1670 2005-11-21  Wim Taymans  <wim@fluendo.com>
1671
1672         * check/gst/gstsegment.c: (GST_START_TEST):
1673         * docs/design/part-TODO.txt:
1674         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1675         (gst_base_sink_event), (gst_base_sink_do_sync),
1676         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1677         (gst_base_sink_query), (gst_base_sink_change_state):
1678         * gst/base/gstbasesink.h:
1679         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1680         (gst_base_src_default_newsegment),
1681         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1682         (gst_base_src_get_range), (gst_base_src_loop),
1683         (gst_base_src_change_state):
1684         * gst/base/gstbasesrc.h:
1685         * gst/base/gstbasetransform.c:
1686         (gst_base_transform_prepare_output_buf),
1687         (gst_base_transform_event), (gst_base_transform_change_state):
1688         * gst/base/gstbasetransform.h:
1689         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1690         (gst_collect_pads_event):
1691         * gst/base/gstcollectpads.h:
1692         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1693         (gst_fake_src_create):
1694         * gst/elements/gstfakesrc.h:
1695         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1696         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1697         (gst_segment_set_last_stop), (gst_segment_set_seek),
1698         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1699         (gst_segment_to_running_time), (gst_segment_clip):
1700         * gst/gstsegment.h:
1701         More segment updates, replace code in plugins with segment
1702         helper functions.
1703
1704 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1705
1706         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1707         Don't ignore sscanf results
1708
1709 2005-11-21  Andy Wingo  <wingo@pobox.com>
1710
1711         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1712
1713         * *.h:
1714         * *.c: Ran scripts/update-macros. Oh yes.
1715
1716         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1717         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1718         GST_GET_LOCK, etc.
1719
1720         * scripts/update-macros: New script. Run it on your files to
1721         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1722         well.
1723
1724 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1725
1726         * docs/gst/Makefile.am:
1727         * docs/gst/gstreamer-docs.sgml:
1728         * docs/gst/gstreamer-sections.txt:
1729         * docs/gst/gstreamer.types:
1730         * gst/gstinfo.h:
1731           more docs fixes, add new api to the docs
1732
1733 2005-11-21  Andy Wingo  <wingo@pobox.com>
1734
1735         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1736         state_broadcast call.
1737
1738         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1739
1740 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1741
1742         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1743         function calls for arrays.
1744
1745 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1746
1747         * docs/random/ensonic/media-device-daemon.txt:
1748           wild idea, can this be done?
1749         * docs/gst/gstreamer-sections.txt:
1750         * gst/gsterror.h:
1751         * gst/gstfilter.c:
1752         * gst/gstfilter.h:
1753         * gst/gstplugin.h:
1754         * gst/gstpluginfeature.c:
1755         * gst/gsttrace.c:
1756         * gst/gstvalue.c:
1757         * gst/gstvalue.h:
1758           doc fixes and additions
1759
1760 2005-11-21  Andy Wingo  <wingo@pobox.com>
1761
1762         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1763         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1764         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1765         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1766         private to the basesrc implementation.
1767
1768         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1769         behalf of event function if necessary. It should no longer be
1770         necessary to take the stream lock in pad's event functions. Fixes
1771         #320299.
1772
1773 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1774         * docs/gst/gstreamer-sections.txt:
1775         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1776         (gst_structure_fixate_field_nearest_double),
1777         (gst_structure_fixate_field_boolean):
1778         * gst/gststructure.h:
1779         * win32/common/libgstreamer.def:
1780         * win32/gstreamer.def:
1781
1782         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1783         (#322027)
1784
1785 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1786
1787         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1788         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1789         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1790         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1791         (gst_fdsrc_uri_handler_init):
1792         * gst/elements/gstfdsrc.h:
1793           Port fd:// URI handler from 0.8 to fdsrc
1794
1795 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1796
1797         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1798         (gst_value_serialize_fourcc):
1799         * gst/gstvalue.h:
1800           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1801           consistent with our other format defines (#320324).
1802
1803 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1804
1805         * gst/gstvalue.c: (gst_value_is_fixed):
1806           Revert previous commit. Value lists are by definition
1807           not fixed, as they are a list of possible values.
1808
1809 2005-11-21  Andy Wingo  <wingo@pobox.com>
1810
1811         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1812         during the stable series if we need it. Fixes #319178.
1813
1814         * gst/gstevent.c (gst_event_new_filler): Removed.
1815
1816         * check/gst/gstevent.c: Update comment about filler events.
1817
1818 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1819
1820         * gst/gstvalue.c: (gst_value_is_fixed):
1821           Should handle both value arrays and value lists.
1822
1823 2005-11-21  Andy Wingo  <wingo@pobox.com>
1824
1825         patch by: Alessandro Dessina <alessandro nnva org>
1826
1827         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1828         functions to access arrays. Fixes #321962.
1829
1830 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1831
1832         * docs/gst/gstreamer.types:
1833           gst_collectpads_get_type => gst_collect_pads_get_type.
1834           
1835         * gst/base/gstbasetransform.c:
1836           Remove unused SIGNAL_HANDOFF enum.
1837
1838 2005-11-21  Andy Wingo  <wingo@pobox.com>
1839
1840         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1841         the event type (upstream, downstream, serialized). Renamed
1842         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1843         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1844         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1845
1846         * gst/gstevent.c: Update for new CUSTOM event names.
1847
1848         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1849
1850         * gst/gstevent.h:
1851         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1852         bug #319392.
1853
1854 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1855
1856         * docs/gst/gstreamer-sections.txt:
1857         * win32/common/libgstbase.def:
1858         * win32/libgstbase.def:
1859         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1860         (gst_collect_pads_class_init), (gst_collect_pads_init),
1861         (gst_collect_pads_finalize), (gst_collect_pads_new),
1862         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1863         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1864         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1865         (gst_collect_pads_start), (gst_collect_pads_stop),
1866         (gst_collect_pads_peek), (gst_collect_pads_pop),
1867         (gst_collect_pads_available), (gst_collect_pads_read),
1868         (gst_collect_pads_flush), (gst_collect_pads_event),
1869         (gst_collect_pads_chain):
1870         * gst/base/gstcollectpads.h:
1871           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1872           unimplemented functions as unimplemented. Add padding to
1873           GstCollectData. (#320766, #320423)
1874
1875 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1876
1877         * gst/gstmessage.c:
1878           Improve docs for DURATION message (usage of duration parameter)
1879           (#320113)
1880
1881 2005-11-20  Wim Taymans  <wim@fluendo.com>
1882
1883         * check/Makefile.am:
1884         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1885         (main):
1886         * gst/Makefile.am:
1887         * gst/gst.h:
1888         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1889         (gst_segment_set_seek), (gst_segment_set_newsegment),
1890         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1891         (gst_segment_clip):
1892         * gst/gstsegment.h:
1893         Added segment helper structure and methods. Not fully implemented
1894         yet.
1895         Added segment check.
1896
1897 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1898
1899         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1900           Add a deserialisation test for fractions
1901         * examples/metadata/read-metadata.c: (message_loop),
1902         (make_pipeline), (main):
1903           Fix up metadata reading sample.
1904         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1905           Debug format fix
1906         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1907           Don't try and fixate empty caps
1908         * gst/gst_private.h:
1909           Wrap in G_BEGIN_DECLS/G_END_DECLS
1910         * gst/gstvalue.c: (gst_value_collect_fraction),
1911         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1912         (gst_value_transform_string_fraction),
1913         (gst_value_compare_fraction):
1914           Add some extra guards to ensure that we don't end up 
1915           with an invalid denominator of 0 in a gstfraction and
1916           that fractions always get reduced.
1917
1918 2005-11-20  Wim Taymans  <wim@fluendo.com>
1919
1920         * docs/gst/gstreamer-sections.txt:
1921         * gst/gstbuffer.h:
1922         * gst/gstelement.c:
1923         * gst/gstformat.c:
1924         * gst/gstformat.h:
1925         * gst/gstindex.h:
1926         * gst/gstquery.c:
1927         * gst/gstquery.h:
1928         * gst/gstvalue.c:
1929         Doc fixes.
1930
1931 2005-11-20  Wim Taymans  <wim@fluendo.com>
1932
1933         * docs/design/part-TODO.txt:
1934         * gst/gstcaps.h:
1935         Make a proper enum of the flag.
1936
1937 2005-11-19  Wim Taymans  <wim@fluendo.com>
1938
1939         * docs/design/part-TODO.txt:
1940         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1941         (gst_format_to_quark), (gst_format_register):
1942         * gst/gstformat.h:
1943         * gst/gstquery.c: (_gst_query_initialize),
1944         (gst_query_type_get_name), (gst_query_type_to_quark),
1945         (gst_query_type_register):
1946         * gst/gstquery.h:
1947         Add type to quark and type to string conversions.
1948
1949 2005-11-19  Andy Wingo  <wingo@pobox.com>
1950
1951         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1952         #320097.
1953
1954 2005-11-19  Wim Taymans  <wim@fluendo.com>
1955
1956         * docs/design/part-TODO.txt:
1957         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1958         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1959         (gst_bin_handle_message_func):
1960         * gst/gstbin.h:
1961         Make message handling overridable.
1962
1963 2005-11-19  Andy Wingo  <wingo@pobox.com>
1964
1965         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1966
1967         * gst/gstclock.h:
1968         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1969         be a GstClockTime.
1970         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1971         is a GstClockTime. Fixes #321710.
1972
1973         * gst/gstclock.h (GstClock): Remove offset property. Add
1974         internal_calibration and external_calibration. Fix padding. Pad
1975         also by GstClockTime so we don't run into problems.
1976
1977         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1978         (gst_clock_get_rate_offset): Remove.
1979         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1980
1981         * gst/gstutils.h:
1982         * gst/gstutils.c (g_static_rec_cond_wait)
1983         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1984
1985         * gst/gstbin.c: Remove terrible continue_state prototype.
1986
1987         * gst/gstelement.h (gst_element_continue_state): Make public.
1988
1989         * gst/gstelement.h:
1990         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1991         by continue_state. Fixes #319389.
1992
1993         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1994         Really fixes #168438. However I don't see anywhere where the
1995         filter function is called... stupid GStreamer...
1996         
1997         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1998         don't have a dispose function, so it won't get called when the
1999         object is unreffed, but oh well!
2000
2001         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2002         allows a destroy function to be set so user_data can be freed.
2003         Fixes #168438.
2004         (gst_index_set_filter): Call gst_index_set_filter_full.
2005
2006         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2007
2008         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2009         string should produce an error, given the lack of a way to
2010         represent NULL strings. Fixes #165650.
2011         
2012         * gst/gstvalue.h: 
2013         * gst/gstvalue.c (gst_value_array_append_value) 
2014         (gst_value_array_prepend_value, gst_value_array_get_size) 
2015         (gst_value_array_get_value): New API, copied from
2016         gst_value_list_*, only operates on arrays.
2017         (gst_value_list_append_value, gst_value_list_prepend_value) 
2018         (gst_value_list_concat, gst_value_list_get_size) 
2019         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2020
2021         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2022         init_list, because it works on both.
2023         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2024         (gst_value_copy_list_or_array): Renamed from copy_list.
2025         (gst_value_free_list_or_array): Renamed from free_list.
2026         (gst_value_collect_list_or_array): Renamed from collect_list.
2027         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2028         (gst_value_list_or_array_peek_pointer): Renamed from
2029         list_peek_pointer.
2030         (_gst_value_array_value_table, _gst_value_list_value_table):
2031         Update value table functions.
2032         (gst_value_compare_list_or_array): Renamed from compare_list.
2033
2034         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2035         some constness.
2036
2037         * gst/gsttaglist.c:
2038         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2039         GstTagList*. Fixes #143472.
2040
2041         * gst/gststructure.h: Clarify what the foreach/map functions can
2042         or can't do to their arguments.
2043
2044 2005-11-18  Wim Taymans  <wim@fluendo.com>
2045
2046         * gst/gstclock.c: (gst_clock_set_calibration),
2047         (gst_clock_get_calibration):
2048         Doc and API fixes.
2049         Calibration can be set with internal time equal to current
2050         internal time too.
2051
2052 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2053
2054         * gst/gsterror.c:
2055         * gst/gsterror.h:
2056           document
2057
2058 2005-11-18  Andy Wingo  <wingo@pobox.com>
2059
2060         * configure.ac: 
2061         * pkgconfig/gstreamer-net.pc.in:
2062         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2063         * pkgconfig/Makefile.am: Add net pkgconfig files.
2064
2065 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2066
2067         * gst/gstcaps.c:
2068         * gst/gstghostpad.c:
2069         * gst/gsttrace.c:
2070         * gst/gstvalue.c:
2071         * gst/gstvalue.h:
2072           docs fixes
2073
2074 2005-11-18  Andy Wingo  <wingo@pobox.com>
2075
2076         * gst/net/gstnetclientclock.c: Turn off debugging.
2077
2078         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2079         times connverge somewhat. Can't make a real test.
2080
2081         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2082         integer arithmetic. Return the minimum of the domain, which can be
2083         set as "internal" for gst_clock_set_calibration.
2084         (gst_net_client_clock_observe_times): Call _set_calibration.
2085         (gst_net_client_clock_new): Call _set_calibration instead of
2086         rate_offset.
2087
2088         * check/net/gstnetclientclock.c (test_functioning): Use the right
2089         adjustment api.
2090
2091         * gst/gstclock.h:
2092         * gst/gstclock.c (gst_clock_get_calibration) 
2093         (gst_clock_set_calibration): New functions, obsolete the ones I
2094         added yesterday. Doh. Precision issues mean we have to extrapolate
2095         from a point in the more recent past than 1970.
2096         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2097         obsolete.
2098         (gst_clock_adjust_unlocked): Use the right calibration data.
2099
2100 2005-11-18  Edward Hervey  <edward@fluendo.com>
2101
2102         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2103         Also reset the ->current_* values in READY->PAUSED
2104
2105 2005-11-18  Andy Wingo  <wingo@pobox.com>
2106
2107         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2108         Whoops, check the right fd. Also add some debugging.
2109         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2110         (do_linear_regression): Add a crapload of debugging. Subtract off
2111         the minimum values from the input series to discard unneeded bits.
2112         Use only int arithmetic. There is still double arithmetic when
2113         calculating the intercept that needs fixing. Return boolean to
2114         indicate success; FALSE would mean the domain or range is too
2115         great. Still needs fixes.
2116
2117 2005-11-18  Wim Taymans  <wim@fluendo.com>
2118
2119         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2120         For the current position in stream time, we need to subtract
2121         accumulated time.
2122         
2123         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2124         Release lock before calling the callback function of async
2125         entries.
2126
2127 2005-11-18  Andy Wingo  <wingo@pobox.com>
2128
2129         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2130         Port goes all the way to MAXUINT16.
2131
2132         * gst/net/gstnettimeprovider.c: Make the port range the same as
2133         for the kernel: 0 assigns, otherwise ports are less than
2134         MAXUINT16.
2135
2136         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2137         port change.
2138
2139         * check/net/gstnetclientclock.c (test_functioning): Add the start
2140         of another test. 
2141
2142 2005-11-18  Wim Taymans  <wim@fluendo.com>
2143
2144         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2145         (gst_bin_remove_func), (bin_bus_handler):
2146         * gst/gstbin.h:
2147         Removing a clock provider from a bin, triggers a clock lost message
2148         so that a new clock will be selected.
2149         Adding a clock to a bin triggers a clock provider message.
2150         Make sure we reselect a clock when we received a clock lost message.
2151         Keep a reference to the element that provided the clock.
2152
2153 2005-11-18  Andy Wingo  <wingo@pobox.com>
2154
2155         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2156         the clock initially so it produces values around the base time.
2157         (gst_net_client_clock_class_init): Typo fix.
2158         (gst_net_client_clock_thread): Add note on when the socket gets
2159         closed.
2160
2161 2005-11-17  Wim Taymans  <wim@fluendo.com>
2162
2163         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2164         Free remote and local time arrays.
2165
2166 2005-11-17  Wim Taymans  <wim@fluendo.com>
2167
2168         * gst/net/gstnetclientclock.c: (do_linear_regression),
2169         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2170         Fix compilation, uninitialized vars and a forgotten continue.
2171
2172 2005-11-17  Andy Wingo  <wingo@pobox.com>
2173
2174         * check/Makefile.am (check_PROGRAMS): 
2175         * check/net/gstnetclientclock.c: Add a most minimal test for the
2176         net client clock. More to come later.
2177
2178         * gst/net/gstnet.h: 
2179         * gst/net/Makefile.am: Add netclientclock.
2180
2181         * gst/net/gstnetclientclock.h:
2182         * gst/net/gstnetclientclock.c: New files, implement an untested
2183         GstClock that takes its time from a network time provider.
2184         Implements the algorithm in network-clock.scm.
2185
2186         * tests/network-clock.scm (*window-size*): Rename from
2187         *queue-length*.
2188         * tests/network-clock.scm (network-time): 
2189         * tests/network-clock-utils.scm (q-push): Update callers.
2190
2191 2005-11-17  Wim Taymans  <wim@fluendo.com>
2192
2193         * gst/gstbin.c: (gst_bin_provide_clock_func),
2194         (gst_bin_sort_iterator_new):
2195         And unref the child too..
2196
2197 2005-11-17  Wim Taymans  <wim@fluendo.com>
2198
2199         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2200         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2201         Refactor the sort iterator so it can be used while holding the
2202         LOCK too.
2203         Make clock selection select a clock closest to the source.
2204
2205 2005-11-17  Michael Smith <msmith@fluendo.com>
2206
2207         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2208         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2209         * gst/gstclock.h:
2210           Anonymous structs are a gcc (and some other compilers) extension, so
2211           don't use them. Since this is only for ABI-compatibility, and our
2212           API/ABI freeze is over in a few days, this whole thing will only
2213           last a few days, so don't bother trying to think up a meaningful
2214           name for the struct.
2215
2216 2005-11-17  Andy Wingo  <wingo@pobox.com>
2217
2218         * gst/gstclock.h (GstClock): Add rate and offset properties,
2219         preserving ABI stability. Add rate/offset accessors. Will file bug
2220         for the freeze break.
2221
2222         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2223         and offset, trying to keep precision and avoiding
2224         underflow/overflow.
2225         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2226         functions. Make gst_clock_set_time_adjust obsolete.
2227         (gst_clock_set_time_adjust): Note that this function is obsolete.
2228         Will file bug soon.
2229
2230         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2231         greppable by using GST_PADDING-1+1.
2232
2233 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2234
2235         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2236
2237         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2238           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2239
2240         * gst/gstpadtemplate.h:
2241         * gst/gstpluginfeature.h:
2242           Don't use c++ style comments in headers (#321638).
2243
2244 2005-11-16  Andy Wingo  <wingo@pobox.com>
2245
2246         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2247         buffer.
2248
2249         * check/net/gstnettimeprovider.c: Check to see that the time
2250         provider actually provides times. Works, yo!
2251
2252 2005-11-16  Wim Taymans  <wim@fluendo.com>
2253
2254         * check/Makefile.am:
2255         Enable more tests.
2256
2257         * check/elements/fakesrc.c: (GST_START_TEST):
2258         Set element to NULL before disposing it.
2259
2260 2005-11-16  Andy Wingo  <wingo@pobox.com>
2261
2262         * gst/net/Makefile.am:
2263         * gst/net/gstnet.h:
2264         * gst/net/gstnettimeprovider.c: 
2265         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2266         provider, include it from gstnet.h, and add it to the build.
2267
2268         * gst/net/gstnettimepacket.h: 
2269         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2270         sending and receiving.
2271
2272 2005-11-16  Wim Taymans  <wim@fluendo.com>
2273
2274         * check/Makefile.am:
2275         Enable valgrind check.
2276
2277         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2278         (gst_fake_src_alloc_buffer):
2279         Fix memleak.
2280
2281 2005-11-16  Wim Taymans  <wim@fluendo.com>
2282
2283         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2284         Call parent finalize too.
2285
2286 2005-11-16  Wim Taymans  <wim@fluendo.com>
2287
2288         * check/Makefile.am:
2289         Enable valgrind check that should work fine now.
2290
2291         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2292         * gst/gstqueue.c: (gst_queue_init):
2293         Fix memleaks in pad allocation.
2294
2295 2005-11-16  Andy Wingo  <wingo@pobox.com>
2296
2297         * gst/net/Makefile.am:
2298         * gst/net/gstnet.h: New part of core to hold network elements and
2299         objects. Put in core because it exposes API that applications want
2300         to use. The library is named libgstnet-tempname right now because
2301         of the existing libgstnet in gst-plugins-base. Solution is
2302         probably to rename the one in plugins-base; will file a bug for
2303         the freeze break.
2304
2305         * gst/net/gstnettimeprovider.c: 
2306         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2307         get_time call over the network.
2308
2309         * configure.ac: 
2310         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2311
2312         * check/Makefile.am:
2313         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2314         get additions shortly.
2315
2316 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2317
2318         * gst/gstpad.c: (gst_pad_new_from_static_template):
2319         * gst/gstpad.h:
2320           add gst_pad_new_from_static_template functions
2321         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2322         (gst_check_setup_sink_pad):
2323         * gst/elements/gsttee.c: (gst_tee_init):
2324           and use them
2325
2326 2005-11-16  Wim Taymans  <wim@fluendo.com>
2327
2328         * gst/gstpad.c: (gst_pad_pause_task):
2329         Removed warning, it's not really an error either.
2330
2331 2005-11-16  Wim Taymans  <wim@fluendo.com>
2332
2333         * gst/base/gstbasetransform.c:
2334         (gst_base_transform_prepare_output_buf),
2335         (gst_base_transform_event):
2336         Check if the caps are NULL, this can happen if the element
2337         is shutting down and the pad caps are set to NULL.
2338
2339 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2340
2341         * gst/elements/gsttee.c: (gst_tee_init):
2342           fix pad template leak in tee
2343
2344 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2345
2346         * gst/glib-compat.c: (g_value_dup_gst_object):
2347         * gst/glib-compat.h:
2348         * gst/gstpad.c: (gst_pad_set_property):
2349           use gst_object_ref when setting the pad template; this will
2350           trigger the pad template leaks on GLib 2.6 and the slaves
2351
2352 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2353
2354         * gst/glib-compat.c: (gst_flags_get_first_value):
2355         * gst/glib-compat.h:
2356         * gst/gstregistryxml.c:
2357           remove functions copied from GLib 2.6
2358
2359 2005-11-16  Michael Smith <msmith@fluendo.com>
2360
2361         * gst/Makefile.am:
2362           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2363           do, but only breaks with newer valgrind versions. We're not a
2364           valgrind tool, we have no link-time dependencies on libcoregrind.
2365
2366 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2367
2368         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2369           some debug changes
2370         * gst/gstmessage.h:
2371           typo fixes
2372
2373 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2374
2375         * gst/base/gstbasesrc.c: (gst_base_src_init):
2376         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2377         * gst/gstqueue.c: (gst_queue_init):
2378         * gst/gstregistryxml.c: (load_feature):
2379           Revert all these unrefs, they don't even pass make check !
2380
2381 2005-11-15  Johan Dahlin  <johan@gnome.org>
2382
2383         * gst/base/gstbasesrc.c: (gst_base_src_init):
2384         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2385         * gst/gstqueue.c: (gst_queue_init): 
2386         Free pad templates, fixes a couple of leaks.
2387
2388 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2389
2390         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2391
2392         * gst/gstpad.c: (gst_pad_get_property):
2393           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2394           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2395           (#321452)
2396
2397 2005-11-15  Wim Taymans  <wim@fluendo.com>
2398
2399         * gst/gstevent.c:
2400         Small doc update.
2401
2402 2005-11-15  Andy Wingo  <wingo@pobox.com>
2403
2404         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2405
2406         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2407         using GST_CLOCK_TIME_NONE to disable base time management.
2408         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2409         time if it was NONE before.
2410         (gst_pipeline_change_state): Only munge the base time if
2411         stream_time != GST_CLOCK_TIME_NONE.
2412
2413         * check/gst/gstpipeline.c (test_base_time): Punt around the
2414         problem of the probe not being called, because that's not the
2415         issue I'm looking at. Add a check that setting stream_time to NONE
2416         disables base time management.
2417         
2418 2005-11-15  Wim Taymans  <wim@fluendo.com>
2419
2420         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2421         segment_stop == -1 at startup.
2422
2423         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2424         (gst_base_transform_change_state):
2425         Init segment values at start.
2426
2427 2005-11-15  Wim Taymans  <wim@fluendo.com>
2428
2429         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2430         0 segment values are 0 in any format.
2431
2432         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2433         * gst/base/gstbasetransform.h:
2434         Parse newsegment correctly in basetransform
2435
2436         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2437         Sync to clock using updated segment values.
2438
2439 2005-11-15  Andy Wingo  <wingo@pobox.com>
2440
2441         * check/gst/gstpipeline.c (test_base_time): Add check that the
2442         base time and stream time are reset correctly.
2443
2444 2005-11-15  Wim Taymans  <wim@fluendo.com>
2445
2446         * docs/design/part-TODO.txt:
2447         Some more TODO items.
2448
2449 2005-11-15  Andy Wingo  <wingo@pobox.com>
2450
2451         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2452         error if the user selected "no clock" as the clocking method.
2453
2454         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2455         timestamps with live capture.
2456
2457         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2458         is 0 but we are a live source, timestamp the buffers using the
2459         element's clock.
2460
2461 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2462
2463         * docs/gst/gstreamer-sections.txt:
2464         * gst/gsterror.c:
2465         * gst/gstghostpad.c:
2466         * gst/gstobject.h:
2467         * gst/gstxml.c:
2468           more section docs
2469
2470 2005-11-14  Wim Taymans  <wim@fluendo.com>
2471
2472         * common/gst.supp:
2473           add suppressions from Wim's Debian machine
2474
2475 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2476
2477         * common/gst.supp:
2478           add suppressions from Andy's AMD64 Ubuntu machine
2479
2480 2005-11-14  Andy Wingo  <wingo@pobox.com>
2481
2482         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2483         STATE_LOCK not necessary. Fixes #311489.
2484
2485         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2486         #305291.
2487
2488         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2489         this function is not implemented.
2490
2491 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2492
2493         * gst/base/gstbasetransform.c:
2494         (gst_base_transform_prepare_output_buf):
2495         Ref the source pad caps while we need them.
2496         Fixes (#321386)
2497
2498 2005-11-11  Wim Taymans  <wim@fluendo.com>
2499
2500         * docs/gst/gstreamer-sections.txt:
2501         Added some docs for GstCollectData.
2502
2503         * gst/base/gstadapter.c:
2504         Some small code example fix.
2505
2506         * gst/base/gstcollectpads.c:
2507         * gst/base/gstcollectpads.h:
2508         Document some more.
2509
2510 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2511
2512         * configure.ac: back to HEAD
2513
2514 === release 0.9.5 ===
2515
2516 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2517
2518         * configure.ac:
2519           releasing 0.9.5, "Bike Lunch Day"
2520
2521 2005-11-11  Wim Taymans  <wim@fluendo.com>
2522
2523         * gst/gstbuffer.c: (_gst_buffer_copy):
2524         Copy more flags.
2525
2526         * gst/gstcaps.c: (gst_caps_is_equal):
2527         Fix some docs.
2528         Make _is_equal fast in the trivial cases.
2529
2530         * gst/gstminiobject.c:
2531         * gst/gstminiobject.h:
2532         More docs. Spifify .h file.
2533
2534         * gst/gstutils.c:
2535         Small doc update.
2536
2537 2005-11-11  Wim Taymans  <wim@fluendo.com>
2538
2539         * gst/base/gstbasetransform.c:
2540         (gst_base_transform_prepare_output_buf),
2541         (gst_base_transform_handle_buffer):
2542         Small cleanups.
2543         If we're processing a buffer and need to allocate an output
2544         buffer, we cannot accept a format change. If we did get a 
2545         format change, we have to alloc a buffer ourselves of the 
2546         right size.
2547
2548 2005-11-11  Wim Taymans  <wim@fluendo.com>
2549
2550         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2551         While checking the flag for reentrancy in the gstcaps function
2552         is nice to detect recursive invocations, it also makes it 
2553         impossible to call getcaps from multiple threads, which must be
2554         possible. So, checking for recursive calls has to go.
2555
2556 2005-11-11  Michael Smith <msmith@fluendo.com>
2557
2558         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2559           Don't sync on buffers that fall partially outside our current
2560           segment. Prevents an assertion failure/abort playing some files.
2561
2562 2005-11-10  Andy Wingo  <wingo@pobox.com>
2563
2564         * check/gst/gstbin.c (test_message_state_changed_children): Style
2565         fix..
2566
2567         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2568         gst_bus_poll with the signal watch. Ensures that poll and a signal
2569         watch see the same messages.
2570
2571         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2572         a poll and a watch at the same time get the same messages.
2573
2574 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2575
2576         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2577         * gst/gstcaps.c: (gst_caps_intersect):
2578           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2579           and it's not needed.
2580
2581 2005-11-10  Wim Taymans  <wim@fluendo.com>
2582
2583         * docs/design/part-TODO.txt:
2584         Updated todo.
2585
2586 2005-11-10  Wim Taymans  <wim@fluendo.com>
2587
2588         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2589         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2590         (gst_base_src_do_sync), (gst_base_src_get_range):
2591         Implement clock sync in base class.
2592
2593 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2594
2595         patch by: Tim-Philipp Müller <tim at centricular dot net>
2596
2597         * gst/gststructure.c: (gst_structure_parse_field),
2598         (gst_structure_from_string):
2599           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2600           so that gst_parse_launch() can deal with spaces in filtered link
2601           caps (fixes #164479)
2602         * check/gst/capslist.h:
2603         * check/gst/gststructure.c: (GST_START_TEST):
2604           add unit tests for this change
2605
2606 2005-11-10  Wim Taymans  <wim@fluendo.com>
2607
2608         * docs/gst/gstreamer-sections.txt:
2609         * gst/gstelement.c:
2610         * gst/gstelement.h:
2611         Fix docs, move some STATE macros to private.
2612
2613 2005-11-10  Wim Taymans  <wim@fluendo.com>
2614
2615         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2616         Added check for bug #317341
2617
2618         * gst/gstbuffer.c:
2619         * gst/gstbuffer.h:
2620         Some more spiffifying.
2621
2622         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2623         Call peer linkfunction if we are a source pad. Totally fixes
2624         #317341
2625
2626         * gst/gstpad.c:
2627         Update docs, source pads should call the peer linkfunction
2628         so they can atomically perform the pad link.
2629
2630 2005-11-09  Wim Taymans  <wim@fluendo.com>
2631
2632         * gst/gstbuffer.c:
2633         * gst/gstbuffer.h:
2634         Uber-spiffy-spiffify some more.
2635
2636 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2637
2638         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2639         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2640         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2641         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2642         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2643         * gst/gstpad.c: (gst_pad_init):
2644           Use GST_DEBUG_FUNCPTR() more extensively.
2645
2646 2005-11-09  Wim Taymans  <wim@fluendo.com>
2647
2648         * gst/gstobject.c: (gst_object_class_init):
2649         * gst/gstobject.h:
2650         Documentation fixes.
2651
2652 2005-11-09  Edward Hervey  <edward@fluendo.com>
2653
2654         * gst/gsttypefindfactory.c:
2655         Fix docs.
2656         
2657 2005-11-09  Edward Hervey  <edward@fluendo.com>
2658
2659         * gst/base/gsttypefindhelper.c:
2660         * gst/gsttypefind.c:
2661         * gst/gsttypefind.h:
2662         Fix docs.
2663
2664 2005-11-09  Wim Taymans  <wim@fluendo.com>
2665
2666         * gst/gstiterator.c:
2667         Fix revision data.
2668
2669         * gst/gsttask.c:
2670         * gst/gsttask.h:
2671         Fix docs.
2672
2673 2005-11-09  Wim Taymans  <wim@fluendo.com>
2674
2675         * gst/gstevent.h:
2676         * gst/gsturi.h:
2677         Fix docs.
2678
2679 2005-11-09  Wim Taymans  <wim@fluendo.com>
2680
2681         * docs/gst/gstreamer-sections.txt:
2682         Moved the message async delivery private lock and cond
2683         to the private section.
2684
2685         * gst/gstmessage.c:
2686         * gst/gstmessage.h:
2687         Fixed docs.
2688
2689 2005-11-09  Edward Hervey  <edward@fluendo.com>
2690
2691         * docs/gst/gstreamer-sections.txt:
2692         * gst/gsturi.c:
2693         * gst/gsturi.h:
2694         Document GstURIHandler
2695
2696 2005-11-09  Wim Taymans  <wim@fluendo.com>
2697
2698         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2699         (gst_iterator_find_custom):
2700         * gst/gstiterator.h:
2701         Fix iterator docs.
2702
2703 2005-11-09  Wim Taymans  <wim@fluendo.com>
2704
2705         * gst/gstbin.h:
2706         Document another field.
2707
2708         * gst/gststructure.c:
2709         * gst/gststructure.h:
2710         Document.
2711
2712 2005-11-09  Wim Taymans  <wim@fluendo.com>
2713
2714         * gst/gstbin.h:
2715         Documented structs.
2716
2717 2005-11-09  Wim Taymans  <wim@fluendo.com>
2718
2719         * docs/gst/gstreamer-sections.txt:
2720         Added some new macros.
2721
2722         * gst/gstclock.c:
2723         * gst/gstclock.h:
2724         * gst/gstobject.h:
2725         Docs updates.
2726
2727 2005-11-09  Wim Taymans  <wim@fluendo.com>
2728
2729         * docs/design/part-TODO.txt:
2730         Some more items for the TODO
2731
2732         * gst/gstcaps.c:
2733         * gst/gstcaps.h:
2734         Document GstCaps.
2735
2736 2005-11-09  Andy Wingo  <wingo@pobox.com>
2737
2738         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2739         to work on something else now tho...
2740
2741         * gst/base/gstadapter.c: More adapter docs.
2742
2743         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2744         (gst_file_sink_stop): New functions, replace the state change
2745         handler.
2746         (gst_file_sink_class_init): Hook up the start and stop functions.
2747         (gst_file_sink_base_init): Don't set the state change handler any
2748         more. It was a bit ugly too, being set from here...
2749         (gst_file_sink_get_property, gst_file_sink_set_property):
2750         Cleanups...
2751         (gst_file_sink_set_location): More robust check that doesn't call
2752         GST_STATE. Ugggggg.
2753
2754 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2755
2756         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2757           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2758
2759 2005-11-08  Wim Taymans  <wim@fluendo.com>
2760
2761         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2762         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2763         (gst_base_sink_chain), (gst_base_sink_change_state):
2764         * gst/base/gstbasesink.h:
2765         * gst/base/gstbasesrc.h:
2766         * gst/gstelement.h:
2767         * gst/gstevent.h:
2768         Avoid excessive typechecking in macros.
2769
2770         * gst/gstminiobject.c: (gst_mini_object_get_type),
2771         (gst_mini_object_init), (gst_mini_object_new),
2772         (gst_mini_object_free):
2773         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2774         (gst_object_finalize):
2775         Remove cruft code, optimize alloc_trace.
2776
2777 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2778
2779         * docs/faq/gst-uninstalled:
2780           fix up PS1 for systems that try to reset it
2781
2782 2005-11-07  Wim Taymans  <wim@fluendo.com>
2783
2784         * gst/base/gstbasesrc.c: (gst_base_src_init),
2785         (gst_base_src_get_range):
2786         Set the segment_end to -1 initially. Fixed typefind.
2787
2788 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2789
2790         * gst/base/gstadapter.c:
2791           Debug category should be 'adapter', not 'GstAdapter'.
2792           
2793         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2794         (gst_collectpads_class_init), (gst_collectpads_init),
2795         (gst_collectpads_peek), (gst_collectpads_pop),
2796         (gst_collectpads_event), (gst_collectpads_chain):
2797           Add debug category and some debugging output. Use boilerplate
2798           macros. Remove some extraneous words from docs.
2799
2800 2005-11-05  Andy Wingo  <wingo@pobox.com>
2801
2802         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2803         macro.
2804
2805 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2806
2807         * docs/gst/gstreamer-sections.txt:
2808         * gst/gstcaps.h:
2809         * gst/gstinfo.c:
2810         * gst/gstminiobject.h:
2811         * gst/gstobject.h:
2812         * gst/gstutils.h:
2813           more docs added
2814
2815 2005-11-04  Wim Taymans  <wim@fluendo.com>
2816
2817         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2818         Small update to stop at the configured segment_end
2819         position.
2820
2821 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2822
2823         * gst/gstregistry.c:
2824         * gst/gstregistry.h:
2825           added missing docs
2826
2827 2005-11-04  Edward Hervey  <edward@fluendo.com>
2828
2829         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2830         Check if we are doing a segment seek and have arrived at the
2831         end of that segment.
2832
2833 2005-11-04  Wim Taymans  <wim@fluendo.com>
2834
2835         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2836         Don't leak a mutex unlock in case of an error.
2837
2838         * gst/gstbus.h:
2839         Doc fixes.
2840
2841 2005-11-04  Wim Taymans  <wim@fluendo.com>
2842
2843         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2844         (gst_bus_post):
2845         Get the context to wake up only once.
2846
2847 2005-11-03  Wim Taymans  <wim@fluendo.com>
2848
2849         * check/states/sinks.c: (GST_START_TEST):
2850         Uncomment fixed check.
2851
2852         * docs/design/part-TODO.txt:
2853         Updated TODO.
2854
2855         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2856         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2857         (gst_base_sink_get_position):
2858         If we are going to PLAYING, post the right pending state
2859         when we post the intermediate paused message.
2860
2861         * gst/gstelement.c: (gst_element_continue_state),
2862         (gst_element_set_state_func), (gst_element_change_state):
2863         Don't post state changes that were between the same state
2864         and were not ASYNC.
2865
2866 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2867
2868         * docs/gst/gstreamer-sections.txt:
2869         * gst/gstcaps.h:
2870         * gst/gstinfo.c:
2871         * gst/gstminiobject.h:
2872         * gst/gstobject.h:
2873         * gst/gstutils.h:
2874           more docs and doc style fixes
2875
2876 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2877
2878         * docs/gst/gstreamer-sections.txt:
2879         * gst/gstelement.c:
2880         * gst/gstminiobject.c:
2881         doc fixes
2882
2883 2005-11-03  Andy Wingo  <wingo@pobox.com>
2884
2885         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2886         state-changed messages actually have the right order and the right
2887         values.
2888
2889 2005-11-03  Wim Taymans  <wim@fluendo.com>
2890
2891         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2892         Added some more checks. Specifically the case where NO_PREROLL
2893         elements are in the pipeline.
2894
2895         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2896         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2897         (gst_base_sink_get_position):
2898         Post READY->PAUSED state change messages too.
2899         Fix bug where VOID was posted as pending state...
2900
2901         * gst/gstbin.c: (gst_bin_recalc_state):
2902         use _element_continue_state() to continue the state change.
2903
2904         * gst/gstelement.c: (gst_element_continue_state),
2905         (gst_element_commit_state), (gst_element_set_state_func),
2906         (gst_element_change_state), (gst_element_change_state_func):
2907         Lots of state change cleanups, assign the STATE_RETURN in
2908         a new continue_state() function that also propagates the
2909         last return value from a state change to the app.
2910         Update some debug statements with proper category.
2911
2912 2005-11-03  Wim Taymans  <wim@fluendo.com>
2913
2914         * docs/design/part-events.txt:
2915         * docs/design/part-gstpipeline.txt:
2916         * docs/design/part-messages.txt:
2917         * docs/design/part-overview.txt:
2918         * docs/design/part-seeking.txt:
2919         * docs/design/part-states.txt:
2920         * docs/design/part-trickmodes.txt:
2921         * docs/manual/advanced-position.xml:
2922         Small docs updates.
2923
2924         * gst/gstobject.h:
2925         People think !! is ugly, this looks better.
2926
2927         * gst/gstpad.c: (gst_pad_set_blocked_async):
2928         Remove !! since it's fixed elsewhere now.
2929
2930 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2931
2932         * gst/gstminiobject.h:
2933         * gst/gstobject.h:
2934           Add !! to _FLAG_IS_SET macros to make the result boolean.
2935
2936 2005-11-03  Edward Hervey  <edward@fluendo.com>
2937
2938         * gst/gstpad.c: (gst_pad_set_blocked_async):
2939         comparing a flag and a gboolean rarely returns coherent results...
2940         Added two characters (!!) to make that work correctly.
2941         
2942 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2943
2944         * gst/gstbus.c: (gst_bus_class_init):
2945           Fix some typos.
2946           
2947         * gst/gstqueue.c: (gst_queue_loop):
2948           Don't assume a miniobject that isn't a buffer is an
2949           event (it could be that there is a refcounting
2950           problem somewhere and the pointer is stale and
2951           refers to an already destroyed miniobject).
2952
2953 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2954
2955         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2956
2957 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2958
2959         * docs/manual/advanced-position.xml:
2960           Update seek example and explanations to current 0.9 API.
2961
2962         * gst/elements/gsttypefindelement.c:
2963         (gst_type_find_element_activate):
2964           Remove FIXME comment now that the found caps
2965           are unreffed.
2966
2967 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2968
2969         * gst/gstregistryxml.c: (load_feature):
2970           Add another GST_STR_NULL instance
2971
2972 2005-11-02  Edward Hervey  <edward@fluendo.com>
2973
2974         * gst/gstpad.c: (handle_pad_block):
2975         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2976         
2977 2005-11-02  Wim Taymans  <wim@fluendo.com>
2978
2979         * gst/gstbin.c:
2980         Fix typo in docs.
2981
2982         * gst/gstelement.c: (gst_element_commit_state):
2983         Remove unused value.
2984
2985         * gst/gstiterator.c:
2986         Mention that the returned element is reffed in the docs.
2987
2988 2005-11-02  Wim Taymans  <wim@fluendo.com>
2989
2990         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2991         (gst_pad_push), (gst_pad_push_event):
2992         Unlock blocked pads when they are flushed.
2993
2994 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2995
2996         * docs/README:
2997         * docs/gst/gstreamer-sections.txt:
2998         * gst/gstbin.c:
2999           doc updates
3000         * gst/gstregistry.c: (gst_registry_scan_path_level):
3001           fix for a nasty little missed situation where an installed plug-in
3002           which was in the cache did not get overridden by an uninstalled one
3003           which was earlier in the plugin path because the newly created plugin
3004           for the uninstalled one (not in the registry) didn't get its
3005           ->registered set to TRUE
3006
3007 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3008
3009         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3010         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3011         (gst_collectpads_is_active), (gst_collectpads_collect),
3012         (gst_collectpads_collect_range), (gst_collectpads_start),
3013         (gst_collectpads_stop), (gst_collectpads_peek),
3014         (gst_collectpads_pop), (gst_collectpads_available),
3015         (gst_collectpads_read), (gst_collectpads_flush):
3016           Guard public API with assertions.
3017         
3018         * gst/gstpad.c:
3019           Fix docs for gst_pad_set_link_function().
3020
3021 2005-11-02  Johan Dahlin  <johan@gnome.org>
3022
3023         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3024         Unref found_caps after we used it.
3025
3026 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3027
3028         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3029           Don't try to ref NULL.
3030
3031 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3032
3033         * win32/common/config.h.in:
3034           provide a GST_FUNCTION that just gives a string for now
3035
3036 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3037
3038         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3039         (gst_object_flags_get_type), (register_gst_bin_flags),
3040         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3041         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3042         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3043         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3044         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3045         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3046         (gst_clock_flags_get_type), (register_gst_state),
3047         (gst_state_get_type), (register_gst_state_change_return),
3048         (gst_state_change_return_get_type), (register_gst_state_change),
3049         (gst_state_change_get_type), (register_gst_element_flags),
3050         (gst_element_flags_get_type), (register_gst_core_error),
3051         (gst_core_error_get_type), (register_gst_library_error),
3052         (gst_library_error_get_type), (register_gst_resource_error),
3053         (gst_resource_error_get_type), (register_gst_stream_error),
3054         (gst_stream_error_get_type), (register_gst_event_type),
3055         (gst_event_type_get_type), (register_gst_seek_type),
3056         (gst_seek_type_get_type), (register_gst_seek_flags),
3057         (gst_seek_flags_get_type), (register_gst_format),
3058         (gst_format_get_type), (register_gst_index_certainty),
3059         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3060         (gst_index_entry_type_get_type),
3061         (register_gst_index_lookup_method),
3062         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3063         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3064         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3065         (gst_index_flags_get_type), (register_gst_debug_level),
3066         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3067         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3068         (gst_iterator_result_get_type), (register_gst_iterator_item),
3069         (gst_iterator_item_get_type), (register_gst_message_type),
3070         (gst_message_type_get_type), (register_gst_mini_object_flags),
3071         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3072         (gst_pad_link_return_get_type), (register_gst_flow_return),
3073         (gst_flow_return_get_type), (register_gst_activate_mode),
3074         (gst_activate_mode_get_type), (register_gst_pad_direction),
3075         (gst_pad_direction_get_type), (register_gst_pad_flags),
3076         (gst_pad_flags_get_type), (register_gst_pad_presence),
3077         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3078         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3079         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3080         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3081         (gst_plugin_flags_get_type), (register_gst_rank),
3082         (gst_rank_get_type), (register_gst_query_type),
3083         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3084         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3085         (gst_tag_flag_get_type), (register_gst_task_state),
3086         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3087         (gst_alloc_trace_flags_get_type),
3088         (register_gst_type_find_probability),
3089         (gst_type_find_probability_get_type), (register_gst_uri_type),
3090         (gst_uri_type_get_type), (register_gst_parse_error),
3091         (gst_parse_error_get_type):
3092         * win32/common/gstversion.h:
3093           update win32 copies
3094
3095 2005-11-01  Luca Ognibene  <luogni@tin.it>
3096
3097         * gst/gst.c:
3098           fix docs. popt is dead, long live GOption.
3099
3100 2005-10-31  Wim Taymans  <wim@fluendo.com>
3101
3102         * gst/gstbuffer.h:
3103         Small doc fix.
3104
3105 2005-10-31  Andy Wingo  <wingo@pobox.com>
3106
3107         * Boo!
3108
3109         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3110
3111         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3112         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3113         the possibility of deadlocks here if code calling notify() or
3114         set() has a lock that can be taken in another notify handler (ABBA
3115         with class lock and e.g. python GIL state lock).
3116
3117 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3118
3119         * gst/gstbus.c: Doc updates.
3120
3121 2005-10-28  Wim Taymans  <wim@fluendo.com>
3122
3123         * docs/design/part-TODO.txt:
3124         * gst/gstiterator.c:
3125         * gst/gstsystemclock.c:
3126         * gst/gstsystemclock.h:
3127         Doc updates.
3128
3129 2005-10-28  Edward Hervey  <edward@fluendo.com>
3130
3131         * docs/gst/gstreamer-docs.sgml:
3132         * docs/gst/gstreamer-sections.txt:
3133         the GstURIType documentation page is private, it only defines GstURIType
3134         which should be defined in the GstURIHandler page
3135         
3136 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3137
3138         * gst/gstbin.c: (gst_bin_class_init):
3139         * gst/gstbin.h:
3140         * gst/gstutils.c:
3141         Documentation updates.
3142
3143 2005-10-28  Wim Taymans  <wim@fluendo.com>
3144
3145         * docs/gst/gstreamer-sections.txt:
3146         * gst/gstclock.c:
3147         * gst/gstclock.h:
3148         Documented the clocks.
3149
3150 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3151
3152         * docs/gst/gstreamer-sections.txt:
3153           move some macros to private sections
3154         * gst/gstminiobject.c:
3155         * gst/gstminiobject.h:
3156           add descriptions provided by ds and some more
3157         * gst/gstpad.h:
3158           mark macro as to be removed
3159
3160 2005-10-28  Wim Taymans  <wim@fluendo.com>
3161
3162         * docs/design/part-TODO.txt:
3163         Add an item to TODO.
3164
3165         * gst/gstiterator.c: (gst_iterator_fold),
3166         (gst_iterator_find_custom):
3167         * gst/gstiterator.h:
3168         Add iterator docs.
3169
3170 2005-10-28  Wim Taymans  <wim@fluendo.com>
3171
3172         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3173         (gst_base_transform_init):
3174         Don't leak class.
3175
3176         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3177         An EOS event marks the queue as completely filled.
3178
3179 2005-10-27  Wim Taymans  <wim@fluendo.com>
3180
3181         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3182         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3183         Some more debugging.
3184
3185         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3186         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3187         (gst_base_transform_event), (gst_base_transform_getrange),
3188         (gst_base_transform_chain):
3189         * gst/base/gstbasetransform.h:
3190         Fix debugging,
3191         Protect transform and concurrent buffer alloc with a new lock.
3192         Try not to break ABI/API.
3193
3194 2005-10-27  Wim Taymans  <wim@fluendo.com>
3195
3196         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3197         (gst_base_src_init), (gst_base_src_query),
3198         (gst_base_src_default_newsegment),
3199         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3200         (gst_base_src_send_event), (gst_base_src_event_handler),
3201         (gst_base_src_pad_get_range), (gst_base_src_loop),
3202         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3203         (gst_base_src_start), (gst_base_src_deactivate),
3204         (gst_base_src_activate_push), (gst_base_src_change_state):
3205         Move some stuff around and cleanup things.
3206
3207 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3208
3209         * gst/base/gstbasesrc.c: (gst_base_src_query):
3210           Add missing break statements.
3211
3212 2005-10-27  Wim Taymans  <wim@fluendo.com>
3213
3214         * check/gst/gstbin.c: (GST_START_TEST):
3215         An extra refcount is taken in basesrc.
3216
3217         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3218         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3219         (gst_base_src_loop):
3220         Small cleanups, check for flushing after being unlocked from the 
3221         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3222         Don't send out EOS when going to READY.
3223
3224 2005-10-27  Wim Taymans  <wim@fluendo.com>
3225
3226         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3227         (gst_base_sink_get_position):
3228         Some more debug.
3229
3230         * gst/gstbin.c: (message_check), (bin_replace_message),
3231         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3232         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3233         (bin_query_duration_init), (bin_query_duration_fold),
3234         (bin_query_duration_done), (bin_query_generic_fold),
3235         (gst_bin_query):
3236         * tools/gst-launch.c: (main):
3237         Remove old option.
3238
3239 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3240
3241         * examples/controller/audio-example.c: (main):
3242         * examples/queue/queue.c: (event_loop):
3243         * gst/base/gstbasetransform.h:
3244         * gst/gstelement.c: (gst_element_send_event):
3245         * gst/gstevent.h:
3246         * gst/gstpad.c: (gst_pad_send_event):
3247           fixing examples
3248           fixing docs typos
3249           changing log priority in error situations
3250
3251 2005-10-25  Wim Taymans  <wim@fluendo.com>
3252
3253         * gst/gstbin.c: (message_check), (bin_replace_message),
3254         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3255         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3256         (bin_query_duration_init), (bin_query_duration_fold),
3257         (bin_query_duration_done), (bin_query_generic_fold),
3258         (gst_bin_query):
3259         Some doc and debug updates.
3260         Cache previously requested query DURATION for speed. invalidate
3261         cached duration if element posts a DURATION message.
3262
3263 2005-10-25  Wim Taymans  <wim@fluendo.com>
3264
3265         * docs/design/part-TODO.txt:
3266         Update TODO.
3267
3268         * gst/gstbin.c: (message_check), (bin_replace_message),
3269         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3270         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3271         (bin_query_duration_init), (bin_query_duration_fold),
3272         (bin_query_duration_done), (bin_query_generic_fold),
3273         (gst_bin_query):
3274         Handle SEGMENT_START/DONE messages correctly.
3275         More evolved query algorithm that handles duration queries
3276         correctly.
3277
3278         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3279         (gst_element_get_state_func), (gst_element_abort_state),
3280         (gst_element_commit_state), (gst_element_lost_state):
3281         Some more debugging.
3282
3283         * gst/gstmessage.h:
3284         Added doc.
3285
3286 2005-10-25  Wim Taymans  <wim@fluendo.com>
3287
3288         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3289         Don't use invalid stream_time.
3290
3291         * gst/gstevent.c: (gst_event_new_newsegment):
3292         stream_time in newsegment cannot be undefined.
3293
3294 2005-10-24  Wim Taymans  <wim@fluendo.com>
3295
3296         * gst/gstbus.c:
3297         Doc fix.
3298
3299         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3300         (gst_queue_loop):
3301         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3302
3303 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3304
3305         * docs/libs/tmpl/gstdparam.sgml:
3306         * docs/libs/tmpl/gstdplinint.sgml:
3307         * docs/libs/tmpl/gstdpman.sgml:
3308         * docs/libs/tmpl/gstdpsmooth.sgml:
3309         * docs/libs/tmpl/gstunitconvert.sgml:
3310           these are obsolete
3311
3312 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3313
3314         * configure.ac:
3315           back to HEAD
3316
3317 === release 0.9.4 ===
3318
3319 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3320
3321         * configure.ac:
3322           releasing 0.9.4, "Tyrannosaurus Rex"
3323
3324 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3325
3326         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3327         (gst_file_sink_get_current_offset):
3328           Use fseeko() and ftello() if available. When falling back on
3329           lseek() to get the current offset, fflush() first to make sure
3330           everything is up-to-date and we get the right offset.
3331
3332 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3333
3334         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3335         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3336         * gst/gsterror.c: (_gst_stream_errors_init):
3337         * gst/gsterror.h:
3338         * gst/gstqueue.c: (gst_queue_loop):
3339         * po/POTFILES.in:
3340           remove prematurely added error category and clean up the instances
3341
3342 2005-10-21  Wim Taymans  <wim@fluendo.com>
3343
3344         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3345         (gst_base_sink_get_position), (gst_base_sink_query),
3346         (gst_base_sink_change_state):
3347         Simply set the right flag when going to playing, that's all
3348         we need to do instead of calling a function inside the object
3349         lock (that could take the lock as well and deadlock)
3350
3351 2005-10-21  Wim Taymans  <wim@fluendo.com>
3352
3353         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3354         (gst_base_src_loop):
3355         Don't warn, the peer element knows what to do best when
3356         the seek failed, it might try something else.
3357
3358 2005-10-21  Wim Taymans  <wim@fluendo.com>
3359
3360         * gst/base/gstbasesrc.c: (gst_base_src_init),
3361         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3362         Fix seeking.
3363
3364 2005-10-21  Wim Taymans  <wim@fluendo.com>
3365
3366         * docs/design/part-segments.txt:
3367         More docs.
3368
3369         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3370         Correctly set caps, even on the subbufer.
3371
3372 2005-10-21  Wim Taymans  <wim@fluendo.com>
3373
3374         * docs/gst/gstreamer-docs.sgml:
3375         * docs/gst/gstreamer-sections.txt:
3376         * gst/gstelement.h:
3377         * gst/gstevent.c:
3378         * gst/gstevent.h:
3379         * gst/gstmessage.h:
3380         * gst/gstpad.h:
3381         * gst/gstparse.h:
3382         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3383         * gst/gsttask.h:
3384         * gst/gstutils.c:
3385         * gst/gstutils.h:
3386         And 2% more doc coverage.
3387
3388 2005-10-21  Andy Wingo  <wingo@pobox.com>
3389
3390         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3391         position reporting.
3392
3393 2005-10-20  Wim Taymans  <wim@fluendo.com>
3394
3395         * gst/gsterror.c: (gst_error_get_message):
3396         * gst/gstparse.h:
3397         * gst/gstquery.h:
3398         * gst/gststructure.c:
3399         * gst/gsttrace.c:
3400         * gst/gstutils.c:
3401         More docs.
3402
3403 2005-10-20  Wim Taymans  <wim@fluendo.com>
3404
3405         * gst/gstbuffer.h:
3406         * gst/gstpad.c:
3407         * gst/gstparse.c:
3408         Another 1% more coverage.
3409
3410 2005-10-20  Wim Taymans  <wim@fluendo.com>
3411
3412         * docs/gst/gstreamer-sections.txt:
3413         * gst/gstelement.c: (gst_element_get_state_func),
3414         (gst_element_abort_state), (gst_element_commit_state),
3415         (gst_element_lost_state):
3416         * gst/gstevent.h:
3417         * gst/gstquery.c: (gst_query_set_position),
3418         (gst_query_parse_position), (gst_query_set_duration),
3419         (gst_query_parse_duration), (gst_query_new_convert):
3420         * gst/gstutils.c:
3421         Yay! 1% more docs coverage.
3422
3423 2005-10-20  Wim Taymans  <wim@fluendo.com>
3424
3425         * gst/gstpad.h:
3426         * gst/gstquery.c: (gst_query_set_position),
3427         (gst_query_parse_position), (gst_query_set_duration),
3428         (gst_query_parse_duration), (gst_query_new_convert):
3429         * gst/gstquery.h:
3430         * gst/gstutils.c: (gst_element_query_convert):
3431         * gst/gstutils.h:
3432         Docs and consistency fixes.
3433
3434 2005-10-20  Wim Taymans  <wim@fluendo.com>
3435
3436         * gst/gsttask.c:
3437         * gst/gsttask.h:
3438         More docs.
3439
3440 2005-10-20  Wim Taymans  <wim@fluendo.com>
3441
3442         * gst/gstbin.c: (message_check), (bin_replace_message),
3443         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3444         (update_degree), (gst_bin_sort_iterator_next),
3445         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3446         Reworked the message handling a bit, cache the messages instead of
3447         only the senders. alows us to do more in the future.
3448
3449 2005-10-20  Wim Taymans  <wim@fluendo.com>
3450
3451         * docs/design/part-TODO.txt:
3452         Update TODO
3453
3454         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3455         (gst_base_sink_query):
3456         Don't use clock time to report position when in EOS.
3457
3458 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3459
3460         * tools/gst-inspect.c: (print_interfaces),
3461         (print_element_properties_info), (print_element_info):
3462           Fix interface output with gst-inspect -a; don't print
3463           newlines after double/float properties.
3464
3465 2005-10-20  Wim Taymans  <wim@fluendo.com>
3466
3467         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3468         (gst_base_sink_query):
3469         Speed up current position calculation.
3470
3471         * gst/base/gstbasesrc.c: (gst_base_src_query),
3472         (gst_base_src_default_newsegment):
3473         Correctly set stream position in newsegment.
3474
3475         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3476         (update_degree), (gst_bin_sort_iterator_next),
3477         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3478         * gst/gstmessage.c: (gst_message_new_custom):
3479         Clean up debugging info
3480
3481         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3482         (gst_queue_loop), (gst_queue_handle_src_query):
3483         Pause task faster.
3484
3485 2005-10-19  Wim Taymans  <wim@fluendo.com>
3486
3487         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3488         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3489         Fix query handling again.
3490
3491 2005-10-19  Wim Taymans  <wim@fluendo.com>
3492
3493         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3494         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3495         * gst/base/gstbasesrc.c: (gst_base_src_query):
3496         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3497         * gst/elements/gsttypefindelement.c:
3498         (gst_type_find_handle_src_query), (find_element_get_length),
3499         (gst_type_find_element_activate):
3500         API change fix.
3501
3502         * gst/gstquery.c: (gst_query_new_position),
3503         (gst_query_set_position), (gst_query_parse_position),
3504         (gst_query_new_duration), (gst_query_set_duration),
3505         (gst_query_parse_duration), (gst_query_set_segment),
3506         (gst_query_parse_segment):
3507         * gst/gstquery.h:
3508         Bundling query position/duration is not a good idea since duration
3509         does not change much and we don't want to recalculate it for every
3510         position query, so they are separated again..
3511         Base value in segment query is not needed.
3512
3513         * gst/gstqueue.c: (gst_queue_handle_src_query):
3514         * gst/gstutils.c: (gst_element_query_position),
3515         (gst_element_query_duration), (gst_pad_query_position),
3516         (gst_pad_query_duration):
3517         * gst/gstutils.h:
3518         Updates for query API change.
3519         Added some docs here and there.
3520
3521 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3522
3523         * check/gst/gstbin.c: (GST_START_TEST):
3524         * check/gst/gstghostpad.c: (GST_START_TEST):
3525         * check/pipelines/cleanup.c: (GST_START_TEST):
3526           wait on thread to die so we can check refcount correctly
3527
3528 2005-10-18  Wim Taymans  <wim@fluendo.com>
3529
3530         * check/pipelines/stress.c: (GST_START_TEST):
3531         Make check a little more time consuming.
3532
3533 2005-10-18  Wim Taymans  <wim@fluendo.com>
3534
3535         * check/Makefile.am:
3536         * check/pipelines/stress.c: (GST_START_TEST),
3537         (simple_launch_lines_suite), (main):
3538         Small state change torture test.
3539
3540         * docs/design/part-states.txt:
3541         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3542         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3543         (gst_base_sink_change_state):
3544         Never take state lock from streaming thread, clean up ugly
3545         hacks. Unfortunatly core does not yet support nice ways to
3546         async commit state.
3547         
3548         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3549         (bin_bus_handler):
3550         Start state recalc if a STATE_DIRTY message is posted, but only
3551         on the toplevel bin.
3552
3553         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3554         (gst_element_get_state_func), (gst_element_abort_state),
3555         (gst_element_commit_state), (gst_element_lost_state),
3556         (gst_element_set_state_func), (gst_element_change_state):
3557         * gst/gstelement.h:
3558         State variables are now protected with the LOCK, the state
3559         lock is only used to serialize _set_state().
3560
3561 2005-10-18  Wim Taymans  <wim@fluendo.com>
3562
3563         * check/gst/gstbin.c: (GST_START_TEST):
3564         * check/gst/gstmessage.c: (GST_START_TEST):
3565         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3566         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3567         (bin_bus_handler):
3568         * gst/gstelement.c: (gst_element_abort_state),
3569         (gst_element_commit_state), (gst_element_lost_state):
3570         * gst/gstmessage.c: (gst_message_new_state_changed),
3571         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3572         (gst_message_new_segment_done), (gst_message_new_duration),
3573         (gst_message_parse_state_changed),
3574         (gst_message_parse_segment_start),
3575         (gst_message_parse_segment_done), (gst_message_parse_duration):
3576         * gst/gstmessage.h:
3577         * tools/gst-launch.c: (event_loop):
3578         Seriously, this is better than a previous commit as we only need
3579         to notify the fact that an element changed state in a streaming
3580         thread, marking the state of the parents dirty, hence the 
3581         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3582         message.
3583
3584 2005-10-18  Wim Taymans  <wim@fluendo.com>
3585
3586         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3587         (gst_bin_recalc_func):
3588         * gst/gstelement.c: (gst_element_set_clock),
3589         (gst_element_abort_state), (gst_element_lost_state):
3590         Cleanups, prepare for state change fixes.
3591
3592 2005-10-18  Wim Taymans  <wim@fluendo.com>
3593
3594         * gst/gstbin.h:
3595         * gst/gstelement.c: (gst_element_class_init),
3596         (gst_element_set_state), (gst_element_set_state_func):
3597         * gst/gstelement.h:
3598         Pending ABI changes.
3599         GThreadPool in GstBinClass to monitor async state changes.
3600         state_cookie in GstElement to detect concurrent gst/set state.
3601         set_state is now virtual too in case a very complicated element
3602         has to be constructed.
3603
3604 2005-10-18  Wim Taymans  <wim@fluendo.com>
3605
3606         * check/gst/gstbin.c: (GST_START_TEST):
3607         * check/gst/gstmessage.c: (GST_START_TEST):
3608         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3609         * gst/gstbin.c: (bin_bus_handler):
3610         * gst/gstelement.c: (gst_element_commit_state),
3611         (gst_element_lost_state):
3612         * gst/gstmessage.c: (gst_message_new_state_changed),
3613         (gst_message_new_segment_start), (gst_message_new_segment_done),
3614         (gst_message_new_duration), (gst_message_parse_state_changed),
3615         (gst_message_parse_segment_start),
3616         (gst_message_parse_segment_done), (gst_message_parse_duration):
3617         * gst/gstmessage.h:
3618         * tools/gst-launch.c: (event_loop):
3619         Make messages future proof.
3620         state-change gets a flag if it was a message comming from the
3621         streaming thread.
3622         segment-start/stop can also be specified in other formats.
3623         A message to notify an app that a pipeline changed playback 
3624         duration.
3625         Also fix a GstMessage leak in -launch
3626
3627 2005-10-18  Andy Wingo  <wingo@pobox.com>
3628
3629         * gst/gstelement.c (gst_element_dispose): More helpful message.
3630
3631 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3632
3633         reviewed by: <delete if not using a buddy>
3634
3635         * common/gtk-doc.mak:
3636
3637 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3638
3639         * gst/gstregistry.c: (gst_registry_scan_path_level):
3640           unref a plug-in we get that was already initialized
3641
3642 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3643
3644         * docs/gst/gstreamer-sections.txt:
3645         * docs/libs/gstreamer-libs-sections.txt:
3646         * gst/gstelement.h:
3647           add new api entries
3648           hide internal macro
3649
3650 2005-10-17  Andy Wingo  <wingo@pobox.com>
3651
3652         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3653         cleanup.
3654
3655         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3656
3657         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3658
3659         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3660         (gst_element_get_state_func): Better debug message.
3661         (gst_element_commit_state): s/INFO/DEBUG/.
3662         (gst_element_lost_state, gst_element_change_state): 
3663
3664         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3665         (gst_message_new_custom): s/INFO/LOG/.
3666
3667 2005-10-17  Michael Smith <msmith@fluendo.com>
3668
3669         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3670           Check if end time is valid using end time, not start time.
3671
3672 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3673
3674         * check/gst-libs/controller.c: (GST_START_TEST),
3675         (gst_controller_suite):
3676         * libs/gst/controller/gstcontroller.c:
3677         (gst_controlled_property_set_interpolation_mode):
3678         * libs/gst/controller/gstcontroller.h:
3679         * libs/gst/controller/gstinterpolation.c:
3680         * testsuite/controller/.cvsignore:
3681         * testsuite/controller/Makefile.am:
3682         * testsuite/controller/interpolator.c:
3683           merge controller testsuites
3684           fix broken tests
3685           remove mem-chunk from docs
3686
3687 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3688
3689         * gst/gstmemchunk.c:
3690         * gst/gstmemchunk.h:
3691         * gst/gsttrashstack.c:
3692         * gst/gsttrashstack.h:
3693           out.  get out.  you're fired.  to the Attic !
3694
3695 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3696
3697         * gst/gstcaps.c: (gst_caps_intersect):
3698           fix signedness issues in a (hopefully) correct way
3699         * gst/gstelement.c: (gst_element_pads_activate):
3700           some debugging
3701         * gst/gstobject.c: (gst_object_set_parent):
3702           some debugging
3703
3704 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3705
3706         * gst/gstvalue.h: Fix prototypes.
3707
3708 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3709
3710         * docs/gst/gstreamer-sections.txt:
3711         * gst/gst.c: (gst_version_string):
3712         * gst/gst.h:
3713         * gst/gstversion.h.in:
3714         * win32/common/libgstreamer.def:
3715           add gst_version_string ()
3716
3717 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3718
3719         * configure.ac:
3720           clean up further
3721         * gst/gst.c: (init_post):
3722         * win32/common/config.h.in:
3723           it's PLUGINDIR now
3724         * gst/gstcaps.c: (gst_caps_intersect):
3725           use gint64, the range could be bigger than a guint
3726
3727 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3728
3729         * gst/gstclock.h:
3730           document potential problem in 2038
3731
3732 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3733
3734         * gst/gstcaps.c: (gst_caps_intersect):
3735           Fix guint j diving under 0
3736
3737 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3738
3739         * configure.ac:
3740         * win32/common/config.h:
3741         * win32/common/config.h.in:
3742           check for process.h, declares getpid() on Windows
3743         * gst/gstinfo.c:
3744           include process.h if we have it
3745         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3746         * gst/gstmemchunk.h:
3747           fix signedness issues
3748         * win32/common/libgstreamer.def:
3749           fix get_type's
3750
3751 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3752
3753         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3754         fix. Because of unsigned ints, caps intersection was going nuts and
3755         trying to access structures with G_MAXUINT index. That fixes
3756         videotestsrc ! ffmpegcolorspace ! fakesink
3757         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3758         consistency.
3759
3760 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3761
3762         * configure.ac:
3763           use the gettext macro
3764         * gst/elements/gstelements.c:
3765         * gst/gst.c:
3766         * gst/indexers/gstindexers.c:
3767           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3768         * win32/common/config.h:
3769           updated config.h
3770         * win32/common/config.h.in:
3771           add the template to generate config.h
3772         * win32/common/gstenumtypes.c:
3773         * win32/common/gstversion.h:
3774           updated copies
3775
3776 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3777
3778         * gst/gst.c: (gst_version):
3779         * gst/gstversion.h.in:
3780           add the nano
3781
3782 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3783
3784         * gst/gstevent.h:
3785           Oops, add missing closing bracket.
3786
3787 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3788
3789         * configure.ac:
3790           use common m4's for argument checking
3791
3792 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3793
3794         * docs/gst/gstreamer-sections.txt:
3795         * gst/gstevent.h:
3796           Add GST_EVENT_TYPE_NAME() macro.
3797
3798 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3799
3800         * gst/gstinfo.c:
3801         * gst/gstpluginfeature.c:
3802         * gst/gsttask.c:
3803           privatize more symbols
3804
3805 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3806
3807         * configure.ac:
3808           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3809           everything that uses GStreamer API should have the includes
3810
3811 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3812
3813         * docs/gst/gstreamer-sections.txt:
3814         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3815         * gst/gstvalue.h:
3816           give each value a _get_type, removes the DATA exports
3817
3818 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3819
3820         * gst/gst.c:
3821         * gst/gst.h:
3822           remove _gst_registry_auto_load, not used anymore
3823         * gst/gstbin.c: (gst_bin_get_type):
3824         * gst/gstbin.h:
3825         * gst/gstelement.c: (gst_element_get_type):
3826         * gst/gstelement.h:
3827         * gst/gstobject.c: (gst_object_get_type):
3828         * gst/gstobject.h:
3829         * gst/gstpad.c: (gst_pad_get_type):
3830         * gst/gstpad.h:
3831           make _get_type functions similar, fixes data export from library
3832
3833 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3834
3835         * configure.ac:
3836           correctly make conditionals
3837         * gst/elements/Makefile.am:
3838         * gst/elements/gstelements.c:
3839           fix typo causing fdsrc not to build
3840
3841 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3842
3843         * testsuite/Makefile.am:
3844         * testsuite/bytestream/.cvsignore:
3845         * testsuite/bytestream/Makefile.am:
3846         * testsuite/bytestream/filepadsink.c:
3847         * testsuite/bytestream/gstbstest.c:
3848         * testsuite/bytestream/test1.c:
3849         * testsuite/bytestream/testfile1:
3850         * testsuite/caps/normalisation.c:
3851         * testsuite/caps/random.c: (main):
3852         * testsuite/cleanup/.cvsignore:
3853         * testsuite/cleanup/Makefile.am:
3854         * testsuite/cleanup/cleanup1.c:
3855         * testsuite/cleanup/cleanup2.c:
3856         * testsuite/cleanup/cleanup3.c:
3857         * testsuite/cleanup/cleanup4.c:
3858         * testsuite/cleanup/cleanup5.c:
3859         * testsuite/controller/interpolator.c:
3860         * testsuite/debug/printf_extension.c: (main):
3861         * testsuite/elements/tee.c:
3862         * testsuite/negotiation/.cvsignore:
3863         * testsuite/negotiation/Makefile.am:
3864         * testsuite/negotiation/pad_link.c:
3865         * testsuite/pad/Makefile.am:
3866         * testsuite/pad/chainnopull.c:
3867         * testsuite/pad/getnopush.c:
3868         * testsuite/pad/link.c:
3869         * testsuite/refcounting/sched.c: (create_pipeline):
3870         * testsuite/registry/Makefile.am:
3871         * testsuite/registry/gst-print-formats.c:
3872         * testsuite/schedulers/.cvsignore:
3873         * testsuite/schedulers/142183-2.c:
3874         * testsuite/schedulers/142183.c:
3875         * testsuite/schedulers/143777-2.c:
3876         * testsuite/schedulers/143777.c:
3877         * testsuite/schedulers/147713.c:
3878         * testsuite/schedulers/147819.c:
3879         * testsuite/schedulers/147894-2.c:
3880         * testsuite/schedulers/147894.c:
3881         * testsuite/schedulers/Makefile.am:
3882         * testsuite/schedulers/group_link.c:
3883         * testsuite/schedulers/queue_link.c:
3884         * testsuite/schedulers/relink.c:
3885         * testsuite/schedulers/unlink.c:
3886         * testsuite/schedulers/unref.c:
3887         * testsuite/schedulers/useless_iteration.c:
3888         * testsuite/states/bin.c:
3889           clean out/remove some stuff from the testsuite directories
3890
3891 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3892
3893         * configure.ac:
3894           check for some headers
3895         * gst/elements/Makefile.am:
3896         * gst/elements/gstelements.c:
3897           don't compile fdsrc without sys/socket.h
3898         * gst/indexers/Makefile.am:
3899         * gst/indexers/gstindexers.c: (plugin_init):
3900           don't compile fileindex without mmap
3901
3902 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3903
3904         * configure.ac:
3905           reorganize
3906           clean up
3907           document more
3908           remove cruft
3909         * check/Makefile.am:
3910         * docs/gst/Makefile.am:
3911         * examples/helloworld/Makefile.am:
3912         * gst/Makefile.am:
3913         * gst/base/Makefile.am:
3914         * gst/check/Makefile.am:
3915         * gst/elements/Makefile.am:
3916         * gst/indexers/Makefile.am:
3917         * gst/parse/Makefile.am:
3918         * libs/gst/controller/Makefile.am:
3919         * libs/gst/dataprotocol/Makefile.am:
3920         * examples/helloworld/helloworld.c: (event_loop):
3921           compile fixes, though it's not being compiled currently
3922
3923 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3924
3925         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3926           Add some simple tests for the new taglist date API.
3927
3928 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3929
3930         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3931         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3932           Beautify 'last-message' output: print 'none' for buffer timestamps
3933           and durations if none is set; improve alignment with next messages.
3934
3935 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3936
3937         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3938         * gst/gstpluginfeature.h:
3939         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3940         * gst/gstregistry.h:
3941         * docs/gst/gstreamer-sections.txt:
3942           Add new API to check plugin feature version requirements.
3943
3944         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3945           Some basic tests for the above.         
3946
3947 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3948
3949         * gst/gststructure.c: (gst_structure_to_string):
3950           guard against NULL printf - happens when for example
3951           a message structure with GstClock gets serialized
3952
3953 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3954
3955         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3956           Fix presumable copy'n'pasto.
3957
3958 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3959
3960         * gst/elements/gstfakesrc.h:
3961         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3962         * gst/elements/gsttypefindelement.c:
3963           fix some signedness
3964         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3965           I wonder if this could actually write +2GB files before
3966
3967 2005-10-13  Andy Wingo  <wingo@pobox.com>
3968
3969         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3970         Fix Timmeke Waymans bug.
3971         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3972         string of the proper length to gst_caps_from_string. There's a
3973         potential for, before this fix, that this could cause someone
3974         connecting over the network to cause a segfault if the payload is
3975         not NUL-terminated.
3976
3977 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3978
3979         * docs/design/draft-push-pull.txt:
3980         * docs/design/part-overview.txt:
3981         * docs/random/TODO-pre-0.9:
3982         * docs/random/old/ChangeLog.gstreamer:
3983         * gst/base/gstpushsrc.c:
3984         * gst/gstclock.c:
3985           fixed typos
3986
3987 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3988
3989         * gst/glib-compat.c: (gst_flags_get_first_value):
3990         * gst/glib-compat.h:
3991         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3992         (gst_value_compare_double), (gst_value_serialize_flags):
3993           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3994           infinite loop
3995
3996 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3997
3998         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3999         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4000           fix up debugging
4001         * tools/gst-launch.c: (event_loop):
4002           print out clock nicely
4003
4004 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4005
4006         * docs/gst/gstreamer-sections.txt:
4007         * gst/gsttaglist.h:
4008         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4009         (gst_tag_list_get_date_index):
4010           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4011           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4012
4013 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4014
4015         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4016         (gst_collectpads_chain):
4017         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4018         in CollectData.
4019
4020 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4021
4022         * docs/gst/gstreamer-sections.txt:
4023         * gst/gst.c:
4024         * gst/gsterror.h:
4025         * tools/gst-inspect.c: (main):
4026         * tools/gst-launch.c: (main):
4027         * tools/gst-run.c: (main):
4028         * tools/gst-xmlinspect.c: (main):
4029           fix GOption context leaks
4030           doc fixes
4031
4032 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4033
4034         * gst/gstbus.c:
4035           use HAVE_UNISTD_H
4036         * win32/common/config.h:
4037           update config
4038         * win32/vs6/grammar.dsp:
4039         * win32/vs6/libgstelements.dsp:
4040         * win32/vs6/libgstreamer.dsp:
4041           update vs6 files
4042
4043 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4044
4045         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4046         * gst/base/gstbasesrc.c: (gst_base_src_query):
4047           fix more guint64<->gdouble conversions
4048
4049 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4050
4051         * Makefile.am:
4052           add win32-update target
4053         * win32/common/gstconfig.h:
4054         * win32/common/gstenumtypes.c:
4055         * win32/common/gstenumtypes.h:
4056         * win32/common/gstversion.h:
4057           add files that visual studio can't generate
4058
4059 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4060
4061         * Makefile.am:
4062           add a win32-update target
4063         * configure.ac:
4064
4065 2005-10-12  Wim Taymans  <wim@fluendo.com>
4066
4067         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4068         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4069         * gst/gstelement.c: (gst_element_commit_state),
4070         (gst_element_set_state):
4071         Protect flags with proper lock.
4072         unref provided cached clock in dispose.
4073
4074 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4075
4076         * gst/gst.c:
4077         * gst/gstminiobject.h:
4078         * gst/gstpad.h:
4079         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4080           removed unused flags from miniobject
4081           doc fixes
4082
4083 2005-10-12  Wim Taymans  <wim@fluendo.com>
4084
4085         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4086         (gst_file_sink_event), (gst_file_sink_render):
4087         Flush before seeking.
4088
4089 2005-10-12  Andy Wingo  <wingo@pobox.com>
4090
4091         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4092         always been the case.
4093
4094 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4095
4096         * check/gst/gstbin.c: (GST_START_TEST):
4097         * docs/gst/gstreamer-sections.txt:
4098         * gst/base/gstbasesink.c: (gst_base_sink_init):
4099         * gst/base/gstbasesrc.c: (gst_base_src_init),
4100         (gst_base_src_get_range), (gst_base_src_check_get_range),
4101         (gst_base_src_start), (gst_base_src_stop):
4102         * gst/base/gstbasesrc.h:
4103         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4104         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4105         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4106         (bin_bus_handler):
4107         * gst/gstbin.h:
4108         * gst/gstbuffer.h:
4109         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4110         * gst/gstbus.h:
4111         * gst/gstelement.c: (gst_element_is_locked_state),
4112         (gst_element_set_locked_state), (gst_element_commit_state),
4113         (gst_element_set_state):
4114         * gst/gstelement.h:
4115         * gst/gstindex.c: (gst_index_init):
4116         * gst/gstindex.h:
4117         * gst/gstminiobject.h:
4118         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4119         (gst_object_set_parent):
4120         * gst/gstobject.h:
4121         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4122         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4123         * gst/gstpad.h:
4124         * gst/gstpadtemplate.h:
4125         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4126         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4127         * gst/gstpipeline.h:
4128         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4129         (gst_file_index_commit):
4130         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4131         * testsuite/pad/link.c: (gst_test_src_init),
4132         (gst_test_filter_init), (gst_test_sink_init):
4133         * testsuite/states/locked.c: (main):
4134           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4135           moved bitshift from macro to enum definition
4136
4137 2005-10-12  Wim Taymans  <wim@fluendo.com>
4138
4139         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4140         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4141         (gst_file_sink_render):
4142         Some more debugging info.
4143
4144 2005-10-12  Wim Taymans  <wim@fluendo.com>
4145
4146         * docs/design/part-states.txt:
4147         * tools/gst-launch.c: (main):
4148         Some doc updates.
4149         Revert non-intentional change.
4150
4151 2005-10-12  Wim Taymans  <wim@fluendo.com>
4152
4153         * check/gst/gstbin.c: (GST_START_TEST):
4154         * check/gst/gstelement.c: (GST_START_TEST):
4155         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4156         * check/gst/gstghostpad.c: (GST_START_TEST):
4157         * check/gst/gstpipeline.c: (GST_START_TEST):
4158         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4159         * check/states/sinks.c: (GST_START_TEST):
4160         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4161         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4162         (gst_bin_remove_func), (gst_bin_get_state_func),
4163         (gst_bin_recalc_state), (gst_bin_change_state_func),
4164         (bin_bus_handler):
4165         * gst/gstelement.c: (gst_element_get_state_func),
4166         (gst_element_get_state), (gst_element_abort_state),
4167         (gst_element_commit_state), (gst_element_set_state),
4168         (gst_element_change_state), (gst_element_change_state_func):
4169         * gst/gstelement.h:
4170         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4171         (gst_pipeline_provide_clock_func):
4172         * gst/gstutils.c: (gst_element_link_pads_filtered):
4173         * tools/gst-launch.c: (main):
4174         * tools/gst-typefind.c: (main):
4175         Use GstClockTime in _get_state() instead of GTimeVal.
4176         Remove old code in gstutils.c
4177
4178 2005-10-12  Andy Wingo  <wingo@pobox.com>
4179
4180         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4181         removed.
4182
4183         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4184         there is no task. Shouldn't affect any code, as nothing in our
4185         plugins checks this return value.
4186         (gst_pad_stop_task): Also take the stream lock if the pad has no
4187         task. Docs updated.
4188
4189 2005-10-12  Wim Taymans  <wim@fluendo.com>
4190
4191         * gst/gstpad.c: (pre_activate), (post_activate),
4192         (gst_pad_activate_pull), (gst_pad_activate_push):
4193         Cleanup activation code. Reset old state if
4194         activation failed.
4195
4196 2005-10-12  Wim Taymans  <wim@fluendo.com>
4197
4198         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4199         (gst_base_sink_change_state):
4200         No need to prerol after receiving EOS.
4201
4202         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4203         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4204         * gst/elements/gstidentity.c: (gst_identity_event):
4205         Print events more verbosely.
4206
4207 2005-10-12  Wim Taymans  <wim@fluendo.com>
4208
4209         * check/Makefile.am:
4210         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4211         * check/states/sinks2.c:
4212         Moved sinks2 testcode in sinks check.
4213
4214         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4215         (gst_bin_remove_func), (gst_bin_recalc_state),
4216         (gst_bin_change_state_func), (bin_bus_handler):
4217         Fix potential race condition when _get_state() iterated over an
4218         ASYNC element right before it posted a state completion.
4219
4220         * gst/gstclock.h:
4221         Do proper cast here.
4222
4223         * gst/gstevent.c: (gst_event_new_newsegment),
4224         (gst_event_parse_newsegment):
4225         A playback rate of 0.0 is not allowed.
4226
4227 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4228
4229         * win32/common/config.h:
4230         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4231         (_trewinddir), (_ttelldir), (_tseekdir):
4232         * win32/common/dirent.h:
4233         * win32/common/gtchar.h:
4234         * win32/common/libgstbase.def:
4235         * win32/common/libgstreamer.def:
4236         * win32/vs6/grammar.dsp:
4237         * win32/vs6/gst_inspect.dsp:
4238         * win32/vs6/gst_launch.dsp:
4239         * win32/vs6/gstreamer.dsw:
4240         * win32/vs6/libgstbase.dsp:
4241         * win32/vs6/libgstelements.dsp:
4242         * win32/vs6/libgstreamer.dsp:
4243           Visual Studio 6 project files, and a new common directory.
4244           Phear.
4245
4246 2005-10-11  Wim Taymans  <wim@fluendo.com>
4247
4248         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4249         (gst_base_sink_do_sync), (gst_base_sink_query),
4250         (gst_base_sink_change_state):
4251         * gst/base/gstbasesink.h:
4252         Correctly parse newsegment info.
4253
4254 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4255
4256         * gst/gst.c: (init_post):
4257           split plugin paths correctly
4258
4259 2005-10-11  Wim Taymans  <wim@fluendo.com>
4260
4261         * check/gst/gstevent.c: (GST_START_TEST):
4262         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4263         (gst_base_sink_change_state):
4264         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4265         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4266         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4267         * gst/gstevent.c: (gst_event_new_newsegment),
4268         (gst_event_parse_newsegment):
4269         * gst/gstevent.h:
4270         Added extra flag to newsegment for future API freeze.
4271         Updated check and base elements.
4272
4273 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4274
4275         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4276         (gst_collectpads_add_pad), (gst_collectpads_pop),
4277         (gst_collectpads_event), (gst_collectpads_chain):
4278         * gst/base/gstcollectpads.h: Handle EOS correctly.
4279
4280 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4281
4282         * tools/gst-launch.c: (main):
4283           more null protecting
4284
4285 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4286
4287         * gst/gst-i18n-lib.h:
4288           check for ENABLE_NLS, not GETTEXT_PACKAGE
4289         * gst/gstregistry.c: (gst_registry_add_plugin),
4290         (gst_registry_scan_path_level),
4291         (_gst_registry_remove_cache_plugins):
4292           protect possibly NULL strings
4293         * gst/parse/types.h:
4294           config.h already included before
4295         * tools/gst-inspect.c: (main):
4296           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4297           check for ENABLE_NLS, not GETTEXT_PACKAGE
4298         * tools/gst-launch.c: (main):
4299           check for ENABLE_NLS, not GETTEXT_PACKAGE
4300
4301 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4302
4303         * configure.ac:
4304           if we don't have glib, fail before testing 2.8
4305         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4306           fix a leak, should fix plugins-base testsuite
4307
4308 2005-10-11  Andy Wingo  <wingo@pobox.com>
4309
4310         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4311         take the mode we're going to as an arg. Go head and set the mode
4312         and flushing flags now, so that if the activate function starts a
4313         thread all the flags will be in the right state.
4314         (post_activate): Renamed also. Just handle making sure streaming
4315         finishes for the deactivation case, and setting the deactivated
4316         mode.
4317         (gst_pad_set_active): Complain loudly if deactivation fails.
4318         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4319         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4320         remove the terrible hack.
4321
4322 2005-10-11  Wim Taymans  <wim@fluendo.com>
4323
4324         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4325         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4326         (gst_bin_recalc_state), (gst_bin_change_state_func),
4327         (gst_bin_dispose), (bin_bus_handler):
4328         * gst/gstbin.h:
4329         Prepare to make current EOS message queue more generic.
4330         Fix some typos.
4331
4332         * gst/gstevent.c: (gst_event_new_newsegment),
4333         (gst_event_parse_newsegment):
4334         * gst/gstevent.h:
4335         Rename base to stream_time.
4336
4337         * gst/gstmessage.h:
4338         Fix typo in docs.
4339
4340 2005-10-11  Wim Taymans  <wim@fluendo.com>
4341
4342         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4343         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4344         (gst_bin_change_state_func), (bin_bus_handler):
4345         * gst/gstbin.h:
4346         Work on proper clock selection.
4347
4348 2005-10-11  Edward Hervey  <edward@fluendo.com>
4349
4350         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4351         * libs/gst/controller/gstcontroller.h:
4352         Added GList* version of _remove_properties() in order to be able to wrap
4353         it in bindings.
4354
4355 2005-10-11  Wim Taymans  <wim@fluendo.com>
4356
4357         * docs/design/part-states.txt:
4358         Some more docs.
4359
4360         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4361         (gst_bin_change_state_func), (bin_bus_handler):
4362         Doc updates. Don't distribute the same clock over and over again.
4363
4364         * gst/gstclock.c:
4365         * gst/gstclock.h:
4366         Doc updates.
4367
4368         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4369         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4370         (gst_pad_send_event):
4371         * gst/gstpad.h:
4372         Make probe emission threadsafe again.
4373         Register quarks and move _get_name() from utils.
4374         Doc updates.
4375
4376         * gst/gstpipeline.c: (gst_pipeline_class_init),
4377         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4378         Only redistribute the clock of it changed.
4379
4380         * gst/gstsystemclock.h:
4381         Doc updates. 
4382
4383         * gst/gstutils.c:
4384         * gst/gstutils.h:
4385         Moved the _flow_get_name() to GstPad.
4386
4387 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4388
4389         * check/gst-libs/gdp.c: (GST_START_TEST):
4390         * check/gst/gstcaps.c: (GST_START_TEST):
4391         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4392         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4393         (gst_dp_packet_from_caps):
4394           fix more valgrind warnings before turning up the heat
4395
4396 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4397
4398         * gst/parse/grammar.y:
4399           some cleanup before the hacking
4400
4401 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4402
4403         * gst/base/gstbasesrc.c: (gst_base_src_query):
4404           use conversions
4405         * gst/gstutils.c: (gst_guint64_to_gdouble),
4406         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4407         * gst/gstutils.h:
4408           externalize, basesrc uses it
4409           obviously the implementation needs testing
4410
4411 2005-10-10  Wim Taymans  <wim@fluendo.com>
4412
4413         * tests/sched/Makefile.am:
4414         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4415         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4416
4417 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4418
4419         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4420           apparently converting from guint64 to double is not implemented
4421           on MSVC
4422
4423 2005-10-10  Wim Taymans  <wim@fluendo.com>
4424
4425         * check/Makefile.am:
4426         * check/generic/states.c: (GST_START_TEST):
4427         * check/gst/gstbin.c: (GST_START_TEST):
4428         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4429         * check/states/sinks.c: (GST_START_TEST):
4430         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4431         (main):
4432         Check fixes, use API as stated in design docs, remove hacks.
4433
4434         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4435         (gst_base_sink_change_state):
4436         Catch stopping our task while we're shutting down.
4437
4438         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4439         (gst_bin_remove_func), (gst_bin_get_state_func),
4440         (gst_bin_recalc_state), (gst_bin_change_state_func),
4441         (bin_bus_handler):
4442         * gst/gstbin.h:
4443         * gst/gstelement.c: (gst_element_init),
4444         (gst_element_get_state_func), (gst_element_abort_state),
4445         (gst_element_commit_state), (gst_element_lost_state),
4446         (gst_element_set_state), (gst_element_change_state),
4447         (gst_element_change_state_func):
4448         * gst/gstelement.h:
4449         New state change algorithm (see #318116)
4450
4451         * gst/gstpipeline.c: (gst_pipeline_class_init),
4452         (gst_pipeline_init), (gst_pipeline_set_property),
4453         (gst_pipeline_get_property), (do_pipeline_seek),
4454         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4455         * gst/gstpipeline.h:
4456         Remove crude state change hacks.
4457
4458         * gst/gstutils.h:
4459         Remove crude hacks.
4460
4461         * tools/gst-launch.c: (main):
4462         Fixes for state change. Needs some more work to fully use the
4463         new stuff.
4464
4465 2005-10-10  Andy Wingo  <wingo@pobox.com>
4466
4467         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4468
4469         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4470         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4471         issue.
4472
4473 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4474
4475         * gst/gstiterator.c: (gst_iterator_new):
4476           Fix my previous commit: GTypes passed to gst_iterator_new()
4477           can be fundamental types.
4478
4479 2005-10-10  Wim Taymans  <wim@fluendo.com>
4480
4481         * gst/gstelement.c: (gst_element_iterate_pad_list),
4482         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4483         (gst_element_iterate_sink_pads):
4484         Use src/sink pads lists for the respective iterators instead
4485         of filtering.
4486
4487 2005-10-10  Andy Wingo  <wingo@pobox.com>
4488
4489         Merged in popt removal + GOption addition patch from Ronald, bug
4490         #169772.
4491
4492         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4493         GstElement macros around, remove popt-related symbols, add goption
4494         stuff.
4495
4496         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4497         
4498         * docs/gst/Makefile.am:
4499         * docs/libs/Makefile.am: No POPT_CFLAGS.
4500         
4501         * examples/manual/Makefile.am:
4502         * docs/manual/basics-init.xml: Doc updates with an example.
4503         
4504         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4505         (gst_init), (parse_one_option), (parse_goption_arg):
4506         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4507         bit of hand merging and debugging to get the GOption stuff working
4508         tho.
4509         
4510         * tests/Makefile.am:
4511         * tools/Makefile.am:
4512         * tools/gst-inspect.c: (main):
4513         * tools/gst-launch.c: (main):
4514         * tools/gst-run.c: (main):
4515         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4516
4517 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4518
4519         * gst/gstiterator.c: (gst_iterator_new):
4520           Add assertions to make sure passed GType is likely to really
4521           be a GType (as the compiler won't catch it if the size and
4522           GType arguments get mixed up, see #318447).
4523
4524 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4525
4526         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4527
4528         * gst/gstbin.c: (gst_bin_iterate_sorted):
4529           Pass GType and size arguments to gst_iterator_new() in the right
4530           order (maybe we should make _new() take the GType as first argument
4531           just like _new_list()?) (#318447).
4532           
4533
4534 2005-10-10  Wim Taymans  <wim@fluendo.com>
4535
4536         * gst/gstelement.c: (gst_element_finalize):
4537         And free the GStaticRecMutex too
4538
4539 2005-10-10  Andy Wingo  <wingo@pobox.com>
4540
4541         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4542         Allocate and free the mutex properly.
4543
4544         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4545         New macros.
4546         (GstElement): The state_lock is now recursive. Rebuild your
4547         plugins, suckers. Old macros adapted.
4548
4549         * docs/gst/gstreamer-sections.txt: Doc updates.
4550
4551         * gst/gstutils.h:
4552         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4553         (g_static_rec_cond_wait): Ported from state changes patch, while
4554         we wait on bug #317802 to be solved in a well-distributed GLib.
4555
4556         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4557         gst_element_change_state, variable name changes.
4558         (gst_element_change_state): Split out of gst_element_set_state in
4559         preparation for the state change merge. Doesn't pay attention to
4560         the 'transition' argument.
4561         (gst_element_set_state): Updates, hopefully purely cosmetic.
4562         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4563         state change patch.
4564         (gst_element_get_state_func): Renamed from get_state, cosmetic
4565         changes.
4566
4567 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4568
4569         * gst/elements/gstelements.c:
4570         * win32/GStreamer.vcproj:
4571         * win32/config.h:
4572         * win32/dirent.c: (_tseekdir):
4573         * win32/gst-inspect.vcproj:
4574         * win32/gst-launch.vcproj:
4575         * win32/gstconfig.h:
4576         * win32/gstelements.vcproj:
4577         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4578         * win32/gstreamer.def:
4579         * win32/msvc71.sln:
4580           updates for the win32 build (patch from Sebastien Moutte)
4581
4582 2005-10-10  Andy Wingo  <wingo@pobox.com>
4583
4584         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4585         gst_bin_get_state, cleaned up (but no logic changes).
4586         (bin_element_is_sink): Comment updates.
4587         (sink_iterator_filter): Remove needless cast.
4588         (gst_bin_iterate_sinks): Doc update.
4589         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4590         cleaned up (but no logic changes).
4591
4592         * check/states/sinks.c (test_src_sink): Cleanups from the state
4593         change patch.
4594         (test_livesrc_sink): Sync on the state.
4595
4596         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4597         the state change patch.
4598
4599         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4600         change patch.
4601
4602         * check/gst/gstbin.c: Merge in some style fixes and additional
4603         checks from Wim's state change patch.
4604
4605 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4606
4607         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4608         (gst_type_find_helper):
4609           Check whether we have the requested data already in our list of
4610           cached buffers before pulling a new buffer; also make the buffer
4611           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4612
4613 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4614
4615         * gst/gstcaps.c:
4616         * gst/gstevent.c:
4617           doc updates
4618         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4619           don't use long long, it's not portable.  Replacing with
4620           gint64 seems to work; let's hope no skeletons fall out of the closet.
4621
4622 2005-10-10  Andy Wingo  <wingo@pobox.com>
4623
4624         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4625
4626 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4627
4628         * docs/gst/gstreamer-sections.txt:
4629         * gst/gstevent.c:
4630         * gst/gstevent.h:
4631         * gst/gstinfo.c:
4632         * gst/gstinfo.h:
4633         * gst/gstmessage.c: (gst_message_parse_state_changed):
4634         * gst/gstpad.c:
4635         * gst/gstpad.h:
4636           more docs, fix compilation
4637
4638 2005-10-09  Philippe Khalaf <burger@speedy.org>
4639         * gst/gstmessage.c:
4640           Fixed a few forgotten variables on previous commit
4641
4642 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4643
4644         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4645           Fix evil typefind crasher: getrange() might return a short
4646           buffer at the end of a file, but gst_type_find_peek() must
4647           either return the full data as requested or NULL, but
4648           never a short buffer.
4649
4650 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4651
4652         * gst/gstmessage.c: (gst_message_new_state_changed),
4653         (gst_message_parse_state_changed):
4654         * gst/gstmessage.h:
4655           don't use "new", it's a C++ keyword
4656
4657 2005-10-08  Wim Taymans  <wim@fluendo.com>
4658
4659         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4660         * gst/gstelement.c: (gst_element_post_message):
4661         * gst/gstpipeline.c: (gst_pipeline_change_state):
4662         Small docs and debug updates.
4663
4664 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4665
4666         * docs/gst/gstreamer-sections.txt:
4667         * gst/gstelementfactory.c:
4668         * gst/gstevent.c:
4669         * gst/gsttaglist.c:
4670           more docs
4671
4672 2005-10-08  Wim Taymans  <wim@fluendo.com>
4673
4674         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4675         (gst_bin_dispose), (bin_bus_handler):
4676         Fix typos, add comments.
4677         Clear EOS list when going to PAUSED from any direction and do it
4678         in a threadsafe way.
4679         Get base time in a threadsafe way too.
4680         Fix confusing debug in the change_state function.
4681         Various other small cleanups.
4682         
4683         * gst/gstelement.c: (gst_element_post_message):
4684         Fix very verbose bus posting code.
4685
4686         * gst/gstpipeline.c: (gst_pipeline_class_init),
4687         (gst_pipeline_set_property), (gst_pipeline_get_property),
4688         (gst_pipeline_change_state):
4689         Small ARG_ -> PROP_ cleanup
4690
4691 2005-10-08  Wim Taymans  <wim@fluendo.com>
4692
4693         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4694         Do a less CPU demanding EOS check because we can.
4695
4696 2005-10-08  Wim Taymans  <wim@fluendo.com>
4697
4698         * libs/gst/dataprotocol/dataprotocol.c:
4699         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4700         (gst_dp_packet_from_event):
4701         * libs/gst/dataprotocol/dataprotocol.h:
4702         * libs/gst/dataprotocol/dp-private.h:
4703         It's about time we bump the version number.
4704         Since event types don't fit in the guint8 anymore describing
4705         the payload type, make payload type 16 bits wide.
4706
4707 2005-10-08  Wim Taymans  <wim@fluendo.com>
4708
4709         * docs/design/part-TODO.txt:
4710         * docs/design/part-clocks.txt:
4711         * docs/design/part-events.txt:
4712         * docs/design/part-gstbin.txt:
4713         * docs/design/part-gstelement.txt:
4714         * docs/design/part-gstpipeline.txt:
4715         * docs/design/part-live-source.txt:
4716         * docs/design/part-messages.txt:
4717         * docs/design/part-overview.txt:
4718         * docs/design/part-states.txt:
4719         Many doc updates.
4720
4721 2005-10-08  Wim Taymans  <wim@fluendo.com>
4722
4723         * gst/gstevent.c:
4724         * gst/gstevent.h:
4725         Fix event quark registration.
4726         Add some space between events so we can insert them in the
4727         right groups.
4728
4729 2005-10-08  Wim Taymans  <wim@fluendo.com>
4730
4731         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4732         (gst_base_sink_handle_buffer):
4733         Better log message.
4734
4735         * gst/gstbus.h:
4736         * gst/gstelement.h:
4737         More docs.
4738
4739         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4740         (gst_queue_set_property), (gst_queue_get_property):
4741         * gst/gstqueue.h:
4742         Remove old unused properties.
4743
4744 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4745         * docs/gst/gstreamer-sections.txt:
4746         * gst/gstmessage.c:
4747         * gst/gstmessage.h:
4748         * gst/gstminiobject.c:
4749         * gst/gstminiobject.h:
4750         * gst/gstobject.h:
4751         * gst/gstpad.h:
4752         * gst/gstutils.h:
4753           lots of new docs and doc fixes
4754
4755 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4756
4757         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4758         * gst/gstplugin.h:
4759         * gst/gstregistry.c: (gst_registry_lookup_locked),
4760         (gst_registry_scan_path_level):
4761         * gst/gstregistryxml.c: (load_plugin):
4762           Only ever load one plugin for a given plugin basename.
4763           This ensures correct overriding of GST_PLUGIN_PATH over
4764           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4765           system installed plugins.
4766
4767 2005-10-08  Wim Taymans  <wim@fluendo.com>
4768
4769         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4770         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4771         Prepare for doing QOS.
4772
4773 2005-10-08  Wim Taymans  <wim@fluendo.com>
4774
4775         * check/gst/gstbin.c: (GST_START_TEST):
4776         * check/pipelines/cleanup.c: (GST_START_TEST):
4777         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4778         Allow new clock message too.
4779
4780 2005-10-08  Wim Taymans  <wim@fluendo.com>
4781
4782         * gst/gstmessage.c: (gst_message_new_error),
4783         (gst_message_new_warning), (gst_message_new_tag),
4784         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4785         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4786         (gst_message_new_segment_start), (gst_message_new_segment_done),
4787         (gst_message_parse_state_changed),
4788         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4789         (gst_message_parse_new_clock):
4790         * gst/gstmessage.h:
4791         Also carry the clock in question.
4792
4793 2005-10-08  Wim Taymans  <wim@fluendo.com>
4794
4795         * gst/gstmessage.c: (gst_message_new_custom),
4796         (gst_message_new_eos), (gst_message_new_error),
4797         (gst_message_new_warning), (gst_message_new_tag),
4798         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4799         (gst_message_new_new_clock), (gst_message_new_segment_start),
4800         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4801         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4802         * gst/gstmessage.h:
4803         Clean up.
4804         Added clock related messages.
4805
4806         * gst/gstpipeline.c: (gst_pipeline_change_state):
4807         Post message when the clock changed.
4808
4809         * tools/gst-launch.c: (event_loop):
4810         Print new clock.
4811
4812 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4813
4814         * tools/gst-inspect.c: (print_element_properties_info):
4815           Can't pass NULL strings to g_print() on windows.
4816
4817 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4818
4819         * docs/Makefile.am:
4820         * docs/gst/Makefile.am:
4821         * docs/gst/gstreamer-docs.sgml:
4822         * docs/gst/running.xml:
4823         * docs/version.entities.in:
4824           add a chapter on running GStreamer.
4825           document GST_DEBUG and GST_PLUGIN* env vars
4826
4827 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4828
4829         * Makefile.am:
4830           remove include dir
4831         * configure.ac:
4832           remove PLUGINS_BUILDDIR stuff
4833         * gst/gst.c: (init_post):
4834           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4835         * idiottest.mak:
4836           remove, it was condescending and not needed
4837
4838 2005-10-08  Wim Taymans  <wim@fluendo.com>
4839
4840         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4841         (gst_base_sink_handle_object), (gst_base_sink_event),
4842         (gst_base_sink_wait), (gst_base_sink_handle_event),
4843         (gst_base_sink_change_state):
4844         * gst/base/gstbasesink.h:
4845         Repost EOS message while going to PLAYING if still EOS.
4846         Make sure that when receiving a FLUSH_START we don't attempt
4847         to sync on the clock anymore.
4848
4849 2005-10-08  Wim Taymans  <wim@fluendo.com>
4850
4851         * tools/gst-launch.c: (event_loop):
4852         Better message printout.
4853
4854 2005-10-08  Wim Taymans  <wim@fluendo.com>
4855
4856         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4857         (gst_bin_child_proxy_get_children_count):
4858         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4859         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4860         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4861         (gst_child_proxy_set_valist):
4862         * gst/parse/grammar.y:
4863         Make ChildProxy threadsafe and fix mem leaks.
4864
4865 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4866
4867         * gst/gst.c: (init_post):
4868           debug the GST_PLUGIN_ env vars
4869
4870 2005-10-08  Wim Taymans  <wim@fluendo.com>
4871
4872         * check/gst/gstbin.c: (GST_START_TEST):
4873         * check/gst/gstmessage.c: (GST_START_TEST):
4874         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4875         * gst/gstelement.c: (gst_element_commit_state),
4876         (gst_element_lost_state):
4877         * gst/gstmessage.c: (gst_message_new_state_changed),
4878         (gst_message_parse_state_changed):
4879         * gst/gstmessage.h:
4880         * tools/gst-launch.c: (event_loop):
4881         Added extra field to STATE_CHANGE message with the pending
4882         state, which will be different from the new state soon.
4883
4884 2005-10-08  Wim Taymans  <wim@fluendo.com>
4885
4886         * gst/gstbus.c: (gst_bus_pop):
4887         * gst/gstclock.c:
4888         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4889         Small cleanups and doc updates.
4890
4891 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4892
4893         * gst/gst.c: (init_pre):
4894         * gst/gstbin.c: (gst_bin_add_func):
4895           log distributing clocks and base time
4896         * gst/gstregistry.c: (gst_registry_add_plugin),
4897         (gst_registry_scan_path_level), (gst_registry_scan_path):
4898           clean up the debugging output a little
4899         * gst/gstutils.c: (gst_element_state_get_name):
4900           warn about a memleak (I've actually seen this be used, though
4901           it was probably a bug)
4902
4903 2005-10-07  Wim Taymans  <wim@fluendo.com>
4904
4905         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4906         (gst_base_src_init), (gst_base_src_default_newsegment),
4907         (gst_base_src_newsegment), (gst_base_src_do_seek),
4908         (gst_base_src_loop), (gst_base_src_start):
4909         * gst/base/gstbasesrc.h:
4910         Make the newsegment event customizable by subclasses.
4911
4912 2005-10-07  Wim Taymans  <wim@fluendo.com>
4913
4914         * gst/gstevent.c: (gst_event_new_buffersize),
4915         (gst_event_parse_buffersize):
4916         * gst/gstevent.h:
4917         New event for future idea.
4918
4919 2005-10-07  Andy Wingo  <wingo@pobox.com>
4920
4921         * gst/gstelement.c (gst_element_post_message): Doc update.
4922
4923         * docs/gst/gstreamer-sections.txt: Update.
4924
4925         * gst/gstmessage.c (gst_message_new_application): Made into a
4926         function like honest API calls.
4927         (gst_message_new_element): New message type.
4928
4929         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4930
4931         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4932         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4933         times.
4934
4935         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4936         NO_PREROLL from gst_element_change_state to fall through.
4937
4938 2005-10-07  Wim Taymans  <wim@fluendo.com>
4939
4940         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4941         (gst_ghost_pad_do_activate_push):
4942         Activating a ghostpad with no internal pad in push mode
4943         is ok.
4944
4945 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4946
4947         * gst/gstobject.h:
4948           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4949           Fixes compilation on Windows.
4950
4951 2005-10-07  Michael Smith <msmith@fluendo.com>
4952
4953         * tools/gst-inspect.c:
4954           Print out feature and plugin count at the end when printing out
4955           all features.
4956
4957 2005-10-04  Michael Smith <msmith@fluendo.com>
4958
4959         * gst/gsterror.c: (_gst_stream_errors_init):
4960           Add another error string used in a few existing plugins.
4961
4962         * gst/gstplugin.c:
4963         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4964         * tools/gst-inspect.c: (print_element_info):
4965           When a feature disappears from a plugin (and the feature exists in
4966           the cached registry file), things went horribly wrong. This isn't a
4967           complete fix, we should actually be removing the 'missing' features
4968           from the features list when we load the actual plugin. That's not
4969           yet implemented. 
4970
4971 2005-10-04  Johan Dahlin  <johan@gnome.org>
4972
4973         * check/gst/gstiterator.c: (GST_START_TEST):
4974         * gst/gstbin.c: (gst_bin_iterate_elements),
4975         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4976         * gst/gstelement.c: (gst_element_iterate_pads):
4977         * gst/gstformat.c: (gst_format_iterate_definitions):
4978         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4979         (gst_iterator_new_list), (gst_iterator_filter):
4980         * gst/gstiterator.h:
4981         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4982         Add a GType to GstIterator, update callsites and tests.
4983
4984 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4985
4986         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4987           give events a chance to be handled by event probes when the pad
4988           is not linked
4989
4990 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4991
4992         * gst/gstevent.c: (gst_event_type_get_name),
4993         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4994         * gst/gstevent.h:
4995           add string representations for event types
4996
4997 2005-10-06  Wim Taymans  <wim@fluendo.com>
4998
4999         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5000         Don't use NULL pointers.
5001
5002 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5003
5004         * gst/gst_private.h:
5005         * gst/gstbus.c:
5006         * gst/gstelement.c:
5007         * gst/gstinfo.c:
5008         * gst/gstpluginfeature.c:
5009           widen the debug category in output to fit the biggest one we have
5010           add a bus category and use it
5011           play with the colors
5012           fix up some categories
5013
5014 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5015
5016         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5017           add push activation of sink ghost pads.
5018           Andye, please verify
5019
5020 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5021
5022         * gst/gstutils.c: (gst_element_link_pads):
5023           fix a bug in the case where neither element has a pad
5024         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5025           add a test for that case
5026
5027 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5028
5029         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5030           emit have-data before checking for peers.  This allows
5031           for probe handlers to connect elements.  This helps autopluggers.
5032         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5033         (gst_pad_suite):
5034           add six checks, linked/unlinked with no/true/false probe
5035
5036 2005-10-04  Wim Taymans  <wim@fluendo.com>
5037
5038         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5039         (gst_fake_sink_event), (gst_fake_sink_preroll),
5040         (gst_fake_sink_render), (gst_fake_sink_change_state):
5041         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5042         (gst_fake_src_get_property), (gst_fake_src_create),
5043         (gst_fake_src_stop):
5044         * gst/elements/gstidentity.c: (gst_identity_stop):
5045         Protect last_message with lock.
5046
5047 2005-10-04  Edward Hervey  <edward@fluendo.com>
5048
5049         * gst/gstformat.h: 
5050         Added precision in the comments for GST_FORMAT_DEFAULT
5051
5052 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5053
5054         * tools/gst-launch.c: (main):
5055           Don't try to run erroneous pipelines.
5056
5057 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5058
5059         * gst/gstbus.c: We don't need this header.
5060
5061 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5062
5063         * configure.ac:
5064           back to development
5065
5066 === release 0.9.3 ===
5067
5068 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5069
5070         * README:
5071         * configure.ac:
5072           Releasing 0.9.3, "Unregistered"
5073
5074 2005-10-03  Andy Wingo  <wingo@pobox.com>
5075
5076         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5077         whereby calling a pad's activatepush() function can start a thread
5078         that starts to push or pull before the pad gets the FLUSHING flag
5079         unset. Hack around it by holding the stream lock until the flag is
5080         set. Need to replace this with a proper solution. Together with
5081         the ghost pad fixes, this fixes mp3 playing/tagreading.
5082
5083         * docs/design/part-gstghostpad.txt: Add a note about activation of
5084         proxy pads outside of ghost pads.
5085
5086         * gst/gstghostpad.c: Implement the ghost pad activation design.
5087
5088 2005-10-02  Andy Wingo  <wingo@pobox.com>
5089
5090         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5091         It is volatile, after all.
5092
5093         * docs/design/part-gstghostpad.txt: Flesh out activation with
5094         ghost pads.
5095
5096         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5097         GST_DEBUG_FUNCPTR.
5098
5099 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5100
5101         * configure.ac:
5102           Fix (unused) AM_CONDITIONAL tests.
5103
5104 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5105
5106         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5107
5108         * gst/gstutils.c: (gst_pad_query_convert):
5109           Add assertion that makes sure src_val is >=0, just like
5110           gst_query_new_convert() has. (#315895)
5111
5112 2005-09-30  Edward Hervey  <edward@fluendo.com>
5113
5114         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5115         Let's not iterate pads we're not interested in, it avoids getting 
5116         sky-high refcounts on sinkpad.
5117
5118 2005-09-30  Wim Taymans  <wim@fluendo.com>
5119
5120         * gst/gstelement.c: (gst_element_set_state),
5121         (gst_element_change_state):
5122         Small tweak, element in ASYNC remains ASYNC.
5123
5124 2005-09-30  Wim Taymans  <wim@fluendo.com>
5125
5126         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5127         Only error is an error.
5128
5129         * gst/gstbin.c: (gst_bin_change_state):
5130         Better debugging.
5131
5132         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5133         Also call pad_block in pad alloc.
5134
5135         * gst/gstutils.c: (gst_flow_get_name):
5136         Better debugging.
5137
5138 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5139
5140         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5141         (gst_base_src_get_range):
5142           Fix documentation typos. Add some more debug info.
5143
5144 2005-09-29  David Schleef  <ds@schleef.org>
5145
5146         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5147           more end-user friendly.
5148         * tools/gst-inspect.c: (main): Check if command-line argument is
5149           a file and attempt to load that file as a plugin.
5150
5151 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5152
5153         * check/gst/gstbin.c:
5154         * check/states/sinks.c:
5155           fix tests for the new warning
5156         * check/gst/gstpipeline.c:
5157           add a test for pipeline and bus interaction
5158         * gst/gstelement.c:
5159           elements should be NULL if they get disposed; add a warning if not
5160
5161 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5162
5163         * gst/gstobject.c:
5164           for 2.6 refcounting, make debug log more correct by printing
5165           the actual refcounts at the time of swap (Wim)
5166
5167 2005-09-29  Andy Wingo  <wingo@pobox.com>
5168
5169         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5170         removes signal watches previously added via
5171         gst_bus_add_signal_watch.
5172         (gst_bus_add_signal_watch): Don't return the source id, just store
5173         it on the bus if there wasn't an id already.
5174
5175         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5176         add_signal_watch and remove_signal_watch.
5177
5178 2005-09-29  Edward Hervey  <edward@fluendo.com>
5179
5180         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5181         Better if we actually iterate the list :)
5182
5183 2005-09-29  Wim Taymans  <wim@fluendo.com>
5184
5185         * check/gst/gstbin.c: (GST_START_TEST):
5186         Change for new bus API.
5187
5188         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5189         (send_messages), (GST_START_TEST), (gstbus_suite):
5190         Change for new bus signal API.
5191
5192         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5193         (gst_bus_source_prepare), (gst_bus_source_check),
5194         (gst_bus_create_watch), (gst_bus_add_watch_full),
5195         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5196         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5197         * gst/gstbus.h:
5198         Remove support for multiple GSources operating on different
5199         message types as it is too complex and unneeded when using
5200         signals.
5201         Added support for receiving signals from the bus.
5202
5203 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5204
5205         * docs/libs/tmpl/gstdataprotocol.sgml:
5206         * docs/manual/advanced-dataaccess.xml:
5207         * gst/elements/gstcapsfilter.c:
5208         * gst/gstutils.c:
5209           rename filter-caps to caps property
5210
5211 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5212
5213         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5214           More robust fraction string parsing.
5215
5216         * docs/pwg/appendix-porting.xml:
5217           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5218
5219 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5220
5221         * gst/gstcaps.c: (gst_caps_do_simplify):
5222           Thou shalt not free a structure and then continue using it
5223           in the next loop iteration.
5224
5225         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5226         (gst_caps_suite):
5227           Add test case for caps simplification.
5228
5229 2005-09-29  Wim Taymans  <wim@fluendo.com>
5230
5231         * check/gst/gstbin.c: (GST_START_TEST):
5232         Oops.
5233
5234 2005-09-29  Wim Taymans  <wim@fluendo.com>
5235
5236         * check/gst/gstbin.c: (GST_START_TEST):
5237         Add bus to bin.
5238
5239         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5240         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5241         (find_element), (gst_bin_sort_iterator_next),
5242         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5243         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5244         (gst_bin_change_state), (gst_bin_dispose):
5245         A bin does not have a bus, it gets the bus from the parent.
5246
5247         * gst/gstelement.c: (gst_element_requires_clock),
5248         (gst_element_provides_clock), (gst_element_is_indexable),
5249         (gst_element_is_locked_state), (gst_element_change_state),
5250         (gst_element_set_bus_func):
5251         Small cleanups.
5252
5253         * gst/gstpipeline.c: (gst_pipeline_class_init),
5254         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5255         The pipeline provides a bus.
5256
5257 2005-09-28  Johan Dahlin  <johan@gnome.org>
5258
5259         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5260         gst_structure_get_enum instead of gst_structure_get_int
5261
5262         * gst/gststructure.c (gst_structure_get_enum): Impl.
5263
5264         * gst/gststructure.h (gst_structure_get_enum): Add
5265
5266         * docs/gst/gstreamer-sections.txt: Ditto
5267
5268         * gst/gstmessage.c (gst_message_new_state_changed): Use
5269         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5270         which does introspection.
5271         Reviewed by Christian Schaller
5272
5273 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5274
5275         * gst/gstinfo.c: (gst_debug_log_default):
5276           don't do dummy g_strdup()s
5277         * libs/gst/controller/gstcontroller.c:
5278         (on_object_controlled_property_changed),
5279         (gst_controlled_property_new), (gst_controller_new_valist),
5280         (gst_controller_new_list),
5281         (gst_controller_remove_properties_valist), (gst_controller_set),
5282         (gst_controller_get), (gst_controller_sync_values),
5283         (gst_controller_get_value_array), (_gst_controller_class_init),
5284         (gst_controller_get_type):
5285         * libs/gst/controller/gstcontroller.h:
5286         * libs/gst/controller/gstinterpolation.c:
5287         (gst_controlled_property_find_timed_value_node):
5288           convert // to /**/ comments
5289
5290 2005-09-28  Wim Taymans  <wim@fluendo.com>
5291
5292         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5293         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5294         (gst_bus_sync_signal_handler):
5295         * gst/gstbus.h:
5296         Added async-message and sync-message signals to the bus.
5297         Added helper BusFunc to emit signals for all posted messages.
5298
5299         * gst/gstmessage.c: (gst_message_type_get_name),
5300         (gst_message_type_to_quark), (gst_message_get_type):
5301         * gst/gstmessage.h:
5302         Register quarks for message names.
5303
5304 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5305
5306         * docs/libs/gstreamer-libs-sections.txt:
5307         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5308         (gst_controller_new_list):
5309         * libs/gst/controller/gstcontroller.h:
5310           added another constructor for language bindings
5311
5312 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5313
5314         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5315           add another check
5316         * gst/gstbus.c:
5317           add some doc
5318         * gst/gstinfo.c: (_gst_debug_init):
5319           slightly more readable color for refcount debugging
5320
5321 2005-09-28  Wim Taymans  <wim@fluendo.com>
5322
5323         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5324         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5325         (find_element), (gst_bin_sort_iterator_next),
5326         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5327         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5328         (gst_bin_change_state), (gst_bin_dispose):
5329         Small doc fixes. get_clock -> provide_clock.
5330
5331         * gst/gstelement.c: (gst_element_class_init),
5332         (gst_element_provides_clock), (gst_element_provide_clock),
5333         (gst_element_get_clock), (gst_element_commit_state),
5334         (gst_element_lost_state):
5335         * gst/gstelement.h:
5336         Make get/set_clock() symetric. Add provide_clock vmethod since
5337         that is actually what this function does.
5338
5339         * gst/gstpipeline.c: (gst_pipeline_class_init),
5340         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5341         (gst_pipeline_get_clock):
5342         get_clock -> provide_clock.
5343
5344 2005-09-28  Andy Wingo  <wingo@pobox.com>
5345
5346         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5347         lieu of real docs...
5348
5349         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5350
5351 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5352
5353         * gst/elements/gstcapsfilter.c:
5354         * gst/elements/gstfakesink.c:
5355         * gst/elements/gstfakesrc.c:
5356         * gst/elements/gstfdsink.c:
5357         * gst/elements/gstfdsrc.c:
5358         * gst/elements/gstfilesink.c:
5359         * gst/elements/gstfilesrc.c:
5360         * gst/elements/gstidentity.c:
5361         * gst/elements/gsttee.c:
5362         * gst/elements/gsttypefindelement.c:
5363           Make element details static.
5364
5365 2005-09-28  Wim Taymans  <wim@fluendo.com>
5366
5367         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5368         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5369         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5370         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5371         (gst_bin_change_state), (gst_bin_dispose):
5372         Some documentation updates.
5373         Clean up dispose handlers.
5374
5375         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5376         * gst/gstpad.c: (gst_pad_dispose):
5377         Clean up dispose handler.
5378
5379         * gst/gstpipeline.c: (gst_pipeline_change_state):
5380         Removed spurious UNLOCK.
5381
5382 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5383
5384         * docs/gst/gstreamer-sections.txt:
5385         * gst/base/gstbasesrc.h:
5386         * gst/gstelement.h:
5387         * gst/gstevent.h:
5388         * gst/gstobject.h:
5389         * gst/gstpad.h:
5390         * gst/gstpipeline.c:
5391         * gst/gstpipeline.h:
5392         * gst/gstutils.h:
5393         * gst/gstxml.h:
5394           added two new functions to the docs
5395                 documents all undocumented GstXXXFlags
5396                 completed some incomplete docs 
5397
5398 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5399
5400         * gst/gstbin.c: (gst_bin_dispose):
5401         * gst/gstelement.c: (gst_element_dispose):
5402           remove now useless and leaky resurrection code in dispose
5403         * gst/base/gstbasesrc.c: (gst_base_src_init):
5404         * gst/gstelementfactory.c: (gst_element_factory_create):
5405         * gst/gstobject.c: (gst_object_set_parent):
5406           add some debugging
5407
5408 2005-09-27  Wim Taymans  <wim@fluendo.com>
5409
5410         * docs/design/part-TODO.txt:
5411         Update TODO.
5412
5413         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5414         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5415         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5416         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5417         (gst_bin_change_state):
5418         * gst/gstelement.h:
5419         Remove element variable, we keep element info in the iterator now.
5420
5421 2005-09-27  Andy Wingo  <wingo@pobox.com>
5422
5423         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5424         values.
5425
5426 2005-09-27  Wim Taymans  <wim@fluendo.com>
5427
5428         * check/gst/gstbin.c: (GST_START_TEST):
5429         Enable check that works now.
5430
5431         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5432         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5433         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5434         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5435         (gst_bin_change_state):
5436         * gst/gstbin.h:
5437         Redid the state change algorithm using a topological sort algo.
5438         Handles all cases correctly.
5439         Exposed iterator for state change order.
5440
5441         * gst/gstelement.h:
5442         Temp storage for state changes. Need to get rid of this soon.
5443
5444 2005-09-27  Wim Taymans  <wim@fluendo.com>
5445
5446         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5447         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5448         (link_fold_func), (gst_pad_proxy_setcaps):
5449         Leak fixes, the fold functions need to unref the passed object and
5450         _get_parent_*() returns ref to parent.
5451
5452 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5453
5454         * check/gst/gstbuffer.c: (test_make_writable):
5455           Plug leak in test case and fix 'make check-valgrind'
5456
5457 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5458
5459         * gst/gstbuffer.c: (gst_subbuffer_init):
5460           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5461           works correctly in all circumstances (we could have just copied
5462           the parent buffer's readonly flag, but conceptually it seems
5463           cleaner to mark all subbuffers as read-only). (based on patch
5464           by Alessandro Decina, #314710).
5465         
5466         * check/gst/gstbuffer.c: (create_read_only_buffer),
5467         (test_make_writable), (test_subbuffer_make_writable),
5468         (gst_test_suite):
5469           Add some tests for gst_buffer_make_writable().
5470
5471 2005-09-27  Wim Taymans  <wim@fluendo.com>
5472
5473         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5474         use gst_object_has_ancestor().
5475
5476         * gst/gstobject.c: (gst_object_has_ancestor):
5477         * gst/gstobject.h:
5478         gst_object_has_ancestor() copied from gstbin.c as it is a
5479         usefull function.
5480
5481         * tests/instantiate/create.c: (create_all_elements):
5482         * tests/lat.c: (handoff_src), (handoff_sink):
5483         * tests/sched/runxml.c: (main):
5484         * tests/seeking/seeking1.c: (main):
5485         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5486         (main):
5487         Fix compilation of some tests.
5488
5489 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5490
5491         * gst/gsterror.h:
5492           Remove comment. GST_TYPE_G_ERROR is here to stay,
5493           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5494           (#316961, #300610).
5495
5496 2005-09-26  Wim Taymans  <wim@fluendo.com>
5497
5498         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5499         Added check that shows error in state change order.
5500
5501 2005-09-26  Wim Taymans  <wim@fluendo.com>
5502
5503         * gst/gstbin.c: (gst_bin_change_state):
5504         Make state change function use 3 queues again, we were
5505         adding elements in the wrong order.
5506
5507         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5508         Some debug info,
5509
5510         * gst/gstpad.c: (gst_pad_dispose):
5511         Added some debug info first.
5512
5513 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5514
5515         * docs/design/draft-push-pull.txt:
5516         * docs/design/part-events.txt:
5517         * docs/design/part-overview.txt:
5518         * docs/design/part-scheduling.txt:
5519           Replace all _pull_region() with _pull_range()
5520           
5521 2005-09-26  Andy Wingo  <wingo@pobox.com>
5522
5523         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5524
5525         * check/gst-libs/controller.c: Update for controller api change.
5526
5527         * configure.ac: 
5528         * tests/Makefile.am:
5529         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5530         over by GLib bug 118439.
5531         
5532         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5533         routines to a function.
5534
5535         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5536
5537         * libs/gst/controller/gsthelper.c:
5538         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5539         (gst_object_sync_values): Renamed from sink_values. Ugh.
5540
5541         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5542
5543         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5544         Renamed from controller_key, as it is exported.
5545
5546         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5547
5548 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5549
5550         * gst/Makefile.am:
5551         * gst/gst.h:
5552         * gst/gstpad.h:
5553         * gst/gstpadtemplate.h:
5554         * gst/gstquery.c:
5555         * gst/gstquery.h:
5556         * gst/gstqueryutils.c:
5557         * gst/gstqueryutils.h:
5558           remove queryutils headers after moving the two used functions
5559           to gstquery.  also fixes build problem for gstsiddec
5560
5561 2005-09-26  Michael Smith <msmith@fluendo.com>
5562
5563         * tools/gst-launch.1.in:
5564         Correct documentation in manpage of debug syntax
5565
5566 2005-09-26  Wim Taymans  <wim@fluendo.com>
5567
5568         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5569         (gst_base_src_is_seekable), (gst_base_src_change_state):
5570         Some more debugging info.
5571
5572 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5573
5574         * docs/gst/gstreamer-sections.txt:
5575         * gst/base/gstbasetransform.h:
5576         * gst/gstindex.h:
5577           added more docs
5578
5579 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5580
5581         * docs/gst/.cvsignore:
5582         * docs/gst/tmpl/.cvsignore:
5583         * docs/gst/tmpl/gstpipeline.sgml:
5584         * docs/gst/tmpl/gstplugin.sgml:
5585         * gst/gstpipeline.c:
5586         * gst/gstplugin.c:
5587         * gst/gstplugin.h:
5588           inlined the last two docs files
5589           removed the tmpl directory from cvs (no more conflicts here!)
5590
5591 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5592
5593         * docs/gst/gstreamer-sections.txt:
5594         * docs/gst/tmpl/.cvsignore:
5595         * docs/gst/tmpl/gstpad.sgml:
5596         * docs/gst/tmpl/gstpadtemplate.sgml:
5597         * gst/Makefile.am:
5598         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5599         (gst_pad_finalize), (gst_pad_set_pad_template):
5600         * gst/gstpad.h:
5601         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5602         (gst_pad_template_class_init), (gst_pad_template_init),
5603         (gst_pad_template_dispose), (name_is_valid),
5604         (gst_static_pad_template_get), (gst_pad_template_new),
5605         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5606         (gst_pad_template_pad_created):
5607         * gst/gstpadtemplate.h:
5608           inlined two more docs
5609           factored gstpadtemplate out of gstpad
5610
5611 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5612
5613         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5614         (test_children_state_change_order_semi_sink):
5615           Fix test case: we can't rely on a fixed state change order when
5616           going from READY => PAUSED because the sink might commit its 
5617           new state first when the first buffer created by the source 
5618           reaches the sink before the source has finished its change state.
5619           (Test case still fails at times, see #316856, comment 5 onwards)
5620
5621 2005-09-24  Wim Taymans  <wim@fluendo.com>
5622
5623         * docs/design/part-events.txt:
5624         * docs/design/part-gstbus.txt:
5625         * docs/design/part-gstpipeline.txt:
5626         * docs/design/part-messages.txt:
5627         * docs/design/part-overview.txt:
5628         * docs/design/part-segments.txt:
5629         * gst/gstbin.c:
5630         * gst/gstbuffer.c:
5631         * gst/gstclock.c:
5632         * gst/gstelement.c:
5633         * gst/gstevent.c:
5634         * gst/gstfilter.c:
5635         * gst/gstiterator.c:
5636         Various documentation updates.
5637
5638 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5639
5640         * gst/gstclock.h:
5641           Well, that's embarassing.  Luckily we weren't using
5642           GST_CLOCK_DIFF anywhere.
5643
5644 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5645
5646         * common/gtk-doc.mak:
5647           don't fail on building XML, FC4 slave shows a bunch of doc
5648           missing bits that I don't get
5649         * gst/gstpad.c:
5650         * gst/gstpipeline.c:
5651         * gst/gststructure.c:
5652           some doc updates
5653
5654 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5655
5656         * docs/design/part-gstbin.txt:
5657         * docs/design/part-gstbus.txt:
5658         * gst/gstbus.c:
5659           Add blurb about how the bus goes into flushing mode and
5660           drops all messages when its bin goes from READY into NULL 
5661           state.
5662
5663 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5664
5665         * docs/gst/gstreamer-sections.txt:
5666         * gst/gststructure.c: (gst_structure_get_clock_time):
5667         * gst/gststructure.h:
5668           add a method to get a GstClockTime out of a structure
5669
5670 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5671
5672         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5673         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5674           Added test to check state change order in bins (can still be made
5675           to fail here under heavy disk load; bails out with 'Push on pad
5676           fakesink:sink0, but it was not activated in push mode').
5677
5678         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5679           Fix state change order when there is only a semi sink (#316856)
5680
5681         * gst/gstbus.c: (gst_bus_class_init):
5682           Use _class_peek_parent(), not _class_ref(); fix docs to say
5683           'default main context' instead of 'mainloop' where that is
5684           what's meant.
5685
5686         * gst/gstelement.c: (gst_element_commit_state),
5687         (gst_element_set_state):
5688           Fix typos in debug messages
5689
5690 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5691
5692         * docs/README:
5693         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5694         * gst/gstpluginfeature.c:
5695         * gst/gstutils.c:
5696           various doc updates
5697         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5698           change an assert into an error until it gets fixed properly
5699
5700 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5701
5702         * docs/gst/gstreamer-sections.txt:
5703         * docs/gst/tmpl/.cvsignore:
5704         * docs/gst/tmpl/gstelement.sgml:
5705         * docs/gst/tmpl/gstinfo.sgml:
5706         * docs/gst/tmpl/gstobject.sgml:
5707         * gst/gstelement.c:
5708         * gst/gstelement.h:
5709         * gst/gstinfo.c:
5710         * gst/gstinfo.h:
5711         * gst/gstobject.c: (gst_object_class_init):
5712         * gst/gstobject.h:
5713           inlined 3 more biiiig doc files and added some missing docs on the fly
5714
5715 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5716
5717         * check/gst/.cvsignore:
5718         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5719         * gst/gstregistryxml.c: (load_plugin),
5720         (gst_registry_xml_save_plugin):
5721           put back source in registry.  add checks for find_plugin.
5722         * testsuite/states/bin.c: (assert_state), (empty_bin),
5723         (test_adding_one_element), (main):
5724         * testsuite/states/locked.c: (main):
5725           some compile/run fixes
5726
5727 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5728
5729         * check/gst/gstvalue.c: (GST_START_TEST):
5730           fix leaks in the test itself
5731
5732 2005-09-22  Wim Taymans  <wim@fluendo.com>
5733
5734         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5735         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5736         (gst_base_sink_query):
5737         Prepare for more accurate position reporting and query
5738         handling.
5739
5740         * gst/gstelement.c: (gst_element_send_event),
5741         (gst_element_set_state):
5742         Add some comment.
5743
5744 2005-09-22  Wim Taymans  <wim@fluendo.com>
5745
5746         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5747         (gst_query_parse_segment):
5748         * gst/gstquery.h:
5749         More documentation.
5750         Add segment query for future use.
5751
5752 2005-09-22  Wim Taymans  <wim@fluendo.com>
5753
5754         * gst/gstbin.c: (gst_bin_add_func):
5755         Some more debug info.
5756
5757         * gst/gstelement.c: (gst_element_send_event):
5758         Simplify send_event
5759
5760         * gst/gstelement.h:
5761         Don't know how flags got broken.
5762
5763         * gst/gstquery.h:
5764         Added new query.
5765
5766 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5767
5768         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5769           Add simplistic test suite for GST_TYPE_DATE serialisation and
5770           deserialisation.
5771
5772 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5773
5774         * docs/gst/gstreamer-sections.txt:
5775         * gst/gststructure.c: (gst_structure_set_valist),
5776         (gst_structure_get_date):
5777         * gst/gststructure.h:
5778         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5779         (gst_date_copy), (gst_value_compare_date),
5780         (gst_value_serialize_date), (gst_value_deserialize_date),
5781         (gst_value_transform_date_string),
5782         (gst_value_transform_string_date), (_gst_value_initialize):
5783         * gst/gstvalue.h:
5784           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5785           bunch of utility functions along with a hack that checks that
5786           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5787           is required. Part of the grand scheme in #170777.
5788
5789 2005-09-22  Andy Wingo  <wingo@pobox.com>
5790
5791         * gst/gstconfig.h.in: Psych out gtk-doc.
5792
5793         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5794
5795         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5796
5797         * tools/gst-inspect.c (print_element_list): Plug some
5798         inconsequential leaks.
5799
5800         * gst/gstregistry.c (gst_registry_get_default): Doc.
5801
5802         * check/gst/gstplugin.c: 
5803         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5804         * gst/gstelementfactory.c (gst_element_factory_create): 
5805         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5806         refcount changes.
5807
5808         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5809         (gst_plugin_feature_load): Doc, don't eat refs.
5810
5811         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5812         (gst_plugin_list_free): Doc.
5813         (gst_plugin_load_file): Doc updates.
5814
5815         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5816         accessors returning refcounted objects, return a ref.
5817
5818         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5819         accessor for caps. IDEMPOTENCE. Oh yes.
5820
5821 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5822
5823         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5824
5825         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5826         (_gst_debug_register_funcptr):
5827           Add mutex to serialise access to the hash table with
5828           the function pointer => function name string mapping;
5829           make that hash table static scope (#316809).
5830
5831         * gst/registries/.cvsignore:
5832           Remove left-over file.
5833
5834 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5835
5836         * docs/pwg/appendix-porting.xml:
5837           And something about newsegment events and caps-on-buffers to
5838           the porting guide (feel free to improve).
5839
5840 2005-09-21  Andy Wingo  <wingo@pobox.com>
5841
5842         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5843         data and event probes on the same pad.
5844         (test_buffer_probe_once): Test that removing probes from within
5845         the probe functions works.
5846
5847 2005-09-21  Andy Wingo  <wingo@pobox.com>
5848
5849         * check/gst/gstutils.c: New file.
5850         (test_buffer_probe_n_times): A simple buffer probe test. More to
5851         come, foolios.
5852
5853         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5854         have-data::buffer, not have-data.
5855         (gst_pad_add_event_probe): Likewise for have-data::event.
5856         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5857         peer' isn't quite right yet though.
5858         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5859         (gst_pad_remove_data_probe): Change to take the guint handler_id
5860         as their arg, not the function+data, which is more glib-like.
5861
5862         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5863         the signal emission to indicate if the data is a buffer or an
5864         event.
5865         (gst_pad_get_type): Initialize buffer and event quarks.
5866         (gst_pad_class_init): have-data is now a detailed signal, yes it
5867         is.
5868
5869 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5870
5871         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5872         * gst/gstutils.c: (gst_util_set_value_from_string),
5873         (gst_util_set_object_arg):
5874           Don't put functional code in g_return_if_fail() or
5875           g_return_val_if_fail() statements, otherwise things will 
5876           break when G_DISABLE_CHECKS is defined during compilation.
5877
5878 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5879
5880         * docs/gst/tmpl/.cvsignore:
5881         * docs/gst/tmpl/gstvalue.sgml:
5882         * gst/gstvalue.c:
5883         * gst/gstvalue.h:
5884           inlied another one and added  some obvious docs
5885
5886 2005-09-21  Wim Taymans  <wim@fluendo.com>
5887
5888         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5889         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5890         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5891         (gst_fdsrc_get_property), (gst_fdsrc_create):
5892         * gst/elements/gstfdsrc.h:
5893         Properly implement fdsrc. Removed signal and timeout,
5894         better implemented somewhere else.
5895
5896 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5897
5898         * docs/gst/tmpl/.cvsignore:
5899         * docs/gst/tmpl/gstimplementsinterface.sgml:
5900         * gst/gstinterface.c:
5901           inlined more docs
5902
5903 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5904
5905         * docs/gst/gstreamer-sections.txt:
5906         * docs/gst/tmpl/.cvsignore:
5907         * docs/gst/tmpl/gstenumtypes.sgml:
5908           remove obsolete doc file
5909
5910 2005-09-21  David Schleef  <ds@schleef.org>
5911
5912         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5913         little beer, fix a little leak.
5914
5915 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5916
5917         * docs/gst/gstreamer-docs.sgml:
5918         * docs/gst/gstreamer-sections.txt:
5919         * docs/gst/tmpl/.cvsignore:
5920         * gst/Makefile.am:
5921         * gst/gst.h:
5922         * gst/gstbin.c:
5923         * gst/gstelement.h:
5924         * gst/gstindex.c: (gst_index_class_init):
5925         * gst/gstindex.h:
5926         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5927         (gst_index_factory_class_init), (gst_index_factory_init),
5928         (gst_index_factory_finalize), (gst_index_factory_new),
5929         (gst_index_factory_destroy), (gst_index_factory_find),
5930         (gst_index_factory_create), (gst_index_factory_make):
5931         * gst/gstindexfactory.h:
5932         * gst/gstpluginfeature.c:
5933         * gst/gstpluginfeature.h:
5934         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5935           more docs inlined, splitted gstindex.{c,h}
5936
5937 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5938
5939         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5940           fix a leak
5941
5942 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5943
5944         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5945           Set sync to FALSE by default.
5946
5947 2005-09-20  Wim Taymans  <wim@fluendo.com>
5948
5949         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5950         (gst_base_sink_init):
5951         Make sync property settable from subclass.
5952
5953         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5954         (gst_fake_sink_change_state):
5955         Set sync to FALSE by default.
5956
5957 2005-09-20  Wim Taymans  <wim@fluendo.com>
5958
5959         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5960         * tools/gst-launch.c: (main):
5961         The timeout handler should have lower priority than the source
5962         so we don't timeout before popping a message with 0 timeout.
5963         Dump error messages after failed state change.
5964
5965 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5966
5967         * tools/gst-inspect.c: (print_element_properties_info):
5968           Fix two typos.
5969
5970 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5971
5972         * check/gst/gstevent.c:
5973         * gst/elements/gstfakesink.c:
5974         * gst/elements/gstfakesink.h:
5975           remove the sync property from fakesink.
5976           has the side effect of setting sync TRUE
5977           for fakesink, which is a change.  Anyone who knows how
5978           to fix this nicely in a GObject-y way, feel free.
5979
5980 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5981
5982         * docs/gst/gstreamer-docs.sgml:
5983           remove probe refsection
5984
5985 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5986
5987         * check/Makefile.am:
5988           disable valgrinding the controller test again
5989         * docs/gst/gstreamer-sections.txt:
5990           update for api-changes
5991
5992 2005-09-20  Wim Taymans  <wim@fluendo.com>
5993
5994         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5995         (gst_base_sink_set_property), (gst_base_sink_get_property),
5996         (gst_base_sink_do_sync):
5997         * gst/base/gstbasesink.h:
5998         Added sync property to basesink to disable clock sync.
5999
6000 2005-09-20  Andy Wingo  <wingo@pobox.com>
6001
6002         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6003         eating the caller's refcount.
6004
6005         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6006         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6007         refcount.
6008
6009         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6010         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6011         of GLib 2.8 public, so we can know which refcount to check in
6012         tests.
6013
6014         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6015         (gst_object_init): Only set the gst refcount if we're going ahead
6016         with the refcount hack.
6017
6018 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6019
6020         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6021         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6022           more leaks plumbed, added more debug-logging
6023         * gst/gstmacros.h:
6024           whitespace fix
6025
6026 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6027
6028         * gst/gstmessage.c:
6029           remove include of gstmemchunk.h
6030
6031 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6032
6033         * gst/gstclock.c: (_gst_clock_id_free):
6034           Commit from the Political Party For More Atomic CVS Commits,
6035           so that people don't waste too much of their day fishing
6036           out obvious leaks out of massive commits.
6037           Oh, and fix a pretty damn obvious leak in the memchunk
6038           removal code.
6039
6040 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6041
6042         * check/Makefile.am:
6043         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6044           plug mem-leak, re-add to valgrindable tests
6045
6046 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6047
6048         * gst/gstplugin.h:
6049           unbreak the build for those who have chronic arthritis
6050           and typing "make check" is just too taxing on the hands
6051
6052 2005-09-20  Andy Wingo  <wingo@pobox.com>
6053
6054         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6055         really want it out, you should fix plugins at the same time.
6056
6057 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6058
6059         * configure.ac:
6060         * docs/gst/gstreamer-sections.txt:
6061         * gst/gstobject.c:
6062           added missing symbols to api docs
6063           disable ref-count hack if we have glib >= 2.8
6064
6065 2005-09-19  David Schleef  <ds@schleef.org>
6066
6067         * docs/gst/Makefile.am: Ignore a few more internal headers
6068         * docs/gst/gstreamer-docs.sgml: Remove old sections
6069         * docs/gst/gstreamer-sections.txt: Remove old sections
6070         * docs/gst/tmpl/gstobject.sgml: update
6071         * docs/gst/tmpl/gstplugin.sgml: update
6072         * docs/gst/tmpl/gstpluginfeature.sgml: update
6073         * docs/random/ds/0.9-suggested-changes: update.
6074         * gst/Makefile.am: remove memchunk and trashstack, since they're
6075           not used.
6076         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6077         * gst/gst.h: don't include some headers
6078         * gst/gstchildproxy.c: add gstmarshal.h
6079         * gst/gstclock.c: Don't use memchunks
6080         * gst/gstminiobject.c: Add some docs
6081         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6082         * gst/gstobject.h: same
6083         * gst/gstplugin.c: include gstmacros.h
6084         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6085         * gst/gstquery.c: don't use memchunks
6086         * gst/gstregistry.c: rename gst_registry_deinit()
6087         * gst/gstregistry.h: same
6088
6089 2005-09-19  David Schleef  <ds@schleef.org>
6090
6091         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6092         * docs/libs/gstreamer-libs-sections.txt:
6093         * docs/libs/tmpl/gstgetbits.sgml:
6094         * docs/libs/tmpl/gstputbits.sgml:
6095
6096 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6097
6098         * win32/gstenumtypes.c:
6099         * win32/gstenumtypes.h:
6100           Update.
6101
6102 2005-09-19  Wim Taymans  <wim@fluendo.com>
6103
6104         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6105         Automatically PAUSE and RESUME a pipeline when a flushing seek
6106         is performed.
6107
6108 2005-09-19  Andy Wingo  <wingo@pobox.com>
6109
6110         * gst/gstregistry.h: Spacing fixen.
6111
6112 2005-09-19  Wim Taymans  <wim@fluendo.com>
6113
6114         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6115         Handle state change failure more correctly.
6116
6117 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6118
6119         * check/Makefile.am:
6120         * check/pipelines/cleanup.c: (run_pipeline):
6121         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6122         (GST_START_TEST):
6123           enable cleanup again after fixing the leak
6124         * docs/README:
6125           some more info on docs
6126
6127 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6128
6129         * check/Makefile.am:
6130           re-enable tests now that leaks are plugged
6131         * check/gst/gst.c:
6132         * check/gst/gstbin.c:
6133         * check/gst/gstpipeline.c:
6134           add some more tests while fixing leaks
6135         * common/check.mak:
6136           make sure binaries are uptodate when valgrinding/gdbing
6137         * gst/gst.c:
6138         * gst/gstelementfactory.c:
6139           remove a ref too many, and add a FIXME for when we get
6140           round to disposing of classes
6141         * gst/gstplugin.c:
6142           fix the refcounting when loading a plugin from a file and
6143           the code pretends that the pointer is the same even though
6144           of course it can change
6145         * gst/gstpluginfeature.c:
6146           unref plugins marked cached (a bit confusing as a name)
6147           as the docs state should be done
6148           various doc additions to explain refcounting
6149         * gst/gstregistry.c:
6150         * gst/gstregistryxml.c:
6151           debugging
6152
6153 2005-09-19  Wim Taymans  <wim@fluendo.com>
6154
6155         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6156         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6157         (send_messages), (GST_START_TEST), (gstbus_suite):
6158         * check/gst/gstpipeline.c: (GST_START_TEST):
6159         * check/pipelines/cleanup.c: (run_pipeline):
6160         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6161         (GST_START_TEST):
6162         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6163         (gst_bus_source_check), (gst_bus_source_dispatch),
6164         (gst_bus_create_watch), (gst_bus_add_watch_full),
6165         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6166         * gst/gstbus.h:
6167         * tools/gst-launch.c: (event_loop):
6168         * tools/gst-md5sum.c: (event_loop):
6169         GstBusHandler -> GstBusFunc, return value has the same meaning as
6170         any other GSource (FALSE == remove source).
6171         _add_watch() and _add_watch_full() now take a MessageType mask to
6172         only handle specific types of messages.
6173         _poll() returns the GstMessage instead of the message type to avoid
6174         race conditions.
6175         _have_pending() takes a MessageType mask now too.
6176         Added testsuite for multiple bus watches.
6177         Fix testsuites and applications for new bus API.
6178
6179 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6180
6181         * check/Makefile.am:
6182           mark a bunch of the tests as to fix until we fix them
6183
6184 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6185
6186         * common/check.mak:
6187           use GST_PLUGIN settings for valgrind tests as well, so we're
6188           valgrinding the correct thing
6189         * gst/gst.c: (init_post):
6190           plug another leak
6191
6192 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6193
6194         * gst/gst.c: (init_post), (gst_deinit):
6195         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6196         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6197         * gst/gstindex.c: (gst_index_factory_class_init),
6198         (gst_index_factory_finalize):
6199         * gst/gstobject.c: (gst_object_dispose):
6200         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6201         (gst_plugin_load_file), (gst_plugin_desc_free):
6202         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6203         (gst_plugin_feature_finalize):
6204         * gst/gstregistry.c: (gst_registry_class_init),
6205         (gst_registry_init), (gst_registry_finalize),
6206         (gst_registry_get_default), (gst_registry_deinit):
6207         * gst/gstregistry.h:
6208         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6209           various cleanups and memleak plugging.  make valgrind is happy now.
6210
6211 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6212
6213         * common/check.mak:
6214           add a check-valgrind target
6215
6216 2005-09-18  David Schleef  <ds@schleef.org>
6217
6218         * tools/gst-inspect.c: Revert the GOption code.
6219
6220 2005-09-17  David Schleef  <ds@schleef.org>
6221
6222         * check/Makefile.am: Fix environment variables.
6223         * check/gst/gstplugin.c: Fix for API changes.
6224         * tools/gst-inspect.c: Fix for API changes.
6225         * tools/gst-xmlinspect.c: Fix for API changes.
6226         * gst/gstelementfactory.c:
6227         * gst/gstplugin.c:
6228         * gst/gstplugin.h:
6229         * gst/gstpluginfeature.c:
6230         * gst/gstpluginfeature.h:
6231         * gst/gstregistry.c:
6232         * gst/gstregistry.h:
6233         * gst/gstregistryxml.c:
6234         * gst/gsttypefind.c:
6235         * gst/gsttypefindfactory.c:
6236         * gst/indexers/gstfileindex.c:
6237         * gst/indexers/gstmemindex.c:
6238         * gst/schedulers/Makefile.am:
6239           Change registry to keep track of both plugins and features,
6240           removing the feature tracking from plugins themselves.
6241
6242 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6243
6244         * check/Makefile.am:
6245         * tools/gst-register.1.in:
6246           remove gst-register
6247
6248 2005-09-15  David Schleef  <ds@schleef.org>
6249
6250         * check/gst/gstplugin.c:
6251         * gst/gstelementfactory.c:
6252         * gst/gstplugin.c:
6253         * gst/gstpluginfeature.c:
6254         * gst/gstregistry.c:
6255           Getting tired of debugging.  Disabled all the unreffing of
6256           plugins and features, which fixes the segfaults, but of
6257           course leaks like crazy.  At least playbin works.
6258
6259 2005-09-15  David Schleef  <ds@schleef.org>
6260
6261         * check/gst/gstplugin.c: (register_check_elements),
6262         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6263         More testing
6264         * gst/elements/gsttypefindelement.c: Fix refcounting.
6265         * gst/gsttypefind.c:
6266         * gst/gsttypefindfactory.c:
6267         * gst/gsttypefindfactory.h:
6268
6269 2005-09-15  David Schleef  <ds@schleef.org>
6270
6271         * gst/gstindex.c: get refcounting correct.
6272         * gst/gstregistry.c: Handle the case where a feature/plugin is
6273           not found.
6274
6275 2005-09-15  David Schleef  <ds@schleef.org>
6276
6277         * check/Makefile.am:
6278         * check/gst/gstplugin.c: Add test
6279         * gst/gstplugin.c: Fix problems noticed by testsuite
6280         * gst/gstplugin.h:
6281         * gst/gstregistry.c: 
6282         * gst/gstregistry.h:
6283
6284 2005-09-15  David Schleef  <ds@schleef.org>
6285
6286         * gst/gstplugin.c: Implement semi-decent recounting and locking
6287           in plugins and plugin features.
6288         * gst/gstplugin.h:
6289         * gst/gstpluginfeature.c:
6290         * gst/gstpluginfeature.h:
6291         * gst/gstregistry.c:
6292
6293 2005-09-15  Michael Smith <msmith@fluendo.com>
6294
6295         * gst/gstregistry.c: (gst_registry_get_feature_list):
6296           Implement this. Makes oggdemux work; decodebin still broken.
6297
6298 2005-09-14  David Schleef  <ds@schleef.org>
6299
6300         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6301           #316076)
6302         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6303         * gst/check/Makefile.am:
6304         * libs/gst/controller/Makefile.am:
6305         * libs/gst/dataprotocol/Makefile.am:
6306
6307 2005-09-14  David Schleef  <ds@schleef.org>
6308
6309         * configure.ac: Remove getbits library.  Nothing uses it, and
6310           it should be in something like liboil if someone did want
6311           to use it.
6312         * libs/gst/Makefile.am:
6313         * libs/gst/getbits/Makefile.am:
6314         * libs/gst/getbits/gbtest.c:
6315         * libs/gst/getbits/getbits.c:
6316         * libs/gst/getbits/getbits.h:
6317         * libs/gst/getbits/gstgetbits_generic.c:
6318         * libs/gst/getbits/gstgetbits_i386.s:
6319         * libs/gst/getbits/gstgetbits_inl.h:
6320
6321 2005-09-14  David Schleef  <ds@schleef.org>
6322
6323         * gst/Makefile.am: Dist glib-compat.h
6324
6325 2005-09-14  David Schleef  <ds@schleef.org>
6326
6327         * configure.ac: Remove gst/registries, since it's no longer used.
6328         * gst/registries/Makefile.am:
6329         * gst/registries/gstlibxmlregistry.c:
6330         * gst/registries/gstlibxmlregistry.h:
6331         * gst/registries/gstxmlregistry.c:
6332         * gst/registries/gstxmlregistry.h:
6333         * gst/registries/registrytest.c:
6334
6335 2005-09-14  David Schleef  <ds@schleef.org>
6336
6337         * gst/glib-compat.h:
6338         * gst/gstregistryxml.c:
6339           Convergence is near.  Seriously.
6340
6341 2005-09-14  David Schleef  <ds@schleef.org>
6342
6343         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6344         * gst/glib-compat.h:
6345           Attempt #4 to appease the buildbots.
6346
6347 2005-09-14  David Schleef  <ds@schleef.org>
6348
6349         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6350           Attempt #3.
6351
6352 2005-09-14  David Schleef  <ds@schleef.org>
6353
6354         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6355         Attempt #2.
6356
6357 2005-09-14  David Schleef  <ds@schleef.org>
6358
6359         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6360           the new functions.
6361
6362 2005-09-14  David Schleef  <ds@schleef.org>
6363
6364         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6365         * gst/glib-compat.h: Add some functions that are in newer versions
6366           of glib than we care to require.
6367         * gst/gstregistryxml.c: Use them.
6368
6369 2005-09-14  David Schleef  <ds@schleef.org>
6370
6371         * po/POTFILES.in: remove gst-register.c
6372
6373 2005-09-14  David Schleef  <ds@schleef.org>
6374
6375         * docs/gst/gstreamer-docs.sgml:
6376         * docs/gst/gstreamer-sections.txt:
6377         * docs/gst/gstreamer.types:
6378         * docs/gst/tmpl/gstelement.sgml:
6379         * docs/gst/tmpl/gstplugin.sgml:
6380         * docs/gst/tmpl/gstpluginfeature.sgml:
6381           Documentation updates for registry changes.
6382
6383 2005-09-14  David Schleef  <ds@schleef.org>
6384
6385         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6386           because we don't require glib-2.8.
6387
6388 2005-09-14  David Schleef  <ds@schleef.org>
6389
6390         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6391           registries directory.
6392
6393 2005-09-14  David Schleef  <ds@schleef.org>
6394
6395         * check/Makefile.am:
6396         * check/generic/states.c:
6397         * gst/Makefile.am:
6398         * gst/gst.c:
6399         * gst/gst.h:
6400         * gst/gst_private.h:
6401         * gst/gstelementfactory.c:
6402         * gst/gstindex.c:
6403         * gst/gstinfo.c:
6404         * gst/gstplugin.c:
6405         * gst/gstplugin.h:
6406         * gst/gstpluginfeature.c:
6407         * gst/gstpluginfeature.h:
6408         * gst/gstregistry.c:
6409         * gst/gstregistry.h:
6410         * gst/gstregistrypool.c: remove
6411         * gst/gstregistrypool.h: remove
6412         * gst/gsttypefind.c:
6413         * gst/gsttypefindfactory.c:
6414         * gst/gsturi.c:
6415         * tools/Makefile.am:
6416         * tools/gst-compprep.c:
6417         * tools/gst-inspect.c:
6418         * tools/gst-register.c: remove
6419         * tools/gst-xmlinspect.c:
6420           Registry rewrite.  Changes registry from being a file created
6421           by a tool into a simple cache file created automatically by 
6422           libgstreamer.  Removed gst-register (because it's no longer
6423           needed).  Remove registry pools, because we only have one
6424           registry implementation (XML).  Fix up other subsystems as
6425           necessary.
6426
6427 2005-09-13  Michael Smith <msmith@fluendo.com>
6428
6429         * gst/gstconfig.h.in:
6430           Don't Use windows linking attributes for MinGW. Fixes #316157
6431
6432 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6433
6434         * gst/gstutils.c: (set_state_async_thread_func),
6435         (gst_element_set_state_async):
6436           Apparently people think it's better if this function doesn't
6437           try to set the state to whatever state was asked for on the first
6438           call to this function for any object.  Seriously.
6439
6440 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6441
6442         * check/gst/gstpipeline.c: (GST_START_TEST):
6443         * docs/gst/gstreamer-sections.txt:
6444         * gst/gstutils.c: (set_state_async_thread_func),
6445         (gst_element_set_state_async):
6446         * gst/gstutils.h:
6447           add a "gst_element_set_state_async" method that
6448           sets the state and starts a thread to make sure the state
6449           change completes as best as it can
6450
6451 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6452
6453         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6454           codify design+behaviour in testsuite after discussion
6455
6456 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6457
6458         * docs/gst/tmpl/gstelement.sgml:
6459         * docs/manual/appendix-quotes.xml:
6460           add a quote
6461         * gst/gstelement.c: (gst_element_set_state):
6462           add some debug
6463
6464 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6465
6466         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6467         (gst_base_transform_prepare_output_buf),
6468         (gst_base_transform_handle_buffer):
6469         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6470         (gst_capsfilter_prepare_buf):
6471           Remove the requirement for sub-classes to call the parent
6472           implementation of prepare_output_buffer with a wrapper function.
6473           
6474         * gst/gsttaglist.h:
6475         * gst/gsttagsetter.h:
6476           Fix #define wrapper
6477
6478 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6479
6480         * docs/gst/gstreamer-sections.txt:
6481           more doc cleanups
6482
6483 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6484
6485         * docs/gst/gstreamer-sections.txt:
6486         * docs/gst/tmpl/gstelement.sgml:
6487         * docs/gst/tmpl/gstplugin.sgml:
6488         * gst/gstminiobject.c:
6489         * gst/gstvalue.h:
6490           docs now stop throwing warnings
6491
6492 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6493
6494         * docs/gst/gstreamer-sections.txt:
6495         * docs/gst/gstreamer.types:
6496         * docs/gst/tmpl/gstpad.sgml:
6497         * docs/gst/tmpl/gsttypes.sgml:
6498         * gst/base/gstadapter.h:
6499         * gst/base/gstbasesink.h:
6500         * gst/base/gstbasesrc.h:
6501         * gst/gstbin.h:
6502         * gst/gstbuffer.h:
6503         * gst/gstbus.h:
6504         * gst/gstcaps.h:
6505         * gst/gstclock.h:
6506         * gst/gstelement.h:
6507         * gst/gstevent.h:
6508         * gst/gstmessage.h:
6509         * gst/gstpad.h:
6510         * gst/gststructure.c:
6511         * gst/registries/gstlibxmlregistry.h:
6512           various documentation fixes
6513
6514 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6515
6516         * docs/gst/gstreamer-sections.txt:
6517         * docs/gst/tmpl/gstvalue.sgml:
6518           rearrange gstvalue section
6519         * gst/gstutils.c: (gst_element_state_get_name):
6520           NONE -> VOID
6521         * gst/gstvalue.c: (_gst_value_initialize):
6522         * gst/gstvalue.h:
6523           doc updates
6524
6525 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6526
6527         * check/gst-libs/controller.c:
6528           Header include fix.
6529         * gst/base/gstbasetransform.c:
6530         (gst_base_transform_default_prepare_buf),
6531         (gst_base_transform_handle_buffer):
6532         * gst/base/gstbasetransform.h:
6533           Some more basetransform changes and fixes to enable sub-classes
6534           that modify buffer metadata only.
6535         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6536         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6537         (gst_capsfilter_prepare_buf):
6538           If the output pad has fixed allowed caps and input buffers 
6539           don't have any, set the fixed caps on outgoing buffers.
6540
6541 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6542         * check/elements/identity.c: (GST_START_TEST):
6543           Make the error a little clearer when the test fails because
6544           identity made a copy of the buffer.
6545         * docs/gst/gstreamer-sections.txt:
6546           New symbols in gstbasetransform.h
6547         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6548         (gst_base_transform_init), (gst_base_transform_transform_size),
6549         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6550         (gst_base_transform_default_prepare_buf),
6551         (gst_base_transform_get_unit_size),
6552         (gst_base_transform_buffer_alloc),
6553         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6554         (gst_base_transform_change_state),
6555         (gst_base_transform_set_passthrough),
6556         (gst_base_transform_set_in_place),
6557         (gst_base_transform_is_in_place):
6558         * gst/base/gstbasetransform.h:
6559           Change BaseTransform to separate in_place operate from same_caps
6560           output. in_place implies that the element can perform the transform
6561           on incoming buffers in-place, even if the caps on the output are
6562           different.
6563           Sub-class elements can now implement special buffer allocation
6564           methods for outgoing buffers if they wish to.
6565           Big documentation addition.
6566         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6567         * gst/elements/gstelements.c:
6568           Changes for basetransform modifications.
6569         * gst/elements/Makefile.am:
6570         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6571           Compile fix. Extra debug output.
6572
6573 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6574
6575         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6576         (gst_pad_suite):
6577           add tests for valid pad naming
6578         * gst/check/gstcheck.c: (gst_check_log_message_func),
6579         (gst_check_log_critical_func):
6580           add ASSERT_WARNING
6581           remove printing of code, it is fragile when the code contains
6582           % and the line number is enough info
6583         * gst/check/gstcheck.h:
6584         * gst/gstpad.c: (gst_pad_template_new):
6585           fix memleaks
6586
6587 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6588
6589         * configure.ac:
6590           say what CHECK flags we use
6591         * docs/libs/gstreamer-libs.types:
6592         * libs/gst/controller/Makefile.am:
6593         * libs/gst/controller/gst-controller.c:
6594         * libs/gst/controller/gst-controller.h:
6595         * libs/gst/controller/gst-helper.c:
6596         * libs/gst/controller/gst-interpolation.c:
6597         * libs/gst/controller/gstcontroller.c:
6598         * libs/gst/controller/gsthelper.c:
6599         * libs/gst/controller/gstinterpolation.c:
6600         * tools/gst-inspect.c: (print_plugin_info):
6601           we don't use dashes in header names
6602
6603 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6604
6605         * check/Makefile.am:
6606         * check/gst/.cvsignore:
6607         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6608         (gst_pipeline_suite), (main):
6609           adding a test for pipelines and state changes
6610         * gst/gstutils.c: (get_state_func):
6611           add some debugging
6612         * gstreamer.spec.in:
6613           fix up spec file
6614
6615 2005-09-08  Michael Smith <msmith@fluendo.com>
6616
6617         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6618         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6619         (gst_file_src_is_seekable), (gst_file_src_get_size),
6620         (gst_file_src_start):
6621         * gst/elements/gstfilesrc.h:
6622           Various fixes for unseekable, unmmapable, and non-normal files, so
6623           that fallback to read() rather than mmap() works.
6624         * gst/gstevent.c: (gst_event_new_newsegment):
6625           Allow newsegment events with segment_start == segment_end, as will
6626           correctly happen if you use filesrc on a zero-size file, for
6627           example.
6628
6629 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6630
6631         * gst/gstplugin.c: (gst_plugin_load_file):
6632           Call g_module_close when we don't load the module
6633
6634         * gst/registries/gstlibxmlregistry.c:
6635         (gst_xml_registry_get_property):
6636           Port leak fix from 0.8
6637
6638 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6639
6640         * docs/gst/gstreamer-docs.sgml:
6641         * docs/gst/tmpl/.cvsignore:
6642         * docs/gst/tmpl/gsttrace.sgml:
6643         * docs/gst/tmpl/gsttrashstack.sgml:
6644         * gst/Makefile.am:
6645         * gst/gst.h:
6646         * gst/gstelement.h:
6647         * gst/gstevent.h:
6648         * gst/gstmessage.c:
6649         * gst/gstmessage.h:
6650         * gst/gsttag.c:
6651         * gst/gsttag.h:
6652         * gst/gsttaginterface.c:
6653         * gst/gsttaginterface.h:
6654         * gst/gsttaglist.c:
6655         * gst/gsttaglist.h:
6656         * gst/gsttagsetter.c:
6657         * gst/gsttagsetter.h:
6658         * gst/gsttrace.c:
6659         * gst/gsttrace.h:
6660         * gst/gsttrashstack.c:
6661           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6662           inlined docs for gsttrace, gsttrashstack
6663
6664 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6665
6666         * gst/Makefile.am:
6667         * gst/elements/gstbufferstore.h:
6668         * gst/elements/gsttypefindelement.c:
6669         * gst/elements/gsttypefindelement.h:
6670         * gst/gst.h:
6671         * gst/gsttypefind.c:
6672         * gst/gsttypefind.h:
6673         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6674         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6675         (gst_type_find_factory_dispose),
6676         (gst_type_find_factory_unload_thyself),
6677         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6678         (gst_type_find_factory_get_caps),
6679         (gst_type_find_factory_get_extensions),
6680         (gst_type_find_factory_call_function):
6681         * gst/gsttypefindfactory.h:
6682         * gst/registries/gstlibxmlregistry.c:
6683         * gst/registries/gstxmlregistry.c:
6684           splitted gsttypefind into gsttypefind, gsttypefindfactory
6685
6686 2005-09-07  Andy Wingo  <wingo@pobox.com>
6687
6688         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6689         condition whereby the pad's task function is entered before the
6690         pad_mode variable was set.
6691
6692 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6693
6694         * gst/gstpad.c: (gst_pad_alloc_buffer):
6695           Catch misbehaving pad_alloc functions that don't
6696           set up caps and do it for them.
6697
6698 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6699
6700         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6701           test for pipe!=NULL
6702         * docs/gst/tmpl/.cvsignore:
6703         * docs/gst/tmpl/gstmemchunk.sgml:
6704         * docs/gst/tmpl/gstparse.sgml:
6705         * docs/gst/tmpl/gsttaglist.sgml:
6706         * docs/gst/tmpl/gsttagsetter.sgml:
6707         * docs/gst/tmpl/gsttypefind.sgml:
6708         * docs/gst/tmpl/gsttypefindfactory.sgml:
6709         * gst/gstmemchunk.c:
6710         * gst/gstparse.c:
6711         * gst/gsttag.c:
6712         * gst/gsttaginterface.c:
6713         * gst/gsttypefind.c:
6714         * gst/gsttypefind.h:
6715           inlined more docs
6716
6717 === release 0.9.2 ===
6718
6719 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6720
6721         * NEWS:
6722         * RELEASE:
6723         * configure.ac:
6724           releasing 0.9.2, "South"
6725
6726 2005-09-05  Andy Wingo  <wingo@pobox.com>
6727
6728         * gst/registries/gstxmlregistry.h:
6729         * gst/registries/gstxmlregistry.c: Um... resurrect...
6730         
6731         * gst/registries/gstxmlregistry.h:
6732         * gst/registries/gstxmlregistry.c: and update to newer API.
6733         Incidentally they should be a bit faster now that they don't have
6734         to parse the caps.
6735         
6736 2005-09-05  Andy Wingo  <wingo@pobox.com>
6737
6738         * gst/registries/gstxmlregistry.h:
6739         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6740         replaced by the libxml registry a while back
6741
6742 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6743
6744         * docs/gst/tmpl/gstplugin.sgml:
6745         * gst/elements/gstelements.c:
6746         * gst/gst.c:
6747         * gst/gstplugin.c: (gst_plugin_register_func),
6748         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6749         (gst_plugin_get_source):
6750         * gst/gstplugin.h:
6751         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6752         (gst_xml_registry_save_plugin):
6753         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6754         (gst_xml_registry_save_plugin):
6755         * tools/gst-inspect.c: (print_plugin_info):
6756           add a "source" plugin description field, to represent the source
6757           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6758           will set it to PACKAGE, which is automake's idea of the name of
6759           the source project.
6760
6761 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6762
6763         * Makefile.am:
6764         * autogen.sh:
6765         * configure.ac:
6766         * docs/Makefile.am:
6767         * docs/faq/Makefile.am:
6768         * docs/gst/tmpl/gstelement.sgml:
6769         * docs/gst/tmpl/gsttypes.sgml:
6770         * docs/htmlinstall.mak:
6771         * docs/manual/Makefile.am:
6772         * docs/pwg/Makefile.am:
6773           reorganize doc build a little
6774           split out docbook and gtk-doc stuff
6775           have two separate --enable's and enable them through autogen
6776           but disable by default in configure (to be similar to other
6777           projects)
6778         * gstreamer.spec.in:
6779           clean up docs install
6780         * po/af.po:
6781         * po/az.po:
6782         * po/ca.po:
6783         * po/cs.po:
6784         * po/de.po:
6785         * po/en_GB.po:
6786         * po/fr.po:
6787         * po/it.po:
6788         * po/nb.po:
6789         * po/nl.po:
6790         * po/ru.po:
6791         * po/sq.po:
6792         * po/sr.po:
6793         * po/sv.po:
6794         * po/tr.po:
6795         * po/uk.po:
6796         * po/vi.po:
6797           translation updates
6798
6799 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6800
6801         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6802           Add comment.
6803           
6804         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6805         (gst_fake_sink_change_state):
6806           Make state change function thread-safe.
6807           
6808         * gst/gstpad.c: (gst_pad_alloc_buffer):
6809           Set offset on generic buffer allocated by fallback.
6810
6811 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6812
6813         * docs/gst/gstreamer-sections.txt:
6814         * docs/gst/tmpl/gstelement.sgml:
6815         * gst/gstpad.c:
6816         * libs/gst/controller/gst-controller.c:
6817         (gst_controlled_property_set_interpolation_mode),
6818         (gst_controlled_property_new),
6819         (gst_controller_find_controlled_property):
6820          run the wingo-magic script against the docs
6821
6822 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6823
6824         * docs/gst/gstreamer-docs.sgml:
6825         * docs/gst/gstreamer-sections.txt:
6826         * docs/gst/tmpl/.cvsignore:
6827         * docs/gst/tmpl/gstelementdetails.sgml:
6828         * docs/gst/tmpl/gstelementfactory.sgml:
6829         * gst/gst.c:
6830         * gst/gstbus.c:
6831         * gst/gstelementfactory.c:
6832         * gst/gstelementfactory.h:
6833           merged elementdetails docs into elementfactory docs
6834           inlined both
6835
6836 2005-09-02  Andy Wingo  <wingo@pobox.com>
6837
6838         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6839         consider this enum an enum and not a flags.
6840
6841 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6842
6843         * docs/gst/gstreamer-docs.sgml:
6844         * docs/gst/tmpl/.cvsignore:
6845         * docs/gst/tmpl/gstghostpad.sgml:
6846         * docs/gst/tmpl/gstiterator.sgml:
6847         * docs/gst/tmpl/gstmacros.sgml:
6848         * docs/gst/tmpl/gstrealpad.sgml:
6849         * docs/gst/tmpl/gstregistry.sgml:
6850         * docs/gst/tmpl/gstregistrypool.sgml:
6851         * docs/gst/tmpl/gststructure.sgml:
6852         * docs/gst/tmpl/gstsystemclock.sgml:
6853         * docs/gst/tmpl/gsttrace.sgml:
6854         * gst/gstghostpad.c:
6855         * gst/gstmacros.h:
6856         * gst/gstmemchunk.c:
6857         * gst/gstmemchunk.h:
6858         * gst/gstqueue.c:
6859         * gst/gstregistry.c:
6860         * gst/gstregistrypool.c:
6861         * gst/gststructure.c:
6862         * gst/gstsystemclock.c:
6863           more docs inlined
6864
6865 2005-09-02  Andy Wingo  <wingo@pobox.com>
6866
6867         * gst/gstelement.h (GstState): Renamed from GstElementState,
6868         changed to be a normal enum instead of flags.
6869         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6870         munged to be GST_STATE_CHANGE_*.
6871         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6872         work with the new state representation.
6873         (GstStateChange): New enumeration of possible state transitions.
6874         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6875         (GstElementClass::change_state): Pass the GstStateChange along as
6876         an argument. Helps language bindings, so they don't have to use
6877         tricky lock-needing macros like GST_STATE_CHANGE ().
6878
6879         * scripts/update-states (file): New script. Run it on a file to
6880         update it for state naming and API changes. Updates files in
6881         place.
6882
6883         * All files updated for the new API.
6884
6885 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6886
6887         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6888         * gst/gstutils.c: (gst_util_set_value_from_string),
6889         (gst_util_set_object_arg):
6890           fix a bunch of unchecked return values
6891         * tools/gst-complete.c: (main):
6892         * gstreamer.spec.in:
6893           clean up a little
6894
6895 2005-09-01  Wim Taymans  <wim@fluendo.com>
6896
6897         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6898         (gst_base_sink_event), (gst_base_sink_do_sync),
6899         (gst_base_sink_handle_event):
6900         * gst/base/gstbasesink.h:
6901         Handle newsegments more correctly.
6902
6903         * gst/gstbus.c:
6904         Fix docs.
6905
6906         * gst/gstevent.c: (gst_event_new_newsegment):
6907         A newsegment cannot have a start_time of -1
6908
6909 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6910
6911         * win32/gstenumtypes.c:
6912         * win32/gstenumtypes.h:
6913           Update
6914
6915 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6916
6917         * libs/gst/controller/gst-controller.c:
6918         (gst_controlled_property_set_interpolation_mode),
6919         (gst_controlled_property_new):
6920          fixed boolean again
6921
6922 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6923
6924         * docs/faq/gst-uninstalled:
6925           add -good
6926         * gst/gstevent.c:
6927         * gst/gstevent.h:
6928           remove wrong docs
6929         * gst/gstutils.c: (gst_element_link_filtered):
6930         * gst/gstutils.h:
6931           add gst_element_link_filtered
6932
6933 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6934
6935         * docs/gst/gstreamer-docs.sgml:
6936         * docs/gst/gstreamer-sections.txt:
6937         * docs/gst/tmpl/.cvsignore:
6938         * docs/gst/tmpl/gsterror.sgml:
6939         * docs/gst/tmpl/gstfilter.sgml:
6940         * docs/gst/tmpl/gsturihandler.sgml:
6941         * docs/gst/tmpl/gsturitype.sgml:
6942         * docs/gst/tmpl/gstutils.sgml:
6943         * docs/gst/tmpl/gstxml.sgml:
6944         * gst/gsterror.c:
6945         * gst/gsterror.h:
6946         * gst/gstfilter.c:
6947         * gst/gsturi.c:
6948         * gst/gsturitype.c:
6949         * gst/gstutils.c:
6950         * gst/gstxml.c:
6951           inlined more docs, fixed double id-ref
6952
6953 2005-08-31  Wim Taymans  <wim@fluendo.com>
6954
6955         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6956         (gst_base_transform_handle_buffer):
6957         Passthrough elements don't need the caps as they don't care.
6958
6959 2005-08-31  Wim Taymans  <wim@fluendo.com>
6960
6961         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6962         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6963         Don't leak refcounts on buffers.
6964
6965 2005-08-31  Wim Taymans  <wim@fluendo.com>
6966
6967         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6968         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6969         (gst_base_transform_chain), (gst_base_transform_change_state):
6970         * gst/base/gstbasetransform.h:
6971         Handle the case where we are not negotiated more gracefully.
6972
6973 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6974
6975         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6976         (gst_file_src_map_region):
6977           Set READONLY flag on mmap'ed buffers, otherwise
6978           gst_buffer_make_writable() won't work properly (#314708).
6979
6980 2005-08-31  Wim Taymans  <wim@fluendo.com>
6981
6982         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6983         passthrough elements can even do inplace on non writable
6984         buffers (as they don't touch them).
6985
6986 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6987
6988         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6989         (gst_test_mono_source_set_property),
6990         (gst_test_mono_source_class_init), (GST_START_TEST),
6991         (gst_controller_suite):
6992           more tests (hehe I have the most)
6993         * gst/gstbus.c:
6994           describe popping messages whenusing mulltiple sources
6995         * libs/gst/controller/gst-controller.c:
6996         (gst_controlled_property_set_interpolation_mode),
6997         (gst_controlled_property_new):
6998         * libs/gst/controller/gst-controller.h:
6999         * libs/gst/controller/gst-interpolation.c:
7000           implement boolean properties
7001
7002 2005-08-31  Wim Taymans  <wim@fluendo.com>
7003
7004         * gst/gstminiobject.c: (gst_mini_object_ref):
7005         Cannot assert that the refcount has to be positive
7006         since a disposed object can be resurrected.
7007
7008 2005-08-31  Wim Taymans  <wim@fluendo.com>
7009
7010         * gst/gstpad.c: (gst_pad_init):
7011         Revert change, need to first fix badly behaving 
7012         apps.
7013
7014 2005-08-30  Wim Taymans  <wim@fluendo.com>
7015
7016         * check/elements/fakesrc.c: (setup_fakesrc):
7017         * check/elements/identity.c: (setup_identity):
7018         Activate pads before using them.
7019
7020 2005-08-30  Wim Taymans  <wim@fluendo.com>
7021
7022         * gst/base/gstadapter.c: (gst_adapter_flush):
7023         Flushing out 0 bytes is ok for this function.
7024
7025         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7026         no newsegment gives a warning and sets the start/stop to 
7027         invalid.
7028
7029         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7030         (gst_base_transform_set_passthrough):
7031         Some debug info.
7032
7033         * gst/gstminiobject.c: (gst_mini_object_ref):
7034         Check refcount here too.
7035
7036         * gst/gstpad.c: (gst_pad_init):
7037         Pads are initially flushing and refusing data.
7038
7039         * gst/gstutils.c: (gst_element_link_pads_filtered):
7040         When adding a capsfilter element make sure it has the
7041         same state as the parent bin.
7042
7043 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7044
7045         * docs/gst/tmpl/.cvsignore:
7046         * docs/gst/tmpl/gstformat.sgml:
7047         * docs/gst/tmpl/gstversion.sgml:
7048         * gst/gstbus.h:
7049         * gst/gstformat.c:
7050         * gst/gstformat.h:
7051         * gst/gstversion.h.in:
7052           more docs and two more inlined
7053
7054 2005-08-30  Wim Taymans  <wim@fluendo.com>
7055
7056         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7057         Don't sync to clock.
7058
7059 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7060
7061         * docs/gst/gstreamer-sections.txt:
7062           ultral33t func10ns deserve to appear in the docs actually
7063         * docs/gst/tmpl/.cvsignore:
7064         * docs/gst/tmpl/gstcompat.sgml:
7065         * docs/gst/tmpl/gstconfig.sgml:
7066         * gst/check/gstcheck.c:
7067         * gst/gstcompat.h:
7068         * gst/gstconfig.h.in:
7069           inlined more docs
7070
7071 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7072
7073         * docs/gst/tmpl/.cvsignore:
7074         * docs/gst/tmpl/gstquery.sgml:
7075         * docs/gst/tmpl/gstutils.sgml:
7076         * gst/gstquery.c:
7077         * gst/gstquery.h:
7078           inlined and extended docs
7079
7080 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7081
7082         * check/gst-libs/controller.c: (GST_START_TEST),
7083         (gst_controller_suite):
7084           more tests
7085         * docs/gst/tmpl/gstutils.sgml:
7086         * docs/libs/gstreamer-libs-sections.txt:
7087         * docs/libs/tmpl/gstdataprotocol.sgml:
7088           include path fixes
7089         * examples/controller/audio-example.c: (main):
7090           controller example works now
7091         * gst/gstclock.h:
7092           doc fixes
7093         * tools/gst-inspect.c: (print_element_properties_info):
7094           show param spec flags
7095
7096 2005-08-29  Andy Wingo  <wingo@pobox.com>
7097
7098         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7099
7100 2005-08-28  Andy Wingo  <wingo@pobox.com>
7101
7102         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7103         as having two arguments instead of just one. Allows superclasses
7104         to access information on subclasses -- see the terrible for() loop
7105         in gtype.c:g_type_create_instance for the reason why. All callers
7106         changed.
7107
7108 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7109
7110         * docs/design/part-messages.txt:
7111           update info
7112         * docs/gst/tmpl/.cvsignore:
7113         * docs/gst/tmpl/gstcaps.sgml:
7114         * docs/gst/tmpl/gstclock.sgml:
7115         * gst/gstbus.c:
7116         * gst/gstcaps.c:
7117         * gst/gstcaps.h:
7118         * gst/gstclock.c:
7119         * gst/gstclock.h:
7120         * gst/gstmessage.c:
7121           added descriptions for bus and message
7122           inline caps and clock docs
7123
7124 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7125
7126         * gst/gstmessage.c:
7127         * gst/gstmessage.h:
7128           doc fixes
7129
7130 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7131
7132         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7133           fix div-by-zero
7134
7135 2005-08-26  Andy Wingo  <wingo@pobox.com>
7136
7137         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7138         element_set_state's return val.
7139         (test_2_elements): Add test that's been disabled for months.
7140
7141         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7142         can-activate-pull properties.
7143
7144         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7145         can-activate-pull properties. Implement is_seekable so fakesrc can
7146         operate in pull mode.
7147
7148         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7149         properties.
7150         (gst_base_sink_activate, gst_base_sink_activate_pull)
7151         (gst_base_sink_activate_push): Make activation mode choosing work.
7152         Cleanups.
7153         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7154         is right. Make pull mode work. Post an eos before pausing in pull
7155         mode.
7156         (gst_base_sink_change_state): Pay attention to the core's
7157         change_state() return val.
7158         
7159         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7160         has-getrange properties. Cleanups.
7161         
7162         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7163         has_getrange and replace with can_activate_pull and
7164         can_activate_push.
7165
7166         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7167         locking comments. Remove has_loop, has_chain and replace with
7168         can_activate_pull and can_activate_push.
7169
7170 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7171
7172         * configure.ac:
7173         * examples/Makefile.am:
7174         * examples/metadata/Makefile.am:
7175         * examples/metadata/read-metadata.c: (message_loop),
7176         (have_pad_handler), (make_pipeline), (print_tag), (main):
7177           Add metadata reading example that loops over a list of filenames,
7178           dumping any tags found.
7179
7180         * gst/gstbus.c: (gst_bus_dispose):
7181         * gst/gstelement.c: (gst_element_dispose):
7182           Release a few potentially-held references in dispose.
7183
7184 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7185
7186         * docs/gst/tmpl/gstminiobject.sgml:
7187           do *not* add tmpl/*.sgml files to CVS!
7188
7189 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7190
7191         * libs/gst/bytestream/.cvsignore:
7192         * libs/gst/bytestream/Makefile.am:
7193         * libs/gst/bytestream/adapter.c:
7194         * libs/gst/bytestream/adapter.h:
7195         * libs/gst/bytestream/bytestream.c:
7196         * libs/gst/bytestream/bytestream.h:
7197         * libs/gst/bytestream/filepad.c:
7198         * libs/gst/bytestream/filepad.h:
7199           removing obsolete files
7200
7201 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7202
7203         * docs/gst/gstreamer-docs.sgml:
7204         * docs/libs/gstreamer-libs-docs.sgml:
7205           disabed additional index entries again, as this makes docs-gen just
7206           slow and they aren't useful yet
7207         * docs/libs/gstreamer-libs-sections.txt:
7208           little -section.txt cleanup for libs
7209
7210 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7211
7212         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7213         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7214           fix up some debugging
7215         (gst_base_transform_get_unit_size),
7216         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7217         (gst_base_transform_handle_buffer):
7218         * gst/base/gstbasetransform.h:
7219           handle and store timed NEWSEGMENT events so that subclasses that
7220           calculate time by counting samples have a segment_start time they
7221           need to add to their timestamps - see audioresample
7222
7223 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7224
7225         * gst/gstbin.h:
7226           removed ';' from the end of macro defs
7227         * docs/gst/gstreamer-docs.sgml:
7228         * docs/gst/gstreamer-sections.txt:
7229         * docs/gst/tmpl/.cvsignore:
7230         * gst/gstbus.h:
7231         * gst/gstelement.c: (gst_element_class_init),
7232         (gst_element_set_state), (activate_pads),
7233         (gst_element_save_thyself):
7234         * gst/gstevent.c: (gst_event_new_newsegment):
7235         * gst/gstevent.h:
7236         * gst/gstiterator.c:
7237         * gst/gstiterator.h:
7238         * gst/gstpad.c:
7239         * gst/gstprobe.h:
7240         * gst/gstutils.c: (gst_pad_query_convert):
7241         * gst/gstutils.h:
7242           fixed parameter name mismatches between source, header and docs
7243           added some more docs, resolved the last batch of unused elements in
7244           docs (now someone needs to doc them)
7245
7246 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7247
7248         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7249         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7250           don't walk through the plugins backwards.  Where is all this
7251           reversed logic coming from ?
7252
7253 2005-08-25  Wim Taymans  <wim@fluendo.com>
7254
7255         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7256         (gst_base_transform_transform_size),
7257         (gst_base_transform_configure_caps),
7258         (gst_base_transform_get_unit_size),
7259         (gst_base_transform_buffer_alloc),
7260         (gst_base_transform_change_state):
7261         * gst/base/gstbasetransform.h:
7262         Cache caps unit_size.
7263         Make sure we cannot negotiate up and downstream at the
7264         same time.
7265
7266 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7267
7268         * gst/gst.c: (init_pre), (init_post):
7269           register the installed plugin path after the env var
7270         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7271         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7272           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7273           directories, so the tests can prefer uninstalled over installed
7274
7275 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7276
7277         * gst/base/gstbasetransform.h:
7278           comment
7279         * gst/gstpad.c:
7280           add to docs
7281
7282 2005-08-25  Wim Taymans  <wim@fluendo.com>
7283
7284         * gst/gstbin.c: (bin_bus_handler):
7285         Be a bit more conservative about the posted message.
7286         
7287         * gst/gstbus.c: (gst_bus_post):
7288         Some cleanups, warn wrong return values.
7289
7290 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7291
7292         * check/gst/gstbin.c: (GST_START_TEST):
7293         * gst/gstbin.c: (bin_bus_handler):
7294         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7295         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7296         (gst_message_new_warning), (gst_message_new_tag),
7297         (gst_message_new_state_changed), (gst_message_new_segment_start),
7298         (gst_message_new_segment_done), (gst_message_new_custom):
7299         * gst/gstmessage.h:
7300         * tools/gst-launch.c: (event_loop):
7301         * tools/gst-md5sum.c: (event_loop):
7302           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7303
7304 2005-08-25  Wim Taymans  <wim@fluendo.com>
7305
7306         * check/generic/states.c: (GST_START_TEST):
7307         Cleanup can be done at the end.
7308
7309         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7310         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7311         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7312         Oh boy.. Thanks for finding this, Thomas. 
7313
7314 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7315
7316         * docs/gst/gstreamer.types:
7317           added missing types
7318
7319 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7320
7321         * docs/gst/gstreamer-docs.sgml:
7322         * docs/gst/gstreamer-sections.txt:
7323         * docs/gst/tmpl/.cvsignore:
7324         * gst/gstbin.c:
7325         * gst/gstiterator.c:
7326         * gst/gstutils.c:
7327         * gst/registries/gstxmlregistry.h:
7328           added missing classes and symbols (123 more to go)
7329           removed removed symbols from section file
7330           fixed many doc-comments
7331
7332 2005-08-24  Wim Taymans  <wim@fluendo.com>
7333
7334         * check/generic/states.c: (GST_START_TEST):
7335         Make sure all tasks are stopped.
7336
7337         * check/gst/gstbin.c: (GST_START_TEST):
7338         Unref after usage for proper valgrinding.
7339
7340         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7341         Really wait for the task to stop before destroying the
7342         mutex.
7343
7344         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7345         (gst_queue_src_activate_push):
7346         Small cleanups. Don't stop the task when we did not start
7347         it.
7348
7349         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7350         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7351         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7352         (gst_task_join):
7353         * gst/gsttask.h:
7354         Protect the stream lock with the object lock.
7355         Disallow setting the stream lock when running.
7356         Add cleanup_all to wait for the threadpool to finish.
7357         Remove code to autoallocate a mutex if none was provided.
7358         Add _join() to wait for a task to stop.
7359         Protect the thread pool with a global lock.
7360
7361 2005-08-24  Wim Taymans  <wim@fluendo.com>
7362
7363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7364         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7365         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7366         * gst/base/gstbasesink.h:
7367         Handle newsegment events correctly.
7368         Drop buffers out of the segment range.
7369
7370 2005-08-22  Andy Wingo  <wingo@pobox.com>
7371
7372         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7373         macro, implements an interface and gstimplementsinterface for a
7374         new type.
7375
7376 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7377
7378         * check/Makefile.am:
7379         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7380           add a test that does a bunch of state changes on elements
7381           needs some fixing for valgrind
7382         * check/states/sinks.c: (gst_object_suite):
7383           whitespace
7384         * gst/gstcaps.h:
7385           add prototype for gst_caps_is_equal_fixed
7386         * gst/gstplugin.c:
7387         * gst/gstregistrypool.c:
7388           doc fixes
7389
7390 2005-08-24  Andy Wingo  <wingo@pobox.com>
7391
7392         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7393         convert a negative value. Doesn't make much sense. Mostly this is
7394         here to force callers to ensure -1 maps to -1.
7395
7396 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7397
7398         * docs/pwg/advanced-types.xml:
7399           Well done to Michael for catching my deliberate introduction
7400           of this spelling mistake. 
7401         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7402         * gst/gstelement.h:
7403           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7404           unlink pads before removing the element from the bin.
7405
7406 2005-08-24  Andy Wingo  <wingo@pobox.com>
7407
7408         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7409         the same thing as GST_DEBUG=*:4.
7410         (parse_debug_level, parse_debug_category): New helper parsers.
7411
7412 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7413
7414         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7415         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7416         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7417         (gst_base_transform_buffer_alloc),
7418         (gst_base_transform_handle_buffer):
7419           use gboolean return values and pointers to size so we can use the
7420           full GST_BUFFER_SIZE range (guint) for buffer sizes
7421           use GstPadDirection for transform_caps
7422         * gst/base/gstbasetransform.h:
7423           rename get_size to get_unit_size since that's what it is
7424         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7425           use GstPadDirection for transform_caps
7426         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7427         * gst/gstutils.h:
7428           cleanup and debugging
7429
7430 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7431
7432         * gst/gstelement.c: (gst_element_class_init),
7433         (gst_element_set_state), (activate_pads),
7434         (gst_element_save_thyself):
7435         * tools/gst-compprep.c: (main):
7436         * tools/gst-inspect.c: (print_element_properties_info):
7437         * tools/gst-xmlinspect.c: (print_element_properties):
7438           Fixed long standing mem-leak
7439
7440 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7441
7442         * check/gst/gstbin.c: (GST_START_TEST):
7443         * gst/gstbin.c: (bin_bus_handler):
7444         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7445         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7446         (gst_message_new_warning), (gst_message_new_tag),
7447         (gst_message_new_state_changed), (gst_message_new_segment_start),
7448         (gst_message_new_segment_done), (gst_message_new_custom):
7449         * gst/gstmessage.h:
7450         * tools/gst-launch.c: (event_loop):
7451         * tools/gst-md5sum.c: (event_loop):
7452           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7453           that applications can sensibly post custom messages with references
7454           to their own objects.
7455
7456 2005-08-24  Andy Wingo  <wingo@pobox.com>
7457
7458         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7459         already.
7460
7461 2005-08-24  Wim Taymans  <wim@fluendo.com>
7462
7463         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7464         (gst_base_transform_transform_caps),
7465         (gst_base_transform_transform_size),
7466         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7467         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7468         (gst_base_transform_handle_buffer):
7469         * gst/base/gstbasetransform.h:
7470         Many fixes and new features added by Thomas. Can now also do
7471         transforms with variable sizes and a custom fixate_caps function.
7472
7473 2005-08-24  Wim Taymans  <wim@fluendo.com>
7474
7475         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7476         Some debugging.
7477
7478         * gst/gstclock.h:
7479         Cast to ClockTime before formatting to time.
7480
7481         * gst/gstutils.h:
7482         Cleanups.
7483
7484 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7485
7486         * check/gst-libs/controller.c: (GST_START_TEST),
7487         (gst_controller_suite):
7488         * docs/gst/tmpl/gstcaps.sgml:
7489         * docs/gst/tmpl/gstghostpad.sgml:
7490         * docs/gst/tmpl/gstquery.sgml:
7491         * docs/gst/tmpl/gstutils.sgml:
7492         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7493         (gst_object_sink_values), (gst_object_get_value_arrays),
7494         (gst_object_get_value_array):
7495           gracefully handle helper method calls to objects that are not beeing
7496           controlled, added test case for that          
7497
7498 2005-08-23  Wim Taymans  <wim@fluendo.com>
7499
7500         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7501         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7502         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7503         (gst_event_parse_qos), (gst_event_new_seek),
7504         (gst_event_parse_seek):
7505         * gst/gstevent.h:
7506         Some more debugging output and doc cleanups.
7507
7508         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7509         Fix possible deadlock.
7510
7511 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7512
7513         * docs/gst/gstreamer-docs.sgml:
7514         * docs/gst/gstreamer-sections.txt:
7515         * docs/gst/gstreamer.types:
7516         * docs/gst/tmpl/.cvsignore:
7517         * gst/gstbin.h:
7518         * gst/gstbus.c:
7519         * gst/gstelement.c:
7520         * gst/gstevent.h:
7521           added 100 symbols from gstreamer-unused.txt to the right sections
7522           fixed more broken comments
7523           added GstBus to docs
7524
7525 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7526
7527         * docs/gst/gstreamer-sections.txt:
7528         * docs/gst/tmpl/.cvsignore:
7529         * docs/gst/tmpl/gstbin.sgml:
7530         * docs/gst/tmpl/gstbuffer.sgml:
7531         * gst/base/gstbasesrc.c:
7532         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7533         * gst/gstbuffer.c:
7534         * gst/gstbuffer.h:
7535         * tools/gst-launch.1.in:
7536           inlined more doc comments, added missing comments and fixed comments
7537           fixed typos
7538
7539 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7540
7541         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7542           some debugging
7543         * gst/gstcaps.h:
7544           whitespace fixes
7545         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7546           more debugging
7547         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7548         * gst/gststructure.h:
7549           add a fixate function for booleans; add a FIXME that these func
7550           names should probably be gst_structure_fixate_*
7551
7552 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7553
7554         * docs/gst/gstreamer-docs.sgml:
7555         * docs/gst/gstreamer-sections.txt:
7556         * gst/Makefile.am:
7557         * gst/gstbin.c: (gst_bin_get_type),
7558         (gst_bin_child_proxy_get_child_by_index),
7559         (gst_bin_child_proxy_get_children_count),
7560         (gst_bin_child_proxy_init):
7561         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7562         (gst_child_proxy_get_child_by_index),
7563         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7564         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7565         (gst_child_proxy_get), (gst_child_proxy_set_property),
7566         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7567         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7568         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7569         * gst/gstchildproxy.h:
7570         * gst/parse/grammar.y:
7571         * tools/gst-inspect.c: (print_interfaces),
7572         (print_element_properties_info), (print_element_info):
7573           ported gstchildproxy over from 0.8
7574           ported gst-inspect fixes and enhancements over from 0.8
7575
7576 2005-08-22  Wim Taymans  <wim@fluendo.com>
7577
7578         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7579         (gst_base_transform_handle_buffer):
7580         Also call the transform function if we have ANY caps.
7581
7582         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7583         Fix debug info.
7584
7585 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7586
7587         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7588           Don't pretend to handle seek events if the source is not seekable
7589
7590 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7591
7592         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7593           Remove extra parameter to debug output
7594
7595         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7596         (gst_base_src_do_seek), (gst_base_src_activate_push):
7597           Fix seek event handling.
7598
7599         * gst/gstpipeline.c: (gst_pipeline_change_state):
7600         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7601         (gst_queue_src_activate_push):
7602           Don't start the src pad task on FLUSH_STOP if the pad
7603           isn't linked.
7604           Debug changes.
7605
7606 2005-08-22  Wim Taymans  <wim@fluendo.com>
7607
7608         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7609         Added check for gst_static_caps_get() refcounting.
7610
7611 2005-08-22  Wim Taymans  <wim@fluendo.com>
7612
7613         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7614         Make _static_caps_get() refcounting sane.
7615         
7616         * gst/gstelement.c: (gst_element_set_state):
7617         Add g_return_val_if_fail() to protect against segfaults.
7618
7619 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7620
7621         * docs/gst/tmpl/gstevent.sgml:
7622         * gst/gstevent.c:
7623         * gst/gstevent.h:
7624           inlined remaining docs, added missing doc comments
7625
7626 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7627
7628         * check/gst/gstbin.c: (GST_START_TEST):
7629           since we don't know when preroll is done, use refcount range
7630           check for the sink
7631         * gst/check/gstcheck.h:
7632           add macro for checking refcount range
7633
7634 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7635
7636         * check/Makefile.am:
7637           clean up environment for when registry gets built versus
7638           when actual tests are run; valgrind seems to not report
7639           leaks if GST_PLUGIN_PATH is set to some specific values
7640         * check/gst/gstbin.c: (GST_START_TEST):
7641           add more refcounting checks; maybe this exposes a
7642           preroll lock bug ?
7643         * common/check.mak:
7644         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7645         * gst/check/gstcheck.h:
7646         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7647         (gst_bin_change_state):
7648         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7649           add/fix debugging/whitespace
7650
7651 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7652
7653         * check/gst/gstevent.c: (event_probe), (test_event),
7654         (GST_START_TEST):
7655          Er, don't call gst_bin_watch_for_state_change you idiot.
7656
7657 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7658
7659         * check/Makefile.am:
7660           Use CHECK_CFLAGS and CHECK_LIBS
7661         * check/gst/gstevent.c: (event_probe), (test_event),
7662         (GST_START_TEST):
7663           Don't leak events.
7664         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7665         (gst_base_src_start), (gst_base_src_stop),
7666         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7667         (gst_base_src_change_state):
7668           Sprinkle gst_base_src_stop liberally around error paths to fix
7669           problems reusing a source after failed state changes.
7670         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7671         (helper_find_suggest), (gst_type_find_helper):
7672           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7673         * gst/gstevent.h:
7674         * docs/gst/tmpl/gstevent.sgml:
7675           Migrate part of the docs from the SGML file. Wait for ensonic to
7676           tell me how I did it wrong ;)
7677         * tools/gst-typefind.c: (main):
7678           Extra robustness to state changes between files.
7679
7680 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7681
7682         * check/Makefile.am:
7683           don't valgrind the controller test - it's leaking - Stefan, HELP
7684         * gst/check/gstcheck.c: (gst_check_message_error),
7685         (gst_check_chain_func), (gst_check_setup_element),
7686         (gst_check_teardown_element), (gst_check_setup_src_pad),
7687         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7688         (gst_check_teardown_sink_pad):
7689         * gst/check/gstcheck.h:
7690           add a bunch of methods to set up elements, and src and sink pads
7691         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7692         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7693         (GST_START_TEST):
7694           use them
7695         * gst/gstmessage.c:
7696         * gst/gsttag.h:
7697           whitespace/doc fixes
7698
7699 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7700
7701         * gst/gstelement.h:
7702           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7703           be handled by the application and not always printed as well
7704
7705 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7706
7707         * check/Makefile.am:
7708           set GST_TOOLS_DIR
7709         * gst/check/gstcheck.c: (gst_check_message_error):
7710         * gst/check/gstcheck.h:
7711           add a fail_unless_equals_int
7712           add fail_unless for error messages
7713
7714 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7715
7716         * check/Makefile.am:
7717         * check/gst.supp:
7718         * common/Makefile.am:
7719         * common/check.mak:
7720         * common/gst.supp:
7721           factor out some of the common stuff so we can use it
7722
7723 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7724
7725         * check/Makefile.am:
7726         * check/gst/gstiterator.c: (GST_START_TEST):
7727         * check/gst/gstsystemclock.c: (GST_START_TEST),
7728         (gst_systemclock_suite):
7729         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7730         * gst/gstclock.c:
7731           valgrind more tests
7732
7733 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7734
7735         * check/elements/.cvsignore:
7736         * check/elements/gstfakesrc.c:
7737           rename to name of element
7738         * check/elements/identity.c: (chain_func), (event_func),
7739         (setup_identity), (cleanup_identity), (GST_START_TEST),
7740         (identity_suite), (main):
7741           add a test for identity
7742         * check/Makefile.am:
7743         * pkgconfig/Makefile.am:
7744         * pkgconfig/gstreamer-check.pc.in:
7745         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7746         * gst/check:
7747         * gst/Makefile.am:
7748         * configure.ac:
7749           move the check stuff to a library that gets installed
7750         * check/gst-libs/controller.c: (GST_START_TEST):
7751         * check/gst-libs/gdp.c:
7752         * check/gst/gst.c: (GST_START_TEST):
7753         * check/gst/gstbin.c:
7754         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7755         * check/gst/gstbus.c:
7756         * check/gst/gstcaps.c: (GST_START_TEST):
7757         * check/gst/gstelement.c:
7758         * check/gst/gstghostpad.c:
7759         * check/gst/gstiterator.c:
7760         * check/gst/gstmessage.c:
7761         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7762         * check/gst/gstobject.c:
7763         * check/gst/gstpad.c: (GST_START_TEST):
7764         * check/gst/gststructure.c: (GST_START_TEST):
7765         * check/gst/gstsystemclock.c: (GST_START_TEST),
7766         (gst_systemclock_suite):
7767         * check/gst/gsttag.c: (gst_tag_suite):
7768         * check/gst/gstvalue.c:
7769         * check/pipelines/cleanup.c:
7770         * check/pipelines/simple_launch_lines.c:
7771         * check/states/sinks.c:
7772           change include statement
7773
7774         * docs/gst/gstreamer-sections.txt:
7775         * docs/gst/tmpl/gstpad.sgml:
7776           document more pad stuff
7777         * gst/gstminiobject.c: (gst_mini_object_ref),
7778         (gst_mini_object_unref):
7779           debug refcounting
7780
7781 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7782
7783         * docs/gst/tmpl/gst.sgml:
7784         * gst/gst.c:
7785           eliminate another tmpl file, fix spelling in the long-description
7786
7787 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7788
7789         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7790         (test_event), (timediff), (gstevents_suite):
7791           Should fix build on 64-bit arch's
7792
7793 2005-08-18  Andy Wingo  <wingo@pobox.com>
7794
7795         Make sure that when a pipeline goes to PLAYING, that data has
7796         actually hit the sink.
7797
7798         * check/states/sinks.c (test_sink): A sink that doesn't get any
7799         data shouldn't return SUCCESS for going to either PLAYING or
7800         PAUSED. Test also the return values on the way back down.
7801
7802         * gst/gstelement.c (gst_element_set_state): When changing the
7803         state of an element currently changing state asynchronously, go to
7804         lost-state after commiting the pending state. Makes future calls
7805         to get_state continue to return ASYNC.
7806
7807         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7808         ASYNC when going to PLAYING if we still don't have preroll, as can
7809         happen with live sources.
7810
7811 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7812
7813         * docs/pwg/advanced-types.xml:
7814           Hack long paragraph into 2 chunks as a workaround for buggy
7815           jadetex version in sid and breezy that loops infinitely and
7816           eats all RAM.
7817
7818 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7819
7820         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7821         (test_event), (timediff), (gstevents_suite):
7822           Provide more error margin in clock measurements to allow for 
7823           g_get_current_time inaccuracies.
7824
7825 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7826
7827         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7828         (test_event), (timediff), (gstevents_suite):
7829            Fix error message output so I might be able to tell why the
7830            test works here but fails on the build farm.
7831
7832 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7833
7834         * check/Makefile.am:
7835         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7836         (test_event), (timediff), (gstevents_suite), (main):
7837           I wrote a test!
7838
7839         * docs/design/part-seeking.txt:
7840           Spelling correction
7841
7842         * docs/gst/tmpl/gstevent.sgml:
7843         * docs/gst/tmpl/gstfakesrc.sgml:
7844           Docs updates.
7845
7846         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7847           Treat a buffer-without-newsegment the same as a receiving 
7848           a newsegment not in time format, and disable syncing to the clock
7849           with a warning.
7850
7851         * gst/gstbus.c: (gst_bus_set_sync_handler):
7852           Assert if anyone tries to replace the existing sync_handler for bus, 
7853           as only the owner should be setting it.
7854
7855         * gst/gstevent.h:
7856           Have a fixed set of custom event enums with events identified by
7857           their structure name (as in 0.8), rather than a free-for-all
7858           allowing collisions between enum values from different plugins.
7859
7860         * gst/gstpad.c: (gst_pad_class_init):
7861           Docs change.
7862           
7863         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7864           Handle out-of-band downstream events from the sending thread.
7865
7866 2005-08-17  Andy Wingo  <wingo@pobox.com>
7867
7868         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7869         play-timeout==0 to mean no timeout at all. In that case, don't
7870         bother with a get_state or a warning, just return directly, even
7871         if it's ASYNC.
7872
7873         * gst/base/gstbasetransform.c: Debug changes.
7874
7875         * gst/gstutils.h:
7876         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7877         ensure bins post state change messages. A bit of a hack but I can't
7878         think of a way to avoid it.
7879
7880         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7881
7882 2005-08-16  Andy Wingo  <wingo@pobox.com>
7883
7884         * gst/base/gstadapter.h:
7885         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7886         peek() but you own the data. Not terribly efficient atm.
7887
7888 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7889
7890         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7891         (gst_element_found_tags):
7892         * gst/gstutils.h:
7893           Add two utility functions for tag handling.
7894
7895 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7896
7897         * docs/manual/advanced-dataaccess.xml:
7898         * docs/manual/basics-helloworld.xml:
7899           Fix docs to use _bin_add() before _link(), which fixes the examples
7900           with recent core versions (reported by Madhan Raj M
7901           <raj_madan@rediffmail.com>, #313199).
7902
7903 2005-08-16  Wim Taymans  <wim@fluendo.com>
7904
7905         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7906         Added subtract checks.
7907
7908         * docs/design/part-events.txt:
7909         Some more docs about newsegment
7910
7911         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7912         Fix FIXME
7913
7914         * gst/gstcaps.c: (gst_caps_to_string):
7915         Add comments, cleanups.
7916         
7917         * gst/gstelement.c: (gst_element_save_thyself):
7918         cleanups
7919         
7920         * gst/gstvalue.c: (gst_value_collect_int_range),
7921         (gst_string_unwrap), (gst_value_union_int_int_range),
7922         (gst_value_union_int_range_int_range),
7923         (gst_value_intersect_int_int_range),
7924         (gst_value_intersect_int_range_int_range),
7925         (gst_value_intersect_double_double_range),
7926         (gst_value_intersect_double_range_double_range),
7927         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7928         (gst_value_subtract_int_range_int),
7929         (gst_value_subtract_double_range_double),
7930         (gst_value_subtract_double_range_double_range),
7931         (gst_value_subtract_from_list), (gst_value_subtract_list),
7932         (gst_value_can_compare), (gst_value_compare_fraction):
7933         Cleanups, add comments, remove unneeded asserts.
7934
7935 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7936
7937         * tools/gst-launch.c: (event_loop):
7938           don't convert NULL structures to strings
7939
7940 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7941
7942         * docs/gst/gstreamer-sections.txt:
7943           made some defines private
7944         * docs/gst/tmpl/gstconfig.sgml:
7945         * docs/gst/tmpl/gstqueue.sgml:
7946         * docs/gst/tmpl/gsttaglist.sgml:
7947         * docs/gst/tmpl/gsttypes.sgml:
7948         * docs/gst/tmpl/gstutils.sgml:
7949         * docs/pwg/appendix-porting.xml:
7950         * gst/base/gstbasesink.h:
7951         * gst/base/gstbasesrc.c:
7952         * gst/base/gstbasesrc.h:
7953         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7954         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7955         * gst/gstelement.c: (gst_element_class_init):
7956         * gst/gstpad.c: (gst_pad_class_init):
7957         * gst/gstqueue.c: (gst_queue_class_init):
7958         * gst/gstxml.c: (gst_xml_class_init):
7959           documented all undocumented signal inline
7960         * libs/gst/controller/gst-controller.h:
7961           added padding
7962
7963 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7964
7965         * docs/pwg/appendix-porting.xml:
7966           Document _set_link_function -> _set_setcaps_function.
7967
7968 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7969
7970         * check/Makefile.am:
7971           add a .check target for running the check
7972         * check/gst-libs/controller.c: (GST_START_TEST):
7973           cosmetic fixups
7974         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7975           complete checks for gstbuffer; would be nice if I could get the
7976           gcov stuff to work so I can see if I actually completed gstbuffer.c
7977         * check/gstcheck.h:
7978           add ASSERT_BUFFER_REFCOUNT
7979
7980 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7981
7982         * docs/gst/gstreamer-sections.txt:
7983         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7984         * gst/gsttag.h:
7985           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7986           spew out a warning if a tag that is already registered
7987           is re-registered, unless it is re-registered with a 
7988           different type (#308438).
7989
7990 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7991
7992         * docs/pwg/appendix-porting.xml:
7993         * docs/pwg/building-state.xml:
7994           Add some paragraphs about state changes in 0.9 to the PWG
7995           and the porting guide, in particular about the new meaning
7996           of GST_STATE_PAUSED and how to write state change functions
7997           with concurrent access by multiple threads in mind.
7998
7999 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8000
8001         * docs/gst/gstreamer-docs.sgml:
8002         * docs/libs/gstreamer-libs-docs.sgml:
8003           added deprecation and since indexes
8004         * libs/gst/controller/gst-controller.c:
8005         * libs/gst/controller/gst-helper.c:
8006           added since tags
8007
8008
8009 2005-08-11  Wim Taymans  <wim@fluendo.com>
8010
8011         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8012         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8013         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8014         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8015         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8016         (gst_ghost_pad_set_target):
8017         Actually implement (re)setting the target on a ghostpad
8018         as described in the docs.
8019
8020 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8021
8022         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8023           Check whether GST_DEBUG_NO_COLOR environment variable is
8024           set and disable coloured debug output if that is the case.
8025
8026 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8027
8028         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8029         (gst_type_find_helper):
8030           The memory returned by gst_type_find_peek() needs to
8031           stay valid until the end of a typefind function, and
8032           typefind functions may keep results from different 
8033           offsets around, so we can't just unref the buffer from
8034           the previous _peek(), but have to save all buffers 
8035           returned by _peek() until typefinding is done and only
8036           free them then.
8037
8038 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8039
8040         * docs/gst/gstreamer-sections.txt:
8041         * gst/gstutils.h:
8042           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8043
8044 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8045
8046         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8047           Fix a pretty good memleak.
8048
8049 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8050
8051         * gst/gstiterator.h:
8052           Fix wrong include and 'make distcheck'.
8053
8054 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8055
8056         * gst/gstbin.c: (bin_bus_handler):
8057           Use gst_element_post_message() instead.
8058
8059 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8060
8061         * gst/base/gstadapter.h:
8062         * gst/base/gstbasesink.h:
8063         * gst/base/gstbasesrc.h:
8064         * gst/base/gstbasetransform.h:
8065         * gst/base/gstcollectpads.h:
8066         * gst/base/gstpushsrc.h:
8067         * gst/gstiterator.h:
8068           Add padding to our base elements' class and instance structs and
8069           to GstIterator (you will need to rebuild all plugins and apps!)
8070
8071 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8072
8073         * gst/gstbin.c: (bin_bus_handler):
8074           Make default message forwarding from child->bus to bin->bus
8075           threadsafe and make it not emit warnings if the parent has no bus.
8076
8077 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8078
8079         * gst/gstelement.c: (activate_pads):
8080           On paused->ready, set pad->caps to NULL, as is the documented
8081           behaviour in this state change. Fixes playback of series of
8082           media files when visualization is enabled in Totem.
8083
8084 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8085
8086         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8087           Allow NULL as filter-caps (which means "any").
8088
8089 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8090
8091         * docs/libs/gstreamer-libs-sections.txt:
8092         * libs/gst/controller/gst-controller.c:
8093         * libs/gst/controller/gst-controller.h:
8094         * libs/gst/controller/gst-helper.c:
8095           adding more entries to the docs and fix small doc-bugs
8096
8097 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8098
8099         * docs/gst/gstreamer-docs.sgml:
8100         * docs/gst/gstreamer-sections.txt:
8101         * docs/gst/gstreamer.types:
8102         * docs/gst/tmpl/gstbasesink.sgml:
8103         * docs/gst/tmpl/gstbasesrc.sgml:
8104         * docs/gst/tmpl/gstbasetransform.sgml:
8105         * docs/gst/tmpl/gstfakesrc.sgml:
8106         * gst/base/gstcollectpads.c:
8107         * gst/base/gstcollectpads.h:
8108         * libs/gst/controller/gst-controller.c:
8109         * libs/gst/controller/gst-controller.h:
8110         * libs/gst/controller/gst-helper.c:
8111         * libs/gst/controller/gst-interpolation.c:
8112         * libs/gst/controller/lib.c:
8113           added long/short desc for controller docs
8114           added collectpads base class docs
8115           added correct includes to base-class docs
8116
8117 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8118
8119         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8120         (gst_test_mono_source_set_property),
8121         (gst_test_mono_source_class_init), (GST_START_TEST),
8122         (gst_controller_suite):
8123         * docs/gst/gstreamer-docs.sgml:
8124         * docs/gst/gstreamer-sections.txt:
8125         * docs/gst/gstreamer.types:
8126         * docs/libs/gstreamer-libs-docs.sgml:
8127         * docs/libs/gstreamer-libs-sections.txt:
8128         * gst/base/gstadapter.c:
8129         * libs/gst/controller/gst-controller.c:
8130         (gst_controlled_property_new), (gst_controlled_property_free),
8131         (gst_controller_new_valist),
8132         (gst_controller_remove_properties_valist),
8133         (gst_controller_sink_values), (_gst_controller_finalize):
8134         * libs/gst/controller/gst-controller.h:
8135         * libs/gst/controller/gst-helper.c:
8136         (gst_object_control_properties), (gst_object_uncontrol_properties),
8137         (gst_object_get_controller), (gst_object_set_controller),
8138         (gst_object_sink_values), (gst_object_get_value_arrays),
8139         (gst_object_get_value_array):
8140           more tests (and fixes) for the controller
8141           more docs for the controller
8142           integrated companies docs for the adapter 
8143
8144 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8145
8146         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8147         (GST_START_TEST), (fakesrc_suite):
8148           add tests for sizetype
8149
8150 2005-08-04  Andy Wingo  <wingo@pobox.com>
8151
8152         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8153         fixes buffer_alloc proxying among other things.
8154
8155         * gst/base/gstbasetransform.c:
8156         * gst/base/gstbasetransform.h:
8157         Revert patch to gstbasetransform from 7-28 removing
8158         delay_configure.
8159
8160         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8161         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8162         Semantics changed, should return not the size of the output buffer
8163         but the byte size of a buffer with a given caps.
8164
8165         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8166         debug object.
8167         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8168         out) are not the pad caps until setcaps finishes.
8169         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8170         not-in-place case as well. Deal with changing from in-place to
8171         not-in-place within calling pad_alloc_buffer. Still a bit
8172         concerned about the overhead here...
8173
8174 2005-08-03  Andy Wingo  <wingo@pobox.com>
8175
8176         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8177         fixating is an error.
8178
8179 2005-08-04  Edward Hervey  <edward@fluendo.com>
8180
8181         * gst/base/gstadapter.h: 
8182         Added gst_adapter_get_type() to the header
8183
8184 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8185
8186         * check/Makefile.am:
8187         * check/gst-libs/controller.c:
8188         * libs/gst/controller/gst-controller.c:
8189         (gst_controller_new_valist):
8190           added check test suite for the controller
8191         * gst/base/gstpushsrc.c:
8192           fixed a doc typo
8193
8194 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8195
8196         * docs/gst/Makefile.am:
8197         * docs/gst/gstreamer-docs.sgml:
8198         * docs/gst/gstreamer-sections.txt:
8199         * docs/gst/gstreamer.types:
8200         * docs/gst/tmpl/gstfakesrc.sgml:
8201         * gst/base/README:
8202         * gst/base/gstbasesink.c:
8203         * gst/base/gstbasesink.h:
8204         * gst/base/gstbasesrc.c:
8205         * gst/base/gstbasesrc.h:
8206         * gst/base/gstbasetransform.c:
8207         * gst/base/gstpushsrc.c:
8208         * gst/base/gstpushsrc.h:
8209           add short/long description docs to base classes
8210           add pushsrc to the docs
8211           remove consolidated doc fragments
8212
8213 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8214
8215         * configure.ac:
8216         * docs/libs/Makefile.am:
8217         * docs/libs/gstreamer-libs-docs.sgml:
8218         * docs/libs/gstreamer-libs-sections.txt:
8219         * docs/libs/gstreamer-libs.types:
8220         * examples/Makefile.am:
8221         * examples/controller/.cvsignore:
8222         * examples/controller/Makefile.am:
8223         * examples/controller/audio-example.c: (main):
8224         * libs/gst/Makefile.am:
8225         * libs/gst/controller/.cvsignore:
8226         * libs/gst/controller/Makefile.am:
8227         * libs/gst/controller/gst-controller.c:
8228         (on_object_controlled_property_changed), (gst_timed_value_compare),
8229         (gst_timed_value_find),
8230         (gst_controlled_property_set_interpolation_mode),
8231         (gst_controlled_property_new), (gst_controlled_property_free),
8232         (gst_controller_find_controlled_property),
8233         (gst_controller_new_valist), (gst_controller_new),
8234         (gst_controller_remove_properties_valist),
8235         (gst_controller_remove_properties), (gst_controller_set),
8236         (gst_controller_set_from_list), (gst_controller_unset),
8237         (gst_controller_get), (gst_controller_get_all),
8238         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8239         (gst_controller_get_value_array),
8240         (gst_controller_set_interpolation_mode),
8241         (_gst_controller_finalize), (_gst_controller_init),
8242         (_gst_controller_class_init), (gst_controller_get_type):
8243         * libs/gst/controller/gst-controller.h:
8244         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8245         (g_object_uncontrol_properties), (g_object_get_controller),
8246         (g_object_set_controller), (g_object_sink_values),
8247         (g_object_get_value_arrays), (g_object_get_value_array):
8248         * libs/gst/controller/gst-interpolation.c:
8249         (gst_controlled_property_find_timed_value_node),
8250         (interpolate_none_get), (interpolate_trigger_get),
8251         (interpolate_trigger_get_value_array):
8252         * libs/gst/controller/lib.c: (gst_controller_init):
8253         * pkgconfig/Makefile.am:
8254         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8255         * pkgconfig/gstreamer-control.pc.in:
8256         * testsuite/Makefile.am:
8257         * testsuite/controller/.cvsignore:
8258         * testsuite/controller/Makefile.am:
8259         * testsuite/controller/interpolator.c: (main):
8260           added controller code
8261           removed dparam pc files
8262
8263 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8264         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8265         (gst_collectpads_stop):
8266           Broadcast the condition when shutting down, to make sure we wake all
8267           threads up. Shut down pads on finalize, for safety.
8268
8269 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8270         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8271         (gst_base_transform_handle_buffer),
8272         (gst_base_transform_change_state):
8273           Handle PAUSED->READY->PAUSED transition after negotiation
8274           occurred already.
8275         * gst/gstmessage.c: (gst_message_init):
8276           Extra piece of debug for new messages.
8277
8278 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8279
8280         * configure.ac:
8281         * docs/gst/tmpl/gstbasesrc.sgml:
8282         * docs/gst/tmpl/gstelement.sgml:
8283         * docs/gst/tmpl/gstevent.sgml:
8284         * docs/gst/tmpl/gstfakesrc.sgml:
8285         * docs/gst/tmpl/gstformat.sgml:
8286         * docs/gst/tmpl/gstghostpad.sgml:
8287         * docs/gst/tmpl/gstpad.sgml:
8288         * docs/gst/tmpl/gstquery.sgml:
8289         * docs/gst/tmpl/gststructure.sgml:
8290         * docs/gst/tmpl/gsttaglist.sgml:
8291         * docs/gst/tmpl/gstvalue.sgml:
8292         * docs/libs/gstreamer-libs-docs.sgml:
8293         * docs/libs/gstreamer-libs-sections.txt:
8294         * docs/libs/gstreamer-libs.types:
8295         * libs/gst/Makefile.am:
8296         * libs/gst/control/.cvsignore:
8297         * libs/gst/control/Makefile.am:
8298         * libs/gst/control/control.c:
8299         * libs/gst/control/control.h:
8300         * libs/gst/control/dparam.c:
8301         * libs/gst/control/dparam.h:
8302         * libs/gst/control/dparam_smooth.c:
8303         * libs/gst/control/dparam_smooth.h:
8304         * libs/gst/control/dparamcommon.h:
8305         * libs/gst/control/dparammanager.c:
8306         * libs/gst/control/dparammanager.h:
8307         * libs/gst/control/dplinearinterp.c:
8308         * libs/gst/control/dplinearinterp.h:
8309         * libs/gst/control/unitconvert.c:
8310         * libs/gst/control/unitconvert.h:
8311         * testsuite/Makefile.am:
8312         * testsuite/dynparams/.cvsignore:
8313         * testsuite/dynparams/Makefile.am:
8314         * testsuite/dynparams/dparamstest.c:
8315         * tools/Makefile.am:
8316         * tools/gst-inspect.c: (print_element_info), (main):
8317         * tools/gst-xmlinspect.c: (print_element_info), (main):
8318           deactivate and remove dparams (libgstcontrol)
8319
8320 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8321
8322         * gst/elements/gsttypefindelement.c:
8323         (gst_type_find_element_have_type), (gst_type_find_element_init),
8324         (stop_typefinding), (gst_type_find_element_handle_event),
8325         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8326         * gst/elements/gsttypefindelement.h:
8327           Set caps on all outgoing buffers, not just the first one.
8328
8329 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8330
8331         * gst/elements/gsttypefindelement.c:
8332         (gst_type_find_element_have_type),
8333         (gst_type_find_element_check_set_buffer_caps),
8334         (gst_type_find_element_init), (stop_typefinding),
8335         (gst_type_find_element_handle_event),
8336         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8337         * gst/elements/gsttypefindelement.h:
8338           Set caps on first outgoing buffer when we've found the type.
8339
8340 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8341
8342         * docs/gst/gstreamer-docs.sgml:
8343         * docs/gst/gstreamer-sections.txt:
8344         * docs/gst/tmpl/gstscheduler.sgml:
8345         * docs/gst/tmpl/gstschedulerfactory.sgml:
8346           Remove some old cruft from docs.
8347
8348 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8349
8350         * gst/gstpad.h:
8351           Fix inline docs for GstPadLinkReturn.
8352           
8353         * gst/gststructure.c: (gst_structure_has_name):
8354         * gst/gststructure.h:
8355         * docs/gst/gstreamer-sections.txt:
8356           New API: gst_structure_has_name().
8357
8358 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8359
8360         * configure.ac:
8361           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8362           and _LARGEFILE_SOURCE in config.h as required. Do not 
8363           export those flags in our .pc files any longer (#142209).
8364
8365           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8366
8367         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8368         (gst_file_sink_do_seek), (gst_file_sink_event),
8369         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8370           Redo seek/tell calls with large file support in mind; add some
8371           debugging messages; add log message that tells us when large
8372           file support is unavailable or not enabled for some reason.
8373
8374         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8375           Add log message that tells us when large file support 
8376           is unavailable or not enabled for some reason.
8377
8378 2005-07-29  Wim Taymans  <wim@fluendo.com>
8379
8380         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8381         Added test for removing an element with ghostpad from a bin.
8382         Fixed test as current implementation does the right thing.
8383
8384         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8385         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8386         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8387         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8388         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8389         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8390         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8391         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8392         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8393         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8394         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8395         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8396         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8397         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8398         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8399         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8400         * gst/gstghostpad.h:
8401         Clean up ghostpads, remove properties for internal stuff.
8402         Make threadsafe.
8403         Fix refcounting.
8404         Prepare for switching targets, not all use cases work yet.
8405
8406 2005-07-29  Wim Taymans  <wim@fluendo.com>
8407
8408         * docs/design/part-gstghostpad.txt:
8409         Small update.
8410
8411         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8412         (gst_bin_remove_func):
8413         Unlinking pads while holding the bin LOCK is not a good
8414         idea.
8415
8416         * gst/gstpad.c: (gst_pad_class_init),
8417         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8418         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8419         No prob setting template after creating the pad.
8420
8421 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8422
8423         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8424         (gst_bus_peek), (gst_bus_source_dispatch),
8425         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8426         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8427           gst_bus_poll may be called from other threads. Handle
8428           this nicely by not making poll_data disappear off the
8429           stack once gst_bus_poll returns.
8430           gst_bus_peek now increments the refcount on the returned
8431           message.
8432
8433 2005-07-29  Wim Taymans  <wim@fluendo.com>
8434
8435         * docs/design/part-gstghostpad.txt:
8436         Overview of current GhostPad datastructures and use
8437         cases for changing the target.
8438
8439 2005-07-28  Wim Taymans  <wim@fluendo.com>
8440
8441         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8442         Added checks for hierarchy consistency whan adding linked
8443         elements to bins.
8444
8445         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8446         Added check to test element scheduling without bin/pipeline.
8447
8448         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8449         First add elements to bin, then link.
8450         
8451         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8452         (gst_bin_remove_func):
8453         Unlink pads from elements added/removed from bin to maintain
8454         hierarchy consistency.
8455
8456 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8457
8458         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8459         (gst_base_transform_handle_buffer):
8460         * gst/base/gstbasetransform.h:
8461           Remove broken delay_configure (fixes renegotiation of software
8462           scaling pipelines); remove some leftover printf()s.
8463
8464 2005-07-28  Wim Taymans  <wim@fluendo.com>
8465
8466         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8467         Added some more tests for wrong hierarchy
8468
8469         * docs/design/part-overview.txt:
8470         Some updates.
8471
8472         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8473         Cleanups.
8474
8475         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8476         (gst_element_dispose):
8477         Some more cleanups.
8478
8479         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8480         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8481         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8482         (gst_pad_set_caps), (gst_pad_send_event):
8483         Check for correct hierarchy when linking pads. Moving to
8484         strict requirement for ghostpads when linking elements in
8485         different bins.
8486
8487         * gst/gstpad.h:
8488         Clean ups. Added WRONG_HIERARCHY return value.
8489
8490 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8491
8492         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8493           Better debug if no transform is possible.
8494
8495 2005-07-27  Wim Taymans  <wim@fluendo.com>
8496
8497         * docs/random/wtay/network-transp:
8498         Some old doc I had.
8499
8500 2005-07-27  Wim Taymans  <wim@fluendo.com>
8501
8502         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8503         (gst_dp_event_from_packet):
8504         Fix serialization of seek events.
8505
8506 2005-07-27  Wim Taymans  <wim@fluendo.com>
8507
8508         * check/gst-libs/gdp.c: (GST_START_TEST):
8509         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8510         Fix compilation and fix event serialization.
8511
8512 2005-07-27  Wim Taymans  <wim@fluendo.com>
8513
8514         * CHANGES-0.9:
8515         * docs/design/part-TODO.txt:
8516         * docs/design/part-events.txt:
8517         Some docs updates
8518
8519         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8520         (gst_base_sink_event), (gst_base_sink_do_sync),
8521         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8522         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8523         (gst_base_src_do_seek), (gst_base_src_event_handler),
8524         (gst_base_src_loop):
8525         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8526         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8527         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8528         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8529         (gst_base_transform_set_passthrough),
8530         (gst_base_transform_is_passthrough):
8531         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8532         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8533         Event updates.
8534
8535         * gst/gstbuffer.h:
8536         Use faster casts.
8537
8538         * gst/gstelement.c: (gst_element_seek):
8539         * gst/gstelement.h:
8540         Update gst_element_seek.
8541
8542         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8543         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8544         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8545         (gst_event_new_eos), (gst_event_new_newsegment),
8546         (gst_event_parse_newsegment), (gst_event_new_tag),
8547         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8548         (gst_event_parse_qos), (gst_event_new_seek),
8549         (gst_event_parse_seek), (gst_event_new_navigation):
8550         * gst/gstevent.h:
8551         Make GstEvent use GstStructure. Add parsing code, make sure the
8552         API is sufficiently generic.
8553         Mark possible directions of events and serialization.
8554
8555         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8556         (_gst_message_copy), (gst_message_new_segment_start),
8557         (gst_message_new_segment_done), (gst_message_new_custom),
8558         (gst_message_parse_segment_start),
8559         (gst_message_parse_segment_done):
8560         Small cleanups.
8561
8562         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8563         (gst_pad_set_caps), (gst_pad_send_event):
8564         Update for new events. 
8565         Catch events sent in wrong directions.
8566
8567         * gst/gstqueue.c: (gst_queue_link_src),
8568         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8569         (gst_queue_handle_src_query):
8570         Event updates.
8571
8572         * gst/gsttag.c:
8573         * gst/gsttag.h:
8574         Remove event code from this file.
8575
8576         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8577         (gst_dp_event_from_packet):
8578         Event updates.
8579
8580 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8581
8582         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8583         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8584         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8585           Make debugging actually useful.
8586
8587 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8588
8589         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8590         (gst_pad_fixate_caps):
8591           Implement default fixation once again, so that gst_pad_fixate()
8592           actually does anything at all. This probably needs to be some
8593           sort of a last resort, and use profile-based fixation first, but
8594           since that doesn't exist yet, this is the best we have. Fixes
8595           visualization in Totem.
8596
8597 2005-07-22  Wim Taymans  <wim@fluendo.com>
8598
8599         * docs/design/part-events.txt:
8600         Small update.
8601
8602         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8603         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8604         (gst_base_sink_activate_pull):
8605         Some more comments.
8606
8607         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8608         (gst_fake_src_create):
8609         Fix handoff marshall.
8610
8611         * gst/elements/gstidentity.c: (gst_identity_class_init),
8612         (gst_identity_transform_ip):
8613         We're a real inplace element.
8614
8615         * gst/gstbus.c: (gst_bus_post):
8616         Added some comments.
8617
8618         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8619         * tests/muxing/case1.c: (main):
8620         * tests/sched/dynamic-pipeline.c: (main):
8621         * tests/sched/interrupt1.c: (main):
8622         * tests/sched/interrupt2.c: (main):
8623         * tests/sched/interrupt3.c: (main):
8624         * tests/sched/runxml.c: (main):
8625         * tests/sched/sched-stress.c: (main):
8626         * tests/seeking/seeking1.c: (event_received), (main):
8627         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8628         (main):
8629         * tests/threadstate/threadstate3.c: (main):
8630         * tests/threadstate/threadstate4.c: (main):
8631         * tests/threadstate/threadstate5.c: (main):
8632         Fix the tests.
8633
8634 2005-07-21  Wim Taymans  <wim@fluendo.com>
8635
8636         * docs/design/part-seeking.txt:
8637         Some small additions.
8638
8639         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8640         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8641         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8642         * gst/base/gstbasesink.h:
8643         discont values are gint64, handle the math correctly.
8644
8645         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8646         Make the basesrc report error if the source pad is not linked.
8647
8648         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8649         (gst_queue_loop), (gst_queue_handle_src_query),
8650         (gst_queue_src_activate_push):
8651         Make queue collect data even if the srcpad is not linked.
8652         Start pushing out data as soon as it is linked.
8653
8654         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8655         * gst/gstutils.h:
8656         Added gst_flow_get_name() to ease error reporting.
8657
8658 2005-07-20  Wim Taymans  <wim@fluendo.com>
8659
8660         * gst/gstmessage.c: (gst_message_new_segment_start),
8661         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8662         (gst_message_parse_segment_done):
8663         * gst/gstmessage.h:
8664         Added a bunch of messages for advanced seeking.
8665
8666         * gst/parse/grammar.y:
8667         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8668         (gst_dpman_state_changed):
8669         Fix some new-pad -> pad-added signals
8670
8671 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8672
8673         * docs/manual/appendix-porting.xml:
8674         * docs/pwg/appendix-porting.xml:
8675           Document new-pad/state-change signal renames and the FixedList
8676           type rename.
8677
8678 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8679
8680         * docs/manual/advanced-autoplugging.xml:
8681         * docs/manual/basics-helloworld.xml:
8682         * docs/manual/basics-pads.xml:
8683         * docs/random/ds/0.9-suggested-changes:
8684         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8685         * gst/gstelement.h:
8686         * gst/gstevent.h:
8687         * gst/gstformat.h:
8688         * gst/gstquery.h:
8689         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8690         (gst_structure_parse_array), (gst_structure_parse_value):
8691         * gst/gstvalue.c: (gst_type_is_fixed),
8692         (gst_value_list_prepend_value), (gst_value_list_append_value),
8693         (gst_value_list_get_size), (gst_value_list_get_value),
8694         (gst_value_transform_array_string), (gst_value_serialize_array),
8695         (gst_value_deserialize_array), (gst_value_intersect_array),
8696         (gst_value_is_fixed), (_gst_value_initialize):
8697         * gst/gstvalue.h:
8698           GstElement::new-pad -> pad-added, GstElement::state-change ->
8699           state-changed, GstValueFixedList -> GstValueArray, add format and
8700           flags as their own arguments in gst_element_seek() (should improve
8701           "bindeability"), remove function generators since they don't work
8702           under a whole bunch of compilers (they were deprecated already
8703           anyway).
8704
8705 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8706
8707         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8708         (_gst_debug_register_funcptr):
8709         * gst/gstinfo.h:
8710           Fix illegal cast on some platforms (#309253).
8711
8712 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8713
8714         * gst/gstmessage.c: (gst_message_new_custom):
8715         * gst/gstmessage.h:
8716           Add _new_custom, make _new_application a macro to _new_custom.
8717
8718 2005-07-20  Wim Taymans  <wim@fluendo.com>
8719
8720         * gst/base/gstbasesrc.c: (gst_base_src_init),
8721         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8722         * gst/base/gstbasesrc.h:
8723         Add a gboolean to decide when to push out a discont.
8724
8725         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8726         (gst_queue_loop), (gst_queue_handle_src_query),
8727         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8728         (gst_queue_set_property), (gst_queue_get_property):
8729         Some cleanups.
8730
8731         * tests/threadstate/threadstate1.c: (main):
8732         Make a thread test compile and run... very silly..
8733
8734
8735 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8736
8737         * docs/manual/appendix-porting.xml:
8738           Mention removal of libgstgconf-0.9.la and existence of gconf
8739           elements.
8740
8741 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8742
8743         * docs/pwg/advanced-clock.xml:
8744         * docs/pwg/appendix-porting.xml:
8745         * docs/pwg/intro-preface.xml:
8746         * docs/pwg/other-base.xml:
8747         * docs/pwg/other-manager.xml:
8748         * docs/pwg/other-nton.xml:
8749         * docs/pwg/other-ntoone.xml:
8750         * docs/pwg/other-oneton.xml:
8751         * docs/pwg/pwg.xml:
8752           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8753           demuxer), remove n-to-n (was never written), fix some code examples
8754           and links and update the porting section to include all this.
8755
8756 2005-07-19  Wim Taymans  <wim@fluendo.com>
8757
8758         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8759         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8760         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8761         (gst_queue_src_activate_push), (gst_queue_change_state),
8762         (gst_queue_get_property):
8763         * gst/gstqueue.h:
8764         Propagate GstFlowReturn more intelligently upstream and output
8765         an ERROR/EOS when streaming stopped due to fatal error.
8766
8767 2005-07-19  Wim Taymans  <wim@fluendo.com>
8768
8769         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8770         Don't block forever for the state change to complete, the
8771         pipeline already did with a sensible timeout.
8772
8773 2005-07-19  Wim Taymans  <wim@fluendo.com>
8774
8775         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8776         Make sure we never call the create function is we
8777         got deactivated.
8778
8779 2005-07-19  Andy Wingo  <wingo@pobox.com>
8780
8781         * gst/parse/parse.l: Attempt to solve bug #172815.
8782
8783 2005-07-19  Wim Taymans  <wim@fluendo.com>
8784
8785         * docs/design/part-clocks.txt:
8786         * docs/design/part-events.txt:
8787         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8788         Small docs updates.
8789         Only update the seeking values when we are not
8790         busy streaming.
8791
8792 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8793
8794         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8795           Oops, ignore the result of gst_pad_push_event here.
8796
8797 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8798
8799         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8800         (gst_base_src_activate_push):
8801           Send discont event from the loop function, as pads
8802           aren't activated yet in the activate_push handler.
8803
8804         * gst/gstbin.c: (bin_bus_handler):
8805           Don't leak element name.
8806
8807 2005-07-18  Andy Wingo  <wingo@pobox.com>
8808
8809         * configure.ac: Use AS_LIBTOOL_TAGS.
8810
8811 2005-07-18  Wim Taymans  <wim@fluendo.com>
8812
8813         * docs/gst/gstreamer.types:
8814         Remove deleted types.
8815
8816 2005-07-18  Wim Taymans  <wim@fluendo.com>
8817
8818         * check/elements/gstfakesrc.c: (GST_START_TEST):
8819         * configure.ac:
8820         * gst/Makefile.am:
8821         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8822         (init_popt_callback):
8823         * gst/gst.h:
8824         * gst/gst_private.h:
8825         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8826         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8827         * gst/gstbin.h:
8828         * gst/gstbus.h:
8829         * gst/gstconfig.h.in:
8830         * gst/gstelement.c: (gst_element_class_init),
8831         (gst_element_set_base_time), (gst_element_get_base_time),
8832         (iterator_fold_with_resync), (gst_element_change_state),
8833         (gst_element_dispose), (gst_element_get_bus):
8834         * gst/gstelement.h:
8835         * gst/gstelementfactory.h:
8836         * gst/gsterror.c: (_gst_core_errors_init):
8837         * gst/gsterror.h:
8838         * gst/gstevent.h:
8839         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8840         * gst/gstindex.c:
8841         * gst/gstinfo.c: (_gst_debug_init):
8842         * gst/gstmessage.c: (_gst_message_copy):
8843         * gst/gstmessage.h:
8844         * gst/gstminiobject.h:
8845         * gst/gstobject.c:
8846         * gst/gstobject.h:
8847         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8848         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8849         * gst/gstpad.h:
8850         * gst/gstparse.h:
8851         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8852         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8853         (gst_pipeline_get_last_stream_time):
8854         * gst/gstpipeline.h:
8855         * gst/gstpluginfeature.h:
8856         * gst/gstquery.h:
8857         * gst/gstscheduler.c:
8858         * gst/gstscheduler.h:
8859         * gst/gststructure.h:
8860         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8861         (gst_task_finalize), (gst_task_func), (gst_task_create),
8862         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8863         (gst_task_stop), (gst_task_pause):
8864         * gst/gsttask.h:
8865         * gst/gsttypefind.h:
8866         * gst/gsttypes.h:
8867         * gst/registries/gstlibxmlregistry.c: (load_feature),
8868         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8869         * gst/registries/gstxmlregistry.c:
8870         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8871         * gst/schedulers/threadscheduler.c:
8872         * libs/gst/control/dparammanager.h:
8873         * tools/gst-inspect.c: (print_element_list),
8874         (print_plugin_features), (print_element_features):
8875         * tools/gst-xmlinspect.c: (print_element_list),
8876         (print_plugin_info), (main):
8877         Removed plugable schedulers.
8878         Removed Scheduler/Manager from elements.
8879         Removed gsttypes.h, rearranged includes.
8880         Removed dependency pad<->element, element<>pipeline, and
8881         various others,  fix includes.
8882         implement gst_pad_get_parent() with gst_object_get_parent()
8883         Make GstTask sefcontained.
8884         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8885         timeout.
8886         Fix endless loop in iterator_fold_with_resync.
8887
8888
8889 2005-07-18  Wim Taymans  <wim@fluendo.com>
8890
8891         * gst/Makefile.am:
8892         * gst/gstarch.h:
8893         Remove old file.
8894
8895 2005-07-18  Wim Taymans  <wim@fluendo.com>
8896
8897         * gst/Makefile.am:
8898         No more cothreads.h
8899
8900 2005-07-18  Wim Taymans  <wim@fluendo.com>
8901
8902         * gst/cothreads.c:
8903         * gst/cothreads.h:
8904         Let's remove these.
8905
8906 2005-07-18  Wim Taymans  <wim@fluendo.com>
8907
8908         * docs/design/part-dynamic.txt:
8909         * docs/design/part-events.txt:
8910         * docs/design/part-seeking.txt:
8911         Some more docs in the works.
8912
8913         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8914         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8915         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8916         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8917         (gst_base_transform_handle_buffer),
8918         (gst_base_transform_sink_activate_push),
8919         (gst_base_transform_src_activate_pull),
8920         (gst_base_transform_set_passthrough),
8921         (gst_base_transform_is_passthrough):
8922         Refcounting fixes.
8923
8924         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8925         Cleanups.
8926
8927         * gst/gstevent.c: (gst_event_finalize):
8928         Set SRC to NULL.
8929
8930         * gst/gstutils.c: (gst_element_unlink),
8931         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8932         (gst_pad_proxy_setcaps):
8933         * gst/gstutils.h:
8934         Add _get_parent_element() to get a pads parent as an element.
8935
8936 2005-07-18  Wim Taymans  <wim@fluendo.com>
8937
8938         * check/gst/gstbin.c: (GST_START_TEST):
8939         Remove bogus test.
8940
8941 2005-07-18  Wim Taymans  <wim@fluendo.com>
8942
8943         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8944         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8945         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8946         (gst_base_sink_event), (gst_base_sink_do_sync),
8947         (gst_base_sink_chain), (gst_base_sink_loop),
8948         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8949         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8950         Refcounting fixes.
8951         Fix logic for returning ASYNC when not prerolled.
8952
8953 2005-07-18  Wim Taymans  <wim@fluendo.com>
8954
8955         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8956         Fix nasty refcount bug.
8957
8958 2005-07-16 Philippe Khalaf <burger@speedy.org>
8959
8960         * gst/elements/gstfdsrc.c:
8961         * gst/elements/gstfdsrc.h:
8962         * gst/elements/gstelements.c:
8963         * gst/elements/Makefile.am:
8964         Ported fdsrc to 0.9.
8965
8966 2005-07-16  Wim Taymans  <wim@fluendo.com>
8967
8968         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8969         (gst_base_sink_do_sync):
8970         Fix compile error.
8971
8972 2005-07-16  Wim Taymans  <wim@fluendo.com>
8973
8974         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8975         (gst_base_sink_event), (gst_base_sink_get_times),
8976         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8977         * gst/base/gstbasesink.h:
8978         Store and use discont values when syncing buffers as described
8979         in design docs.
8980         
8981         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8982         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8983         (gst_base_src_activate_push):
8984         Push discont event when starting.
8985
8986         * gst/elements/gstidentity.c: (gst_identity_transform):
8987         Small cleanups.
8988
8989         * gst/gstbin.c: (gst_bin_change_state):
8990         Small cleanups in base_time  distribution.
8991
8992         * gst/gstelement.c: (gst_element_set_base_time),
8993         (gst_element_get_base_time), (gst_element_change_state):
8994         * gst/gstelement.h:
8995         Added methods for the base_time of the element.
8996         Some MT fixes.
8997
8998         * gst/gstpipeline.c: (gst_pipeline_send_event),
8999         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9000         (gst_pipeline_get_last_stream_time):
9001         * gst/gstpipeline.h:
9002         MT fixes.
9003         Handle seeking as described in design doc, remove stream_time
9004         hack.
9005         Cleanups clock and stream_time selection code. Added accessors
9006         for the stream_time.
9007         
9008
9009 2005-07-16  Andy Wingo  <wingo@pobox.com>
9010
9011         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9012         (#305291).
9013
9014 2005-07-16  Wim Taymans  <wim@fluendo.com>
9015
9016         * check/gst/gstbin.c: (GST_START_TEST):
9017         Make elements silent as the deep_notify refs the
9018         parent, which might make the test fail.
9019
9020         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9021         Don't hold the lock for too long.
9022
9023 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9024
9025         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9026           Don't unref the caps we passed to gst_caps_make_writable() after
9027           passing them. gst_caps_make_writable() will do that for us.
9028
9029 2005-07-15  Andy Wingo  <wingo@pobox.com>
9030
9031         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9032         (#157311).
9033
9034         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9035         own marshalling function for the handoff signal. Properly type the
9036         buffer as a buffer. Fixes some warnings. Should do a more general
9037         solution.
9038         (gst_identity_class_init): Plug into the right marshaller.
9039
9040 2005-07-15  Wim Taymans  <wim@fluendo.com>
9041
9042         * docs/design/part-TODO.txt:
9043         * docs/design/part-clocks.txt:
9044         * docs/design/part-element-sink.txt:
9045         * docs/design/part-events.txt:
9046         * docs/design/part-gstpipeline.txt:
9047         Updated docs, mostly DISCONT related.
9048
9049 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9050
9051         * docs/pwg/building-pads.xml:
9052           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9053
9054 2005-07-15  Andy Wingo  <wingo@pobox.com>
9055
9056         * tools/gst-typefind.c: Update, add copyright block.
9057
9058         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9059         Normalize and truncate caps before fixation.
9060
9061         * gst/gstcaps.h:
9062         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9063         discards all but the first structure from its argument.
9064
9065 2005-07-15  Wim Taymans  <wim@fluendo.com>
9066
9067         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9068         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9069         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9070         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9071         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9072         (gst_base_transform_chain), (gst_base_transform_change_state),
9073         (gst_base_transform_set_passthrough),
9074         (gst_base_transform_is_passthrough):
9075         * gst/base/gstbasetransform.h:
9076         Make passthrough work using the bufferpools.
9077         Changed API a bit, subclasses have to write into a buffer
9078         provided by the base class.
9079         More debug info in nego functions.
9080         
9081         * gst/elements/gstidentity.c: (gst_identity_init),
9082         (gst_identity_transform):
9083         Port to new base class.
9084
9085 2005-07-15  Wim Taymans  <wim@fluendo.com>
9086
9087         * gst/gstmessage.c: (gst_message_new_state_changed):
9088         * tools/gst-launch.c: (event_loop), (main):
9089         Totally dump messages in -launch with the -m option.
9090         Fix message name for State messages,
9091
9092 2005-07-14  Wim Taymans  <wim@fluendo.com>
9093
9094         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9095         Post error messages on errors.
9096
9097 2005-07-14  Wim Taymans  <wim@fluendo.com>
9098
9099         * gst/gstcaps.c: (gst_caps_do_simplify):
9100         Remove debug info.
9101
9102         * gst/gsterror.h:
9103         Define error for stream stopped.
9104
9105         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9106         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9107         Do proper return values.
9108
9109         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9110         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9111         (gst_pad_get_range):
9112         Better return values.
9113
9114         * gst/gstpad.h:
9115         Reorganise return values, add macro to check for fatal errors.
9116
9117         * gst/gstqueue.c: (gst_queue_chain):
9118         Return proper GstFlowReturn values,
9119
9120 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9121
9122         * docs/gst/gstreamer-sections.txt:
9123         * docs/gst/gstreamer.types:
9124         * docs/gst/tmpl/gst.sgml:
9125         * docs/gst/tmpl/gstbasesink.sgml:
9126         * docs/gst/tmpl/gstbasesrc.sgml:
9127         * docs/gst/tmpl/gstbasetransform.sgml:
9128         * docs/gst/tmpl/gstbin.sgml:
9129         * docs/gst/tmpl/gstbuffer.sgml:
9130         * docs/gst/tmpl/gstcaps.sgml:
9131         * docs/gst/tmpl/gstclock.sgml:
9132         * docs/gst/tmpl/gstcompat.sgml:
9133         * docs/gst/tmpl/gstconfig.sgml:
9134         * docs/gst/tmpl/gstelement.sgml:
9135         * docs/gst/tmpl/gstelementdetails.sgml:
9136         * docs/gst/tmpl/gstelementfactory.sgml:
9137         * docs/gst/tmpl/gstenumtypes.sgml:
9138         * docs/gst/tmpl/gsterror.sgml:
9139         * docs/gst/tmpl/gstevent.sgml:
9140         * docs/gst/tmpl/gstfakesink.sgml:
9141         * docs/gst/tmpl/gstfakesrc.sgml:
9142         * docs/gst/tmpl/gstfilesink.sgml:
9143         * docs/gst/tmpl/gstfilesrc.sgml:
9144         * docs/gst/tmpl/gstfilter.sgml:
9145         * docs/gst/tmpl/gstformat.sgml:
9146         * docs/gst/tmpl/gstghostpad.sgml:
9147         * docs/gst/tmpl/gstimplementsinterface.sgml:
9148         * docs/gst/tmpl/gstindex.sgml:
9149         * docs/gst/tmpl/gstindexfactory.sgml:
9150         * docs/gst/tmpl/gstinfo.sgml:
9151         * docs/gst/tmpl/gstiterator.sgml:
9152         * docs/gst/tmpl/gstmacros.sgml:
9153         * docs/gst/tmpl/gstmemchunk.sgml:
9154         * docs/gst/tmpl/gstminiobject.sgml:
9155         * docs/gst/tmpl/gstobject.sgml:
9156         * docs/gst/tmpl/gstpad.sgml:
9157         * docs/gst/tmpl/gstpadtemplate.sgml:
9158         * docs/gst/tmpl/gstparse.sgml:
9159         * docs/gst/tmpl/gstpipeline.sgml:
9160         * docs/gst/tmpl/gstplugin.sgml:
9161         * docs/gst/tmpl/gstpluginfeature.sgml:
9162         * docs/gst/tmpl/gstquery.sgml:
9163         * docs/gst/tmpl/gstqueue.sgml:
9164         * docs/gst/tmpl/gstregistry.sgml:
9165         * docs/gst/tmpl/gstregistrypool.sgml:
9166         * docs/gst/tmpl/gstscheduler.sgml:
9167         * docs/gst/tmpl/gstschedulerfactory.sgml:
9168         * docs/gst/tmpl/gststructure.sgml:
9169         * docs/gst/tmpl/gstsystemclock.sgml:
9170         * docs/gst/tmpl/gsttaglist.sgml:
9171         * docs/gst/tmpl/gsttagsetter.sgml:
9172         * docs/gst/tmpl/gsttrace.sgml:
9173         * docs/gst/tmpl/gsttrashstack.sgml:
9174         * docs/gst/tmpl/gsttypefind.sgml:
9175         * docs/gst/tmpl/gsttypefindfactory.sgml:
9176         * docs/gst/tmpl/gsttypes.sgml:
9177         * docs/gst/tmpl/gsturihandler.sgml:
9178         * docs/gst/tmpl/gsturitype.sgml:
9179         * docs/gst/tmpl/gstutils.sgml:
9180         * docs/gst/tmpl/gstvalue.sgml:
9181         * docs/gst/tmpl/gstversion.sgml:
9182         * docs/gst/tmpl/gstxml.sgml:
9183         * docs/libs/tmpl/gstcontrol.sgml:
9184         * docs/libs/tmpl/gstdataprotocol.sgml:
9185         * docs/libs/tmpl/gstdparam.sgml:
9186         * docs/libs/tmpl/gstdplinint.sgml:
9187         * docs/libs/tmpl/gstdpman.sgml:
9188         * docs/libs/tmpl/gstdpsmooth.sgml:
9189         * docs/libs/tmpl/gstgetbits.sgml:
9190         * docs/libs/tmpl/gstunitconvert.sgml:
9191         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9192         (gst_push_src_base_init), (gst_push_src_class_init),
9193         (gst_push_src_init), (gst_push_src_create):
9194         * gst/base/gstpushsrc.h:
9195         * gst/elements/gstelements.c:
9196         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9197         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9198         (gst_fake_sink_init), (gst_fake_sink_set_property),
9199         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9200         (gst_fake_sink_event), (gst_fake_sink_preroll),
9201         (gst_fake_sink_render), (gst_fake_sink_change_state):
9202         * gst/elements/gstfakesink.h:
9203         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9204         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9205         (gst_fake_src_base_init), (gst_fake_src_class_init),
9206         (gst_fake_src_init), (gst_fake_src_event_handler),
9207         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9208         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9209         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9210         (gst_fake_src_create_buffer), (gst_fake_src_create),
9211         (gst_fake_src_start), (gst_fake_src_stop):
9212         * gst/elements/gstfakesrc.h:
9213         * gst/elements/gstfilesink.c: (_do_init),
9214         (gst_file_sink_base_init), (gst_file_sink_class_init),
9215         (gst_file_sink_init), (gst_file_sink_dispose),
9216         (gst_file_sink_set_location), (gst_file_sink_set_property),
9217         (gst_file_sink_get_property), (gst_file_sink_open_file),
9218         (gst_file_sink_close_file), (gst_file_sink_query),
9219         (gst_file_sink_event), (gst_file_sink_render),
9220         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9221         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9222         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9223         * gst/elements/gstfilesink.h:
9224         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9225         (gst_file_src_class_init), (gst_file_src_init),
9226         (gst_file_src_finalize), (gst_file_src_set_location),
9227         (gst_file_src_set_property), (gst_file_src_get_property),
9228         (gst_file_src_map_region), (gst_file_src_map_small_region),
9229         (gst_file_src_create_mmap), (gst_file_src_create_read),
9230         (gst_file_src_create), (gst_file_src_is_seekable),
9231         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9232         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9233         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9234         (gst_file_src_uri_handler_init):
9235         * gst/elements/gstfilesrc.h:
9236           more autistic cleanliness in functions/names/defines
9237
9238 2005-07-13  Andy Wingo  <wingo@pobox.com>
9239
9240         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9241         source couldn't negotiate.
9242
9243         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9244         connections again.
9245
9246         * gst/gstutils.h:
9247         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9248         function. I am channeling Hades. Put your boots on suckers!!!
9249
9250 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9251
9252         * testsuite/caps/Makefile.am:
9253         * testsuite/caps/value_compare.c:
9254         * testsuite/caps/value_intersect.c:
9255         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9256           move two testsuite apps over to the check dir
9257
9258 2005-07-12  Wim Taymans  <wim@fluendo.com>
9259
9260         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9261         Added more debug info in the negotiate process.
9262
9263         * gst/gstmessage.h:
9264         Prepare for segment playback.
9265
9266         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9267         Better debugging.
9268
9269         * gst/gstutils.c:
9270         Some more docs.
9271
9272         * tools/gst-launch.c: (main):
9273         NULL pipeline on errors.
9274
9275 2005-07-12  Andy Wingo  <wingo@pobox.com>
9276
9277         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9278         not it comes from a malloc region. Make sure our copy gets freed.
9279
9280 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9281
9282         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9283         * check/gst/gstmessage.c: (GST_START_TEST):
9284         * check/gst/gststructure.c: (GST_START_TEST),
9285         (gst_structure_suite), (main):
9286           more testing
9287         * gst/gstelement.c: (gst_element_message_full):
9288           clean up GError and debug string now that they get copied
9289         * gst/gstmessage.c: (gst_message_new_error),
9290         (gst_message_new_warning), (gst_message_parse_error),
9291         (gst_message_parse_warning):
9292           use GST_TYPE_G_ERROR for structure_new, and take copies of
9293           arguments, so that we don't mess up refcounting
9294
9295 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9296
9297         * check/Makefile.am:
9298           add per-test valgrind targets
9299         * check/gst-libs/gdp.c: (GST_START_TEST),
9300         (gst_data_protocol_suite), (main):
9301           clean up
9302
9303 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9304
9305         * check/Makefile.am:
9306           instate more valgrindable tests
9307         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9308         (GST_START_TEST), (fakesrc_suite):
9309         * check/gst/gstpad.c: (GST_START_TEST):
9310         * check/gst/gststructure.c: (GST_START_TEST):
9311           fix test leaks
9312         * docs/gst/tmpl/gstminiobject.sgml:
9313         * gst/gstpad.c: (gst_pad_finalize):
9314           fix the static mutex leak
9315
9316 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9317
9318         * check/Makefile.am:
9319           add two more tests for valgrinding
9320         * check/gst/gstvalue.c: (GST_START_TEST):
9321           test refcount of deserialized buffer, found a leak
9322         * docs/gst/gstreamer-docs.sgml:
9323         * docs/gst/gstreamer-sections.txt:
9324         * docs/gst/gstreamer.types:
9325         * docs/gst/tmpl/gstminiobject.sgml:
9326           add miniobject to docs
9327         * gst/gstminiobject.c:
9328           add some docs
9329         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9330         (gst_string_unwrap):
9331           fix a hard-to-find invalid write for one of the tests
9332           fix a leak for deserialized buffers
9333
9334 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9335
9336         * docs/pwg/advanced-events.xml:
9337         * docs/pwg/advanced-request.xml:
9338         * docs/pwg/advanced-scheduling.xml:
9339         * docs/pwg/appendix-porting.xml:
9340         * docs/pwg/building-boiler.xml:
9341         * docs/pwg/intro-preface.xml:
9342         * docs/pwg/other-ntoone.xml:
9343           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9344           of example code and explanation for pad activation, loop() and
9345           getrange() functions and a bit more. Remove old comments pointing
9346           to loop-functions.
9347         * examples/pwg/Makefile.am:
9348           Add loop/getrange examples.
9349
9350 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9351
9352         * configure.ac:
9353           check for valgrind binary + some fixes
9354         * check/gst.supp:
9355           valgrind suppressions for the tests
9356         * check/Makefile.am:
9357           add a valgrind: target that valgrinds the unit tests
9358         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9359         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9360         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9361         * check/gst/gstghostpad.c:
9362           added some cleanup
9363         * check/gst/gstdata.c:
9364           removed
9365         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9366         (thread_unref), (gst_mini_object_suite), (main):
9367           added
9368         * gst/gst.c: (gst_deinit):
9369         * gst/gst.h:
9370           add a method to clean up.
9371         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9372         (gst_system_clock_obtain):
9373           allow for disposing the system clock.
9374         * tools/gst-launch.c: (main):
9375           deinit
9376
9377 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9378
9379         * docs/gst/tmpl/gstbasesrc.sgml:
9380         * docs/gst/tmpl/gstfakesrc.sgml:
9381         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9382         (gst_base_src_init), (gst_base_src_set_property),
9383         (gst_base_src_get_property), (gst_base_src_get_range),
9384         (gst_base_src_start):
9385         * gst/base/gstbasesrc.h:
9386           add num-buffers property
9387         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9388         (gst_fakesrc_init), (gst_fakesrc_set_property),
9389         (gst_fakesrc_get_property), (gst_fakesrc_create),
9390         (gst_fakesrc_start):
9391           remove num-buffers property
9392
9393 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9394
9395         * docs/gst/gstreamer-sections.txt:
9396         * docs/gst/tmpl/gstbasesink.sgml:
9397         * docs/gst/tmpl/gstbasesrc.sgml:
9398         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9399         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9400         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9401         (gst_base_sink_set_property), (gst_base_sink_get_property),
9402         (gst_base_sink_handle_object), (gst_base_sink_event),
9403         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9404         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9405         (gst_base_sink_loop), (gst_base_sink_deactivate),
9406         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9407         (gst_base_sink_change_state):
9408         * gst/base/gstbasesink.h:
9409         * gst/base/gstbasesrc.h:
9410         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9411         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9412         (gst_filesink_init):
9413           more macro splitting
9414
9415 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9416
9417         * gst/gstelement.c: (gst_element_get_bus):
9418           add debug
9419         * tools/gst-launch.c: (check_intr), (event_loop):
9420           fix bus leaks
9421
9422 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9423
9424         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9425           fix a caps leak
9426
9427 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9428
9429         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9430         (gst_base_src_finalize):
9431           add finalize method and clean up properly
9432         * gst/gstpipeline.c: (gst_pipeline_dispose):
9433           add debug
9434
9435 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9436
9437         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9438         (gst_bin_suite):
9439           add more things to check
9440         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9441         * gst/gstelement.c:
9442           more debug
9443
9444 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9445
9446         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9447         (GST_START_TEST), (fakesrc_suite):
9448         * check/gst-libs/gdp.c: (GST_START_TEST):
9449         * check/gst/gst.c: (GST_START_TEST):
9450         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9451         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9452         * check/gst/gstbus.c: (GST_START_TEST):
9453         * check/gst/gstcaps.c: (GST_START_TEST):
9454         * check/gst/gstdata.c: (GST_START_TEST):
9455         * check/gst/gstelement.c: (GST_START_TEST):
9456         * check/gst/gstghostpad.c: (GST_START_TEST):
9457         * check/gst/gstiterator.c: (GST_START_TEST):
9458         * check/gst/gstmessage.c: (GST_START_TEST):
9459         * check/gst/gstobject.c: (GST_START_TEST):
9460         * check/gst/gstpad.c: (GST_START_TEST):
9461         * check/gst/gststructure.c: (GST_START_TEST):
9462         * check/gst/gstsystemclock.c: (GST_START_TEST),
9463         (gst_systemclock_suite):
9464         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9465         * check/gst/gstvalue.c: (GST_START_TEST):
9466         * check/pipelines/cleanup.c: (GST_START_TEST):
9467         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9468         * check/states/sinks.c: (GST_START_TEST):
9469         * check/gstcheck.c: (gst_check_init):
9470         * check/gstcheck.h:
9471           add debugging category
9472           use GST_START_TEST now, so we add a debug line
9473
9474 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9475
9476         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9477           add test for state change message on a bin
9478         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9479           add another test
9480         * gst/gstbin.c: (gst_bin_init):
9481         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9482         * gst/gstelement.c: (gst_element_post_message),
9483         (gst_element_set_state):
9484         * gst/gstelementfactory.c: (gst_element_factory_create):
9485         * gst/gstmessage.c: (gst_message_new):
9486         * gst/gstscheduler.c:
9487           various debugging additions and cleanups
9488
9489 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9490
9491         * check/Makefile.am:
9492         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9493         (main):
9494           adding tests for elements
9495         * gst/gstelement.c: (gst_element_dispose):
9496
9497 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9498
9499         * gst/registries/gstlibxmlregistry.c: (load_feature):
9500           plug more leaks.  A simple gst_init() now is leakfree, yay.
9501
9502 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9503
9504         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9505         (gst_xml_registry_load):
9506           plug another memleak
9507
9508 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9509
9510         * configure.ac:
9511           use GST_SET_ERROR_CFLAGS
9512         * docs/faq/cvs.xml:
9513           change to ERROR_CFLAGS
9514
9515 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9516
9517         * configure.ac:
9518           make GST_ERROR_CFLAGS overridable and re-enable Werror
9519         * docs/faq/cvs.xml:
9520           add a note about error CFLAGS
9521         * docs/gst/tmpl/gstfakesrc.sgml:
9522         * gst/elements/gstfakesrc.c:
9523           comment out some unused code
9524         * gst/gst.c: (split_and_iterate):
9525         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9526         (load_feature):
9527           plug some memleaks
9528
9529 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9530
9531         * common/Makefile.am:
9532         * common/gtk-doc.mak:
9533         * docs/gst/Makefile.am:
9534           factor out gtk-doc.mak
9535
9536 2005-07-07  Wim Taymans  <wim@fluendo.com>
9537
9538         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9539         (gst_thread_scheduler_dispose):
9540         Unlock the STREAM_LOCK completely.
9541
9542 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9543
9544         * check/Makefile.am:
9545         * check/elements/.cvsignore:
9546         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9547         (START_TEST), (fakesrc_suite), (main):
9548         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9549         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9550         (gst_fakesrc_create), (gst_fakesrc_start):
9551         * gst/elements/gstfakesrc.h:
9552           adding a first element test
9553
9554 2005-07-07  Andy Wingo  <wingo@pobox.com>
9555
9556         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9557         debug message.
9558
9559 2005-07-07  Wim Taymans  <wim@fluendo.com>
9560
9561         * gst/gstquery.c:
9562         * gst/gstquery.h:
9563         Remove old types
9564
9565 2005-07-07  Wim Taymans  <wim@fluendo.com>
9566
9567         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9568         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9569         Allow subclasses to implement their own negotiation.
9570
9571 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9572
9573         * docs/design/part-gstbin.txt:
9574         * docs/design/part-gstpipeline.txt:
9575           Update design notes to reflect the movement of
9576           responsibility for bus handling from GstPipeline to
9577           GstBin
9578
9579 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9580
9581         * configure.ac:
9582           Remove unnecessary queue2/3/4 examples.
9583
9584 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9585
9586         * examples/Makefile.am:
9587         * examples/helloworld/helloworld.c: (event_loop), (main):
9588         * examples/queue/queue.c: (event_loop), (main):
9589         * examples/queue2/queue2.c: (main):
9590           Update a couple of the examples to work again.
9591
9592         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9593         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9594          Spelling corrections and extra debug.
9595         
9596         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9597         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9598         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9599         * gst/gstbin.h:
9600         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9601         (gst_pipeline_change_state):
9602         * gst/gstpipeline.h:
9603           Move the bus handler for children to the GstBin, and create a
9604           separate bus for receiving messages from children to the one the
9605           bus sends 'upwards' on.
9606
9607 2005-07-06  Wim Taymans  <wim@fluendo.com>
9608
9609         * gst/base/README:
9610         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9611         (gst_base_sink_handle_object), (gst_base_sink_loop),
9612         (gst_base_sink_change_state):
9613         * gst/base/gstbasesink.h:
9614         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9615         (gst_base_src_init), (gst_base_src_setcaps),
9616         (gst_base_src_getcaps), (gst_base_src_loop),
9617         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9618         (gst_base_src_start), (gst_base_src_change_state):
9619         * gst/base/gstbasesrc.h:
9620         Make basesrc negotiate.
9621         Handle the case where preroll fails in basesink.
9622         Update README.
9623
9624 2005-07-06  Wim Taymans  <wim@fluendo.com>
9625
9626         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9627         Implement the fixate function.
9628         Clean up acceptcaps.
9629
9630 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9631
9632         * docs/pwg/building-filterfactory.xml:
9633         * docs/pwg/pwg.xml:
9634           Remove never-written filter-factory chapter; I'll add the various
9635           base classes to part 4 ("other element types") later on.
9636
9637 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9638
9639         * docs/pwg/advanced-negotiation.xml:
9640         * docs/pwg/building-boiler.xml:
9641         * docs/pwg/building-pads.xml:
9642         * docs/pwg/pwg.xml:
9643         * examples/pwg/Makefile.am:
9644           Add a chapter on caps negotiation, simplify the original code
9645           samples a bit w.r.t. caps negotiation, add link to the advanced
9646           section. Add a bunch of examples showing different use cases of
9647           different types of caps negotiation. Upstream renegotiation isn't
9648           fully documented yet since nobody knows how that works.
9649
9650 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9651
9652         * check/gst/gstpad.c:
9653         * check/gstcheck.c:
9654         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9655           if pad has no parent, return NULL as list of internal links
9656
9657 2005-07-05  Andy Wingo  <wingo@pobox.com>
9658
9659         * gst/elements/gstfilesrc.c:
9660         * gst/elements/gstfakesrc.c: 
9661         * gst/base/gstpushsrc.c:
9662         * gst/base/gstbasesrc.h: 
9663         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9664         
9665 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9666
9667         * Makefile.am:
9668           better report generation target (lcov needs a patch)
9669
9670 2005-07-05  Andy Wingo  <wingo@pobox.com>
9671
9672         * gst/elements, testsuite: Null if we got it...
9673
9674 2005-07-05  Wim Taymans  <wim@fluendo.com>
9675
9676         * configure.ac:
9677         * libs/gst/dataprotocol/Makefile.am:
9678         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9679         * libs/gst/dataprotocol/dataprotocol.h:
9680         * pkgconfig/Makefile.am:
9681         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9682         * pkgconfig/gstreamer-dataprotocol.pc.in:
9683         Ported dataprotol to 0.9. 
9684         Added pkgconfig files.
9685
9686 2005-07-05  Andy Wingo  <wingo@pobox.com>
9687
9688         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9689         Default to returning TRUE for the case when tranform_caps returns
9690         a fixed caps, like for identity or volume.
9691
9692         * check/gst/gstbus.c (pound_bus_with_messages): 
9693         * check/gst/gstmessage.c (START_TEST): 
9694         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9695         message API change.
9696
9697         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9698         logic weaks here: always run transform_caps, trying passthrough
9699         operation only if the original caps intersects with the transform.
9700
9701         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9702         source and sink caps.
9703
9704         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9705         Intersect the peer caps with the pad template before going into
9706         transform_caps.
9707         (gst_base_transform_transform_caps): More debugging.
9708
9709         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9710         src argument.
9711
9712 2005-07-04  Edward Hervey  <edward@fluendo.com>
9713
9714         * gst/gstutils.c:
9715         * gst/gstutils.h:
9716         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9717         in bindings.
9718
9719 2005-07-04  Andy Wingo  <wingo@pobox.com>
9720
9721         * check/gst/gstpad.c: Only set explicit caps on pads.
9722
9723 2005-07-01  Andy Wingo  <wingo@pobox.com>
9724
9725         * tests/network-clock.scm: Commentary update.
9726
9727         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9728         Didn't really make sense, not implementable with basetransform,
9729         etc.
9730         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9731         attempt at implementing the sync property, needs an unlock method.
9732
9733         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9734         New func, by default returns the same caps (the identity
9735         transformation).
9736         (gst_base_transform_getcaps): Uses transform_caps to return
9737         something sensible.
9738         (gst_base_transform_setcaps): Complicated logic to get caps on
9739         both pads, even if they are different, and to call set_caps once
9740         for every time both pads get their caps set.
9741         (gst_base_transform_handle_buffer): Give the ref to the transform
9742         function. Allows in-place modification of the buffer.
9743
9744         * gst/base/gstbasetransform.h (transform_caps): New class method.
9745         Given caps on one side, what can I do on the other.
9746         (set_caps): Take two caps, one for each side of the element.
9747
9748         * gst/gstpad.h:
9749         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9750         caps in place. This is safe because we can check the mutability of
9751         the caps, and a good idea because fixate functions are just called
9752         as a matter of last resort. (Not actually implemented.)
9753         (gst_pad_set_caps): If the caps we're setting is actually the same
9754         as the existing pad caps, just update the pointer without calling
9755         setcaps. Assert that caps is either NULL or fixed, as per the
9756         docs.
9757
9758         * gst/gstghostpad.c: Update for fixate changes.
9759
9760 2005-07-02  Andy Wingo  <wingo@pobox.com>
9761
9762         * gst/gstcaps.c:
9763         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9764         two refcounts makes it immutable, which is enough. Doc more.
9765
9766 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9767
9768         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9769           Put the mini_object into GValue as a mini_object,
9770           not a gpointer, since that's how we declared
9771           the signal.
9772
9773 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9774
9775         * examples/pwg/Makefile.am:
9776           Fix buildbot again.
9777
9778 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9779
9780         * docs/pwg/building-testapp.xml:
9781           Add extra check.
9782         * examples/pwg/Makefile.am:
9783           Fix buildbot.
9784
9785 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9786
9787         * configure.ac:
9788         * examples/Makefile.am:
9789         * examples/pwg/Makefile.am:
9790         * examples/pwg/extract.pl:
9791           Enable building the PWG examples.
9792         * docs/pwg/advanced-interfaces.xml:
9793           Add URI interface stub.
9794         * docs/pwg/advanced-types.xml:
9795         * docs/pwg/other-autoplugger.xml:
9796         * docs/pwg/appendix-porting.xml:
9797         * docs/pwg/pwg.xml:
9798           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9799         * docs/pwg/building-boiler.xml:
9800         * docs/pwg/building-chainfn.xml:
9801         * docs/pwg/building-pads.xml:
9802         * docs/pwg/building-props.xml:
9803         * docs/pwg/building-state.xml:
9804         * docs/pwg/building-testapp.xml:
9805           Update the building-*.xml parts for 0.9 changes. All examples
9806           code blocks compile in examples/pwg/*.
9807
9808 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9809
9810         * docs/manual/advanced-autoplugging.xml:
9811         * docs/manual/appendix-checklist.xml:
9812         * docs/manual/appendix-integration.xml:
9813         * docs/manual/highlevel-components.xml:
9814           Fix playbin/decodebin examples, update docs a bit, mention bus
9815           instead of signals in various places, mention kmplayer and
9816           kaffeine since they have a working GStreamer backend in the KDE
9817           section.
9818
9819 2005-06-30  Wim Taymans  <wim@fluendo.com>
9820
9821         * CHANGES-0.9:
9822         * docs/design/draft-ghostpads.txt:
9823         * docs/design/draft-push-pull.txt:
9824         * docs/design/draft-query.txt:
9825         * docs/design/part-TODO.txt:
9826         * docs/design/part-query.txt:
9827         Added CHANGES-0.9 doc, updated status of other docs.
9828         
9829         * gst/gstquery.h:
9830         Remove "hmm" macro
9831
9832 2005-06-30  Wim Taymans  <wim@fluendo.com>
9833
9834         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9835         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9836         (gst_base_sink_change_state):
9837         * gst/base/gstbasesink.h:
9838         Some tweaks, only EOS and a buffer complete a preroll.
9839
9840 2005-06-30  Andy Wingo  <wingo@pobox.com>
9841
9842         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9843         activate_push down to the internal pad as well.
9844
9845 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9846
9847         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9848
9849         * gst/gsttaginterface.c:
9850           Some documentation fixes (#307394 and #307397).
9851
9852 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9853
9854         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9855
9856         * gst/gstvalue.c: (gst_value_intersect_list):
9857           Fix memleak (#309125).
9858
9859 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9860
9861         * docs/manual/advanced-dataaccess.xml:
9862           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9863         * docs/manual/basics-pads.xml:
9864           Add reference for filtered caps to above chapter.
9865
9866 2005-06-30  Wim Taymans  <wim@fluendo.com>
9867
9868         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9869         (gst_bin_change_state):
9870         Probes are gone.
9871         Lame attempt at making the state change function a bit
9872         more readable.
9873
9874 2005-06-30  Wim Taymans  <wim@fluendo.com>
9875
9876         * docs/design/part-clocks.txt:
9877         * docs/design/part-element-sink.txt:
9878         * docs/design/part-events.txt:
9879         * docs/design/part-preroll.txt:
9880         * docs/design/part-states.txt:
9881         Some more tweeks and additions to the docs.
9882
9883 2005-06-30  Wim Taymans  <wim@fluendo.com>
9884
9885         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9886         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9887         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9888         (gst_pad_check_pull_range), (gst_pad_get_range),
9889         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9890         * gst/gstpad.h:
9891         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9892         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9893         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9894         (gst_pad_remove_buffer_probe):
9895         Removed atomic operations, use existing LOCK.
9896         Move exception handling out of main code path.
9897
9898 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9899
9900         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9901         (silly_return_true_function), (gst_pad_class_init),
9902         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9903         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9904         (gst_pad_send_event):
9905           Fix accumulator, add default value by using _emitv() instead
9906           of _emit() for signal emission.
9907
9908 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9909
9910         * docs/manual/advanced-dataaccess.xml:
9911         * examples/manual/Makefile.am:
9912           Add probe example.
9913         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9914           Make work (??).
9915
9916 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9917
9918         * gst/elements/gstfilesink.c: (gst_filesink_render):
9919           Simplify code so that we don't have to handle short
9920           writes and return GST_FLOW_ERROR if an error occured.
9921
9922 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9923
9924         * docs/gst/gstreamer-docs.sgml:
9925           Remove probes more.
9926
9927 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9928
9929         * docs/gst/gstreamer-sections.txt:
9930         * docs/gst/tmpl/gstpad.sgml:
9931         * docs/gst/tmpl/gstprobe.sgml:
9932         * gst/Makefile.am:
9933         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9934         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9935         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9936         (gst_pad_push_event), (gst_pad_send_event):
9937         * gst/gstpad.h:
9938         * gst/gstutils.c: (gst_pad_add_data_probe),
9939         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9940         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9941         (gst_pad_remove_buffer_probe):
9942         * gst/gstutils.h:
9943           Remove old probes, add new g-signal-based probes and some utility
9944           functions.
9945
9946 2005-06-29  Edward Hervey  <edward@fluendo.com>
9947
9948         * gst/gstelementfactory.c:
9949         * gst/gstutils.h:
9950         * gst/gstutils.c:
9951         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9952         the definition to the header file.
9953
9954 2005-06-29  Andy Wingo  <wingo@pobox.com>
9955
9956         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9957         plugins from the source directory.
9958
9959 2005-06-29  Wim Taymans  <wim@fluendo.com>
9960
9961         * docs/gst/tmpl/gstbuffer.sgml:
9962         * docs/gst/tmpl/gstclock.sgml:
9963         Some fixings for blantently wrong text.
9964
9965 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9966
9967         * check/Makefile.am:
9968         * gst/gst.c: (add_path_func), (init_pre):
9969         * gst/gstregistry.c: (gst_registry_add_path):
9970           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9971           only scan the GST_PLUGIN_PATH locations, and not add
9972           system locations
9973
9974 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9975
9976         * docs/gst/gstreamer-sections.txt:
9977         * docs/gst/tmpl/gstbasesrc.sgml:
9978         * gst/gstelement.c:
9979         * gst/gstelement.h:
9980         * gst/gstevent.c:
9981         * gst/gstutils.c:
9982           doc fixes
9983
9984 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9985
9986         * docs/manual/advanced-autoplugging.xml:
9987           Fix autoplugging example.
9988
9989 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9990
9991         * docs/manual/advanced-autoplugging.xml:
9992         * docs/manual/mime-world.fig:
9993           Try to get autoplugging working, fix type detection. Fix text
9994           in hello-world image.
9995
9996 2005-06-29  Wim Taymans  <wim@fluendo.com>
9997
9998         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9999         (gst_base_sink_change_state):
10000         Small debug line.
10001
10002         * gst/gstclock.h:
10003         map SIGNAL and BROADCAST to the right function.
10004
10005         * gst/gstobject.h:
10006         Remove redundant braces.
10007
10008         * gst/gstpad.c: (gst_pad_set_caps):
10009         Don't call setcaps function when reseting caps to NULL.
10010
10011         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10012         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10013         (gst_system_clock_id_unschedule):
10014         Use BROADCAST as this is what we do.
10015
10016 2005-06-29  Wim Taymans  <wim@fluendo.com>
10017
10018         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10019         We are actually prerolling before commiting the state
10020         change. 
10021
10022 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10023
10024         * docs/manual/advanced-clocks.xml:
10025         * docs/manual/advanced-interfaces.xml:
10026         * docs/manual/advanced-metadata.xml:
10027         * docs/manual/advanced-position.xml:
10028         * docs/manual/advanced-schedulers.xml:
10029         * docs/manual/advanced-threads.xml:
10030         * docs/manual/appendix-porting.xml:
10031         * docs/manual/basics-bins.xml:
10032         * docs/manual/basics-bus.xml:
10033         * docs/manual/basics-elements.xml:
10034         * docs/manual/basics-helloworld.xml:
10035         * docs/manual/basics-pads.xml:
10036         * docs/manual/highlevel-components.xml:
10037         * docs/manual/manual.xml:
10038         * docs/manual/thread.fig:
10039           Update (until threads/scheduling) Application Development Manual;
10040           remove GstThread, add GstBus, add simple porting checklist, add
10041           documentation for tag writing, clocks, make all examples until this
10042           part compile and run.
10043         * examples/manual/Makefile.am:
10044           Update from changes to Application Development Manual; add bus
10045           example, remove thread example.
10046
10047 2005-06-28  Wim Taymans  <wim@fluendo.com>
10048
10049         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10050         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10051         (gst_bus_source_dispatch):
10052         Add debugging messages.
10053         Make internal methods static.
10054         Handle the case where the bus is flushed in the handler.
10055         
10056         * gst/gstelement.c: (gst_element_get_bus):
10057         Fix refcount in _get_bus();
10058
10059         * gst/gstpipeline.c: (gst_pipeline_change_state),
10060         (gst_pipeline_get_clock_func):
10061         Clock refcounting fixes.
10062         Handle the case where preroll timed out more gracefully.
10063         
10064         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10065         Clean up the internal thread in dispose. This is needed
10066         for subclasses that actually get disposed.
10067         
10068         * gst/schedulers/threadscheduler.c:
10069         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10070         (gst_thread_scheduler_dispose):
10071         Free thread pool in dispose.
10072
10073 2005-06-28  Andy Wingo  <wingo@pobox.com>
10074
10075         * tests/network-clock-utils.scm (debug, print-event): New utils.
10076
10077         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10078         (*packet-loss*): Unified loss probability.
10079         (network-time): Report out-of-band events.
10080
10081         * tests/plot-data: Add support for out-of-band events. Hack it
10082         into this script instead of passing it down the pipe; should fix
10083         this later.
10084
10085 2005-06-28  Wim Taymans  <wim@fluendo.com>
10086
10087         * docs/gst/gstreamer.types:
10088         * docs/gst/tmpl/gstbasesrc.sgml:
10089         * docs/gst/tmpl/gstpad.sgml:
10090         Docs fixes.
10091
10092 2005-06-28  Wim Taymans  <wim@fluendo.com>
10093
10094         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10095         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10096         (gst_proxy_pad_do_fixatecaps):
10097         Correctly proxy the check_pull_range function.
10098
10099 2005-06-28  Andy Wingo  <wingo@pobox.com>
10100
10101         * tests/network-clock.scm: Removed need for slib.
10102         
10103 2005-06-28  Wim Taymans  <wim@fluendo.com>
10104
10105         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10106         (gst_basesink_preroll_queue_flush):
10107         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10108         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10109         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10110         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10111         (gst_proxy_pad_set_property):
10112         * gst/gstpad.c:
10113         * gst/gstpad.h:
10114         * gst/gstqueue.c: (gst_queue_init):
10115         The deprecated pad loop function is removed now.
10116
10117 2005-06-28  Andy Wingo  <wingo@pobox.com>
10118
10119         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10120         New parameters, simulate network packet loss.
10121
10122         * tests/network-clock-utils.scm: Initialize the RNG.
10123
10124 2005-06-28  Wim Taymans  <wim@fluendo.com>
10125
10126         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10127         (gst_basesink_event), (gst_basesink_deactivate):
10128         Flushing the preroll queue always needs to unlock the waiters.
10129
10130 2005-06-28  Edward Hervey  <edward@fluendo.com>
10131
10132         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10133         Wheen a seek was successful on a pipeline, set the stream_time to the
10134         seek offset in order to have a synchronized stream_time.
10135
10136 2005-06-28  Wim Taymans  <wim@fluendo.com>
10137
10138         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10139         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10140         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10141         (gst_proxy_pad_do_fixatecaps):
10142         Call wrapper function instead of just calling the function
10143         pointers. This takes care of any locking and whatmore.
10144
10145 2005-06-28  Wim Taymans  <wim@fluendo.com>
10146
10147         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10148         (gst_pad_pull_range):
10149         * gst/gstpad.h:
10150         CONNECTED -> LINKED.
10151
10152 2005-06-28  Andy Wingo  <wingo@pobox.com>
10153
10154         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10155         source-munging commit!!!
10156
10157         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10158         (gst_object_sink): Take gpointer arguments, not GstObject --
10159         avoids casts. Like GLib.
10160
10161         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10162         activate.
10163
10164 2005-06-27  Andy Wingo  <wingo@pobox.com>
10165
10166         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10167         remaining buffer.
10168
10169         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10170         returns a sorted copy of the trace list.
10171         (gst_alloc_trace_print_live): New API, only prints traces with
10172         live objects. Sort the list.
10173         (gst_alloc_trace_print_all): Sort the list.
10174         (gst_alloc_trace_print): Align columns.
10175
10176         * gst/elements/gstttypefindelement.c:
10177         * gst/elements/gsttee.c:
10178         * gst/base/gstbasesrc.c:
10179         * gst/base/gstbasesink.c:
10180         * gst/base/gstbasetransform.c:
10181         * gst/gstqueue.c: Adapt for pad activation changes.
10182
10183         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10184         sched.
10185         (gst_pipeline_dispose): Drop ref on sched.
10186
10187         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10188         (gst_pad_activate_default): Push mode by default.
10189         (pre_activate_switch, post_activate_switch): New stubs, things to
10190         do before and after switching activation modes on pads.
10191         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10192         the pad's activate function to choose which mode to activate.
10193         Shortcut on deactivation and call the right function directly.
10194         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10195         mode.
10196         (gst_pad_activate_push): New API, same for push mode.
10197         (gst_pad_set_activate_function) 
10198         (gst_pad_set_activatepull_function) 
10199         (gst_pad_set_activatepush_function): Setters for new API.
10200
10201         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10202         Trace all miniobjects.
10203         (gst_mini_object_make_writable): Unref the arg if we copy, like
10204         gst_caps_make_writable.
10205
10206         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10207
10208         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10209         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10210         Adapt for new pad API.
10211
10212         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10213
10214         * gst/gstelement.h:
10215         * gst/gstelement.c (gst_element_iterate_src_pads) 
10216         (gst_element_iterate_sink_pads): New API functions.
10217         
10218         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10219         should fold into gstiterator.c in some form.
10220         (gst_element_pads_activate): Simplified via use of fold and
10221         delegation of decisions to gstpad->activate.
10222
10223         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10224         help in debugging.
10225
10226         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10227         class once in init, like gstmessage. Didn't run into this issue
10228         but it seems correct. Don't initialize a trace, gstminiobject does
10229         that.
10230
10231         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10232         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10233         to the bus.
10234         (assert_live_count): New util function, uses alloc traces to check
10235         cleanup.
10236
10237         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10238         To be modified when unlink drops the internal pad.
10239
10240 2005-06-27  Wim Taymans  <wim@fluendo.com>
10241
10242         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10243         (gst_bin_change_state):
10244         Cleanup the get_state() function a little, make sure it
10245         iterates the same set of elements.
10246         Added stub iterate_state_order().
10247
10248 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10249
10250         * docs/gst/gstreamer-docs.sgml:
10251         * docs/gst/gstreamer-sections.txt:
10252         * docs/gst/gstreamer.types:
10253         * docs/gst/tmpl/gstbasesink.sgml:
10254         * docs/gst/tmpl/gstbasesrc.sgml:
10255         * docs/gst/tmpl/gstbasetransform.sgml:
10256         * docs/gst/tmpl/gstelement.sgml:
10257         * docs/gst/tmpl/gstiterator.sgml:
10258         * gst/base/gstbasesrc.c:
10259         * gst/base/gstbasesrc.h:
10260         * gst/base/gstbasetransform.h:
10261         * gst/gstelement.c:
10262         * gst/gstiterator.h:
10263           adding basetransform and iterator docs
10264
10265 2005-06-27  Andy Wingo  <wingo@pobox.com>
10266
10267         * docs/design/part-activation.txt: Notes on how activation should
10268         work -- not quite implemented yet.
10269
10270 2005-06-25  Wim Taymans  <wim@fluendo.com>
10271
10272         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10273         At least get the chain function correct, needs more
10274         fixing.
10275
10276 2005-06-25  Wim Taymans  <wim@fluendo.com>
10277
10278         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10279         (gst_basesink_handle_object), (gst_basesink_event),
10280         (gst_basesink_do_sync), (gst_basesink_handle_event),
10281         (gst_basesink_change_state):
10282         * gst/gsttask.h:
10283         Right, two problems here: ghostpads don't take locks and
10284         glib _rec_mutex_lock_full() with depth==0 still locks.
10285         Catch illegal locking and g_warn them.
10286
10287 2005-06-25  Wim Taymans  <wim@fluendo.com>
10288
10289         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10290         Have to check for completion now...
10291
10292 2005-06-25  Wim Taymans  <wim@fluendo.com>
10293
10294         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10295         (gst_basesink_handle_object), (gst_basesink_event),
10296         (gst_basesink_do_sync), (gst_basesink_handle_event),
10297         (gst_basesink_change_state):
10298         * gst/gstpad.h:
10299         Unlock STREAM_LOCK whatever the recursion was.
10300
10301 2005-06-25  Wim Taymans  <wim@fluendo.com>
10302
10303         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10304         (gst_basesink_preroll_queue_empty),
10305         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10306         (gst_basesink_event), (gst_basesink_do_sync),
10307         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10308         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10309         (gst_basesink_change_state):
10310         Reworked the base sink, handle event and buffer serialisation
10311         correctly and removed possible deadlock.
10312         Handle EOS correctly.
10313
10314 2005-06-25  Wim Taymans  <wim@fluendo.com>
10315
10316         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10317         (gst_pipeline_change_state):
10318         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10319         Allow elements to post EOS in the state change function.
10320         Fix up -launch, make it exit the poll loop when the
10321         pipeline actually changed state.
10322         Fix up warning parsing in -launch.
10323
10324 2005-06-25  Wim Taymans  <wim@fluendo.com>
10325
10326         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10327         (gst_tee_sink_activate):
10328         Core takes STREAM_LOCK for us now.
10329
10330 2005-06-25  Wim Taymans  <wim@fluendo.com>
10331
10332         * gst/gstelement.c: (gst_element_get_state_func),
10333         (gst_element_set_state):
10334         * gst/gstelement.h:
10335         * gst/gstmessage.c: (gst_message_parse_error),
10336         (gst_message_parse_warning):
10337         Keep track of current target state while performing a state
10338         change so that subclasses can do something interesting.
10339         Fix parsing of warning/error messages when GError is NULL.
10340
10341 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10342
10343         * docs/gst/Makefile.am:
10344         * docs/gst/gstreamer-docs.sgml:
10345         * docs/gst/gstreamer-sections.txt:
10346         * docs/gst/gstreamer.types:
10347         * docs/gst/tmpl/gstbasesink.sgml:
10348         * docs/gst/tmpl/gstbasesrc.sgml:
10349         * docs/gst/tmpl/gstbin.sgml:
10350         * docs/gst/tmpl/gstcompat.sgml:
10351         * docs/gst/tmpl/gstfakesink.sgml:
10352         * docs/gst/tmpl/gstfakesrc.sgml:
10353         * docs/gst/tmpl/gstfilesink.sgml:
10354         * docs/gst/tmpl/gstfilesrc.sgml:
10355         * docs/gst/tmpl/gstindex.sgml:
10356         * docs/manual/appendix-quotes.xml:
10357         * gst/base/gstbasesrc.h:
10358         * gst/elements/gstfakesrc.h:
10359         * gst/gstmessage.h:
10360           start pulling in base classes and elements in our docs
10361
10362 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10363
10364         * docs/gst/Makefile.am:
10365         * docs/libs/Makefile.am:
10366           fixed make distcheck with gtk-doc 1.3
10367
10368 2005-06-23  Wim Taymans  <wim@fluendo.com>
10369
10370         * gst/gstelement.c: (gst_element_get_state_func),
10371         (gst_element_set_state), (gst_element_change_state):
10372         When the state did not change, also report NO_PREROLL
10373         when it matters.
10374
10375 2005-06-23  Wim Taymans  <wim@fluendo.com>
10376
10377         * gst/gstpad.c: (gst_pad_event_default):
10378         * gst/gstqueue.c: (gst_queue_loop):
10379         No unsafe task pausing please.
10380
10381 2005-06-23  Wim Taymans  <wim@fluendo.com>
10382
10383         * gst/schedulers/threadscheduler.c:
10384         (gst_thread_scheduler_task_start),
10385         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10386         Ref the task before pushing it on the threadpool. This
10387         makes sure that we have a ref when the threadfunction is
10388         actually called.
10389
10390 2005-06-23  Andy Wingo  <wingo@pobox.com>
10391
10392         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10393         offset is greater than the file's size.
10394
10395         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10396         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10397         * gst/gstobject.c (gst_object_class_init): Make the class lock
10398         recursive. Wim won't let me drop deep_notify. Decodebin works
10399         again, whoopdy doo.
10400
10401         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10402         internal pad, and hacks accordingly. Doesn't do it on the target
10403         pad because we change its caps. Probably catches all cases of
10404         interest tho.
10405         (gst_ghost_pad_set_property): Connect to notify::caps as
10406         appropritate.
10407
10408         * tests/network-clock.scm (plot-simulation): Pipe data to the
10409         elite python skript.
10410
10411         * tests/network-clock-utils.scm (define-parameter): New macro,
10412         defines a parameter that can be set via the command line.
10413         (set-parameter!, parse-parameter-arguments): Command line args
10414         parser.
10415
10416         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10417         stdin.
10418
10419 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10420
10421         * gst/elements/gsttypefindelement.c:
10422         (gst_type_find_element_handle_event):
10423           Don't restart typefinding on a discont.
10424         * gst/gstelement.c: (gst_element_set_state):
10425           Debug spelling fix.
10426         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10427           Allow changing mode of an active pad.
10428           Debug output fixes.
10429         * gst/registries/gstlibxmlregistry.c: (load_feature):
10430           Don't cast a static pad template to a normal pad template.
10431
10432 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10433
10434         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10435         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10436           remove gst_strtoll completely, since it didn't actually do
10437           anything more than what g_ascii_strtoull already does.
10438           check for range errors when deserializing
10439           do a cast for the unsigned cases; but further fixing needs
10440           a decision on what the interpretation of "(int)" and
10441           deserialization should be for values that fall outside the
10442           type's boundaries (ie, refuse, or interpret as casting)
10443
10444 2005-06-23  Wim Taymans  <wim@fluendo.com>
10445
10446         * check/Makefile.am:
10447         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10448         * docs/design/part-live-source.txt:
10449         * docs/design/part-states.txt:
10450         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10451         (gst_basesrc_set_live), (gst_basesrc_is_live),
10452         (gst_basesrc_get_range), (gst_basesrc_activate),
10453         (gst_basesrc_change_state):
10454         * gst/base/gstbasesrc.h:
10455         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10456         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10457         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10458         * gst/gstelement.c: (gst_element_get_state_func),
10459         (gst_element_set_state):
10460         * gst/gstelement.h:
10461         * gst/gsttypes.h:
10462         * tools/gst-launch.c: (event_loop), (main):
10463         Added support for live sources and other elements that
10464         cannot do preroll.
10465         Updated design docs, added live-source design doc.
10466         Implemented live source functionality in basesrc
10467         Fix error condition in _bin_get_state()
10468         Implement live source handling in -launch.
10469         Added check for live sources.
10470         Fixed case in GstBin where elements were changed state
10471         multiple times.
10472
10473
10474 2005-06-23  Andy Wingo  <wingo@pobox.com>
10475
10476         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10477         borken refcounting.
10478
10479         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10480         gst_caps_replace takes care of this for us.
10481
10482         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10483         gst_pad_set_caps on the target, not just its setcaps() function.
10484
10485         * tests/network-clock.scm: 
10486         * tests/network-clock-utils.scm: A network clock simulator.
10487         Something of an algorithmic testbed before doing something in C.
10488
10489 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10490
10491         * check/Makefile.am:
10492         * check/gst/capslist.h:
10493           copy over from 0.8, and add two with bitmasks specified with
10494           (int) 0xFF...
10495         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10496           add test to parse everything from capslist.h
10497         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10498         (main):
10499           add test for structure deserialization
10500         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10501           add tests for deserialization of strings to int types
10502         * gst/gststructure.c: (gst_structure_nth_field_name):
10503         * gst/gststructure.h:
10504           add a way to get the name of a field referenced by index
10505         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10506           instead of checking if the resulting long long lies between
10507           min and max, we check if the long long would fit into
10508           a number of bytes for the final type.
10509           This fixes cases where a string represents 2^32 - 1, which
10510           when cast to int would be the (valid) -1, but is bigger than
10511           G_MAXINT
10512
10513 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10514
10515         * gst/parse/grammar.y:
10516           add a log line for type deserialization
10517
10518 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10519
10520         * check/gst/gstvalue.c: (START_TEST):
10521         * gst/gstvalue.c: (gst_value_deserialize):
10522           return long long, not int, so gint64 deserialization actually
10523           works.  Is there any flag that makes the compiler check this ?
10524           Fixes #308559
10525
10526 2005-06-22  Wim Taymans  <wim@fluendo.com>
10527
10528         * gst/gstbuffer.h:
10529         Added convenience macros for setting buffers in GValue.
10530
10531 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10532
10533         * check/gst/.cvsignore:
10534         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10535           add a test deserializing int64, and comment part out because
10536           it fails, yay !
10537
10538 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10539
10540         * check/Makefile.am:
10541         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10542         * testsuite/Makefile.am:
10543         * testsuite/caps/Makefile.am:
10544         * testsuite/caps/value_serialize.c:
10545         * testsuite/test_gst_init.c:
10546           move a value_serialize test over
10547
10548 2005-06-20  Wim Taymans  <wim@fluendo.com>
10549
10550         * gst/gstpad.c:
10551         Small doc updates.
10552         
10553         * gst/gstvalue.c: (gst_value_compare_buffer),
10554         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10555         (gst_value_compare_flags), (gst_value_serialize_flags),
10556         (gst_value_deserialize_flags), (_gst_value_initialize):
10557         Fix serialisation of buffers, they are not boxed types anymore
10558
10559 2005-06-20  Wim Taymans  <wim@fluendo.com>
10560
10561         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10562         Testcase to show error in buffer-on-caps serialisation.
10563
10564 2005-06-20  Andy Wingo  <wingo@pobox.com>
10565
10566         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10567         will be adding to later.
10568
10569         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10570         if its socks fill with rocks.
10571         (gst_system_clock_obtain): Set the name on object construction.
10572         Avoid double-checked locking.
10573
10574 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10575
10576         * gst/gsturi.c: (gst_element_make_from_uri):
10577           Fix potential endless loop.
10578
10579 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10580
10581         * check/Makefile.am:
10582           add gsttag
10583         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10584         (main):
10585           move over from testsuite dir and clean up
10586         * configure.ac:
10587         * gst/gsttag.c:
10588         * testsuite/Makefile.am:
10589         * testsuite/tags/.cvsignore:
10590         * testsuite/tags/Makefile.am:
10591         * testsuite/tags/merge.c:
10592           remove testsuite/tags
10593
10594 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10595
10596         * docs/gst/gstreamer-sections.txt:
10597         * docs/gst/tmpl/gstenumtypes.sgml:
10598         * win32/gstenumtypes.c:
10599           clean up documentation build a little
10600
10601 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10602
10603         * check/gstcheck.h:
10604           add macros for checking refcounts on objects and caps
10605         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10606           add some more unit tests
10607         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10608         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10609           fix leaked refcounts (I hope :)) so unittest works
10610         * gst/gstpad.h:
10611           whitespace removal
10612
10613 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10614
10615         * configure.ac: back to HEAD
10616
10617 === release 0.9.1 ===
10618
10619 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10620
10621         * NEWS:
10622         * RELEASE:
10623           updated
10624
10625 2005-06-17  Andy Wingo  <wingo@pobox.com>
10626
10627         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10628         assert; it's always possible that the pad gets deactivated in
10629         between the checks in gstpad.c and the implementation. Rely on
10630         finish_preroll() to return a FLUSHING or similar instead of on the
10631         assert.
10632         
10633         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10634         clock and post an EOS message if we come out of finish_preroll in
10635         the playing state.
10636
10637 2005-06-16  David Schleef  <ds@schleef.org>
10638
10639         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10640         (gst_capsfilter_set_property): Allow NULL as possible value
10641         for filter_caps property, indicating GST_CAPS_ANY.
10642
10643 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10644
10645         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10646           fix debug output
10647         * gst/schedulers/Makefile.am:
10648           use libgst prefix
10649         * gstreamer.spec.in:
10650           fix spec for it
10651
10652 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10653
10654         * gstreamer.spec.in:
10655           clean up
10656
10657 2005-06-08  Andy Wingo  <wingo@pobox.com>
10658
10659         * gst/gstutils.c: RPAD fixes all around.
10660         (gst_element_link_pads): Refcounting fixes.
10661
10662         * tools/gst-inspect.c:
10663         * tools/gst-xmlinspect.c:
10664         * parse/grammar.y:
10665         * gst/base/gsttypefindhelper.c:
10666         * gst/base/gstbasesink.c:
10667         * gst/gstqueue.c: RPAD fixes.
10668
10669         * gst/gstghostpad.h:
10670         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10671         pads. The tricky thing is they provide both source and sink
10672         interfaces, since they proxy the internal pad for the external
10673         pad, and vice versa. Implement with lower-level ProxyPad objects,
10674         with the interior proxy pad as a child of the exterior ghost pad.
10675         Should write a doc on this.
10676         
10677         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10678         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10679         gst_object API.
10680         
10681         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10682         pads are real pads. No ghost pads in this file. Not documenting
10683         the myriad s/RPAD/PAD/ and REALIZE fixes.
10684         (gst_pad_class_init): Add properties for "direction" and
10685         "template". Both are construct-only, so they can't change during
10686         the life of the pad. Fixes properly deriving from GstPad.
10687         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10688         derived objects, just set properties when creating the objects via
10689         g_object_new.
10690         (gst_pad_get_parent): Implement as a function, return NULL if the
10691         parent is not an element.
10692         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10693         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10694         
10695         * gst/gstobject.c (gst_object_class_init): Make name a construct
10696         property. Don't set it in the object init.
10697
10698         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10699         with UNKNOWN direction.
10700         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10701         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10702         (gst_element_remove_pad): Remove ghost-pad special cases.
10703         (gst_element_pads_activate): Remove rpad cruft.
10704
10705         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10706         catch the pad's-parent-not-an-element case.
10707
10708         * gst/gst.h: Include gstghostpad.h.
10709
10710         * gst/gst.c (init_post): No more real, ghost pads.
10711
10712         * gst/Makefile.am: Add gstghostpad.[ch].
10713
10714         * check/Makefile.am:
10715         * check/gst/gstbin.c:
10716         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10717         into a bin creates ghost pads, and that the refcounts are right.
10718         Partly moved from gstbin.c.
10719
10720 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10721
10722         * check/gst-libs/.cvsignore:
10723         * check/gst/.cvsignore:
10724         * check/pipelines/.cvsignore:
10725           ignore more
10726         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10727         (START_TEST), (cleanup_suite), (main):
10728           add some tests related to cleanup after running pipelines
10729
10730 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10731
10732         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10733           add a testsuite for GstBuffer
10734
10735 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10736
10737         * gst/gstminiobject.h:
10738           add defines for accessing the refcount
10739
10740 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10741
10742         * Makefile.am: added support for html unit test coverage reports
10743
10744 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10745
10746         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10747           Free existing caps if the capsfilter changes. Add a FIXME about
10748           setting those caps on the pads.
10749
10750         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10751           Before adding a ghost pad to a parent bin, check that there isn't
10752           already one for the element on the bin. Prevents infinite recursion
10753           when using decodebin in parse pipelines. Andy says he'll rewrite the
10754           way this works anyway, so ignore the hack.
10755
10756 2005-06-02  Andy Wingo  <wingo@pobox.com>
10757
10758         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10759         file size, pass it on to the type find helper.
10760
10761         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10762         segment_start and segment_end properly according to the seek
10763         method. Segment_end is still a bit flaky because offset can be
10764         negative for CUR and END cases, but it takes -1 as an "unset"
10765         value.
10766
10767 2005-06-02  Wim Taymans  <wim@fluendo.com>
10768
10769         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10770         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10771         (gst_basesink_activate):
10772         * gst/base/gstbasesink.h:
10773         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10774         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10775         (gst_pad_query), (gst_pad_start_task):
10776         * gst/gstpad.h:
10777         * gst/gstqueue.c: (gst_queue_bufferalloc),
10778         (gst_queue_handle_sink_event), (gst_queue_chain):
10779         Bufferalloc: return GstFlowReturn to more accuratly report
10780         why allocation failed.
10781
10782 2005-06-02  Wim Taymans  <wim@fluendo.com>
10783
10784         * gst/gstpipeline.c: (gst_pipeline_send_event):
10785         Take snapshot of state without blocking.
10786
10787 2005-06-02  Wim Taymans  <wim@fluendo.com>
10788
10789         * docs/design/part-TODO.txt:
10790         * docs/design/part-caps.txt:
10791         * docs/design/part-clocks.txt:
10792         * docs/design/part-negotiation.txt:
10793         * docs/design/part-preroll.txt:
10794         Small doc updates 
10795
10796 2005-05-30  Wim Taymans  <wim@fluendo.com>
10797
10798         * gst/elements/gstidentity.c: (gst_identity_event),
10799         (gst_identity_transform), (gst_identity_get_property):
10800         Protect last_message property as it is accessed from
10801         multiple threads.
10802
10803 2005-05-30  Wim Taymans  <wim@fluendo.com>
10804
10805         * gst/gstelement.c: (gst_element_init),
10806         (gst_element_pads_activate), (gst_element_change_state):
10807         Slicker pad activation code.
10808
10809 2005-05-30  Wim Taymans  <wim@fluendo.com>
10810
10811         * gst/Makefile.am:
10812         * gst/gstelement.h:
10813         * gst/gstelementfactory.h:
10814         * gst/gsttypes.h:
10815         Move elementfactory methods to separate .h file.
10816
10817 2005-05-30  Wim Taymans  <wim@fluendo.com>
10818
10819         * docs/design/part-overview.txt:
10820         * gst/gstsystemclock.h:
10821         Small typo fixes, doc updates.
10822
10823 2005-05-30  Wim Taymans  <wim@fluendo.com>
10824
10825         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10826         (init_popt_callback):
10827         Remove cpu-opt flag.
10828
10829 2005-05-30  Wim Taymans  <wim@fluendo.com>
10830
10831         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10832         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10833         * gst/gstbuffer.h:
10834         Avoid typechecking in places where not needed.
10835         Added accessor for malloc_data.
10836
10837 2005-05-30  Wim Taymans  <wim@fluendo.com>
10838
10839         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10840         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10841         (gst_pad_configure_sink), (gst_pad_configure_src),
10842         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10843         (gst_pad_start_task):
10844         Propagate errors from _set_caps() in configure_src/sink
10845         functions instead of returning TRUE.
10846         FLUSH events can travel up and downstream
10847
10848
10849 2005-05-30  Wim Taymans  <wim@fluendo.com>
10850
10851         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10852         (gst_basesink_activate):
10853         Handle EOS in preroll.
10854
10855 2005-05-30  Wim Taymans  <wim@fluendo.com>
10856
10857         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10858         (gst_queue_loop), (gst_queue_handle_src_event):
10859         Remove old pieces of code
10860         Flushing the queue in an upstream event is a very bad idea.
10861
10862 2005-05-26  Andy Wingo  <wingo@pobox.com>
10863
10864         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10865         gst_value_set_mini_object so as to add a ref on the object (which
10866         will be removed when the value is unset).
10867
10868         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10869         arg type in ::handoff.
10870
10871         * gst/gstelement.c (gst_element_change_state): Also deactivate
10872         pads in READY->NULL, just in case the element didn't make it to
10873         PAUSED. Wingo tested, Wim approved.
10874
10875 2005-05-26  Wim Taymans  <wim@fluendo.com>
10876
10877         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10878         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10879         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10880         A flushing pad cannot be used to alloc_buffer from.
10881
10882 2005-05-26  Wim Taymans  <wim@fluendo.com>
10883
10884         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10885         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10886         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10887         (gst_bus_create_watch), (gst_bus_add_watch_full):
10888         * gst/gstbus.h:
10889         Implement a real GSource and use g_main_context_wakeup() to
10890         signal new messages instead of the socketpair.
10891
10892 2005-05-25  Wim Taymans  <wim@fluendo.com>
10893
10894         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10895         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10896         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10897         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10898         (gst_pad_send_event), (gst_pad_start_task):
10899         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10900         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10901         (gst_queue_sink_activate), (gst_queue_src_activate),
10902         (gst_queue_change_state):
10903         * gst/gstqueue.h:
10904         Fix state changes for non sinks. We now change sinks, then elements
10905         with unconnected srcpads, then the rest.
10906         More efficient queue unlocking in flush and state changes.
10907         Set the pad activate mode even if it does not have an activate
10908         function.
10909
10910 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10911
10912         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10913           Don't go in pull mode for non-seekable sources.
10914         * gst/elements/gsttypefindelement.h:
10915         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10916         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10917         (free_entry), (stop_typefinding),
10918         (gst_type_find_element_handle_event), (find_peek),
10919         (gst_type_find_element_chain), (do_pull_typefind),
10920         (gst_type_find_element_change_state):
10921           Allow typefinding (w/o seeking) in push-mode, simplified version
10922           of what was in 0.8.
10923         * gst/gstutils.c: (gst_buffer_join):
10924         * gst/gstutils.h:
10925           gst_buffer_join() from 0.8.
10926
10927 2005-05-25  Wim Taymans  <wim@fluendo.com>
10928
10929         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10930         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10931         (gst_pad_send_event), (gst_pad_start_task):
10932         Disable attempt at mode switching until it is figured out.
10933
10934 2005-05-25  Wim Taymans  <wim@fluendo.com>
10935
10936         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10937         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10938         (gst_basesink_finish_preroll), (gst_basesink_chain),
10939         (gst_basesink_loop), (gst_basesink_activate),
10940         (gst_basesink_change_state):
10941         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10942         (gst_basesrc_get_range), (gst_basesrc_loop),
10943         (gst_basesrc_activate):
10944         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10945         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10946         (gst_real_pad_init), (gst_real_pad_set_property),
10947         (gst_real_pad_get_property), (gst_pad_set_active),
10948         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10949         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10950         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10951         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10952         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10953         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10954         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10955         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10956         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10957         (gst_pad_stop_task):
10958         * gst/gstpad.h:
10959         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10960         (gst_queue_loop), (gst_queue_src_activate):
10961         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10962         (gst_task_get_state):
10963         * gst/gsttask.h:
10964         * gst/schedulers/threadscheduler.c:
10965         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10966         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10967         in task function.
10968         Remove ACTIVE pad flag, use FLUSHING everywhere
10969         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10970         functions.
10971         Add locks around IS_FLUSHING when reading.
10972         Take STREAM lock in chain(), get_range() functions so plugins
10973         don't need to take it anymore.
10974         
10975
10976
10977 2005-05-25  Wim Taymans  <wim@fluendo.com>
10978
10979         * tools/gst-launch.c: (event_loop):
10980         Unref message after using its contents instead of
10981         before.
10982
10983 2005-05-24  Wim Taymans  <wim@fluendo.com>
10984
10985         * docs/design/draft-ghostpads.txt:
10986         * docs/design/draft-push-pull.txt:
10987         * docs/design/draft-query.txt:
10988         * docs/design/part-overview.txt:
10989         Docs updates, added general overview doc.
10990
10991 2005-05-21  David Schleef  <ds@schleef.org>
10992
10993         * docs/gst/tmpl/old/GstBin.sgml:
10994         * docs/gst/tmpl/old/GstBuffer.sgml:
10995         * docs/gst/tmpl/old/GstCaps.sgml:
10996         * docs/gst/tmpl/old/GstClock.sgml:
10997         * docs/gst/tmpl/old/GstCompat.sgml:
10998         * docs/gst/tmpl/old/GstData.sgml:
10999         * docs/gst/tmpl/old/GstElement.sgml:
11000         * docs/gst/tmpl/old/GstEvent.sgml:
11001         * docs/gst/tmpl/old/GstIndex.sgml:
11002         * docs/gst/tmpl/old/GstStructure.sgml:
11003         * docs/gst/tmpl/old/GstTag.sgml:
11004         * docs/gst/tmpl/old/cothreads.sgml:
11005         * docs/gst/tmpl/old/cothreads_compat.sgml:
11006         * docs/gst/tmpl/old/gettext.sgml:
11007         * docs/gst/tmpl/old/gobject2gtk.sgml:
11008         * docs/gst/tmpl/old/grammar.tab.sgml:
11009         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11010         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11011         * docs/gst/tmpl/old/gst_private.sgml:
11012         * docs/gst/tmpl/old/gstaggregator.sgml:
11013         * docs/gst/tmpl/old/gstarch.sgml:
11014         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11015         * docs/gst/tmpl/old/gstbufferstore.sgml:
11016         * docs/gst/tmpl/old/gstdata_private.sgml:
11017         * docs/gst/tmpl/old/gstdisksink.sgml:
11018         * docs/gst/tmpl/old/gstdisksrc.sgml:
11019         * docs/gst/tmpl/old/gstelementfactory.sgml:
11020         * docs/gst/tmpl/old/gstextratypes.sgml:
11021         * docs/gst/tmpl/old/gstfakesink.sgml:
11022         * docs/gst/tmpl/old/gstfakesrc.sgml:
11023         * docs/gst/tmpl/old/gstfdsink.sgml:
11024         * docs/gst/tmpl/old/gstfdsrc.sgml:
11025         * docs/gst/tmpl/old/gstfilesink.sgml:
11026         * docs/gst/tmpl/old/gstfilesrc.sgml:
11027         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11028         * docs/gst/tmpl/old/gstidentity.sgml:
11029         * docs/gst/tmpl/old/gstindexfactory.sgml:
11030         * docs/gst/tmpl/old/gstmarshal.sgml:
11031         * docs/gst/tmpl/old/gstmd5sink.sgml:
11032         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11033         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11034         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11035         * docs/gst/tmpl/old/gstpipefilter.sgml:
11036         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11037         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11038         * docs/gst/tmpl/old/gstshaper.sgml:
11039         * docs/gst/tmpl/old/gstspider.sgml:
11040         * docs/gst/tmpl/old/gstspideridentity.sgml:
11041         * docs/gst/tmpl/old/gststatistics.sgml:
11042         * docs/gst/tmpl/old/gsttee.sgml:
11043         * docs/gst/tmpl/old/gsttimecache.sgml:
11044         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11045         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11046         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11047         * docs/gst/tmpl/old/types.sgml:
11048           I didn't intend to add these or check them in.
11049
11050 2005-05-19  David Schleef  <ds@schleef.org>
11051
11052         * configure.ac: Use -no-common everywhere.  In a sane world, it
11053           would be the default in libtool, because without it, you can't
11054           build DLLs on Windows.
11055         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11056         * docs/gst/gstreamer-sections.txt:
11057         * docs/gst/tmpl/gstcpu.sgml:
11058         * docs/gst/tmpl/gstdata.sgml:
11059         * docs/gst/tmpl/gstthread.sgml:
11060
11061 2005-05-19  David Schleef  <ds@schleef.org>
11062
11063         * gst/gstminiobject.c: (gst_value_set_mini_object),
11064         (gst_value_take_mini_object), (gst_value_get_mini_object):
11065         * gst/gstminiobject.h: Add GValue set/get functions.
11066
11067 2005-05-19  Wim Taymans  <wim@fluendo.com>
11068
11069         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11070         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11071         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11072         * gst/gstbuffer.h:
11073         * gst/gstbus.c: (gst_bus_post):
11074         * gst/gstelement.c: (gst_element_get_random_pad):
11075         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11076         Make subbufer unref the parent in finalize.
11077         some more debugging info.
11078
11079
11080 2005-05-19  Wim Taymans  <wim@fluendo.com>
11081
11082         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11083         (gst_basesink_init), (gst_basesink_finalize),
11084         (gst_basesink_activate), (gst_basesink_change_state):
11085         Don't free preroll queue too early.
11086
11087 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11088
11089         * gst/Makefile.am:
11090         * gst/ROADMAP:
11091           Hi, I'm outdated. Please shoot me.
11092
11093 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11094
11095         * gst/gstpipeline.c: (gst_pipeline_send_event):
11096           Do not access variables after they have been deleted.
11097
11098 2005-05-19  Wim Taymans  <wim@fluendo.com>
11099
11100         * tools/gst-inspect.c: (print_plugin_features):
11101         A plugin feature does unfortunatly not use the
11102         object name yet...
11103
11104 2005-05-18  Wim Taymans  <wim@fluendo.com>
11105
11106         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11107         Port _span() functions to new subbuffers.
11108
11109 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11110
11111         * gst/gstbin.c: (gst_bin_add_func):
11112           Fix clock settery in bins when adding kids after the clock has
11113           been selected.
11114
11115 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11116
11117         * gst/elements/gstidentity.c: (gst_identity_class_init):
11118           Workaround until signals support GstMiniObject.
11119
11120 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11121
11122         * gst/gstbuffer.c:
11123         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11124
11125 2005-05-18  Wim Taymans  <wim@fluendo.com>
11126
11127         * gst/base/Makefile.am:
11128         * gst/base/gstadapter.c: (gst_adapter_base_init),
11129         (gst_adapter_class_init), (gst_adapter_init),
11130         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11131         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11132         (gst_adapter_flush), (gst_adapter_available),
11133         (gst_adapter_available_fast):
11134         * gst/base/gstadapter.h:
11135         Ported and added adapter to the base classes.
11136
11137 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11138
11139         * gst/gst.c:
11140         * gst/gstmessage.c:
11141           Make sure the class is reffed/unreffed once before threads can be
11142           used.  Fixes #304551.
11143
11144 2005-05-17  Wim Taymans  <wim@fluendo.com>
11145
11146         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11147         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11148         * gst/gstminiobject.c: (gst_mini_object_get_type),
11149         (gst_mini_object_free):
11150         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11151         (gst_pad_push), (gst_pad_push_event):
11152         * gst/gstqueue.c: (gst_queue_change_state):
11153         Don't queue buffers in basesink when we are flushing.
11154         Unref buffer when flushing in basesink.
11155         Flush queue when going to READY
11156         Unref buffer when _push() returns an error.
11157         Don't free MiniObject instance when refcount is incremented
11158         in _finalize() so that we can recover objects.
11159
11160 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11161
11162         * docs/manual/advanced-schedulers.xml:
11163         * docs/manual/appendix-checklist.xml:
11164         * docs/pwg/advanced-clock.xml:
11165         * docs/pwg/advanced-interfaces.xml:
11166         * docs/pwg/advanced-request.xml:
11167         * docs/pwg/advanced-types.xml:
11168         * docs/pwg/intro-preface.xml:
11169         * examples/plugins/example.c: (gst_example_get_type),
11170         (gst_example_class_init), (gst_example_chain),
11171         (gst_example_set_property), (gst_example_get_property),
11172         (gst_example_change_state), (plugin_init):
11173         * examples/plugins/example.h:
11174           small doc fixes
11175
11176 2005-05-17  Wim Taymans  <wim@fluendo.com>
11177
11178         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11179         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11180         * gst/gstqueue.c: (gst_queue_change_state):
11181         Clear queue when going to READY.
11182         Remove IN_SETCAPS flag too.
11183
11184 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11185
11186         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11187           Remove implicit cast from gboolean to GstElementStateReturn;
11188           make sure we still return failure in paused => ready case if
11189           the parent class fails to change state and our own stop 
11190           vfunc succeeds.
11191
11192 2005-05-17  Wim Taymans  <wim@fluendo.com>
11193
11194         * tools/gst-launch.c: (event_loop):
11195         Message was unreffed too soon.
11196
11197 2005-05-16  Andy Wingo  <wingo@pobox.com>
11198
11199         * gst/gstbin.c (sink_iterator_filter): Err... um...
11200
11201         * check/gst/gstbin.c (test_ghost_pads): New test for the
11202         ghosting-if-elements-not-in-same-bin behavior.
11203
11204 2005-05-16  David Schleef  <ds@schleef.org>
11205
11206         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11207         accessing refcount directly.
11208
11209 2005-05-15  David Schleef  <ds@schleef.org>
11210
11211         * check/Makefile.am: remove GstData checks
11212         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11213         * gst/Makefile.am: add miniobject, remove data
11214         * gst/gst.h: add miniobject, remove data
11215         * gst/gstdata.c: remove
11216         * gst/gstdata.h: remove
11217         * gst/gstdata_private.h: remove
11218         * gst/gsttypes.h: remove GstEvent and GstMessage
11219         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11220         * gst/gstmarshal.list: change BOXED -> OBJECT
11221
11222         Implement GstMiniObject.
11223         * gst/gstminiobject.c:
11224         * gst/gstminiobject.h:
11225
11226         Modify to be subclasses of GstMiniObject.
11227         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11228         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11229         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11230         (gst_subbuffer_get_type), (gst_subbuffer_init),
11231         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11232         (gst_buffer_span):
11233         * gst/gstbuffer.h:
11234         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11235         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11236         (_gst_event_copy), (gst_event_new):
11237         * gst/gstevent.h:
11238         * gst/gstmessage.c: (_gst_message_initialize),
11239         (gst_message_get_type), (gst_message_class_init),
11240         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11241         (gst_message_new), (gst_message_new_error),
11242         (gst_message_new_warning), (gst_message_new_tag),
11243         (gst_message_new_state_changed), (gst_message_new_application):
11244         * gst/gstmessage.h:
11245         * gst/gstprobe.c: (gst_probe_perform),
11246         (gst_probe_dispatcher_dispatch):
11247         * gst/gstprobe.h:
11248         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11249         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11250         (_gst_query_copy), (gst_query_new):
11251
11252         Update elements for GstData -> GstMiniObject changes
11253         * gst/gstquery.h:
11254         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11255         (gst_queue_chain), (gst_queue_loop):
11256         * gst/elements/gstbufferstore.c:
11257         (gst_buffer_store_add_buffer_func),
11258         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11259         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11260         (gst_fakesink_render):
11261         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11262         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11263         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11264         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11265         (gst_filesrc_create_read):
11266         * gst/elements/gstidentity.c: (gst_identity_class_init):
11267         * gst/elements/gsttypefindelement.c:
11268         (gst_type_find_element_src_event), (free_entry_buffers),
11269         (gst_type_find_element_handle_event):
11270         * libs/gst/dataprotocol/dataprotocol.c:
11271         (gst_dp_header_from_buffer):
11272         * libs/gst/dataprotocol/dataprotocol.h:
11273         * libs/gst/dataprotocol/dp-private.h:
11274
11275 2005-05-15  David Schleef  <ds@schleef.org>
11276
11277         * gst/elements/gstelements.c: Don't include headers that were
11278         just removed.
11279
11280 2005-05-15  David Schleef  <ds@schleef.org>
11281
11282         * gst/elements/Makefile.am: Remove some elements that don't
11283         need to be in the core (or even exist at all).
11284         * gst/elements/gstaggregator.c:
11285         * gst/elements/gstaggregator.h:
11286         * gst/elements/gstmd5sink.c:
11287         * gst/elements/gstmd5sink.h:
11288         * gst/elements/gstmultifilesrc.c:
11289         * gst/elements/gstmultifilesrc.h:
11290         * gst/elements/gstpipefilter.c:
11291         * gst/elements/gstpipefilter.h:
11292         * gst/elements/gstshaper.c:
11293         * gst/elements/gstshaper.h:
11294         * gst/elements/gststatistics.c:
11295         * gst/elements/gststatistics.h:
11296         * po/POTFILES.in: Remove above files.
11297
11298 2005-05-14  Andy Wingo  <wingo@pobox.com>
11299
11300         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11301         so as to get the refs right.
11302         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11303         unreffing objects that don't pass the filter.
11304
11305         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11306         gst_element_set_bus.
11307         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11308         normal cases, this will destroy the bus.
11309
11310         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11311         object.
11312
11313         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11314         has no sinks.
11315
11316 2005-05-13  Andy Wingo  <wingo@pobox.com>
11317
11318         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11319         gst_pad_link, call pad_link_maybe_ghosting,
11320         (pad_link_maybe_ghosting): Links pads, making sure that the
11321         elements being linked are in the same bin.
11322         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11323         Helpers for pad_link_maybe_ghosting.
11324
11325 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11326
11327         * configure.ac:
11328           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11329
11330 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11331
11332         * docs/design/part-element-source.txt:
11333           Mention GstPushSrc
11334
11335 2005-05-12  Wim Taymans  <wim@fluendo.com>
11336
11337         * gst/base/gstbasesink.c: (gst_basesink_init),
11338         (gst_basesink_activate):
11339         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11340         (gst_basesrc_is_seekable):
11341         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11342         (bin_element_is_sink), (gst_bin_change_state):
11343         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11344         * gst/gstelement.h:
11345         Identify sinks by their flag to avoid overly complicated
11346         checks (fow now).
11347         Do state changes even for elements not reachable from the
11348         sinks.
11349         BaseSink is a sink now :)
11350         Some more debugging info in the basesrc.
11351
11352
11353 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11354
11355         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11356           Implement _query on a bin, similar to _send_event.
11357
11358 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11359
11360         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11361           Discont event offset format should be GST_FORMAT_BYTES,
11362           not GST_FORMAT_TIME.
11363
11364 2005-05-12  Wim Taymans  <wim@fluendo.com>
11365
11366         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11367         Same fix as Ronald's but without the signal. 
11368
11369 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11370
11371         * gst/gstutils.c: (gst_element_query_position):
11372           No, an element is not a pad.
11373
11374 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11375
11376         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11377         (gst_bin_get_state):
11378           If a child is removed from a bin while we remove the child from
11379           the bin and while we're retrieving its state, signal this to the
11380           get_state function so we abort the wait (instead of waiting for
11381           a timeout) and can immediately re-iterate over all other elements.
11382
11383 2005-05-12  Wim Taymans  <wim@fluendo.com>
11384
11385         * gst/base/Makefile.am:
11386         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11387         (gst_basesrc_start):
11388         * gst/base/gstbasesrc.h:
11389         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11390         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11391         (gst_pushsrc_init), (gst_pushsrc_create):
11392         * gst/base/gstpushsrc.h:
11393         Added is_seekable to BaseSrc
11394         Added simple PushSrc.
11395
11396 2005-05-11  Wim Taymans  <wim@fluendo.com>
11397
11398         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11399         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11400         (gst_element_link_pads), (gst_element_query_position),
11401         (gst_element_query_convert), (intersect_caps_func),
11402         (gst_pad_query_position), (gst_pad_query_convert):
11403         Fix refcounting in utils function.
11404         No point in trying to activate a pad when it's added, it could
11405         be added from the state change function and then we deadlock, the
11406         element has to decide what to do.
11407
11408 2005-05-10  Andy Wingo  <wingo@pobox.com>
11409
11410         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11411         *all* the arguments.
11412
11413         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11414         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11415         lock (according to the docs -- if this is wrong change the docs).
11416
11417         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11418         flush messages in the NULL state.
11419
11420         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11421         message immediately and return.
11422         (gst_bus_set_flushing): New function. If a bus is flushing, it
11423         flushes out any queued messages and immediately unrefs new
11424         messages. This is so when an element goes to NULL, all of the
11425         unhandled messages coming from it can be freed, and their
11426         references to the element dropped. In other words: message source
11427         ref considered harmful :P
11428
11429         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11430         we're finished with it.
11431
11432         * gst/gstmessage.c (gst_message_new_state_changed): 
11433
11434 2005-05-10  Wim Taymans  <wim@fluendo.com>
11435
11436         * gst/gstvalue.c: (gst_value_compare_flags),
11437         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11438         (_gst_value_initialize):
11439         Added flags serialize/deserialize/compare code.
11440
11441 2005-05-09  Andy Wingo  <wingo@pobox.com>
11442
11443         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11444         Intersect the peer's caps with our caps.
11445
11446 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11447
11448         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11449         * gst/elements/gsttypefindelement.c: (find_peek):
11450           Handle negative offsets better. Fixes decodebin.
11451
11452 2005-05-09  Wim Taymans  <wim@fluendo.com>
11453
11454         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11455         (gst_base_transform_event):
11456         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11457         Implement accept_caps.
11458         Fix silly lock/unlock mismatch in base class.
11459
11460 2005-05-09  Wim Taymans  <wim@fluendo.com>
11461
11462         * docs/design/draft-push-pull.txt:
11463         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11464         * gst/elements/gstfilesink.c: (gst_filesink_init),
11465         (gst_filesink_query):
11466         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11467         (gst_type_find_handle_src_query), (find_element_get_length):
11468         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11469         * gst/gstelement.h:
11470         * gst/gstmessage.c:
11471         * gst/gstmessage.h:
11472         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11473         (gst_real_pad_get_caps_unlocked),
11474         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11475         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11476         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11477         (gst_real_pad_dispose), (gst_real_pad_finalize),
11478         (gst_pad_load_and_link), (gst_pad_save_thyself),
11479         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11480         (gst_pad_check_pull_range), (gst_pad_pull_range),
11481         (gst_pad_template_get_type), (gst_pad_template_class_init),
11482         (gst_pad_template_init), (gst_pad_template_dispose),
11483         (name_is_valid), (gst_static_pad_template_get),
11484         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11485         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11486         (gst_pad_get_element_private), (gst_pad_start_task),
11487         (gst_pad_pause_task), (gst_pad_stop_task),
11488         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11489         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11490         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11491         (gst_ghost_pad_new):
11492         * gst/gstpad.h:
11493         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11494         (gst_query_new_position), (gst_query_set_position),
11495         (gst_query_parse_position), (gst_query_new_convert),
11496         (gst_query_set_convert), (gst_query_parse_convert):
11497         * gst/gstquery.h:
11498         * gst/gstqueryutils.c:
11499         * gst/gstqueryutils.h:
11500         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11501         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11502         (gst_queue_handle_src_query):
11503         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11504         (gst_element_query_position), (gst_element_query_convert),
11505         (intersect_caps_func), (gst_pad_query_position),
11506         (gst_pad_query_convert):
11507         * gst/gstutils.h:
11508         * tools/gst-inspect.c: (print_pad_info):
11509         * tools/gst-xmlinspect.c: (print_element_info):
11510         Remove old query functions. Ported old code.
11511         Added position/convert helper functions to gstutils.
11512         Reordered gstpad.c code, grouping relevant things.
11513         Remove gst_message_new(), always need to speficy a specific
11514         message.
11515
11516
11517 2005-05-09  Andy Wingo  <wingo@pobox.com>
11518
11519         * gst/gstiterator.h: Add some includes.
11520
11521         * gst/gstqueryutils.h: Include more headers.
11522
11523         * gst/gstpad.h:
11524         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11525         some uses of gst_pad_query.
11526
11527         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11528         NULL out parameters.
11529         (gst_query_new_position): New proc, allocates a new position
11530         query.
11531
11532         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11533         gstqueryutils.c to the build.
11534
11535         * gst/gststructure.c (gst_structure_set_valist): Implement with
11536         the generic G_VALUE_COLLECT.
11537         
11538 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11539
11540         * gst/Makefile.am: (gst_headers):
11541         Added gstqueryutils.h to the list of headers to install, that was
11542         a 'nachty' move wingo :)
11543
11544 2005-05-06  Andy Wingo  <wingo@pobox.com>
11545
11546         * gst/gstquery.h
11547         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11548         GstData, init a memchunk.
11549         (standard_definitions): Add a few query types, deprecate a few.
11550         (gst_query_get_type): New proc.
11551         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11552         implementation.
11553         (gst_query_new_application, gst_query_get_structure): New public
11554         procs.
11555
11556         * docs/design/draft-query.txt: Removed LINKS from the query types,
11557         because all the rest can be dispatched to other pads -- seemed
11558         ugly to have a query that couldn't be dispatched. internal_links
11559         is fine as a pad method.
11560
11561         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11562         in gstpad.c, but maintain binary compatibility for the moment.
11563         Will fix before 0.9 is out.
11564
11565         * gst/gstqueryutils.c: 
11566         * gst/gstqueryutils.h: New files, implement 3 methods for each
11567         query type: parse_query, parse_response, and set. Probably need an
11568         allocator as well.
11569
11570         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11571
11572         * gst/elements/gstfilesink.c (gst_filesink_query2):
11573         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11574         query_types, and formats methods.
11575
11576         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11577         (gst_pad_set_query2_function): New functions.
11578         (gst_real_pad_init): Set query2_default as the default query2
11579         function. Basically just dispatches to internally linked pads.
11580
11581         Needs review!
11582         
11583         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11584         without using the atomic operations. Only one thread can possibly
11585         be accessing the data at this point. Changed so as to avoid
11586         gst_atomic operations.
11587
11588 2005-05-06  Wim Taymans  <wim@fluendo.com>
11589
11590         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11591         Also set caps if we use the fallback buffer alloc.
11592
11593 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11594
11595         * docs/gst/Makefile.am:
11596         * docs/gst/gstreamer-docs.sgml:
11597         * docs/gst/gstreamer-sections.txt:
11598         * docs/gst/tmpl/gstatomic.sgml:
11599         * docs/gst/tmpl/gstmemchunk.sgml:
11600         * testsuite/elements/struct_i386.h:
11601         * win32/GStreamer.vcproj:
11602         * win32/Makefile:
11603           Purge GstAtomic stuff from docs and win32 makefiles as well
11604
11605 2005-05-06  Wim Taymans  <wim@fluendo.com>
11606
11607         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11608         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11609         * gst/gstpad.c: (gst_pad_peer_get_caps):
11610         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11611         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11612         (gst_queue_src_activate), (gst_queue_change_state):
11613         * gst/gstqueue.h:
11614         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11615         (intersect_caps_func):
11616         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11617         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11618         Some fixes for the peer_get_caps() change.
11619
11620 2005-05-06  Wim Taymans  <wim@fluendo.com>
11621
11622         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11623         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11624         (gst_basesink_activate):
11625         Actually do something with error codes returned from the push
11626         functions.
11627
11628 2005-05-06  Wim Taymans  <wim@fluendo.com>
11629
11630         * docs/design/part-element-sink.txt:
11631         * docs/design/part-element-source.txt:
11632         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11633         (gst_basesink_event), (gst_basesink_activate):
11634         * gst/base/gstbasesink.h:
11635         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11636         (gst_basesrc_activate):
11637         * gst/base/gstbasesrc.h:
11638         * gst/gstelement.c: (gst_element_pads_activate):
11639         Some more documentation.
11640         Fixed scheduling decision in _pads_activate().
11641
11642 2005-05-05  Andy Wingo  <wingo@pobox.com>
11643
11644         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11645         the test suite.
11646
11647 2005-05-05  Wim Taymans  <wim@fluendo.com>
11648
11649         * gst/base/Makefile.am:
11650         * gst/base/gstbasesink.h:
11651         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11652         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11653         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11654         (gst_collectpads_class_init), (gst_collectpads_init),
11655         (gst_collectpads_finalize), (gst_collectpads_new),
11656         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11657         (find_pad), (gst_collectpads_remove_pad),
11658         (gst_collectpads_is_active), (gst_collectpads_collect),
11659         (gst_collectpads_collect_range), (gst_collectpads_start),
11660         (gst_collectpads_stop), (gst_collectpads_peek),
11661         (gst_collectpads_pop), (gst_collectpads_available),
11662         (gst_collectpads_read), (gst_collectpads_flush),
11663         (gst_collectpads_chain):
11664         * gst/base/gstcollectpads.h:
11665         * gst/elements/Makefile.am:
11666         * gst/elements/gstelements.c:
11667         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11668         (gst_fakesink_get_times), (gst_fakesink_event),
11669         (gst_fakesink_preroll), (gst_fakesink_render):
11670         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11671         (gst_filesink_init), (gst_filesink_set_location),
11672         (gst_filesink_open_file), (gst_filesink_close_file),
11673         (gst_filesink_pad_query), (gst_filesink_event),
11674         (gst_filesink_render), (gst_filesink_change_state):
11675         * gst/elements/gstfilesink.h:
11676         Added object to help in making collect pad based elements.
11677         Ported filesink.
11678         Make event function in sink baseclass return gboolean.
11679
11680 2005-05-05  Wim Taymans  <wim@fluendo.com>
11681
11682         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11683         (gst_bin_get_by_name):
11684         * gst/gstbuffer.h:
11685         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11686         (gst_clock_finalize):
11687         * gst/gstdata.c: (gst_data_replace):
11688         * gst/gstdata.h:
11689         * gst/gstelement.c: (gst_element_request_pad),
11690         (gst_element_pads_activate):
11691         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11692         (gst_object_unref):
11693         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11694         (gst_pad_set_checkgetrange_function),
11695         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11696         (gst_pad_check_pull_range), (gst_pad_pull_range),
11697         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11698         (gst_pad_pause_task), (gst_pad_stop_task):
11699         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11700         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11701         Fix name lookup in GstBin.
11702         Added _data_replace() function and _buffer_replace()
11703         Use finalize method to clean up clock.
11704         Fix refcounting on request pads.
11705         Fix pad schedule mode error.
11706         Some more object refcounting debug info,
11707
11708
11709 2005-05-04  Andy Wingo <wingo@pobox.com>
11710
11711         * check/Makefile.am:
11712         * docs/gst/tmpl/gstatomic.sgml:
11713         * docs/gst/tmpl/gstplugin.sgml:
11714         * gst/base/gstbasesink.c: (gst_basesink_activate):
11715         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11716         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11717         (gst_basesrc_query), (gst_basesrc_set_property),
11718         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11719         (gst_basesrc_activate):
11720         * gst/base/gstbasesrc.h:
11721         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11722         (gst_base_transform_src_activate):
11723         * gst/elements/gstelements.c:
11724         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11725         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11726         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11727         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11728         (gst_type_find_element_checkgetrange),
11729         (gst_type_find_element_activate):
11730         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11731         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11732         (gst_caps_load_thyself):
11733         * gst/gstelement.c: (gst_element_pads_activate),
11734         (gst_element_save_thyself), (gst_element_restore_thyself):
11735         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11736         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11737         * gst/gstpad.h:
11738         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11739         (gst_xml_parse_file), (gst_xml_parse_memory),
11740         (gst_xml_get_element), (gst_xml_make_element):
11741         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11742         (_file_index_id_save_xml), (gst_file_index_commit):
11743         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11744         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11745         (load_paths):
11746         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11747         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11748         * tools/gst-complete.c: (main):
11749         * tools/gst-compprep.c: (main):
11750         * tools/gst-inspect.c: (print_element_properties_info):
11751         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11752         * tools/gst-xmlinspect.c: (print_element_properties):
11753         GCC 4 fixen.
11754         
11755 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11756
11757         * gst/gstplugin.c: (gst_plugin_check_module),
11758         (gst_plugin_check_file), (gst_plugin_load_file):
11759             apply patch from #172526 to make register work on MacOSX
11760
11761 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11762
11763         * docs/gst/tmpl/gstconfig.sgml:
11764         * gst/gstconfig.h.in:
11765           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11766         * testsuite/debug/printf_extension.c: (main):
11767           Do not use GST_PTR_FORMAT on pointers to types with
11768           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11769         * testsuite/elements/property.h:
11770           use correct printf format
11771
11772 2005-05-02  Wim Taymans  <wim@fluendo.com>
11773
11774         * docs/design/draft-push-pull.txt:
11775         * docs/design/draft-query.txt:
11776         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11777         (gst_basesrc_start):
11778         Added draft for new query API.
11779         Added draft for better selecting scheduling methods.
11780         Make basesrc ignore length if the subclass does not support
11781         it.
11782
11783 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11784
11785         * gst/Makefile.am:
11786           possible fixes for automake-1.5 - _LIBADD is reserved
11787
11788 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11789
11790         * docs/faq/Makefile.am:
11791         * docs/manual/Makefile.am:
11792         * docs/manuals.mak:
11793         * docs/pwg/Makefile.am:
11794         * gst/Makefile.am:
11795           possible fixes for automake-1.5
11796
11797 2005-04-28  Wim Taymans  <wim@fluendo.com>
11798
11799         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11800         (gst_basesink_pad_getcaps), (gst_basesink_init),
11801         (gst_basesink_do_sync):
11802         * gst/gstclock.c: (gst_clock_entry_new):
11803         * gst/gstevent.c: (gst_event_discont_get_value):
11804         * gst/gstpipeline.c: (pipeline_bus_handler),
11805         (gst_pipeline_change_state):
11806         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11807         Better debugging of clocking info.
11808         Allow NULL values when getting discont values.
11809
11810 2005-04-27  Wim Taymans  <wim@fluendo.com>
11811
11812         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11813         * check/gst/gstpad.c: (gst_pad_suite):
11814         Increase timeout for checks.
11815
11816 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11817
11818         * check/Makefile.am:
11819           fix the broken rule for cleanup.  Apparently this rule is
11820           only needed on FC2, so maybe this warrants further autotool
11821           inspection.
11822
11823 2005-04-26  Wim Taymans  <wim@fluendo.com>
11824
11825         * gst/gsttrashstack.h:
11826         Ooohh. a nasty one! After having a failed pop() from the stack,
11827         it's possible that the stack is empty. In that case, don't
11828         follow the NULL pointer.
11829
11830 2005-04-25  Wim Taymans  <wim@fluendo.com>
11831
11832         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11833         (gst_pad_set_checkgetrange_function),
11834         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11835         (gst_pad_check_pull_range), (gst_pad_pull_range),
11836         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11837         (gst_pad_pause_task), (gst_pad_stop_task):
11838         * gst/gstplugin.c: (gst_plugin_load):
11839         * gst/gstplugin.h:
11840         Remove gst_library_load as it does more harm than good with
11841         the new g_module flags.
11842         Revert bogus caps template check in pad linking, pad caps
11843         are important when linking not the template, which is more
11844         general than the current caps.
11845
11846 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11847
11848         * gst/autoplug/.cvsignore:
11849         * gst/autoplug/Makefile.am:
11850         * gst/autoplug/gstsearchfuncs.c:
11851         * gst/autoplug/gstsearchfuncs.h:
11852         * gst/autoplug/gstspider.c:
11853         * gst/autoplug/gstspider.h:
11854         * gst/autoplug/gstspideridentity.c:
11855         * gst/autoplug/gstspideridentity.h:
11856         * gst/autoplug/spidertest.c:
11857           Die, spider, die.
11858
11859 2005-04-25  Wim Taymans  <wim@fluendo.com>
11860
11861         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11862         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11863         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11864         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11865         * gst/gstpad.h:
11866         Added stubs for unimplemented functions. 
11867
11868 2005-04-24  David Schleef  <ds@schleef.org>
11869
11870         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11871         please fix.
11872
11873 2005-04-24  David Schleef  <ds@schleef.org>
11874
11875         Convert everything from GstAtomicInt to g_atomic_int_*, and
11876         remove gstatomic.
11877         * gst/Makefile.am:
11878         * gst/gstatomic.c:
11879         * gst/gstatomic.h:
11880         * gst/gstatomic_impl.h:
11881         * gst/gstbuffer.c:
11882         * gst/gstcaps.c:
11883         * gst/gstcaps.h:
11884         * gst/gstclock.c:
11885         * gst/gstclock.h:
11886         * gst/gstdata.c:
11887         * gst/gstdata.h:
11888         * gst/gstdata_private.h:
11889         * gst/gstevent.c:
11890         * gst/gstinfo.c:
11891         * gst/gstinfo.h:
11892         * gst/gstmessage.c:
11893         * gst/gstobject.c:
11894         * gst/gstobject.h:
11895         * gst/gststructure.c:
11896         * gst/gststructure.h:
11897         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11898         * gst/gstutils.h:
11899
11900 2005-04-24  David Schleef  <ds@schleef.org>
11901
11902         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11903         make the regressions tests work.  Remove some code that is no
11904         longer true.
11905         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11906         Disable warning for pads without templates.
11907
11908 2005-04-24  David Schleef  <ds@schleef.org>
11909
11910         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11911         functions that handle filtered links.
11912         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11913         removed functions.
11914         * gst/gstutils.c: Fix/remove utility functions that handle
11915         filtered caps.
11916         * gst/gstutils.h:
11917         * gst/gstvalue.c: Add serialization/deserialization of caps
11918         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11919         requires fixing so that the filter caps notation creates
11920         a capsfilter element and sets the filter_caps property.  I
11921         think everyone probably wants to keep the shorthand notation.
11922         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11923         * docs/gst/tmpl/gstpad.sgml:
11924
11925         * gst/elements/gstelements.c: Register capsfilter element.
11926         * gst/Makefile.am: fix spacing
11927         * docs/random/ds/0.9-suggested-changes: random
11928
11929 2005-04-23  David Schleef  <ds@schleef.org>
11930
11931         * gst/elements/Makefile.am:
11932         * gst/elements/gstcapsfilter.c: New element that acts like an
11933         identity, but filters caps.  Will eventually replace filtered
11934         caps in pad linking.
11935         * gst/gstutils.c: (gst_element_create_all_pads): New function
11936         to create all the ALWAYS pads that are registered with an
11937         element class.  This functionality should eventually be
11938         merged in with GstElement initialization.
11939         * gst/gstutils.h:
11940         * testsuite/trigger/README: part of trigger test code that should
11941         have been checked in a long time ago.
11942
11943 2005-04-23  David Schleef  <ds@schleef.org>
11944
11945         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11946         needed with new versions of libtool (nobody will confirm this),
11947         and hard to carry around.
11948         * gst/autoplug/Makefile.am:
11949         * gst/base/Makefile.am:
11950         * gst/elements/Makefile.am:
11951         * gst/indexers/Makefile.am:
11952         * gst/schedulers/Makefile.am:
11953         * libs/gst/bytestream/Makefile.am:
11954         * libs/gst/control/Makefile.am:
11955         * libs/gst/dataprotocol/Makefile.am:
11956         * libs/gst/getbits/Makefile.am:
11957
11958 2005-04-21  Wim Taymans  <wim@fluendo.com>
11959
11960         * docs/design/draft-push-pull.txt:
11961         * docs/design/part-MT-refcounting.txt:
11962         * docs/design/part-TODO.txt:
11963         * docs/design/part-caps.txt:
11964         * docs/design/part-events.txt:
11965         * docs/design/part-gstbus.txt:
11966         * docs/design/part-gstpipeline.txt:
11967         * docs/design/part-messages.txt:
11968         * docs/design/part-push-pull.txt:
11969         * docs/design/part-query.txt:
11970         Some more docs.
11971
11972 2005-04-21  Wim Taymans  <wim@fluendo.com>
11973
11974         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11975         (gst_message_new), (gst_message_new_error),
11976         (gst_message_new_warning), (gst_message_new_tag),
11977         (gst_message_new_state_changed), (gst_message_new_application),
11978         (gst_message_get_structure):
11979         * gst/gstmessage.h:
11980         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11981         (gst_structure_copy_conditional):
11982         Use parent refcount in GstMessage to ensure GstStructure
11983         consistency.
11984         Cleaned up headers a bit.
11985         
11986
11987 2005-04-20  Wim Taymans  <wim@fluendo.com>
11988
11989         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11990         (gst_basesink_pad_getcaps), (gst_basesink_init),
11991         (gst_basesink_chain_unlocked):
11992         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11993         (gst_type_find_helper):
11994         * gst/elements/gsttypefindelement.c:
11995         (gst_type_find_element_have_type), (gst_type_find_element_init),
11996         (stop_typefinding), (gst_type_find_element_handle_event),
11997         (find_suggest), (gst_type_find_element_chain),
11998         (gst_type_find_element_checkgetrange),
11999         (gst_type_find_element_getrange), (do_typefind),
12000         (gst_type_find_element_activate):
12001         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12002         (gst_buffer_default_free), (gst_buffer_default_copy),
12003         (gst_buffer_set_caps):
12004         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12005         (gst_caps_replace):
12006         * gst/gstmessage.c: (gst_message_new),
12007         (gst_message_new_state_changed):
12008         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12009         (gst_pad_set_checkgetrange_function),
12010         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12011         (gst_pad_set_caps), (gst_pad_check_pull_range),
12012         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12013         * gst/gstpad.h:
12014         * gst/gsttypefind.c: (gst_type_find_register):
12015         Make gst_caps_replace() work like other _replace() functions.
12016         Use _caps_replace() where possible.
12017         Make sure _message_new() initialises its field.
12018         Add gst_static_pad_template_get_caps()
12019
12020
12021 2005-04-18  Andy Wingo  <wingo@pobox.com>
12022
12023         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12024         on the peer, not the pad. I think that was a typo. Pass an extra
12025         arg to see if random access is possible. Activate the pads as
12026         PULL_RANGE if possible.
12027
12028         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12029
12030         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12031         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12032         to PROP_....
12033
12034 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12035
12036         * docs/faq/using.xml:
12037           Add note on gstreamer-properties (#154996).
12038
12039 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12040
12041         * docs/random/bbb/optional-properties:
12042           Some analysis on optional properties.
12043
12044 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12045
12046         * docs/gst/tmpl/gstelementfactory.sgml:
12047         * gst/gstelement.h:
12048         * gst/gstelementfactory.c: (gst_element_factory_init),
12049         (gst_element_factory_cleanup), (gst_element_register),
12050         (__gst_element_factory_add_static_pad_template),
12051         (gst_element_factory_get_static_pad_templates),
12052         (gst_element_factory_can_src_caps),
12053         (gst_element_factory_can_sink_caps):
12054         * gst/registries/Makefile.am:
12055         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12056         (gst_xml_registry_class_init), (gst_xml_registry_init),
12057         (gst_xml_registry_new), (gst_xml_registry_set_property),
12058         (gst_xml_registry_get_property), (get_time), (make_dir),
12059         (gst_xml_registry_get_perms_func),
12060         (plugin_times_older_than_recurse), (plugin_times_older_than),
12061         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12062         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12063         (add_to_char_array), (read_string), (read_uint), (read_enum),
12064         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12065         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12066         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12067         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12068         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12069         (gst_xml_registry_rebuild):
12070         * gst/registries/gstlibxmlregistry.h:
12071         * tools/gst-compprep.c: (main):
12072         * tools/gst-inspect.c: (print_pad_templates_info):
12073         * tools/gst-xmlinspect.c: (print_element_info):
12074           Use libxml2 for registry parsing, use staticpadtemplates in
12075           elementfactories. Makes gst_init() +/- 10x faster.
12076
12077 2005-04-12  Wim Taymans  <wim@fluendo.com>
12078
12079         * gst/base/Makefile.am:
12080         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12081         (gst_basesink_pad_getcaps), (gst_basesink_init),
12082         (gst_basesink_event), (gst_basesink_change_state):
12083         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12084         (gst_basesrc_init), (gst_basesrc_query),
12085         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12086         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12087         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12088         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12089         (gst_basesrc_stop), (gst_basesrc_activate),
12090         (gst_basesrc_change_state):
12091         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12092         (helper_find_suggest), (gst_type_find_helper):
12093         * gst/base/gsttypefindhelper.h:
12094         * gst/elements/Makefile.am:
12095         * gst/elements/gstelements.c:
12096         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12097         (gst_fakesink_get_times), (gst_fakesink_event),
12098         (gst_fakesink_preroll), (gst_fakesink_render):
12099         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12100         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12101         (gst_fakesrc_get_property), (gst_fakesrc_create),
12102         (gst_fakesrc_start), (gst_fakesrc_stop):
12103         * gst/elements/gstfakesrc.h:
12104         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12105         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12106         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12107         (gst_filesrc_create_read), (gst_filesrc_create),
12108         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12109         (gst_filesrc_start):
12110         * gst/elements/gsttypefindelement.c:
12111         (gst_type_find_element_have_type), (gst_type_find_element_init),
12112         (start_typefinding), (stop_typefinding), (push_buffer_store),
12113         (gst_type_find_element_handle_event),
12114         (gst_type_find_element_chain),
12115         (gst_type_find_element_checkgetrange),
12116         (gst_type_find_element_getrange), (do_typefind),
12117         (gst_type_find_element_activate),
12118         (gst_type_find_element_change_state):
12119         * gst/elements/gsttypefindelement.h:
12120         * gst/gstpipeline.c: (pipeline_bus_handler):
12121         Added typefind helper.
12122         Small preroll fix in the base sink.
12123         Disable typefind code in basesrc.
12124         Crude port of typefindelement.
12125         Fakesrc cleanups.
12126
12127
12128 2005-04-11  Wim Taymans  <wim@fluendo.com>
12129
12130         * check/gst/gstbus.c: (gstbus_suite):
12131         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12132         * check/gstcheck.h:
12133           Fix up the timeout so that the test does not fail.
12134
12135 2005-04-06  Wim Taymans  <wim@fluendo.com>
12136
12137         * gst/base/README:
12138         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12139         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12140         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12141         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12142         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12143         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12144         (gst_basesrc_stop), (gst_basesrc_activate),
12145         (gst_basesrc_change_state), (basesrc_find_peek),
12146         (basesrc_find_suggest), (gst_basesrc_type_find):
12147         * gst/base/gstbasesrc.h:
12148         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12149         (gst_filesrc_class_init), (gst_filesrc_init),
12150         (gst_filesrc_finalize), (gst_filesrc_set_location),
12151         (gst_filesrc_set_property), (gst_filesrc_get_property),
12152         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12153         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12154         (gst_filesrc_create_read), (gst_filesrc_create),
12155         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12156         * gst/elements/gstfilesrc.h:
12157         * gst/gstelement.c: (gst_element_get_state_func),
12158         (gst_element_lost_state), (gst_element_pads_activate):
12159         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12160         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12161         (gst_pad_pull_range):
12162         * gst/gstpad.h:
12163         More work on the generic source base class, implement seeking,
12164         query.
12165         Make filesrc extend the base source class.
12166         Added gst_pad_set_checkgetrange_function to GstPad.
12167
12168 2005-04-06  Andy Wingo  <wingo@pobox.com>
12169
12170         * pkgconfig/gstreamer-base.pc.in:
12171         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12172
12173         * pkgconfig/Makefile.am:
12174         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12175
12176 2005-04-04  Wim Taymans  <wim@fluendo.com>
12177
12178         * gst/base/Makefile.am:
12179         * gst/base/README:
12180         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12181         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12182         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12183         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12184         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12185         (gst_basesrc_base_init), (gst_basesrc_class_init),
12186         (gst_basesrc_init), (gst_basesrc_get_formats),
12187         (gst_basesrc_get_query_types), (gst_basesrc_query),
12188         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12189         (gst_basesrc_set_property), (gst_basesrc_get_property),
12190         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12191         (gst_basesrc_loop), (gst_basesrc_activate),
12192         (gst_basesrc_change_state):
12193         * gst/base/gstbasesrc.h:
12194         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12195         (gst_fakesrc_class_init), (gst_fakesrc_init),
12196         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12197         (gst_fakesrc_get_property), (gst_fakesrc_create):
12198         * gst/elements/gstfakesrc.h:
12199         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12200         (gst_filesrc_open_file), (gst_filesrc_loop),
12201         (gst_filesrc_activate), (filesrc_find_peek),
12202         (gst_filesrc_type_find):
12203         Made base source class, make fakesrc extend it.
12204         Add comments to basesink class.
12205         Some filesrc cleanup.
12206
12207 2005-03-31  David Schleef  <ds@schleef.org>
12208
12209         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12210         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12211         expected to link against libgstreamer.
12212         * gst/base/Makefile.am: link against libgstreamer
12213         * gst/elements/Makefile.am: same
12214
12215 2005-03-31  Andy Wingo  <wingo@pobox.com>
12216
12217         * tests/instantiate/Makefile.am:
12218         * tests/instantiate/caps.c: Add test to test speed of caps copy
12219         and free.
12220
12221         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12222         GMemChunk to be fair.
12223
12224         * gst/gsttrashstack.h: Remove warning about using the fallback
12225         trash stack implementation, it's still faster than malloc.
12226
12227 2005-03-30  Andy Wingo  <wingo@pobox.com>
12228
12229         * tests/complexity.c: Add a copyright.
12230
12231 2005-03-31  Wim Taymans  <wim@fluendo.com>
12232
12233         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12234         (gst_base_transform_class_init), (gst_base_transform_init),
12235         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12236         (gst_base_transform_get_property),
12237         (gst_base_transform_sink_activate),
12238         (gst_base_transform_src_activate),
12239         (gst_base_transform_change_state):
12240         * gst/base/gstbasetransform.h:
12241         * gst/elements/gstidentity.c: (gst_identity_class_init),
12242         (gst_identity_event), (gst_identity_check_perfect),
12243         (gst_identity_transform), (gst_identity_start),
12244         (gst_identity_stop):
12245         Added start/stop methods to transform base class so subclasses 
12246         don't need to deal with state changes even.
12247
12248 2005-03-31  Wim Taymans  <wim@fluendo.com>
12249
12250         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12251         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12252         * gst/gstevent.h:
12253         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12254         (gst_pad_pull_range):
12255         Added rate to the discont event to prepare for variable speed
12256         and reverse playback.
12257
12258 2005-03-29  David Schleef  <ds@schleef.org>
12259
12260         * configure.ac:
12261         * testsuite/trigger/Makefile.am:
12262         * testsuite/trigger/trigger.c: A little example program to show
12263         how trigger-based elements can work.
12264
12265 2005-03-29  Wim Taymans  <wim@fluendo.com>
12266
12267         * gst/base/Makefile.am:
12268         * gst/base/README:
12269         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12270         (gst_basesink_base_init), (gst_basesink_class_init),
12271         (gst_basesink_pad_getcaps), (gst_basesink_init),
12272         (gst_basesink_activate), (gst_basesink_change_state):
12273         * gst/base/gstbasesink.h:
12274         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12275         (gst_base_transform_base_init), (gst_base_transform_finalize),
12276         (gst_base_transform_class_init), (gst_base_transform_init),
12277         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12278         (gst_base_transform_event), (gst_base_transform_getrange),
12279         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12280         (gst_base_transform_set_property),
12281         (gst_base_transform_get_property),
12282         (gst_base_transform_sink_activate),
12283         (gst_base_transform_src_activate),
12284         (gst_base_transform_change_state):
12285         * gst/base/gstbasetransform.h:
12286         * gst/elements/gstidentity.c: (gst_identity_finalize),
12287         (gst_identity_class_init), (gst_identity_init),
12288         (gst_identity_event), (gst_identity_check_perfect),
12289         (gst_identity_transform), (gst_identity_set_property),
12290         (gst_identity_get_property), (gst_identity_change_state):
12291         * gst/elements/gstidentity.h:
12292         * gst/gstelement.c: (gst_element_get_state_func),
12293         (gst_element_lost_state), (gst_element_pads_activate):
12294         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12295         (gst_pad_check_pull_range), (gst_pad_pull_range):
12296         * gst/gstpad.h:
12297         Simplify pad activation.
12298         Added function to check if pull_range can be performed.
12299         Error out when pulling inactive or flushing pads.
12300         Removed const from refcounted types as it does not make sense.
12301         Simplify pad templates in basesink
12302         Added base class for simple 1-to-1 transforms.
12303         Make identity subclass the base transform.
12304
12305 2005-03-29  Andy Wingo  <wingo@pobox.com>
12306
12307         * docs/libs/gstreamer-libs-overrides.txt: 
12308         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12309         really don't understand what's going on, but like whatever. I want
12310         green buildbot!
12311
12312         * docs/gst/Makefile.am:
12313         * docs/libs/Makefile.am: Dist the overrides files.
12314
12315         * check/Makefile.am (clean-local): Remove .libs directories.
12316
12317         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12318         elements to EXTRA_DIST, so po/ files are happy.
12319
12320         * po/POTFILES.in: Er, remove it here.
12321
12322         * po/POTFILES: Remove gstspider.c.
12323
12324         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12325
12326         * docs/libs/gstreamer-libs-docs.sgml: 
12327         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12328         bytestream.
12329
12330         * tests/complexity.c (main): Set the length of the preroll queue
12331         on the sinks to prevent a lockup.
12332
12333         * libs/gst/dataprotocol/Makefile.am: 
12334         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12335         the same as the one in check/gst-libs/gdp.c.
12336
12337         * po/, docs/gst/: Commit automatic changes to docs and po files.
12338
12339         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12340         the versioned libgstbase.
12341
12342         * check/Makefile.am: Depend on an unversioned gst-register, seems
12343         to make autoconf happier.
12344
12345         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12346
12347 2005-03-28  Wim Taymans  <wim@fluendo.com>
12348
12349         * configure.ac:
12350         * docs/design/part-gstelement.txt:
12351         * docs/design/part-negotiation.txt:
12352         * docs/design/part-preroll.txt:
12353         * docs/design/part-scheduling.txt:
12354         * docs/design/part-states.txt:
12355         * gst/Makefile.am:
12356         * gst/base/Makefile.am:
12357         * gst/base/README:
12358         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12359         (gst_basesink_base_init), (gst_basesink_class_init),
12360         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12361         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12362         (gst_basesink_set_pad_functions),
12363         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12364         (gst_basesink_set_property), (gst_basesink_get_property),
12365         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12366         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12367         (gst_basesink_preroll_queue_push),
12368         (gst_basesink_preroll_queue_empty),
12369         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12370         (gst_basesink_event), (gst_basesink_get_times),
12371         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12372         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12373         (gst_basesink_loop), (gst_basesink_activate),
12374         (gst_basesink_change_state):
12375         * gst/base/gstbasesink.h:
12376         * gst/elements/Makefile.am:
12377         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12378         (gst_fakesink_class_init), (gst_fakesink_init),
12379         (gst_fakesink_set_property), (gst_fakesink_get_property),
12380         (gst_fakesink_get_times), (gst_fakesink_event),
12381         (gst_fakesink_preroll), (gst_fakesink_render),
12382         (gst_fakesink_change_state):
12383         * gst/elements/gstfakesink.h:
12384         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12385         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12386         * gst/gstelement.c: (gst_element_add_pad),
12387         (gst_element_get_state_func), (gst_element_abort_state),
12388         (gst_element_commit_state), (gst_element_lost_state),
12389         (gst_element_set_state), (gst_element_pads_activate):
12390         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12391         * gst/gstpipeline.c: (gst_pipeline_send_event),
12392         (gst_pipeline_change_state):
12393         Added state change code.
12394         Added/updated docs.
12395         Added sink base class, make fakesink extend the base class.
12396         Small cleanups in GstPipeline.
12397
12398 2005-03-26  David Schleef  <ds@schleef.org>
12399
12400         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12401         is broken and should be implemented in a different library.
12402         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12403         * gst/gst.h: remove gstcpu.h
12404         * gst/gstcpu.c: remove
12405         * gst/gstcpu.h: remove
12406         * gst/Makefile.am.future: Remove this file.  It's ancient.
12407
12408 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12409
12410         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12411         (gst_bin_send_event):
12412           Add default event/set_manager handlers. The set_manager handler
12413           takes care that the manager is distributed over kids that were
12414           already in the bin before the manager was set. The event handler
12415           is a utility virtual function that sends the event over all sinks,
12416           so that gst_element_send_event (bin, event); has the expected
12417           behaviour.
12418         * gst/gstpad.c: (gst_pad_event_default):
12419           Re-install default event handling for discontinuities, so that
12420           seeking works without requiring hacks in applications or extra
12421           code in sinks.
12422         * gst/gstpipeline.c: (gst_pipeline_class_init),
12423         (gst_pipeline_send_event):
12424           Half hack, half utility: set a pipeline to PAUSED for seek events,
12425           since that is the only way we can guarantee a/v sync. Means that
12426           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12427           and it "just works".
12428
12429 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12430
12431         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12432           Lock/unlock mismatch.
12433
12434 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12435
12436         * docs/faq/gst-uninstalled:
12437           add gst-plugins-base
12438         * docs/gst/Makefile.am:
12439           don't error out until docs are fixed
12440         * docs/gst/gstreamer.types:
12441           remove thread
12442
12443 2005-03-22  Wim Taymans  <wim@fluendo.com>
12444
12445         * check/Makefile.am:
12446         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12447         * gst/gststructure.c: (gst_structure_set_valist),
12448         (gst_structure_copy_conditional):
12449         Activated more tests.
12450         Added message test.
12451         Added G_TYPE_POINTER to GstStructure.
12452         
12453
12454 2005-03-22  Wim Taymans  <wim@fluendo.com>
12455
12456         * docs/design/part-TODO.txt:
12457         * docs/design/part-events.txt:
12458         * docs/design/part-gstbin.txt:
12459         * docs/design/part-gstbus.txt:
12460         * docs/design/part-gstpipeline.txt:
12461         * docs/design/part-messages.txt:
12462         * gst/gstbus.c:
12463         * gst/gstmessage.c:
12464         Docs updates
12465
12466 2005-03-21  Wim Taymans  <wim@fluendo.com>
12467
12468         * gst/gstbus.c: (gst_bus_post):
12469         Fix copy-and-paste error.
12470
12471 2005-03-21  Wim Taymans  <wim@fluendo.com>
12472
12473         * check/Makefile.am:
12474         * gst/Makefile.am:
12475         * gst/elements/Makefile.am:
12476         * gst/elements/gstelements.c:
12477         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12478         (gst_fakesink_event), (gst_fakesink_chain):
12479         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12480         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12481         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12482         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12483         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12484         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12485         (gst_fakesrc_loop), (gst_fakesrc_activate),
12486         (gst_fakesrc_change_state):
12487         * gst/elements/gstfakesrc.h:
12488         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12489         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12490         (gst_filesrc_open_file), (gst_filesrc_loop),
12491         (gst_filesrc_activate), (gst_filesrc_change_state),
12492         (filesrc_find_peek), (filesrc_find_suggest),
12493         (gst_filesrc_type_find):
12494         * gst/elements/gstidentity.c: (gst_identity_finalize),
12495         (gst_identity_class_init), (gst_identity_init),
12496         (gst_identity_proxy_getcaps), (identity_queue_push),
12497         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12498         (gst_identity_getrange), (gst_identity_chain),
12499         (gst_identity_sink_loop), (gst_identity_src_loop),
12500         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12501         (gst_identity_set_property), (gst_identity_get_property),
12502         (gst_identity_change_state):
12503         * gst/elements/gstidentity.h:
12504         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12505         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12506         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12507         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12508         (gst_tee_sink_activate):
12509         * gst/elements/gsttee.h:
12510         * gst/gst.c: (gst_register_core_elements), (init_post):
12511         * gst/gst.h:
12512         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12513         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12514         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12515         (gst_bin_change_state):
12516         * gst/gstbin.h:
12517         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12518         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12519         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12520         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12521         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12522         (bus_watch_callback), (bus_watch_destroy),
12523         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12524         (poll_timeout), (gst_bus_poll):
12525         * gst/gstbus.h:
12526         * gst/gstcaps.h:
12527         * gst/gstdata.h:
12528         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12529         (gst_element_post_message), (gst_element_message_full),
12530         (gst_element_get_state_func), (gst_element_get_state),
12531         (gst_element_abort_state), (gst_element_commit_state),
12532         (gst_element_lost_state), (gst_element_set_state),
12533         (gst_element_pads_activate), (gst_element_change_state),
12534         (gst_element_dispose), (gst_element_set_manager_func),
12535         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12536         (gst_element_set_manager), (gst_element_get_manager),
12537         (gst_element_set_bus), (gst_element_get_bus),
12538         (gst_element_set_scheduler), (gst_element_get_scheduler):
12539         * gst/gstelement.h:
12540         * gst/gstevent.c: (gst_event_new_segment_seek),
12541         (gst_event_new_flush):
12542         * gst/gstevent.h:
12543         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12544         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12545         (gst_message_new_eos), (gst_message_new_error),
12546         (gst_message_new_warning), (gst_message_new_tag),
12547         (gst_message_new_state_changed), (gst_message_new_application),
12548         (gst_message_get_structure), (gst_message_parse_tag),
12549         (gst_message_parse_state_changed), (gst_message_parse_error),
12550         (gst_message_parse_warning):
12551         * gst/gstmessage.h:
12552         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12553         (gst_real_pad_set_property), (gst_pad_set_active),
12554         (gst_pad_is_active), (gst_pad_set_blocked_async),
12555         (gst_pad_set_blocked), (gst_pad_is_blocked),
12556         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12557         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12558         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12559         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12560         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12561         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12562         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12563         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12564         (gst_pad_set_caps), (gst_pad_configure_sink),
12565         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12566         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12567         (gst_real_pad_dispose), (gst_real_pad_finalize),
12568         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12569         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12570         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12571         * gst/gstpad.h:
12572         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12573         (pipeline_bus_handler), (gst_pipeline_change_state),
12574         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12575         * gst/gstpipeline.h:
12576         * gst/gstprobe.h:
12577         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12578         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12579         (gst_queue_link_src), (gst_queue_bufferalloc),
12580         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12581         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12582         (gst_queue_loop), (gst_queue_handle_src_event),
12583         (gst_queue_handle_src_query), (gst_queue_src_activate),
12584         (gst_queue_change_state):
12585         * gst/gstqueue.h:
12586         * gst/gstscheduler.c: (gst_scheduler_init),
12587         (gst_scheduler_dispose), (gst_scheduler_create_task),
12588         (gst_scheduler_factory_create):
12589         * gst/gstscheduler.h:
12590         * gst/gststructure.c: (gst_structure_get_type),
12591         (gst_structure_copy_conditional):
12592         * gst/gststructure.h:
12593         * gst/gsttaginterface.h:
12594         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12595         (gst_task_init), (gst_task_dispose), (gst_task_create),
12596         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12597         (gst_task_pause):
12598         * gst/gsttask.h:
12599         * gst/gstthread.c:
12600         * gst/gstthread.h:
12601         * gst/gsttypes.h:
12602         * gst/schedulers/Makefile.am:
12603         * gst/schedulers/cothreads_compat.h:
12604         * gst/schedulers/entryscheduler.c:
12605         * gst/schedulers/faircothreads.c:
12606         * gst/schedulers/faircothreads.h:
12607         * gst/schedulers/fairscheduler.c:
12608         * gst/schedulers/gstbasicscheduler.c:
12609         * gst/schedulers/gstoptimalscheduler.c:
12610         * gst/schedulers/gthread-cothreads.h:
12611         * gst/schedulers/threadscheduler.c:
12612         (gst_thread_scheduler_task_get_type),
12613         (gst_thread_scheduler_task_class_init),
12614         (gst_thread_scheduler_task_init),
12615         (gst_thread_scheduler_task_start),
12616         (gst_thread_scheduler_task_stop),
12617         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12618         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12619         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12620         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12621         (plugin_init):
12622         * libs/gst/Makefile.am:
12623         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12624         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12625         (gst_file_pad_parent_set):
12626         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12627         (gst_dp_event_from_packet):
12628         * tests/complexity.c: (main):
12629         * tests/mass_elements.c: (main):
12630         * testsuite/states/locked.c: (message_received), (main):
12631         * testsuite/states/parent.c: (main):
12632         * tools/gst-inspect.c: (print_element_flag_info),
12633         (print_implementation_info), (print_pad_info):
12634         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12635         (main):
12636         * tools/gst-md5sum.c: (event_loop), (main):
12637         * tools/gst-typefind.c: (main):
12638         * tools/gst-xmlinspect.c: (print_element_info):
12639         Next big merge.
12640         Added GstBus for mainloop integration.
12641         Added GstMessage for sending notifications on the bus.
12642         Added GstTask as an abstraction for pipeline entry points.
12643         Removed GstThread.
12644         Removed Schedulers.
12645         Simplified GstQueue for multithreaded core.
12646         Made _link threadsafe, removed old capsnego.
12647         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12648         Added pad blocking functions.
12649         Reworked scheduling functions in GstPad to prepare for
12650         scheduling updates soon.
12651         Moved events out of data stream.
12652         Simplified GstEvent types.
12653         Added return values to push/pull.
12654         Removed clocking from GstElement.
12655         Added prototypes for state change function for next merge.
12656         Removed iterate from bins and state change management.
12657         Fixed some elements, disabled others for now.
12658         Fixed -inspect and -launch.
12659         Added check for GstBus.
12660
12661 2005-03-10  Wim Taymans  <wim@fluendo.com>
12662
12663         * docs/design/part-MT-refcounting.txt:
12664         * docs/design/part-clocks.txt:
12665         * docs/design/part-gstelement.txt:
12666         * docs/design/part-gstobject.txt:
12667         * docs/design/part-standards.txt:
12668         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12669         (gst_bin_remove_func), (gst_bin_remove):
12670         * gst/gstbin.h:
12671         * gst/gstbuffer.c:
12672         * gst/gstcaps.h:
12673         * testsuite/clock/clock1.c: (main):
12674         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12675         (main):
12676         * testsuite/dlopen/loadgst.c: (do_test):
12677         * testsuite/refcounting/bin.c: (add_remove_test1),
12678         (add_remove_test2), (main):
12679         * testsuite/refcounting/element.c: (main):
12680         * testsuite/refcounting/element_pad.c: (main):
12681         * testsuite/refcounting/pad.c: (main):
12682         * tools/gst-launch.c: (sigint_handler_sighandler):
12683         * tools/gst-typefind.c: (main):
12684         Doc updates.
12685         Added doc about clock.
12686         removed gst_bin_iterate_recurse_up(), marked methods
12687         for removal.
12688         Fix more testsuites.
12689
12690 2005-03-09  Wim Taymans  <wim@fluendo.com>
12691
12692         * gst/gstpad.c: (gst_pad_get_direction),
12693         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12694         (gst_pad_collect_valist):
12695         * testsuite/bins/interface.c: (main):
12696         * testsuite/caps/audioscale.c: (test_caps):
12697         * testsuite/caps/caps.c: (test1), (test2), (test3):
12698         * testsuite/caps/deserialize.c: (main):
12699         * testsuite/caps/enumcaps.c: (main):
12700         * testsuite/caps/filtercaps.c: (main):
12701         * testsuite/caps/intersect2.c: (main):
12702         * testsuite/caps/random.c: (main):
12703         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12704         * testsuite/caps/sets.c: (check_caps):
12705         * testsuite/caps/simplify.c: (check_caps), (main):
12706         * testsuite/caps/subtract.c: (check_caps):
12707         Fix _pad_get_direction wrt ghostpads.
12708         Fix caps testsuite.
12709
12710 2005-03-09  Wim Taymans  <wim@fluendo.com>
12711
12712         * check/Makefile.am:
12713         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12714         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12715         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12716         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12717         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12718         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12719         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12720         (bin_element_is_sink), (gst_bin_iterate_sinks),
12721         (gst_bin_iterate_all_by_interface):
12722         * gst/gstbin.h:
12723         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12724         (gst_element_change_state), (gst_element_dispose),
12725         (gst_element_finalize), (gst_element_set_loop_function):
12726         * gst/gstelement.h:
12727         * gst/gstiterator.c: (find_custom_fold_func):
12728         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12729         (gst_pad_collectv), (gst_pad_collect_valist),
12730         (gst_pad_template_new):
12731         * gst/gstpipeline.c: (gst_pipeline_class_init),
12732         (gst_pipeline_dispose), (gst_pipeline_set_property),
12733         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12734         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12735         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12736         * gst/gstutils.h:
12737         * gst/schedulers/entryscheduler.c:
12738         * gst/schedulers/gstbasicscheduler.c:
12739         (gst_basic_scheduler_cothreaded_chain),
12740         (gst_basic_scheduler_chain_add_element):
12741         * testsuite/bins/interface.c: (main):
12742         Added GstBin test.
12743         Added GstSystemClock test.
12744         Implemented clock distribution code in GstBin.
12745         Implemented iterate sinks method for future use.
12746         Rearranged gstelement.h
12747         Fix GstIterator comparison bug.
12748         Moved some code to GstPipeline, mostly clocking related.
12749
12750 2005-03-09  Wim Taymans  <wim@fluendo.com>
12751
12752         * configure.ac:
12753         * gst/gst_private.h:
12754         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12755         (gst_bin_remove_func), (gst_bin_remove),
12756         (gst_bin_get_by_name_recurse_up):
12757         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12758         (gst_clock_id_compare_func), (gst_clock_id_wait),
12759         (gst_clock_id_wait_async), (gst_clock_init),
12760         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12761         * gst/gstelement.h:
12762         * gst/gstinfo.c: (_gst_debug_init):
12763         * gst/gstobject.h:
12764         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12765         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12766         * gst/gstpad.h:
12767         Bump version number, we're now 0.9.0
12768         Add future debugging category.
12769         Fix NULL _unref() in _get_by_name_recurse_up
12770         Rearrange gstpad.h.
12771         Update some docs.
12772
12773 2005-03-08  Wim Taymans  <wim@fluendo.com>
12774
12775         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12776         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12777         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12778         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12779         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12780         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12781         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12782         * gst/elements/gstidentity.c: (gst_identity_class_init):
12783         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12784         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12785         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12786         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12787         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12788         (gst_tee_link):
12789         * gst/gstelement.c: (gst_element_class_init),
12790         (gst_element_base_class_init), (gst_element_init),
12791         (gst_element_get_random_pad), (gst_element_wait_state_change),
12792         (gst_element_change_state), (gst_element_dispose),
12793         (gst_element_finalize), (gst_element_set_loop_function):
12794         * gst/gstelement.h:
12795         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12796         * gst/gstthread.c: (gst_thread_class_init),
12797         (gst_thread_release_children_locks), (gst_thread_change_state):
12798         * gst/schedulers/gstbasicscheduler.c:
12799         (gst_basic_scheduler_loopfunc_wrapper),
12800         (gst_basic_scheduler_chain_wrapper),
12801         (gst_basic_scheduler_src_wrapper),
12802         (gst_basic_scheduler_remove_element):
12803         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12804         Remove threadsafe properties. Fix elements because GObject
12805         complains when installing a property before declaring a
12806         set/get_property handler.
12807         Rearrange gstelement.h file, use STATE macros for state locks.
12808         Free mutexes in the finalize method instead of dispose.
12809
12810 2005-03-08  Wim Taymans  <wim@fluendo.com>
12811
12812         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12813         * gst/gstthread.c: (gst_thread_release_children_locks):
12814         Added parentage check.
12815         Fix build og GstThread again.
12816
12817 2005-03-08  Wim Taymans  <wim@fluendo.com>
12818
12819         * docs/design/part-MT-refcounting.txt:
12820         * docs/design/part-conventions.txt:
12821         * docs/design/part-gstobject.txt:
12822         * docs/design/part-relations.txt:
12823         * docs/design/part-standards.txt:
12824         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12825         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12826         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12827         (gst_bin_iterate_all_by_interface):
12828         * gst/gstbuffer.h:
12829         * gst/gstclock.h:
12830         * gst/gstelement.c: (gst_element_class_init),
12831         (gst_element_change_state), (gst_element_set_loop_function):
12832         * gst/gstelement.h:
12833         * gst/gstiterator.c:
12834         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12835         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12836         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12837         (gst_object_set_parent), (gst_object_unparent),
12838         (gst_object_check_uniqueness):
12839         * gst/gstobject.h:
12840         Docs updates, clean up some headers.
12841
12842 2005-03-07  Wim Taymans  <wim@fluendo.com>
12843
12844         * check/.cvsignore:
12845         * check/Makefile.am:
12846         * check/gst-libs/.cvsignore:
12847         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12848         * check/gst/.cvsignore:
12849         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12850         (START_TEST), (gstbus_suite), (main):
12851         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12852         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12853         (gst_data_suite), (main):
12854         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12855         (add_fold_func), (gstiterator_suite), (main):
12856         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12857         (thread_name_object), (thread_name_object_default),
12858         (gst_object_name_compare), (gst_object_suite), (main):
12859         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12860         (gst_pad_suite), (main):
12861         * check/gstcheck.c: (gst_check_log_message_func),
12862         (gst_check_log_critical_func), (gst_check_init):
12863         * check/gstcheck.h:
12864         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12865         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12866         Added checks.
12867
12868 2005-03-07  Wim Taymans  <wim@fluendo.com>
12869
12870         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12871         (gst_list_iterator_next), (gst_list_iterator_resync),
12872         (gst_list_iterator_free), (gst_iterator_new_list),
12873         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12874         (gst_iterator_free), (gst_iterator_push), (filter_next),
12875         (filter_resync), (filter_uninit), (filter_free),
12876         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12877         (gst_iterator_foreach), (find_custom_fold_func),
12878         (gst_iterator_find_custom):
12879         * gst/gstiterator.h:
12880         Added missing files.
12881
12882 2005-03-07  Wim Taymans  <wim@fluendo.com>
12883
12884         * Makefile.am:
12885         * configure.ac:
12886         * docs/design/part-MT-refcounting.txt:
12887         * docs/design/part-conventions.txt:
12888         * docs/design/part-gstobject.txt:
12889         * docs/design/part-relations.txt:
12890         * examples/mixer/mixer.c: (main):
12891         * examples/thread/thread.c: (eos), (main):
12892         * gst/Makefile.am:
12893         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12894         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12895         (gst_spider_plug_from_srcpad):
12896         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12897         (gst_spider_identity_change_state),
12898         (gst_spider_identity_sink_loop_type_finding):
12899         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12900         * gst/elements/gstidentity.c: (gst_identity_init):
12901         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12902         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12903         * gst/elements/gsttypefindelement.c: (free_entry):
12904         * gst/gst.c:
12905         * gst/gst.h:
12906         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12907         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12908         (gst_bin_set_index), (gst_bin_set_element_sched),
12909         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12910         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12911         (gst_bin_iterate_elements), (iterate_child_recurse),
12912         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12913         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12914         (compare_interface), (gst_bin_get_by_interface),
12915         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12916         * gst/gstbin.h:
12917         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12918         (gst_buffer_default_free), (gst_buffer_default_copy),
12919         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12920         (gst_buffer_create_sub):
12921         * gst/gstbuffer.h:
12922         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12923         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12924         (gst_caps_unref), (gst_static_caps_get),
12925         (gst_caps_remove_and_get_structure), (gst_caps_append),
12926         (gst_caps_append_structure), (gst_caps_remove_structure),
12927         (gst_caps_copy_nth), (gst_caps_set_simple),
12928         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12929         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12930         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12931         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12932         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12933         (gst_caps_structure_figure_out_union),
12934         (gst_caps_switch_structures), (gst_caps_do_simplify),
12935         (gst_caps_replace), (gst_caps_from_string),
12936         (gst_caps_copy_conditional):
12937         * gst/gstcaps.h:
12938         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12939         (_gst_clock_id_free), (gst_clock_id_unref),
12940         (gst_clock_id_compare_func), (gst_clock_id_wait),
12941         (gst_clock_id_wait_async), (gst_clock_class_init),
12942         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12943         (gst_clock_get_time), (gst_clock_set_time_adjust),
12944         (gst_clock_set_property), (gst_clock_get_property):
12945         * gst/gstclock.h:
12946         * gst/gstcompat.h:
12947         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12948         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12949         * gst/gstdata.h:
12950         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12951         (gst_element_requires_clock), (gst_element_provides_clock),
12952         (gst_element_set_clock), (gst_element_clock_wait),
12953         (gst_element_wait), (gst_element_set_time_delay),
12954         (gst_element_is_indexable), (gst_element_add_pad),
12955         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12956         (pad_compare_name), (gst_element_get_static_pad),
12957         (gst_element_request_pad), (gst_element_get_request_pad),
12958         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12959         (gst_element_class_get_pad_template_list),
12960         (gst_element_class_get_pad_template), (gst_element_error_func),
12961         (gst_element_get_random_pad), (gst_element_get_event_masks),
12962         (gst_element_send_event), (gst_element_seek),
12963         (gst_element_get_query_types), (gst_element_query),
12964         (gst_element_get_formats), (gst_element_convert),
12965         (gst_element_is_locked_state), (gst_element_set_locked_state),
12966         (gst_element_sync_state_with_parent), (gst_element_change_state),
12967         (gst_element_finalize), (gst_element_yield),
12968         (gst_element_interrupt), (gst_element_set_scheduler),
12969         (gst_element_get_scheduler), (gst_element_set_loop_function):
12970         * gst/gstelement.h:
12971         * gst/gstevent.h:
12972         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12973         (gst_format_get_by_nick), (gst_format_get_details),
12974         (gst_format_iterate_definitions):
12975         * gst/gstformat.h:
12976         * gst/gstindex.c: (gst_index_gtype_resolver):
12977         * gst/gstinfo.c:
12978         * gst/gstinfo.h:
12979         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12980         (gst_mem_chunk_free):
12981         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12982         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12983         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12984         (gst_object_dispatch_properties_changed),
12985         (gst_object_set_name_default), (gst_object_set_name),
12986         (gst_object_get_name), (gst_object_set_name_prefix),
12987         (gst_object_get_name_prefix), (gst_object_set_parent),
12988         (gst_object_get_parent), (gst_object_unparent),
12989         (gst_object_check_uniqueness), (gst_object_save_thyself),
12990         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12991         (gst_object_set_property), (gst_object_get_property),
12992         (gst_object_get_path_string):
12993         * gst/gstobject.h:
12994         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12995         (gst_real_pad_init), (gst_real_pad_get_property),
12996         (gst_pad_custom_new), (gst_pad_get_direction),
12997         (gst_pad_set_active), (gst_pad_is_active),
12998         (gst_pad_set_event_function), (gst_pad_is_linked),
12999         (gst_pad_link_free), (gst_pad_link_intersect),
13000         (gst_pad_link_fixate), (gst_pad_set_caps),
13001         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13002         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13003         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13004         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13005         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13006         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13007         (gst_pad_realize), (gst_pad_get_allowed_caps),
13008         (gst_real_pad_dispose), (gst_real_pad_finalize),
13009         (gst_pad_collectv), (gst_pad_collect_valist),
13010         (gst_pad_template_dispose), (gst_pad_template_new),
13011         (gst_pad_get_internal_links):
13012         * gst/gstpad.h:
13013         * gst/gstpipeline.c: (gst_pipeline_dispose),
13014         (gst_pipeline_change_state):
13015         * gst/gstpipeline.h:
13016         * gst/gstplugin.c:
13017         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13018         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13019         * gst/gstpluginfeature.h:
13020         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13021         * gst/gstquery.c: (_gst_query_type_initialize),
13022         (gst_query_type_register), (gst_query_type_get_by_nick),
13023         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13024         * gst/gstquery.h:
13025         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13026         * gst/gstscheduler.c: (gst_scheduler_add_element),
13027         (gst_scheduler_factory_create):
13028         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13029         (gst_structure_free), (gst_structure_set_name),
13030         (gst_structure_id_set_value), (gst_structure_set_value),
13031         (gst_structure_set_valist), (gst_structure_remove_field),
13032         (gst_structure_remove_fields),
13033         (gst_structure_remove_fields_valist),
13034         (gst_structure_remove_all_fields), (gst_structure_foreach),
13035         (gst_structure_map_in_place),
13036         (gst_caps_structure_fixate_field_nearest_int),
13037         (gst_caps_structure_fixate_field_nearest_double):
13038         * gst/gststructure.h:
13039         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13040         (gst_system_clock_init), (gst_system_clock_dispose),
13041         (gst_system_clock_async_thread),
13042         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13043         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13044         * gst/gstsystemclock.h:
13045         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13046         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13047         * gst/gsttaginterface.c:
13048         * gst/gstthread.c: (gst_thread_dispose),
13049         (gst_thread_release_children_locks), (gst_thread_change_state),
13050         (gst_thread_main_loop):
13051         * gst/gsttrashstack.h:
13052         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13053         * gst/gsttypes.h:
13054         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13055         (gst_element_request_pad), (gst_element_get_pad_from_template),
13056         (gst_element_request_compatible_pad),
13057         (gst_element_get_compatible_pad_filtered),
13058         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13059         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13060         (gst_element_link_many), (gst_element_link),
13061         (gst_element_link_pads), (gst_element_unlink_pads),
13062         (gst_element_unlink_many), (gst_element_unlink),
13063         (gst_pad_can_link_filtered), (gst_pad_can_link),
13064         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13065         (gst_object_default_error), (gst_bin_add_many),
13066         (gst_bin_remove_many), (gst_element_populate_std_props),
13067         (gst_element_class_install_std_props), (gst_buffer_merge),
13068         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13069         (link_fold_func), (gst_pad_proxy_setcaps):
13070         * gst/gstutils.h:
13071         * gst/gstvalue.c: (gst_value_deserialize_string):
13072         * gst/parse/grammar.y:
13073         * gst/schedulers/gstbasicscheduler.c:
13074         (gst_basic_scheduler_cothreaded_chain),
13075         (gst_basic_scheduler_chain_recursive_add),
13076         (gst_basic_scheduler_pad_link):
13077         * gst/schedulers/gstoptimalscheduler.c:
13078         (get_group_schedule_function),
13079         (gst_opt_scheduler_state_transition),
13080         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13081         * libs/gst/bytestream/bytestream.c:
13082         * libs/gst/dataprotocol/dataprotocol.c:
13083         (gst_dp_header_from_buffer):
13084         * po/nb.po:
13085         * po/ru.po:
13086         * tests/threadstate/threadstate2.c: (eos):
13087         * tools/gst-compprep.c: (main):
13088         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13089         (print_pad_info), (print_children_info):
13090         * tools/gst-launch.c: (idle_func), (main):
13091         * tools/gst-md5sum.c: (idle_func), (main):
13092         * tools/gst-xmlinspect.c: (print_element_info):
13093         First THREADED backport attempt, focusing on adding locks and
13094         making sure the API is threadsafe. Needs more work. More docs
13095         follow this week.
13096
13097 2005-02-24  Andy Wingo  <wingo@pobox.com>
13098
13099         * tests/bench-complexity.scm:
13100         * tests/complexity.gnuplot: New files, good for running complexity
13101         benchmarks.
13102
13103         * tests/Makefile.am:
13104         * tests/complexity.c: New test, sets up N elements, at each level
13105         teeing into M streams per element. Eeeenteresting.
13106
13107         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13108         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13109         running bench-mass_elements.scm.
13110
13111         * tests/bench-mass_elements.scm: New script, runs mass_elements
13112         for various numbers of identities, outputting the results to a
13113         file. Requires guile 1.6. Just for testing.
13114
13115 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13116
13117         * gst/schedulers/fairscheduler.c:
13118           compile with debug disabled
13119
13120 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13121
13122         * configure.ac:
13123           hunting season on 0.9 is now OPEN