c340fe26628837d9f1919f0879f59ead64ca6496
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * win32/MANIFEST:
4         * win32/common/config.h:
5         * win32/vs6/gstreamer.dsw:
6         * win32/vs6/libgstcoreelements.dsp:
7         * win32/vs6/libgstelements.dsp:
8           renamed core elements plugin
9
10 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11
12         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13         (get_candidates):
14           do piece-wise major/minor comparison so 0.9 < 0.10
15           also allow .exe extensions for tools
16
17 2005-12-02  Michael Smith  <msmith@fluendo.com>
18
19         * gst/gst.c:
20           Escape a % to make gtkdoc happier; bug 322958.
21
22 === release 0.9.7 ===
23
24 2005-12-01   <thomas (at) apestaart (dot) org>
25
26         * configure.ac:
27           releasing 0.9.7, "My Dog Has No Nose"
28
29 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30
31         * common/gst-xmlinspect.py:
32         * configure.ac:
33         * docs/libs/tmpl/gstdataprotocol.sgml:
34         * docs/random/release:
35         * po/af.po:
36         * po/az.po:
37         * po/bg.po:
38         * po/ca.po:
39         * po/cs.po:
40         * po/de.po:
41         * po/en_GB.po:
42         * po/fr.po:
43         * po/it.po:
44         * po/nb.po:
45         * po/nl.po:
46         * po/ru.po:
47         * po/sq.po:
48         * po/sr.po:
49         * po/sv.po:
50         * po/tr.po:
51         * po/uk.po:
52         * po/vi.po:
53         * win32/common/config.h:
54         * win32/common/config.h.in:
55         * win32/vs6/gst_inspect.dsp:
56         * win32/vs6/gst_launch.dsp:
57         * win32/vs6/libgstbase.dsp:
58         * win32/vs6/libgstelements.dsp:
59         * win32/vs6/libgstreamer.dsp:
60         * win32/vs7/GStreamer.vcproj:
61         * win32/vs7/gst-inspect.vcproj:
62         * win32/vs7/gst-launch.vcproj:
63         * win32/vs7/libgstbase.vcproj:
64           bump GST_MAJORMINOR to 0.10
65           reset libtool version
66
67 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
68
69         * po/LINGUAS:
70         * po/bg.po:
71           Added Bulgarian translation by (Alexander Shopov)
72
73 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
74
75         * tests/check/gst/gstplugin.c:
76           fix test
77
78 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
79
80         * common/gst-xmlinspect.py:
81         * common/gtk-doc-plugins.mak:
82         * configure.ac:
83         * docs/Makefile.am:
84         * docs/gst/Makefile.am:
85         * docs/gst/gstreamer-docs.sgml:
86         * docs/gst/gstreamer-sections.txt:
87         * docs/gst/gstreamer.types:
88         * docs/gst/gstreamer.types.in:
89         * docs/plugins/Makefile.am:
90         * docs/plugins/gstreamer-plugins-docs.sgml:
91         * docs/plugins/gstreamer-plugins-sections.txt:
92         * docs/plugins/gstreamer-plugins.types:
93         * docs/plugins/inspect.stamp:
94         * docs/plugins/inspect/plugin-coreelements.xml:
95         * docs/plugins/inspect/plugin-coreindexers.xml:
96         * docs/plugins/scanobj-build.stamp:
97         * gstreamer.spec.in:
98         * plugins/elements/Makefile.am:
99         * plugins/elements/gstelements.c:
100         * plugins/elements/gstfakesink.c:
101         * plugins/elements/gstfakesrc.c:
102         * plugins/elements/gstfilesink.c:
103         * plugins/elements/gstfilesrc.c:
104         * plugins/elements/gstqueue.c:
105         * plugins/indexers/Makefile.am:
106         * plugins/indexers/gstindexers.c:
107           document core plugins in a separate document just like all the
108           others
109           rename these plugins to something starting with core
110
111 2005-12-01  Andy Wingo  <wingo@pobox.com>
112
113         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
114         padding here before, but it missed the commit.
115
116 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
117
118         * libs/gst/controller/gstinterpolation.c:
119           whitespace prices have crashed, we should feel free to use some now
120           use gst_guint64_to_gdouble
121
122 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
123
124         * libs/gst/controller/gstcontroller.c:
125         * libs/gst/controller/gsthelper.c:
126         * libs/gst/controller/gstinterpolation.c:
127         * libs/gst/controller/lib.c:
128           wrap config.h include
129
130 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
131
132         * docs/gst/gstreamer-sections.txt:
133           update docs
134
135 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
136
137         * plugins/elements/gstelements.c:
138         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
139         (gst_fd_sink__class_init), (gst_fd_sink__init),
140         (gst_fd_sink__chain), (gst_fd_sink__set_property),
141         (gst_fd_sink__get_property):
142         * plugins/elements/gstfdsink.h:
143         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
144         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
145         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
146         (gst_fd_src_unlock), (gst_fd_src_set_property),
147         (gst_fd_src_get_property), (gst_fd_src_create),
148         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
149         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
150         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
151         (gst_fd_src_uri_handler_init):
152         * plugins/elements/gstfdsrc.h:
153         * plugins/elements/gstqueue.c: (gst_queue_get_type):
154           more anal cleanup
155
156 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
157
158         * docs/gst/Makefile.am:
159         * docs/gst/gstreamer.types.in:
160         * gst/Makefile.am:
161           fix the docs build
162
163 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
164
165         * configure.ac:
166         * gst/Makefile.am:
167         * gst/gst.c:
168         * gst/gstplugin.h:
169         * gst/gstregistry.h:
170         * tests/benchmarks/complexity.c:
171         * tests/benchmarks/mass-elements.c:
172         * tests/check/Makefile.am:
173         * tools/Makefile.am:
174         * tools/gst-inspect.c:
175         * tools/gst-xmlinspect.c:
176           various fixes to make
177           --disable-nls --disable-registry --disable-loadsave
178           --disable-parse --disable-gst-debug
179           work and get the core .so down to 360444 bytes after stripping
180
181 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
182
183         * Makefile.am:
184         * configure.ac:
185           descend into tests
186         * docs/random/thomasvs/TODO:
187         * tests/Makefile.am:
188         * tests/README:
189           add a README
190
191 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
192
193         * win32/GStreamer.vcproj:
194         * win32/MANIFEST:
195         * win32/Makefile:
196         * win32/Makefile.inspect:
197         * win32/Makefile.launch:
198         * win32/Makefile.register:
199         * win32/README.txt:
200         * win32/gst-inspect.vcproj:
201         * win32/gst-launch.vcproj:
202         * win32/gst-register.vcproj:
203         * win32/gstelements.vcproj:
204         * win32/gstgetbits.def:
205         * win32/gstgetbits.vcproj:
206         * win32/gstreamer-dbg.def:
207         * win32/gstreamer.def:
208         * win32/libgstbase.def:
209         * win32/libgstbase.vcproj:
210         * win32/link_oldruntime.c:
211         * win32/mman.c:
212         * win32/mman.h:
213         * win32/mman.inl:
214         * win32/msvc71.sln:
215           move even more stuff, win32/ is nice and clean now
216
217 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
218
219         * libs/gst/control/.cvsignore:
220         * win32/MANIFEST:
221         * win32/config.h:
222         * win32/dirent.c:
223         * win32/dirent.h:
224         * win32/gstbytestream.def:
225         * win32/gstbytestream.vcproj:
226         * win32/gstconfig.h:
227         * win32/gstenumtypes.c:
228         * win32/gstenumtypes.h:
229         * win32/gstoptimalscheduler.vcproj:
230         * win32/gstversion.h:
231         * win32/gtchar.h:
232         * win32/testsuite/bins.vcproj:
233         * win32/testsuite/bytestream.vcproj:
234         * win32/testsuite/caps.vcproj:
235         * win32/testsuite/cleanup.vcproj:
236         * win32/testsuite/clock.vcproj:
237         * win32/testsuite/debug.vcproj:
238         * win32/testsuite/dlopen.vcproj:
239         * win32/testsuite/dynparams.vcproj:
240         * win32/testsuite/elements.vcproj:
241         * win32/testsuite/ghostpads.vcproj:
242         * win32/testsuite/indexers.vcproj:
243         * win32/testsuite/negotiation.vcproj:
244         * win32/testsuite/parse.vcproj:
245         * win32/testsuite/plugin.vcproj:
246         * win32/testsuite/refcounting.vcproj:
247         * win32/testsuite/schedulers.vcproj:
248         * win32/testsuite/states.vcproj:
249         * win32/testsuite/tags.vcproj:
250         * win32/testsuite/threads.vcproj:
251           remove old win32 stuff that isn't maintained and should be
252           reorganized
253
254 2005-11-30  Andy Wingo  <wingo@pobox.com>
255
256         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
257         loading the gst.interfaces python module bork.
258
259         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
260         available since GLib 2.2. Fixes #318031.
261
262 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
263
264         * Makefile.am:
265         * check/.cvsignore:
266         * check/Makefile.am:
267         * check/elements/.cvsignore:
268         * check/elements/fakesrc.c:
269         * check/elements/fdsrc.c:
270         * check/elements/identity.c:
271         * check/generic/.cvsignore:
272         * check/generic/states.c:
273         * check/gst-libs/.cvsignore:
274         * check/gst-libs/controller.c:
275         * check/gst-libs/gdp.c:
276         * check/gst/.cvsignore:
277         * check/gst/capslist.h:
278         * check/gst/gst.c:
279         * check/gst/gstbin.c:
280         * check/gst/gstbuffer.c:
281         * check/gst/gstbus.c:
282         * check/gst/gstcaps.c:
283         * check/gst/gstelement.c:
284         * check/gst/gstevent.c:
285         * check/gst/gstghostpad.c:
286         * check/gst/gstiterator.c:
287         * check/gst/gstmessage.c:
288         * check/gst/gstminiobject.c:
289         * check/gst/gstobject.c:
290         * check/gst/gstpad.c:
291         * check/gst/gstpipeline.c:
292         * check/gst/gstplugin.c:
293         * check/gst/gstsegment.c:
294         * check/gst/gststructure.c:
295         * check/gst/gstsystemclock.c:
296         * check/gst/gsttag.c:
297         * check/gst/gstutils.c:
298         * check/gst/gstvalue.c:
299         * check/net/.cvsignore:
300         * check/net/gstnetclientclock.c:
301         * check/net/gstnettimeprovider.c:
302         * check/pipelines/.cvsignore:
303         * check/pipelines/cleanup.c:
304         * check/pipelines/simple_launch_lines.c:
305         * check/pipelines/stress.c:
306         * check/states/.cvsignore:
307         * check/states/sinks.c:
308         * configure.ac:
309         * examples/Makefile.am:
310         * examples/appreader/.cvsignore:
311         * examples/appreader/Makefile.am:
312         * examples/appreader/appreader.c:
313         * examples/controller/.cvsignore:
314         * examples/controller/Makefile.am:
315         * examples/controller/audio-example.c:
316         * examples/cutter/.cvsignore:
317         * examples/cutter/Makefile.am:
318         * examples/cutter/cutter.c:
319         * examples/cutter/cutter.h:
320         * examples/events/Makefile.am:
321         * examples/events/seek.c:
322         * examples/helloworld/.cvsignore:
323         * examples/helloworld/Makefile.am:
324         * examples/helloworld/helloworld.c:
325         * examples/helloworld2/.cvsignore:
326         * examples/helloworld2/Makefile.am:
327         * examples/helloworld2/helloworld2.c:
328         * examples/launch/.cvsignore:
329         * examples/launch/Makefile.am:
330         * examples/launch/mp3parselaunch.c:
331         * examples/launch/mp3play:
332         * examples/manual/.cvsignore:
333         * examples/manual/Makefile.am:
334         * examples/manual/extract.pl:
335         * examples/metadata/Makefile.am:
336         * examples/metadata/read-metadata.c:
337         * examples/mixer/.cvsignore:
338         * examples/mixer/Makefile.am:
339         * examples/mixer/mixer.c:
340         * examples/mixer/mixer.h:
341         * examples/pingpong/.cvsignore:
342         * examples/pingpong/Makefile.am:
343         * examples/pingpong/pingpong.c:
344         * examples/plugins/.cvsignore:
345         * examples/plugins/Makefile.am:
346         * examples/plugins/example.c:
347         * examples/plugins/example.h:
348         * examples/pwg/.cvsignore:
349         * examples/pwg/Makefile.am:
350         * examples/pwg/extract.pl:
351         * examples/queue/.cvsignore:
352         * examples/queue/Makefile.am:
353         * examples/queue/queue.c:
354         * examples/queue2/.cvsignore:
355         * examples/queue2/Makefile.am:
356         * examples/queue2/queue2.c:
357         * examples/queue3/.cvsignore:
358         * examples/queue3/Makefile.am:
359         * examples/queue3/queue3.c:
360         * examples/queue4/.cvsignore:
361         * examples/queue4/Makefile.am:
362         * examples/queue4/queue4.c:
363         * examples/retag/.cvsignore:
364         * examples/retag/Makefile.am:
365         * examples/retag/retag.c:
366         * examples/retag/transcode.c:
367         * examples/thread/.cvsignore:
368         * examples/thread/Makefile.am:
369         * examples/thread/thread.c:
370         * examples/typefind/.cvsignore:
371         * examples/typefind/Makefile.am:
372         * examples/typefind/typefind.c:
373         * examples/xml/.cvsignore:
374         * examples/xml/Makefile.am:
375         * examples/xml/createxml.c:
376         * examples/xml/runxml.c:
377         * tests/Makefile.am:
378         * tests/check/Makefile.am:
379         * testsuite/.cvsignore:
380         * testsuite/Makefile.am:
381         * testsuite/Rules:
382         * testsuite/caps/.cvsignore:
383         * testsuite/caps/Makefile.am:
384         * testsuite/caps/app_fixate.c:
385         * testsuite/caps/audioscale.c:
386         * testsuite/caps/caps.c:
387         * testsuite/caps/caps.h:
388         * testsuite/caps/caps_strings:
389         * testsuite/caps/compatibility.c:
390         * testsuite/caps/deserialize.c:
391         * testsuite/caps/enumcaps.c:
392         * testsuite/caps/eratosthenes.c:
393         * testsuite/caps/filtercaps.c:
394         * testsuite/caps/fixed.c:
395         * testsuite/caps/fraction-convert.c:
396         * testsuite/caps/fraction-multiply-and-zero.c:
397         * testsuite/caps/intersect2.c:
398         * testsuite/caps/intersection.c:
399         * testsuite/caps/normalisation.c:
400         * testsuite/caps/random.c:
401         * testsuite/caps/renegotiate.c:
402         * testsuite/caps/sets.c:
403         * testsuite/caps/simplify.c:
404         * testsuite/caps/string-conversions.c:
405         * testsuite/caps/structure.c:
406         * testsuite/caps/subtract.c:
407         * testsuite/caps/union.c:
408         * testsuite/debug/.cvsignore:
409         * testsuite/debug/Makefile.am:
410         * testsuite/debug/category.c:
411         * testsuite/debug/commandline.c:
412         * testsuite/debug/global.c:
413         * testsuite/debug/output.c:
414         * testsuite/debug/printf_extension.c:
415         * testsuite/dlopen/.cvsignore:
416         * testsuite/dlopen/Makefile.am:
417         * testsuite/dlopen/dlopen_gst.c:
418         * testsuite/dlopen/loadgst.c:
419         * testsuite/elements/.cvsignore:
420         * testsuite/elements/Makefile.am:
421         * testsuite/elements/gst-inspect-check.in:
422         * testsuite/elements/struct_i386.h:
423         * testsuite/elements/struct_size.c:
424         * testsuite/indexers/.cvsignore:
425         * testsuite/indexers/Makefile.am:
426         * testsuite/indexers/cache1.c:
427         * testsuite/indexers/indexdump.c:
428         * testsuite/parse/.cvsignore:
429         * testsuite/parse/Makefile.am:
430         * testsuite/parse/parse1.c:
431         * testsuite/parse/parse2.c:
432         * testsuite/plugin/.cvsignore:
433         * testsuite/plugin/Makefile.am:
434         * testsuite/plugin/README:
435         * testsuite/plugin/dynamic.c:
436         * testsuite/plugin/linked.c:
437         * testsuite/plugin/loading.c:
438         * testsuite/plugin/registry.c:
439         * testsuite/plugin/static.c:
440         * testsuite/plugin/static2.c:
441         * testsuite/plugin/testplugin.c:
442         * testsuite/plugin/testplugin2.c:
443         * testsuite/plugin/testplugin2_s.c:
444         * testsuite/plugin/testplugin_s.c:
445         * testsuite/refcounting/.cvsignore:
446         * testsuite/refcounting/Makefile.am:
447         * testsuite/refcounting/bin.c:
448         * testsuite/refcounting/element.c:
449         * testsuite/refcounting/element_pad.c:
450         * testsuite/refcounting/mainloop.c:
451         * testsuite/refcounting/mem.c:
452         * testsuite/refcounting/mem.h:
453         * testsuite/refcounting/object.c:
454         * testsuite/refcounting/pad.c:
455         * testsuite/refcounting/sched.c:
456         * testsuite/refcounting/thread.c:
457         * testsuite/states/.cvsignore:
458         * testsuite/states/Makefile.am:
459         * testsuite/states/bin.c:
460         * testsuite/states/locked.c:
461         * testsuite/states/parent.c:
462         * testsuite/threads/.cvsignore:
463         * testsuite/threads/159566.c:
464         * testsuite/threads/159852.c:
465         * testsuite/threads/Makefile.am:
466         * testsuite/threads/queue.c:
467         * testsuite/threads/signals.c:
468         * testsuite/threads/staticrec.c:
469         * testsuite/threads/thread.c:
470         * testsuite/threads/threadb.c:
471         * testsuite/threads/threadc.c:
472         * testsuite/threads/threadd.c:
473         * testsuite/threads/threade.c:
474         * testsuite/threads/threadf.c:
475         * testsuite/threads/threadg.c:
476         * testsuite/threads/threadh.c:
477         * testsuite/threads/threadi.c:
478           move all of these under tests
479
480 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
481
482         * configure.ac:
483         * tests/Makefile.am:
484           fix distcheck
485
486 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
487
488         * docs/gst/gstreamer-sections.txt:
489         * tests/sched/.cvsignore:
490         * tests/sched/Makefile.am:
491         * tests/sched/cases/(fs-fs).xml:
492         * tests/sched/cases/(fs-i-fs).xml:
493         * tests/sched/cases/(fs-i-i-fs).xml:
494         * tests/sched/cases/(fs-i-q[i-fs]).xml:
495         * tests/sched/dynamic-pipeline.c:
496         * tests/sched/interrupt1.c:
497         * tests/sched/interrupt2.c:
498         * tests/sched/interrupt3.c:
499         * tests/sched/runtestcases:
500         * tests/sched/runxml.c:
501         * tests/sched/sched-stress.c:
502         * tests/sched/sort.c:
503         * tests/sched/testcases:
504         * tests/sched/testcases1.tc:
505         * tests/seeking/.cvsignore:
506         * tests/seeking/Makefile.am:
507         * tests/seeking/seeking1.c:
508         * tests/threadstate/.cvsignore:
509         * tests/threadstate/Makefile.am:
510         * tests/threadstate/test1.c:
511         * tests/threadstate/test2.c:
512         * tests/threadstate/threadstate1.c:
513         * tests/threadstate/threadstate2.c:
514         * tests/threadstate/threadstate3.c:
515         * tests/threadstate/threadstate4.c:
516         * tests/threadstate/threadstate5.c:
517           remove obsolete tests
518         * configure.ac:
519         * tests/bench-complexity.scm:
520         * tests/bench-mass_elements.scm:
521         * tests/complexity.c:
522         * tests/complexity.gnuplot:
523         * tests/instantiate/.cvsignore:
524         * tests/instantiate/Makefile.am:
525         * tests/instantiate/caps.c:
526         * tests/mass_elements.c:
527         * tests/network-clock-utils.scm:
528         * tests/network-clock.scm:
529         * tests/plot-data:
530         First pass at cleaning up tests/ dir before moving the rest
531         Combined with CVS surgery
532
533 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
534
535         * po/POTFILES.in:
536           queue has moved, update
537
538 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
539
540         * docs/gst/gstreamer-sections.txt:
541           remove double entries from the docs
542         * gst/gst_private.h:
543         * gst/gstinfo.c: (_gst_debug_init):
544           remove the THREAD debug category
545         * gst/Makefile.am:
546         * gst/gstqueue.c:
547         * gst/gstqueue.h:
548         * docs/gst/gstreamer.types:
549         * plugins/elements/gstqueue.c: (gst_queue_get_type),
550         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
551           completely move queue and fix up debugging categories
552
553 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
554
555         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
556           make initialization portable, using LL is not
557
558 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
559
560         * win32/common/gstconfig.h:
561           add large padding
562
563 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
564
565         * win32/common/libgstreamer.def:
566           rename symbols; sort base section
567
568 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
569
570         * gst/gstclock.c: (do_linear_regression):
571           remove crack non-portable handrolled DEBUG macro
572
573 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
574
575         * docs/random/release:
576           update notes
577         * win32/common/gstenumtypes.c: (register_gst_object_flags),
578         (gst_object_flags_get_type), (register_gst_bin_flags),
579         (gst_bin_flags_get_type), (register_gst_buffer_flag),
580         (gst_buffer_flag_get_type), (register_gst_bus_flags),
581         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
582         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
583         (gst_caps_flags_get_type), (register_gst_clock_return),
584         (gst_clock_return_get_type), (register_gst_clock_entry_type),
585         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
586         (gst_clock_flags_get_type), (register_gst_state),
587         (gst_state_get_type), (register_gst_state_change_return),
588         (gst_state_change_return_get_type), (register_gst_state_change),
589         (gst_state_change_get_type), (register_gst_element_flags),
590         (gst_element_flags_get_type), (register_gst_core_error),
591         (gst_core_error_get_type), (register_gst_library_error),
592         (gst_library_error_get_type), (register_gst_resource_error),
593         (gst_resource_error_get_type), (register_gst_stream_error),
594         (gst_stream_error_get_type), (register_gst_event_type_flags),
595         (gst_event_type_flags_get_type), (register_gst_event_type),
596         (gst_event_type_get_type), (register_gst_seek_type),
597         (gst_seek_type_get_type), (register_gst_seek_flags),
598         (gst_seek_flags_get_type), (register_gst_format),
599         (gst_format_get_type), (register_gst_index_certainty),
600         (gst_index_certainty_get_type), (register_gst_index_entry_type),
601         (gst_index_entry_type_get_type),
602         (register_gst_index_lookup_method),
603         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
604         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
605         (gst_index_resolver_method_get_type), (register_gst_index_flags),
606         (gst_index_flags_get_type), (register_gst_debug_level),
607         (gst_debug_level_get_type), (register_gst_debug_color_flags),
608         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
609         (gst_iterator_result_get_type), (register_gst_iterator_item),
610         (gst_iterator_item_get_type), (register_gst_message_type),
611         (gst_message_type_get_type), (register_gst_mini_object_flags),
612         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
613         (gst_pad_link_return_get_type), (register_gst_flow_return),
614         (gst_flow_return_get_type), (register_gst_activate_mode),
615         (gst_activate_mode_get_type), (register_gst_pad_direction),
616         (gst_pad_direction_get_type), (register_gst_pad_flags),
617         (gst_pad_flags_get_type), (register_gst_pad_presence),
618         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
619         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
620         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
621         (gst_plugin_error_get_type), (register_gst_plugin_flags),
622         (gst_plugin_flags_get_type), (register_gst_rank),
623         (gst_rank_get_type), (register_gst_query_type),
624         (gst_query_type_get_type), (register_gst_tag_merge_mode),
625         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
626         (gst_tag_flag_get_type), (register_gst_task_state),
627         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
628         (gst_alloc_trace_flags_get_type),
629         (register_gst_type_find_probability),
630         (gst_type_find_probability_get_type), (register_gst_uri_type),
631         (gst_uri_type_get_type), (register_gst_parse_error),
632         (gst_parse_error_get_type):
633         * win32/common/gstenumtypes.h:
634         * win32/common/gstversion.h:
635           update visual studio generated files
636
637 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
638
639         * win32/vs6/libgstbase.dsp:
640         * win32/vs6/libgstelements.dsp:
641           update project files for new locations
642
643 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
644
645         * Makefile.am:
646           remove some files
647         * README:
648           reinstate and update
649         * DEVEL:
650         * REQUIREMENTS:
651           removed
652         * LICENSE:
653         * docs/random/LICENSE:
654           moved to random
655
656 2005-11-30  Edward Hervey  <edward@fluendo.com>
657
658         * gst/gsttypefind.c: (gst_type_find_register):
659         * gst/gsttypefind.h:
660         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
661         (gst_type_find_factory_dispose):
662         * gst/gsttypefindfactory.h:
663         Fix memory leak in GstTypeFindFactory.
664
665 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
666
667         * gst/gst.c:
668         * plugins/elements/Makefile.am:
669         * plugins/elements/gstelements.c:
670         * plugins/elements/gstqueue.c:
671           move queue from core to the elements plugin
672
673 2005-11-29  Andy Wingo  <wingo@pobox.com>
674
675         * libs/gst/base/gstbasetransform.h: 
676         * libs/gst/base/gstbasesrc.h: 
677         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
678
679         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
680         of pointers by which to pad very extensible base classes (like the
681         ones in libs/gst/base).
682
683 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
684
685         * docs/gst/gstreamer-docs.sgml:
686         * docs/gst/gstreamer-sections.txt:
687         * docs/libs/gstreamer-libs-docs.sgml:
688         * docs/libs/gstreamer-libs-sections.txt:
689           moving documentation from core to lib
690
691 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
692
693         * check/Makefile.am:
694         * configure.ac:
695         * docs/gst/Makefile.am:
696         * gst/Makefile.am:
697         * gst/base/.cvsignore:
698         * gst/base/Makefile.am:
699         * gst/base/README:
700         * gst/base/gstadapter.c:
701         * gst/base/gstadapter.h:
702         * gst/base/gstbasesink.c:
703         * gst/base/gstbasesink.h:
704         * gst/base/gstbasesrc.c:
705         * gst/base/gstbasesrc.h:
706         * gst/base/gstbasetransform.c:
707         * gst/base/gstbasetransform.h:
708         * gst/base/gstcollectpads.c:
709         * gst/base/gstcollectpads.h:
710         * gst/base/gstpushsrc.c:
711         * gst/base/gstpushsrc.h:
712         * gst/base/gsttypefindhelper.c:
713         * gst/base/gsttypefindhelper.h:
714         * gst/check/Makefile.am:
715         * gst/check/gstcheck.c:
716         * gst/check/gstcheck.h:
717         * gst/net/Makefile.am:
718         * gst/net/gstnet.h:
719         * gst/net/gstnetclientclock.c:
720         * gst/net/gstnetclientclock.h:
721         * gst/net/gstnettimepacket.c:
722         * gst/net/gstnettimepacket.h:
723         * gst/net/gstnettimeprovider.c:
724         * gst/net/gstnettimeprovider.h:
725         * libs/gst/Makefile.am:
726         * libs/gst/base/Makefile.am:
727         * libs/gst/base/gstbasetransform.c:
728         * libs/gst/check/Makefile.am:
729         * plugins/elements/Makefile.am:
730         * po/POTFILES.in:
731           CVS surgery + support to move base, check, and net out of gst
732           and into libs/gst
733
734 2005-11-29  Andy Wingo  <wingo@pobox.com>
735
736         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
737
738         * gst/gststructure.h (struct _GstStructure): Only one pointer of
739         padding.
740
741         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
742
743         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
744
745         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
746
747         * gst/gstobject.h: (struct _GstObject): Only one pointer of
748         padding; reduces object size by about 30%. We don't expect
749         anything else to go into gstobject.
750
751         * gst/gstminiobject.h (struct _GstMiniObject)
752         (struct _GstMiniObjectClass): Only one pointer of padding; the
753         payload is only a pointer and two ints anyway. For the class there
754         are only two methods as well.
755         
756         * gst/gstelement.h (struct _GstElementClass): Removed
757         the state_changed signal callback, it is not used.
758
759 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
760
761         * docs/gst/gstreamer.types:
762           fix includes, though they are a little dinky
763
764 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
765
766         * check/Makefile.am:
767           look in the right place for elements, a lot more chance of
768           success
769         * gst/Makefile.am:
770           remove indexers and elements subdirs
771         * plugins/Makefile.am:
772           make indexers conditional
773
774 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
775
776         * Makefile.am:
777         * configure.ac:
778         * plugins/elements/Makefile.am:
779         * plugins/elements/gstcapsfilter.c:
780         * plugins/elements/gstfilesink.c:
781         * plugins/elements/gstfilesrc.c:
782         * plugins/elements/gstidentity.c:
783         * plugins/indexers/Makefile.am:
784           do CVS surgery and related build fixery to move elements
785           and indexers in a new gstreamer/plugins directory, out of the
786           gst/ directory
787
788 2005-11-29  Andy Wingo  <wingo@pobox.com>
789
790         * check/Makefile.am:
791         * pkgconfig/gstreamer-net-uninstalled.pc.in:
792         * pkgconfig/gstreamer-net.pc.in:
793         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
794         #322257.
795
796 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
797
798         * tools/Makefile.am:
799         * tools/gst-complete.1.in:
800         * tools/gst-complete.c:
801         * tools/gst-compprep.1.in:
802         * tools/gst-compprep.c:
803           removing -compprep and -complete
804
805 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
806
807         * gst/gstevent.c: (gst_event_new_new_segment),
808         (gst_event_parse_new_segment):
809         * gst/gstevent.h:
810           fix #320529 - clean up new_segment API and structure.
811           Let's hope everyone was using the methods, and not the structure.
812
813 2005-11-29  Edward Hervey  <edward@fluendo.com>
814
815         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
816         (gst_base_sink_event), (gst_base_sink_do_sync),
817         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
818         Properly handle non GST_FORMAT_TIME segment
819         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
820         Properly handle non GST_FORMAT_TIME segment
821         * gst/gstsegment.c:
822         This function is valid if the accumulator is 0 and the format
823         is different from the requested format.
824         
825 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
826
827         * docs/gst/gstreamer-sections.txt:
828         Add gst_query_new_seeking and gst_query_parse_seeking to the
829         docs.
830
831 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
832
833         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
834           Treat a pad alloc with new caps the same as if we were not
835           negotiated, in order to allow a changing upstream output
836           to produce a new format of data.
837
838 2005-11-29  Edward Hervey  <edward@fluendo.com>
839
840         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
841         (gst_base_transform_event), (gst_base_transform_eventfunc):
842         The event virtual method is now properly implemented, with a default
843         handler
844         Sub classes should call the parent_class event method. They should
845         return FALSE if they had a problem handling the given event, or don't
846         want GstBaseTransform to send that even downstream
847         * gst/elements/gstidentity.c: (gst_identity_class_init),
848         (gst_identity_init), (gst_identity_event),
849         (gst_identity_transform_ip), (gst_identity_set_property),
850         (gst_identity_get_property):
851         * gst/elements/gstidentity.h:
852         Added the single-segment boolean property.
853         If set to TRUE, it will output a single segment of data, starting from
854         0, will eat up all incoming newsegment, and modify the timestamp of the
855         buffers accordingly
856
857 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
858
859         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
860           Don't ref NULL target pad (#322751). Improve docs.
861
862 2005-11-29  Michael Smith  <msmith@fluendo.com>
863
864         * gst/gstregistryxml.c: (load_plugin):
865           Don't crash if we failed to load a feature from a plugin. 
866
867 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
868
869         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
870         (GST_START_TEST):
871           use more check API and less GLib API
872
873 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
874
875         * Makefile.am:
876           don't run checks if we don't have check
877         * common/check.mak:
878           remove the registry when running make torture
879         * docs/gst/gstreamer-sections.txt:
880           remove second multiply
881         * gst/gstqueue.c: (gst_queue_loop):
882           fix a compile warning when disabling debug
883
884 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
885
886         * gst/gstinfo.h:
887         Hey! Let's print the pad name if the pointer != NULL instead
888         of when it == NULL :-)
889
890 2005-11-28  Wim Taymans  <wim@fluendo.com>
891
892         * check/gst/gstutils.c: (GST_START_TEST):
893         Updated check, add some scaling accuracy checking code.
894
895         * gst/gstutils.c: (gst_util_div128_64),
896         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
897         (gst_util_uint64_scale_int):
898         Fix 6 times faster division code. Optimize for common 
899         1/1 and less common X/1 cases.
900
901 2005-11-28  Wim Taymans  <wim@fluendo.com>
902
903         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
904         More checks.
905
906         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
907         (do_linear_regression), (gst_clock_add_observation):
908         Cleanups.
909         Release lock when the clock cannot be slaved.
910         Catch the case where the regression returned an invalid denominator.
911
912         * gst/gstutils.c: (gst_util_div128_64_iterate),
913         (gst_util_div128_64), (gst_util_uint64_scale_int64),
914         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
915         Add protentially more performant non-iterative 128/64 divide function
916         that unfortunatly does not work yet.
917         Shortcut the trivial 0/X = 0 case.
918         Remove the warnings on overflow.
919
920 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
921
922         * gst/gstplugin.c: (gst_plugin_register_func):
923           everything causing a plugin not to load should be at least a WARNING
924
925 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
926
927         * docs/random/ensonic/dparams.txt:
928           some TODOs for the next dev cycle
929         * libs/gst/controller/gstcontroller.c:
930         (gst_controlled_property_set_interpolation_mode),
931         (gst_controlled_property_new):
932         * libs/gst/controller/gstcontroller.h:
933           use base type to assign acccessor functions
934
935 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
936
937         * check/Makefile.am:
938         Oops, that should have been top_srcdir
939
940 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
941
942         * check/Makefile.am:
943         * check/elements/fdsrc.c: (GST_START_TEST):
944         Use a cmdline define to specify the location of a file to use for
945         testing, to avoid breaking distcheck.
946
947 2005-11-28  Andy Wingo  <wingo@pobox.com>
948
949         * gst/gstpad.c (fixate_value): Use array functions for arrays.
950
951 2005-11-28  Edward Hervey  <edward@fluendo.com>
952
953         * tools/gst-launch.c: (main):
954         Clarify the output strings, makes it easier to translate.
955         Fixes #322626
956
957 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
958
959         * gst/Makefile.am:
960           don't try and build net if we don't even have <sys/socket.h>
961
962 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
963
964         * check/Makefile.am:
965         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
966         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
967           Add tests for fdsrc seekability
968
969         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
970         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
971         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
972         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
973         * gst/elements/gstfdsrc.h:
974           fdsrc should not be a 'live' source.
975           Implement seeking on seekable fd's.
976
977         * gst/gstquery.c: (gst_query_new_seeking),
978         (gst_query_parse_seeking):
979         * gst/gstquery.h:
980           Implement SEEKING query functions: 
981             *_new_seeking and *_parse_seeking
982
983 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
984
985         * gst/gstelement.c: (gst_element_dispose):
986           don't loop forever
987
988         * gst/gstiterator.c:
989         * gst/gststructure.c:
990           doc fixes
991
992         * libs/gst/controller/gstcontroller.c:
993         (gst_controlled_property_set_interpolation_mode):
994         * libs/gst/controller/gstcontroller.h:
995         * libs/gst/controller/gstinterpolation.c:
996         (interpolate_none_get_enum_value_array):
997           support controlling enums
998
999 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1000
1001         * gst/gstvalue.c:
1002           Improve documentation for gst_value_union().
1003
1004         * gst/gstvalue.h:
1005           Change return value for union, intersect and subtract functions
1006           from gint to gboolean.
1007
1008 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1009
1010         * gst/gstvalue.c: (gst_value_serialize_any_list),
1011         (gst_value_transform_any_list_string),
1012         (gst_value_deserialize_list), (gst_value_deserialize_array),
1013         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1014         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1015         (gst_value_set_fraction_range_full),
1016         (gst_value_deserialize_fraction_range),
1017         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1018         (gst_value_deserialize_boolean),
1019         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1020         (gst_value_serialize_float), (gst_value_deserialize_float),
1021         (gst_string_wrap), (gst_value_deserialize_string),
1022         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1023         (gst_value_union_int_range_int_range),
1024         (gst_value_intersect_int_range_int_range),
1025         (gst_value_intersect_double_range_double_range),
1026         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1027         (gst_value_subtract_int_range_int_range),
1028         (gst_value_subtract_double_double_range),
1029         (gst_value_subtract_double_range_double_range),
1030         (gst_value_deserialize_fraction):
1031         * gst/gstvalue.h:
1032           Use gint, gdouble and gchar in our API instead of int, double and
1033           char (and make usage in gstvalue.c more consistent).
1034
1035 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1036
1037         * check/Makefile.am:
1038         * libs/gst/controller/Makefile.am:
1039         * libs/gst/dataprotocol/Makefile.am:
1040           fix up Makefile.am and remove GST_ENABLE_NEW
1041
1042 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1043
1044         * configure.ac:
1045         * gst/Makefile.am:
1046         * gst/base/Makefile.am:
1047         * gst/check/Makefile.am:
1048         * gst/elements/Makefile.am:
1049         * gst/net/Makefile.am:
1050           update LDFLAGS use some more
1051
1052 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1053
1054         * common/m4/gst-doc.m4:
1055           Fixes #312589
1056
1057 2005-11-26  Edward Hervey  <edward@fluendo.com>
1058
1059         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1060         This shouldn't issue a g_warning since it returns NULL if it
1061         couldn't find the plugin, and all functions using this behave
1062         properly on a NULL return. Switching to a GST_WARNING.
1063
1064 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1065
1066         * gst/gstbin.c: (gst_bin_handle_message_func):
1067         Don't leak clock messages.
1068
1069 2005-11-25  Wim Taymans  <wim@fluendo.com>
1070
1071         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1072         (gst_util_uint64_scale_int):
1073         Optimisations, remove unneeded vars.
1074
1075 2005-11-25  Wim Taymans  <wim@fluendo.com>
1076
1077         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1078         Added more checks for the high precision uint64 cases.
1079
1080         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1081         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1082         Implement high precision (guint64 * guint64) / guint64.
1083
1084 2005-11-24  Wim Taymans  <wim@fluendo.com>
1085
1086         * gst/base/gstbasesrc.c: (gst_base_src_query):
1087         Fix wrong percentage query.
1088
1089         * gst/gstutils.c: (gst_util_uint64_scale),
1090         (gst_util_uint64_scale_int):
1091         Add some more common cases that can be handled 
1092         efficiently to _scale.
1093
1094 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1095
1096         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1097         (gst_mini_object_suite):
1098           don't use check calls from threads; check probably isn't
1099           threadsafe and using a lock to make it threadsafe would
1100           defeat the purpose of this check
1101         * gst/check/gstcheck.c:
1102         * gst/check/gstcheck.h:
1103           use GST_DEBUG some more
1104
1105 2005-11-24  Wim Taymans  <wim@fluendo.com>
1106
1107         * gst/gstutils.c: (gst_util_uint64_scale),
1108         (gst_util_uint64_scale_int):
1109         Chain trivial case to _scale_int.
1110
1111 2005-11-24  Wim Taymans  <wim@fluendo.com>
1112
1113         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1114         Added test for scaling.
1115
1116         * gst/gstclock.h:
1117         Small doc fix.
1118
1119         * gst/gstutils.c: (gst_util_uint64_scale_int):
1120         Implemented high precision scaling code.
1121
1122 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1123
1124         * gst/gstinfo.h:
1125           do not crash on pad==NULL
1126
1127 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1128
1129         Patch by: Stefan Kost
1130
1131         * common/gtk-doc.mak:
1132         * docs/gst/Makefile.am:
1133         * docs/libs/Makefile.am:
1134           Fix distcheck issues for the libraries docs build
1135           Closes #319599.
1136
1137 2005-11-24  Michael Smith <msmith@fluendo.com>
1138
1139         * docs/manual/basics-helloworld.xml:
1140           Fix bug #315027: memory leak in example code in docs.
1141
1142 2005-11-24  Michael Smith <msmith@fluendo.com>
1143
1144         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1145           Unlock the PREROLL_LOCK in a failure case.
1146
1147 2005-11-24  Wim Taymans  <wim@fluendo.com>
1148
1149         * docs/gst/gstreamer-sections.txt:
1150         * gst/base/gstadapter.h:
1151         * gst/base/gstbasesink.h:
1152         * gst/base/gstbasesrc.h:
1153         * gst/base/gstbasetransform.h:
1154         * gst/base/gstpushsrc.h:
1155         * gst/elements/gstfakesink.h:
1156         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1157         * gst/elements/gstfakesrc.h:
1158         * gst/elements/gstfilesink.h:
1159         * gst/elements/gstfilesrc.h:
1160         * gst/gst.c:
1161         * gst/gstbin.c:
1162         * gst/gstbuffer.c: (_gst_buffer_copy):
1163         * gst/gstbus.h:
1164         * gst/gstcaps.c:
1165         * gst/gstchildproxy.c:
1166         * gst/gstclock.c:
1167         * gst/gstelement.c:
1168         * gst/gstelementfactory.c:
1169         * gst/gstelementfactory.h:
1170         * gst/gstevent.c:
1171         * gst/gstghostpad.h:
1172         * gst/gstindex.h:
1173         * gst/gstinterface.h:
1174         * gst/gstminiobject.c:
1175         * gst/gstminiobject.h:
1176         * gst/gstpad.c:
1177         * gst/gstpad.h:
1178         * gst/gstpadtemplate.h:
1179         * gst/gstpipeline.h:
1180         * gst/gstpluginfeature.h:
1181         * gst/gstquery.h:
1182         * gst/gstqueue.h:
1183         * gst/gsttaglist.c:
1184         * gst/gsttaglist.h:
1185         * gst/gsttagsetter.c:
1186         * gst/gsttagsetter.h:
1187         * gst/gsttrace.c:
1188         * gst/gsttrace.h:
1189         * gst/gsttypefind.h:
1190         * gst/gsturi.h:
1191         * gst/gstvalue.c:
1192         * gst/net/gstnetclientclock.c:
1193         * gst/net/gstnetclientclock.h:
1194         * gst/net/gstnettimepacket.c:
1195         * gst/net/gstnettimeprovider.c:
1196         * gst/net/gstnettimeprovider.h:
1197         Doc fixes.
1198
1199 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1200
1201         * configure.ac: back to HEAD
1202
1203 === release 0.9.6 ===
1204
1205 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1206
1207         * configure.ac:
1208           releasing 0.9.6, "Always On Time"
1209
1210 2005-11-23  Wim Taymans  <wim@fluendo.com>
1211
1212         * docs/gst/gstreamer-sections.txt:
1213         * gst/glib-compat.c:
1214         * gst/gsttagsetter.c:
1215         * gst/gstvalue.c:
1216         * gst/net/gstnetclientclock.c:
1217         * gst/net/gstnettimepacket.h:
1218         Doc updates.
1219
1220 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1221
1222         * docs/faq/using.xml:
1223         * docs/libs/tmpl/gstcontrol.sgml:
1224         * docs/manual/advanced-dparams.xml:
1225         * docs/manual/appendix-checklist.xml:
1226         * docs/manual/basics-elements.xml:
1227         * docs/pwg/other-source.xml:
1228         * docs/random/moving-plugins:
1229         * gst/gstpad.c:
1230         * tools/gst-launch.1.in:
1231           remove mentions of sinesrc
1232
1233 2005-11-23  Michael Smith <msmith@fluendo.com>
1234
1235         * docs/gst/gstreamer-sections.txt:
1236           Update for new API and API changes.
1237         * gst/gstobject.h:
1238           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1239         * gst/gstvalue.c:
1240           Documentation typo fix.
1241         * gst/net/gstnettimepacket.c:
1242           Documentation fixes for arguments.
1243
1244 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1245
1246         * gst/gststructure.c: (gst_structure_get_fraction),
1247         (gst_structure_parse_value),
1248         (gst_structure_fixate_field_nearest_fraction):
1249         * gst/gststructure.h:
1250         * gst/gstutils.c: (gst_util_uint64_scale_int):
1251         * gst/gstutils.h:
1252         * scripts/update-funcnames:
1253         API Changes. 
1254         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1255         Make gst_structure_fixate_field_nearest_fraction take a numerator
1256         and denominator argument instead of a GValue
1257         add gst_structure_get_fraction helper function.
1258
1259 2005-11-23  Wim Taymans  <wim@fluendo.com>
1260
1261         * docs/design/part-TODO.txt:
1262         Update TODO.
1263
1264         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1265         * gst/net/gstnetclientclock.h:
1266         Use parent fields for timeout and window_size.
1267
1268 2005-11-23  Andy Wingo  <wingo@pobox.com>
1269
1270         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1271         rate_num/rate_denom change.
1272
1273         * gst/net/gstnetclientclock.c
1274         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1275         OBJECT_LOCK. Don't call add_observation with the lock.
1276
1277         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1278         fraction.
1279         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1280         rate fraction.
1281         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1282         deal with rate as a fraction whose numerator and denominator are
1283         GstClockTime values.
1284         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1285         master; the other fields are protected by the SLAVE_LOCK.
1286         (do_linear_regression): Note that this must be called with the
1287         SLAVE_LOCK.
1288         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1289         OBJECT_LOCK. Call set_calibration instead of touching the
1290         variables directly.
1291         (gst_clock_set_property, gst_clock_get_property): Protect
1292         master/slave parameters with the SLAVE_LOCK.
1293
1294         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1295         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1296         note that all of the instance variables that add_observation and
1297         the set_master functions use are protected by that lock and not
1298         the OBJECT_LOCK.
1299         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1300
1301         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1302         the caller to take the object lock.
1303
1304 2005-11-23  Wim Taymans  <wim@fluendo.com>
1305
1306         * gst/gsterror.c: (_gst_core_errors_init):
1307         * gst/gsterror.h:
1308         Add error for clock stuff.
1309
1310         * gst/gstpipeline.c: (gst_pipeline_change_state),
1311         (gst_pipeline_set_clock):
1312         Post clock error when clock cannot be used in a pipeline.
1313
1314 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1315
1316         * docs/gst/gstreamer-sections.txt:
1317           make two symbols from gstinfo private for the docs
1318         * gst/base/gstcollectpads.h:
1319         * gst/gstutils.c:
1320           fix doc typos, update docs
1321
1322 2005-11-22  Wim Taymans  <wim@fluendo.com>
1323
1324         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1325         (gst_base_sink_wait), (gst_base_sink_do_sync),
1326         (gst_base_sink_handle_event):
1327         * gst/base/gstbasesink.h:
1328         No need to store the clock, the parent element class already
1329         has it.
1330
1331         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1332         Updates for clock_set returning a gboolean
1333
1334         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1335         (gst_clock_id_wait_async), (gst_clock_class_init),
1336         (gst_clock_init), (gst_clock_finalize),
1337         (gst_clock_get_internal_time), (gst_clock_get_time),
1338         (gst_clock_slave_callback), (gst_clock_set_master),
1339         (gst_clock_get_master), (do_linear_regression),
1340         (gst_clock_add_observation), (gst_clock_set_property),
1341         (gst_clock_get_property):
1342         * gst/gstclock.h:
1343         Implement master/slave. When setting a clock as a slave, a
1344         periodic timeout is scheduled to sample master and slave times.
1345         Then the slave clock is recalibrated to match offset and rate
1346         of the master clock.
1347         Update logging a bit.
1348         Add flag so that a clock can state that is cannot be slaved to
1349         another clock.
1350
1351         * gst/gstelement.c: (gst_element_set_clock):
1352         * gst/gstelement.h:
1353         The set clock returns a gboolean for when an element cannot
1354         deal with the selected clock in the pipeline. 
1355
1356         * gst/gstpipeline.c: (gst_pipeline_change_state),
1357         (gst_pipeline_set_clock):
1358         * gst/gstpipeline.h:
1359         Handle the case where the selected clock cannot be set on
1360         the pipeline.
1361
1362         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1363         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1364         (gst_net_client_clock_set_property),
1365         (gst_net_client_clock_get_property),
1366         (gst_net_client_clock_observe_times):
1367         * gst/net/gstnetclientclock.h:
1368         Use regression code in GstClock parent, remove duplicated
1369         functionality.
1370
1371 2005-11-22  Michael Smith <msmith@fluendo.com>
1372
1373         * gst/gstutils.c: (gst_util_clock_time_scale):
1374         * gst/gstutils.h:
1375         * docs/gst/gstreamer-sections.txt:
1376           Rename method to have extra underscore.
1377
1378 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1379
1380         * gst/elements/Makefile.am:
1381         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1382         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1383         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1384         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1385         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1386         * gst/elements/gstfakesrc.h:
1387         * gst/gstqueue.c: (queue_leaky_get_type):
1388           correctly fix GEnumValues so that nick is the short lowercase
1389           dashed tag
1390         * tools/gst-inspect.c: (print_element_properties_info):
1391           also show the nick, since it's useful to use from parse_launch
1392           syntax
1393           Fixes #322139
1394
1395 2005-11-22  Michael Smith <msmith@fluendo.com>
1396
1397         * gst/gstutils.c: (gst_util_clocktime_scale):
1398         * gst/gstutils.h:
1399         * docs/gst/gstreamer-sections.txt:
1400           Add util method for scaling a clocktime by a fraction. Useful 
1401           implementation is left as an exercise for the reader.
1402
1403 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1404
1405         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1406         If needed, allocate storage in the destination value during
1407         collection.
1408
1409 2005-11-22  Edward Hervey  <edward@fluendo.com>
1410
1411         * docs/gst/gstreamer-sections.txt:
1412         * gst/Makefile.am:
1413         * gst/gst.h:
1414         * gst/gsturitype.c:
1415         * gst/gsturitype.h:
1416         * gst/gstutils.c: (gst_util_set_object_arg):
1417         * tools/gst-compprep.c: (main):
1418         * tools/gst-inspect.c: (print_element_properties_info):
1419         Removed GstURI, closes bug #321061
1420
1421 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1422
1423         * check/gst/gststructure.c: (GST_START_TEST):
1424         * gst/gststructure.c: (gst_structure_parse_value):
1425           Oops, broke automatic string type parsing.
1426           Add a test to catch it in future.
1427
1428 2005-11-22  Andy Wingo  <wingo@pobox.com>
1429
1430         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1431         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1432         Actually rename the function implementations. Grr.
1433
1434 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1435
1436         * check/gst/capslist.h:
1437           Comment test cases
1438         * check/gst/gststructure.c: (GST_START_TEST),
1439         (gst_structure_suite):
1440           Test automatic value type detection in gst_structure_from_string.
1441         * gst/gststructure.c: (gst_structure_parse_value):
1442           Add fraction as a type we try and guess automatically in
1443           caps/structure strings.
1444
1445 2005-11-22  Andy Wingo  <wingo@pobox.com>
1446
1447         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1448
1449         * gst/gsttagsetter.h:
1450         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1451         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1452         (gst_tag_setter_add_tag_valist)
1453         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1454         _add_values, _add_valist, and _add_valist_values. Since this is an
1455         interface the function suffixes should be more explicit so
1456         language binding don't end up with element.add_valist ->
1457         gst_tag_setter_add_valist, for example. Fixes #322069.
1458
1459 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1460
1461         * check/gst/gstcaps.c: (GST_START_TEST):
1462           Extend caps string tests to check that a caps to string
1463           conversion is reversible and produces the same caps.
1464
1465         * gst/gststructure.c: (gst_structure_value_get_generic_type):
1466           Output "fraction" as the generic type fraction range, so caps
1467           serialisation and deserialisation works.
1468         * check/gst/capslist.h:
1469         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1470           Support 'MIN' and 'MAX' for deserialising fractions.
1471
1472 2005-11-22  Andy Wingo  <wingo@pobox.com>
1473
1474         * gst/gstevent.h (gst_event_new_new_segment)
1475         (gst_event_parse_new_segment, gst_event_new_buffer_size)
1476         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1477         Renamed from *_newsegment, *_buffersize, *_notarget.
1478
1479         * scripts/update-funcnames: New script, performs the changes
1480         listed above.
1481
1482 2005-11-22  Wim Taymans  <wim@fluendo.com>
1483
1484         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1485         Make sure the GstFlowReturn is returned.
1486
1487         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1488         (gst_bus_add_signal_watch):
1489         * gst/gstbus.h:
1490         add gst_bus_add_signal_watch_full.
1491
1492         * gst/gstplugin.c: (gst_plugin_load_file):
1493         Small style cleanup.
1494
1495 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1496
1497         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1498           Block the fakesrc srcpad when we send an event, to avoid
1499           contention on the stream_lock causing random test failures.
1500
1501 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1502
1503         * check/gst/gstvalue.c: (GST_START_TEST):
1504         * gst/gstvalue.c: (gst_value_fraction_subtract):
1505           Fix subtraction.
1506
1507 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
1508
1509         * gst/gst.h:
1510           include "gstchildproxy.h"
1511         * gst/gstchildproxy.h:
1512         * libs/gst/controller/gstcontroller.h:
1513           use G_GNUC_NULL_TERMINATED
1514
1515 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1516
1517         * check/gst/capslist.h:
1518         * check/gst/gstcaps.c: (GST_START_TEST):
1519         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1520         * gst/gststructure.c: (gst_structure_parse_range),
1521         (gst_structure_fixate_field_nearest_fraction):
1522         * gst/gststructure.h:
1523         * gst/gstvalue.c: (gst_value_init_fraction_range),
1524         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1525         (gst_value_collect_fraction_range),
1526         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1527         (gst_value_set_fraction_range_full),
1528         (gst_value_get_fraction_range_min),
1529         (gst_value_get_fraction_range_max),
1530         (gst_value_serialize_fraction_range),
1531         (gst_value_transform_fraction_range_string),
1532         (gst_value_compare_fraction_range),
1533         (gst_value_deserialize_fraction_range),
1534         (gst_value_intersect_fraction_fraction_range),
1535         (gst_value_intersect_fraction_range_fraction_range),
1536         (gst_value_subtract_fraction_fraction_range),
1537         (gst_value_subtract_fraction_range_fraction),
1538         (gst_value_subtract_fraction_range_fraction_range),
1539         (gst_value_collect_fraction), (gst_value_fraction_multiply),
1540         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1541         (gst_value_transform_string_fraction), (_gst_value_initialize):
1542         * gst/gstvalue.h:
1543           Implement fraction ranges and extend GstFraction to support
1544           arithmetic subtraction, as well as deserialization from integer
1545           strings such as "100"
1546           Add a testsuite as for int and double range set operations
1547
1548 2005-11-21  Andy Wingo  <wingo@pobox.com>
1549
1550         * gst/gsttaglist.h: 
1551         * gst/gstcaps.h: 
1552         * gst/gststructure.h: Add glib-compat.h.
1553
1554 2005-11-21  Wim Taymans  <wim@fluendo.com>
1555
1556         * gst/gstbin.c: (gst_bin_change_state_func):
1557         Fix for #321595
1558
1559 2005-11-21  Wim Taymans  <wim@fluendo.com>
1560
1561         * gst/gstsegment.h:
1562         And add a nice define too.
1563
1564 2005-11-21  Wim Taymans  <wim@fluendo.com>
1565
1566         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1567         (gst_segment_new), (gst_segment_free), (gst_segment_init),
1568         (gst_segment_set_duration), (gst_segment_set_last_stop),
1569         (gst_segment_set_seek), (gst_segment_set_newsegment),
1570         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1571         (gst_segment_clip):
1572         * gst/gstsegment.h:
1573         Make binding friendly.
1574
1575 2005-11-21  Andy Wingo  <wingo@pobox.com>
1576
1577         * gst/gsttagsetter.h: 
1578         * gst/gsttaglist.h: 
1579         * gst/gststructure.h: 
1580         * gst/gstcaps.h: 
1581         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1582         #319940.
1583
1584         * gst/gsterror.c (_gst_core_errors_init):
1585         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1586         category.
1587
1588         * gst/Makefile.am (gst_headers): Add glib-compat.h.
1589         (noinst_HEADERS): noinst the -private.
1590
1591 2005-11-21  Michael Smith <msmith@fluendo.com>
1592
1593         * gst/gstplugin.h:
1594         * gst/gstregistry.h:
1595           Remove unimplemented declarations for which we can see no sensible
1596           use.
1597
1598 2005-11-21  Andy Wingo  <wingo@pobox.com>
1599
1600         * gst/gst.h: Include glib-compat.h.
1601
1602         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1603
1604         * gst/glib-compat.c: Include the public and the private header.
1605
1606         * gst/glib-compat-private.h: Copied here from glib-compat.h.
1607
1608         * gst/gstvalue.c: 
1609         * gst/gstpad.c: 
1610         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1611
1612         * check/gst/gstevent.c (create_custom_events): Check that
1613         FLUSH_STOP is serialized.
1614
1615         * check/elements/identity.c (event_func): 
1616         * check/elements/fakesrc.c (event_func): No stream lock, the core
1617         takes it.
1618
1619         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1620         stream lock taking, yay.
1621
1622         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1623         ensure that core takes the stream lock.
1624
1625         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1626         lock name change.
1627
1628         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1629         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1630         it already. For the flush start we do take it though so we get the
1631         right preroll state change messages.
1632
1633         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1634         the stream lock here, the core does it for us.
1635
1636         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1637         GST_STREAM_GET_LOCK.
1638         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
1639         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
1640         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1641         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1642         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
1643         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1644
1645         * gst/gstpad.c: Update for stream lock name change.
1646
1647         * gst/base/gstbasesink.c: Update for preroll lock name change.
1648
1649 2005-11-21  Wim Taymans  <wim@fluendo.com>
1650
1651         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1652         (gst_clock_get_master):
1653         * gst/gstclock.h:
1654         * gst/gstsystemclock.c: (gst_system_clock_init):
1655         Convert Clock flags to object flags.
1656         Added methods to manage master/slave clocks.
1657
1658 2005-11-21  Wim Taymans  <wim@fluendo.com>
1659
1660         * check/gst/gstsegment.c: (GST_START_TEST):
1661         * docs/design/part-TODO.txt:
1662         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1663         (gst_base_sink_event), (gst_base_sink_do_sync),
1664         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1665         (gst_base_sink_query), (gst_base_sink_change_state):
1666         * gst/base/gstbasesink.h:
1667         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1668         (gst_base_src_default_newsegment),
1669         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1670         (gst_base_src_get_range), (gst_base_src_loop),
1671         (gst_base_src_change_state):
1672         * gst/base/gstbasesrc.h:
1673         * gst/base/gstbasetransform.c:
1674         (gst_base_transform_prepare_output_buf),
1675         (gst_base_transform_event), (gst_base_transform_change_state):
1676         * gst/base/gstbasetransform.h:
1677         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1678         (gst_collect_pads_event):
1679         * gst/base/gstcollectpads.h:
1680         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1681         (gst_fake_src_create):
1682         * gst/elements/gstfakesrc.h:
1683         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1684         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1685         (gst_segment_set_last_stop), (gst_segment_set_seek),
1686         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1687         (gst_segment_to_running_time), (gst_segment_clip):
1688         * gst/gstsegment.h:
1689         More segment updates, replace code in plugins with segment
1690         helper functions.
1691
1692 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1693
1694         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1695         Don't ignore sscanf results
1696
1697 2005-11-21  Andy Wingo  <wingo@pobox.com>
1698
1699         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1700
1701         * *.h:
1702         * *.c: Ran scripts/update-macros. Oh yes.
1703
1704         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1705         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1706         GST_GET_LOCK, etc.
1707
1708         * scripts/update-macros: New script. Run it on your files to
1709         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1710         well.
1711
1712 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1713
1714         * docs/gst/Makefile.am:
1715         * docs/gst/gstreamer-docs.sgml:
1716         * docs/gst/gstreamer-sections.txt:
1717         * docs/gst/gstreamer.types:
1718         * gst/gstinfo.h:
1719           more docs fixes, add new api to the docs
1720
1721 2005-11-21  Andy Wingo  <wingo@pobox.com>
1722
1723         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1724         state_broadcast call.
1725
1726         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1727
1728 2005-11-21  Julien MOUTTE  <julien@moutte.net>
1729
1730         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1731         function calls for arrays.
1732
1733 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
1734
1735         * docs/random/ensonic/media-device-daemon.txt:
1736           wild idea, can this be done?
1737         * docs/gst/gstreamer-sections.txt:
1738         * gst/gsterror.h:
1739         * gst/gstfilter.c:
1740         * gst/gstfilter.h:
1741         * gst/gstplugin.h:
1742         * gst/gstpluginfeature.c:
1743         * gst/gsttrace.c:
1744         * gst/gstvalue.c:
1745         * gst/gstvalue.h:
1746           doc fixes and additions
1747
1748 2005-11-21  Andy Wingo  <wingo@pobox.com>
1749
1750         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
1751         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
1752         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
1753         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1754         private to the basesrc implementation.
1755
1756         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1757         behalf of event function if necessary. It should no longer be
1758         necessary to take the stream lock in pad's event functions. Fixes
1759         #320299.
1760
1761 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1762         * docs/gst/gstreamer-sections.txt:
1763         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1764         (gst_structure_fixate_field_nearest_double),
1765         (gst_structure_fixate_field_boolean):
1766         * gst/gststructure.h:
1767         * win32/common/libgstreamer.def:
1768         * win32/gstreamer.def:
1769
1770         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1771         (#322027)
1772
1773 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1774
1775         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1776         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1777         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1778         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1779         (gst_fdsrc_uri_handler_init):
1780         * gst/elements/gstfdsrc.h:
1781           Port fd:// URI handler from 0.8 to fdsrc
1782
1783 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1784
1785         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1786         (gst_value_serialize_fourcc):
1787         * gst/gstvalue.h:
1788           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1789           consistent with our other format defines (#320324).
1790
1791 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1792
1793         * gst/gstvalue.c: (gst_value_is_fixed):
1794           Revert previous commit. Value lists are by definition
1795           not fixed, as they are a list of possible values.
1796
1797 2005-11-21  Andy Wingo  <wingo@pobox.com>
1798
1799         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1800         during the stable series if we need it. Fixes #319178.
1801
1802         * gst/gstevent.c (gst_event_new_filler): Removed.
1803
1804         * check/gst/gstevent.c: Update comment about filler events.
1805
1806 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1807
1808         * gst/gstvalue.c: (gst_value_is_fixed):
1809           Should handle both value arrays and value lists.
1810
1811 2005-11-21  Andy Wingo  <wingo@pobox.com>
1812
1813         patch by: Alessandro Dessina <alessandro nnva org>
1814
1815         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1816         functions to access arrays. Fixes #321962.
1817
1818 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1819
1820         * docs/gst/gstreamer.types:
1821           gst_collectpads_get_type => gst_collect_pads_get_type.
1822           
1823         * gst/base/gstbasetransform.c:
1824           Remove unused SIGNAL_HANDOFF enum.
1825
1826 2005-11-21  Andy Wingo  <wingo@pobox.com>
1827
1828         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1829         the event type (upstream, downstream, serialized). Renamed
1830         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1831         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1832         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1833
1834         * gst/gstevent.c: Update for new CUSTOM event names.
1835
1836         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1837
1838         * gst/gstevent.h:
1839         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1840         bug #319392.
1841
1842 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1843
1844         * docs/gst/gstreamer-sections.txt:
1845         * win32/common/libgstbase.def:
1846         * win32/libgstbase.def:
1847         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1848         (gst_collect_pads_class_init), (gst_collect_pads_init),
1849         (gst_collect_pads_finalize), (gst_collect_pads_new),
1850         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1851         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1852         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1853         (gst_collect_pads_start), (gst_collect_pads_stop),
1854         (gst_collect_pads_peek), (gst_collect_pads_pop),
1855         (gst_collect_pads_available), (gst_collect_pads_read),
1856         (gst_collect_pads_flush), (gst_collect_pads_event),
1857         (gst_collect_pads_chain):
1858         * gst/base/gstcollectpads.h:
1859           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1860           unimplemented functions as unimplemented. Add padding to
1861           GstCollectData. (#320766, #320423)
1862
1863 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1864
1865         * gst/gstmessage.c:
1866           Improve docs for DURATION message (usage of duration parameter)
1867           (#320113)
1868
1869 2005-11-20  Wim Taymans  <wim@fluendo.com>
1870
1871         * check/Makefile.am:
1872         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1873         (main):
1874         * gst/Makefile.am:
1875         * gst/gst.h:
1876         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1877         (gst_segment_set_seek), (gst_segment_set_newsegment),
1878         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1879         (gst_segment_clip):
1880         * gst/gstsegment.h:
1881         Added segment helper structure and methods. Not fully implemented
1882         yet.
1883         Added segment check.
1884
1885 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1886
1887         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1888           Add a deserialisation test for fractions
1889         * examples/metadata/read-metadata.c: (message_loop),
1890         (make_pipeline), (main):
1891           Fix up metadata reading sample.
1892         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1893           Debug format fix
1894         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1895           Don't try and fixate empty caps
1896         * gst/gst_private.h:
1897           Wrap in G_BEGIN_DECLS/G_END_DECLS
1898         * gst/gstvalue.c: (gst_value_collect_fraction),
1899         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1900         (gst_value_transform_string_fraction),
1901         (gst_value_compare_fraction):
1902           Add some extra guards to ensure that we don't end up 
1903           with an invalid denominator of 0 in a gstfraction and
1904           that fractions always get reduced.
1905
1906 2005-11-20  Wim Taymans  <wim@fluendo.com>
1907
1908         * docs/gst/gstreamer-sections.txt:
1909         * gst/gstbuffer.h:
1910         * gst/gstelement.c:
1911         * gst/gstformat.c:
1912         * gst/gstformat.h:
1913         * gst/gstindex.h:
1914         * gst/gstquery.c:
1915         * gst/gstquery.h:
1916         * gst/gstvalue.c:
1917         Doc fixes.
1918
1919 2005-11-20  Wim Taymans  <wim@fluendo.com>
1920
1921         * docs/design/part-TODO.txt:
1922         * gst/gstcaps.h:
1923         Make a proper enum of the flag.
1924
1925 2005-11-19  Wim Taymans  <wim@fluendo.com>
1926
1927         * docs/design/part-TODO.txt:
1928         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1929         (gst_format_to_quark), (gst_format_register):
1930         * gst/gstformat.h:
1931         * gst/gstquery.c: (_gst_query_initialize),
1932         (gst_query_type_get_name), (gst_query_type_to_quark),
1933         (gst_query_type_register):
1934         * gst/gstquery.h:
1935         Add type to quark and type to string conversions.
1936
1937 2005-11-19  Andy Wingo  <wingo@pobox.com>
1938
1939         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1940         #320097.
1941
1942 2005-11-19  Wim Taymans  <wim@fluendo.com>
1943
1944         * docs/design/part-TODO.txt:
1945         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1946         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1947         (gst_bin_handle_message_func):
1948         * gst/gstbin.h:
1949         Make message handling overridable.
1950
1951 2005-11-19  Andy Wingo  <wingo@pobox.com>
1952
1953         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1954
1955         * gst/gstclock.h:
1956         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1957         be a GstClockTime.
1958         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1959         is a GstClockTime. Fixes #321710.
1960
1961         * gst/gstclock.h (GstClock): Remove offset property. Add
1962         internal_calibration and external_calibration. Fix padding. Pad
1963         also by GstClockTime so we don't run into problems.
1964
1965         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1966         (gst_clock_get_rate_offset): Remove.
1967         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1968
1969         * gst/gstutils.h:
1970         * gst/gstutils.c (g_static_rec_cond_wait)
1971         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1972
1973         * gst/gstbin.c: Remove terrible continue_state prototype.
1974
1975         * gst/gstelement.h (gst_element_continue_state): Make public.
1976
1977         * gst/gstelement.h:
1978         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1979         by continue_state. Fixes #319389.
1980
1981         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1982         Really fixes #168438. However I don't see anywhere where the
1983         filter function is called... stupid GStreamer...
1984         
1985         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1986         don't have a dispose function, so it won't get called when the
1987         object is unreffed, but oh well!
1988
1989         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1990         allows a destroy function to be set so user_data can be freed.
1991         Fixes #168438.
1992         (gst_index_set_filter): Call gst_index_set_filter_full.
1993
1994         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1995
1996         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1997         string should produce an error, given the lack of a way to
1998         represent NULL strings. Fixes #165650.
1999         
2000         * gst/gstvalue.h: 
2001         * gst/gstvalue.c (gst_value_array_append_value) 
2002         (gst_value_array_prepend_value, gst_value_array_get_size) 
2003         (gst_value_array_get_value): New API, copied from
2004         gst_value_list_*, only operates on arrays.
2005         (gst_value_list_append_value, gst_value_list_prepend_value) 
2006         (gst_value_list_concat, gst_value_list_get_size) 
2007         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2008
2009         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2010         init_list, because it works on both.
2011         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2012         (gst_value_copy_list_or_array): Renamed from copy_list.
2013         (gst_value_free_list_or_array): Renamed from free_list.
2014         (gst_value_collect_list_or_array): Renamed from collect_list.
2015         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2016         (gst_value_list_or_array_peek_pointer): Renamed from
2017         list_peek_pointer.
2018         (_gst_value_array_value_table, _gst_value_list_value_table):
2019         Update value table functions.
2020         (gst_value_compare_list_or_array): Renamed from compare_list.
2021
2022         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2023         some constness.
2024
2025         * gst/gsttaglist.c:
2026         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2027         GstTagList*. Fixes #143472.
2028
2029         * gst/gststructure.h: Clarify what the foreach/map functions can
2030         or can't do to their arguments.
2031
2032 2005-11-18  Wim Taymans  <wim@fluendo.com>
2033
2034         * gst/gstclock.c: (gst_clock_set_calibration),
2035         (gst_clock_get_calibration):
2036         Doc and API fixes.
2037         Calibration can be set with internal time equal to current
2038         internal time too.
2039
2040 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2041
2042         * gst/gsterror.c:
2043         * gst/gsterror.h:
2044           document
2045
2046 2005-11-18  Andy Wingo  <wingo@pobox.com>
2047
2048         * configure.ac: 
2049         * pkgconfig/gstreamer-net.pc.in:
2050         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2051         * pkgconfig/Makefile.am: Add net pkgconfig files.
2052
2053 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2054
2055         * gst/gstcaps.c:
2056         * gst/gstghostpad.c:
2057         * gst/gsttrace.c:
2058         * gst/gstvalue.c:
2059         * gst/gstvalue.h:
2060           docs fixes
2061
2062 2005-11-18  Andy Wingo  <wingo@pobox.com>
2063
2064         * gst/net/gstnetclientclock.c: Turn off debugging.
2065
2066         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2067         times connverge somewhat. Can't make a real test.
2068
2069         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2070         integer arithmetic. Return the minimum of the domain, which can be
2071         set as "internal" for gst_clock_set_calibration.
2072         (gst_net_client_clock_observe_times): Call _set_calibration.
2073         (gst_net_client_clock_new): Call _set_calibration instead of
2074         rate_offset.
2075
2076         * check/net/gstnetclientclock.c (test_functioning): Use the right
2077         adjustment api.
2078
2079         * gst/gstclock.h:
2080         * gst/gstclock.c (gst_clock_get_calibration) 
2081         (gst_clock_set_calibration): New functions, obsolete the ones I
2082         added yesterday. Doh. Precision issues mean we have to extrapolate
2083         from a point in the more recent past than 1970.
2084         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2085         obsolete.
2086         (gst_clock_adjust_unlocked): Use the right calibration data.
2087
2088 2005-11-18  Edward Hervey  <edward@fluendo.com>
2089
2090         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2091         Also reset the ->current_* values in READY->PAUSED
2092
2093 2005-11-18  Andy Wingo  <wingo@pobox.com>
2094
2095         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2096         Whoops, check the right fd. Also add some debugging.
2097         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2098         (do_linear_regression): Add a crapload of debugging. Subtract off
2099         the minimum values from the input series to discard unneeded bits.
2100         Use only int arithmetic. There is still double arithmetic when
2101         calculating the intercept that needs fixing. Return boolean to
2102         indicate success; FALSE would mean the domain or range is too
2103         great. Still needs fixes.
2104
2105 2005-11-18  Wim Taymans  <wim@fluendo.com>
2106
2107         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2108         For the current position in stream time, we need to subtract
2109         accumulated time.
2110         
2111         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2112         Release lock before calling the callback function of async
2113         entries.
2114
2115 2005-11-18  Andy Wingo  <wingo@pobox.com>
2116
2117         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2118         Port goes all the way to MAXUINT16.
2119
2120         * gst/net/gstnettimeprovider.c: Make the port range the same as
2121         for the kernel: 0 assigns, otherwise ports are less than
2122         MAXUINT16.
2123
2124         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2125         port change.
2126
2127         * check/net/gstnetclientclock.c (test_functioning): Add the start
2128         of another test. 
2129
2130 2005-11-18  Wim Taymans  <wim@fluendo.com>
2131
2132         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2133         (gst_bin_remove_func), (bin_bus_handler):
2134         * gst/gstbin.h:
2135         Removing a clock provider from a bin, triggers a clock lost message
2136         so that a new clock will be selected.
2137         Adding a clock to a bin triggers a clock provider message.
2138         Make sure we reselect a clock when we received a clock lost message.
2139         Keep a reference to the element that provided the clock.
2140
2141 2005-11-18  Andy Wingo  <wingo@pobox.com>
2142
2143         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2144         the clock initially so it produces values around the base time.
2145         (gst_net_client_clock_class_init): Typo fix.
2146         (gst_net_client_clock_thread): Add note on when the socket gets
2147         closed.
2148
2149 2005-11-17  Wim Taymans  <wim@fluendo.com>
2150
2151         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2152         Free remote and local time arrays.
2153
2154 2005-11-17  Wim Taymans  <wim@fluendo.com>
2155
2156         * gst/net/gstnetclientclock.c: (do_linear_regression),
2157         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2158         Fix compilation, uninitialized vars and a forgotten continue.
2159
2160 2005-11-17  Andy Wingo  <wingo@pobox.com>
2161
2162         * check/Makefile.am (check_PROGRAMS): 
2163         * check/net/gstnetclientclock.c: Add a most minimal test for the
2164         net client clock. More to come later.
2165
2166         * gst/net/gstnet.h: 
2167         * gst/net/Makefile.am: Add netclientclock.
2168
2169         * gst/net/gstnetclientclock.h:
2170         * gst/net/gstnetclientclock.c: New files, implement an untested
2171         GstClock that takes its time from a network time provider.
2172         Implements the algorithm in network-clock.scm.
2173
2174         * tests/network-clock.scm (*window-size*): Rename from
2175         *queue-length*.
2176         * tests/network-clock.scm (network-time): 
2177         * tests/network-clock-utils.scm (q-push): Update callers.
2178
2179 2005-11-17  Wim Taymans  <wim@fluendo.com>
2180
2181         * gst/gstbin.c: (gst_bin_provide_clock_func),
2182         (gst_bin_sort_iterator_new):
2183         And unref the child too..
2184
2185 2005-11-17  Wim Taymans  <wim@fluendo.com>
2186
2187         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2188         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2189         Refactor the sort iterator so it can be used while holding the
2190         LOCK too.
2191         Make clock selection select a clock closest to the source.
2192
2193 2005-11-17  Michael Smith <msmith@fluendo.com>
2194
2195         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2196         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2197         * gst/gstclock.h:
2198           Anonymous structs are a gcc (and some other compilers) extension, so
2199           don't use them. Since this is only for ABI-compatibility, and our
2200           API/ABI freeze is over in a few days, this whole thing will only
2201           last a few days, so don't bother trying to think up a meaningful
2202           name for the struct.
2203
2204 2005-11-17  Andy Wingo  <wingo@pobox.com>
2205
2206         * gst/gstclock.h (GstClock): Add rate and offset properties,
2207         preserving ABI stability. Add rate/offset accessors. Will file bug
2208         for the freeze break.
2209
2210         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2211         and offset, trying to keep precision and avoiding
2212         underflow/overflow.
2213         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2214         functions. Make gst_clock_set_time_adjust obsolete.
2215         (gst_clock_set_time_adjust): Note that this function is obsolete.
2216         Will file bug soon.
2217
2218         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2219         greppable by using GST_PADDING-1+1.
2220
2221 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2222
2223         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2224
2225         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2226           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2227
2228         * gst/gstpadtemplate.h:
2229         * gst/gstpluginfeature.h:
2230           Don't use c++ style comments in headers (#321638).
2231
2232 2005-11-16  Andy Wingo  <wingo@pobox.com>
2233
2234         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2235         buffer.
2236
2237         * check/net/gstnettimeprovider.c: Check to see that the time
2238         provider actually provides times. Works, yo!
2239
2240 2005-11-16  Wim Taymans  <wim@fluendo.com>
2241
2242         * check/Makefile.am:
2243         Enable more tests.
2244
2245         * check/elements/fakesrc.c: (GST_START_TEST):
2246         Set element to NULL before disposing it.
2247
2248 2005-11-16  Andy Wingo  <wingo@pobox.com>
2249
2250         * gst/net/Makefile.am:
2251         * gst/net/gstnet.h:
2252         * gst/net/gstnettimeprovider.c: 
2253         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2254         provider, include it from gstnet.h, and add it to the build.
2255
2256         * gst/net/gstnettimepacket.h: 
2257         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2258         sending and receiving.
2259
2260 2005-11-16  Wim Taymans  <wim@fluendo.com>
2261
2262         * check/Makefile.am:
2263         Enable valgrind check.
2264
2265         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2266         (gst_fake_src_alloc_buffer):
2267         Fix memleak.
2268
2269 2005-11-16  Wim Taymans  <wim@fluendo.com>
2270
2271         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2272         Call parent finalize too.
2273
2274 2005-11-16  Wim Taymans  <wim@fluendo.com>
2275
2276         * check/Makefile.am:
2277         Enable valgrind check that should work fine now.
2278
2279         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2280         * gst/gstqueue.c: (gst_queue_init):
2281         Fix memleaks in pad allocation.
2282
2283 2005-11-16  Andy Wingo  <wingo@pobox.com>
2284
2285         * gst/net/Makefile.am:
2286         * gst/net/gstnet.h: New part of core to hold network elements and
2287         objects. Put in core because it exposes API that applications want
2288         to use. The library is named libgstnet-tempname right now because
2289         of the existing libgstnet in gst-plugins-base. Solution is
2290         probably to rename the one in plugins-base; will file a bug for
2291         the freeze break.
2292
2293         * gst/net/gstnettimeprovider.c: 
2294         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2295         get_time call over the network.
2296
2297         * configure.ac: 
2298         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2299
2300         * check/Makefile.am:
2301         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2302         get additions shortly.
2303
2304 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2305
2306         * gst/gstpad.c: (gst_pad_new_from_static_template):
2307         * gst/gstpad.h:
2308           add gst_pad_new_from_static_template functions
2309         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2310         (gst_check_setup_sink_pad):
2311         * gst/elements/gsttee.c: (gst_tee_init):
2312           and use them
2313
2314 2005-11-16  Wim Taymans  <wim@fluendo.com>
2315
2316         * gst/gstpad.c: (gst_pad_pause_task):
2317         Removed warning, it's not really an error either.
2318
2319 2005-11-16  Wim Taymans  <wim@fluendo.com>
2320
2321         * gst/base/gstbasetransform.c:
2322         (gst_base_transform_prepare_output_buf),
2323         (gst_base_transform_event):
2324         Check if the caps are NULL, this can happen if the element
2325         is shutting down and the pad caps are set to NULL.
2326
2327 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2328
2329         * gst/elements/gsttee.c: (gst_tee_init):
2330           fix pad template leak in tee
2331
2332 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2333
2334         * gst/glib-compat.c: (g_value_dup_gst_object):
2335         * gst/glib-compat.h:
2336         * gst/gstpad.c: (gst_pad_set_property):
2337           use gst_object_ref when setting the pad template; this will
2338           trigger the pad template leaks on GLib 2.6 and the slaves
2339
2340 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2341
2342         * gst/glib-compat.c: (gst_flags_get_first_value):
2343         * gst/glib-compat.h:
2344         * gst/gstregistryxml.c:
2345           remove functions copied from GLib 2.6
2346
2347 2005-11-16  Michael Smith <msmith@fluendo.com>
2348
2349         * gst/Makefile.am:
2350           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2351           do, but only breaks with newer valgrind versions. We're not a
2352           valgrind tool, we have no link-time dependencies on libcoregrind.
2353
2354 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2355
2356         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2357           some debug changes
2358         * gst/gstmessage.h:
2359           typo fixes
2360
2361 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2362
2363         * gst/base/gstbasesrc.c: (gst_base_src_init):
2364         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2365         * gst/gstqueue.c: (gst_queue_init):
2366         * gst/gstregistryxml.c: (load_feature):
2367           Revert all these unrefs, they don't even pass make check !
2368
2369 2005-11-15  Johan Dahlin  <johan@gnome.org>
2370
2371         * gst/base/gstbasesrc.c: (gst_base_src_init):
2372         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2373         * gst/gstqueue.c: (gst_queue_init): 
2374         Free pad templates, fixes a couple of leaks.
2375
2376 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2377
2378         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2379
2380         * gst/gstpad.c: (gst_pad_get_property):
2381           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2382           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2383           (#321452)
2384
2385 2005-11-15  Wim Taymans  <wim@fluendo.com>
2386
2387         * gst/gstevent.c:
2388         Small doc update.
2389
2390 2005-11-15  Andy Wingo  <wingo@pobox.com>
2391
2392         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2393
2394         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2395         using GST_CLOCK_TIME_NONE to disable base time management.
2396         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2397         time if it was NONE before.
2398         (gst_pipeline_change_state): Only munge the base time if
2399         stream_time != GST_CLOCK_TIME_NONE.
2400
2401         * check/gst/gstpipeline.c (test_base_time): Punt around the
2402         problem of the probe not being called, because that's not the
2403         issue I'm looking at. Add a check that setting stream_time to NONE
2404         disables base time management.
2405         
2406 2005-11-15  Wim Taymans  <wim@fluendo.com>
2407
2408         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2409         segment_stop == -1 at startup.
2410
2411         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2412         (gst_base_transform_change_state):
2413         Init segment values at start.
2414
2415 2005-11-15  Wim Taymans  <wim@fluendo.com>
2416
2417         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2418         0 segment values are 0 in any format.
2419
2420         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2421         * gst/base/gstbasetransform.h:
2422         Parse newsegment correctly in basetransform
2423
2424         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2425         Sync to clock using updated segment values.
2426
2427 2005-11-15  Andy Wingo  <wingo@pobox.com>
2428
2429         * check/gst/gstpipeline.c (test_base_time): Add check that the
2430         base time and stream time are reset correctly.
2431
2432 2005-11-15  Wim Taymans  <wim@fluendo.com>
2433
2434         * docs/design/part-TODO.txt:
2435         Some more TODO items.
2436
2437 2005-11-15  Andy Wingo  <wingo@pobox.com>
2438
2439         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2440         error if the user selected "no clock" as the clocking method.
2441
2442         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2443         timestamps with live capture.
2444
2445         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2446         is 0 but we are a live source, timestamp the buffers using the
2447         element's clock.
2448
2449 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2450
2451         * docs/gst/gstreamer-sections.txt:
2452         * gst/gsterror.c:
2453         * gst/gstghostpad.c:
2454         * gst/gstobject.h:
2455         * gst/gstxml.c:
2456           more section docs
2457
2458 2005-11-14  Wim Taymans  <wim@fluendo.com>
2459
2460         * common/gst.supp:
2461           add suppressions from Wim's Debian machine
2462
2463 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2464
2465         * common/gst.supp:
2466           add suppressions from Andy's AMD64 Ubuntu machine
2467
2468 2005-11-14  Andy Wingo  <wingo@pobox.com>
2469
2470         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2471         STATE_LOCK not necessary. Fixes #311489.
2472
2473         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2474         #305291.
2475
2476         * gst/gstindex.c (gst_index_add_object): Note in the docs that
2477         this function is not implemented.
2478
2479 2005-11-14  Julien MOUTTE  <julien@moutte.net>
2480
2481         * gst/base/gstbasetransform.c:
2482         (gst_base_transform_prepare_output_buf):
2483         Ref the source pad caps while we need them.
2484         Fixes (#321386)
2485
2486 2005-11-11  Wim Taymans  <wim@fluendo.com>
2487
2488         * docs/gst/gstreamer-sections.txt:
2489         Added some docs for GstCollectData.
2490
2491         * gst/base/gstadapter.c:
2492         Some small code example fix.
2493
2494         * gst/base/gstcollectpads.c:
2495         * gst/base/gstcollectpads.h:
2496         Document some more.
2497
2498 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2499
2500         * configure.ac: back to HEAD
2501
2502 === release 0.9.5 ===
2503
2504 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2505
2506         * configure.ac:
2507           releasing 0.9.5, "Bike Lunch Day"
2508
2509 2005-11-11  Wim Taymans  <wim@fluendo.com>
2510
2511         * gst/gstbuffer.c: (_gst_buffer_copy):
2512         Copy more flags.
2513
2514         * gst/gstcaps.c: (gst_caps_is_equal):
2515         Fix some docs.
2516         Make _is_equal fast in the trivial cases.
2517
2518         * gst/gstminiobject.c:
2519         * gst/gstminiobject.h:
2520         More docs. Spifify .h file.
2521
2522         * gst/gstutils.c:
2523         Small doc update.
2524
2525 2005-11-11  Wim Taymans  <wim@fluendo.com>
2526
2527         * gst/base/gstbasetransform.c:
2528         (gst_base_transform_prepare_output_buf),
2529         (gst_base_transform_handle_buffer):
2530         Small cleanups.
2531         If we're processing a buffer and need to allocate an output
2532         buffer, we cannot accept a format change. If we did get a 
2533         format change, we have to alloc a buffer ourselves of the 
2534         right size.
2535
2536 2005-11-11  Wim Taymans  <wim@fluendo.com>
2537
2538         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2539         While checking the flag for reentrancy in the gstcaps function
2540         is nice to detect recursive invocations, it also makes it 
2541         impossible to call getcaps from multiple threads, which must be
2542         possible. So, checking for recursive calls has to go.
2543
2544 2005-11-11  Michael Smith <msmith@fluendo.com>
2545
2546         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2547           Don't sync on buffers that fall partially outside our current
2548           segment. Prevents an assertion failure/abort playing some files.
2549
2550 2005-11-10  Andy Wingo  <wingo@pobox.com>
2551
2552         * check/gst/gstbin.c (test_message_state_changed_children): Style
2553         fix..
2554
2555         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2556         gst_bus_poll with the signal watch. Ensures that poll and a signal
2557         watch see the same messages.
2558
2559         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2560         a poll and a watch at the same time get the same messages.
2561
2562 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2563
2564         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2565         * gst/gstcaps.c: (gst_caps_intersect):
2566           Don't call gst_caps_do_simplify - it doesn't respect order of caps
2567           and it's not needed.
2568
2569 2005-11-10  Wim Taymans  <wim@fluendo.com>
2570
2571         * docs/design/part-TODO.txt:
2572         Updated todo.
2573
2574 2005-11-10  Wim Taymans  <wim@fluendo.com>
2575
2576         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2577         * gst/base/gstbasesrc.c: (gst_base_src_wait),
2578         (gst_base_src_do_sync), (gst_base_src_get_range):
2579         Implement clock sync in base class.
2580
2581 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2582
2583         patch by: Tim-Philipp Müller <tim at centricular dot net>
2584
2585         * gst/gststructure.c: (gst_structure_parse_field),
2586         (gst_structure_from_string):
2587           Forward-port a 0.8 patch to handle escaped spaces in structure string,
2588           so that gst_parse_launch() can deal with spaces in filtered link
2589           caps (fixes #164479)
2590         * check/gst/capslist.h:
2591         * check/gst/gststructure.c: (GST_START_TEST):
2592           add unit tests for this change
2593
2594 2005-11-10  Wim Taymans  <wim@fluendo.com>
2595
2596         * docs/gst/gstreamer-sections.txt:
2597         * gst/gstelement.c:
2598         * gst/gstelement.h:
2599         Fix docs, move some STATE macros to private.
2600
2601 2005-11-10  Wim Taymans  <wim@fluendo.com>
2602
2603         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2604         Added check for bug #317341
2605
2606         * gst/gstbuffer.c:
2607         * gst/gstbuffer.h:
2608         Some more spiffifying.
2609
2610         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2611         Call peer linkfunction if we are a source pad. Totally fixes
2612         #317341
2613
2614         * gst/gstpad.c:
2615         Update docs, source pads should call the peer linkfunction
2616         so they can atomically perform the pad link.
2617
2618 2005-11-09  Wim Taymans  <wim@fluendo.com>
2619
2620         * gst/gstbuffer.c:
2621         * gst/gstbuffer.h:
2622         Uber-spiffy-spiffify some more.
2623
2624 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
2625
2626         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2627         * gst/elements/gstfilesink.c: (gst_file_sink_init):
2628         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2629         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2630         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2631         * gst/gstpad.c: (gst_pad_init):
2632           Use GST_DEBUG_FUNCPTR() more extensively.
2633
2634 2005-11-09  Wim Taymans  <wim@fluendo.com>
2635
2636         * gst/gstobject.c: (gst_object_class_init):
2637         * gst/gstobject.h:
2638         Documentation fixes.
2639
2640 2005-11-09  Edward Hervey  <edward@fluendo.com>
2641
2642         * gst/gsttypefindfactory.c:
2643         Fix docs.
2644         
2645 2005-11-09  Edward Hervey  <edward@fluendo.com>
2646
2647         * gst/base/gsttypefindhelper.c:
2648         * gst/gsttypefind.c:
2649         * gst/gsttypefind.h:
2650         Fix docs.
2651
2652 2005-11-09  Wim Taymans  <wim@fluendo.com>
2653
2654         * gst/gstiterator.c:
2655         Fix revision data.
2656
2657         * gst/gsttask.c:
2658         * gst/gsttask.h:
2659         Fix docs.
2660
2661 2005-11-09  Wim Taymans  <wim@fluendo.com>
2662
2663         * gst/gstevent.h:
2664         * gst/gsturi.h:
2665         Fix docs.
2666
2667 2005-11-09  Wim Taymans  <wim@fluendo.com>
2668
2669         * docs/gst/gstreamer-sections.txt:
2670         Moved the message async delivery private lock and cond
2671         to the private section.
2672
2673         * gst/gstmessage.c:
2674         * gst/gstmessage.h:
2675         Fixed docs.
2676
2677 2005-11-09  Edward Hervey  <edward@fluendo.com>
2678
2679         * docs/gst/gstreamer-sections.txt:
2680         * gst/gsturi.c:
2681         * gst/gsturi.h:
2682         Document GstURIHandler
2683
2684 2005-11-09  Wim Taymans  <wim@fluendo.com>
2685
2686         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2687         (gst_iterator_find_custom):
2688         * gst/gstiterator.h:
2689         Fix iterator docs.
2690
2691 2005-11-09  Wim Taymans  <wim@fluendo.com>
2692
2693         * gst/gstbin.h:
2694         Document another field.
2695
2696         * gst/gststructure.c:
2697         * gst/gststructure.h:
2698         Document.
2699
2700 2005-11-09  Wim Taymans  <wim@fluendo.com>
2701
2702         * gst/gstbin.h:
2703         Documented structs.
2704
2705 2005-11-09  Wim Taymans  <wim@fluendo.com>
2706
2707         * docs/gst/gstreamer-sections.txt:
2708         Added some new macros.
2709
2710         * gst/gstclock.c:
2711         * gst/gstclock.h:
2712         * gst/gstobject.h:
2713         Docs updates.
2714
2715 2005-11-09  Wim Taymans  <wim@fluendo.com>
2716
2717         * docs/design/part-TODO.txt:
2718         Some more items for the TODO
2719
2720         * gst/gstcaps.c:
2721         * gst/gstcaps.h:
2722         Document GstCaps.
2723
2724 2005-11-09  Andy Wingo  <wingo@pobox.com>
2725
2726         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2727         to work on something else now tho...
2728
2729         * gst/base/gstadapter.c: More adapter docs.
2730
2731         * gst/elements/gstfilesink.c (gst_file_sink_start) 
2732         (gst_file_sink_stop): New functions, replace the state change
2733         handler.
2734         (gst_file_sink_class_init): Hook up the start and stop functions.
2735         (gst_file_sink_base_init): Don't set the state change handler any
2736         more. It was a bit ugly too, being set from here...
2737         (gst_file_sink_get_property, gst_file_sink_set_property):
2738         Cleanups...
2739         (gst_file_sink_set_location): More robust check that doesn't call
2740         GST_STATE. Ugggggg.
2741
2742 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2743
2744         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2745           Hold STREAM_LOCK while pushing newsegment or tag events as well.
2746
2747 2005-11-08  Wim Taymans  <wim@fluendo.com>
2748
2749         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2750         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2751         (gst_base_sink_chain), (gst_base_sink_change_state):
2752         * gst/base/gstbasesink.h:
2753         * gst/base/gstbasesrc.h:
2754         * gst/gstelement.h:
2755         * gst/gstevent.h:
2756         Avoid excessive typechecking in macros.
2757
2758         * gst/gstminiobject.c: (gst_mini_object_get_type),
2759         (gst_mini_object_init), (gst_mini_object_new),
2760         (gst_mini_object_free):
2761         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2762         (gst_object_finalize):
2763         Remove cruft code, optimize alloc_trace.
2764
2765 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2766
2767         * docs/faq/gst-uninstalled:
2768           fix up PS1 for systems that try to reset it
2769
2770 2005-11-07  Wim Taymans  <wim@fluendo.com>
2771
2772         * gst/base/gstbasesrc.c: (gst_base_src_init),
2773         (gst_base_src_get_range):
2774         Set the segment_end to -1 initially. Fixed typefind.
2775
2776 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2777
2778         * gst/base/gstadapter.c:
2779           Debug category should be 'adapter', not 'GstAdapter'.
2780           
2781         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2782         (gst_collectpads_class_init), (gst_collectpads_init),
2783         (gst_collectpads_peek), (gst_collectpads_pop),
2784         (gst_collectpads_event), (gst_collectpads_chain):
2785           Add debug category and some debugging output. Use boilerplate
2786           macros. Remove some extraneous words from docs.
2787
2788 2005-11-05  Andy Wingo  <wingo@pobox.com>
2789
2790         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2791         macro.
2792
2793 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2794
2795         * docs/gst/gstreamer-sections.txt:
2796         * gst/gstcaps.h:
2797         * gst/gstinfo.c:
2798         * gst/gstminiobject.h:
2799         * gst/gstobject.h:
2800         * gst/gstutils.h:
2801           more docs added
2802
2803 2005-11-04  Wim Taymans  <wim@fluendo.com>
2804
2805         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2806         Small update to stop at the configured segment_end
2807         position.
2808
2809 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2810
2811         * gst/gstregistry.c:
2812         * gst/gstregistry.h:
2813           added missing docs
2814
2815 2005-11-04  Edward Hervey  <edward@fluendo.com>
2816
2817         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2818         Check if we are doing a segment seek and have arrived at the
2819         end of that segment.
2820
2821 2005-11-04  Wim Taymans  <wim@fluendo.com>
2822
2823         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2824         Don't leak a mutex unlock in case of an error.
2825
2826         * gst/gstbus.h:
2827         Doc fixes.
2828
2829 2005-11-04  Wim Taymans  <wim@fluendo.com>
2830
2831         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2832         (gst_bus_post):
2833         Get the context to wake up only once.
2834
2835 2005-11-03  Wim Taymans  <wim@fluendo.com>
2836
2837         * check/states/sinks.c: (GST_START_TEST):
2838         Uncomment fixed check.
2839
2840         * docs/design/part-TODO.txt:
2841         Updated TODO.
2842
2843         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2844         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2845         (gst_base_sink_get_position):
2846         If we are going to PLAYING, post the right pending state
2847         when we post the intermediate paused message.
2848
2849         * gst/gstelement.c: (gst_element_continue_state),
2850         (gst_element_set_state_func), (gst_element_change_state):
2851         Don't post state changes that were between the same state
2852         and were not ASYNC.
2853
2854 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2855
2856         * docs/gst/gstreamer-sections.txt:
2857         * gst/gstcaps.h:
2858         * gst/gstinfo.c:
2859         * gst/gstminiobject.h:
2860         * gst/gstobject.h:
2861         * gst/gstutils.h:
2862           more docs and doc style fixes
2863
2864 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2865
2866         * docs/gst/gstreamer-sections.txt:
2867         * gst/gstelement.c:
2868         * gst/gstminiobject.c:
2869         doc fixes
2870
2871 2005-11-03  Andy Wingo  <wingo@pobox.com>
2872
2873         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2874         state-changed messages actually have the right order and the right
2875         values.
2876
2877 2005-11-03  Wim Taymans  <wim@fluendo.com>
2878
2879         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2880         Added some more checks. Specifically the case where NO_PREROLL
2881         elements are in the pipeline.
2882
2883         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2884         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2885         (gst_base_sink_get_position):
2886         Post READY->PAUSED state change messages too.
2887         Fix bug where VOID was posted as pending state...
2888
2889         * gst/gstbin.c: (gst_bin_recalc_state):
2890         use _element_continue_state() to continue the state change.
2891
2892         * gst/gstelement.c: (gst_element_continue_state),
2893         (gst_element_commit_state), (gst_element_set_state_func),
2894         (gst_element_change_state), (gst_element_change_state_func):
2895         Lots of state change cleanups, assign the STATE_RETURN in
2896         a new continue_state() function that also propagates the
2897         last return value from a state change to the app.
2898         Update some debug statements with proper category.
2899
2900 2005-11-03  Wim Taymans  <wim@fluendo.com>
2901
2902         * docs/design/part-events.txt:
2903         * docs/design/part-gstpipeline.txt:
2904         * docs/design/part-messages.txt:
2905         * docs/design/part-overview.txt:
2906         * docs/design/part-seeking.txt:
2907         * docs/design/part-states.txt:
2908         * docs/design/part-trickmodes.txt:
2909         * docs/manual/advanced-position.xml:
2910         Small docs updates.
2911
2912         * gst/gstobject.h:
2913         People think !! is ugly, this looks better.
2914
2915         * gst/gstpad.c: (gst_pad_set_blocked_async):
2916         Remove !! since it's fixed elsewhere now.
2917
2918 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2919
2920         * gst/gstminiobject.h:
2921         * gst/gstobject.h:
2922           Add !! to _FLAG_IS_SET macros to make the result boolean.
2923
2924 2005-11-03  Edward Hervey  <edward@fluendo.com>
2925
2926         * gst/gstpad.c: (gst_pad_set_blocked_async):
2927         comparing a flag and a gboolean rarely returns coherent results...
2928         Added two characters (!!) to make that work correctly.
2929         
2930 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2931
2932         * gst/gstbus.c: (gst_bus_class_init):
2933           Fix some typos.
2934           
2935         * gst/gstqueue.c: (gst_queue_loop):
2936           Don't assume a miniobject that isn't a buffer is an
2937           event (it could be that there is a refcounting
2938           problem somewhere and the pointer is stale and
2939           refers to an already destroyed miniobject).
2940
2941 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2942
2943         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2944
2945 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2946
2947         * docs/manual/advanced-position.xml:
2948           Update seek example and explanations to current 0.9 API.
2949
2950         * gst/elements/gsttypefindelement.c:
2951         (gst_type_find_element_activate):
2952           Remove FIXME comment now that the found caps
2953           are unreffed.
2954
2955 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2956
2957         * gst/gstregistryxml.c: (load_feature):
2958           Add another GST_STR_NULL instance
2959
2960 2005-11-02  Edward Hervey  <edward@fluendo.com>
2961
2962         * gst/gstpad.c: (handle_pad_block):
2963         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2964         
2965 2005-11-02  Wim Taymans  <wim@fluendo.com>
2966
2967         * gst/gstbin.c:
2968         Fix typo in docs.
2969
2970         * gst/gstelement.c: (gst_element_commit_state):
2971         Remove unused value.
2972
2973         * gst/gstiterator.c:
2974         Mention that the returned element is reffed in the docs.
2975
2976 2005-11-02  Wim Taymans  <wim@fluendo.com>
2977
2978         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2979         (gst_pad_push), (gst_pad_push_event):
2980         Unlock blocked pads when they are flushed.
2981
2982 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2983
2984         * docs/README:
2985         * docs/gst/gstreamer-sections.txt:
2986         * gst/gstbin.c:
2987           doc updates
2988         * gst/gstregistry.c: (gst_registry_scan_path_level):
2989           fix for a nasty little missed situation where an installed plug-in
2990           which was in the cache did not get overridden by an uninstalled one
2991           which was earlier in the plugin path because the newly created plugin
2992           for the uninstalled one (not in the registry) didn't get its
2993           ->registered set to TRUE
2994
2995 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2996
2997         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2998         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2999         (gst_collectpads_is_active), (gst_collectpads_collect),
3000         (gst_collectpads_collect_range), (gst_collectpads_start),
3001         (gst_collectpads_stop), (gst_collectpads_peek),
3002         (gst_collectpads_pop), (gst_collectpads_available),
3003         (gst_collectpads_read), (gst_collectpads_flush):
3004           Guard public API with assertions.
3005         
3006         * gst/gstpad.c:
3007           Fix docs for gst_pad_set_link_function().
3008
3009 2005-11-02  Johan Dahlin  <johan@gnome.org>
3010
3011         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3012         Unref found_caps after we used it.
3013
3014 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3015
3016         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3017           Don't try to ref NULL.
3018
3019 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3020
3021         * win32/common/config.h.in:
3022           provide a GST_FUNCTION that just gives a string for now
3023
3024 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3025
3026         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3027         (gst_object_flags_get_type), (register_gst_bin_flags),
3028         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3029         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3030         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3031         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3032         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3033         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3034         (gst_clock_flags_get_type), (register_gst_state),
3035         (gst_state_get_type), (register_gst_state_change_return),
3036         (gst_state_change_return_get_type), (register_gst_state_change),
3037         (gst_state_change_get_type), (register_gst_element_flags),
3038         (gst_element_flags_get_type), (register_gst_core_error),
3039         (gst_core_error_get_type), (register_gst_library_error),
3040         (gst_library_error_get_type), (register_gst_resource_error),
3041         (gst_resource_error_get_type), (register_gst_stream_error),
3042         (gst_stream_error_get_type), (register_gst_event_type),
3043         (gst_event_type_get_type), (register_gst_seek_type),
3044         (gst_seek_type_get_type), (register_gst_seek_flags),
3045         (gst_seek_flags_get_type), (register_gst_format),
3046         (gst_format_get_type), (register_gst_index_certainty),
3047         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3048         (gst_index_entry_type_get_type),
3049         (register_gst_index_lookup_method),
3050         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3051         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3052         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3053         (gst_index_flags_get_type), (register_gst_debug_level),
3054         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3055         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3056         (gst_iterator_result_get_type), (register_gst_iterator_item),
3057         (gst_iterator_item_get_type), (register_gst_message_type),
3058         (gst_message_type_get_type), (register_gst_mini_object_flags),
3059         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3060         (gst_pad_link_return_get_type), (register_gst_flow_return),
3061         (gst_flow_return_get_type), (register_gst_activate_mode),
3062         (gst_activate_mode_get_type), (register_gst_pad_direction),
3063         (gst_pad_direction_get_type), (register_gst_pad_flags),
3064         (gst_pad_flags_get_type), (register_gst_pad_presence),
3065         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3066         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3067         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3068         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3069         (gst_plugin_flags_get_type), (register_gst_rank),
3070         (gst_rank_get_type), (register_gst_query_type),
3071         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3072         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3073         (gst_tag_flag_get_type), (register_gst_task_state),
3074         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3075         (gst_alloc_trace_flags_get_type),
3076         (register_gst_type_find_probability),
3077         (gst_type_find_probability_get_type), (register_gst_uri_type),
3078         (gst_uri_type_get_type), (register_gst_parse_error),
3079         (gst_parse_error_get_type):
3080         * win32/common/gstversion.h:
3081           update win32 copies
3082
3083 2005-11-01  Luca Ognibene  <luogni@tin.it>
3084
3085         * gst/gst.c:
3086           fix docs. popt is dead, long live GOption.
3087
3088 2005-10-31  Wim Taymans  <wim@fluendo.com>
3089
3090         * gst/gstbuffer.h:
3091         Small doc fix.
3092
3093 2005-10-31  Andy Wingo  <wingo@pobox.com>
3094
3095         * Boo!
3096
3097         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3098
3099         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3100         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3101         the possibility of deadlocks here if code calling notify() or
3102         set() has a lock that can be taken in another notify handler (ABBA
3103         with class lock and e.g. python GIL state lock).
3104
3105 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3106
3107         * gst/gstbus.c: Doc updates.
3108
3109 2005-10-28  Wim Taymans  <wim@fluendo.com>
3110
3111         * docs/design/part-TODO.txt:
3112         * gst/gstiterator.c:
3113         * gst/gstsystemclock.c:
3114         * gst/gstsystemclock.h:
3115         Doc updates.
3116
3117 2005-10-28  Edward Hervey  <edward@fluendo.com>
3118
3119         * docs/gst/gstreamer-docs.sgml:
3120         * docs/gst/gstreamer-sections.txt:
3121         the GstURIType documentation page is private, it only defines GstURIType
3122         which should be defined in the GstURIHandler page
3123         
3124 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3125
3126         * gst/gstbin.c: (gst_bin_class_init):
3127         * gst/gstbin.h:
3128         * gst/gstutils.c:
3129         Documentation updates.
3130
3131 2005-10-28  Wim Taymans  <wim@fluendo.com>
3132
3133         * docs/gst/gstreamer-sections.txt:
3134         * gst/gstclock.c:
3135         * gst/gstclock.h:
3136         Documented the clocks.
3137
3138 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3139
3140         * docs/gst/gstreamer-sections.txt:
3141           move some macros to private sections
3142         * gst/gstminiobject.c:
3143         * gst/gstminiobject.h:
3144           add descriptions provided by ds and some more
3145         * gst/gstpad.h:
3146           mark macro as to be removed
3147
3148 2005-10-28  Wim Taymans  <wim@fluendo.com>
3149
3150         * docs/design/part-TODO.txt:
3151         Add an item to TODO.
3152
3153         * gst/gstiterator.c: (gst_iterator_fold),
3154         (gst_iterator_find_custom):
3155         * gst/gstiterator.h:
3156         Add iterator docs.
3157
3158 2005-10-28  Wim Taymans  <wim@fluendo.com>
3159
3160         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3161         (gst_base_transform_init):
3162         Don't leak class.
3163
3164         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3165         An EOS event marks the queue as completely filled.
3166
3167 2005-10-27  Wim Taymans  <wim@fluendo.com>
3168
3169         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3170         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3171         Some more debugging.
3172
3173         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3174         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3175         (gst_base_transform_event), (gst_base_transform_getrange),
3176         (gst_base_transform_chain):
3177         * gst/base/gstbasetransform.h:
3178         Fix debugging,
3179         Protect transform and concurrent buffer alloc with a new lock.
3180         Try not to break ABI/API.
3181
3182 2005-10-27  Wim Taymans  <wim@fluendo.com>
3183
3184         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3185         (gst_base_src_init), (gst_base_src_query),
3186         (gst_base_src_default_newsegment),
3187         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3188         (gst_base_src_send_event), (gst_base_src_event_handler),
3189         (gst_base_src_pad_get_range), (gst_base_src_loop),
3190         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3191         (gst_base_src_start), (gst_base_src_deactivate),
3192         (gst_base_src_activate_push), (gst_base_src_change_state):
3193         Move some stuff around and cleanup things.
3194
3195 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3196
3197         * gst/base/gstbasesrc.c: (gst_base_src_query):
3198           Add missing break statements.
3199
3200 2005-10-27  Wim Taymans  <wim@fluendo.com>
3201
3202         * check/gst/gstbin.c: (GST_START_TEST):
3203         An extra refcount is taken in basesrc.
3204
3205         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3206         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3207         (gst_base_src_loop):
3208         Small cleanups, check for flushing after being unlocked from the 
3209         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3210         Don't send out EOS when going to READY.
3211
3212 2005-10-27  Wim Taymans  <wim@fluendo.com>
3213
3214         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3215         (gst_base_sink_get_position):
3216         Some more debug.
3217
3218         * gst/gstbin.c: (message_check), (bin_replace_message),
3219         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3220         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3221         (bin_query_duration_init), (bin_query_duration_fold),
3222         (bin_query_duration_done), (bin_query_generic_fold),
3223         (gst_bin_query):
3224         * tools/gst-launch.c: (main):
3225         Remove old option.
3226
3227 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3228
3229         * examples/controller/audio-example.c: (main):
3230         * examples/queue/queue.c: (event_loop):
3231         * gst/base/gstbasetransform.h:
3232         * gst/gstelement.c: (gst_element_send_event):
3233         * gst/gstevent.h:
3234         * gst/gstpad.c: (gst_pad_send_event):
3235           fixing examples
3236           fixing docs typos
3237           changing log priority in error situations
3238
3239 2005-10-25  Wim Taymans  <wim@fluendo.com>
3240
3241         * gst/gstbin.c: (message_check), (bin_replace_message),
3242         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3243         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3244         (bin_query_duration_init), (bin_query_duration_fold),
3245         (bin_query_duration_done), (bin_query_generic_fold),
3246         (gst_bin_query):
3247         Some doc and debug updates.
3248         Cache previously requested query DURATION for speed. invalidate
3249         cached duration if element posts a DURATION message.
3250
3251 2005-10-25  Wim Taymans  <wim@fluendo.com>
3252
3253         * docs/design/part-TODO.txt:
3254         Update TODO.
3255
3256         * gst/gstbin.c: (message_check), (bin_replace_message),
3257         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3258         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3259         (bin_query_duration_init), (bin_query_duration_fold),
3260         (bin_query_duration_done), (bin_query_generic_fold),
3261         (gst_bin_query):
3262         Handle SEGMENT_START/DONE messages correctly.
3263         More evolved query algorithm that handles duration queries
3264         correctly.
3265
3266         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3267         (gst_element_get_state_func), (gst_element_abort_state),
3268         (gst_element_commit_state), (gst_element_lost_state):
3269         Some more debugging.
3270
3271         * gst/gstmessage.h:
3272         Added doc.
3273
3274 2005-10-25  Wim Taymans  <wim@fluendo.com>
3275
3276         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3277         Don't use invalid stream_time.
3278
3279         * gst/gstevent.c: (gst_event_new_newsegment):
3280         stream_time in newsegment cannot be undefined.
3281
3282 2005-10-24  Wim Taymans  <wim@fluendo.com>
3283
3284         * gst/gstbus.c:
3285         Doc fix.
3286
3287         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3288         (gst_queue_loop):
3289         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3290
3291 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3292
3293         * docs/libs/tmpl/gstdparam.sgml:
3294         * docs/libs/tmpl/gstdplinint.sgml:
3295         * docs/libs/tmpl/gstdpman.sgml:
3296         * docs/libs/tmpl/gstdpsmooth.sgml:
3297         * docs/libs/tmpl/gstunitconvert.sgml:
3298           these are obsolete
3299
3300 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3301
3302         * configure.ac:
3303           back to HEAD
3304
3305 === release 0.9.4 ===
3306
3307 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3308
3309         * configure.ac:
3310           releasing 0.9.4, "Tyrannosaurus Rex"
3311
3312 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3313
3314         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3315         (gst_file_sink_get_current_offset):
3316           Use fseeko() and ftello() if available. When falling back on
3317           lseek() to get the current offset, fflush() first to make sure
3318           everything is up-to-date and we get the right offset.
3319
3320 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3321
3322         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3323         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3324         * gst/gsterror.c: (_gst_stream_errors_init):
3325         * gst/gsterror.h:
3326         * gst/gstqueue.c: (gst_queue_loop):
3327         * po/POTFILES.in:
3328           remove prematurely added error category and clean up the instances
3329
3330 2005-10-21  Wim Taymans  <wim@fluendo.com>
3331
3332         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3333         (gst_base_sink_get_position), (gst_base_sink_query),
3334         (gst_base_sink_change_state):
3335         Simply set the right flag when going to playing, that's all
3336         we need to do instead of calling a function inside the object
3337         lock (that could take the lock as well and deadlock)
3338
3339 2005-10-21  Wim Taymans  <wim@fluendo.com>
3340
3341         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3342         (gst_base_src_loop):
3343         Don't warn, the peer element knows what to do best when
3344         the seek failed, it might try something else.
3345
3346 2005-10-21  Wim Taymans  <wim@fluendo.com>
3347
3348         * gst/base/gstbasesrc.c: (gst_base_src_init),
3349         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3350         Fix seeking.
3351
3352 2005-10-21  Wim Taymans  <wim@fluendo.com>
3353
3354         * docs/design/part-segments.txt:
3355         More docs.
3356
3357         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3358         Correctly set caps, even on the subbufer.
3359
3360 2005-10-21  Wim Taymans  <wim@fluendo.com>
3361
3362         * docs/gst/gstreamer-docs.sgml:
3363         * docs/gst/gstreamer-sections.txt:
3364         * gst/gstelement.h:
3365         * gst/gstevent.c:
3366         * gst/gstevent.h:
3367         * gst/gstmessage.h:
3368         * gst/gstpad.h:
3369         * gst/gstparse.h:
3370         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3371         * gst/gsttask.h:
3372         * gst/gstutils.c:
3373         * gst/gstutils.h:
3374         And 2% more doc coverage.
3375
3376 2005-10-21  Andy Wingo  <wingo@pobox.com>
3377
3378         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3379         position reporting.
3380
3381 2005-10-20  Wim Taymans  <wim@fluendo.com>
3382
3383         * gst/gsterror.c: (gst_error_get_message):
3384         * gst/gstparse.h:
3385         * gst/gstquery.h:
3386         * gst/gststructure.c:
3387         * gst/gsttrace.c:
3388         * gst/gstutils.c:
3389         More docs.
3390
3391 2005-10-20  Wim Taymans  <wim@fluendo.com>
3392
3393         * gst/gstbuffer.h:
3394         * gst/gstpad.c:
3395         * gst/gstparse.c:
3396         Another 1% more coverage.
3397
3398 2005-10-20  Wim Taymans  <wim@fluendo.com>
3399
3400         * docs/gst/gstreamer-sections.txt:
3401         * gst/gstelement.c: (gst_element_get_state_func),
3402         (gst_element_abort_state), (gst_element_commit_state),
3403         (gst_element_lost_state):
3404         * gst/gstevent.h:
3405         * gst/gstquery.c: (gst_query_set_position),
3406         (gst_query_parse_position), (gst_query_set_duration),
3407         (gst_query_parse_duration), (gst_query_new_convert):
3408         * gst/gstutils.c:
3409         Yay! 1% more docs coverage.
3410
3411 2005-10-20  Wim Taymans  <wim@fluendo.com>
3412
3413         * gst/gstpad.h:
3414         * gst/gstquery.c: (gst_query_set_position),
3415         (gst_query_parse_position), (gst_query_set_duration),
3416         (gst_query_parse_duration), (gst_query_new_convert):
3417         * gst/gstquery.h:
3418         * gst/gstutils.c: (gst_element_query_convert):
3419         * gst/gstutils.h:
3420         Docs and consistency fixes.
3421
3422 2005-10-20  Wim Taymans  <wim@fluendo.com>
3423
3424         * gst/gsttask.c:
3425         * gst/gsttask.h:
3426         More docs.
3427
3428 2005-10-20  Wim Taymans  <wim@fluendo.com>
3429
3430         * gst/gstbin.c: (message_check), (bin_replace_message),
3431         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3432         (update_degree), (gst_bin_sort_iterator_next),
3433         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3434         Reworked the message handling a bit, cache the messages instead of
3435         only the senders. alows us to do more in the future.
3436
3437 2005-10-20  Wim Taymans  <wim@fluendo.com>
3438
3439         * docs/design/part-TODO.txt:
3440         Update TODO
3441
3442         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3443         (gst_base_sink_query):
3444         Don't use clock time to report position when in EOS.
3445
3446 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3447
3448         * tools/gst-inspect.c: (print_interfaces),
3449         (print_element_properties_info), (print_element_info):
3450           Fix interface output with gst-inspect -a; don't print
3451           newlines after double/float properties.
3452
3453 2005-10-20  Wim Taymans  <wim@fluendo.com>
3454
3455         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3456         (gst_base_sink_query):
3457         Speed up current position calculation.
3458
3459         * gst/base/gstbasesrc.c: (gst_base_src_query),
3460         (gst_base_src_default_newsegment):
3461         Correctly set stream position in newsegment.
3462
3463         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3464         (update_degree), (gst_bin_sort_iterator_next),
3465         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3466         * gst/gstmessage.c: (gst_message_new_custom):
3467         Clean up debugging info
3468
3469         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3470         (gst_queue_loop), (gst_queue_handle_src_query):
3471         Pause task faster.
3472
3473 2005-10-19  Wim Taymans  <wim@fluendo.com>
3474
3475         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3476         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3477         Fix query handling again.
3478
3479 2005-10-19  Wim Taymans  <wim@fluendo.com>
3480
3481         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3482         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3483         * gst/base/gstbasesrc.c: (gst_base_src_query):
3484         * gst/elements/gstfilesink.c: (gst_file_sink_query):
3485         * gst/elements/gsttypefindelement.c:
3486         (gst_type_find_handle_src_query), (find_element_get_length),
3487         (gst_type_find_element_activate):
3488         API change fix.
3489
3490         * gst/gstquery.c: (gst_query_new_position),
3491         (gst_query_set_position), (gst_query_parse_position),
3492         (gst_query_new_duration), (gst_query_set_duration),
3493         (gst_query_parse_duration), (gst_query_set_segment),
3494         (gst_query_parse_segment):
3495         * gst/gstquery.h:
3496         Bundling query position/duration is not a good idea since duration
3497         does not change much and we don't want to recalculate it for every
3498         position query, so they are separated again..
3499         Base value in segment query is not needed.
3500
3501         * gst/gstqueue.c: (gst_queue_handle_src_query):
3502         * gst/gstutils.c: (gst_element_query_position),
3503         (gst_element_query_duration), (gst_pad_query_position),
3504         (gst_pad_query_duration):
3505         * gst/gstutils.h:
3506         Updates for query API change.
3507         Added some docs here and there.
3508
3509 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3510
3511         * check/gst/gstbin.c: (GST_START_TEST):
3512         * check/gst/gstghostpad.c: (GST_START_TEST):
3513         * check/pipelines/cleanup.c: (GST_START_TEST):
3514           wait on thread to die so we can check refcount correctly
3515
3516 2005-10-18  Wim Taymans  <wim@fluendo.com>
3517
3518         * check/pipelines/stress.c: (GST_START_TEST):
3519         Make check a little more time consuming.
3520
3521 2005-10-18  Wim Taymans  <wim@fluendo.com>
3522
3523         * check/Makefile.am:
3524         * check/pipelines/stress.c: (GST_START_TEST),
3525         (simple_launch_lines_suite), (main):
3526         Small state change torture test.
3527
3528         * docs/design/part-states.txt:
3529         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3530         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3531         (gst_base_sink_change_state):
3532         Never take state lock from streaming thread, clean up ugly
3533         hacks. Unfortunatly core does not yet support nice ways to
3534         async commit state.
3535         
3536         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3537         (bin_bus_handler):
3538         Start state recalc if a STATE_DIRTY message is posted, but only
3539         on the toplevel bin.
3540
3541         * gst/gstelement.c: (gst_element_sync_state_with_parent),
3542         (gst_element_get_state_func), (gst_element_abort_state),
3543         (gst_element_commit_state), (gst_element_lost_state),
3544         (gst_element_set_state_func), (gst_element_change_state):
3545         * gst/gstelement.h:
3546         State variables are now protected with the LOCK, the state
3547         lock is only used to serialize _set_state().
3548
3549 2005-10-18  Wim Taymans  <wim@fluendo.com>
3550
3551         * check/gst/gstbin.c: (GST_START_TEST):
3552         * check/gst/gstmessage.c: (GST_START_TEST):
3553         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3554         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3555         (bin_bus_handler):
3556         * gst/gstelement.c: (gst_element_abort_state),
3557         (gst_element_commit_state), (gst_element_lost_state):
3558         * gst/gstmessage.c: (gst_message_new_state_changed),
3559         (gst_message_new_state_dirty), (gst_message_new_segment_start),
3560         (gst_message_new_segment_done), (gst_message_new_duration),
3561         (gst_message_parse_state_changed),
3562         (gst_message_parse_segment_start),
3563         (gst_message_parse_segment_done), (gst_message_parse_duration):
3564         * gst/gstmessage.h:
3565         * tools/gst-launch.c: (event_loop):
3566         Seriously, this is better than a previous commit as we only need
3567         to notify the fact that an element changed state in a streaming
3568         thread, marking the state of the parents dirty, hence the 
3569         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3570         message.
3571
3572 2005-10-18  Wim Taymans  <wim@fluendo.com>
3573
3574         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3575         (gst_bin_recalc_func):
3576         * gst/gstelement.c: (gst_element_set_clock),
3577         (gst_element_abort_state), (gst_element_lost_state):
3578         Cleanups, prepare for state change fixes.
3579
3580 2005-10-18  Wim Taymans  <wim@fluendo.com>
3581
3582         * gst/gstbin.h:
3583         * gst/gstelement.c: (gst_element_class_init),
3584         (gst_element_set_state), (gst_element_set_state_func):
3585         * gst/gstelement.h:
3586         Pending ABI changes.
3587         GThreadPool in GstBinClass to monitor async state changes.
3588         state_cookie in GstElement to detect concurrent gst/set state.
3589         set_state is now virtual too in case a very complicated element
3590         has to be constructed.
3591
3592 2005-10-18  Wim Taymans  <wim@fluendo.com>
3593
3594         * check/gst/gstbin.c: (GST_START_TEST):
3595         * check/gst/gstmessage.c: (GST_START_TEST):
3596         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3597         * gst/gstbin.c: (bin_bus_handler):
3598         * gst/gstelement.c: (gst_element_commit_state),
3599         (gst_element_lost_state):
3600         * gst/gstmessage.c: (gst_message_new_state_changed),
3601         (gst_message_new_segment_start), (gst_message_new_segment_done),
3602         (gst_message_new_duration), (gst_message_parse_state_changed),
3603         (gst_message_parse_segment_start),
3604         (gst_message_parse_segment_done), (gst_message_parse_duration):
3605         * gst/gstmessage.h:
3606         * tools/gst-launch.c: (event_loop):
3607         Make messages future proof.
3608         state-change gets a flag if it was a message comming from the
3609         streaming thread.
3610         segment-start/stop can also be specified in other formats.
3611         A message to notify an app that a pipeline changed playback 
3612         duration.
3613         Also fix a GstMessage leak in -launch
3614
3615 2005-10-18  Andy Wingo  <wingo@pobox.com>
3616
3617         * gst/gstelement.c (gst_element_dispose): More helpful message.
3618
3619 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3620
3621         reviewed by: <delete if not using a buddy>
3622
3623         * common/gtk-doc.mak:
3624
3625 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3626
3627         * gst/gstregistry.c: (gst_registry_scan_path_level):
3628           unref a plug-in we get that was already initialized
3629
3630 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
3631
3632         * docs/gst/gstreamer-sections.txt:
3633         * docs/libs/gstreamer-libs-sections.txt:
3634         * gst/gstelement.h:
3635           add new api entries
3636           hide internal macro
3637
3638 2005-10-17  Andy Wingo  <wingo@pobox.com>
3639
3640         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3641         cleanup.
3642
3643         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3644
3645         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3646
3647         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3648         (gst_element_get_state_func): Better debug message.
3649         (gst_element_commit_state): s/INFO/DEBUG/.
3650         (gst_element_lost_state, gst_element_change_state): 
3651
3652         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3653         (gst_message_new_custom): s/INFO/LOG/.
3654
3655 2005-10-17  Michael Smith <msmith@fluendo.com>
3656
3657         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3658           Check if end time is valid using end time, not start time.
3659
3660 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
3661
3662         * check/gst-libs/controller.c: (GST_START_TEST),
3663         (gst_controller_suite):
3664         * libs/gst/controller/gstcontroller.c:
3665         (gst_controlled_property_set_interpolation_mode):
3666         * libs/gst/controller/gstcontroller.h:
3667         * libs/gst/controller/gstinterpolation.c:
3668         * testsuite/controller/.cvsignore:
3669         * testsuite/controller/Makefile.am:
3670         * testsuite/controller/interpolator.c:
3671           merge controller testsuites
3672           fix broken tests
3673           remove mem-chunk from docs
3674
3675 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3676
3677         * gst/gstmemchunk.c:
3678         * gst/gstmemchunk.h:
3679         * gst/gsttrashstack.c:
3680         * gst/gsttrashstack.h:
3681           out.  get out.  you're fired.  to the Attic !
3682
3683 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3684
3685         * gst/gstcaps.c: (gst_caps_intersect):
3686           fix signedness issues in a (hopefully) correct way
3687         * gst/gstelement.c: (gst_element_pads_activate):
3688           some debugging
3689         * gst/gstobject.c: (gst_object_set_parent):
3690           some debugging
3691
3692 2005-10-17  Julien MOUTTE  <julien@moutte.net>
3693
3694         * gst/gstvalue.h: Fix prototypes.
3695
3696 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3697
3698         * docs/gst/gstreamer-sections.txt:
3699         * gst/gst.c: (gst_version_string):
3700         * gst/gst.h:
3701         * gst/gstversion.h.in:
3702         * win32/common/libgstreamer.def:
3703           add gst_version_string ()
3704
3705 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3706
3707         * configure.ac:
3708           clean up further
3709         * gst/gst.c: (init_post):
3710         * win32/common/config.h.in:
3711           it's PLUGINDIR now
3712         * gst/gstcaps.c: (gst_caps_intersect):
3713           use gint64, the range could be bigger than a guint
3714
3715 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3716
3717         * gst/gstclock.h:
3718           document potential problem in 2038
3719
3720 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3721
3722         * gst/gstcaps.c: (gst_caps_intersect):
3723           Fix guint j diving under 0
3724
3725 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3726
3727         * configure.ac:
3728         * win32/common/config.h:
3729         * win32/common/config.h.in:
3730           check for process.h, declares getpid() on Windows
3731         * gst/gstinfo.c:
3732           include process.h if we have it
3733         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3734         * gst/gstmemchunk.h:
3735           fix signedness issues
3736         * win32/common/libgstreamer.def:
3737           fix get_type's
3738
3739 2005-10-16  Julien MOUTTE  <julien@moutte.net>
3740
3741         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3742         fix. Because of unsigned ints, caps intersection was going nuts and
3743         trying to access structures with G_MAXUINT index. That fixes
3744         videotestsrc ! ffmpegcolorspace ! fakesink
3745         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3746         consistency.
3747
3748 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3749
3750         * configure.ac:
3751           use the gettext macro
3752         * gst/elements/gstelements.c:
3753         * gst/gst.c:
3754         * gst/indexers/gstindexers.c:
3755           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3756         * win32/common/config.h:
3757           updated config.h
3758         * win32/common/config.h.in:
3759           add the template to generate config.h
3760         * win32/common/gstenumtypes.c:
3761         * win32/common/gstversion.h:
3762           updated copies
3763
3764 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3765
3766         * gst/gst.c: (gst_version):
3767         * gst/gstversion.h.in:
3768           add the nano
3769
3770 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3771
3772         * gst/gstevent.h:
3773           Oops, add missing closing bracket.
3774
3775 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3776
3777         * configure.ac:
3778           use common m4's for argument checking
3779
3780 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3781
3782         * docs/gst/gstreamer-sections.txt:
3783         * gst/gstevent.h:
3784           Add GST_EVENT_TYPE_NAME() macro.
3785
3786 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3787
3788         * gst/gstinfo.c:
3789         * gst/gstpluginfeature.c:
3790         * gst/gsttask.c:
3791           privatize more symbols
3792
3793 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3794
3795         * configure.ac:
3796           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3797           everything that uses GStreamer API should have the includes
3798
3799 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3800
3801         * docs/gst/gstreamer-sections.txt:
3802         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3803         * gst/gstvalue.h:
3804           give each value a _get_type, removes the DATA exports
3805
3806 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3807
3808         * gst/gst.c:
3809         * gst/gst.h:
3810           remove _gst_registry_auto_load, not used anymore
3811         * gst/gstbin.c: (gst_bin_get_type):
3812         * gst/gstbin.h:
3813         * gst/gstelement.c: (gst_element_get_type):
3814         * gst/gstelement.h:
3815         * gst/gstobject.c: (gst_object_get_type):
3816         * gst/gstobject.h:
3817         * gst/gstpad.c: (gst_pad_get_type):
3818         * gst/gstpad.h:
3819           make _get_type functions similar, fixes data export from library
3820
3821 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3822
3823         * configure.ac:
3824           correctly make conditionals
3825         * gst/elements/Makefile.am:
3826         * gst/elements/gstelements.c:
3827           fix typo causing fdsrc not to build
3828
3829 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3830
3831         * testsuite/Makefile.am:
3832         * testsuite/bytestream/.cvsignore:
3833         * testsuite/bytestream/Makefile.am:
3834         * testsuite/bytestream/filepadsink.c:
3835         * testsuite/bytestream/gstbstest.c:
3836         * testsuite/bytestream/test1.c:
3837         * testsuite/bytestream/testfile1:
3838         * testsuite/caps/normalisation.c:
3839         * testsuite/caps/random.c: (main):
3840         * testsuite/cleanup/.cvsignore:
3841         * testsuite/cleanup/Makefile.am:
3842         * testsuite/cleanup/cleanup1.c:
3843         * testsuite/cleanup/cleanup2.c:
3844         * testsuite/cleanup/cleanup3.c:
3845         * testsuite/cleanup/cleanup4.c:
3846         * testsuite/cleanup/cleanup5.c:
3847         * testsuite/controller/interpolator.c:
3848         * testsuite/debug/printf_extension.c: (main):
3849         * testsuite/elements/tee.c:
3850         * testsuite/negotiation/.cvsignore:
3851         * testsuite/negotiation/Makefile.am:
3852         * testsuite/negotiation/pad_link.c:
3853         * testsuite/pad/Makefile.am:
3854         * testsuite/pad/chainnopull.c:
3855         * testsuite/pad/getnopush.c:
3856         * testsuite/pad/link.c:
3857         * testsuite/refcounting/sched.c: (create_pipeline):
3858         * testsuite/registry/Makefile.am:
3859         * testsuite/registry/gst-print-formats.c:
3860         * testsuite/schedulers/.cvsignore:
3861         * testsuite/schedulers/142183-2.c:
3862         * testsuite/schedulers/142183.c:
3863         * testsuite/schedulers/143777-2.c:
3864         * testsuite/schedulers/143777.c:
3865         * testsuite/schedulers/147713.c:
3866         * testsuite/schedulers/147819.c:
3867         * testsuite/schedulers/147894-2.c:
3868         * testsuite/schedulers/147894.c:
3869         * testsuite/schedulers/Makefile.am:
3870         * testsuite/schedulers/group_link.c:
3871         * testsuite/schedulers/queue_link.c:
3872         * testsuite/schedulers/relink.c:
3873         * testsuite/schedulers/unlink.c:
3874         * testsuite/schedulers/unref.c:
3875         * testsuite/schedulers/useless_iteration.c:
3876         * testsuite/states/bin.c:
3877           clean out/remove some stuff from the testsuite directories
3878
3879 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3880
3881         * configure.ac:
3882           check for some headers
3883         * gst/elements/Makefile.am:
3884         * gst/elements/gstelements.c:
3885           don't compile fdsrc without sys/socket.h
3886         * gst/indexers/Makefile.am:
3887         * gst/indexers/gstindexers.c: (plugin_init):
3888           don't compile fileindex without mmap
3889
3890 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3891
3892         * configure.ac:
3893           reorganize
3894           clean up
3895           document more
3896           remove cruft
3897         * check/Makefile.am:
3898         * docs/gst/Makefile.am:
3899         * examples/helloworld/Makefile.am:
3900         * gst/Makefile.am:
3901         * gst/base/Makefile.am:
3902         * gst/check/Makefile.am:
3903         * gst/elements/Makefile.am:
3904         * gst/indexers/Makefile.am:
3905         * gst/parse/Makefile.am:
3906         * libs/gst/controller/Makefile.am:
3907         * libs/gst/dataprotocol/Makefile.am:
3908         * examples/helloworld/helloworld.c: (event_loop):
3909           compile fixes, though it's not being compiled currently
3910
3911 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3912
3913         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3914           Add some simple tests for the new taglist date API.
3915
3916 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3917
3918         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3919         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3920           Beautify 'last-message' output: print 'none' for buffer timestamps
3921           and durations if none is set; improve alignment with next messages.
3922
3923 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3924
3925         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3926         * gst/gstpluginfeature.h:
3927         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3928         * gst/gstregistry.h:
3929         * docs/gst/gstreamer-sections.txt:
3930           Add new API to check plugin feature version requirements.
3931
3932         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3933           Some basic tests for the above.         
3934
3935 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3936
3937         * gst/gststructure.c: (gst_structure_to_string):
3938           guard against NULL printf - happens when for example
3939           a message structure with GstClock gets serialized
3940
3941 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3942
3943         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3944           Fix presumable copy'n'pasto.
3945
3946 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3947
3948         * gst/elements/gstfakesrc.h:
3949         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3950         * gst/elements/gsttypefindelement.c:
3951           fix some signedness
3952         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3953           I wonder if this could actually write +2GB files before
3954
3955 2005-10-13  Andy Wingo  <wingo@pobox.com>
3956
3957         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3958         Fix Timmeke Waymans bug.
3959         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3960         string of the proper length to gst_caps_from_string. There's a
3961         potential for, before this fix, that this could cause someone
3962         connecting over the network to cause a segfault if the payload is
3963         not NUL-terminated.
3964
3965 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3966
3967         * docs/design/draft-push-pull.txt:
3968         * docs/design/part-overview.txt:
3969         * docs/random/TODO-pre-0.9:
3970         * docs/random/old/ChangeLog.gstreamer:
3971         * gst/base/gstpushsrc.c:
3972         * gst/gstclock.c:
3973           fixed typos
3974
3975 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3976
3977         * gst/glib-compat.c: (gst_flags_get_first_value):
3978         * gst/glib-compat.h:
3979         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3980         (gst_value_compare_double), (gst_value_serialize_flags):
3981           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3982           infinite loop
3983
3984 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3985
3986         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3987         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3988           fix up debugging
3989         * tools/gst-launch.c: (event_loop):
3990           print out clock nicely
3991
3992 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3993
3994         * docs/gst/gstreamer-sections.txt:
3995         * gst/gsttaglist.h:
3996         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3997         (gst_tag_list_get_date_index):
3998           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3999           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4000
4001 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4002
4003         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4004         (gst_collectpads_chain):
4005         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4006         in CollectData.
4007
4008 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4009
4010         * docs/gst/gstreamer-sections.txt:
4011         * gst/gst.c:
4012         * gst/gsterror.h:
4013         * tools/gst-inspect.c: (main):
4014         * tools/gst-launch.c: (main):
4015         * tools/gst-run.c: (main):
4016         * tools/gst-xmlinspect.c: (main):
4017           fix GOption context leaks
4018           doc fixes
4019
4020 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4021
4022         * gst/gstbus.c:
4023           use HAVE_UNISTD_H
4024         * win32/common/config.h:
4025           update config
4026         * win32/vs6/grammar.dsp:
4027         * win32/vs6/libgstelements.dsp:
4028         * win32/vs6/libgstreamer.dsp:
4029           update vs6 files
4030
4031 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4032
4033         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4034         * gst/base/gstbasesrc.c: (gst_base_src_query):
4035           fix more guint64<->gdouble conversions
4036
4037 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4038
4039         * Makefile.am:
4040           add win32-update target
4041         * win32/common/gstconfig.h:
4042         * win32/common/gstenumtypes.c:
4043         * win32/common/gstenumtypes.h:
4044         * win32/common/gstversion.h:
4045           add files that visual studio can't generate
4046
4047 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4048
4049         * Makefile.am:
4050           add a win32-update target
4051         * configure.ac:
4052
4053 2005-10-12  Wim Taymans  <wim@fluendo.com>
4054
4055         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4056         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4057         * gst/gstelement.c: (gst_element_commit_state),
4058         (gst_element_set_state):
4059         Protect flags with proper lock.
4060         unref provided cached clock in dispose.
4061
4062 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4063
4064         * gst/gst.c:
4065         * gst/gstminiobject.h:
4066         * gst/gstpad.h:
4067         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4068           removed unused flags from miniobject
4069           doc fixes
4070
4071 2005-10-12  Wim Taymans  <wim@fluendo.com>
4072
4073         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4074         (gst_file_sink_event), (gst_file_sink_render):
4075         Flush before seeking.
4076
4077 2005-10-12  Andy Wingo  <wingo@pobox.com>
4078
4079         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4080         always been the case.
4081
4082 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4083
4084         * check/gst/gstbin.c: (GST_START_TEST):
4085         * docs/gst/gstreamer-sections.txt:
4086         * gst/base/gstbasesink.c: (gst_base_sink_init):
4087         * gst/base/gstbasesrc.c: (gst_base_src_init),
4088         (gst_base_src_get_range), (gst_base_src_check_get_range),
4089         (gst_base_src_start), (gst_base_src_stop):
4090         * gst/base/gstbasesrc.h:
4091         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4092         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4093         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4094         (bin_bus_handler):
4095         * gst/gstbin.h:
4096         * gst/gstbuffer.h:
4097         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4098         * gst/gstbus.h:
4099         * gst/gstelement.c: (gst_element_is_locked_state),
4100         (gst_element_set_locked_state), (gst_element_commit_state),
4101         (gst_element_set_state):
4102         * gst/gstelement.h:
4103         * gst/gstindex.c: (gst_index_init):
4104         * gst/gstindex.h:
4105         * gst/gstminiobject.h:
4106         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4107         (gst_object_set_parent):
4108         * gst/gstobject.h:
4109         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4110         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4111         * gst/gstpad.h:
4112         * gst/gstpadtemplate.h:
4113         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4114         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4115         * gst/gstpipeline.h:
4116         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4117         (gst_file_index_commit):
4118         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4119         * testsuite/pad/link.c: (gst_test_src_init),
4120         (gst_test_filter_init), (gst_test_sink_init):
4121         * testsuite/states/locked.c: (main):
4122           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4123           moved bitshift from macro to enum definition
4124
4125 2005-10-12  Wim Taymans  <wim@fluendo.com>
4126
4127         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4128         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4129         (gst_file_sink_render):
4130         Some more debugging info.
4131
4132 2005-10-12  Wim Taymans  <wim@fluendo.com>
4133
4134         * docs/design/part-states.txt:
4135         * tools/gst-launch.c: (main):
4136         Some doc updates.
4137         Revert non-intentional change.
4138
4139 2005-10-12  Wim Taymans  <wim@fluendo.com>
4140
4141         * check/gst/gstbin.c: (GST_START_TEST):
4142         * check/gst/gstelement.c: (GST_START_TEST):
4143         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4144         * check/gst/gstghostpad.c: (GST_START_TEST):
4145         * check/gst/gstpipeline.c: (GST_START_TEST):
4146         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4147         * check/states/sinks.c: (GST_START_TEST):
4148         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4149         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4150         (gst_bin_remove_func), (gst_bin_get_state_func),
4151         (gst_bin_recalc_state), (gst_bin_change_state_func),
4152         (bin_bus_handler):
4153         * gst/gstelement.c: (gst_element_get_state_func),
4154         (gst_element_get_state), (gst_element_abort_state),
4155         (gst_element_commit_state), (gst_element_set_state),
4156         (gst_element_change_state), (gst_element_change_state_func):
4157         * gst/gstelement.h:
4158         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4159         (gst_pipeline_provide_clock_func):
4160         * gst/gstutils.c: (gst_element_link_pads_filtered):
4161         * tools/gst-launch.c: (main):
4162         * tools/gst-typefind.c: (main):
4163         Use GstClockTime in _get_state() instead of GTimeVal.
4164         Remove old code in gstutils.c
4165
4166 2005-10-12  Andy Wingo  <wingo@pobox.com>
4167
4168         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4169         removed.
4170
4171         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4172         there is no task. Shouldn't affect any code, as nothing in our
4173         plugins checks this return value.
4174         (gst_pad_stop_task): Also take the stream lock if the pad has no
4175         task. Docs updated.
4176
4177 2005-10-12  Wim Taymans  <wim@fluendo.com>
4178
4179         * gst/gstpad.c: (pre_activate), (post_activate),
4180         (gst_pad_activate_pull), (gst_pad_activate_push):
4181         Cleanup activation code. Reset old state if
4182         activation failed.
4183
4184 2005-10-12  Wim Taymans  <wim@fluendo.com>
4185
4186         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4187         (gst_base_sink_change_state):
4188         No need to prerol after receiving EOS.
4189
4190         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4191         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4192         * gst/elements/gstidentity.c: (gst_identity_event):
4193         Print events more verbosely.
4194
4195 2005-10-12  Wim Taymans  <wim@fluendo.com>
4196
4197         * check/Makefile.am:
4198         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4199         * check/states/sinks2.c:
4200         Moved sinks2 testcode in sinks check.
4201
4202         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4203         (gst_bin_remove_func), (gst_bin_recalc_state),
4204         (gst_bin_change_state_func), (bin_bus_handler):
4205         Fix potential race condition when _get_state() iterated over an
4206         ASYNC element right before it posted a state completion.
4207
4208         * gst/gstclock.h:
4209         Do proper cast here.
4210
4211         * gst/gstevent.c: (gst_event_new_newsegment),
4212         (gst_event_parse_newsegment):
4213         A playback rate of 0.0 is not allowed.
4214
4215 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4216
4217         * win32/common/config.h:
4218         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4219         (_trewinddir), (_ttelldir), (_tseekdir):
4220         * win32/common/dirent.h:
4221         * win32/common/gtchar.h:
4222         * win32/common/libgstbase.def:
4223         * win32/common/libgstreamer.def:
4224         * win32/vs6/grammar.dsp:
4225         * win32/vs6/gst_inspect.dsp:
4226         * win32/vs6/gst_launch.dsp:
4227         * win32/vs6/gstreamer.dsw:
4228         * win32/vs6/libgstbase.dsp:
4229         * win32/vs6/libgstelements.dsp:
4230         * win32/vs6/libgstreamer.dsp:
4231           Visual Studio 6 project files, and a new common directory.
4232           Phear.
4233
4234 2005-10-11  Wim Taymans  <wim@fluendo.com>
4235
4236         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4237         (gst_base_sink_do_sync), (gst_base_sink_query),
4238         (gst_base_sink_change_state):
4239         * gst/base/gstbasesink.h:
4240         Correctly parse newsegment info.
4241
4242 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4243
4244         * gst/gst.c: (init_post):
4245           split plugin paths correctly
4246
4247 2005-10-11  Wim Taymans  <wim@fluendo.com>
4248
4249         * check/gst/gstevent.c: (GST_START_TEST):
4250         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4251         (gst_base_sink_change_state):
4252         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4253         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4254         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4255         * gst/gstevent.c: (gst_event_new_newsegment),
4256         (gst_event_parse_newsegment):
4257         * gst/gstevent.h:
4258         Added extra flag to newsegment for future API freeze.
4259         Updated check and base elements.
4260
4261 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4262
4263         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4264         (gst_collectpads_add_pad), (gst_collectpads_pop),
4265         (gst_collectpads_event), (gst_collectpads_chain):
4266         * gst/base/gstcollectpads.h: Handle EOS correctly.
4267
4268 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4269
4270         * tools/gst-launch.c: (main):
4271           more null protecting
4272
4273 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4274
4275         * gst/gst-i18n-lib.h:
4276           check for ENABLE_NLS, not GETTEXT_PACKAGE
4277         * gst/gstregistry.c: (gst_registry_add_plugin),
4278         (gst_registry_scan_path_level),
4279         (_gst_registry_remove_cache_plugins):
4280           protect possibly NULL strings
4281         * gst/parse/types.h:
4282           config.h already included before
4283         * tools/gst-inspect.c: (main):
4284           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4285           check for ENABLE_NLS, not GETTEXT_PACKAGE
4286         * tools/gst-launch.c: (main):
4287           check for ENABLE_NLS, not GETTEXT_PACKAGE
4288
4289 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4290
4291         * configure.ac:
4292           if we don't have glib, fail before testing 2.8
4293         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4294           fix a leak, should fix plugins-base testsuite
4295
4296 2005-10-11  Andy Wingo  <wingo@pobox.com>
4297
4298         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4299         take the mode we're going to as an arg. Go head and set the mode
4300         and flushing flags now, so that if the activate function starts a
4301         thread all the flags will be in the right state.
4302         (post_activate): Renamed also. Just handle making sure streaming
4303         finishes for the deactivation case, and setting the deactivated
4304         mode.
4305         (gst_pad_set_active): Complain loudly if deactivation fails.
4306         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4307         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4308         remove the terrible hack.
4309
4310 2005-10-11  Wim Taymans  <wim@fluendo.com>
4311
4312         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4313         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4314         (gst_bin_recalc_state), (gst_bin_change_state_func),
4315         (gst_bin_dispose), (bin_bus_handler):
4316         * gst/gstbin.h:
4317         Prepare to make current EOS message queue more generic.
4318         Fix some typos.
4319
4320         * gst/gstevent.c: (gst_event_new_newsegment),
4321         (gst_event_parse_newsegment):
4322         * gst/gstevent.h:
4323         Rename base to stream_time.
4324
4325         * gst/gstmessage.h:
4326         Fix typo in docs.
4327
4328 2005-10-11  Wim Taymans  <wim@fluendo.com>
4329
4330         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4331         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4332         (gst_bin_change_state_func), (bin_bus_handler):
4333         * gst/gstbin.h:
4334         Work on proper clock selection.
4335
4336 2005-10-11  Edward Hervey  <edward@fluendo.com>
4337
4338         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4339         * libs/gst/controller/gstcontroller.h:
4340         Added GList* version of _remove_properties() in order to be able to wrap
4341         it in bindings.
4342
4343 2005-10-11  Wim Taymans  <wim@fluendo.com>
4344
4345         * docs/design/part-states.txt:
4346         Some more docs.
4347
4348         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4349         (gst_bin_change_state_func), (bin_bus_handler):
4350         Doc updates. Don't distribute the same clock over and over again.
4351
4352         * gst/gstclock.c:
4353         * gst/gstclock.h:
4354         Doc updates.
4355
4356         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4357         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4358         (gst_pad_send_event):
4359         * gst/gstpad.h:
4360         Make probe emission threadsafe again.
4361         Register quarks and move _get_name() from utils.
4362         Doc updates.
4363
4364         * gst/gstpipeline.c: (gst_pipeline_class_init),
4365         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4366         Only redistribute the clock of it changed.
4367
4368         * gst/gstsystemclock.h:
4369         Doc updates. 
4370
4371         * gst/gstutils.c:
4372         * gst/gstutils.h:
4373         Moved the _flow_get_name() to GstPad.
4374
4375 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4376
4377         * check/gst-libs/gdp.c: (GST_START_TEST):
4378         * check/gst/gstcaps.c: (GST_START_TEST):
4379         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4380         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4381         (gst_dp_packet_from_caps):
4382           fix more valgrind warnings before turning up the heat
4383
4384 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4385
4386         * gst/parse/grammar.y:
4387           some cleanup before the hacking
4388
4389 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4390
4391         * gst/base/gstbasesrc.c: (gst_base_src_query):
4392           use conversions
4393         * gst/gstutils.c: (gst_guint64_to_gdouble),
4394         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4395         * gst/gstutils.h:
4396           externalize, basesrc uses it
4397           obviously the implementation needs testing
4398
4399 2005-10-10  Wim Taymans  <wim@fluendo.com>
4400
4401         * tests/sched/Makefile.am:
4402         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4403         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4404
4405 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4406
4407         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4408           apparently converting from guint64 to double is not implemented
4409           on MSVC
4410
4411 2005-10-10  Wim Taymans  <wim@fluendo.com>
4412
4413         * check/Makefile.am:
4414         * check/generic/states.c: (GST_START_TEST):
4415         * check/gst/gstbin.c: (GST_START_TEST):
4416         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4417         * check/states/sinks.c: (GST_START_TEST):
4418         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4419         (main):
4420         Check fixes, use API as stated in design docs, remove hacks.
4421
4422         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4423         (gst_base_sink_change_state):
4424         Catch stopping our task while we're shutting down.
4425
4426         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4427         (gst_bin_remove_func), (gst_bin_get_state_func),
4428         (gst_bin_recalc_state), (gst_bin_change_state_func),
4429         (bin_bus_handler):
4430         * gst/gstbin.h:
4431         * gst/gstelement.c: (gst_element_init),
4432         (gst_element_get_state_func), (gst_element_abort_state),
4433         (gst_element_commit_state), (gst_element_lost_state),
4434         (gst_element_set_state), (gst_element_change_state),
4435         (gst_element_change_state_func):
4436         * gst/gstelement.h:
4437         New state change algorithm (see #318116)
4438
4439         * gst/gstpipeline.c: (gst_pipeline_class_init),
4440         (gst_pipeline_init), (gst_pipeline_set_property),
4441         (gst_pipeline_get_property), (do_pipeline_seek),
4442         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4443         * gst/gstpipeline.h:
4444         Remove crude state change hacks.
4445
4446         * gst/gstutils.h:
4447         Remove crude hacks.
4448
4449         * tools/gst-launch.c: (main):
4450         Fixes for state change. Needs some more work to fully use the
4451         new stuff.
4452
4453 2005-10-10  Andy Wingo  <wingo@pobox.com>
4454
4455         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4456
4457         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4458         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4459         issue.
4460
4461 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4462
4463         * gst/gstiterator.c: (gst_iterator_new):
4464           Fix my previous commit: GTypes passed to gst_iterator_new()
4465           can be fundamental types.
4466
4467 2005-10-10  Wim Taymans  <wim@fluendo.com>
4468
4469         * gst/gstelement.c: (gst_element_iterate_pad_list),
4470         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4471         (gst_element_iterate_sink_pads):
4472         Use src/sink pads lists for the respective iterators instead
4473         of filtering.
4474
4475 2005-10-10  Andy Wingo  <wingo@pobox.com>
4476
4477         Merged in popt removal + GOption addition patch from Ronald, bug
4478         #169772.
4479
4480         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4481         GstElement macros around, remove popt-related symbols, add goption
4482         stuff.
4483
4484         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4485         
4486         * docs/gst/Makefile.am:
4487         * docs/libs/Makefile.am: No POPT_CFLAGS.
4488         
4489         * examples/manual/Makefile.am:
4490         * docs/manual/basics-init.xml: Doc updates with an example.
4491         
4492         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4493         (gst_init), (parse_one_option), (parse_goption_arg):
4494         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4495         bit of hand merging and debugging to get the GOption stuff working
4496         tho.
4497         
4498         * tests/Makefile.am:
4499         * tools/Makefile.am:
4500         * tools/gst-inspect.c: (main):
4501         * tools/gst-launch.c: (main):
4502         * tools/gst-run.c: (main):
4503         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4504
4505 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4506
4507         * gst/gstiterator.c: (gst_iterator_new):
4508           Add assertions to make sure passed GType is likely to really
4509           be a GType (as the compiler won't catch it if the size and
4510           GType arguments get mixed up, see #318447).
4511
4512 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
4513
4514         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4515
4516         * gst/gstbin.c: (gst_bin_iterate_sorted):
4517           Pass GType and size arguments to gst_iterator_new() in the right
4518           order (maybe we should make _new() take the GType as first argument
4519           just like _new_list()?) (#318447).
4520           
4521
4522 2005-10-10  Wim Taymans  <wim@fluendo.com>
4523
4524         * gst/gstelement.c: (gst_element_finalize):
4525         And free the GStaticRecMutex too
4526
4527 2005-10-10  Andy Wingo  <wingo@pobox.com>
4528
4529         * gst/gstelement.c (gst_element_init, gst_element_finalize):
4530         Allocate and free the mutex properly.
4531
4532         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4533         New macros.
4534         (GstElement): The state_lock is now recursive. Rebuild your
4535         plugins, suckers. Old macros adapted.
4536
4537         * docs/gst/gstreamer-sections.txt: Doc updates.
4538
4539         * gst/gstutils.h:
4540         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
4541         (g_static_rec_cond_wait): Ported from state changes patch, while
4542         we wait on bug #317802 to be solved in a well-distributed GLib.
4543
4544         * gst/gstelement.c (gst_element_change_state_func): Renamed from
4545         gst_element_change_state, variable name changes.
4546         (gst_element_change_state): Split out of gst_element_set_state in
4547         preparation for the state change merge. Doesn't pay attention to
4548         the 'transition' argument.
4549         (gst_element_set_state): Updates, hopefully purely cosmetic.
4550         (gst_element_sync_state_with_parent): MT-safety. Ported from the
4551         state change patch.
4552         (gst_element_get_state_func): Renamed from get_state, cosmetic
4553         changes.
4554
4555 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4556
4557         * gst/elements/gstelements.c:
4558         * win32/GStreamer.vcproj:
4559         * win32/config.h:
4560         * win32/dirent.c: (_tseekdir):
4561         * win32/gst-inspect.vcproj:
4562         * win32/gst-launch.vcproj:
4563         * win32/gstconfig.h:
4564         * win32/gstelements.vcproj:
4565         * win32/gstenumtypes.c: (gst_object_flags_get_type):
4566         * win32/gstreamer.def:
4567         * win32/msvc71.sln:
4568           updates for the win32 build (patch from Sebastien Moutte)
4569
4570 2005-10-10  Andy Wingo  <wingo@pobox.com>
4571
4572         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4573         gst_bin_get_state, cleaned up (but no logic changes).
4574         (bin_element_is_sink): Comment updates.
4575         (sink_iterator_filter): Remove needless cast.
4576         (gst_bin_iterate_sinks): Doc update.
4577         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4578         cleaned up (but no logic changes).
4579
4580         * check/states/sinks.c (test_src_sink): Cleanups from the state
4581         change patch.
4582         (test_livesrc_sink): Sync on the state.
4583
4584         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4585         the state change patch.
4586
4587         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4588         change patch.
4589
4590         * check/gst/gstbin.c: Merge in some style fixes and additional
4591         checks from Wim's state change patch.
4592
4593 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4594
4595         * gst/base/gsttypefindhelper.c: (helper_find_peek),
4596         (gst_type_find_helper):
4597           Check whether we have the requested data already in our list of
4598           cached buffers before pulling a new buffer; also make the buffer
4599           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4600
4601 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4602
4603         * gst/gstcaps.c:
4604         * gst/gstevent.c:
4605           doc updates
4606         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4607           don't use long long, it's not portable.  Replacing with
4608           gint64 seems to work; let's hope no skeletons fall out of the closet.
4609
4610 2005-10-10  Andy Wingo  <wingo@pobox.com>
4611
4612         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4613
4614 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
4615
4616         * docs/gst/gstreamer-sections.txt:
4617         * gst/gstevent.c:
4618         * gst/gstevent.h:
4619         * gst/gstinfo.c:
4620         * gst/gstinfo.h:
4621         * gst/gstmessage.c: (gst_message_parse_state_changed):
4622         * gst/gstpad.c:
4623         * gst/gstpad.h:
4624           more docs, fix compilation
4625
4626 2005-10-09  Philippe Khalaf <burger@speedy.org>
4627         * gst/gstmessage.c:
4628           Fixed a few forgotten variables on previous commit
4629
4630 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4631
4632         * gst/base/gsttypefindhelper.c: (helper_find_peek):
4633           Fix evil typefind crasher: getrange() might return a short
4634           buffer at the end of a file, but gst_type_find_peek() must
4635           either return the full data as requested or NULL, but
4636           never a short buffer.
4637
4638 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4639
4640         * gst/gstmessage.c: (gst_message_new_state_changed),
4641         (gst_message_parse_state_changed):
4642         * gst/gstmessage.h:
4643           don't use "new", it's a C++ keyword
4644
4645 2005-10-08  Wim Taymans  <wim@fluendo.com>
4646
4647         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4648         * gst/gstelement.c: (gst_element_post_message):
4649         * gst/gstpipeline.c: (gst_pipeline_change_state):
4650         Small docs and debug updates.
4651
4652 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4653
4654         * docs/gst/gstreamer-sections.txt:
4655         * gst/gstelementfactory.c:
4656         * gst/gstevent.c:
4657         * gst/gsttaglist.c:
4658           more docs
4659
4660 2005-10-08  Wim Taymans  <wim@fluendo.com>
4661
4662         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4663         (gst_bin_dispose), (bin_bus_handler):
4664         Fix typos, add comments.
4665         Clear EOS list when going to PAUSED from any direction and do it
4666         in a threadsafe way.
4667         Get base time in a threadsafe way too.
4668         Fix confusing debug in the change_state function.
4669         Various other small cleanups.
4670         
4671         * gst/gstelement.c: (gst_element_post_message):
4672         Fix very verbose bus posting code.
4673
4674         * gst/gstpipeline.c: (gst_pipeline_class_init),
4675         (gst_pipeline_set_property), (gst_pipeline_get_property),
4676         (gst_pipeline_change_state):
4677         Small ARG_ -> PROP_ cleanup
4678
4679 2005-10-08  Wim Taymans  <wim@fluendo.com>
4680
4681         * gst/gstbin.c: (is_eos), (bin_bus_handler):
4682         Do a less CPU demanding EOS check because we can.
4683
4684 2005-10-08  Wim Taymans  <wim@fluendo.com>
4685
4686         * libs/gst/dataprotocol/dataprotocol.c:
4687         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4688         (gst_dp_packet_from_event):
4689         * libs/gst/dataprotocol/dataprotocol.h:
4690         * libs/gst/dataprotocol/dp-private.h:
4691         It's about time we bump the version number.
4692         Since event types don't fit in the guint8 anymore describing
4693         the payload type, make payload type 16 bits wide.
4694
4695 2005-10-08  Wim Taymans  <wim@fluendo.com>
4696
4697         * docs/design/part-TODO.txt:
4698         * docs/design/part-clocks.txt:
4699         * docs/design/part-events.txt:
4700         * docs/design/part-gstbin.txt:
4701         * docs/design/part-gstelement.txt:
4702         * docs/design/part-gstpipeline.txt:
4703         * docs/design/part-live-source.txt:
4704         * docs/design/part-messages.txt:
4705         * docs/design/part-overview.txt:
4706         * docs/design/part-states.txt:
4707         Many doc updates.
4708
4709 2005-10-08  Wim Taymans  <wim@fluendo.com>
4710
4711         * gst/gstevent.c:
4712         * gst/gstevent.h:
4713         Fix event quark registration.
4714         Add some space between events so we can insert them in the
4715         right groups.
4716
4717 2005-10-08  Wim Taymans  <wim@fluendo.com>
4718
4719         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4720         (gst_base_sink_handle_buffer):
4721         Better log message.
4722
4723         * gst/gstbus.h:
4724         * gst/gstelement.h:
4725         More docs.
4726
4727         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4728         (gst_queue_set_property), (gst_queue_get_property):
4729         * gst/gstqueue.h:
4730         Remove old unused properties.
4731
4732 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
4733         * docs/gst/gstreamer-sections.txt:
4734         * gst/gstmessage.c:
4735         * gst/gstmessage.h:
4736         * gst/gstminiobject.c:
4737         * gst/gstminiobject.h:
4738         * gst/gstobject.h:
4739         * gst/gstpad.h:
4740         * gst/gstutils.h:
4741           lots of new docs and doc fixes
4742
4743 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4744
4745         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4746         * gst/gstplugin.h:
4747         * gst/gstregistry.c: (gst_registry_lookup_locked),
4748         (gst_registry_scan_path_level):
4749         * gst/gstregistryxml.c: (load_plugin):
4750           Only ever load one plugin for a given plugin basename.
4751           This ensures correct overriding of GST_PLUGIN_PATH over
4752           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4753           system installed plugins.
4754
4755 2005-10-08  Wim Taymans  <wim@fluendo.com>
4756
4757         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4758         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4759         Prepare for doing QOS.
4760
4761 2005-10-08  Wim Taymans  <wim@fluendo.com>
4762
4763         * check/gst/gstbin.c: (GST_START_TEST):
4764         * check/pipelines/cleanup.c: (GST_START_TEST):
4765         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4766         Allow new clock message too.
4767
4768 2005-10-08  Wim Taymans  <wim@fluendo.com>
4769
4770         * gst/gstmessage.c: (gst_message_new_error),
4771         (gst_message_new_warning), (gst_message_new_tag),
4772         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4773         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4774         (gst_message_new_segment_start), (gst_message_new_segment_done),
4775         (gst_message_parse_state_changed),
4776         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4777         (gst_message_parse_new_clock):
4778         * gst/gstmessage.h:
4779         Also carry the clock in question.
4780
4781 2005-10-08  Wim Taymans  <wim@fluendo.com>
4782
4783         * gst/gstmessage.c: (gst_message_new_custom),
4784         (gst_message_new_eos), (gst_message_new_error),
4785         (gst_message_new_warning), (gst_message_new_tag),
4786         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4787         (gst_message_new_new_clock), (gst_message_new_segment_start),
4788         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4789         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4790         * gst/gstmessage.h:
4791         Clean up.
4792         Added clock related messages.
4793
4794         * gst/gstpipeline.c: (gst_pipeline_change_state):
4795         Post message when the clock changed.
4796
4797         * tools/gst-launch.c: (event_loop):
4798         Print new clock.
4799
4800 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4801
4802         * tools/gst-inspect.c: (print_element_properties_info):
4803           Can't pass NULL strings to g_print() on windows.
4804
4805 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4806
4807         * docs/Makefile.am:
4808         * docs/gst/Makefile.am:
4809         * docs/gst/gstreamer-docs.sgml:
4810         * docs/gst/running.xml:
4811         * docs/version.entities.in:
4812           add a chapter on running GStreamer.
4813           document GST_DEBUG and GST_PLUGIN* env vars
4814
4815 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4816
4817         * Makefile.am:
4818           remove include dir
4819         * configure.ac:
4820           remove PLUGINS_BUILDDIR stuff
4821         * gst/gst.c: (init_post):
4822           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4823         * idiottest.mak:
4824           remove, it was condescending and not needed
4825
4826 2005-10-08  Wim Taymans  <wim@fluendo.com>
4827
4828         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4829         (gst_base_sink_handle_object), (gst_base_sink_event),
4830         (gst_base_sink_wait), (gst_base_sink_handle_event),
4831         (gst_base_sink_change_state):
4832         * gst/base/gstbasesink.h:
4833         Repost EOS message while going to PLAYING if still EOS.
4834         Make sure that when receiving a FLUSH_START we don't attempt
4835         to sync on the clock anymore.
4836
4837 2005-10-08  Wim Taymans  <wim@fluendo.com>
4838
4839         * tools/gst-launch.c: (event_loop):
4840         Better message printout.
4841
4842 2005-10-08  Wim Taymans  <wim@fluendo.com>
4843
4844         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4845         (gst_bin_child_proxy_get_children_count):
4846         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4847         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4848         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4849         (gst_child_proxy_set_valist):
4850         * gst/parse/grammar.y:
4851         Make ChildProxy threadsafe and fix mem leaks.
4852
4853 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4854
4855         * gst/gst.c: (init_post):
4856           debug the GST_PLUGIN_ env vars
4857
4858 2005-10-08  Wim Taymans  <wim@fluendo.com>
4859
4860         * check/gst/gstbin.c: (GST_START_TEST):
4861         * check/gst/gstmessage.c: (GST_START_TEST):
4862         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4863         * gst/gstelement.c: (gst_element_commit_state),
4864         (gst_element_lost_state):
4865         * gst/gstmessage.c: (gst_message_new_state_changed),
4866         (gst_message_parse_state_changed):
4867         * gst/gstmessage.h:
4868         * tools/gst-launch.c: (event_loop):
4869         Added extra field to STATE_CHANGE message with the pending
4870         state, which will be different from the new state soon.
4871
4872 2005-10-08  Wim Taymans  <wim@fluendo.com>
4873
4874         * gst/gstbus.c: (gst_bus_pop):
4875         * gst/gstclock.c:
4876         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4877         Small cleanups and doc updates.
4878
4879 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4880
4881         * gst/gst.c: (init_pre):
4882         * gst/gstbin.c: (gst_bin_add_func):
4883           log distributing clocks and base time
4884         * gst/gstregistry.c: (gst_registry_add_plugin),
4885         (gst_registry_scan_path_level), (gst_registry_scan_path):
4886           clean up the debugging output a little
4887         * gst/gstutils.c: (gst_element_state_get_name):
4888           warn about a memleak (I've actually seen this be used, though
4889           it was probably a bug)
4890
4891 2005-10-07  Wim Taymans  <wim@fluendo.com>
4892
4893         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4894         (gst_base_src_init), (gst_base_src_default_newsegment),
4895         (gst_base_src_newsegment), (gst_base_src_do_seek),
4896         (gst_base_src_loop), (gst_base_src_start):
4897         * gst/base/gstbasesrc.h:
4898         Make the newsegment event customizable by subclasses.
4899
4900 2005-10-07  Wim Taymans  <wim@fluendo.com>
4901
4902         * gst/gstevent.c: (gst_event_new_buffersize),
4903         (gst_event_parse_buffersize):
4904         * gst/gstevent.h:
4905         New event for future idea.
4906
4907 2005-10-07  Andy Wingo  <wingo@pobox.com>
4908
4909         * gst/gstelement.c (gst_element_post_message): Doc update.
4910
4911         * docs/gst/gstreamer-sections.txt: Update.
4912
4913         * gst/gstmessage.c (gst_message_new_application): Made into a
4914         function like honest API calls.
4915         (gst_message_new_element): New message type.
4916
4917         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4918
4919         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4920         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4921         times.
4922
4923         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4924         NO_PREROLL from gst_element_change_state to fall through.
4925
4926 2005-10-07  Wim Taymans  <wim@fluendo.com>
4927
4928         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4929         (gst_ghost_pad_do_activate_push):
4930         Activating a ghostpad with no internal pad in push mode
4931         is ok.
4932
4933 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4934
4935         * gst/gstobject.h:
4936           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4937           Fixes compilation on Windows.
4938
4939 2005-10-07  Michael Smith <msmith@fluendo.com>
4940
4941         * tools/gst-inspect.c:
4942           Print out feature and plugin count at the end when printing out
4943           all features.
4944
4945 2005-10-04  Michael Smith <msmith@fluendo.com>
4946
4947         * gst/gsterror.c: (_gst_stream_errors_init):
4948           Add another error string used in a few existing plugins.
4949
4950         * gst/gstplugin.c:
4951         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4952         * tools/gst-inspect.c: (print_element_info):
4953           When a feature disappears from a plugin (and the feature exists in
4954           the cached registry file), things went horribly wrong. This isn't a
4955           complete fix, we should actually be removing the 'missing' features
4956           from the features list when we load the actual plugin. That's not
4957           yet implemented. 
4958
4959 2005-10-04  Johan Dahlin  <johan@gnome.org>
4960
4961         * check/gst/gstiterator.c: (GST_START_TEST):
4962         * gst/gstbin.c: (gst_bin_iterate_elements),
4963         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4964         * gst/gstelement.c: (gst_element_iterate_pads):
4965         * gst/gstformat.c: (gst_format_iterate_definitions):
4966         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4967         (gst_iterator_new_list), (gst_iterator_filter):
4968         * gst/gstiterator.h:
4969         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4970         Add a GType to GstIterator, update callsites and tests.
4971
4972 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4973
4974         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4975           give events a chance to be handled by event probes when the pad
4976           is not linked
4977
4978 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4979
4980         * gst/gstevent.c: (gst_event_type_get_name),
4981         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4982         * gst/gstevent.h:
4983           add string representations for event types
4984
4985 2005-10-06  Wim Taymans  <wim@fluendo.com>
4986
4987         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4988         Don't use NULL pointers.
4989
4990 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4991
4992         * gst/gst_private.h:
4993         * gst/gstbus.c:
4994         * gst/gstelement.c:
4995         * gst/gstinfo.c:
4996         * gst/gstpluginfeature.c:
4997           widen the debug category in output to fit the biggest one we have
4998           add a bus category and use it
4999           play with the colors
5000           fix up some categories
5001
5002 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5003
5004         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5005           add push activation of sink ghost pads.
5006           Andye, please verify
5007
5008 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5009
5010         * gst/gstutils.c: (gst_element_link_pads):
5011           fix a bug in the case where neither element has a pad
5012         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5013           add a test for that case
5014
5015 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5016
5017         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5018           emit have-data before checking for peers.  This allows
5019           for probe handlers to connect elements.  This helps autopluggers.
5020         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5021         (gst_pad_suite):
5022           add six checks, linked/unlinked with no/true/false probe
5023
5024 2005-10-04  Wim Taymans  <wim@fluendo.com>
5025
5026         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5027         (gst_fake_sink_event), (gst_fake_sink_preroll),
5028         (gst_fake_sink_render), (gst_fake_sink_change_state):
5029         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5030         (gst_fake_src_get_property), (gst_fake_src_create),
5031         (gst_fake_src_stop):
5032         * gst/elements/gstidentity.c: (gst_identity_stop):
5033         Protect last_message with lock.
5034
5035 2005-10-04  Edward Hervey  <edward@fluendo.com>
5036
5037         * gst/gstformat.h: 
5038         Added precision in the comments for GST_FORMAT_DEFAULT
5039
5040 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5041
5042         * tools/gst-launch.c: (main):
5043           Don't try to run erroneous pipelines.
5044
5045 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5046
5047         * gst/gstbus.c: We don't need this header.
5048
5049 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5050
5051         * configure.ac:
5052           back to development
5053
5054 === release 0.9.3 ===
5055
5056 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5057
5058         * README:
5059         * configure.ac:
5060           Releasing 0.9.3, "Unregistered"
5061
5062 2005-10-03  Andy Wingo  <wingo@pobox.com>
5063
5064         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5065         whereby calling a pad's activatepush() function can start a thread
5066         that starts to push or pull before the pad gets the FLUSHING flag
5067         unset. Hack around it by holding the stream lock until the flag is
5068         set. Need to replace this with a proper solution. Together with
5069         the ghost pad fixes, this fixes mp3 playing/tagreading.
5070
5071         * docs/design/part-gstghostpad.txt: Add a note about activation of
5072         proxy pads outside of ghost pads.
5073
5074         * gst/gstghostpad.c: Implement the ghost pad activation design.
5075
5076 2005-10-02  Andy Wingo  <wingo@pobox.com>
5077
5078         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5079         It is volatile, after all.
5080
5081         * docs/design/part-gstghostpad.txt: Flesh out activation with
5082         ghost pads.
5083
5084         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5085         GST_DEBUG_FUNCPTR.
5086
5087 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5088
5089         * configure.ac:
5090           Fix (unused) AM_CONDITIONAL tests.
5091
5092 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5093
5094         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5095
5096         * gst/gstutils.c: (gst_pad_query_convert):
5097           Add assertion that makes sure src_val is >=0, just like
5098           gst_query_new_convert() has. (#315895)
5099
5100 2005-09-30  Edward Hervey  <edward@fluendo.com>
5101
5102         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5103         Let's not iterate pads we're not interested in, it avoids getting 
5104         sky-high refcounts on sinkpad.
5105
5106 2005-09-30  Wim Taymans  <wim@fluendo.com>
5107
5108         * gst/gstelement.c: (gst_element_set_state),
5109         (gst_element_change_state):
5110         Small tweak, element in ASYNC remains ASYNC.
5111
5112 2005-09-30  Wim Taymans  <wim@fluendo.com>
5113
5114         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5115         Only error is an error.
5116
5117         * gst/gstbin.c: (gst_bin_change_state):
5118         Better debugging.
5119
5120         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5121         Also call pad_block in pad alloc.
5122
5123         * gst/gstutils.c: (gst_flow_get_name):
5124         Better debugging.
5125
5126 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5127
5128         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5129         (gst_base_src_get_range):
5130           Fix documentation typos. Add some more debug info.
5131
5132 2005-09-29  David Schleef  <ds@schleef.org>
5133
5134         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5135           more end-user friendly.
5136         * tools/gst-inspect.c: (main): Check if command-line argument is
5137           a file and attempt to load that file as a plugin.
5138
5139 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5140
5141         * check/gst/gstbin.c:
5142         * check/states/sinks.c:
5143           fix tests for the new warning
5144         * check/gst/gstpipeline.c:
5145           add a test for pipeline and bus interaction
5146         * gst/gstelement.c:
5147           elements should be NULL if they get disposed; add a warning if not
5148
5149 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5150
5151         * gst/gstobject.c:
5152           for 2.6 refcounting, make debug log more correct by printing
5153           the actual refcounts at the time of swap (Wim)
5154
5155 2005-09-29  Andy Wingo  <wingo@pobox.com>
5156
5157         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5158         removes signal watches previously added via
5159         gst_bus_add_signal_watch.
5160         (gst_bus_add_signal_watch): Don't return the source id, just store
5161         it on the bus if there wasn't an id already.
5162
5163         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5164         add_signal_watch and remove_signal_watch.
5165
5166 2005-09-29  Edward Hervey  <edward@fluendo.com>
5167
5168         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5169         Better if we actually iterate the list :)
5170
5171 2005-09-29  Wim Taymans  <wim@fluendo.com>
5172
5173         * check/gst/gstbin.c: (GST_START_TEST):
5174         Change for new bus API.
5175
5176         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5177         (send_messages), (GST_START_TEST), (gstbus_suite):
5178         Change for new bus signal API.
5179
5180         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5181         (gst_bus_source_prepare), (gst_bus_source_check),
5182         (gst_bus_create_watch), (gst_bus_add_watch_full),
5183         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5184         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5185         * gst/gstbus.h:
5186         Remove support for multiple GSources operating on different
5187         message types as it is too complex and unneeded when using
5188         signals.
5189         Added support for receiving signals from the bus.
5190
5191 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5192
5193         * docs/libs/tmpl/gstdataprotocol.sgml:
5194         * docs/manual/advanced-dataaccess.xml:
5195         * gst/elements/gstcapsfilter.c:
5196         * gst/gstutils.c:
5197           rename filter-caps to caps property
5198
5199 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5200
5201         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5202           More robust fraction string parsing.
5203
5204         * docs/pwg/appendix-porting.xml:
5205           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5206
5207 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5208
5209         * gst/gstcaps.c: (gst_caps_do_simplify):
5210           Thou shalt not free a structure and then continue using it
5211           in the next loop iteration.
5212
5213         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5214         (gst_caps_suite):
5215           Add test case for caps simplification.
5216
5217 2005-09-29  Wim Taymans  <wim@fluendo.com>
5218
5219         * check/gst/gstbin.c: (GST_START_TEST):
5220         Oops.
5221
5222 2005-09-29  Wim Taymans  <wim@fluendo.com>
5223
5224         * check/gst/gstbin.c: (GST_START_TEST):
5225         Add bus to bin.
5226
5227         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5228         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5229         (find_element), (gst_bin_sort_iterator_next),
5230         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5231         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5232         (gst_bin_change_state), (gst_bin_dispose):
5233         A bin does not have a bus, it gets the bus from the parent.
5234
5235         * gst/gstelement.c: (gst_element_requires_clock),
5236         (gst_element_provides_clock), (gst_element_is_indexable),
5237         (gst_element_is_locked_state), (gst_element_change_state),
5238         (gst_element_set_bus_func):
5239         Small cleanups.
5240
5241         * gst/gstpipeline.c: (gst_pipeline_class_init),
5242         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5243         The pipeline provides a bus.
5244
5245 2005-09-28  Johan Dahlin  <johan@gnome.org>
5246
5247         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5248         gst_structure_get_enum instead of gst_structure_get_int
5249
5250         * gst/gststructure.c (gst_structure_get_enum): Impl.
5251
5252         * gst/gststructure.h (gst_structure_get_enum): Add
5253
5254         * docs/gst/gstreamer-sections.txt: Ditto
5255
5256         * gst/gstmessage.c (gst_message_new_state_changed): Use
5257         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5258         which does introspection.
5259         Reviewed by Christian Schaller
5260
5261 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5262
5263         * gst/gstinfo.c: (gst_debug_log_default):
5264           don't do dummy g_strdup()s
5265         * libs/gst/controller/gstcontroller.c:
5266         (on_object_controlled_property_changed),
5267         (gst_controlled_property_new), (gst_controller_new_valist),
5268         (gst_controller_new_list),
5269         (gst_controller_remove_properties_valist), (gst_controller_set),
5270         (gst_controller_get), (gst_controller_sync_values),
5271         (gst_controller_get_value_array), (_gst_controller_class_init),
5272         (gst_controller_get_type):
5273         * libs/gst/controller/gstcontroller.h:
5274         * libs/gst/controller/gstinterpolation.c:
5275         (gst_controlled_property_find_timed_value_node):
5276           convert // to /**/ comments
5277
5278 2005-09-28  Wim Taymans  <wim@fluendo.com>
5279
5280         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5281         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5282         (gst_bus_sync_signal_handler):
5283         * gst/gstbus.h:
5284         Added async-message and sync-message signals to the bus.
5285         Added helper BusFunc to emit signals for all posted messages.
5286
5287         * gst/gstmessage.c: (gst_message_type_get_name),
5288         (gst_message_type_to_quark), (gst_message_get_type):
5289         * gst/gstmessage.h:
5290         Register quarks for message names.
5291
5292 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5293
5294         * docs/libs/gstreamer-libs-sections.txt:
5295         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5296         (gst_controller_new_list):
5297         * libs/gst/controller/gstcontroller.h:
5298           added another constructor for language bindings
5299
5300 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5301
5302         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5303           add another check
5304         * gst/gstbus.c:
5305           add some doc
5306         * gst/gstinfo.c: (_gst_debug_init):
5307           slightly more readable color for refcount debugging
5308
5309 2005-09-28  Wim Taymans  <wim@fluendo.com>
5310
5311         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5312         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5313         (find_element), (gst_bin_sort_iterator_next),
5314         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5315         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5316         (gst_bin_change_state), (gst_bin_dispose):
5317         Small doc fixes. get_clock -> provide_clock.
5318
5319         * gst/gstelement.c: (gst_element_class_init),
5320         (gst_element_provides_clock), (gst_element_provide_clock),
5321         (gst_element_get_clock), (gst_element_commit_state),
5322         (gst_element_lost_state):
5323         * gst/gstelement.h:
5324         Make get/set_clock() symetric. Add provide_clock vmethod since
5325         that is actually what this function does.
5326
5327         * gst/gstpipeline.c: (gst_pipeline_class_init),
5328         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5329         (gst_pipeline_get_clock):
5330         get_clock -> provide_clock.
5331
5332 2005-09-28  Andy Wingo  <wingo@pobox.com>
5333
5334         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5335         lieu of real docs...
5336
5337         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5338
5339 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5340
5341         * gst/elements/gstcapsfilter.c:
5342         * gst/elements/gstfakesink.c:
5343         * gst/elements/gstfakesrc.c:
5344         * gst/elements/gstfdsink.c:
5345         * gst/elements/gstfdsrc.c:
5346         * gst/elements/gstfilesink.c:
5347         * gst/elements/gstfilesrc.c:
5348         * gst/elements/gstidentity.c:
5349         * gst/elements/gsttee.c:
5350         * gst/elements/gsttypefindelement.c:
5351           Make element details static.
5352
5353 2005-09-28  Wim Taymans  <wim@fluendo.com>
5354
5355         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5356         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5357         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5358         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5359         (gst_bin_change_state), (gst_bin_dispose):
5360         Some documentation updates.
5361         Clean up dispose handlers.
5362
5363         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5364         * gst/gstpad.c: (gst_pad_dispose):
5365         Clean up dispose handler.
5366
5367         * gst/gstpipeline.c: (gst_pipeline_change_state):
5368         Removed spurious UNLOCK.
5369
5370 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5371
5372         * docs/gst/gstreamer-sections.txt:
5373         * gst/base/gstbasesrc.h:
5374         * gst/gstelement.h:
5375         * gst/gstevent.h:
5376         * gst/gstobject.h:
5377         * gst/gstpad.h:
5378         * gst/gstpipeline.c:
5379         * gst/gstpipeline.h:
5380         * gst/gstutils.h:
5381         * gst/gstxml.h:
5382           added two new functions to the docs
5383                 documents all undocumented GstXXXFlags
5384                 completed some incomplete docs 
5385
5386 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5387
5388         * gst/gstbin.c: (gst_bin_dispose):
5389         * gst/gstelement.c: (gst_element_dispose):
5390           remove now useless and leaky resurrection code in dispose
5391         * gst/base/gstbasesrc.c: (gst_base_src_init):
5392         * gst/gstelementfactory.c: (gst_element_factory_create):
5393         * gst/gstobject.c: (gst_object_set_parent):
5394           add some debugging
5395
5396 2005-09-27  Wim Taymans  <wim@fluendo.com>
5397
5398         * docs/design/part-TODO.txt:
5399         Update TODO.
5400
5401         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5402         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5403         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5404         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5405         (gst_bin_change_state):
5406         * gst/gstelement.h:
5407         Remove element variable, we keep element info in the iterator now.
5408
5409 2005-09-27  Andy Wingo  <wingo@pobox.com>
5410
5411         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5412         values.
5413
5414 2005-09-27  Wim Taymans  <wim@fluendo.com>
5415
5416         * check/gst/gstbin.c: (GST_START_TEST):
5417         Enable check that works now.
5418
5419         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5420         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5421         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5422         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5423         (gst_bin_change_state):
5424         * gst/gstbin.h:
5425         Redid the state change algorithm using a topological sort algo.
5426         Handles all cases correctly.
5427         Exposed iterator for state change order.
5428
5429         * gst/gstelement.h:
5430         Temp storage for state changes. Need to get rid of this soon.
5431
5432 2005-09-27  Wim Taymans  <wim@fluendo.com>
5433
5434         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5435         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5436         (link_fold_func), (gst_pad_proxy_setcaps):
5437         Leak fixes, the fold functions need to unref the passed object and
5438         _get_parent_*() returns ref to parent.
5439
5440 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5441
5442         * check/gst/gstbuffer.c: (test_make_writable):
5443           Plug leak in test case and fix 'make check-valgrind'
5444
5445 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5446
5447         * gst/gstbuffer.c: (gst_subbuffer_init):
5448           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5449           works correctly in all circumstances (we could have just copied
5450           the parent buffer's readonly flag, but conceptually it seems
5451           cleaner to mark all subbuffers as read-only). (based on patch
5452           by Alessandro Decina, #314710).
5453         
5454         * check/gst/gstbuffer.c: (create_read_only_buffer),
5455         (test_make_writable), (test_subbuffer_make_writable),
5456         (gst_test_suite):
5457           Add some tests for gst_buffer_make_writable().
5458
5459 2005-09-27  Wim Taymans  <wim@fluendo.com>
5460
5461         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5462         use gst_object_has_ancestor().
5463
5464         * gst/gstobject.c: (gst_object_has_ancestor):
5465         * gst/gstobject.h:
5466         gst_object_has_ancestor() copied from gstbin.c as it is a
5467         usefull function.
5468
5469         * tests/instantiate/create.c: (create_all_elements):
5470         * tests/lat.c: (handoff_src), (handoff_sink):
5471         * tests/sched/runxml.c: (main):
5472         * tests/seeking/seeking1.c: (main):
5473         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5474         (main):
5475         Fix compilation of some tests.
5476
5477 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5478
5479         * gst/gsterror.h:
5480           Remove comment. GST_TYPE_G_ERROR is here to stay,
5481           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5482           (#316961, #300610).
5483
5484 2005-09-26  Wim Taymans  <wim@fluendo.com>
5485
5486         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5487         Added check that shows error in state change order.
5488
5489 2005-09-26  Wim Taymans  <wim@fluendo.com>
5490
5491         * gst/gstbin.c: (gst_bin_change_state):
5492         Make state change function use 3 queues again, we were
5493         adding elements in the wrong order.
5494
5495         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5496         Some debug info,
5497
5498         * gst/gstpad.c: (gst_pad_dispose):
5499         Added some debug info first.
5500
5501 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5502
5503         * docs/design/draft-push-pull.txt:
5504         * docs/design/part-events.txt:
5505         * docs/design/part-overview.txt:
5506         * docs/design/part-scheduling.txt:
5507           Replace all _pull_region() with _pull_range()
5508           
5509 2005-09-26  Andy Wingo  <wingo@pobox.com>
5510
5511         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5512
5513         * check/gst-libs/controller.c: Update for controller api change.
5514
5515         * configure.ac: 
5516         * tests/Makefile.am:
5517         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5518         over by GLib bug 118439.
5519         
5520         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5521         routines to a function.
5522
5523         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5524
5525         * libs/gst/controller/gsthelper.c:
5526         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5527         (gst_object_sync_values): Renamed from sink_values. Ugh.
5528
5529         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5530
5531         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5532         Renamed from controller_key, as it is exported.
5533
5534         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5535
5536 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5537
5538         * gst/Makefile.am:
5539         * gst/gst.h:
5540         * gst/gstpad.h:
5541         * gst/gstpadtemplate.h:
5542         * gst/gstquery.c:
5543         * gst/gstquery.h:
5544         * gst/gstqueryutils.c:
5545         * gst/gstqueryutils.h:
5546           remove queryutils headers after moving the two used functions
5547           to gstquery.  also fixes build problem for gstsiddec
5548
5549 2005-09-26  Michael Smith <msmith@fluendo.com>
5550
5551         * tools/gst-launch.1.in:
5552         Correct documentation in manpage of debug syntax
5553
5554 2005-09-26  Wim Taymans  <wim@fluendo.com>
5555
5556         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5557         (gst_base_src_is_seekable), (gst_base_src_change_state):
5558         Some more debugging info.
5559
5560 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5561
5562         * docs/gst/gstreamer-sections.txt:
5563         * gst/base/gstbasetransform.h:
5564         * gst/gstindex.h:
5565           added more docs
5566
5567 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5568
5569         * docs/gst/.cvsignore:
5570         * docs/gst/tmpl/.cvsignore:
5571         * docs/gst/tmpl/gstpipeline.sgml:
5572         * docs/gst/tmpl/gstplugin.sgml:
5573         * gst/gstpipeline.c:
5574         * gst/gstplugin.c:
5575         * gst/gstplugin.h:
5576           inlined the last two docs files
5577           removed the tmpl directory from cvs (no more conflicts here!)
5578
5579 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
5580
5581         * docs/gst/gstreamer-sections.txt:
5582         * docs/gst/tmpl/.cvsignore:
5583         * docs/gst/tmpl/gstpad.sgml:
5584         * docs/gst/tmpl/gstpadtemplate.sgml:
5585         * gst/Makefile.am:
5586         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5587         (gst_pad_finalize), (gst_pad_set_pad_template):
5588         * gst/gstpad.h:
5589         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5590         (gst_pad_template_class_init), (gst_pad_template_init),
5591         (gst_pad_template_dispose), (name_is_valid),
5592         (gst_static_pad_template_get), (gst_pad_template_new),
5593         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5594         (gst_pad_template_pad_created):
5595         * gst/gstpadtemplate.h:
5596           inlined two more docs
5597           factored gstpadtemplate out of gstpad
5598
5599 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5600
5601         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5602         (test_children_state_change_order_semi_sink):
5603           Fix test case: we can't rely on a fixed state change order when
5604           going from READY => PAUSED because the sink might commit its 
5605           new state first when the first buffer created by the source 
5606           reaches the sink before the source has finished its change state.
5607           (Test case still fails at times, see #316856, comment 5 onwards)
5608
5609 2005-09-24  Wim Taymans  <wim@fluendo.com>
5610
5611         * docs/design/part-events.txt:
5612         * docs/design/part-gstbus.txt:
5613         * docs/design/part-gstpipeline.txt:
5614         * docs/design/part-messages.txt:
5615         * docs/design/part-overview.txt:
5616         * docs/design/part-segments.txt:
5617         * gst/gstbin.c:
5618         * gst/gstbuffer.c:
5619         * gst/gstclock.c:
5620         * gst/gstelement.c:
5621         * gst/gstevent.c:
5622         * gst/gstfilter.c:
5623         * gst/gstiterator.c:
5624         Various documentation updates.
5625
5626 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5627
5628         * gst/gstclock.h:
5629           Well, that's embarassing.  Luckily we weren't using
5630           GST_CLOCK_DIFF anywhere.
5631
5632 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5633
5634         * common/gtk-doc.mak:
5635           don't fail on building XML, FC4 slave shows a bunch of doc
5636           missing bits that I don't get
5637         * gst/gstpad.c:
5638         * gst/gstpipeline.c:
5639         * gst/gststructure.c:
5640           some doc updates
5641
5642 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5643
5644         * docs/design/part-gstbin.txt:
5645         * docs/design/part-gstbus.txt:
5646         * gst/gstbus.c:
5647           Add blurb about how the bus goes into flushing mode and
5648           drops all messages when its bin goes from READY into NULL 
5649           state.
5650
5651 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5652
5653         * docs/gst/gstreamer-sections.txt:
5654         * gst/gststructure.c: (gst_structure_get_clock_time):
5655         * gst/gststructure.h:
5656           add a method to get a GstClockTime out of a structure
5657
5658 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5659
5660         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5661         (test_children_state_change_order_semi_sink), (gst_bin_suite):
5662           Added test to check state change order in bins (can still be made
5663           to fail here under heavy disk load; bails out with 'Push on pad
5664           fakesink:sink0, but it was not activated in push mode').
5665
5666         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5667           Fix state change order when there is only a semi sink (#316856)
5668
5669         * gst/gstbus.c: (gst_bus_class_init):
5670           Use _class_peek_parent(), not _class_ref(); fix docs to say
5671           'default main context' instead of 'mainloop' where that is
5672           what's meant.
5673
5674         * gst/gstelement.c: (gst_element_commit_state),
5675         (gst_element_set_state):
5676           Fix typos in debug messages
5677
5678 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5679
5680         * docs/README:
5681         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5682         * gst/gstpluginfeature.c:
5683         * gst/gstutils.c:
5684           various doc updates
5685         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5686           change an assert into an error until it gets fixed properly
5687
5688 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
5689
5690         * docs/gst/gstreamer-sections.txt:
5691         * docs/gst/tmpl/.cvsignore:
5692         * docs/gst/tmpl/gstelement.sgml:
5693         * docs/gst/tmpl/gstinfo.sgml:
5694         * docs/gst/tmpl/gstobject.sgml:
5695         * gst/gstelement.c:
5696         * gst/gstelement.h:
5697         * gst/gstinfo.c:
5698         * gst/gstinfo.h:
5699         * gst/gstobject.c: (gst_object_class_init):
5700         * gst/gstobject.h:
5701           inlined 3 more biiiig doc files and added some missing docs on the fly
5702
5703 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5704
5705         * check/gst/.cvsignore:
5706         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5707         * gst/gstregistryxml.c: (load_plugin),
5708         (gst_registry_xml_save_plugin):
5709           put back source in registry.  add checks for find_plugin.
5710         * testsuite/states/bin.c: (assert_state), (empty_bin),
5711         (test_adding_one_element), (main):
5712         * testsuite/states/locked.c: (main):
5713           some compile/run fixes
5714
5715 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5716
5717         * check/gst/gstvalue.c: (GST_START_TEST):
5718           fix leaks in the test itself
5719
5720 2005-09-22  Wim Taymans  <wim@fluendo.com>
5721
5722         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5723         (gst_base_sink_send_event), (gst_base_sink_peer_query),
5724         (gst_base_sink_query):
5725         Prepare for more accurate position reporting and query
5726         handling.
5727
5728         * gst/gstelement.c: (gst_element_send_event),
5729         (gst_element_set_state):
5730         Add some comment.
5731
5732 2005-09-22  Wim Taymans  <wim@fluendo.com>
5733
5734         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5735         (gst_query_parse_segment):
5736         * gst/gstquery.h:
5737         More documentation.
5738         Add segment query for future use.
5739
5740 2005-09-22  Wim Taymans  <wim@fluendo.com>
5741
5742         * gst/gstbin.c: (gst_bin_add_func):
5743         Some more debug info.
5744
5745         * gst/gstelement.c: (gst_element_send_event):
5746         Simplify send_event
5747
5748         * gst/gstelement.h:
5749         Don't know how flags got broken.
5750
5751         * gst/gstquery.h:
5752         Added new query.
5753
5754 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5755
5756         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5757           Add simplistic test suite for GST_TYPE_DATE serialisation and
5758           deserialisation.
5759
5760 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5761
5762         * docs/gst/gstreamer-sections.txt:
5763         * gst/gststructure.c: (gst_structure_set_valist),
5764         (gst_structure_get_date):
5765         * gst/gststructure.h:
5766         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5767         (gst_date_copy), (gst_value_compare_date),
5768         (gst_value_serialize_date), (gst_value_deserialize_date),
5769         (gst_value_transform_date_string),
5770         (gst_value_transform_string_date), (_gst_value_initialize):
5771         * gst/gstvalue.h:
5772           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5773           bunch of utility functions along with a hack that checks that
5774           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5775           is required. Part of the grand scheme in #170777.
5776
5777 2005-09-22  Andy Wingo  <wingo@pobox.com>
5778
5779         * gst/gstconfig.h.in: Psych out gtk-doc.
5780
5781         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5782
5783         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5784
5785         * tools/gst-inspect.c (print_element_list): Plug some
5786         inconsequential leaks.
5787
5788         * gst/gstregistry.c (gst_registry_get_default): Doc.
5789
5790         * check/gst/gstplugin.c: 
5791         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5792         * gst/gstelementfactory.c (gst_element_factory_create): 
5793         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5794         refcount changes.
5795
5796         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5797         (gst_plugin_feature_load): Doc, don't eat refs.
5798
5799         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5800         (gst_plugin_list_free): Doc.
5801         (gst_plugin_load_file): Doc updates.
5802
5803         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5804         accessors returning refcounted objects, return a ref.
5805
5806         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5807         accessor for caps. IDEMPOTENCE. Oh yes.
5808
5809 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5810
5811         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5812
5813         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5814         (_gst_debug_register_funcptr):
5815           Add mutex to serialise access to the hash table with
5816           the function pointer => function name string mapping;
5817           make that hash table static scope (#316809).
5818
5819         * gst/registries/.cvsignore:
5820           Remove left-over file.
5821
5822 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5823
5824         * docs/pwg/appendix-porting.xml:
5825           And something about newsegment events and caps-on-buffers to
5826           the porting guide (feel free to improve).
5827
5828 2005-09-21  Andy Wingo  <wingo@pobox.com>
5829
5830         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5831         data and event probes on the same pad.
5832         (test_buffer_probe_once): Test that removing probes from within
5833         the probe functions works.
5834
5835 2005-09-21  Andy Wingo  <wingo@pobox.com>
5836
5837         * check/gst/gstutils.c: New file.
5838         (test_buffer_probe_n_times): A simple buffer probe test. More to
5839         come, foolios.
5840
5841         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5842         have-data::buffer, not have-data.
5843         (gst_pad_add_event_probe): Likewise for have-data::event.
5844         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5845         peer' isn't quite right yet though.
5846         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5847         (gst_pad_remove_data_probe): Change to take the guint handler_id
5848         as their arg, not the function+data, which is more glib-like.
5849
5850         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5851         the signal emission to indicate if the data is a buffer or an
5852         event.
5853         (gst_pad_get_type): Initialize buffer and event quarks.
5854         (gst_pad_class_init): have-data is now a detailed signal, yes it
5855         is.
5856
5857 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5858
5859         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5860         * gst/gstutils.c: (gst_util_set_value_from_string),
5861         (gst_util_set_object_arg):
5862           Don't put functional code in g_return_if_fail() or
5863           g_return_val_if_fail() statements, otherwise things will 
5864           break when G_DISABLE_CHECKS is defined during compilation.
5865
5866 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5867
5868         * docs/gst/tmpl/.cvsignore:
5869         * docs/gst/tmpl/gstvalue.sgml:
5870         * gst/gstvalue.c:
5871         * gst/gstvalue.h:
5872           inlied another one and added  some obvious docs
5873
5874 2005-09-21  Wim Taymans  <wim@fluendo.com>
5875
5876         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5877         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5878         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5879         (gst_fdsrc_get_property), (gst_fdsrc_create):
5880         * gst/elements/gstfdsrc.h:
5881         Properly implement fdsrc. Removed signal and timeout,
5882         better implemented somewhere else.
5883
5884 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5885
5886         * docs/gst/tmpl/.cvsignore:
5887         * docs/gst/tmpl/gstimplementsinterface.sgml:
5888         * gst/gstinterface.c:
5889           inlined more docs
5890
5891 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5892
5893         * docs/gst/gstreamer-sections.txt:
5894         * docs/gst/tmpl/.cvsignore:
5895         * docs/gst/tmpl/gstenumtypes.sgml:
5896           remove obsolete doc file
5897
5898 2005-09-21  David Schleef  <ds@schleef.org>
5899
5900         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5901         little beer, fix a little leak.
5902
5903 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5904
5905         * docs/gst/gstreamer-docs.sgml:
5906         * docs/gst/gstreamer-sections.txt:
5907         * docs/gst/tmpl/.cvsignore:
5908         * gst/Makefile.am:
5909         * gst/gst.h:
5910         * gst/gstbin.c:
5911         * gst/gstelement.h:
5912         * gst/gstindex.c: (gst_index_class_init):
5913         * gst/gstindex.h:
5914         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5915         (gst_index_factory_class_init), (gst_index_factory_init),
5916         (gst_index_factory_finalize), (gst_index_factory_new),
5917         (gst_index_factory_destroy), (gst_index_factory_find),
5918         (gst_index_factory_create), (gst_index_factory_make):
5919         * gst/gstindexfactory.h:
5920         * gst/gstpluginfeature.c:
5921         * gst/gstpluginfeature.h:
5922         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5923           more docs inlined, splitted gstindex.{c,h}
5924
5925 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5926
5927         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5928           fix a leak
5929
5930 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5931
5932         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5933           Set sync to FALSE by default.
5934
5935 2005-09-20  Wim Taymans  <wim@fluendo.com>
5936
5937         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5938         (gst_base_sink_init):
5939         Make sync property settable from subclass.
5940
5941         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5942         (gst_fake_sink_change_state):
5943         Set sync to FALSE by default.
5944
5945 2005-09-20  Wim Taymans  <wim@fluendo.com>
5946
5947         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5948         * tools/gst-launch.c: (main):
5949         The timeout handler should have lower priority than the source
5950         so we don't timeout before popping a message with 0 timeout.
5951         Dump error messages after failed state change.
5952
5953 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5954
5955         * tools/gst-inspect.c: (print_element_properties_info):
5956           Fix two typos.
5957
5958 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5959
5960         * check/gst/gstevent.c:
5961         * gst/elements/gstfakesink.c:
5962         * gst/elements/gstfakesink.h:
5963           remove the sync property from fakesink.
5964           has the side effect of setting sync TRUE
5965           for fakesink, which is a change.  Anyone who knows how
5966           to fix this nicely in a GObject-y way, feel free.
5967
5968 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5969
5970         * docs/gst/gstreamer-docs.sgml:
5971           remove probe refsection
5972
5973 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5974
5975         * check/Makefile.am:
5976           disable valgrinding the controller test again
5977         * docs/gst/gstreamer-sections.txt:
5978           update for api-changes
5979
5980 2005-09-20  Wim Taymans  <wim@fluendo.com>
5981
5982         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5983         (gst_base_sink_set_property), (gst_base_sink_get_property),
5984         (gst_base_sink_do_sync):
5985         * gst/base/gstbasesink.h:
5986         Added sync property to basesink to disable clock sync.
5987
5988 2005-09-20  Andy Wingo  <wingo@pobox.com>
5989
5990         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5991         eating the caller's refcount.
5992
5993         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5994         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5995         refcount.
5996
5997         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5998         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5999         of GLib 2.8 public, so we can know which refcount to check in
6000         tests.
6001
6002         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6003         (gst_object_init): Only set the gst refcount if we're going ahead
6004         with the refcount hack.
6005
6006 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6007
6008         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6009         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6010           more leaks plumbed, added more debug-logging
6011         * gst/gstmacros.h:
6012           whitespace fix
6013
6014 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6015
6016         * gst/gstmessage.c:
6017           remove include of gstmemchunk.h
6018
6019 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6020
6021         * gst/gstclock.c: (_gst_clock_id_free):
6022           Commit from the Political Party For More Atomic CVS Commits,
6023           so that people don't waste too much of their day fishing
6024           out obvious leaks out of massive commits.
6025           Oh, and fix a pretty damn obvious leak in the memchunk
6026           removal code.
6027
6028 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6029
6030         * check/Makefile.am:
6031         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6032           plug mem-leak, re-add to valgrindable tests
6033
6034 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6035
6036         * gst/gstplugin.h:
6037           unbreak the build for those who have chronic arthritis
6038           and typing "make check" is just too taxing on the hands
6039
6040 2005-09-20  Andy Wingo  <wingo@pobox.com>
6041
6042         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6043         really want it out, you should fix plugins at the same time.
6044
6045 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6046
6047         * configure.ac:
6048         * docs/gst/gstreamer-sections.txt:
6049         * gst/gstobject.c:
6050           added missing symbols to api docs
6051           disable ref-count hack if we have glib >= 2.8
6052
6053 2005-09-19  David Schleef  <ds@schleef.org>
6054
6055         * docs/gst/Makefile.am: Ignore a few more internal headers
6056         * docs/gst/gstreamer-docs.sgml: Remove old sections
6057         * docs/gst/gstreamer-sections.txt: Remove old sections
6058         * docs/gst/tmpl/gstobject.sgml: update
6059         * docs/gst/tmpl/gstplugin.sgml: update
6060         * docs/gst/tmpl/gstpluginfeature.sgml: update
6061         * docs/random/ds/0.9-suggested-changes: update.
6062         * gst/Makefile.am: remove memchunk and trashstack, since they're
6063           not used.
6064         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6065         * gst/gst.h: don't include some headers
6066         * gst/gstchildproxy.c: add gstmarshal.h
6067         * gst/gstclock.c: Don't use memchunks
6068         * gst/gstminiobject.c: Add some docs
6069         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6070         * gst/gstobject.h: same
6071         * gst/gstplugin.c: include gstmacros.h
6072         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6073         * gst/gstquery.c: don't use memchunks
6074         * gst/gstregistry.c: rename gst_registry_deinit()
6075         * gst/gstregistry.h: same
6076
6077 2005-09-19  David Schleef  <ds@schleef.org>
6078
6079         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6080         * docs/libs/gstreamer-libs-sections.txt:
6081         * docs/libs/tmpl/gstgetbits.sgml:
6082         * docs/libs/tmpl/gstputbits.sgml:
6083
6084 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6085
6086         * win32/gstenumtypes.c:
6087         * win32/gstenumtypes.h:
6088           Update.
6089
6090 2005-09-19  Wim Taymans  <wim@fluendo.com>
6091
6092         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6093         Automatically PAUSE and RESUME a pipeline when a flushing seek
6094         is performed.
6095
6096 2005-09-19  Andy Wingo  <wingo@pobox.com>
6097
6098         * gst/gstregistry.h: Spacing fixen.
6099
6100 2005-09-19  Wim Taymans  <wim@fluendo.com>
6101
6102         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6103         Handle state change failure more correctly.
6104
6105 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6106
6107         * check/Makefile.am:
6108         * check/pipelines/cleanup.c: (run_pipeline):
6109         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6110         (GST_START_TEST):
6111           enable cleanup again after fixing the leak
6112         * docs/README:
6113           some more info on docs
6114
6115 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6116
6117         * check/Makefile.am:
6118           re-enable tests now that leaks are plugged
6119         * check/gst/gst.c:
6120         * check/gst/gstbin.c:
6121         * check/gst/gstpipeline.c:
6122           add some more tests while fixing leaks
6123         * common/check.mak:
6124           make sure binaries are uptodate when valgrinding/gdbing
6125         * gst/gst.c:
6126         * gst/gstelementfactory.c:
6127           remove a ref too many, and add a FIXME for when we get
6128           round to disposing of classes
6129         * gst/gstplugin.c:
6130           fix the refcounting when loading a plugin from a file and
6131           the code pretends that the pointer is the same even though
6132           of course it can change
6133         * gst/gstpluginfeature.c:
6134           unref plugins marked cached (a bit confusing as a name)
6135           as the docs state should be done
6136           various doc additions to explain refcounting
6137         * gst/gstregistry.c:
6138         * gst/gstregistryxml.c:
6139           debugging
6140
6141 2005-09-19  Wim Taymans  <wim@fluendo.com>
6142
6143         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6144         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6145         (send_messages), (GST_START_TEST), (gstbus_suite):
6146         * check/gst/gstpipeline.c: (GST_START_TEST):
6147         * check/pipelines/cleanup.c: (run_pipeline):
6148         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6149         (GST_START_TEST):
6150         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6151         (gst_bus_source_check), (gst_bus_source_dispatch),
6152         (gst_bus_create_watch), (gst_bus_add_watch_full),
6153         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6154         * gst/gstbus.h:
6155         * tools/gst-launch.c: (event_loop):
6156         * tools/gst-md5sum.c: (event_loop):
6157         GstBusHandler -> GstBusFunc, return value has the same meaning as
6158         any other GSource (FALSE == remove source).
6159         _add_watch() and _add_watch_full() now take a MessageType mask to
6160         only handle specific types of messages.
6161         _poll() returns the GstMessage instead of the message type to avoid
6162         race conditions.
6163         _have_pending() takes a MessageType mask now too.
6164         Added testsuite for multiple bus watches.
6165         Fix testsuites and applications for new bus API.
6166
6167 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6168
6169         * check/Makefile.am:
6170           mark a bunch of the tests as to fix until we fix them
6171
6172 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6173
6174         * common/check.mak:
6175           use GST_PLUGIN settings for valgrind tests as well, so we're
6176           valgrinding the correct thing
6177         * gst/gst.c: (init_post):
6178           plug another leak
6179
6180 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6181
6182         * gst/gst.c: (init_post), (gst_deinit):
6183         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6184         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6185         * gst/gstindex.c: (gst_index_factory_class_init),
6186         (gst_index_factory_finalize):
6187         * gst/gstobject.c: (gst_object_dispose):
6188         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6189         (gst_plugin_load_file), (gst_plugin_desc_free):
6190         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6191         (gst_plugin_feature_finalize):
6192         * gst/gstregistry.c: (gst_registry_class_init),
6193         (gst_registry_init), (gst_registry_finalize),
6194         (gst_registry_get_default), (gst_registry_deinit):
6195         * gst/gstregistry.h:
6196         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6197           various cleanups and memleak plugging.  make valgrind is happy now.
6198
6199 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6200
6201         * common/check.mak:
6202           add a check-valgrind target
6203
6204 2005-09-18  David Schleef  <ds@schleef.org>
6205
6206         * tools/gst-inspect.c: Revert the GOption code.
6207
6208 2005-09-17  David Schleef  <ds@schleef.org>
6209
6210         * check/Makefile.am: Fix environment variables.
6211         * check/gst/gstplugin.c: Fix for API changes.
6212         * tools/gst-inspect.c: Fix for API changes.
6213         * tools/gst-xmlinspect.c: Fix for API changes.
6214         * gst/gstelementfactory.c:
6215         * gst/gstplugin.c:
6216         * gst/gstplugin.h:
6217         * gst/gstpluginfeature.c:
6218         * gst/gstpluginfeature.h:
6219         * gst/gstregistry.c:
6220         * gst/gstregistry.h:
6221         * gst/gstregistryxml.c:
6222         * gst/gsttypefind.c:
6223         * gst/gsttypefindfactory.c:
6224         * gst/indexers/gstfileindex.c:
6225         * gst/indexers/gstmemindex.c:
6226         * gst/schedulers/Makefile.am:
6227           Change registry to keep track of both plugins and features,
6228           removing the feature tracking from plugins themselves.
6229
6230 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6231
6232         * check/Makefile.am:
6233         * tools/gst-register.1.in:
6234           remove gst-register
6235
6236 2005-09-15  David Schleef  <ds@schleef.org>
6237
6238         * check/gst/gstplugin.c:
6239         * gst/gstelementfactory.c:
6240         * gst/gstplugin.c:
6241         * gst/gstpluginfeature.c:
6242         * gst/gstregistry.c:
6243           Getting tired of debugging.  Disabled all the unreffing of
6244           plugins and features, which fixes the segfaults, but of
6245           course leaks like crazy.  At least playbin works.
6246
6247 2005-09-15  David Schleef  <ds@schleef.org>
6248
6249         * check/gst/gstplugin.c: (register_check_elements),
6250         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6251         More testing
6252         * gst/elements/gsttypefindelement.c: Fix refcounting.
6253         * gst/gsttypefind.c:
6254         * gst/gsttypefindfactory.c:
6255         * gst/gsttypefindfactory.h:
6256
6257 2005-09-15  David Schleef  <ds@schleef.org>
6258
6259         * gst/gstindex.c: get refcounting correct.
6260         * gst/gstregistry.c: Handle the case where a feature/plugin is
6261           not found.
6262
6263 2005-09-15  David Schleef  <ds@schleef.org>
6264
6265         * check/Makefile.am:
6266         * check/gst/gstplugin.c: Add test
6267         * gst/gstplugin.c: Fix problems noticed by testsuite
6268         * gst/gstplugin.h:
6269         * gst/gstregistry.c: 
6270         * gst/gstregistry.h:
6271
6272 2005-09-15  David Schleef  <ds@schleef.org>
6273
6274         * gst/gstplugin.c: Implement semi-decent recounting and locking
6275           in plugins and plugin features.
6276         * gst/gstplugin.h:
6277         * gst/gstpluginfeature.c:
6278         * gst/gstpluginfeature.h:
6279         * gst/gstregistry.c:
6280
6281 2005-09-15  Michael Smith <msmith@fluendo.com>
6282
6283         * gst/gstregistry.c: (gst_registry_get_feature_list):
6284           Implement this. Makes oggdemux work; decodebin still broken.
6285
6286 2005-09-14  David Schleef  <ds@schleef.org>
6287
6288         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6289           #316076)
6290         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6291         * gst/check/Makefile.am:
6292         * libs/gst/controller/Makefile.am:
6293         * libs/gst/dataprotocol/Makefile.am:
6294
6295 2005-09-14  David Schleef  <ds@schleef.org>
6296
6297         * configure.ac: Remove getbits library.  Nothing uses it, and
6298           it should be in something like liboil if someone did want
6299           to use it.
6300         * libs/gst/Makefile.am:
6301         * libs/gst/getbits/Makefile.am:
6302         * libs/gst/getbits/gbtest.c:
6303         * libs/gst/getbits/getbits.c:
6304         * libs/gst/getbits/getbits.h:
6305         * libs/gst/getbits/gstgetbits_generic.c:
6306         * libs/gst/getbits/gstgetbits_i386.s:
6307         * libs/gst/getbits/gstgetbits_inl.h:
6308
6309 2005-09-14  David Schleef  <ds@schleef.org>
6310
6311         * gst/Makefile.am: Dist glib-compat.h
6312
6313 2005-09-14  David Schleef  <ds@schleef.org>
6314
6315         * configure.ac: Remove gst/registries, since it's no longer used.
6316         * gst/registries/Makefile.am:
6317         * gst/registries/gstlibxmlregistry.c:
6318         * gst/registries/gstlibxmlregistry.h:
6319         * gst/registries/gstxmlregistry.c:
6320         * gst/registries/gstxmlregistry.h:
6321         * gst/registries/registrytest.c:
6322
6323 2005-09-14  David Schleef  <ds@schleef.org>
6324
6325         * gst/glib-compat.h:
6326         * gst/gstregistryxml.c:
6327           Convergence is near.  Seriously.
6328
6329 2005-09-14  David Schleef  <ds@schleef.org>
6330
6331         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6332         * gst/glib-compat.h:
6333           Attempt #4 to appease the buildbots.
6334
6335 2005-09-14  David Schleef  <ds@schleef.org>
6336
6337         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6338           Attempt #3.
6339
6340 2005-09-14  David Schleef  <ds@schleef.org>
6341
6342         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6343         Attempt #2.
6344
6345 2005-09-14  David Schleef  <ds@schleef.org>
6346
6347         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6348           the new functions.
6349
6350 2005-09-14  David Schleef  <ds@schleef.org>
6351
6352         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6353         * gst/glib-compat.h: Add some functions that are in newer versions
6354           of glib than we care to require.
6355         * gst/gstregistryxml.c: Use them.
6356
6357 2005-09-14  David Schleef  <ds@schleef.org>
6358
6359         * po/POTFILES.in: remove gst-register.c
6360
6361 2005-09-14  David Schleef  <ds@schleef.org>
6362
6363         * docs/gst/gstreamer-docs.sgml:
6364         * docs/gst/gstreamer-sections.txt:
6365         * docs/gst/gstreamer.types:
6366         * docs/gst/tmpl/gstelement.sgml:
6367         * docs/gst/tmpl/gstplugin.sgml:
6368         * docs/gst/tmpl/gstpluginfeature.sgml:
6369           Documentation updates for registry changes.
6370
6371 2005-09-14  David Schleef  <ds@schleef.org>
6372
6373         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6374           because we don't require glib-2.8.
6375
6376 2005-09-14  David Schleef  <ds@schleef.org>
6377
6378         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6379           registries directory.
6380
6381 2005-09-14  David Schleef  <ds@schleef.org>
6382
6383         * check/Makefile.am:
6384         * check/generic/states.c:
6385         * gst/Makefile.am:
6386         * gst/gst.c:
6387         * gst/gst.h:
6388         * gst/gst_private.h:
6389         * gst/gstelementfactory.c:
6390         * gst/gstindex.c:
6391         * gst/gstinfo.c:
6392         * gst/gstplugin.c:
6393         * gst/gstplugin.h:
6394         * gst/gstpluginfeature.c:
6395         * gst/gstpluginfeature.h:
6396         * gst/gstregistry.c:
6397         * gst/gstregistry.h:
6398         * gst/gstregistrypool.c: remove
6399         * gst/gstregistrypool.h: remove
6400         * gst/gsttypefind.c:
6401         * gst/gsttypefindfactory.c:
6402         * gst/gsturi.c:
6403         * tools/Makefile.am:
6404         * tools/gst-compprep.c:
6405         * tools/gst-inspect.c:
6406         * tools/gst-register.c: remove
6407         * tools/gst-xmlinspect.c:
6408           Registry rewrite.  Changes registry from being a file created
6409           by a tool into a simple cache file created automatically by 
6410           libgstreamer.  Removed gst-register (because it's no longer
6411           needed).  Remove registry pools, because we only have one
6412           registry implementation (XML).  Fix up other subsystems as
6413           necessary.
6414
6415 2005-09-13  Michael Smith <msmith@fluendo.com>
6416
6417         * gst/gstconfig.h.in:
6418           Don't Use windows linking attributes for MinGW. Fixes #316157
6419
6420 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6421
6422         * gst/gstutils.c: (set_state_async_thread_func),
6423         (gst_element_set_state_async):
6424           Apparently people think it's better if this function doesn't
6425           try to set the state to whatever state was asked for on the first
6426           call to this function for any object.  Seriously.
6427
6428 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6429
6430         * check/gst/gstpipeline.c: (GST_START_TEST):
6431         * docs/gst/gstreamer-sections.txt:
6432         * gst/gstutils.c: (set_state_async_thread_func),
6433         (gst_element_set_state_async):
6434         * gst/gstutils.h:
6435           add a "gst_element_set_state_async" method that
6436           sets the state and starts a thread to make sure the state
6437           change completes as best as it can
6438
6439 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6440
6441         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6442           codify design+behaviour in testsuite after discussion
6443
6444 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6445
6446         * docs/gst/tmpl/gstelement.sgml:
6447         * docs/manual/appendix-quotes.xml:
6448           add a quote
6449         * gst/gstelement.c: (gst_element_set_state):
6450           add some debug
6451
6452 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6453
6454         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6455         (gst_base_transform_prepare_output_buf),
6456         (gst_base_transform_handle_buffer):
6457         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6458         (gst_capsfilter_prepare_buf):
6459           Remove the requirement for sub-classes to call the parent
6460           implementation of prepare_output_buffer with a wrapper function.
6461           
6462         * gst/gsttaglist.h:
6463         * gst/gsttagsetter.h:
6464           Fix #define wrapper
6465
6466 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
6467
6468         * docs/gst/gstreamer-sections.txt:
6469           more doc cleanups
6470
6471 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6472
6473         * docs/gst/gstreamer-sections.txt:
6474         * docs/gst/tmpl/gstelement.sgml:
6475         * docs/gst/tmpl/gstplugin.sgml:
6476         * gst/gstminiobject.c:
6477         * gst/gstvalue.h:
6478           docs now stop throwing warnings
6479
6480 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6481
6482         * docs/gst/gstreamer-sections.txt:
6483         * docs/gst/gstreamer.types:
6484         * docs/gst/tmpl/gstpad.sgml:
6485         * docs/gst/tmpl/gsttypes.sgml:
6486         * gst/base/gstadapter.h:
6487         * gst/base/gstbasesink.h:
6488         * gst/base/gstbasesrc.h:
6489         * gst/gstbin.h:
6490         * gst/gstbuffer.h:
6491         * gst/gstbus.h:
6492         * gst/gstcaps.h:
6493         * gst/gstclock.h:
6494         * gst/gstelement.h:
6495         * gst/gstevent.h:
6496         * gst/gstmessage.h:
6497         * gst/gstpad.h:
6498         * gst/gststructure.c:
6499         * gst/registries/gstlibxmlregistry.h:
6500           various documentation fixes
6501
6502 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6503
6504         * docs/gst/gstreamer-sections.txt:
6505         * docs/gst/tmpl/gstvalue.sgml:
6506           rearrange gstvalue section
6507         * gst/gstutils.c: (gst_element_state_get_name):
6508           NONE -> VOID
6509         * gst/gstvalue.c: (_gst_value_initialize):
6510         * gst/gstvalue.h:
6511           doc updates
6512
6513 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
6514
6515         * check/gst-libs/controller.c:
6516           Header include fix.
6517         * gst/base/gstbasetransform.c:
6518         (gst_base_transform_default_prepare_buf),
6519         (gst_base_transform_handle_buffer):
6520         * gst/base/gstbasetransform.h:
6521           Some more basetransform changes and fixes to enable sub-classes
6522           that modify buffer metadata only.
6523         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6524         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6525         (gst_capsfilter_prepare_buf):
6526           If the output pad has fixed allowed caps and input buffers 
6527           don't have any, set the fixed caps on outgoing buffers.
6528
6529 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
6530         * check/elements/identity.c: (GST_START_TEST):
6531           Make the error a little clearer when the test fails because
6532           identity made a copy of the buffer.
6533         * docs/gst/gstreamer-sections.txt:
6534           New symbols in gstbasetransform.h
6535         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6536         (gst_base_transform_init), (gst_base_transform_transform_size),
6537         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6538         (gst_base_transform_default_prepare_buf),
6539         (gst_base_transform_get_unit_size),
6540         (gst_base_transform_buffer_alloc),
6541         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6542         (gst_base_transform_change_state),
6543         (gst_base_transform_set_passthrough),
6544         (gst_base_transform_set_in_place),
6545         (gst_base_transform_is_in_place):
6546         * gst/base/gstbasetransform.h:
6547           Change BaseTransform to separate in_place operate from same_caps
6548           output. in_place implies that the element can perform the transform
6549           on incoming buffers in-place, even if the caps on the output are
6550           different.
6551           Sub-class elements can now implement special buffer allocation
6552           methods for outgoing buffers if they wish to.
6553           Big documentation addition.
6554         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6555         * gst/elements/gstelements.c:
6556           Changes for basetransform modifications.
6557         * gst/elements/Makefile.am:
6558         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6559           Compile fix. Extra debug output.
6560
6561 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6562
6563         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6564         (gst_pad_suite):
6565           add tests for valid pad naming
6566         * gst/check/gstcheck.c: (gst_check_log_message_func),
6567         (gst_check_log_critical_func):
6568           add ASSERT_WARNING
6569           remove printing of code, it is fragile when the code contains
6570           % and the line number is enough info
6571         * gst/check/gstcheck.h:
6572         * gst/gstpad.c: (gst_pad_template_new):
6573           fix memleaks
6574
6575 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6576
6577         * configure.ac:
6578           say what CHECK flags we use
6579         * docs/libs/gstreamer-libs.types:
6580         * libs/gst/controller/Makefile.am:
6581         * libs/gst/controller/gst-controller.c:
6582         * libs/gst/controller/gst-controller.h:
6583         * libs/gst/controller/gst-helper.c:
6584         * libs/gst/controller/gst-interpolation.c:
6585         * libs/gst/controller/gstcontroller.c:
6586         * libs/gst/controller/gsthelper.c:
6587         * libs/gst/controller/gstinterpolation.c:
6588         * tools/gst-inspect.c: (print_plugin_info):
6589           we don't use dashes in header names
6590
6591 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6592
6593         * check/Makefile.am:
6594         * check/gst/.cvsignore:
6595         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6596         (gst_pipeline_suite), (main):
6597           adding a test for pipelines and state changes
6598         * gst/gstutils.c: (get_state_func):
6599           add some debugging
6600         * gstreamer.spec.in:
6601           fix up spec file
6602
6603 2005-09-08  Michael Smith <msmith@fluendo.com>
6604
6605         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6606         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6607         (gst_file_src_is_seekable), (gst_file_src_get_size),
6608         (gst_file_src_start):
6609         * gst/elements/gstfilesrc.h:
6610           Various fixes for unseekable, unmmapable, and non-normal files, so
6611           that fallback to read() rather than mmap() works.
6612         * gst/gstevent.c: (gst_event_new_newsegment):
6613           Allow newsegment events with segment_start == segment_end, as will
6614           correctly happen if you use filesrc on a zero-size file, for
6615           example.
6616
6617 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6618
6619         * gst/gstplugin.c: (gst_plugin_load_file):
6620           Call g_module_close when we don't load the module
6621
6622         * gst/registries/gstlibxmlregistry.c:
6623         (gst_xml_registry_get_property):
6624           Port leak fix from 0.8
6625
6626 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6627
6628         * docs/gst/gstreamer-docs.sgml:
6629         * docs/gst/tmpl/.cvsignore:
6630         * docs/gst/tmpl/gsttrace.sgml:
6631         * docs/gst/tmpl/gsttrashstack.sgml:
6632         * gst/Makefile.am:
6633         * gst/gst.h:
6634         * gst/gstelement.h:
6635         * gst/gstevent.h:
6636         * gst/gstmessage.c:
6637         * gst/gstmessage.h:
6638         * gst/gsttag.c:
6639         * gst/gsttag.h:
6640         * gst/gsttaginterface.c:
6641         * gst/gsttaginterface.h:
6642         * gst/gsttaglist.c:
6643         * gst/gsttaglist.h:
6644         * gst/gsttagsetter.c:
6645         * gst/gsttagsetter.h:
6646         * gst/gsttrace.c:
6647         * gst/gsttrace.h:
6648         * gst/gsttrashstack.c:
6649           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6650           inlined docs for gsttrace, gsttrashstack
6651
6652 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6653
6654         * gst/Makefile.am:
6655         * gst/elements/gstbufferstore.h:
6656         * gst/elements/gsttypefindelement.c:
6657         * gst/elements/gsttypefindelement.h:
6658         * gst/gst.h:
6659         * gst/gsttypefind.c:
6660         * gst/gsttypefind.h:
6661         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6662         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6663         (gst_type_find_factory_dispose),
6664         (gst_type_find_factory_unload_thyself),
6665         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6666         (gst_type_find_factory_get_caps),
6667         (gst_type_find_factory_get_extensions),
6668         (gst_type_find_factory_call_function):
6669         * gst/gsttypefindfactory.h:
6670         * gst/registries/gstlibxmlregistry.c:
6671         * gst/registries/gstxmlregistry.c:
6672           splitted gsttypefind into gsttypefind, gsttypefindfactory
6673
6674 2005-09-07  Andy Wingo  <wingo@pobox.com>
6675
6676         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6677         condition whereby the pad's task function is entered before the
6678         pad_mode variable was set.
6679
6680 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
6681
6682         * gst/gstpad.c: (gst_pad_alloc_buffer):
6683           Catch misbehaving pad_alloc functions that don't
6684           set up caps and do it for them.
6685
6686 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
6687
6688         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6689           test for pipe!=NULL
6690         * docs/gst/tmpl/.cvsignore:
6691         * docs/gst/tmpl/gstmemchunk.sgml:
6692         * docs/gst/tmpl/gstparse.sgml:
6693         * docs/gst/tmpl/gsttaglist.sgml:
6694         * docs/gst/tmpl/gsttagsetter.sgml:
6695         * docs/gst/tmpl/gsttypefind.sgml:
6696         * docs/gst/tmpl/gsttypefindfactory.sgml:
6697         * gst/gstmemchunk.c:
6698         * gst/gstparse.c:
6699         * gst/gsttag.c:
6700         * gst/gsttaginterface.c:
6701         * gst/gsttypefind.c:
6702         * gst/gsttypefind.h:
6703           inlined more docs
6704
6705 === release 0.9.2 ===
6706
6707 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6708
6709         * NEWS:
6710         * RELEASE:
6711         * configure.ac:
6712           releasing 0.9.2, "South"
6713
6714 2005-09-05  Andy Wingo  <wingo@pobox.com>
6715
6716         * gst/registries/gstxmlregistry.h:
6717         * gst/registries/gstxmlregistry.c: Um... resurrect...
6718         
6719         * gst/registries/gstxmlregistry.h:
6720         * gst/registries/gstxmlregistry.c: and update to newer API.
6721         Incidentally they should be a bit faster now that they don't have
6722         to parse the caps.
6723         
6724 2005-09-05  Andy Wingo  <wingo@pobox.com>
6725
6726         * gst/registries/gstxmlregistry.h:
6727         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6728         replaced by the libxml registry a while back
6729
6730 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6731
6732         * docs/gst/tmpl/gstplugin.sgml:
6733         * gst/elements/gstelements.c:
6734         * gst/gst.c:
6735         * gst/gstplugin.c: (gst_plugin_register_func),
6736         (gst_plugin_desc_copy), (gst_plugin_desc_free),
6737         (gst_plugin_get_source):
6738         * gst/gstplugin.h:
6739         * gst/registries/gstlibxmlregistry.c: (load_plugin),
6740         (gst_xml_registry_save_plugin):
6741         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6742         (gst_xml_registry_save_plugin):
6743         * tools/gst-inspect.c: (print_plugin_info):
6744           add a "source" plugin description field, to represent the source
6745           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
6746           will set it to PACKAGE, which is automake's idea of the name of
6747           the source project.
6748
6749 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6750
6751         * Makefile.am:
6752         * autogen.sh:
6753         * configure.ac:
6754         * docs/Makefile.am:
6755         * docs/faq/Makefile.am:
6756         * docs/gst/tmpl/gstelement.sgml:
6757         * docs/gst/tmpl/gsttypes.sgml:
6758         * docs/htmlinstall.mak:
6759         * docs/manual/Makefile.am:
6760         * docs/pwg/Makefile.am:
6761           reorganize doc build a little
6762           split out docbook and gtk-doc stuff
6763           have two separate --enable's and enable them through autogen
6764           but disable by default in configure (to be similar to other
6765           projects)
6766         * gstreamer.spec.in:
6767           clean up docs install
6768         * po/af.po:
6769         * po/az.po:
6770         * po/ca.po:
6771         * po/cs.po:
6772         * po/de.po:
6773         * po/en_GB.po:
6774         * po/fr.po:
6775         * po/it.po:
6776         * po/nb.po:
6777         * po/nl.po:
6778         * po/ru.po:
6779         * po/sq.po:
6780         * po/sr.po:
6781         * po/sv.po:
6782         * po/tr.po:
6783         * po/uk.po:
6784         * po/vi.po:
6785           translation updates
6786
6787 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6788
6789         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6790           Add comment.
6791           
6792         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6793         (gst_fake_sink_change_state):
6794           Make state change function thread-safe.
6795           
6796         * gst/gstpad.c: (gst_pad_alloc_buffer):
6797           Set offset on generic buffer allocated by fallback.
6798
6799 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6800
6801         * docs/gst/gstreamer-sections.txt:
6802         * docs/gst/tmpl/gstelement.sgml:
6803         * gst/gstpad.c:
6804         * libs/gst/controller/gst-controller.c:
6805         (gst_controlled_property_set_interpolation_mode),
6806         (gst_controlled_property_new),
6807         (gst_controller_find_controlled_property):
6808          run the wingo-magic script against the docs
6809
6810 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6811
6812         * docs/gst/gstreamer-docs.sgml:
6813         * docs/gst/gstreamer-sections.txt:
6814         * docs/gst/tmpl/.cvsignore:
6815         * docs/gst/tmpl/gstelementdetails.sgml:
6816         * docs/gst/tmpl/gstelementfactory.sgml:
6817         * gst/gst.c:
6818         * gst/gstbus.c:
6819         * gst/gstelementfactory.c:
6820         * gst/gstelementfactory.h:
6821           merged elementdetails docs into elementfactory docs
6822           inlined both
6823
6824 2005-09-02  Andy Wingo  <wingo@pobox.com>
6825
6826         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6827         consider this enum an enum and not a flags.
6828
6829 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6830
6831         * docs/gst/gstreamer-docs.sgml:
6832         * docs/gst/tmpl/.cvsignore:
6833         * docs/gst/tmpl/gstghostpad.sgml:
6834         * docs/gst/tmpl/gstiterator.sgml:
6835         * docs/gst/tmpl/gstmacros.sgml:
6836         * docs/gst/tmpl/gstrealpad.sgml:
6837         * docs/gst/tmpl/gstregistry.sgml:
6838         * docs/gst/tmpl/gstregistrypool.sgml:
6839         * docs/gst/tmpl/gststructure.sgml:
6840         * docs/gst/tmpl/gstsystemclock.sgml:
6841         * docs/gst/tmpl/gsttrace.sgml:
6842         * gst/gstghostpad.c:
6843         * gst/gstmacros.h:
6844         * gst/gstmemchunk.c:
6845         * gst/gstmemchunk.h:
6846         * gst/gstqueue.c:
6847         * gst/gstregistry.c:
6848         * gst/gstregistrypool.c:
6849         * gst/gststructure.c:
6850         * gst/gstsystemclock.c:
6851           more docs inlined
6852
6853 2005-09-02  Andy Wingo  <wingo@pobox.com>
6854
6855         * gst/gstelement.h (GstState): Renamed from GstElementState,
6856         changed to be a normal enum instead of flags.
6857         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6858         munged to be GST_STATE_CHANGE_*.
6859         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6860         work with the new state representation.
6861         (GstStateChange): New enumeration of possible state transitions.
6862         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6863         (GstElementClass::change_state): Pass the GstStateChange along as
6864         an argument. Helps language bindings, so they don't have to use
6865         tricky lock-needing macros like GST_STATE_CHANGE ().
6866
6867         * scripts/update-states (file): New script. Run it on a file to
6868         update it for state naming and API changes. Updates files in
6869         place.
6870
6871         * All files updated for the new API.
6872
6873 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6874
6875         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6876         * gst/gstutils.c: (gst_util_set_value_from_string),
6877         (gst_util_set_object_arg):
6878           fix a bunch of unchecked return values
6879         * tools/gst-complete.c: (main):
6880         * gstreamer.spec.in:
6881           clean up a little
6882
6883 2005-09-01  Wim Taymans  <wim@fluendo.com>
6884
6885         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6886         (gst_base_sink_event), (gst_base_sink_do_sync),
6887         (gst_base_sink_handle_event):
6888         * gst/base/gstbasesink.h:
6889         Handle newsegments more correctly.
6890
6891         * gst/gstbus.c:
6892         Fix docs.
6893
6894         * gst/gstevent.c: (gst_event_new_newsegment):
6895         A newsegment cannot have a start_time of -1
6896
6897 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6898
6899         * win32/gstenumtypes.c:
6900         * win32/gstenumtypes.h:
6901           Update
6902
6903 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6904
6905         * libs/gst/controller/gst-controller.c:
6906         (gst_controlled_property_set_interpolation_mode),
6907         (gst_controlled_property_new):
6908          fixed boolean again
6909
6910 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6911
6912         * docs/faq/gst-uninstalled:
6913           add -good
6914         * gst/gstevent.c:
6915         * gst/gstevent.h:
6916           remove wrong docs
6917         * gst/gstutils.c: (gst_element_link_filtered):
6918         * gst/gstutils.h:
6919           add gst_element_link_filtered
6920
6921 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6922
6923         * docs/gst/gstreamer-docs.sgml:
6924         * docs/gst/gstreamer-sections.txt:
6925         * docs/gst/tmpl/.cvsignore:
6926         * docs/gst/tmpl/gsterror.sgml:
6927         * docs/gst/tmpl/gstfilter.sgml:
6928         * docs/gst/tmpl/gsturihandler.sgml:
6929         * docs/gst/tmpl/gsturitype.sgml:
6930         * docs/gst/tmpl/gstutils.sgml:
6931         * docs/gst/tmpl/gstxml.sgml:
6932         * gst/gsterror.c:
6933         * gst/gsterror.h:
6934         * gst/gstfilter.c:
6935         * gst/gsturi.c:
6936         * gst/gsturitype.c:
6937         * gst/gstutils.c:
6938         * gst/gstxml.c:
6939           inlined more docs, fixed double id-ref
6940
6941 2005-08-31  Wim Taymans  <wim@fluendo.com>
6942
6943         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6944         (gst_base_transform_handle_buffer):
6945         Passthrough elements don't need the caps as they don't care.
6946
6947 2005-08-31  Wim Taymans  <wim@fluendo.com>
6948
6949         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6950         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6951         Don't leak refcounts on buffers.
6952
6953 2005-08-31  Wim Taymans  <wim@fluendo.com>
6954
6955         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6956         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6957         (gst_base_transform_chain), (gst_base_transform_change_state):
6958         * gst/base/gstbasetransform.h:
6959         Handle the case where we are not negotiated more gracefully.
6960
6961 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6962
6963         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6964         (gst_file_src_map_region):
6965           Set READONLY flag on mmap'ed buffers, otherwise
6966           gst_buffer_make_writable() won't work properly (#314708).
6967
6968 2005-08-31  Wim Taymans  <wim@fluendo.com>
6969
6970         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6971         passthrough elements can even do inplace on non writable
6972         buffers (as they don't touch them).
6973
6974 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6975
6976         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6977         (gst_test_mono_source_set_property),
6978         (gst_test_mono_source_class_init), (GST_START_TEST),
6979         (gst_controller_suite):
6980           more tests (hehe I have the most)
6981         * gst/gstbus.c:
6982           describe popping messages whenusing mulltiple sources
6983         * libs/gst/controller/gst-controller.c:
6984         (gst_controlled_property_set_interpolation_mode),
6985         (gst_controlled_property_new):
6986         * libs/gst/controller/gst-controller.h:
6987         * libs/gst/controller/gst-interpolation.c:
6988           implement boolean properties
6989
6990 2005-08-31  Wim Taymans  <wim@fluendo.com>
6991
6992         * gst/gstminiobject.c: (gst_mini_object_ref):
6993         Cannot assert that the refcount has to be positive
6994         since a disposed object can be resurrected.
6995
6996 2005-08-31  Wim Taymans  <wim@fluendo.com>
6997
6998         * gst/gstpad.c: (gst_pad_init):
6999         Revert change, need to first fix badly behaving 
7000         apps.
7001
7002 2005-08-30  Wim Taymans  <wim@fluendo.com>
7003
7004         * check/elements/fakesrc.c: (setup_fakesrc):
7005         * check/elements/identity.c: (setup_identity):
7006         Activate pads before using them.
7007
7008 2005-08-30  Wim Taymans  <wim@fluendo.com>
7009
7010         * gst/base/gstadapter.c: (gst_adapter_flush):
7011         Flushing out 0 bytes is ok for this function.
7012
7013         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7014         no newsegment gives a warning and sets the start/stop to 
7015         invalid.
7016
7017         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7018         (gst_base_transform_set_passthrough):
7019         Some debug info.
7020
7021         * gst/gstminiobject.c: (gst_mini_object_ref):
7022         Check refcount here too.
7023
7024         * gst/gstpad.c: (gst_pad_init):
7025         Pads are initially flushing and refusing data.
7026
7027         * gst/gstutils.c: (gst_element_link_pads_filtered):
7028         When adding a capsfilter element make sure it has the
7029         same state as the parent bin.
7030
7031 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7032
7033         * docs/gst/tmpl/.cvsignore:
7034         * docs/gst/tmpl/gstformat.sgml:
7035         * docs/gst/tmpl/gstversion.sgml:
7036         * gst/gstbus.h:
7037         * gst/gstformat.c:
7038         * gst/gstformat.h:
7039         * gst/gstversion.h.in:
7040           more docs and two more inlined
7041
7042 2005-08-30  Wim Taymans  <wim@fluendo.com>
7043
7044         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7045         Don't sync to clock.
7046
7047 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7048
7049         * docs/gst/gstreamer-sections.txt:
7050           ultral33t func10ns deserve to appear in the docs actually
7051         * docs/gst/tmpl/.cvsignore:
7052         * docs/gst/tmpl/gstcompat.sgml:
7053         * docs/gst/tmpl/gstconfig.sgml:
7054         * gst/check/gstcheck.c:
7055         * gst/gstcompat.h:
7056         * gst/gstconfig.h.in:
7057           inlined more docs
7058
7059 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7060
7061         * docs/gst/tmpl/.cvsignore:
7062         * docs/gst/tmpl/gstquery.sgml:
7063         * docs/gst/tmpl/gstutils.sgml:
7064         * gst/gstquery.c:
7065         * gst/gstquery.h:
7066           inlined and extended docs
7067
7068 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7069
7070         * check/gst-libs/controller.c: (GST_START_TEST),
7071         (gst_controller_suite):
7072           more tests
7073         * docs/gst/tmpl/gstutils.sgml:
7074         * docs/libs/gstreamer-libs-sections.txt:
7075         * docs/libs/tmpl/gstdataprotocol.sgml:
7076           include path fixes
7077         * examples/controller/audio-example.c: (main):
7078           controller example works now
7079         * gst/gstclock.h:
7080           doc fixes
7081         * tools/gst-inspect.c: (print_element_properties_info):
7082           show param spec flags
7083
7084 2005-08-29  Andy Wingo  <wingo@pobox.com>
7085
7086         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7087
7088 2005-08-28  Andy Wingo  <wingo@pobox.com>
7089
7090         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7091         as having two arguments instead of just one. Allows superclasses
7092         to access information on subclasses -- see the terrible for() loop
7093         in gtype.c:g_type_create_instance for the reason why. All callers
7094         changed.
7095
7096 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7097
7098         * docs/design/part-messages.txt:
7099           update info
7100         * docs/gst/tmpl/.cvsignore:
7101         * docs/gst/tmpl/gstcaps.sgml:
7102         * docs/gst/tmpl/gstclock.sgml:
7103         * gst/gstbus.c:
7104         * gst/gstcaps.c:
7105         * gst/gstcaps.h:
7106         * gst/gstclock.c:
7107         * gst/gstclock.h:
7108         * gst/gstmessage.c:
7109           added descriptions for bus and message
7110           inline caps and clock docs
7111
7112 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7113
7114         * gst/gstmessage.c:
7115         * gst/gstmessage.h:
7116           doc fixes
7117
7118 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7119
7120         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7121           fix div-by-zero
7122
7123 2005-08-26  Andy Wingo  <wingo@pobox.com>
7124
7125         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7126         element_set_state's return val.
7127         (test_2_elements): Add test that's been disabled for months.
7128
7129         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7130         can-activate-pull properties.
7131
7132         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7133         can-activate-pull properties. Implement is_seekable so fakesrc can
7134         operate in pull mode.
7135
7136         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7137         properties.
7138         (gst_base_sink_activate, gst_base_sink_activate_pull)
7139         (gst_base_sink_activate_push): Make activation mode choosing work.
7140         Cleanups.
7141         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7142         is right. Make pull mode work. Post an eos before pausing in pull
7143         mode.
7144         (gst_base_sink_change_state): Pay attention to the core's
7145         change_state() return val.
7146         
7147         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7148         has-getrange properties. Cleanups.
7149         
7150         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7151         has_getrange and replace with can_activate_pull and
7152         can_activate_push.
7153
7154         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7155         locking comments. Remove has_loop, has_chain and replace with
7156         can_activate_pull and can_activate_push.
7157
7158 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7159
7160         * configure.ac:
7161         * examples/Makefile.am:
7162         * examples/metadata/Makefile.am:
7163         * examples/metadata/read-metadata.c: (message_loop),
7164         (have_pad_handler), (make_pipeline), (print_tag), (main):
7165           Add metadata reading example that loops over a list of filenames,
7166           dumping any tags found.
7167
7168         * gst/gstbus.c: (gst_bus_dispose):
7169         * gst/gstelement.c: (gst_element_dispose):
7170           Release a few potentially-held references in dispose.
7171
7172 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7173
7174         * docs/gst/tmpl/gstminiobject.sgml:
7175           do *not* add tmpl/*.sgml files to CVS!
7176
7177 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7178
7179         * libs/gst/bytestream/.cvsignore:
7180         * libs/gst/bytestream/Makefile.am:
7181         * libs/gst/bytestream/adapter.c:
7182         * libs/gst/bytestream/adapter.h:
7183         * libs/gst/bytestream/bytestream.c:
7184         * libs/gst/bytestream/bytestream.h:
7185         * libs/gst/bytestream/filepad.c:
7186         * libs/gst/bytestream/filepad.h:
7187           removing obsolete files
7188
7189 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7190
7191         * docs/gst/gstreamer-docs.sgml:
7192         * docs/libs/gstreamer-libs-docs.sgml:
7193           disabed additional index entries again, as this makes docs-gen just
7194           slow and they aren't useful yet
7195         * docs/libs/gstreamer-libs-sections.txt:
7196           little -section.txt cleanup for libs
7197
7198 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7199
7200         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7201         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7202           fix up some debugging
7203         (gst_base_transform_get_unit_size),
7204         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7205         (gst_base_transform_handle_buffer):
7206         * gst/base/gstbasetransform.h:
7207           handle and store timed NEWSEGMENT events so that subclasses that
7208           calculate time by counting samples have a segment_start time they
7209           need to add to their timestamps - see audioresample
7210
7211 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7212
7213         * gst/gstbin.h:
7214           removed ';' from the end of macro defs
7215         * docs/gst/gstreamer-docs.sgml:
7216         * docs/gst/gstreamer-sections.txt:
7217         * docs/gst/tmpl/.cvsignore:
7218         * gst/gstbus.h:
7219         * gst/gstelement.c: (gst_element_class_init),
7220         (gst_element_set_state), (activate_pads),
7221         (gst_element_save_thyself):
7222         * gst/gstevent.c: (gst_event_new_newsegment):
7223         * gst/gstevent.h:
7224         * gst/gstiterator.c:
7225         * gst/gstiterator.h:
7226         * gst/gstpad.c:
7227         * gst/gstprobe.h:
7228         * gst/gstutils.c: (gst_pad_query_convert):
7229         * gst/gstutils.h:
7230           fixed parameter name mismatches between source, header and docs
7231           added some more docs, resolved the last batch of unused elements in
7232           docs (now someone needs to doc them)
7233
7234 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7235
7236         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7237         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7238           don't walk through the plugins backwards.  Where is all this
7239           reversed logic coming from ?
7240
7241 2005-08-25  Wim Taymans  <wim@fluendo.com>
7242
7243         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7244         (gst_base_transform_transform_size),
7245         (gst_base_transform_configure_caps),
7246         (gst_base_transform_get_unit_size),
7247         (gst_base_transform_buffer_alloc),
7248         (gst_base_transform_change_state):
7249         * gst/base/gstbasetransform.h:
7250         Cache caps unit_size.
7251         Make sure we cannot negotiate up and downstream at the
7252         same time.
7253
7254 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7255
7256         * gst/gst.c: (init_pre), (init_post):
7257           register the installed plugin path after the env var
7258         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7259         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7260           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7261           directories, so the tests can prefer uninstalled over installed
7262
7263 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7264
7265         * gst/base/gstbasetransform.h:
7266           comment
7267         * gst/gstpad.c:
7268           add to docs
7269
7270 2005-08-25  Wim Taymans  <wim@fluendo.com>
7271
7272         * gst/gstbin.c: (bin_bus_handler):
7273         Be a bit more conservative about the posted message.
7274         
7275         * gst/gstbus.c: (gst_bus_post):
7276         Some cleanups, warn wrong return values.
7277
7278 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7279
7280         * check/gst/gstbin.c: (GST_START_TEST):
7281         * gst/gstbin.c: (bin_bus_handler):
7282         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7283         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7284         (gst_message_new_warning), (gst_message_new_tag),
7285         (gst_message_new_state_changed), (gst_message_new_segment_start),
7286         (gst_message_new_segment_done), (gst_message_new_custom):
7287         * gst/gstmessage.h:
7288         * tools/gst-launch.c: (event_loop):
7289         * tools/gst-md5sum.c: (event_loop):
7290           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7291
7292 2005-08-25  Wim Taymans  <wim@fluendo.com>
7293
7294         * check/generic/states.c: (GST_START_TEST):
7295         Cleanup can be done at the end.
7296
7297         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7298         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7299         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7300         Oh boy.. Thanks for finding this, Thomas. 
7301
7302 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7303
7304         * docs/gst/gstreamer.types:
7305           added missing types
7306
7307 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7308
7309         * docs/gst/gstreamer-docs.sgml:
7310         * docs/gst/gstreamer-sections.txt:
7311         * docs/gst/tmpl/.cvsignore:
7312         * gst/gstbin.c:
7313         * gst/gstiterator.c:
7314         * gst/gstutils.c:
7315         * gst/registries/gstxmlregistry.h:
7316           added missing classes and symbols (123 more to go)
7317           removed removed symbols from section file
7318           fixed many doc-comments
7319
7320 2005-08-24  Wim Taymans  <wim@fluendo.com>
7321
7322         * check/generic/states.c: (GST_START_TEST):
7323         Make sure all tasks are stopped.
7324
7325         * check/gst/gstbin.c: (GST_START_TEST):
7326         Unref after usage for proper valgrinding.
7327
7328         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7329         Really wait for the task to stop before destroying the
7330         mutex.
7331
7332         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7333         (gst_queue_src_activate_push):
7334         Small cleanups. Don't stop the task when we did not start
7335         it.
7336
7337         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7338         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7339         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7340         (gst_task_join):
7341         * gst/gsttask.h:
7342         Protect the stream lock with the object lock.
7343         Disallow setting the stream lock when running.
7344         Add cleanup_all to wait for the threadpool to finish.
7345         Remove code to autoallocate a mutex if none was provided.
7346         Add _join() to wait for a task to stop.
7347         Protect the thread pool with a global lock.
7348
7349 2005-08-24  Wim Taymans  <wim@fluendo.com>
7350
7351         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7352         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7353         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7354         * gst/base/gstbasesink.h:
7355         Handle newsegment events correctly.
7356         Drop buffers out of the segment range.
7357
7358 2005-08-22  Andy Wingo  <wingo@pobox.com>
7359
7360         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7361         macro, implements an interface and gstimplementsinterface for a
7362         new type.
7363
7364 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7365
7366         * check/Makefile.am:
7367         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7368           add a test that does a bunch of state changes on elements
7369           needs some fixing for valgrind
7370         * check/states/sinks.c: (gst_object_suite):
7371           whitespace
7372         * gst/gstcaps.h:
7373           add prototype for gst_caps_is_equal_fixed
7374         * gst/gstplugin.c:
7375         * gst/gstregistrypool.c:
7376           doc fixes
7377
7378 2005-08-24  Andy Wingo  <wingo@pobox.com>
7379
7380         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7381         convert a negative value. Doesn't make much sense. Mostly this is
7382         here to force callers to ensure -1 maps to -1.
7383
7384 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7385
7386         * docs/pwg/advanced-types.xml:
7387           Well done to Michael for catching my deliberate introduction
7388           of this spelling mistake. 
7389         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7390         * gst/gstelement.h:
7391           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7392           unlink pads before removing the element from the bin.
7393
7394 2005-08-24  Andy Wingo  <wingo@pobox.com>
7395
7396         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7397         the same thing as GST_DEBUG=*:4.
7398         (parse_debug_level, parse_debug_category): New helper parsers.
7399
7400 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7401
7402         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7403         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7404         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7405         (gst_base_transform_buffer_alloc),
7406         (gst_base_transform_handle_buffer):
7407           use gboolean return values and pointers to size so we can use the
7408           full GST_BUFFER_SIZE range (guint) for buffer sizes
7409           use GstPadDirection for transform_caps
7410         * gst/base/gstbasetransform.h:
7411           rename get_size to get_unit_size since that's what it is
7412         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7413           use GstPadDirection for transform_caps
7414         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7415         * gst/gstutils.h:
7416           cleanup and debugging
7417
7418 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7419
7420         * gst/gstelement.c: (gst_element_class_init),
7421         (gst_element_set_state), (activate_pads),
7422         (gst_element_save_thyself):
7423         * tools/gst-compprep.c: (main):
7424         * tools/gst-inspect.c: (print_element_properties_info):
7425         * tools/gst-xmlinspect.c: (print_element_properties):
7426           Fixed long standing mem-leak
7427
7428 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7429
7430         * check/gst/gstbin.c: (GST_START_TEST):
7431         * gst/gstbin.c: (bin_bus_handler):
7432         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7433         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7434         (gst_message_new_warning), (gst_message_new_tag),
7435         (gst_message_new_state_changed), (gst_message_new_segment_start),
7436         (gst_message_new_segment_done), (gst_message_new_custom):
7437         * gst/gstmessage.h:
7438         * tools/gst-launch.c: (event_loop):
7439         * tools/gst-md5sum.c: (event_loop):
7440           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7441           that applications can sensibly post custom messages with references
7442           to their own objects.
7443
7444 2005-08-24  Andy Wingo  <wingo@pobox.com>
7445
7446         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7447         already.
7448
7449 2005-08-24  Wim Taymans  <wim@fluendo.com>
7450
7451         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7452         (gst_base_transform_transform_caps),
7453         (gst_base_transform_transform_size),
7454         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7455         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7456         (gst_base_transform_handle_buffer):
7457         * gst/base/gstbasetransform.h:
7458         Many fixes and new features added by Thomas. Can now also do
7459         transforms with variable sizes and a custom fixate_caps function.
7460
7461 2005-08-24  Wim Taymans  <wim@fluendo.com>
7462
7463         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7464         Some debugging.
7465
7466         * gst/gstclock.h:
7467         Cast to ClockTime before formatting to time.
7468
7469         * gst/gstutils.h:
7470         Cleanups.
7471
7472 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7473
7474         * check/gst-libs/controller.c: (GST_START_TEST),
7475         (gst_controller_suite):
7476         * docs/gst/tmpl/gstcaps.sgml:
7477         * docs/gst/tmpl/gstghostpad.sgml:
7478         * docs/gst/tmpl/gstquery.sgml:
7479         * docs/gst/tmpl/gstutils.sgml:
7480         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7481         (gst_object_sink_values), (gst_object_get_value_arrays),
7482         (gst_object_get_value_array):
7483           gracefully handle helper method calls to objects that are not beeing
7484           controlled, added test case for that          
7485
7486 2005-08-23  Wim Taymans  <wim@fluendo.com>
7487
7488         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7489         (gst_event_new_newsegment), (gst_event_parse_newsegment),
7490         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7491         (gst_event_parse_qos), (gst_event_new_seek),
7492         (gst_event_parse_seek):
7493         * gst/gstevent.h:
7494         Some more debugging output and doc cleanups.
7495
7496         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7497         Fix possible deadlock.
7498
7499 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7500
7501         * docs/gst/gstreamer-docs.sgml:
7502         * docs/gst/gstreamer-sections.txt:
7503         * docs/gst/gstreamer.types:
7504         * docs/gst/tmpl/.cvsignore:
7505         * gst/gstbin.h:
7506         * gst/gstbus.c:
7507         * gst/gstelement.c:
7508         * gst/gstevent.h:
7509           added 100 symbols from gstreamer-unused.txt to the right sections
7510           fixed more broken comments
7511           added GstBus to docs
7512
7513 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7514
7515         * docs/gst/gstreamer-sections.txt:
7516         * docs/gst/tmpl/.cvsignore:
7517         * docs/gst/tmpl/gstbin.sgml:
7518         * docs/gst/tmpl/gstbuffer.sgml:
7519         * gst/base/gstbasesrc.c:
7520         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7521         * gst/gstbuffer.c:
7522         * gst/gstbuffer.h:
7523         * tools/gst-launch.1.in:
7524           inlined more doc comments, added missing comments and fixed comments
7525           fixed typos
7526
7527 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7528
7529         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7530           some debugging
7531         * gst/gstcaps.h:
7532           whitespace fixes
7533         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7534           more debugging
7535         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7536         * gst/gststructure.h:
7537           add a fixate function for booleans; add a FIXME that these func
7538           names should probably be gst_structure_fixate_*
7539
7540 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
7541
7542         * docs/gst/gstreamer-docs.sgml:
7543         * docs/gst/gstreamer-sections.txt:
7544         * gst/Makefile.am:
7545         * gst/gstbin.c: (gst_bin_get_type),
7546         (gst_bin_child_proxy_get_child_by_index),
7547         (gst_bin_child_proxy_get_children_count),
7548         (gst_bin_child_proxy_init):
7549         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7550         (gst_child_proxy_get_child_by_index),
7551         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7552         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7553         (gst_child_proxy_get), (gst_child_proxy_set_property),
7554         (gst_child_proxy_set_valist), (gst_child_proxy_set),
7555         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7556         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7557         * gst/gstchildproxy.h:
7558         * gst/parse/grammar.y:
7559         * tools/gst-inspect.c: (print_interfaces),
7560         (print_element_properties_info), (print_element_info):
7561           ported gstchildproxy over from 0.8
7562           ported gst-inspect fixes and enhancements over from 0.8
7563
7564 2005-08-22  Wim Taymans  <wim@fluendo.com>
7565
7566         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7567         (gst_base_transform_handle_buffer):
7568         Also call the transform function if we have ANY caps.
7569
7570         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7571         Fix debug info.
7572
7573 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7574
7575         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7576           Don't pretend to handle seek events if the source is not seekable
7577
7578 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
7579
7580         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7581           Remove extra parameter to debug output
7582
7583         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7584         (gst_base_src_do_seek), (gst_base_src_activate_push):
7585           Fix seek event handling.
7586
7587         * gst/gstpipeline.c: (gst_pipeline_change_state):
7588         * gst/gstqueue.c: (gst_queue_handle_sink_event),
7589         (gst_queue_src_activate_push):
7590           Don't start the src pad task on FLUSH_STOP if the pad
7591           isn't linked.
7592           Debug changes.
7593
7594 2005-08-22  Wim Taymans  <wim@fluendo.com>
7595
7596         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7597         Added check for gst_static_caps_get() refcounting.
7598
7599 2005-08-22  Wim Taymans  <wim@fluendo.com>
7600
7601         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7602         Make _static_caps_get() refcounting sane.
7603         
7604         * gst/gstelement.c: (gst_element_set_state):
7605         Add g_return_val_if_fail() to protect against segfaults.
7606
7607 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
7608
7609         * docs/gst/tmpl/gstevent.sgml:
7610         * gst/gstevent.c:
7611         * gst/gstevent.h:
7612           inlined remaining docs, added missing doc comments
7613
7614 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7615
7616         * check/gst/gstbin.c: (GST_START_TEST):
7617           since we don't know when preroll is done, use refcount range
7618           check for the sink
7619         * gst/check/gstcheck.h:
7620           add macro for checking refcount range
7621
7622 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7623
7624         * check/Makefile.am:
7625           clean up environment for when registry gets built versus
7626           when actual tests are run; valgrind seems to not report
7627           leaks if GST_PLUGIN_PATH is set to some specific values
7628         * check/gst/gstbin.c: (GST_START_TEST):
7629           add more refcounting checks; maybe this exposes a
7630           preroll lock bug ?
7631         * common/check.mak:
7632         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7633         * gst/check/gstcheck.h:
7634         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7635         (gst_bin_change_state):
7636         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7637           add/fix debugging/whitespace
7638
7639 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7640
7641         * check/gst/gstevent.c: (event_probe), (test_event),
7642         (GST_START_TEST):
7643          Er, don't call gst_bin_watch_for_state_change you idiot.
7644
7645 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
7646
7647         * check/Makefile.am:
7648           Use CHECK_CFLAGS and CHECK_LIBS
7649         * check/gst/gstevent.c: (event_probe), (test_event),
7650         (GST_START_TEST):
7651           Don't leak events.
7652         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7653         (gst_base_src_start), (gst_base_src_stop),
7654         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7655         (gst_base_src_change_state):
7656           Sprinkle gst_base_src_stop liberally around error paths to fix
7657           problems reusing a source after failed state changes.
7658         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7659         (helper_find_suggest), (gst_type_find_helper):
7660           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7661         * gst/gstevent.h:
7662         * docs/gst/tmpl/gstevent.sgml:
7663           Migrate part of the docs from the SGML file. Wait for ensonic to
7664           tell me how I did it wrong ;)
7665         * tools/gst-typefind.c: (main):
7666           Extra robustness to state changes between files.
7667
7668 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7669
7670         * check/Makefile.am:
7671           don't valgrind the controller test - it's leaking - Stefan, HELP
7672         * gst/check/gstcheck.c: (gst_check_message_error),
7673         (gst_check_chain_func), (gst_check_setup_element),
7674         (gst_check_teardown_element), (gst_check_setup_src_pad),
7675         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7676         (gst_check_teardown_sink_pad):
7677         * gst/check/gstcheck.h:
7678           add a bunch of methods to set up elements, and src and sink pads
7679         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7680         * check/elements/identity.c: (setup_identity), (cleanup_identity),
7681         (GST_START_TEST):
7682           use them
7683         * gst/gstmessage.c:
7684         * gst/gsttag.h:
7685           whitespace/doc fixes
7686
7687 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7688
7689         * gst/gstelement.h:
7690           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7691           be handled by the application and not always printed as well
7692
7693 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7694
7695         * check/Makefile.am:
7696           set GST_TOOLS_DIR
7697         * gst/check/gstcheck.c: (gst_check_message_error):
7698         * gst/check/gstcheck.h:
7699           add a fail_unless_equals_int
7700           add fail_unless for error messages
7701
7702 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7703
7704         * check/Makefile.am:
7705         * check/gst.supp:
7706         * common/Makefile.am:
7707         * common/check.mak:
7708         * common/gst.supp:
7709           factor out some of the common stuff so we can use it
7710
7711 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7712
7713         * check/Makefile.am:
7714         * check/gst/gstiterator.c: (GST_START_TEST):
7715         * check/gst/gstsystemclock.c: (GST_START_TEST),
7716         (gst_systemclock_suite):
7717         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7718         * gst/gstclock.c:
7719           valgrind more tests
7720
7721 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7722
7723         * check/elements/.cvsignore:
7724         * check/elements/gstfakesrc.c:
7725           rename to name of element
7726         * check/elements/identity.c: (chain_func), (event_func),
7727         (setup_identity), (cleanup_identity), (GST_START_TEST),
7728         (identity_suite), (main):
7729           add a test for identity
7730         * check/Makefile.am:
7731         * pkgconfig/Makefile.am:
7732         * pkgconfig/gstreamer-check.pc.in:
7733         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7734         * gst/check:
7735         * gst/Makefile.am:
7736         * configure.ac:
7737           move the check stuff to a library that gets installed
7738         * check/gst-libs/controller.c: (GST_START_TEST):
7739         * check/gst-libs/gdp.c:
7740         * check/gst/gst.c: (GST_START_TEST):
7741         * check/gst/gstbin.c:
7742         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7743         * check/gst/gstbus.c:
7744         * check/gst/gstcaps.c: (GST_START_TEST):
7745         * check/gst/gstelement.c:
7746         * check/gst/gstghostpad.c:
7747         * check/gst/gstiterator.c:
7748         * check/gst/gstmessage.c:
7749         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7750         * check/gst/gstobject.c:
7751         * check/gst/gstpad.c: (GST_START_TEST):
7752         * check/gst/gststructure.c: (GST_START_TEST):
7753         * check/gst/gstsystemclock.c: (GST_START_TEST),
7754         (gst_systemclock_suite):
7755         * check/gst/gsttag.c: (gst_tag_suite):
7756         * check/gst/gstvalue.c:
7757         * check/pipelines/cleanup.c:
7758         * check/pipelines/simple_launch_lines.c:
7759         * check/states/sinks.c:
7760           change include statement
7761
7762         * docs/gst/gstreamer-sections.txt:
7763         * docs/gst/tmpl/gstpad.sgml:
7764           document more pad stuff
7765         * gst/gstminiobject.c: (gst_mini_object_ref),
7766         (gst_mini_object_unref):
7767           debug refcounting
7768
7769 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
7770
7771         * docs/gst/tmpl/gst.sgml:
7772         * gst/gst.c:
7773           eliminate another tmpl file, fix spelling in the long-description
7774
7775 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7776
7777         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7778         (test_event), (timediff), (gstevents_suite):
7779           Should fix build on 64-bit arch's
7780
7781 2005-08-18  Andy Wingo  <wingo@pobox.com>
7782
7783         Make sure that when a pipeline goes to PLAYING, that data has
7784         actually hit the sink.
7785
7786         * check/states/sinks.c (test_sink): A sink that doesn't get any
7787         data shouldn't return SUCCESS for going to either PLAYING or
7788         PAUSED. Test also the return values on the way back down.
7789
7790         * gst/gstelement.c (gst_element_set_state): When changing the
7791         state of an element currently changing state asynchronously, go to
7792         lost-state after commiting the pending state. Makes future calls
7793         to get_state continue to return ASYNC.
7794
7795         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7796         ASYNC when going to PLAYING if we still don't have preroll, as can
7797         happen with live sources.
7798
7799 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7800
7801         * docs/pwg/advanced-types.xml:
7802           Hack long paragraph into 2 chunks as a workaround for buggy
7803           jadetex version in sid and breezy that loops infinitely and
7804           eats all RAM.
7805
7806 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7807
7808         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7809         (test_event), (timediff), (gstevents_suite):
7810           Provide more error margin in clock measurements to allow for 
7811           g_get_current_time inaccuracies.
7812
7813 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7814
7815         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7816         (test_event), (timediff), (gstevents_suite):
7817            Fix error message output so I might be able to tell why the
7818            test works here but fails on the build farm.
7819
7820 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7821
7822         * check/Makefile.am:
7823         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7824         (test_event), (timediff), (gstevents_suite), (main):
7825           I wrote a test!
7826
7827         * docs/design/part-seeking.txt:
7828           Spelling correction
7829
7830         * docs/gst/tmpl/gstevent.sgml:
7831         * docs/gst/tmpl/gstfakesrc.sgml:
7832           Docs updates.
7833
7834         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7835           Treat a buffer-without-newsegment the same as a receiving 
7836           a newsegment not in time format, and disable syncing to the clock
7837           with a warning.
7838
7839         * gst/gstbus.c: (gst_bus_set_sync_handler):
7840           Assert if anyone tries to replace the existing sync_handler for bus, 
7841           as only the owner should be setting it.
7842
7843         * gst/gstevent.h:
7844           Have a fixed set of custom event enums with events identified by
7845           their structure name (as in 0.8), rather than a free-for-all
7846           allowing collisions between enum values from different plugins.
7847
7848         * gst/gstpad.c: (gst_pad_class_init):
7849           Docs change.
7850           
7851         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7852           Handle out-of-band downstream events from the sending thread.
7853
7854 2005-08-17  Andy Wingo  <wingo@pobox.com>
7855
7856         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7857         play-timeout==0 to mean no timeout at all. In that case, don't
7858         bother with a get_state or a warning, just return directly, even
7859         if it's ASYNC.
7860
7861         * gst/base/gstbasetransform.c: Debug changes.
7862
7863         * gst/gstutils.h:
7864         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7865         ensure bins post state change messages. A bit of a hack but I can't
7866         think of a way to avoid it.
7867
7868         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7869
7870 2005-08-16  Andy Wingo  <wingo@pobox.com>
7871
7872         * gst/base/gstadapter.h:
7873         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7874         peek() but you own the data. Not terribly efficient atm.
7875
7876 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7877
7878         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7879         (gst_element_found_tags):
7880         * gst/gstutils.h:
7881           Add two utility functions for tag handling.
7882
7883 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7884
7885         * docs/manual/advanced-dataaccess.xml:
7886         * docs/manual/basics-helloworld.xml:
7887           Fix docs to use _bin_add() before _link(), which fixes the examples
7888           with recent core versions (reported by Madhan Raj M
7889           <raj_madan@rediffmail.com>, #313199).
7890
7891 2005-08-16  Wim Taymans  <wim@fluendo.com>
7892
7893         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7894         Added subtract checks.
7895
7896         * docs/design/part-events.txt:
7897         Some more docs about newsegment
7898
7899         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7900         Fix FIXME
7901
7902         * gst/gstcaps.c: (gst_caps_to_string):
7903         Add comments, cleanups.
7904         
7905         * gst/gstelement.c: (gst_element_save_thyself):
7906         cleanups
7907         
7908         * gst/gstvalue.c: (gst_value_collect_int_range),
7909         (gst_string_unwrap), (gst_value_union_int_int_range),
7910         (gst_value_union_int_range_int_range),
7911         (gst_value_intersect_int_int_range),
7912         (gst_value_intersect_int_range_int_range),
7913         (gst_value_intersect_double_double_range),
7914         (gst_value_intersect_double_range_double_range),
7915         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7916         (gst_value_subtract_int_range_int),
7917         (gst_value_subtract_double_range_double),
7918         (gst_value_subtract_double_range_double_range),
7919         (gst_value_subtract_from_list), (gst_value_subtract_list),
7920         (gst_value_can_compare), (gst_value_compare_fraction):
7921         Cleanups, add comments, remove unneeded asserts.
7922
7923 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7924
7925         * tools/gst-launch.c: (event_loop):
7926           don't convert NULL structures to strings
7927
7928 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7929
7930         * docs/gst/gstreamer-sections.txt:
7931           made some defines private
7932         * docs/gst/tmpl/gstconfig.sgml:
7933         * docs/gst/tmpl/gstqueue.sgml:
7934         * docs/gst/tmpl/gsttaglist.sgml:
7935         * docs/gst/tmpl/gsttypes.sgml:
7936         * docs/gst/tmpl/gstutils.sgml:
7937         * docs/pwg/appendix-porting.xml:
7938         * gst/base/gstbasesink.h:
7939         * gst/base/gstbasesrc.c:
7940         * gst/base/gstbasesrc.h:
7941         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7942         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7943         * gst/gstelement.c: (gst_element_class_init):
7944         * gst/gstpad.c: (gst_pad_class_init):
7945         * gst/gstqueue.c: (gst_queue_class_init):
7946         * gst/gstxml.c: (gst_xml_class_init):
7947           documented all undocumented signal inline
7948         * libs/gst/controller/gst-controller.h:
7949           added padding
7950
7951 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7952
7953         * docs/pwg/appendix-porting.xml:
7954           Document _set_link_function -> _set_setcaps_function.
7955
7956 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7957
7958         * check/Makefile.am:
7959           add a .check target for running the check
7960         * check/gst-libs/controller.c: (GST_START_TEST):
7961           cosmetic fixups
7962         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7963           complete checks for gstbuffer; would be nice if I could get the
7964           gcov stuff to work so I can see if I actually completed gstbuffer.c
7965         * check/gstcheck.h:
7966           add ASSERT_BUFFER_REFCOUNT
7967
7968 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7969
7970         * docs/gst/gstreamer-sections.txt:
7971         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7972         * gst/gsttag.h:
7973           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7974           spew out a warning if a tag that is already registered
7975           is re-registered, unless it is re-registered with a 
7976           different type (#308438).
7977
7978 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7979
7980         * docs/pwg/appendix-porting.xml:
7981         * docs/pwg/building-state.xml:
7982           Add some paragraphs about state changes in 0.9 to the PWG
7983           and the porting guide, in particular about the new meaning
7984           of GST_STATE_PAUSED and how to write state change functions
7985           with concurrent access by multiple threads in mind.
7986
7987 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7988
7989         * docs/gst/gstreamer-docs.sgml:
7990         * docs/libs/gstreamer-libs-docs.sgml:
7991           added deprecation and since indexes
7992         * libs/gst/controller/gst-controller.c:
7993         * libs/gst/controller/gst-helper.c:
7994           added since tags
7995
7996
7997 2005-08-11  Wim Taymans  <wim@fluendo.com>
7998
7999         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8000         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8001         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8002         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8003         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8004         (gst_ghost_pad_set_target):
8005         Actually implement (re)setting the target on a ghostpad
8006         as described in the docs.
8007
8008 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8009
8010         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8011           Check whether GST_DEBUG_NO_COLOR environment variable is
8012           set and disable coloured debug output if that is the case.
8013
8014 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8015
8016         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8017         (gst_type_find_helper):
8018           The memory returned by gst_type_find_peek() needs to
8019           stay valid until the end of a typefind function, and
8020           typefind functions may keep results from different 
8021           offsets around, so we can't just unref the buffer from
8022           the previous _peek(), but have to save all buffers 
8023           returned by _peek() until typefinding is done and only
8024           free them then.
8025
8026 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8027
8028         * docs/gst/gstreamer-sections.txt:
8029         * gst/gstutils.h:
8030           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8031
8032 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8033
8034         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8035           Fix a pretty good memleak.
8036
8037 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8038
8039         * gst/gstiterator.h:
8040           Fix wrong include and 'make distcheck'.
8041
8042 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8043
8044         * gst/gstbin.c: (bin_bus_handler):
8045           Use gst_element_post_message() instead.
8046
8047 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8048
8049         * gst/base/gstadapter.h:
8050         * gst/base/gstbasesink.h:
8051         * gst/base/gstbasesrc.h:
8052         * gst/base/gstbasetransform.h:
8053         * gst/base/gstcollectpads.h:
8054         * gst/base/gstpushsrc.h:
8055         * gst/gstiterator.h:
8056           Add padding to our base elements' class and instance structs and
8057           to GstIterator (you will need to rebuild all plugins and apps!)
8058
8059 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8060
8061         * gst/gstbin.c: (bin_bus_handler):
8062           Make default message forwarding from child->bus to bin->bus
8063           threadsafe and make it not emit warnings if the parent has no bus.
8064
8065 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8066
8067         * gst/gstelement.c: (activate_pads):
8068           On paused->ready, set pad->caps to NULL, as is the documented
8069           behaviour in this state change. Fixes playback of series of
8070           media files when visualization is enabled in Totem.
8071
8072 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8073
8074         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8075           Allow NULL as filter-caps (which means "any").
8076
8077 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8078
8079         * docs/libs/gstreamer-libs-sections.txt:
8080         * libs/gst/controller/gst-controller.c:
8081         * libs/gst/controller/gst-controller.h:
8082         * libs/gst/controller/gst-helper.c:
8083           adding more entries to the docs and fix small doc-bugs
8084
8085 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8086
8087         * docs/gst/gstreamer-docs.sgml:
8088         * docs/gst/gstreamer-sections.txt:
8089         * docs/gst/gstreamer.types:
8090         * docs/gst/tmpl/gstbasesink.sgml:
8091         * docs/gst/tmpl/gstbasesrc.sgml:
8092         * docs/gst/tmpl/gstbasetransform.sgml:
8093         * docs/gst/tmpl/gstfakesrc.sgml:
8094         * gst/base/gstcollectpads.c:
8095         * gst/base/gstcollectpads.h:
8096         * libs/gst/controller/gst-controller.c:
8097         * libs/gst/controller/gst-controller.h:
8098         * libs/gst/controller/gst-helper.c:
8099         * libs/gst/controller/gst-interpolation.c:
8100         * libs/gst/controller/lib.c:
8101           added long/short desc for controller docs
8102           added collectpads base class docs
8103           added correct includes to base-class docs
8104
8105 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8106
8107         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8108         (gst_test_mono_source_set_property),
8109         (gst_test_mono_source_class_init), (GST_START_TEST),
8110         (gst_controller_suite):
8111         * docs/gst/gstreamer-docs.sgml:
8112         * docs/gst/gstreamer-sections.txt:
8113         * docs/gst/gstreamer.types:
8114         * docs/libs/gstreamer-libs-docs.sgml:
8115         * docs/libs/gstreamer-libs-sections.txt:
8116         * gst/base/gstadapter.c:
8117         * libs/gst/controller/gst-controller.c:
8118         (gst_controlled_property_new), (gst_controlled_property_free),
8119         (gst_controller_new_valist),
8120         (gst_controller_remove_properties_valist),
8121         (gst_controller_sink_values), (_gst_controller_finalize):
8122         * libs/gst/controller/gst-controller.h:
8123         * libs/gst/controller/gst-helper.c:
8124         (gst_object_control_properties), (gst_object_uncontrol_properties),
8125         (gst_object_get_controller), (gst_object_set_controller),
8126         (gst_object_sink_values), (gst_object_get_value_arrays),
8127         (gst_object_get_value_array):
8128           more tests (and fixes) for the controller
8129           more docs for the controller
8130           integrated companies docs for the adapter 
8131
8132 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8133
8134         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8135         (GST_START_TEST), (fakesrc_suite):
8136           add tests for sizetype
8137
8138 2005-08-04  Andy Wingo  <wingo@pobox.com>
8139
8140         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8141         fixes buffer_alloc proxying among other things.
8142
8143         * gst/base/gstbasetransform.c:
8144         * gst/base/gstbasetransform.h:
8145         Revert patch to gstbasetransform from 7-28 removing
8146         delay_configure.
8147
8148         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8149         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8150         Semantics changed, should return not the size of the output buffer
8151         but the byte size of a buffer with a given caps.
8152
8153         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8154         debug object.
8155         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8156         out) are not the pad caps until setcaps finishes.
8157         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8158         not-in-place case as well. Deal with changing from in-place to
8159         not-in-place within calling pad_alloc_buffer. Still a bit
8160         concerned about the overhead here...
8161
8162 2005-08-03  Andy Wingo  <wingo@pobox.com>
8163
8164         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8165         fixating is an error.
8166
8167 2005-08-04  Edward Hervey  <edward@fluendo.com>
8168
8169         * gst/base/gstadapter.h: 
8170         Added gst_adapter_get_type() to the header
8171
8172 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8173
8174         * check/Makefile.am:
8175         * check/gst-libs/controller.c:
8176         * libs/gst/controller/gst-controller.c:
8177         (gst_controller_new_valist):
8178           added check test suite for the controller
8179         * gst/base/gstpushsrc.c:
8180           fixed a doc typo
8181
8182 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8183
8184         * docs/gst/Makefile.am:
8185         * docs/gst/gstreamer-docs.sgml:
8186         * docs/gst/gstreamer-sections.txt:
8187         * docs/gst/gstreamer.types:
8188         * docs/gst/tmpl/gstfakesrc.sgml:
8189         * gst/base/README:
8190         * gst/base/gstbasesink.c:
8191         * gst/base/gstbasesink.h:
8192         * gst/base/gstbasesrc.c:
8193         * gst/base/gstbasesrc.h:
8194         * gst/base/gstbasetransform.c:
8195         * gst/base/gstpushsrc.c:
8196         * gst/base/gstpushsrc.h:
8197           add short/long description docs to base classes
8198           add pushsrc to the docs
8199           remove consolidated doc fragments
8200
8201 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8202
8203         * configure.ac:
8204         * docs/libs/Makefile.am:
8205         * docs/libs/gstreamer-libs-docs.sgml:
8206         * docs/libs/gstreamer-libs-sections.txt:
8207         * docs/libs/gstreamer-libs.types:
8208         * examples/Makefile.am:
8209         * examples/controller/.cvsignore:
8210         * examples/controller/Makefile.am:
8211         * examples/controller/audio-example.c: (main):
8212         * libs/gst/Makefile.am:
8213         * libs/gst/controller/.cvsignore:
8214         * libs/gst/controller/Makefile.am:
8215         * libs/gst/controller/gst-controller.c:
8216         (on_object_controlled_property_changed), (gst_timed_value_compare),
8217         (gst_timed_value_find),
8218         (gst_controlled_property_set_interpolation_mode),
8219         (gst_controlled_property_new), (gst_controlled_property_free),
8220         (gst_controller_find_controlled_property),
8221         (gst_controller_new_valist), (gst_controller_new),
8222         (gst_controller_remove_properties_valist),
8223         (gst_controller_remove_properties), (gst_controller_set),
8224         (gst_controller_set_from_list), (gst_controller_unset),
8225         (gst_controller_get), (gst_controller_get_all),
8226         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8227         (gst_controller_get_value_array),
8228         (gst_controller_set_interpolation_mode),
8229         (_gst_controller_finalize), (_gst_controller_init),
8230         (_gst_controller_class_init), (gst_controller_get_type):
8231         * libs/gst/controller/gst-controller.h:
8232         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8233         (g_object_uncontrol_properties), (g_object_get_controller),
8234         (g_object_set_controller), (g_object_sink_values),
8235         (g_object_get_value_arrays), (g_object_get_value_array):
8236         * libs/gst/controller/gst-interpolation.c:
8237         (gst_controlled_property_find_timed_value_node),
8238         (interpolate_none_get), (interpolate_trigger_get),
8239         (interpolate_trigger_get_value_array):
8240         * libs/gst/controller/lib.c: (gst_controller_init):
8241         * pkgconfig/Makefile.am:
8242         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8243         * pkgconfig/gstreamer-control.pc.in:
8244         * testsuite/Makefile.am:
8245         * testsuite/controller/.cvsignore:
8246         * testsuite/controller/Makefile.am:
8247         * testsuite/controller/interpolator.c: (main):
8248           added controller code
8249           removed dparam pc files
8250
8251 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8252         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8253         (gst_collectpads_stop):
8254           Broadcast the condition when shutting down, to make sure we wake all
8255           threads up. Shut down pads on finalize, for safety.
8256
8257 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8258         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8259         (gst_base_transform_handle_buffer),
8260         (gst_base_transform_change_state):
8261           Handle PAUSED->READY->PAUSED transition after negotiation
8262           occurred already.
8263         * gst/gstmessage.c: (gst_message_init):
8264           Extra piece of debug for new messages.
8265
8266 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8267
8268         * configure.ac:
8269         * docs/gst/tmpl/gstbasesrc.sgml:
8270         * docs/gst/tmpl/gstelement.sgml:
8271         * docs/gst/tmpl/gstevent.sgml:
8272         * docs/gst/tmpl/gstfakesrc.sgml:
8273         * docs/gst/tmpl/gstformat.sgml:
8274         * docs/gst/tmpl/gstghostpad.sgml:
8275         * docs/gst/tmpl/gstpad.sgml:
8276         * docs/gst/tmpl/gstquery.sgml:
8277         * docs/gst/tmpl/gststructure.sgml:
8278         * docs/gst/tmpl/gsttaglist.sgml:
8279         * docs/gst/tmpl/gstvalue.sgml:
8280         * docs/libs/gstreamer-libs-docs.sgml:
8281         * docs/libs/gstreamer-libs-sections.txt:
8282         * docs/libs/gstreamer-libs.types:
8283         * libs/gst/Makefile.am:
8284         * libs/gst/control/.cvsignore:
8285         * libs/gst/control/Makefile.am:
8286         * libs/gst/control/control.c:
8287         * libs/gst/control/control.h:
8288         * libs/gst/control/dparam.c:
8289         * libs/gst/control/dparam.h:
8290         * libs/gst/control/dparam_smooth.c:
8291         * libs/gst/control/dparam_smooth.h:
8292         * libs/gst/control/dparamcommon.h:
8293         * libs/gst/control/dparammanager.c:
8294         * libs/gst/control/dparammanager.h:
8295         * libs/gst/control/dplinearinterp.c:
8296         * libs/gst/control/dplinearinterp.h:
8297         * libs/gst/control/unitconvert.c:
8298         * libs/gst/control/unitconvert.h:
8299         * testsuite/Makefile.am:
8300         * testsuite/dynparams/.cvsignore:
8301         * testsuite/dynparams/Makefile.am:
8302         * testsuite/dynparams/dparamstest.c:
8303         * tools/Makefile.am:
8304         * tools/gst-inspect.c: (print_element_info), (main):
8305         * tools/gst-xmlinspect.c: (print_element_info), (main):
8306           deactivate and remove dparams (libgstcontrol)
8307
8308 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8309
8310         * gst/elements/gsttypefindelement.c:
8311         (gst_type_find_element_have_type), (gst_type_find_element_init),
8312         (stop_typefinding), (gst_type_find_element_handle_event),
8313         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8314         * gst/elements/gsttypefindelement.h:
8315           Set caps on all outgoing buffers, not just the first one.
8316
8317 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8318
8319         * gst/elements/gsttypefindelement.c:
8320         (gst_type_find_element_have_type),
8321         (gst_type_find_element_check_set_buffer_caps),
8322         (gst_type_find_element_init), (stop_typefinding),
8323         (gst_type_find_element_handle_event),
8324         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8325         * gst/elements/gsttypefindelement.h:
8326           Set caps on first outgoing buffer when we've found the type.
8327
8328 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8329
8330         * docs/gst/gstreamer-docs.sgml:
8331         * docs/gst/gstreamer-sections.txt:
8332         * docs/gst/tmpl/gstscheduler.sgml:
8333         * docs/gst/tmpl/gstschedulerfactory.sgml:
8334           Remove some old cruft from docs.
8335
8336 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8337
8338         * gst/gstpad.h:
8339           Fix inline docs for GstPadLinkReturn.
8340           
8341         * gst/gststructure.c: (gst_structure_has_name):
8342         * gst/gststructure.h:
8343         * docs/gst/gstreamer-sections.txt:
8344           New API: gst_structure_has_name().
8345
8346 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8347
8348         * configure.ac:
8349           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8350           and _LARGEFILE_SOURCE in config.h as required. Do not 
8351           export those flags in our .pc files any longer (#142209).
8352
8353           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8354
8355         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8356         (gst_file_sink_do_seek), (gst_file_sink_event),
8357         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8358           Redo seek/tell calls with large file support in mind; add some
8359           debugging messages; add log message that tells us when large
8360           file support is unavailable or not enabled for some reason.
8361
8362         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8363           Add log message that tells us when large file support 
8364           is unavailable or not enabled for some reason.
8365
8366 2005-07-29  Wim Taymans  <wim@fluendo.com>
8367
8368         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8369         Added test for removing an element with ghostpad from a bin.
8370         Fixed test as current implementation does the right thing.
8371
8372         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8373         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8374         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8375         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8376         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8377         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8378         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8379         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8380         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8381         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8382         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8383         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8384         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8385         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8386         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8387         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8388         * gst/gstghostpad.h:
8389         Clean up ghostpads, remove properties for internal stuff.
8390         Make threadsafe.
8391         Fix refcounting.
8392         Prepare for switching targets, not all use cases work yet.
8393
8394 2005-07-29  Wim Taymans  <wim@fluendo.com>
8395
8396         * docs/design/part-gstghostpad.txt:
8397         Small update.
8398
8399         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8400         (gst_bin_remove_func):
8401         Unlinking pads while holding the bin LOCK is not a good
8402         idea.
8403
8404         * gst/gstpad.c: (gst_pad_class_init),
8405         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8406         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8407         No prob setting template after creating the pad.
8408
8409 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8410
8411         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8412         (gst_bus_peek), (gst_bus_source_dispatch),
8413         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8414         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8415           gst_bus_poll may be called from other threads. Handle
8416           this nicely by not making poll_data disappear off the
8417           stack once gst_bus_poll returns.
8418           gst_bus_peek now increments the refcount on the returned
8419           message.
8420
8421 2005-07-29  Wim Taymans  <wim@fluendo.com>
8422
8423         * docs/design/part-gstghostpad.txt:
8424         Overview of current GhostPad datastructures and use
8425         cases for changing the target.
8426
8427 2005-07-28  Wim Taymans  <wim@fluendo.com>
8428
8429         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8430         Added checks for hierarchy consistency whan adding linked
8431         elements to bins.
8432
8433         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8434         Added check to test element scheduling without bin/pipeline.
8435
8436         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8437         First add elements to bin, then link.
8438         
8439         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8440         (gst_bin_remove_func):
8441         Unlink pads from elements added/removed from bin to maintain
8442         hierarchy consistency.
8443
8444 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8445
8446         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8447         (gst_base_transform_handle_buffer):
8448         * gst/base/gstbasetransform.h:
8449           Remove broken delay_configure (fixes renegotiation of software
8450           scaling pipelines); remove some leftover printf()s.
8451
8452 2005-07-28  Wim Taymans  <wim@fluendo.com>
8453
8454         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8455         Added some more tests for wrong hierarchy
8456
8457         * docs/design/part-overview.txt:
8458         Some updates.
8459
8460         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8461         Cleanups.
8462
8463         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8464         (gst_element_dispose):
8465         Some more cleanups.
8466
8467         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8468         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8469         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8470         (gst_pad_set_caps), (gst_pad_send_event):
8471         Check for correct hierarchy when linking pads. Moving to
8472         strict requirement for ghostpads when linking elements in
8473         different bins.
8474
8475         * gst/gstpad.h:
8476         Clean ups. Added WRONG_HIERARCHY return value.
8477
8478 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8479
8480         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8481           Better debug if no transform is possible.
8482
8483 2005-07-27  Wim Taymans  <wim@fluendo.com>
8484
8485         * docs/random/wtay/network-transp:
8486         Some old doc I had.
8487
8488 2005-07-27  Wim Taymans  <wim@fluendo.com>
8489
8490         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8491         (gst_dp_event_from_packet):
8492         Fix serialization of seek events.
8493
8494 2005-07-27  Wim Taymans  <wim@fluendo.com>
8495
8496         * check/gst-libs/gdp.c: (GST_START_TEST):
8497         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8498         Fix compilation and fix event serialization.
8499
8500 2005-07-27  Wim Taymans  <wim@fluendo.com>
8501
8502         * CHANGES-0.9:
8503         * docs/design/part-TODO.txt:
8504         * docs/design/part-events.txt:
8505         Some docs updates
8506
8507         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8508         (gst_base_sink_event), (gst_base_sink_do_sync),
8509         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8510         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8511         (gst_base_src_do_seek), (gst_base_src_event_handler),
8512         (gst_base_src_loop):
8513         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8514         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8515         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8516         (gst_base_transform_event), (gst_base_transform_handle_buffer),
8517         (gst_base_transform_set_passthrough),
8518         (gst_base_transform_is_passthrough):
8519         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8520         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8521         Event updates.
8522
8523         * gst/gstbuffer.h:
8524         Use faster casts.
8525
8526         * gst/gstelement.c: (gst_element_seek):
8527         * gst/gstelement.h:
8528         Update gst_element_seek.
8529
8530         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8531         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8532         (gst_event_new_flush_start), (gst_event_new_flush_stop),
8533         (gst_event_new_eos), (gst_event_new_newsegment),
8534         (gst_event_parse_newsegment), (gst_event_new_tag),
8535         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8536         (gst_event_parse_qos), (gst_event_new_seek),
8537         (gst_event_parse_seek), (gst_event_new_navigation):
8538         * gst/gstevent.h:
8539         Make GstEvent use GstStructure. Add parsing code, make sure the
8540         API is sufficiently generic.
8541         Mark possible directions of events and serialization.
8542
8543         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8544         (_gst_message_copy), (gst_message_new_segment_start),
8545         (gst_message_new_segment_done), (gst_message_new_custom),
8546         (gst_message_parse_segment_start),
8547         (gst_message_parse_segment_done):
8548         Small cleanups.
8549
8550         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8551         (gst_pad_set_caps), (gst_pad_send_event):
8552         Update for new events. 
8553         Catch events sent in wrong directions.
8554
8555         * gst/gstqueue.c: (gst_queue_link_src),
8556         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8557         (gst_queue_handle_src_query):
8558         Event updates.
8559
8560         * gst/gsttag.c:
8561         * gst/gsttag.h:
8562         Remove event code from this file.
8563
8564         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8565         (gst_dp_event_from_packet):
8566         Event updates.
8567
8568 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8569
8570         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8571         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8572         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8573           Make debugging actually useful.
8574
8575 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8576
8577         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8578         (gst_pad_fixate_caps):
8579           Implement default fixation once again, so that gst_pad_fixate()
8580           actually does anything at all. This probably needs to be some
8581           sort of a last resort, and use profile-based fixation first, but
8582           since that doesn't exist yet, this is the best we have. Fixes
8583           visualization in Totem.
8584
8585 2005-07-22  Wim Taymans  <wim@fluendo.com>
8586
8587         * docs/design/part-events.txt:
8588         Small update.
8589
8590         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8591         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8592         (gst_base_sink_activate_pull):
8593         Some more comments.
8594
8595         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8596         (gst_fake_src_create):
8597         Fix handoff marshall.
8598
8599         * gst/elements/gstidentity.c: (gst_identity_class_init),
8600         (gst_identity_transform_ip):
8601         We're a real inplace element.
8602
8603         * gst/gstbus.c: (gst_bus_post):
8604         Added some comments.
8605
8606         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8607         * tests/muxing/case1.c: (main):
8608         * tests/sched/dynamic-pipeline.c: (main):
8609         * tests/sched/interrupt1.c: (main):
8610         * tests/sched/interrupt2.c: (main):
8611         * tests/sched/interrupt3.c: (main):
8612         * tests/sched/runxml.c: (main):
8613         * tests/sched/sched-stress.c: (main):
8614         * tests/seeking/seeking1.c: (event_received), (main):
8615         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8616         (main):
8617         * tests/threadstate/threadstate3.c: (main):
8618         * tests/threadstate/threadstate4.c: (main):
8619         * tests/threadstate/threadstate5.c: (main):
8620         Fix the tests.
8621
8622 2005-07-21  Wim Taymans  <wim@fluendo.com>
8623
8624         * docs/design/part-seeking.txt:
8625         Some small additions.
8626
8627         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8628         (gst_base_sink_get_times), (gst_base_sink_do_sync),
8629         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8630         * gst/base/gstbasesink.h:
8631         discont values are gint64, handle the math correctly.
8632
8633         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8634         Make the basesrc report error if the source pad is not linked.
8635
8636         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8637         (gst_queue_loop), (gst_queue_handle_src_query),
8638         (gst_queue_src_activate_push):
8639         Make queue collect data even if the srcpad is not linked.
8640         Start pushing out data as soon as it is linked.
8641
8642         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8643         * gst/gstutils.h:
8644         Added gst_flow_get_name() to ease error reporting.
8645
8646 2005-07-20  Wim Taymans  <wim@fluendo.com>
8647
8648         * gst/gstmessage.c: (gst_message_new_segment_start),
8649         (gst_message_new_segment_done), (gst_message_parse_segment_start),
8650         (gst_message_parse_segment_done):
8651         * gst/gstmessage.h:
8652         Added a bunch of messages for advanced seeking.
8653
8654         * gst/parse/grammar.y:
8655         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8656         (gst_dpman_state_changed):
8657         Fix some new-pad -> pad-added signals
8658
8659 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8660
8661         * docs/manual/appendix-porting.xml:
8662         * docs/pwg/appendix-porting.xml:
8663           Document new-pad/state-change signal renames and the FixedList
8664           type rename.
8665
8666 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8667
8668         * docs/manual/advanced-autoplugging.xml:
8669         * docs/manual/basics-helloworld.xml:
8670         * docs/manual/basics-pads.xml:
8671         * docs/random/ds/0.9-suggested-changes:
8672         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8673         * gst/gstelement.h:
8674         * gst/gstevent.h:
8675         * gst/gstformat.h:
8676         * gst/gstquery.h:
8677         * gst/gststructure.c: (gst_structure_value_get_generic_type),
8678         (gst_structure_parse_array), (gst_structure_parse_value):
8679         * gst/gstvalue.c: (gst_type_is_fixed),
8680         (gst_value_list_prepend_value), (gst_value_list_append_value),
8681         (gst_value_list_get_size), (gst_value_list_get_value),
8682         (gst_value_transform_array_string), (gst_value_serialize_array),
8683         (gst_value_deserialize_array), (gst_value_intersect_array),
8684         (gst_value_is_fixed), (_gst_value_initialize):
8685         * gst/gstvalue.h:
8686           GstElement::new-pad -> pad-added, GstElement::state-change ->
8687           state-changed, GstValueFixedList -> GstValueArray, add format and
8688           flags as their own arguments in gst_element_seek() (should improve
8689           "bindeability"), remove function generators since they don't work
8690           under a whole bunch of compilers (they were deprecated already
8691           anyway).
8692
8693 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8694
8695         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8696         (_gst_debug_register_funcptr):
8697         * gst/gstinfo.h:
8698           Fix illegal cast on some platforms (#309253).
8699
8700 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8701
8702         * gst/gstmessage.c: (gst_message_new_custom):
8703         * gst/gstmessage.h:
8704           Add _new_custom, make _new_application a macro to _new_custom.
8705
8706 2005-07-20  Wim Taymans  <wim@fluendo.com>
8707
8708         * gst/base/gstbasesrc.c: (gst_base_src_init),
8709         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8710         * gst/base/gstbasesrc.h:
8711         Add a gboolean to decide when to push out a discont.
8712
8713         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8714         (gst_queue_loop), (gst_queue_handle_src_query),
8715         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8716         (gst_queue_set_property), (gst_queue_get_property):
8717         Some cleanups.
8718
8719         * tests/threadstate/threadstate1.c: (main):
8720         Make a thread test compile and run... very silly..
8721
8722
8723 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8724
8725         * docs/manual/appendix-porting.xml:
8726           Mention removal of libgstgconf-0.9.la and existence of gconf
8727           elements.
8728
8729 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8730
8731         * docs/pwg/advanced-clock.xml:
8732         * docs/pwg/appendix-porting.xml:
8733         * docs/pwg/intro-preface.xml:
8734         * docs/pwg/other-base.xml:
8735         * docs/pwg/other-manager.xml:
8736         * docs/pwg/other-nton.xml:
8737         * docs/pwg/other-ntoone.xml:
8738         * docs/pwg/other-oneton.xml:
8739         * docs/pwg/pwg.xml:
8740           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8741           demuxer), remove n-to-n (was never written), fix some code examples
8742           and links and update the porting section to include all this.
8743
8744 2005-07-19  Wim Taymans  <wim@fluendo.com>
8745
8746         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8747         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8748         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8749         (gst_queue_src_activate_push), (gst_queue_change_state),
8750         (gst_queue_get_property):
8751         * gst/gstqueue.h:
8752         Propagate GstFlowReturn more intelligently upstream and output
8753         an ERROR/EOS when streaming stopped due to fatal error.
8754
8755 2005-07-19  Wim Taymans  <wim@fluendo.com>
8756
8757         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8758         Don't block forever for the state change to complete, the
8759         pipeline already did with a sensible timeout.
8760
8761 2005-07-19  Wim Taymans  <wim@fluendo.com>
8762
8763         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8764         Make sure we never call the create function is we
8765         got deactivated.
8766
8767 2005-07-19  Andy Wingo  <wingo@pobox.com>
8768
8769         * gst/parse/parse.l: Attempt to solve bug #172815.
8770
8771 2005-07-19  Wim Taymans  <wim@fluendo.com>
8772
8773         * docs/design/part-clocks.txt:
8774         * docs/design/part-events.txt:
8775         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8776         Small docs updates.
8777         Only update the seeking values when we are not
8778         busy streaming.
8779
8780 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8781
8782         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8783           Oops, ignore the result of gst_pad_push_event here.
8784
8785 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8786
8787         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8788         (gst_base_src_activate_push):
8789           Send discont event from the loop function, as pads
8790           aren't activated yet in the activate_push handler.
8791
8792         * gst/gstbin.c: (bin_bus_handler):
8793           Don't leak element name.
8794
8795 2005-07-18  Andy Wingo  <wingo@pobox.com>
8796
8797         * configure.ac: Use AS_LIBTOOL_TAGS.
8798
8799 2005-07-18  Wim Taymans  <wim@fluendo.com>
8800
8801         * docs/gst/gstreamer.types:
8802         Remove deleted types.
8803
8804 2005-07-18  Wim Taymans  <wim@fluendo.com>
8805
8806         * check/elements/gstfakesrc.c: (GST_START_TEST):
8807         * configure.ac:
8808         * gst/Makefile.am:
8809         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8810         (init_popt_callback):
8811         * gst/gst.h:
8812         * gst/gst_private.h:
8813         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8814         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8815         * gst/gstbin.h:
8816         * gst/gstbus.h:
8817         * gst/gstconfig.h.in:
8818         * gst/gstelement.c: (gst_element_class_init),
8819         (gst_element_set_base_time), (gst_element_get_base_time),
8820         (iterator_fold_with_resync), (gst_element_change_state),
8821         (gst_element_dispose), (gst_element_get_bus):
8822         * gst/gstelement.h:
8823         * gst/gstelementfactory.h:
8824         * gst/gsterror.c: (_gst_core_errors_init):
8825         * gst/gsterror.h:
8826         * gst/gstevent.h:
8827         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8828         * gst/gstindex.c:
8829         * gst/gstinfo.c: (_gst_debug_init):
8830         * gst/gstmessage.c: (_gst_message_copy):
8831         * gst/gstmessage.h:
8832         * gst/gstminiobject.h:
8833         * gst/gstobject.c:
8834         * gst/gstobject.h:
8835         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8836         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8837         * gst/gstpad.h:
8838         * gst/gstparse.h:
8839         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8840         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8841         (gst_pipeline_get_last_stream_time):
8842         * gst/gstpipeline.h:
8843         * gst/gstpluginfeature.h:
8844         * gst/gstquery.h:
8845         * gst/gstscheduler.c:
8846         * gst/gstscheduler.h:
8847         * gst/gststructure.h:
8848         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8849         (gst_task_finalize), (gst_task_func), (gst_task_create),
8850         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8851         (gst_task_stop), (gst_task_pause):
8852         * gst/gsttask.h:
8853         * gst/gsttypefind.h:
8854         * gst/gsttypes.h:
8855         * gst/registries/gstlibxmlregistry.c: (load_feature),
8856         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8857         * gst/registries/gstxmlregistry.c:
8858         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8859         * gst/schedulers/threadscheduler.c:
8860         * libs/gst/control/dparammanager.h:
8861         * tools/gst-inspect.c: (print_element_list),
8862         (print_plugin_features), (print_element_features):
8863         * tools/gst-xmlinspect.c: (print_element_list),
8864         (print_plugin_info), (main):
8865         Removed plugable schedulers.
8866         Removed Scheduler/Manager from elements.
8867         Removed gsttypes.h, rearranged includes.
8868         Removed dependency pad<->element, element<>pipeline, and
8869         various others,  fix includes.
8870         implement gst_pad_get_parent() with gst_object_get_parent()
8871         Make GstTask sefcontained.
8872         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8873         timeout.
8874         Fix endless loop in iterator_fold_with_resync.
8875
8876
8877 2005-07-18  Wim Taymans  <wim@fluendo.com>
8878
8879         * gst/Makefile.am:
8880         * gst/gstarch.h:
8881         Remove old file.
8882
8883 2005-07-18  Wim Taymans  <wim@fluendo.com>
8884
8885         * gst/Makefile.am:
8886         No more cothreads.h
8887
8888 2005-07-18  Wim Taymans  <wim@fluendo.com>
8889
8890         * gst/cothreads.c:
8891         * gst/cothreads.h:
8892         Let's remove these.
8893
8894 2005-07-18  Wim Taymans  <wim@fluendo.com>
8895
8896         * docs/design/part-dynamic.txt:
8897         * docs/design/part-events.txt:
8898         * docs/design/part-seeking.txt:
8899         Some more docs in the works.
8900
8901         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8902         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8903         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8904         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8905         (gst_base_transform_handle_buffer),
8906         (gst_base_transform_sink_activate_push),
8907         (gst_base_transform_src_activate_pull),
8908         (gst_base_transform_set_passthrough),
8909         (gst_base_transform_is_passthrough):
8910         Refcounting fixes.
8911
8912         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8913         Cleanups.
8914
8915         * gst/gstevent.c: (gst_event_finalize):
8916         Set SRC to NULL.
8917
8918         * gst/gstutils.c: (gst_element_unlink),
8919         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8920         (gst_pad_proxy_setcaps):
8921         * gst/gstutils.h:
8922         Add _get_parent_element() to get a pads parent as an element.
8923
8924 2005-07-18  Wim Taymans  <wim@fluendo.com>
8925
8926         * check/gst/gstbin.c: (GST_START_TEST):
8927         Remove bogus test.
8928
8929 2005-07-18  Wim Taymans  <wim@fluendo.com>
8930
8931         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8932         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8933         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8934         (gst_base_sink_event), (gst_base_sink_do_sync),
8935         (gst_base_sink_chain), (gst_base_sink_loop),
8936         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8937         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8938         Refcounting fixes.
8939         Fix logic for returning ASYNC when not prerolled.
8940
8941 2005-07-18  Wim Taymans  <wim@fluendo.com>
8942
8943         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8944         Fix nasty refcount bug.
8945
8946 2005-07-16 Philippe Khalaf <burger@speedy.org>
8947
8948         * gst/elements/gstfdsrc.c:
8949         * gst/elements/gstfdsrc.h:
8950         * gst/elements/gstelements.c:
8951         * gst/elements/Makefile.am:
8952         Ported fdsrc to 0.9.
8953
8954 2005-07-16  Wim Taymans  <wim@fluendo.com>
8955
8956         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8957         (gst_base_sink_do_sync):
8958         Fix compile error.
8959
8960 2005-07-16  Wim Taymans  <wim@fluendo.com>
8961
8962         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8963         (gst_base_sink_event), (gst_base_sink_get_times),
8964         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8965         * gst/base/gstbasesink.h:
8966         Store and use discont values when syncing buffers as described
8967         in design docs.
8968         
8969         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8970         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8971         (gst_base_src_activate_push):
8972         Push discont event when starting.
8973
8974         * gst/elements/gstidentity.c: (gst_identity_transform):
8975         Small cleanups.
8976
8977         * gst/gstbin.c: (gst_bin_change_state):
8978         Small cleanups in base_time  distribution.
8979
8980         * gst/gstelement.c: (gst_element_set_base_time),
8981         (gst_element_get_base_time), (gst_element_change_state):
8982         * gst/gstelement.h:
8983         Added methods for the base_time of the element.
8984         Some MT fixes.
8985
8986         * gst/gstpipeline.c: (gst_pipeline_send_event),
8987         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8988         (gst_pipeline_get_last_stream_time):
8989         * gst/gstpipeline.h:
8990         MT fixes.
8991         Handle seeking as described in design doc, remove stream_time
8992         hack.
8993         Cleanups clock and stream_time selection code. Added accessors
8994         for the stream_time.
8995         
8996
8997 2005-07-16  Andy Wingo  <wingo@pobox.com>
8998
8999         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9000         (#305291).
9001
9002 2005-07-16  Wim Taymans  <wim@fluendo.com>
9003
9004         * check/gst/gstbin.c: (GST_START_TEST):
9005         Make elements silent as the deep_notify refs the
9006         parent, which might make the test fail.
9007
9008         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9009         Don't hold the lock for too long.
9010
9011 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9012
9013         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9014           Don't unref the caps we passed to gst_caps_make_writable() after
9015           passing them. gst_caps_make_writable() will do that for us.
9016
9017 2005-07-15  Andy Wingo  <wingo@pobox.com>
9018
9019         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9020         (#157311).
9021
9022         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9023         own marshalling function for the handoff signal. Properly type the
9024         buffer as a buffer. Fixes some warnings. Should do a more general
9025         solution.
9026         (gst_identity_class_init): Plug into the right marshaller.
9027
9028 2005-07-15  Wim Taymans  <wim@fluendo.com>
9029
9030         * docs/design/part-TODO.txt:
9031         * docs/design/part-clocks.txt:
9032         * docs/design/part-element-sink.txt:
9033         * docs/design/part-events.txt:
9034         * docs/design/part-gstpipeline.txt:
9035         Updated docs, mostly DISCONT related.
9036
9037 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9038
9039         * docs/pwg/building-pads.xml:
9040           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9041
9042 2005-07-15  Andy Wingo  <wingo@pobox.com>
9043
9044         * tools/gst-typefind.c: Update, add copyright block.
9045
9046         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9047         Normalize and truncate caps before fixation.
9048
9049         * gst/gstcaps.h:
9050         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9051         discards all but the first structure from its argument.
9052
9053 2005-07-15  Wim Taymans  <wim@fluendo.com>
9054
9055         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9056         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9057         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9058         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9059         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9060         (gst_base_transform_chain), (gst_base_transform_change_state),
9061         (gst_base_transform_set_passthrough),
9062         (gst_base_transform_is_passthrough):
9063         * gst/base/gstbasetransform.h:
9064         Make passthrough work using the bufferpools.
9065         Changed API a bit, subclasses have to write into a buffer
9066         provided by the base class.
9067         More debug info in nego functions.
9068         
9069         * gst/elements/gstidentity.c: (gst_identity_init),
9070         (gst_identity_transform):
9071         Port to new base class.
9072
9073 2005-07-15  Wim Taymans  <wim@fluendo.com>
9074
9075         * gst/gstmessage.c: (gst_message_new_state_changed):
9076         * tools/gst-launch.c: (event_loop), (main):
9077         Totally dump messages in -launch with the -m option.
9078         Fix message name for State messages,
9079
9080 2005-07-14  Wim Taymans  <wim@fluendo.com>
9081
9082         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9083         Post error messages on errors.
9084
9085 2005-07-14  Wim Taymans  <wim@fluendo.com>
9086
9087         * gst/gstcaps.c: (gst_caps_do_simplify):
9088         Remove debug info.
9089
9090         * gst/gsterror.h:
9091         Define error for stream stopped.
9092
9093         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9094         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9095         Do proper return values.
9096
9097         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9098         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9099         (gst_pad_get_range):
9100         Better return values.
9101
9102         * gst/gstpad.h:
9103         Reorganise return values, add macro to check for fatal errors.
9104
9105         * gst/gstqueue.c: (gst_queue_chain):
9106         Return proper GstFlowReturn values,
9107
9108 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9109
9110         * docs/gst/gstreamer-sections.txt:
9111         * docs/gst/gstreamer.types:
9112         * docs/gst/tmpl/gst.sgml:
9113         * docs/gst/tmpl/gstbasesink.sgml:
9114         * docs/gst/tmpl/gstbasesrc.sgml:
9115         * docs/gst/tmpl/gstbasetransform.sgml:
9116         * docs/gst/tmpl/gstbin.sgml:
9117         * docs/gst/tmpl/gstbuffer.sgml:
9118         * docs/gst/tmpl/gstcaps.sgml:
9119         * docs/gst/tmpl/gstclock.sgml:
9120         * docs/gst/tmpl/gstcompat.sgml:
9121         * docs/gst/tmpl/gstconfig.sgml:
9122         * docs/gst/tmpl/gstelement.sgml:
9123         * docs/gst/tmpl/gstelementdetails.sgml:
9124         * docs/gst/tmpl/gstelementfactory.sgml:
9125         * docs/gst/tmpl/gstenumtypes.sgml:
9126         * docs/gst/tmpl/gsterror.sgml:
9127         * docs/gst/tmpl/gstevent.sgml:
9128         * docs/gst/tmpl/gstfakesink.sgml:
9129         * docs/gst/tmpl/gstfakesrc.sgml:
9130         * docs/gst/tmpl/gstfilesink.sgml:
9131         * docs/gst/tmpl/gstfilesrc.sgml:
9132         * docs/gst/tmpl/gstfilter.sgml:
9133         * docs/gst/tmpl/gstformat.sgml:
9134         * docs/gst/tmpl/gstghostpad.sgml:
9135         * docs/gst/tmpl/gstimplementsinterface.sgml:
9136         * docs/gst/tmpl/gstindex.sgml:
9137         * docs/gst/tmpl/gstindexfactory.sgml:
9138         * docs/gst/tmpl/gstinfo.sgml:
9139         * docs/gst/tmpl/gstiterator.sgml:
9140         * docs/gst/tmpl/gstmacros.sgml:
9141         * docs/gst/tmpl/gstmemchunk.sgml:
9142         * docs/gst/tmpl/gstminiobject.sgml:
9143         * docs/gst/tmpl/gstobject.sgml:
9144         * docs/gst/tmpl/gstpad.sgml:
9145         * docs/gst/tmpl/gstpadtemplate.sgml:
9146         * docs/gst/tmpl/gstparse.sgml:
9147         * docs/gst/tmpl/gstpipeline.sgml:
9148         * docs/gst/tmpl/gstplugin.sgml:
9149         * docs/gst/tmpl/gstpluginfeature.sgml:
9150         * docs/gst/tmpl/gstquery.sgml:
9151         * docs/gst/tmpl/gstqueue.sgml:
9152         * docs/gst/tmpl/gstregistry.sgml:
9153         * docs/gst/tmpl/gstregistrypool.sgml:
9154         * docs/gst/tmpl/gstscheduler.sgml:
9155         * docs/gst/tmpl/gstschedulerfactory.sgml:
9156         * docs/gst/tmpl/gststructure.sgml:
9157         * docs/gst/tmpl/gstsystemclock.sgml:
9158         * docs/gst/tmpl/gsttaglist.sgml:
9159         * docs/gst/tmpl/gsttagsetter.sgml:
9160         * docs/gst/tmpl/gsttrace.sgml:
9161         * docs/gst/tmpl/gsttrashstack.sgml:
9162         * docs/gst/tmpl/gsttypefind.sgml:
9163         * docs/gst/tmpl/gsttypefindfactory.sgml:
9164         * docs/gst/tmpl/gsttypes.sgml:
9165         * docs/gst/tmpl/gsturihandler.sgml:
9166         * docs/gst/tmpl/gsturitype.sgml:
9167         * docs/gst/tmpl/gstutils.sgml:
9168         * docs/gst/tmpl/gstvalue.sgml:
9169         * docs/gst/tmpl/gstversion.sgml:
9170         * docs/gst/tmpl/gstxml.sgml:
9171         * docs/libs/tmpl/gstcontrol.sgml:
9172         * docs/libs/tmpl/gstdataprotocol.sgml:
9173         * docs/libs/tmpl/gstdparam.sgml:
9174         * docs/libs/tmpl/gstdplinint.sgml:
9175         * docs/libs/tmpl/gstdpman.sgml:
9176         * docs/libs/tmpl/gstdpsmooth.sgml:
9177         * docs/libs/tmpl/gstgetbits.sgml:
9178         * docs/libs/tmpl/gstunitconvert.sgml:
9179         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9180         (gst_push_src_base_init), (gst_push_src_class_init),
9181         (gst_push_src_init), (gst_push_src_create):
9182         * gst/base/gstpushsrc.h:
9183         * gst/elements/gstelements.c:
9184         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9185         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9186         (gst_fake_sink_init), (gst_fake_sink_set_property),
9187         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9188         (gst_fake_sink_event), (gst_fake_sink_preroll),
9189         (gst_fake_sink_render), (gst_fake_sink_change_state):
9190         * gst/elements/gstfakesink.h:
9191         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9192         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9193         (gst_fake_src_base_init), (gst_fake_src_class_init),
9194         (gst_fake_src_init), (gst_fake_src_event_handler),
9195         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9196         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9197         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9198         (gst_fake_src_create_buffer), (gst_fake_src_create),
9199         (gst_fake_src_start), (gst_fake_src_stop):
9200         * gst/elements/gstfakesrc.h:
9201         * gst/elements/gstfilesink.c: (_do_init),
9202         (gst_file_sink_base_init), (gst_file_sink_class_init),
9203         (gst_file_sink_init), (gst_file_sink_dispose),
9204         (gst_file_sink_set_location), (gst_file_sink_set_property),
9205         (gst_file_sink_get_property), (gst_file_sink_open_file),
9206         (gst_file_sink_close_file), (gst_file_sink_query),
9207         (gst_file_sink_event), (gst_file_sink_render),
9208         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9209         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9210         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9211         * gst/elements/gstfilesink.h:
9212         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9213         (gst_file_src_class_init), (gst_file_src_init),
9214         (gst_file_src_finalize), (gst_file_src_set_location),
9215         (gst_file_src_set_property), (gst_file_src_get_property),
9216         (gst_file_src_map_region), (gst_file_src_map_small_region),
9217         (gst_file_src_create_mmap), (gst_file_src_create_read),
9218         (gst_file_src_create), (gst_file_src_is_seekable),
9219         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9220         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9221         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9222         (gst_file_src_uri_handler_init):
9223         * gst/elements/gstfilesrc.h:
9224           more autistic cleanliness in functions/names/defines
9225
9226 2005-07-13  Andy Wingo  <wingo@pobox.com>
9227
9228         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9229         source couldn't negotiate.
9230
9231         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9232         connections again.
9233
9234         * gst/gstutils.h:
9235         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9236         function. I am channeling Hades. Put your boots on suckers!!!
9237
9238 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9239
9240         * testsuite/caps/Makefile.am:
9241         * testsuite/caps/value_compare.c:
9242         * testsuite/caps/value_intersect.c:
9243         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9244           move two testsuite apps over to the check dir
9245
9246 2005-07-12  Wim Taymans  <wim@fluendo.com>
9247
9248         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9249         Added more debug info in the negotiate process.
9250
9251         * gst/gstmessage.h:
9252         Prepare for segment playback.
9253
9254         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9255         Better debugging.
9256
9257         * gst/gstutils.c:
9258         Some more docs.
9259
9260         * tools/gst-launch.c: (main):
9261         NULL pipeline on errors.
9262
9263 2005-07-12  Andy Wingo  <wingo@pobox.com>
9264
9265         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9266         not it comes from a malloc region. Make sure our copy gets freed.
9267
9268 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9269
9270         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9271         * check/gst/gstmessage.c: (GST_START_TEST):
9272         * check/gst/gststructure.c: (GST_START_TEST),
9273         (gst_structure_suite), (main):
9274           more testing
9275         * gst/gstelement.c: (gst_element_message_full):
9276           clean up GError and debug string now that they get copied
9277         * gst/gstmessage.c: (gst_message_new_error),
9278         (gst_message_new_warning), (gst_message_parse_error),
9279         (gst_message_parse_warning):
9280           use GST_TYPE_G_ERROR for structure_new, and take copies of
9281           arguments, so that we don't mess up refcounting
9282
9283 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9284
9285         * check/Makefile.am:
9286           add per-test valgrind targets
9287         * check/gst-libs/gdp.c: (GST_START_TEST),
9288         (gst_data_protocol_suite), (main):
9289           clean up
9290
9291 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9292
9293         * check/Makefile.am:
9294           instate more valgrindable tests
9295         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9296         (GST_START_TEST), (fakesrc_suite):
9297         * check/gst/gstpad.c: (GST_START_TEST):
9298         * check/gst/gststructure.c: (GST_START_TEST):
9299           fix test leaks
9300         * docs/gst/tmpl/gstminiobject.sgml:
9301         * gst/gstpad.c: (gst_pad_finalize):
9302           fix the static mutex leak
9303
9304 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9305
9306         * check/Makefile.am:
9307           add two more tests for valgrinding
9308         * check/gst/gstvalue.c: (GST_START_TEST):
9309           test refcount of deserialized buffer, found a leak
9310         * docs/gst/gstreamer-docs.sgml:
9311         * docs/gst/gstreamer-sections.txt:
9312         * docs/gst/gstreamer.types:
9313         * docs/gst/tmpl/gstminiobject.sgml:
9314           add miniobject to docs
9315         * gst/gstminiobject.c:
9316           add some docs
9317         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9318         (gst_string_unwrap):
9319           fix a hard-to-find invalid write for one of the tests
9320           fix a leak for deserialized buffers
9321
9322 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9323
9324         * docs/pwg/advanced-events.xml:
9325         * docs/pwg/advanced-request.xml:
9326         * docs/pwg/advanced-scheduling.xml:
9327         * docs/pwg/appendix-porting.xml:
9328         * docs/pwg/building-boiler.xml:
9329         * docs/pwg/intro-preface.xml:
9330         * docs/pwg/other-ntoone.xml:
9331           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9332           of example code and explanation for pad activation, loop() and
9333           getrange() functions and a bit more. Remove old comments pointing
9334           to loop-functions.
9335         * examples/pwg/Makefile.am:
9336           Add loop/getrange examples.
9337
9338 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9339
9340         * configure.ac:
9341           check for valgrind binary + some fixes
9342         * check/gst.supp:
9343           valgrind suppressions for the tests
9344         * check/Makefile.am:
9345           add a valgrind: target that valgrinds the unit tests
9346         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9347         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9348         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9349         * check/gst/gstghostpad.c:
9350           added some cleanup
9351         * check/gst/gstdata.c:
9352           removed
9353         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9354         (thread_unref), (gst_mini_object_suite), (main):
9355           added
9356         * gst/gst.c: (gst_deinit):
9357         * gst/gst.h:
9358           add a method to clean up.
9359         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9360         (gst_system_clock_obtain):
9361           allow for disposing the system clock.
9362         * tools/gst-launch.c: (main):
9363           deinit
9364
9365 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9366
9367         * docs/gst/tmpl/gstbasesrc.sgml:
9368         * docs/gst/tmpl/gstfakesrc.sgml:
9369         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9370         (gst_base_src_init), (gst_base_src_set_property),
9371         (gst_base_src_get_property), (gst_base_src_get_range),
9372         (gst_base_src_start):
9373         * gst/base/gstbasesrc.h:
9374           add num-buffers property
9375         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9376         (gst_fakesrc_init), (gst_fakesrc_set_property),
9377         (gst_fakesrc_get_property), (gst_fakesrc_create),
9378         (gst_fakesrc_start):
9379           remove num-buffers property
9380
9381 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9382
9383         * docs/gst/gstreamer-sections.txt:
9384         * docs/gst/tmpl/gstbasesink.sgml:
9385         * docs/gst/tmpl/gstbasesrc.sgml:
9386         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9387         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9388         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9389         (gst_base_sink_set_property), (gst_base_sink_get_property),
9390         (gst_base_sink_handle_object), (gst_base_sink_event),
9391         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9392         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9393         (gst_base_sink_loop), (gst_base_sink_deactivate),
9394         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9395         (gst_base_sink_change_state):
9396         * gst/base/gstbasesink.h:
9397         * gst/base/gstbasesrc.h:
9398         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9399         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9400         (gst_filesink_init):
9401           more macro splitting
9402
9403 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9404
9405         * gst/gstelement.c: (gst_element_get_bus):
9406           add debug
9407         * tools/gst-launch.c: (check_intr), (event_loop):
9408           fix bus leaks
9409
9410 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9411
9412         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9413           fix a caps leak
9414
9415 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9416
9417         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9418         (gst_base_src_finalize):
9419           add finalize method and clean up properly
9420         * gst/gstpipeline.c: (gst_pipeline_dispose):
9421           add debug
9422
9423 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9424
9425         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9426         (gst_bin_suite):
9427           add more things to check
9428         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9429         * gst/gstelement.c:
9430           more debug
9431
9432 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9433
9434         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9435         (GST_START_TEST), (fakesrc_suite):
9436         * check/gst-libs/gdp.c: (GST_START_TEST):
9437         * check/gst/gst.c: (GST_START_TEST):
9438         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9439         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9440         * check/gst/gstbus.c: (GST_START_TEST):
9441         * check/gst/gstcaps.c: (GST_START_TEST):
9442         * check/gst/gstdata.c: (GST_START_TEST):
9443         * check/gst/gstelement.c: (GST_START_TEST):
9444         * check/gst/gstghostpad.c: (GST_START_TEST):
9445         * check/gst/gstiterator.c: (GST_START_TEST):
9446         * check/gst/gstmessage.c: (GST_START_TEST):
9447         * check/gst/gstobject.c: (GST_START_TEST):
9448         * check/gst/gstpad.c: (GST_START_TEST):
9449         * check/gst/gststructure.c: (GST_START_TEST):
9450         * check/gst/gstsystemclock.c: (GST_START_TEST),
9451         (gst_systemclock_suite):
9452         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9453         * check/gst/gstvalue.c: (GST_START_TEST):
9454         * check/pipelines/cleanup.c: (GST_START_TEST):
9455         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9456         * check/states/sinks.c: (GST_START_TEST):
9457         * check/gstcheck.c: (gst_check_init):
9458         * check/gstcheck.h:
9459           add debugging category
9460           use GST_START_TEST now, so we add a debug line
9461
9462 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9463
9464         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9465           add test for state change message on a bin
9466         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9467           add another test
9468         * gst/gstbin.c: (gst_bin_init):
9469         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9470         * gst/gstelement.c: (gst_element_post_message),
9471         (gst_element_set_state):
9472         * gst/gstelementfactory.c: (gst_element_factory_create):
9473         * gst/gstmessage.c: (gst_message_new):
9474         * gst/gstscheduler.c:
9475           various debugging additions and cleanups
9476
9477 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9478
9479         * check/Makefile.am:
9480         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9481         (main):
9482           adding tests for elements
9483         * gst/gstelement.c: (gst_element_dispose):
9484
9485 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9486
9487         * gst/registries/gstlibxmlregistry.c: (load_feature):
9488           plug more leaks.  A simple gst_init() now is leakfree, yay.
9489
9490 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9491
9492         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9493         (gst_xml_registry_load):
9494           plug another memleak
9495
9496 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9497
9498         * configure.ac:
9499           use GST_SET_ERROR_CFLAGS
9500         * docs/faq/cvs.xml:
9501           change to ERROR_CFLAGS
9502
9503 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9504
9505         * configure.ac:
9506           make GST_ERROR_CFLAGS overridable and re-enable Werror
9507         * docs/faq/cvs.xml:
9508           add a note about error CFLAGS
9509         * docs/gst/tmpl/gstfakesrc.sgml:
9510         * gst/elements/gstfakesrc.c:
9511           comment out some unused code
9512         * gst/gst.c: (split_and_iterate):
9513         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9514         (load_feature):
9515           plug some memleaks
9516
9517 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9518
9519         * common/Makefile.am:
9520         * common/gtk-doc.mak:
9521         * docs/gst/Makefile.am:
9522           factor out gtk-doc.mak
9523
9524 2005-07-07  Wim Taymans  <wim@fluendo.com>
9525
9526         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9527         (gst_thread_scheduler_dispose):
9528         Unlock the STREAM_LOCK completely.
9529
9530 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9531
9532         * check/Makefile.am:
9533         * check/elements/.cvsignore:
9534         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9535         (START_TEST), (fakesrc_suite), (main):
9536         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9537         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9538         (gst_fakesrc_create), (gst_fakesrc_start):
9539         * gst/elements/gstfakesrc.h:
9540           adding a first element test
9541
9542 2005-07-07  Andy Wingo  <wingo@pobox.com>
9543
9544         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9545         debug message.
9546
9547 2005-07-07  Wim Taymans  <wim@fluendo.com>
9548
9549         * gst/gstquery.c:
9550         * gst/gstquery.h:
9551         Remove old types
9552
9553 2005-07-07  Wim Taymans  <wim@fluendo.com>
9554
9555         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9556         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9557         Allow subclasses to implement their own negotiation.
9558
9559 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9560
9561         * docs/design/part-gstbin.txt:
9562         * docs/design/part-gstpipeline.txt:
9563           Update design notes to reflect the movement of
9564           responsibility for bus handling from GstPipeline to
9565           GstBin
9566
9567 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9568
9569         * configure.ac:
9570           Remove unnecessary queue2/3/4 examples.
9571
9572 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
9573
9574         * examples/Makefile.am:
9575         * examples/helloworld/helloworld.c: (event_loop), (main):
9576         * examples/queue/queue.c: (event_loop), (main):
9577         * examples/queue2/queue2.c: (main):
9578           Update a couple of the examples to work again.
9579
9580         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9581         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9582          Spelling corrections and extra debug.
9583         
9584         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9585         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9586         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9587         * gst/gstbin.h:
9588         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9589         (gst_pipeline_change_state):
9590         * gst/gstpipeline.h:
9591           Move the bus handler for children to the GstBin, and create a
9592           separate bus for receiving messages from children to the one the
9593           bus sends 'upwards' on.
9594
9595 2005-07-06  Wim Taymans  <wim@fluendo.com>
9596
9597         * gst/base/README:
9598         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9599         (gst_base_sink_handle_object), (gst_base_sink_loop),
9600         (gst_base_sink_change_state):
9601         * gst/base/gstbasesink.h:
9602         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9603         (gst_base_src_init), (gst_base_src_setcaps),
9604         (gst_base_src_getcaps), (gst_base_src_loop),
9605         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9606         (gst_base_src_start), (gst_base_src_change_state):
9607         * gst/base/gstbasesrc.h:
9608         Make basesrc negotiate.
9609         Handle the case where preroll fails in basesink.
9610         Update README.
9611
9612 2005-07-06  Wim Taymans  <wim@fluendo.com>
9613
9614         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9615         Implement the fixate function.
9616         Clean up acceptcaps.
9617
9618 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9619
9620         * docs/pwg/building-filterfactory.xml:
9621         * docs/pwg/pwg.xml:
9622           Remove never-written filter-factory chapter; I'll add the various
9623           base classes to part 4 ("other element types") later on.
9624
9625 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9626
9627         * docs/pwg/advanced-negotiation.xml:
9628         * docs/pwg/building-boiler.xml:
9629         * docs/pwg/building-pads.xml:
9630         * docs/pwg/pwg.xml:
9631         * examples/pwg/Makefile.am:
9632           Add a chapter on caps negotiation, simplify the original code
9633           samples a bit w.r.t. caps negotiation, add link to the advanced
9634           section. Add a bunch of examples showing different use cases of
9635           different types of caps negotiation. Upstream renegotiation isn't
9636           fully documented yet since nobody knows how that works.
9637
9638 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9639
9640         * check/gst/gstpad.c:
9641         * check/gstcheck.c:
9642         * gst/gstpad.c: (gst_pad_get_internal_links_default):
9643           if pad has no parent, return NULL as list of internal links
9644
9645 2005-07-05  Andy Wingo  <wingo@pobox.com>
9646
9647         * gst/elements/gstfilesrc.c:
9648         * gst/elements/gstfakesrc.c: 
9649         * gst/base/gstpushsrc.c:
9650         * gst/base/gstbasesrc.h: 
9651         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9652         
9653 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
9654
9655         * Makefile.am:
9656           better report generation target (lcov needs a patch)
9657
9658 2005-07-05  Andy Wingo  <wingo@pobox.com>
9659
9660         * gst/elements, testsuite: Null if we got it...
9661
9662 2005-07-05  Wim Taymans  <wim@fluendo.com>
9663
9664         * configure.ac:
9665         * libs/gst/dataprotocol/Makefile.am:
9666         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9667         * libs/gst/dataprotocol/dataprotocol.h:
9668         * pkgconfig/Makefile.am:
9669         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9670         * pkgconfig/gstreamer-dataprotocol.pc.in:
9671         Ported dataprotol to 0.9. 
9672         Added pkgconfig files.
9673
9674 2005-07-05  Andy Wingo  <wingo@pobox.com>
9675
9676         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9677         Default to returning TRUE for the case when tranform_caps returns
9678         a fixed caps, like for identity or volume.
9679
9680         * check/gst/gstbus.c (pound_bus_with_messages): 
9681         * check/gst/gstmessage.c (START_TEST): 
9682         * check/pipelines/simple_launch_lines.c (got_handoff): Application
9683         message API change.
9684
9685         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9686         logic weaks here: always run transform_caps, trying passthrough
9687         operation only if the original caps intersects with the transform.
9688
9689         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9690         source and sink caps.
9691
9692         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9693         Intersect the peer caps with the pad template before going into
9694         transform_caps.
9695         (gst_base_transform_transform_caps): More debugging.
9696
9697         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9698         src argument.
9699
9700 2005-07-04  Edward Hervey  <edward@fluendo.com>
9701
9702         * gst/gstutils.c:
9703         * gst/gstutils.h:
9704         (gst_pad_add_*_probe): now returns the signal id for better wrapping
9705         in bindings.
9706
9707 2005-07-04  Andy Wingo  <wingo@pobox.com>
9708
9709         * check/gst/gstpad.c: Only set explicit caps on pads.
9710
9711 2005-07-01  Andy Wingo  <wingo@pobox.com>
9712
9713         * tests/network-clock.scm: Commentary update.
9714
9715         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9716         Didn't really make sense, not implementable with basetransform,
9717         etc.
9718         (gst_identity_transform): Unref inbuf via make_writable. Feeble
9719         attempt at implementing the sync property, needs an unlock method.
9720
9721         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9722         New func, by default returns the same caps (the identity
9723         transformation).
9724         (gst_base_transform_getcaps): Uses transform_caps to return
9725         something sensible.
9726         (gst_base_transform_setcaps): Complicated logic to get caps on
9727         both pads, even if they are different, and to call set_caps once
9728         for every time both pads get their caps set.
9729         (gst_base_transform_handle_buffer): Give the ref to the transform
9730         function. Allows in-place modification of the buffer.
9731
9732         * gst/base/gstbasetransform.h (transform_caps): New class method.
9733         Given caps on one side, what can I do on the other.
9734         (set_caps): Take two caps, one for each side of the element.
9735
9736         * gst/gstpad.h:
9737         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9738         caps in place. This is safe because we can check the mutability of
9739         the caps, and a good idea because fixate functions are just called
9740         as a matter of last resort. (Not actually implemented.)
9741         (gst_pad_set_caps): If the caps we're setting is actually the same
9742         as the existing pad caps, just update the pointer without calling
9743         setcaps. Assert that caps is either NULL or fixed, as per the
9744         docs.
9745
9746         * gst/gstghostpad.c: Update for fixate changes.
9747
9748 2005-07-02  Andy Wingo  <wingo@pobox.com>
9749
9750         * gst/gstcaps.c:
9751         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9752         two refcounts makes it immutable, which is enough. Doc more.
9753
9754 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
9755
9756         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9757           Put the mini_object into GValue as a mini_object,
9758           not a gpointer, since that's how we declared
9759           the signal.
9760
9761 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9762
9763         * examples/pwg/Makefile.am:
9764           Fix buildbot again.
9765
9766 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9767
9768         * docs/pwg/building-testapp.xml:
9769           Add extra check.
9770         * examples/pwg/Makefile.am:
9771           Fix buildbot.
9772
9773 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9774
9775         * configure.ac:
9776         * examples/Makefile.am:
9777         * examples/pwg/Makefile.am:
9778         * examples/pwg/extract.pl:
9779           Enable building the PWG examples.
9780         * docs/pwg/advanced-interfaces.xml:
9781           Add URI interface stub.
9782         * docs/pwg/advanced-types.xml:
9783         * docs/pwg/other-autoplugger.xml:
9784         * docs/pwg/appendix-porting.xml:
9785         * docs/pwg/pwg.xml:
9786           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9787         * docs/pwg/building-boiler.xml:
9788         * docs/pwg/building-chainfn.xml:
9789         * docs/pwg/building-pads.xml:
9790         * docs/pwg/building-props.xml:
9791         * docs/pwg/building-state.xml:
9792         * docs/pwg/building-testapp.xml:
9793           Update the building-*.xml parts for 0.9 changes. All examples
9794           code blocks compile in examples/pwg/*.
9795
9796 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9797
9798         * docs/manual/advanced-autoplugging.xml:
9799         * docs/manual/appendix-checklist.xml:
9800         * docs/manual/appendix-integration.xml:
9801         * docs/manual/highlevel-components.xml:
9802           Fix playbin/decodebin examples, update docs a bit, mention bus
9803           instead of signals in various places, mention kmplayer and
9804           kaffeine since they have a working GStreamer backend in the KDE
9805           section.
9806
9807 2005-06-30  Wim Taymans  <wim@fluendo.com>
9808
9809         * CHANGES-0.9:
9810         * docs/design/draft-ghostpads.txt:
9811         * docs/design/draft-push-pull.txt:
9812         * docs/design/draft-query.txt:
9813         * docs/design/part-TODO.txt:
9814         * docs/design/part-query.txt:
9815         Added CHANGES-0.9 doc, updated status of other docs.
9816         
9817         * gst/gstquery.h:
9818         Remove "hmm" macro
9819
9820 2005-06-30  Wim Taymans  <wim@fluendo.com>
9821
9822         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9823         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9824         (gst_base_sink_change_state):
9825         * gst/base/gstbasesink.h:
9826         Some tweaks, only EOS and a buffer complete a preroll.
9827
9828 2005-06-30  Andy Wingo  <wingo@pobox.com>
9829
9830         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9831         activate_push down to the internal pad as well.
9832
9833 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9834
9835         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9836
9837         * gst/gsttaginterface.c:
9838           Some documentation fixes (#307394 and #307397).
9839
9840 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9841
9842         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9843
9844         * gst/gstvalue.c: (gst_value_intersect_list):
9845           Fix memleak (#309125).
9846
9847 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9848
9849         * docs/manual/advanced-dataaccess.xml:
9850           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9851         * docs/manual/basics-pads.xml:
9852           Add reference for filtered caps to above chapter.
9853
9854 2005-06-30  Wim Taymans  <wim@fluendo.com>
9855
9856         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9857         (gst_bin_change_state):
9858         Probes are gone.
9859         Lame attempt at making the state change function a bit
9860         more readable.
9861
9862 2005-06-30  Wim Taymans  <wim@fluendo.com>
9863
9864         * docs/design/part-clocks.txt:
9865         * docs/design/part-element-sink.txt:
9866         * docs/design/part-events.txt:
9867         * docs/design/part-preroll.txt:
9868         * docs/design/part-states.txt:
9869         Some more tweeks and additions to the docs.
9870
9871 2005-06-30  Wim Taymans  <wim@fluendo.com>
9872
9873         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9874         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9875         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9876         (gst_pad_check_pull_range), (gst_pad_get_range),
9877         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9878         * gst/gstpad.h:
9879         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9880         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9881         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9882         (gst_pad_remove_buffer_probe):
9883         Removed atomic operations, use existing LOCK.
9884         Move exception handling out of main code path.
9885
9886 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9887
9888         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9889         (silly_return_true_function), (gst_pad_class_init),
9890         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9891         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9892         (gst_pad_send_event):
9893           Fix accumulator, add default value by using _emitv() instead
9894           of _emit() for signal emission.
9895
9896 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9897
9898         * docs/manual/advanced-dataaccess.xml:
9899         * examples/manual/Makefile.am:
9900           Add probe example.
9901         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9902           Make work (??).
9903
9904 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9905
9906         * gst/elements/gstfilesink.c: (gst_filesink_render):
9907           Simplify code so that we don't have to handle short
9908           writes and return GST_FLOW_ERROR if an error occured.
9909
9910 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9911
9912         * docs/gst/gstreamer-docs.sgml:
9913           Remove probes more.
9914
9915 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9916
9917         * docs/gst/gstreamer-sections.txt:
9918         * docs/gst/tmpl/gstpad.sgml:
9919         * docs/gst/tmpl/gstprobe.sgml:
9920         * gst/Makefile.am:
9921         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9922         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9923         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9924         (gst_pad_push_event), (gst_pad_send_event):
9925         * gst/gstpad.h:
9926         * gst/gstutils.c: (gst_pad_add_data_probe),
9927         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9928         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9929         (gst_pad_remove_buffer_probe):
9930         * gst/gstutils.h:
9931           Remove old probes, add new g-signal-based probes and some utility
9932           functions.
9933
9934 2005-06-29  Edward Hervey  <edward@fluendo.com>
9935
9936         * gst/gstelementfactory.c:
9937         * gst/gstutils.h:
9938         * gst/gstutils.c:
9939         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9940         the definition to the header file.
9941
9942 2005-06-29  Andy Wingo  <wingo@pobox.com>
9943
9944         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9945         plugins from the source directory.
9946
9947 2005-06-29  Wim Taymans  <wim@fluendo.com>
9948
9949         * docs/gst/tmpl/gstbuffer.sgml:
9950         * docs/gst/tmpl/gstclock.sgml:
9951         Some fixings for blantently wrong text.
9952
9953 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9954
9955         * check/Makefile.am:
9956         * gst/gst.c: (add_path_func), (init_pre):
9957         * gst/gstregistry.c: (gst_registry_add_path):
9958           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9959           only scan the GST_PLUGIN_PATH locations, and not add
9960           system locations
9961
9962 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9963
9964         * docs/gst/gstreamer-sections.txt:
9965         * docs/gst/tmpl/gstbasesrc.sgml:
9966         * gst/gstelement.c:
9967         * gst/gstelement.h:
9968         * gst/gstevent.c:
9969         * gst/gstutils.c:
9970           doc fixes
9971
9972 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9973
9974         * docs/manual/advanced-autoplugging.xml:
9975           Fix autoplugging example.
9976
9977 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9978
9979         * docs/manual/advanced-autoplugging.xml:
9980         * docs/manual/mime-world.fig:
9981           Try to get autoplugging working, fix type detection. Fix text
9982           in hello-world image.
9983
9984 2005-06-29  Wim Taymans  <wim@fluendo.com>
9985
9986         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9987         (gst_base_sink_change_state):
9988         Small debug line.
9989
9990         * gst/gstclock.h:
9991         map SIGNAL and BROADCAST to the right function.
9992
9993         * gst/gstobject.h:
9994         Remove redundant braces.
9995
9996         * gst/gstpad.c: (gst_pad_set_caps):
9997         Don't call setcaps function when reseting caps to NULL.
9998
9999         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10000         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10001         (gst_system_clock_id_unschedule):
10002         Use BROADCAST as this is what we do.
10003
10004 2005-06-29  Wim Taymans  <wim@fluendo.com>
10005
10006         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10007         We are actually prerolling before commiting the state
10008         change. 
10009
10010 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10011
10012         * docs/manual/advanced-clocks.xml:
10013         * docs/manual/advanced-interfaces.xml:
10014         * docs/manual/advanced-metadata.xml:
10015         * docs/manual/advanced-position.xml:
10016         * docs/manual/advanced-schedulers.xml:
10017         * docs/manual/advanced-threads.xml:
10018         * docs/manual/appendix-porting.xml:
10019         * docs/manual/basics-bins.xml:
10020         * docs/manual/basics-bus.xml:
10021         * docs/manual/basics-elements.xml:
10022         * docs/manual/basics-helloworld.xml:
10023         * docs/manual/basics-pads.xml:
10024         * docs/manual/highlevel-components.xml:
10025         * docs/manual/manual.xml:
10026         * docs/manual/thread.fig:
10027           Update (until threads/scheduling) Application Development Manual;
10028           remove GstThread, add GstBus, add simple porting checklist, add
10029           documentation for tag writing, clocks, make all examples until this
10030           part compile and run.
10031         * examples/manual/Makefile.am:
10032           Update from changes to Application Development Manual; add bus
10033           example, remove thread example.
10034
10035 2005-06-28  Wim Taymans  <wim@fluendo.com>
10036
10037         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10038         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10039         (gst_bus_source_dispatch):
10040         Add debugging messages.
10041         Make internal methods static.
10042         Handle the case where the bus is flushed in the handler.
10043         
10044         * gst/gstelement.c: (gst_element_get_bus):
10045         Fix refcount in _get_bus();
10046
10047         * gst/gstpipeline.c: (gst_pipeline_change_state),
10048         (gst_pipeline_get_clock_func):
10049         Clock refcounting fixes.
10050         Handle the case where preroll timed out more gracefully.
10051         
10052         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10053         Clean up the internal thread in dispose. This is needed
10054         for subclasses that actually get disposed.
10055         
10056         * gst/schedulers/threadscheduler.c:
10057         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10058         (gst_thread_scheduler_dispose):
10059         Free thread pool in dispose.
10060
10061 2005-06-28  Andy Wingo  <wingo@pobox.com>
10062
10063         * tests/network-clock-utils.scm (debug, print-event): New utils.
10064
10065         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10066         (*packet-loss*): Unified loss probability.
10067         (network-time): Report out-of-band events.
10068
10069         * tests/plot-data: Add support for out-of-band events. Hack it
10070         into this script instead of passing it down the pipe; should fix
10071         this later.
10072
10073 2005-06-28  Wim Taymans  <wim@fluendo.com>
10074
10075         * docs/gst/gstreamer.types:
10076         * docs/gst/tmpl/gstbasesrc.sgml:
10077         * docs/gst/tmpl/gstpad.sgml:
10078         Docs fixes.
10079
10080 2005-06-28  Wim Taymans  <wim@fluendo.com>
10081
10082         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10083         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10084         (gst_proxy_pad_do_fixatecaps):
10085         Correctly proxy the check_pull_range function.
10086
10087 2005-06-28  Andy Wingo  <wingo@pobox.com>
10088
10089         * tests/network-clock.scm: Removed need for slib.
10090         
10091 2005-06-28  Wim Taymans  <wim@fluendo.com>
10092
10093         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10094         (gst_basesink_preroll_queue_flush):
10095         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10096         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10097         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10098         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10099         (gst_proxy_pad_set_property):
10100         * gst/gstpad.c:
10101         * gst/gstpad.h:
10102         * gst/gstqueue.c: (gst_queue_init):
10103         The deprecated pad loop function is removed now.
10104
10105 2005-06-28  Andy Wingo  <wingo@pobox.com>
10106
10107         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10108         New parameters, simulate network packet loss.
10109
10110         * tests/network-clock-utils.scm: Initialize the RNG.
10111
10112 2005-06-28  Wim Taymans  <wim@fluendo.com>
10113
10114         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10115         (gst_basesink_event), (gst_basesink_deactivate):
10116         Flushing the preroll queue always needs to unlock the waiters.
10117
10118 2005-06-28  Edward Hervey  <edward@fluendo.com>
10119
10120         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10121         Wheen a seek was successful on a pipeline, set the stream_time to the
10122         seek offset in order to have a synchronized stream_time.
10123
10124 2005-06-28  Wim Taymans  <wim@fluendo.com>
10125
10126         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10127         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10128         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10129         (gst_proxy_pad_do_fixatecaps):
10130         Call wrapper function instead of just calling the function
10131         pointers. This takes care of any locking and whatmore.
10132
10133 2005-06-28  Wim Taymans  <wim@fluendo.com>
10134
10135         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10136         (gst_pad_pull_range):
10137         * gst/gstpad.h:
10138         CONNECTED -> LINKED.
10139
10140 2005-06-28  Andy Wingo  <wingo@pobox.com>
10141
10142         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10143         source-munging commit!!!
10144
10145         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10146         (gst_object_sink): Take gpointer arguments, not GstObject --
10147         avoids casts. Like GLib.
10148
10149         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10150         activate.
10151
10152 2005-06-27  Andy Wingo  <wingo@pobox.com>
10153
10154         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10155         remaining buffer.
10156
10157         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10158         returns a sorted copy of the trace list.
10159         (gst_alloc_trace_print_live): New API, only prints traces with
10160         live objects. Sort the list.
10161         (gst_alloc_trace_print_all): Sort the list.
10162         (gst_alloc_trace_print): Align columns.
10163
10164         * gst/elements/gstttypefindelement.c:
10165         * gst/elements/gsttee.c:
10166         * gst/base/gstbasesrc.c:
10167         * gst/base/gstbasesink.c:
10168         * gst/base/gstbasetransform.c:
10169         * gst/gstqueue.c: Adapt for pad activation changes.
10170
10171         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10172         sched.
10173         (gst_pipeline_dispose): Drop ref on sched.
10174
10175         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10176         (gst_pad_activate_default): Push mode by default.
10177         (pre_activate_switch, post_activate_switch): New stubs, things to
10178         do before and after switching activation modes on pads.
10179         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10180         the pad's activate function to choose which mode to activate.
10181         Shortcut on deactivation and call the right function directly.
10182         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10183         mode.
10184         (gst_pad_activate_push): New API, same for push mode.
10185         (gst_pad_set_activate_function) 
10186         (gst_pad_set_activatepull_function) 
10187         (gst_pad_set_activatepush_function): Setters for new API.
10188
10189         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10190         Trace all miniobjects.
10191         (gst_mini_object_make_writable): Unref the arg if we copy, like
10192         gst_caps_make_writable.
10193
10194         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10195
10196         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10197         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10198         Adapt for new pad API.
10199
10200         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10201
10202         * gst/gstelement.h:
10203         * gst/gstelement.c (gst_element_iterate_src_pads) 
10204         (gst_element_iterate_sink_pads): New API functions.
10205         
10206         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10207         should fold into gstiterator.c in some form.
10208         (gst_element_pads_activate): Simplified via use of fold and
10209         delegation of decisions to gstpad->activate.
10210
10211         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10212         help in debugging.
10213
10214         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10215         class once in init, like gstmessage. Didn't run into this issue
10216         but it seems correct. Don't initialize a trace, gstminiobject does
10217         that.
10218
10219         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10220         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10221         to the bus.
10222         (assert_live_count): New util function, uses alloc traces to check
10223         cleanup.
10224
10225         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10226         To be modified when unlink drops the internal pad.
10227
10228 2005-06-27  Wim Taymans  <wim@fluendo.com>
10229
10230         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10231         (gst_bin_change_state):
10232         Cleanup the get_state() function a little, make sure it
10233         iterates the same set of elements.
10234         Added stub iterate_state_order().
10235
10236 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10237
10238         * docs/gst/gstreamer-docs.sgml:
10239         * docs/gst/gstreamer-sections.txt:
10240         * docs/gst/gstreamer.types:
10241         * docs/gst/tmpl/gstbasesink.sgml:
10242         * docs/gst/tmpl/gstbasesrc.sgml:
10243         * docs/gst/tmpl/gstbasetransform.sgml:
10244         * docs/gst/tmpl/gstelement.sgml:
10245         * docs/gst/tmpl/gstiterator.sgml:
10246         * gst/base/gstbasesrc.c:
10247         * gst/base/gstbasesrc.h:
10248         * gst/base/gstbasetransform.h:
10249         * gst/gstelement.c:
10250         * gst/gstiterator.h:
10251           adding basetransform and iterator docs
10252
10253 2005-06-27  Andy Wingo  <wingo@pobox.com>
10254
10255         * docs/design/part-activation.txt: Notes on how activation should
10256         work -- not quite implemented yet.
10257
10258 2005-06-25  Wim Taymans  <wim@fluendo.com>
10259
10260         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10261         At least get the chain function correct, needs more
10262         fixing.
10263
10264 2005-06-25  Wim Taymans  <wim@fluendo.com>
10265
10266         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10267         (gst_basesink_handle_object), (gst_basesink_event),
10268         (gst_basesink_do_sync), (gst_basesink_handle_event),
10269         (gst_basesink_change_state):
10270         * gst/gsttask.h:
10271         Right, two problems here: ghostpads don't take locks and
10272         glib _rec_mutex_lock_full() with depth==0 still locks.
10273         Catch illegal locking and g_warn them.
10274
10275 2005-06-25  Wim Taymans  <wim@fluendo.com>
10276
10277         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10278         Have to check for completion now...
10279
10280 2005-06-25  Wim Taymans  <wim@fluendo.com>
10281
10282         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10283         (gst_basesink_handle_object), (gst_basesink_event),
10284         (gst_basesink_do_sync), (gst_basesink_handle_event),
10285         (gst_basesink_change_state):
10286         * gst/gstpad.h:
10287         Unlock STREAM_LOCK whatever the recursion was.
10288
10289 2005-06-25  Wim Taymans  <wim@fluendo.com>
10290
10291         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10292         (gst_basesink_preroll_queue_empty),
10293         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10294         (gst_basesink_event), (gst_basesink_do_sync),
10295         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10296         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10297         (gst_basesink_change_state):
10298         Reworked the base sink, handle event and buffer serialisation
10299         correctly and removed possible deadlock.
10300         Handle EOS correctly.
10301
10302 2005-06-25  Wim Taymans  <wim@fluendo.com>
10303
10304         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10305         (gst_pipeline_change_state):
10306         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10307         Allow elements to post EOS in the state change function.
10308         Fix up -launch, make it exit the poll loop when the
10309         pipeline actually changed state.
10310         Fix up warning parsing in -launch.
10311
10312 2005-06-25  Wim Taymans  <wim@fluendo.com>
10313
10314         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10315         (gst_tee_sink_activate):
10316         Core takes STREAM_LOCK for us now.
10317
10318 2005-06-25  Wim Taymans  <wim@fluendo.com>
10319
10320         * gst/gstelement.c: (gst_element_get_state_func),
10321         (gst_element_set_state):
10322         * gst/gstelement.h:
10323         * gst/gstmessage.c: (gst_message_parse_error),
10324         (gst_message_parse_warning):
10325         Keep track of current target state while performing a state
10326         change so that subclasses can do something interesting.
10327         Fix parsing of warning/error messages when GError is NULL.
10328
10329 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10330
10331         * docs/gst/Makefile.am:
10332         * docs/gst/gstreamer-docs.sgml:
10333         * docs/gst/gstreamer-sections.txt:
10334         * docs/gst/gstreamer.types:
10335         * docs/gst/tmpl/gstbasesink.sgml:
10336         * docs/gst/tmpl/gstbasesrc.sgml:
10337         * docs/gst/tmpl/gstbin.sgml:
10338         * docs/gst/tmpl/gstcompat.sgml:
10339         * docs/gst/tmpl/gstfakesink.sgml:
10340         * docs/gst/tmpl/gstfakesrc.sgml:
10341         * docs/gst/tmpl/gstfilesink.sgml:
10342         * docs/gst/tmpl/gstfilesrc.sgml:
10343         * docs/gst/tmpl/gstindex.sgml:
10344         * docs/manual/appendix-quotes.xml:
10345         * gst/base/gstbasesrc.h:
10346         * gst/elements/gstfakesrc.h:
10347         * gst/gstmessage.h:
10348           start pulling in base classes and elements in our docs
10349
10350 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10351
10352         * docs/gst/Makefile.am:
10353         * docs/libs/Makefile.am:
10354           fixed make distcheck with gtk-doc 1.3
10355
10356 2005-06-23  Wim Taymans  <wim@fluendo.com>
10357
10358         * gst/gstelement.c: (gst_element_get_state_func),
10359         (gst_element_set_state), (gst_element_change_state):
10360         When the state did not change, also report NO_PREROLL
10361         when it matters.
10362
10363 2005-06-23  Wim Taymans  <wim@fluendo.com>
10364
10365         * gst/gstpad.c: (gst_pad_event_default):
10366         * gst/gstqueue.c: (gst_queue_loop):
10367         No unsafe task pausing please.
10368
10369 2005-06-23  Wim Taymans  <wim@fluendo.com>
10370
10371         * gst/schedulers/threadscheduler.c:
10372         (gst_thread_scheduler_task_start),
10373         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10374         Ref the task before pushing it on the threadpool. This
10375         makes sure that we have a ref when the threadfunction is
10376         actually called.
10377
10378 2005-06-23  Andy Wingo  <wingo@pobox.com>
10379
10380         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10381         offset is greater than the file's size.
10382
10383         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10384         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10385         * gst/gstobject.c (gst_object_class_init): Make the class lock
10386         recursive. Wim won't let me drop deep_notify. Decodebin works
10387         again, whoopdy doo.
10388
10389         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10390         internal pad, and hacks accordingly. Doesn't do it on the target
10391         pad because we change its caps. Probably catches all cases of
10392         interest tho.
10393         (gst_ghost_pad_set_property): Connect to notify::caps as
10394         appropritate.
10395
10396         * tests/network-clock.scm (plot-simulation): Pipe data to the
10397         elite python skript.
10398
10399         * tests/network-clock-utils.scm (define-parameter): New macro,
10400         defines a parameter that can be set via the command line.
10401         (set-parameter!, parse-parameter-arguments): Command line args
10402         parser.
10403
10404         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10405         stdin.
10406
10407 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10408
10409         * gst/elements/gsttypefindelement.c:
10410         (gst_type_find_element_handle_event):
10411           Don't restart typefinding on a discont.
10412         * gst/gstelement.c: (gst_element_set_state):
10413           Debug spelling fix.
10414         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10415           Allow changing mode of an active pad.
10416           Debug output fixes.
10417         * gst/registries/gstlibxmlregistry.c: (load_feature):
10418           Don't cast a static pad template to a normal pad template.
10419
10420 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10421
10422         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10423         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10424           remove gst_strtoll completely, since it didn't actually do
10425           anything more than what g_ascii_strtoull already does.
10426           check for range errors when deserializing
10427           do a cast for the unsigned cases; but further fixing needs
10428           a decision on what the interpretation of "(int)" and
10429           deserialization should be for values that fall outside the
10430           type's boundaries (ie, refuse, or interpret as casting)
10431
10432 2005-06-23  Wim Taymans  <wim@fluendo.com>
10433
10434         * check/Makefile.am:
10435         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10436         * docs/design/part-live-source.txt:
10437         * docs/design/part-states.txt:
10438         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10439         (gst_basesrc_set_live), (gst_basesrc_is_live),
10440         (gst_basesrc_get_range), (gst_basesrc_activate),
10441         (gst_basesrc_change_state):
10442         * gst/base/gstbasesrc.h:
10443         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10444         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10445         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10446         * gst/gstelement.c: (gst_element_get_state_func),
10447         (gst_element_set_state):
10448         * gst/gstelement.h:
10449         * gst/gsttypes.h:
10450         * tools/gst-launch.c: (event_loop), (main):
10451         Added support for live sources and other elements that
10452         cannot do preroll.
10453         Updated design docs, added live-source design doc.
10454         Implemented live source functionality in basesrc
10455         Fix error condition in _bin_get_state()
10456         Implement live source handling in -launch.
10457         Added check for live sources.
10458         Fixed case in GstBin where elements were changed state
10459         multiple times.
10460
10461
10462 2005-06-23  Andy Wingo  <wingo@pobox.com>
10463
10464         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10465         borken refcounting.
10466
10467         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10468         gst_caps_replace takes care of this for us.
10469
10470         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10471         gst_pad_set_caps on the target, not just its setcaps() function.
10472
10473         * tests/network-clock.scm: 
10474         * tests/network-clock-utils.scm: A network clock simulator.
10475         Something of an algorithmic testbed before doing something in C.
10476
10477 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10478
10479         * check/Makefile.am:
10480         * check/gst/capslist.h:
10481           copy over from 0.8, and add two with bitmasks specified with
10482           (int) 0xFF...
10483         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10484           add test to parse everything from capslist.h
10485         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10486         (main):
10487           add test for structure deserialization
10488         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10489           add tests for deserialization of strings to int types
10490         * gst/gststructure.c: (gst_structure_nth_field_name):
10491         * gst/gststructure.h:
10492           add a way to get the name of a field referenced by index
10493         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10494           instead of checking if the resulting long long lies between
10495           min and max, we check if the long long would fit into
10496           a number of bytes for the final type.
10497           This fixes cases where a string represents 2^32 - 1, which
10498           when cast to int would be the (valid) -1, but is bigger than
10499           G_MAXINT
10500
10501 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10502
10503         * gst/parse/grammar.y:
10504           add a log line for type deserialization
10505
10506 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10507
10508         * check/gst/gstvalue.c: (START_TEST):
10509         * gst/gstvalue.c: (gst_value_deserialize):
10510           return long long, not int, so gint64 deserialization actually
10511           works.  Is there any flag that makes the compiler check this ?
10512           Fixes #308559
10513
10514 2005-06-22  Wim Taymans  <wim@fluendo.com>
10515
10516         * gst/gstbuffer.h:
10517         Added convenience macros for setting buffers in GValue.
10518
10519 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10520
10521         * check/gst/.cvsignore:
10522         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10523           add a test deserializing int64, and comment part out because
10524           it fails, yay !
10525
10526 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10527
10528         * check/Makefile.am:
10529         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10530         * testsuite/Makefile.am:
10531         * testsuite/caps/Makefile.am:
10532         * testsuite/caps/value_serialize.c:
10533         * testsuite/test_gst_init.c:
10534           move a value_serialize test over
10535
10536 2005-06-20  Wim Taymans  <wim@fluendo.com>
10537
10538         * gst/gstpad.c:
10539         Small doc updates.
10540         
10541         * gst/gstvalue.c: (gst_value_compare_buffer),
10542         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10543         (gst_value_compare_flags), (gst_value_serialize_flags),
10544         (gst_value_deserialize_flags), (_gst_value_initialize):
10545         Fix serialisation of buffers, they are not boxed types anymore
10546
10547 2005-06-20  Wim Taymans  <wim@fluendo.com>
10548
10549         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10550         Testcase to show error in buffer-on-caps serialisation.
10551
10552 2005-06-20  Andy Wingo  <wingo@pobox.com>
10553
10554         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10555         will be adding to later.
10556
10557         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10558         if its socks fill with rocks.
10559         (gst_system_clock_obtain): Set the name on object construction.
10560         Avoid double-checked locking.
10561
10562 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
10563
10564         * gst/gsturi.c: (gst_element_make_from_uri):
10565           Fix potential endless loop.
10566
10567 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10568
10569         * check/Makefile.am:
10570           add gsttag
10571         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10572         (main):
10573           move over from testsuite dir and clean up
10574         * configure.ac:
10575         * gst/gsttag.c:
10576         * testsuite/Makefile.am:
10577         * testsuite/tags/.cvsignore:
10578         * testsuite/tags/Makefile.am:
10579         * testsuite/tags/merge.c:
10580           remove testsuite/tags
10581
10582 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10583
10584         * docs/gst/gstreamer-sections.txt:
10585         * docs/gst/tmpl/gstenumtypes.sgml:
10586         * win32/gstenumtypes.c:
10587           clean up documentation build a little
10588
10589 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10590
10591         * check/gstcheck.h:
10592           add macros for checking refcounts on objects and caps
10593         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10594           add some more unit tests
10595         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10596         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10597           fix leaked refcounts (I hope :)) so unittest works
10598         * gst/gstpad.h:
10599           whitespace removal
10600
10601 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10602
10603         * configure.ac: back to HEAD
10604
10605 === release 0.9.1 ===
10606
10607 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10608
10609         * NEWS:
10610         * RELEASE:
10611           updated
10612
10613 2005-06-17  Andy Wingo  <wingo@pobox.com>
10614
10615         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10616         assert; it's always possible that the pad gets deactivated in
10617         between the checks in gstpad.c and the implementation. Rely on
10618         finish_preroll() to return a FLUSHING or similar instead of on the
10619         assert.
10620         
10621         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10622         clock and post an EOS message if we come out of finish_preroll in
10623         the playing state.
10624
10625 2005-06-16  David Schleef  <ds@schleef.org>
10626
10627         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10628         (gst_capsfilter_set_property): Allow NULL as possible value
10629         for filter_caps property, indicating GST_CAPS_ANY.
10630
10631 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10632
10633         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10634           fix debug output
10635         * gst/schedulers/Makefile.am:
10636           use libgst prefix
10637         * gstreamer.spec.in:
10638           fix spec for it
10639
10640 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10641
10642         * gstreamer.spec.in:
10643           clean up
10644
10645 2005-06-08  Andy Wingo  <wingo@pobox.com>
10646
10647         * gst/gstutils.c: RPAD fixes all around.
10648         (gst_element_link_pads): Refcounting fixes.
10649
10650         * tools/gst-inspect.c:
10651         * tools/gst-xmlinspect.c:
10652         * parse/grammar.y:
10653         * gst/base/gsttypefindhelper.c:
10654         * gst/base/gstbasesink.c:
10655         * gst/gstqueue.c: RPAD fixes.
10656
10657         * gst/gstghostpad.h:
10658         * gst/gstghostpad.c: New ghost pad implementation as full proxy
10659         pads. The tricky thing is they provide both source and sink
10660         interfaces, since they proxy the internal pad for the external
10661         pad, and vice versa. Implement with lower-level ProxyPad objects,
10662         with the interior proxy pad as a child of the exterior ghost pad.
10663         Should write a doc on this.
10664         
10665         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10666         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10667         gst_object API.
10668         
10669         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10670         pads are real pads. No ghost pads in this file. Not documenting
10671         the myriad s/RPAD/PAD/ and REALIZE fixes.
10672         (gst_pad_class_init): Add properties for "direction" and
10673         "template". Both are construct-only, so they can't change during
10674         the life of the pad. Fixes properly deriving from GstPad.
10675         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10676         derived objects, just set properties when creating the objects via
10677         g_object_new.
10678         (gst_pad_get_parent): Implement as a function, return NULL if the
10679         parent is not an element.
10680         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10681         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10682         
10683         * gst/gstobject.c (gst_object_class_init): Make name a construct
10684         property. Don't set it in the object init.
10685
10686         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10687         with UNKNOWN direction.
10688         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10689         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10690         (gst_element_remove_pad): Remove ghost-pad special cases.
10691         (gst_element_pads_activate): Remove rpad cruft.
10692
10693         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10694         catch the pad's-parent-not-an-element case.
10695
10696         * gst/gst.h: Include gstghostpad.h.
10697
10698         * gst/gst.c (init_post): No more real, ghost pads.
10699
10700         * gst/Makefile.am: Add gstghostpad.[ch].
10701
10702         * check/Makefile.am:
10703         * check/gst/gstbin.c:
10704         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10705         into a bin creates ghost pads, and that the refcounts are right.
10706         Partly moved from gstbin.c.
10707
10708 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10709
10710         * check/gst-libs/.cvsignore:
10711         * check/gst/.cvsignore:
10712         * check/pipelines/.cvsignore:
10713           ignore more
10714         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10715         (START_TEST), (cleanup_suite), (main):
10716           add some tests related to cleanup after running pipelines
10717
10718 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10719
10720         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10721           add a testsuite for GstBuffer
10722
10723 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10724
10725         * gst/gstminiobject.h:
10726           add defines for accessing the refcount
10727
10728 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
10729
10730         * Makefile.am: added support for html unit test coverage reports
10731
10732 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
10733
10734         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10735           Free existing caps if the capsfilter changes. Add a FIXME about
10736           setting those caps on the pads.
10737
10738         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10739           Before adding a ghost pad to a parent bin, check that there isn't
10740           already one for the element on the bin. Prevents infinite recursion
10741           when using decodebin in parse pipelines. Andy says he'll rewrite the
10742           way this works anyway, so ignore the hack.
10743
10744 2005-06-02  Andy Wingo  <wingo@pobox.com>
10745
10746         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10747         file size, pass it on to the type find helper.
10748
10749         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10750         segment_start and segment_end properly according to the seek
10751         method. Segment_end is still a bit flaky because offset can be
10752         negative for CUR and END cases, but it takes -1 as an "unset"
10753         value.
10754
10755 2005-06-02  Wim Taymans  <wim@fluendo.com>
10756
10757         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10758         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10759         (gst_basesink_activate):
10760         * gst/base/gstbasesink.h:
10761         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10762         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10763         (gst_pad_query), (gst_pad_start_task):
10764         * gst/gstpad.h:
10765         * gst/gstqueue.c: (gst_queue_bufferalloc),
10766         (gst_queue_handle_sink_event), (gst_queue_chain):
10767         Bufferalloc: return GstFlowReturn to more accuratly report
10768         why allocation failed.
10769
10770 2005-06-02  Wim Taymans  <wim@fluendo.com>
10771
10772         * gst/gstpipeline.c: (gst_pipeline_send_event):
10773         Take snapshot of state without blocking.
10774
10775 2005-06-02  Wim Taymans  <wim@fluendo.com>
10776
10777         * docs/design/part-TODO.txt:
10778         * docs/design/part-caps.txt:
10779         * docs/design/part-clocks.txt:
10780         * docs/design/part-negotiation.txt:
10781         * docs/design/part-preroll.txt:
10782         Small doc updates 
10783
10784 2005-05-30  Wim Taymans  <wim@fluendo.com>
10785
10786         * gst/elements/gstidentity.c: (gst_identity_event),
10787         (gst_identity_transform), (gst_identity_get_property):
10788         Protect last_message property as it is accessed from
10789         multiple threads.
10790
10791 2005-05-30  Wim Taymans  <wim@fluendo.com>
10792
10793         * gst/gstelement.c: (gst_element_init),
10794         (gst_element_pads_activate), (gst_element_change_state):
10795         Slicker pad activation code.
10796
10797 2005-05-30  Wim Taymans  <wim@fluendo.com>
10798
10799         * gst/Makefile.am:
10800         * gst/gstelement.h:
10801         * gst/gstelementfactory.h:
10802         * gst/gsttypes.h:
10803         Move elementfactory methods to separate .h file.
10804
10805 2005-05-30  Wim Taymans  <wim@fluendo.com>
10806
10807         * docs/design/part-overview.txt:
10808         * gst/gstsystemclock.h:
10809         Small typo fixes, doc updates.
10810
10811 2005-05-30  Wim Taymans  <wim@fluendo.com>
10812
10813         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10814         (init_popt_callback):
10815         Remove cpu-opt flag.
10816
10817 2005-05-30  Wim Taymans  <wim@fluendo.com>
10818
10819         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10820         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10821         * gst/gstbuffer.h:
10822         Avoid typechecking in places where not needed.
10823         Added accessor for malloc_data.
10824
10825 2005-05-30  Wim Taymans  <wim@fluendo.com>
10826
10827         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10828         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10829         (gst_pad_configure_sink), (gst_pad_configure_src),
10830         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10831         (gst_pad_start_task):
10832         Propagate errors from _set_caps() in configure_src/sink
10833         functions instead of returning TRUE.
10834         FLUSH events can travel up and downstream
10835
10836
10837 2005-05-30  Wim Taymans  <wim@fluendo.com>
10838
10839         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10840         (gst_basesink_activate):
10841         Handle EOS in preroll.
10842
10843 2005-05-30  Wim Taymans  <wim@fluendo.com>
10844
10845         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10846         (gst_queue_loop), (gst_queue_handle_src_event):
10847         Remove old pieces of code
10848         Flushing the queue in an upstream event is a very bad idea.
10849
10850 2005-05-26  Andy Wingo  <wingo@pobox.com>
10851
10852         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10853         gst_value_set_mini_object so as to add a ref on the object (which
10854         will be removed when the value is unset).
10855
10856         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10857         arg type in ::handoff.
10858
10859         * gst/gstelement.c (gst_element_change_state): Also deactivate
10860         pads in READY->NULL, just in case the element didn't make it to
10861         PAUSED. Wingo tested, Wim approved.
10862
10863 2005-05-26  Wim Taymans  <wim@fluendo.com>
10864
10865         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10866         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10867         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10868         A flushing pad cannot be used to alloc_buffer from.
10869
10870 2005-05-26  Wim Taymans  <wim@fluendo.com>
10871
10872         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10873         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10874         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10875         (gst_bus_create_watch), (gst_bus_add_watch_full):
10876         * gst/gstbus.h:
10877         Implement a real GSource and use g_main_context_wakeup() to
10878         signal new messages instead of the socketpair.
10879
10880 2005-05-25  Wim Taymans  <wim@fluendo.com>
10881
10882         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10883         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10884         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10885         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10886         (gst_pad_send_event), (gst_pad_start_task):
10887         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10888         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10889         (gst_queue_sink_activate), (gst_queue_src_activate),
10890         (gst_queue_change_state):
10891         * gst/gstqueue.h:
10892         Fix state changes for non sinks. We now change sinks, then elements
10893         with unconnected srcpads, then the rest.
10894         More efficient queue unlocking in flush and state changes.
10895         Set the pad activate mode even if it does not have an activate
10896         function.
10897
10898 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10899
10900         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10901           Don't go in pull mode for non-seekable sources.
10902         * gst/elements/gsttypefindelement.h:
10903         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10904         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10905         (free_entry), (stop_typefinding),
10906         (gst_type_find_element_handle_event), (find_peek),
10907         (gst_type_find_element_chain), (do_pull_typefind),
10908         (gst_type_find_element_change_state):
10909           Allow typefinding (w/o seeking) in push-mode, simplified version
10910           of what was in 0.8.
10911         * gst/gstutils.c: (gst_buffer_join):
10912         * gst/gstutils.h:
10913           gst_buffer_join() from 0.8.
10914
10915 2005-05-25  Wim Taymans  <wim@fluendo.com>
10916
10917         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10918         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10919         (gst_pad_send_event), (gst_pad_start_task):
10920         Disable attempt at mode switching until it is figured out.
10921
10922 2005-05-25  Wim Taymans  <wim@fluendo.com>
10923
10924         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10925         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10926         (gst_basesink_finish_preroll), (gst_basesink_chain),
10927         (gst_basesink_loop), (gst_basesink_activate),
10928         (gst_basesink_change_state):
10929         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10930         (gst_basesrc_get_range), (gst_basesrc_loop),
10931         (gst_basesrc_activate):
10932         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10933         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10934         (gst_real_pad_init), (gst_real_pad_set_property),
10935         (gst_real_pad_get_property), (gst_pad_set_active),
10936         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10937         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10938         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10939         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10940         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10941         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10942         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10943         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10944         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10945         (gst_pad_stop_task):
10946         * gst/gstpad.h:
10947         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10948         (gst_queue_loop), (gst_queue_src_activate):
10949         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10950         (gst_task_get_state):
10951         * gst/gsttask.h:
10952         * gst/schedulers/threadscheduler.c:
10953         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10954         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10955         in task function.
10956         Remove ACTIVE pad flag, use FLUSHING everywhere
10957         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10958         functions.
10959         Add locks around IS_FLUSHING when reading.
10960         Take STREAM lock in chain(), get_range() functions so plugins
10961         don't need to take it anymore.
10962         
10963
10964
10965 2005-05-25  Wim Taymans  <wim@fluendo.com>
10966
10967         * tools/gst-launch.c: (event_loop):
10968         Unref message after using its contents instead of
10969         before.
10970
10971 2005-05-24  Wim Taymans  <wim@fluendo.com>
10972
10973         * docs/design/draft-ghostpads.txt:
10974         * docs/design/draft-push-pull.txt:
10975         * docs/design/draft-query.txt:
10976         * docs/design/part-overview.txt:
10977         Docs updates, added general overview doc.
10978
10979 2005-05-21  David Schleef  <ds@schleef.org>
10980
10981         * docs/gst/tmpl/old/GstBin.sgml:
10982         * docs/gst/tmpl/old/GstBuffer.sgml:
10983         * docs/gst/tmpl/old/GstCaps.sgml:
10984         * docs/gst/tmpl/old/GstClock.sgml:
10985         * docs/gst/tmpl/old/GstCompat.sgml:
10986         * docs/gst/tmpl/old/GstData.sgml:
10987         * docs/gst/tmpl/old/GstElement.sgml:
10988         * docs/gst/tmpl/old/GstEvent.sgml:
10989         * docs/gst/tmpl/old/GstIndex.sgml:
10990         * docs/gst/tmpl/old/GstStructure.sgml:
10991         * docs/gst/tmpl/old/GstTag.sgml:
10992         * docs/gst/tmpl/old/cothreads.sgml:
10993         * docs/gst/tmpl/old/cothreads_compat.sgml:
10994         * docs/gst/tmpl/old/gettext.sgml:
10995         * docs/gst/tmpl/old/gobject2gtk.sgml:
10996         * docs/gst/tmpl/old/grammar.tab.sgml:
10997         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10998         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10999         * docs/gst/tmpl/old/gst_private.sgml:
11000         * docs/gst/tmpl/old/gstaggregator.sgml:
11001         * docs/gst/tmpl/old/gstarch.sgml:
11002         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11003         * docs/gst/tmpl/old/gstbufferstore.sgml:
11004         * docs/gst/tmpl/old/gstdata_private.sgml:
11005         * docs/gst/tmpl/old/gstdisksink.sgml:
11006         * docs/gst/tmpl/old/gstdisksrc.sgml:
11007         * docs/gst/tmpl/old/gstelementfactory.sgml:
11008         * docs/gst/tmpl/old/gstextratypes.sgml:
11009         * docs/gst/tmpl/old/gstfakesink.sgml:
11010         * docs/gst/tmpl/old/gstfakesrc.sgml:
11011         * docs/gst/tmpl/old/gstfdsink.sgml:
11012         * docs/gst/tmpl/old/gstfdsrc.sgml:
11013         * docs/gst/tmpl/old/gstfilesink.sgml:
11014         * docs/gst/tmpl/old/gstfilesrc.sgml:
11015         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11016         * docs/gst/tmpl/old/gstidentity.sgml:
11017         * docs/gst/tmpl/old/gstindexfactory.sgml:
11018         * docs/gst/tmpl/old/gstmarshal.sgml:
11019         * docs/gst/tmpl/old/gstmd5sink.sgml:
11020         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11021         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11022         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11023         * docs/gst/tmpl/old/gstpipefilter.sgml:
11024         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11025         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11026         * docs/gst/tmpl/old/gstshaper.sgml:
11027         * docs/gst/tmpl/old/gstspider.sgml:
11028         * docs/gst/tmpl/old/gstspideridentity.sgml:
11029         * docs/gst/tmpl/old/gststatistics.sgml:
11030         * docs/gst/tmpl/old/gsttee.sgml:
11031         * docs/gst/tmpl/old/gsttimecache.sgml:
11032         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11033         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11034         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11035         * docs/gst/tmpl/old/types.sgml:
11036           I didn't intend to add these or check them in.
11037
11038 2005-05-19  David Schleef  <ds@schleef.org>
11039
11040         * configure.ac: Use -no-common everywhere.  In a sane world, it
11041           would be the default in libtool, because without it, you can't
11042           build DLLs on Windows.
11043         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11044         * docs/gst/gstreamer-sections.txt:
11045         * docs/gst/tmpl/gstcpu.sgml:
11046         * docs/gst/tmpl/gstdata.sgml:
11047         * docs/gst/tmpl/gstthread.sgml:
11048
11049 2005-05-19  David Schleef  <ds@schleef.org>
11050
11051         * gst/gstminiobject.c: (gst_value_set_mini_object),
11052         (gst_value_take_mini_object), (gst_value_get_mini_object):
11053         * gst/gstminiobject.h: Add GValue set/get functions.
11054
11055 2005-05-19  Wim Taymans  <wim@fluendo.com>
11056
11057         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11058         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11059         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11060         * gst/gstbuffer.h:
11061         * gst/gstbus.c: (gst_bus_post):
11062         * gst/gstelement.c: (gst_element_get_random_pad):
11063         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11064         Make subbufer unref the parent in finalize.
11065         some more debugging info.
11066
11067
11068 2005-05-19  Wim Taymans  <wim@fluendo.com>
11069
11070         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11071         (gst_basesink_init), (gst_basesink_finalize),
11072         (gst_basesink_activate), (gst_basesink_change_state):
11073         Don't free preroll queue too early.
11074
11075 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11076
11077         * gst/Makefile.am:
11078         * gst/ROADMAP:
11079           Hi, I'm outdated. Please shoot me.
11080
11081 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11082
11083         * gst/gstpipeline.c: (gst_pipeline_send_event):
11084           Do not access variables after they have been deleted.
11085
11086 2005-05-19  Wim Taymans  <wim@fluendo.com>
11087
11088         * tools/gst-inspect.c: (print_plugin_features):
11089         A plugin feature does unfortunatly not use the
11090         object name yet...
11091
11092 2005-05-18  Wim Taymans  <wim@fluendo.com>
11093
11094         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11095         Port _span() functions to new subbuffers.
11096
11097 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11098
11099         * gst/gstbin.c: (gst_bin_add_func):
11100           Fix clock settery in bins when adding kids after the clock has
11101           been selected.
11102
11103 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11104
11105         * gst/elements/gstidentity.c: (gst_identity_class_init):
11106           Workaround until signals support GstMiniObject.
11107
11108 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11109
11110         * gst/gstbuffer.c:
11111         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11112
11113 2005-05-18  Wim Taymans  <wim@fluendo.com>
11114
11115         * gst/base/Makefile.am:
11116         * gst/base/gstadapter.c: (gst_adapter_base_init),
11117         (gst_adapter_class_init), (gst_adapter_init),
11118         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11119         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11120         (gst_adapter_flush), (gst_adapter_available),
11121         (gst_adapter_available_fast):
11122         * gst/base/gstadapter.h:
11123         Ported and added adapter to the base classes.
11124
11125 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11126
11127         * gst/gst.c:
11128         * gst/gstmessage.c:
11129           Make sure the class is reffed/unreffed once before threads can be
11130           used.  Fixes #304551.
11131
11132 2005-05-17  Wim Taymans  <wim@fluendo.com>
11133
11134         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11135         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11136         * gst/gstminiobject.c: (gst_mini_object_get_type),
11137         (gst_mini_object_free):
11138         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11139         (gst_pad_push), (gst_pad_push_event):
11140         * gst/gstqueue.c: (gst_queue_change_state):
11141         Don't queue buffers in basesink when we are flushing.
11142         Unref buffer when flushing in basesink.
11143         Flush queue when going to READY
11144         Unref buffer when _push() returns an error.
11145         Don't free MiniObject instance when refcount is incremented
11146         in _finalize() so that we can recover objects.
11147
11148 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11149
11150         * docs/manual/advanced-schedulers.xml:
11151         * docs/manual/appendix-checklist.xml:
11152         * docs/pwg/advanced-clock.xml:
11153         * docs/pwg/advanced-interfaces.xml:
11154         * docs/pwg/advanced-request.xml:
11155         * docs/pwg/advanced-types.xml:
11156         * docs/pwg/intro-preface.xml:
11157         * examples/plugins/example.c: (gst_example_get_type),
11158         (gst_example_class_init), (gst_example_chain),
11159         (gst_example_set_property), (gst_example_get_property),
11160         (gst_example_change_state), (plugin_init):
11161         * examples/plugins/example.h:
11162           small doc fixes
11163
11164 2005-05-17  Wim Taymans  <wim@fluendo.com>
11165
11166         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11167         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11168         * gst/gstqueue.c: (gst_queue_change_state):
11169         Clear queue when going to READY.
11170         Remove IN_SETCAPS flag too.
11171
11172 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11173
11174         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11175           Remove implicit cast from gboolean to GstElementStateReturn;
11176           make sure we still return failure in paused => ready case if
11177           the parent class fails to change state and our own stop 
11178           vfunc succeeds.
11179
11180 2005-05-17  Wim Taymans  <wim@fluendo.com>
11181
11182         * tools/gst-launch.c: (event_loop):
11183         Message was unreffed too soon.
11184
11185 2005-05-16  Andy Wingo  <wingo@pobox.com>
11186
11187         * gst/gstbin.c (sink_iterator_filter): Err... um...
11188
11189         * check/gst/gstbin.c (test_ghost_pads): New test for the
11190         ghosting-if-elements-not-in-same-bin behavior.
11191
11192 2005-05-16  David Schleef  <ds@schleef.org>
11193
11194         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11195         accessing refcount directly.
11196
11197 2005-05-15  David Schleef  <ds@schleef.org>
11198
11199         * check/Makefile.am: remove GstData checks
11200         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11201         * gst/Makefile.am: add miniobject, remove data
11202         * gst/gst.h: add miniobject, remove data
11203         * gst/gstdata.c: remove
11204         * gst/gstdata.h: remove
11205         * gst/gstdata_private.h: remove
11206         * gst/gsttypes.h: remove GstEvent and GstMessage
11207         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11208         * gst/gstmarshal.list: change BOXED -> OBJECT
11209
11210         Implement GstMiniObject.
11211         * gst/gstminiobject.c:
11212         * gst/gstminiobject.h:
11213
11214         Modify to be subclasses of GstMiniObject.
11215         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11216         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11217         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11218         (gst_subbuffer_get_type), (gst_subbuffer_init),
11219         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11220         (gst_buffer_span):
11221         * gst/gstbuffer.h:
11222         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11223         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11224         (_gst_event_copy), (gst_event_new):
11225         * gst/gstevent.h:
11226         * gst/gstmessage.c: (_gst_message_initialize),
11227         (gst_message_get_type), (gst_message_class_init),
11228         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11229         (gst_message_new), (gst_message_new_error),
11230         (gst_message_new_warning), (gst_message_new_tag),
11231         (gst_message_new_state_changed), (gst_message_new_application):
11232         * gst/gstmessage.h:
11233         * gst/gstprobe.c: (gst_probe_perform),
11234         (gst_probe_dispatcher_dispatch):
11235         * gst/gstprobe.h:
11236         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11237         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11238         (_gst_query_copy), (gst_query_new):
11239
11240         Update elements for GstData -> GstMiniObject changes
11241         * gst/gstquery.h:
11242         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11243         (gst_queue_chain), (gst_queue_loop):
11244         * gst/elements/gstbufferstore.c:
11245         (gst_buffer_store_add_buffer_func),
11246         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11247         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11248         (gst_fakesink_render):
11249         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11250         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11251         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11252         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11253         (gst_filesrc_create_read):
11254         * gst/elements/gstidentity.c: (gst_identity_class_init):
11255         * gst/elements/gsttypefindelement.c:
11256         (gst_type_find_element_src_event), (free_entry_buffers),
11257         (gst_type_find_element_handle_event):
11258         * libs/gst/dataprotocol/dataprotocol.c:
11259         (gst_dp_header_from_buffer):
11260         * libs/gst/dataprotocol/dataprotocol.h:
11261         * libs/gst/dataprotocol/dp-private.h:
11262
11263 2005-05-15  David Schleef  <ds@schleef.org>
11264
11265         * gst/elements/gstelements.c: Don't include headers that were
11266         just removed.
11267
11268 2005-05-15  David Schleef  <ds@schleef.org>
11269
11270         * gst/elements/Makefile.am: Remove some elements that don't
11271         need to be in the core (or even exist at all).
11272         * gst/elements/gstaggregator.c:
11273         * gst/elements/gstaggregator.h:
11274         * gst/elements/gstmd5sink.c:
11275         * gst/elements/gstmd5sink.h:
11276         * gst/elements/gstmultifilesrc.c:
11277         * gst/elements/gstmultifilesrc.h:
11278         * gst/elements/gstpipefilter.c:
11279         * gst/elements/gstpipefilter.h:
11280         * gst/elements/gstshaper.c:
11281         * gst/elements/gstshaper.h:
11282         * gst/elements/gststatistics.c:
11283         * gst/elements/gststatistics.h:
11284         * po/POTFILES.in: Remove above files.
11285
11286 2005-05-14  Andy Wingo  <wingo@pobox.com>
11287
11288         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11289         so as to get the refs right.
11290         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11291         unreffing objects that don't pass the filter.
11292
11293         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11294         gst_element_set_bus.
11295         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11296         normal cases, this will destroy the bus.
11297
11298         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11299         object.
11300
11301         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11302         has no sinks.
11303
11304 2005-05-13  Andy Wingo  <wingo@pobox.com>
11305
11306         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11307         gst_pad_link, call pad_link_maybe_ghosting,
11308         (pad_link_maybe_ghosting): Links pads, making sure that the
11309         elements being linked are in the same bin.
11310         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11311         Helpers for pad_link_maybe_ghosting.
11312
11313 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11314
11315         * configure.ac:
11316           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11317
11318 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11319
11320         * docs/design/part-element-source.txt:
11321           Mention GstPushSrc
11322
11323 2005-05-12  Wim Taymans  <wim@fluendo.com>
11324
11325         * gst/base/gstbasesink.c: (gst_basesink_init),
11326         (gst_basesink_activate):
11327         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11328         (gst_basesrc_is_seekable):
11329         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11330         (bin_element_is_sink), (gst_bin_change_state):
11331         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11332         * gst/gstelement.h:
11333         Identify sinks by their flag to avoid overly complicated
11334         checks (fow now).
11335         Do state changes even for elements not reachable from the
11336         sinks.
11337         BaseSink is a sink now :)
11338         Some more debugging info in the basesrc.
11339
11340
11341 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11342
11343         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11344           Implement _query on a bin, similar to _send_event.
11345
11346 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11347
11348         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11349           Discont event offset format should be GST_FORMAT_BYTES,
11350           not GST_FORMAT_TIME.
11351
11352 2005-05-12  Wim Taymans  <wim@fluendo.com>
11353
11354         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11355         Same fix as Ronald's but without the signal. 
11356
11357 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11358
11359         * gst/gstutils.c: (gst_element_query_position):
11360           No, an element is not a pad.
11361
11362 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11363
11364         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11365         (gst_bin_get_state):
11366           If a child is removed from a bin while we remove the child from
11367           the bin and while we're retrieving its state, signal this to the
11368           get_state function so we abort the wait (instead of waiting for
11369           a timeout) and can immediately re-iterate over all other elements.
11370
11371 2005-05-12  Wim Taymans  <wim@fluendo.com>
11372
11373         * gst/base/Makefile.am:
11374         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11375         (gst_basesrc_start):
11376         * gst/base/gstbasesrc.h:
11377         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11378         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11379         (gst_pushsrc_init), (gst_pushsrc_create):
11380         * gst/base/gstpushsrc.h:
11381         Added is_seekable to BaseSrc
11382         Added simple PushSrc.
11383
11384 2005-05-11  Wim Taymans  <wim@fluendo.com>
11385
11386         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11387         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11388         (gst_element_link_pads), (gst_element_query_position),
11389         (gst_element_query_convert), (intersect_caps_func),
11390         (gst_pad_query_position), (gst_pad_query_convert):
11391         Fix refcounting in utils function.
11392         No point in trying to activate a pad when it's added, it could
11393         be added from the state change function and then we deadlock, the
11394         element has to decide what to do.
11395
11396 2005-05-10  Andy Wingo  <wingo@pobox.com>
11397
11398         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11399         *all* the arguments.
11400
11401         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11402         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11403         lock (according to the docs -- if this is wrong change the docs).
11404
11405         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11406         flush messages in the NULL state.
11407
11408         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11409         message immediately and return.
11410         (gst_bus_set_flushing): New function. If a bus is flushing, it
11411         flushes out any queued messages and immediately unrefs new
11412         messages. This is so when an element goes to NULL, all of the
11413         unhandled messages coming from it can be freed, and their
11414         references to the element dropped. In other words: message source
11415         ref considered harmful :P
11416
11417         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11418         we're finished with it.
11419
11420         * gst/gstmessage.c (gst_message_new_state_changed): 
11421
11422 2005-05-10  Wim Taymans  <wim@fluendo.com>
11423
11424         * gst/gstvalue.c: (gst_value_compare_flags),
11425         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11426         (_gst_value_initialize):
11427         Added flags serialize/deserialize/compare code.
11428
11429 2005-05-09  Andy Wingo  <wingo@pobox.com>
11430
11431         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11432         Intersect the peer's caps with our caps.
11433
11434 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11435
11436         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11437         * gst/elements/gsttypefindelement.c: (find_peek):
11438           Handle negative offsets better. Fixes decodebin.
11439
11440 2005-05-09  Wim Taymans  <wim@fluendo.com>
11441
11442         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11443         (gst_base_transform_event):
11444         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11445         Implement accept_caps.
11446         Fix silly lock/unlock mismatch in base class.
11447
11448 2005-05-09  Wim Taymans  <wim@fluendo.com>
11449
11450         * docs/design/draft-push-pull.txt:
11451         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11452         * gst/elements/gstfilesink.c: (gst_filesink_init),
11453         (gst_filesink_query):
11454         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11455         (gst_type_find_handle_src_query), (find_element_get_length):
11456         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11457         * gst/gstelement.h:
11458         * gst/gstmessage.c:
11459         * gst/gstmessage.h:
11460         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11461         (gst_real_pad_get_caps_unlocked),
11462         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11463         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11464         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11465         (gst_real_pad_dispose), (gst_real_pad_finalize),
11466         (gst_pad_load_and_link), (gst_pad_save_thyself),
11467         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11468         (gst_pad_check_pull_range), (gst_pad_pull_range),
11469         (gst_pad_template_get_type), (gst_pad_template_class_init),
11470         (gst_pad_template_init), (gst_pad_template_dispose),
11471         (name_is_valid), (gst_static_pad_template_get),
11472         (gst_pad_template_new), (gst_static_pad_template_get_caps),
11473         (gst_pad_template_get_caps), (gst_pad_set_element_private),
11474         (gst_pad_get_element_private), (gst_pad_start_task),
11475         (gst_pad_pause_task), (gst_pad_stop_task),
11476         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11477         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11478         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11479         (gst_ghost_pad_new):
11480         * gst/gstpad.h:
11481         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11482         (gst_query_new_position), (gst_query_set_position),
11483         (gst_query_parse_position), (gst_query_new_convert),
11484         (gst_query_set_convert), (gst_query_parse_convert):
11485         * gst/gstquery.h:
11486         * gst/gstqueryutils.c:
11487         * gst/gstqueryutils.h:
11488         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11489         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11490         (gst_queue_handle_src_query):
11491         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11492         (gst_element_query_position), (gst_element_query_convert),
11493         (intersect_caps_func), (gst_pad_query_position),
11494         (gst_pad_query_convert):
11495         * gst/gstutils.h:
11496         * tools/gst-inspect.c: (print_pad_info):
11497         * tools/gst-xmlinspect.c: (print_element_info):
11498         Remove old query functions. Ported old code.
11499         Added position/convert helper functions to gstutils.
11500         Reordered gstpad.c code, grouping relevant things.
11501         Remove gst_message_new(), always need to speficy a specific
11502         message.
11503
11504
11505 2005-05-09  Andy Wingo  <wingo@pobox.com>
11506
11507         * gst/gstiterator.h: Add some includes.
11508
11509         * gst/gstqueryutils.h: Include more headers.
11510
11511         * gst/gstpad.h:
11512         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11513         some uses of gst_pad_query.
11514
11515         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11516         NULL out parameters.
11517         (gst_query_new_position): New proc, allocates a new position
11518         query.
11519
11520         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11521         gstqueryutils.c to the build.
11522
11523         * gst/gststructure.c (gst_structure_set_valist): Implement with
11524         the generic G_VALUE_COLLECT.
11525         
11526 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
11527
11528         * gst/Makefile.am: (gst_headers):
11529         Added gstqueryutils.h to the list of headers to install, that was
11530         a 'nachty' move wingo :)
11531
11532 2005-05-06  Andy Wingo  <wingo@pobox.com>
11533
11534         * gst/gstquery.h
11535         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11536         GstData, init a memchunk.
11537         (standard_definitions): Add a few query types, deprecate a few.
11538         (gst_query_get_type): New proc.
11539         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11540         implementation.
11541         (gst_query_new_application, gst_query_get_structure): New public
11542         procs.
11543
11544         * docs/design/draft-query.txt: Removed LINKS from the query types,
11545         because all the rest can be dispatched to other pads -- seemed
11546         ugly to have a query that couldn't be dispatched. internal_links
11547         is fine as a pad method.
11548
11549         * gst/gstpad.h: Add query2 as a pad method, add the new functions
11550         in gstpad.c, but maintain binary compatibility for the moment.
11551         Will fix before 0.9 is out.
11552
11553         * gst/gstqueryutils.c: 
11554         * gst/gstqueryutils.h: New files, implement 3 methods for each
11555         query type: parse_query, parse_response, and set. Probably need an
11556         allocator as well.
11557
11558         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11559
11560         * gst/elements/gstfilesink.c (gst_filesink_query2):
11561         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11562         query_types, and formats methods.
11563
11564         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11565         (gst_pad_set_query2_function): New functions.
11566         (gst_real_pad_init): Set query2_default as the default query2
11567         function. Basically just dispatches to internally linked pads.
11568
11569         Needs review!
11570         
11571         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11572         without using the atomic operations. Only one thread can possibly
11573         be accessing the data at this point. Changed so as to avoid
11574         gst_atomic operations.
11575
11576 2005-05-06  Wim Taymans  <wim@fluendo.com>
11577
11578         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11579         Also set caps if we use the fallback buffer alloc.
11580
11581 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
11582
11583         * docs/gst/Makefile.am:
11584         * docs/gst/gstreamer-docs.sgml:
11585         * docs/gst/gstreamer-sections.txt:
11586         * docs/gst/tmpl/gstatomic.sgml:
11587         * docs/gst/tmpl/gstmemchunk.sgml:
11588         * testsuite/elements/struct_i386.h:
11589         * win32/GStreamer.vcproj:
11590         * win32/Makefile:
11591           Purge GstAtomic stuff from docs and win32 makefiles as well
11592
11593 2005-05-06  Wim Taymans  <wim@fluendo.com>
11594
11595         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11596         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11597         * gst/gstpad.c: (gst_pad_peer_get_caps):
11598         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11599         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11600         (gst_queue_src_activate), (gst_queue_change_state):
11601         * gst/gstqueue.h:
11602         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11603         (intersect_caps_func):
11604         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11605         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11606         Some fixes for the peer_get_caps() change.
11607
11608 2005-05-06  Wim Taymans  <wim@fluendo.com>
11609
11610         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11611         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11612         (gst_basesink_activate):
11613         Actually do something with error codes returned from the push
11614         functions.
11615
11616 2005-05-06  Wim Taymans  <wim@fluendo.com>
11617
11618         * docs/design/part-element-sink.txt:
11619         * docs/design/part-element-source.txt:
11620         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11621         (gst_basesink_event), (gst_basesink_activate):
11622         * gst/base/gstbasesink.h:
11623         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11624         (gst_basesrc_activate):
11625         * gst/base/gstbasesrc.h:
11626         * gst/gstelement.c: (gst_element_pads_activate):
11627         Some more documentation.
11628         Fixed scheduling decision in _pads_activate().
11629
11630 2005-05-05  Andy Wingo  <wingo@pobox.com>
11631
11632         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11633         the test suite.
11634
11635 2005-05-05  Wim Taymans  <wim@fluendo.com>
11636
11637         * gst/base/Makefile.am:
11638         * gst/base/gstbasesink.h:
11639         * gst/base/gstbasesrc.c: (gst_basesrc_init),
11640         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11641         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11642         (gst_collectpads_class_init), (gst_collectpads_init),
11643         (gst_collectpads_finalize), (gst_collectpads_new),
11644         (gst_collectpads_set_function), (gst_collectpads_add_pad),
11645         (find_pad), (gst_collectpads_remove_pad),
11646         (gst_collectpads_is_active), (gst_collectpads_collect),
11647         (gst_collectpads_collect_range), (gst_collectpads_start),
11648         (gst_collectpads_stop), (gst_collectpads_peek),
11649         (gst_collectpads_pop), (gst_collectpads_available),
11650         (gst_collectpads_read), (gst_collectpads_flush),
11651         (gst_collectpads_chain):
11652         * gst/base/gstcollectpads.h:
11653         * gst/elements/Makefile.am:
11654         * gst/elements/gstelements.c:
11655         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11656         (gst_fakesink_get_times), (gst_fakesink_event),
11657         (gst_fakesink_preroll), (gst_fakesink_render):
11658         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11659         (gst_filesink_init), (gst_filesink_set_location),
11660         (gst_filesink_open_file), (gst_filesink_close_file),
11661         (gst_filesink_pad_query), (gst_filesink_event),
11662         (gst_filesink_render), (gst_filesink_change_state):
11663         * gst/elements/gstfilesink.h:
11664         Added object to help in making collect pad based elements.
11665         Ported filesink.
11666         Make event function in sink baseclass return gboolean.
11667
11668 2005-05-05  Wim Taymans  <wim@fluendo.com>
11669
11670         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11671         (gst_bin_get_by_name):
11672         * gst/gstbuffer.h:
11673         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11674         (gst_clock_finalize):
11675         * gst/gstdata.c: (gst_data_replace):
11676         * gst/gstdata.h:
11677         * gst/gstelement.c: (gst_element_request_pad),
11678         (gst_element_pads_activate):
11679         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11680         (gst_object_unref):
11681         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11682         (gst_pad_set_checkgetrange_function),
11683         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11684         (gst_pad_check_pull_range), (gst_pad_pull_range),
11685         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11686         (gst_pad_pause_task), (gst_pad_stop_task):
11687         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11688         (gst_element_request_pad), (gst_pad_proxy_getcaps):
11689         Fix name lookup in GstBin.
11690         Added _data_replace() function and _buffer_replace()
11691         Use finalize method to clean up clock.
11692         Fix refcounting on request pads.
11693         Fix pad schedule mode error.
11694         Some more object refcounting debug info,
11695
11696
11697 2005-05-04  Andy Wingo <wingo@pobox.com>
11698
11699         * check/Makefile.am:
11700         * docs/gst/tmpl/gstatomic.sgml:
11701         * docs/gst/tmpl/gstplugin.sgml:
11702         * gst/base/gstbasesink.c: (gst_basesink_activate):
11703         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11704         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11705         (gst_basesrc_query), (gst_basesrc_set_property),
11706         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11707         (gst_basesrc_activate):
11708         * gst/base/gstbasesrc.h:
11709         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11710         (gst_base_transform_src_activate):
11711         * gst/elements/gstelements.c:
11712         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11713         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11714         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11715         * gst/elements/gsttypefindelement.c: (find_element_get_length),
11716         (gst_type_find_element_checkgetrange),
11717         (gst_type_find_element_activate):
11718         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11719         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11720         (gst_caps_load_thyself):
11721         * gst/gstelement.c: (gst_element_pads_activate),
11722         (gst_element_save_thyself), (gst_element_restore_thyself):
11723         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11724         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11725         * gst/gstpad.h:
11726         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11727         (gst_xml_parse_file), (gst_xml_parse_memory),
11728         (gst_xml_get_element), (gst_xml_make_element):
11729         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11730         (_file_index_id_save_xml), (gst_file_index_commit):
11731         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11732         (read_enum), (load_pad_template), (load_feature), (load_plugin),
11733         (load_paths):
11734         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11735         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11736         * tools/gst-complete.c: (main):
11737         * tools/gst-compprep.c: (main):
11738         * tools/gst-inspect.c: (print_element_properties_info):
11739         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11740         * tools/gst-xmlinspect.c: (print_element_properties):
11741         GCC 4 fixen.
11742         
11743 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11744
11745         * gst/gstplugin.c: (gst_plugin_check_module),
11746         (gst_plugin_check_file), (gst_plugin_load_file):
11747             apply patch from #172526 to make register work on MacOSX
11748
11749 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11750
11751         * docs/gst/tmpl/gstconfig.sgml:
11752         * gst/gstconfig.h.in:
11753           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
11754         * testsuite/debug/printf_extension.c: (main):
11755           Do not use GST_PTR_FORMAT on pointers to types with
11756           sizeof < sizeof(gpointer).  Fixes test on 64-bit
11757         * testsuite/elements/property.h:
11758           use correct printf format
11759
11760 2005-05-02  Wim Taymans  <wim@fluendo.com>
11761
11762         * docs/design/draft-push-pull.txt:
11763         * docs/design/draft-query.txt:
11764         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11765         (gst_basesrc_start):
11766         Added draft for new query API.
11767         Added draft for better selecting scheduling methods.
11768         Make basesrc ignore length if the subclass does not support
11769         it.
11770
11771 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11772
11773         * gst/Makefile.am:
11774           possible fixes for automake-1.5 - _LIBADD is reserved
11775
11776 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11777
11778         * docs/faq/Makefile.am:
11779         * docs/manual/Makefile.am:
11780         * docs/manuals.mak:
11781         * docs/pwg/Makefile.am:
11782         * gst/Makefile.am:
11783           possible fixes for automake-1.5
11784
11785 2005-04-28  Wim Taymans  <wim@fluendo.com>
11786
11787         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11788         (gst_basesink_pad_getcaps), (gst_basesink_init),
11789         (gst_basesink_do_sync):
11790         * gst/gstclock.c: (gst_clock_entry_new):
11791         * gst/gstevent.c: (gst_event_discont_get_value):
11792         * gst/gstpipeline.c: (pipeline_bus_handler),
11793         (gst_pipeline_change_state):
11794         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11795         Better debugging of clocking info.
11796         Allow NULL values when getting discont values.
11797
11798 2005-04-27  Wim Taymans  <wim@fluendo.com>
11799
11800         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11801         * check/gst/gstpad.c: (gst_pad_suite):
11802         Increase timeout for checks.
11803
11804 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11805
11806         * check/Makefile.am:
11807           fix the broken rule for cleanup.  Apparently this rule is
11808           only needed on FC2, so maybe this warrants further autotool
11809           inspection.
11810
11811 2005-04-26  Wim Taymans  <wim@fluendo.com>
11812
11813         * gst/gsttrashstack.h:
11814         Ooohh. a nasty one! After having a failed pop() from the stack,
11815         it's possible that the stack is empty. In that case, don't
11816         follow the NULL pointer.
11817
11818 2005-04-25  Wim Taymans  <wim@fluendo.com>
11819
11820         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11821         (gst_pad_set_checkgetrange_function),
11822         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11823         (gst_pad_check_pull_range), (gst_pad_pull_range),
11824         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11825         (gst_pad_pause_task), (gst_pad_stop_task):
11826         * gst/gstplugin.c: (gst_plugin_load):
11827         * gst/gstplugin.h:
11828         Remove gst_library_load as it does more harm than good with
11829         the new g_module flags.
11830         Revert bogus caps template check in pad linking, pad caps
11831         are important when linking not the template, which is more
11832         general than the current caps.
11833
11834 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11835
11836         * gst/autoplug/.cvsignore:
11837         * gst/autoplug/Makefile.am:
11838         * gst/autoplug/gstsearchfuncs.c:
11839         * gst/autoplug/gstsearchfuncs.h:
11840         * gst/autoplug/gstspider.c:
11841         * gst/autoplug/gstspider.h:
11842         * gst/autoplug/gstspideridentity.c:
11843         * gst/autoplug/gstspideridentity.h:
11844         * gst/autoplug/spidertest.c:
11845           Die, spider, die.
11846
11847 2005-04-25  Wim Taymans  <wim@fluendo.com>
11848
11849         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11850         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11851         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11852         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11853         * gst/gstpad.h:
11854         Added stubs for unimplemented functions. 
11855
11856 2005-04-24  David Schleef  <ds@schleef.org>
11857
11858         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11859         please fix.
11860
11861 2005-04-24  David Schleef  <ds@schleef.org>
11862
11863         Convert everything from GstAtomicInt to g_atomic_int_*, and
11864         remove gstatomic.
11865         * gst/Makefile.am:
11866         * gst/gstatomic.c:
11867         * gst/gstatomic.h:
11868         * gst/gstatomic_impl.h:
11869         * gst/gstbuffer.c:
11870         * gst/gstcaps.c:
11871         * gst/gstcaps.h:
11872         * gst/gstclock.c:
11873         * gst/gstclock.h:
11874         * gst/gstdata.c:
11875         * gst/gstdata.h:
11876         * gst/gstdata_private.h:
11877         * gst/gstevent.c:
11878         * gst/gstinfo.c:
11879         * gst/gstinfo.h:
11880         * gst/gstmessage.c:
11881         * gst/gstobject.c:
11882         * gst/gstobject.h:
11883         * gst/gststructure.c:
11884         * gst/gststructure.h:
11885         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11886         * gst/gstutils.h:
11887
11888 2005-04-24  David Schleef  <ds@schleef.org>
11889
11890         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11891         make the regressions tests work.  Remove some code that is no
11892         longer true.
11893         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11894         Disable warning for pads without templates.
11895
11896 2005-04-24  David Schleef  <ds@schleef.org>
11897
11898         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11899         functions that handle filtered links.
11900         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11901         removed functions.
11902         * gst/gstutils.c: Fix/remove utility functions that handle
11903         filtered caps.
11904         * gst/gstutils.h:
11905         * gst/gstvalue.c: Add serialization/deserialization of caps
11906         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11907         requires fixing so that the filter caps notation creates
11908         a capsfilter element and sets the filter_caps property.  I
11909         think everyone probably wants to keep the shorthand notation.
11910         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11911         * docs/gst/tmpl/gstpad.sgml:
11912
11913         * gst/elements/gstelements.c: Register capsfilter element.
11914         * gst/Makefile.am: fix spacing
11915         * docs/random/ds/0.9-suggested-changes: random
11916
11917 2005-04-23  David Schleef  <ds@schleef.org>
11918
11919         * gst/elements/Makefile.am:
11920         * gst/elements/gstcapsfilter.c: New element that acts like an
11921         identity, but filters caps.  Will eventually replace filtered
11922         caps in pad linking.
11923         * gst/gstutils.c: (gst_element_create_all_pads): New function
11924         to create all the ALWAYS pads that are registered with an
11925         element class.  This functionality should eventually be
11926         merged in with GstElement initialization.
11927         * gst/gstutils.h:
11928         * testsuite/trigger/README: part of trigger test code that should
11929         have been checked in a long time ago.
11930
11931 2005-04-23  David Schleef  <ds@schleef.org>
11932
11933         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11934         needed with new versions of libtool (nobody will confirm this),
11935         and hard to carry around.
11936         * gst/autoplug/Makefile.am:
11937         * gst/base/Makefile.am:
11938         * gst/elements/Makefile.am:
11939         * gst/indexers/Makefile.am:
11940         * gst/schedulers/Makefile.am:
11941         * libs/gst/bytestream/Makefile.am:
11942         * libs/gst/control/Makefile.am:
11943         * libs/gst/dataprotocol/Makefile.am:
11944         * libs/gst/getbits/Makefile.am:
11945
11946 2005-04-21  Wim Taymans  <wim@fluendo.com>
11947
11948         * docs/design/draft-push-pull.txt:
11949         * docs/design/part-MT-refcounting.txt:
11950         * docs/design/part-TODO.txt:
11951         * docs/design/part-caps.txt:
11952         * docs/design/part-events.txt:
11953         * docs/design/part-gstbus.txt:
11954         * docs/design/part-gstpipeline.txt:
11955         * docs/design/part-messages.txt:
11956         * docs/design/part-push-pull.txt:
11957         * docs/design/part-query.txt:
11958         Some more docs.
11959
11960 2005-04-21  Wim Taymans  <wim@fluendo.com>
11961
11962         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11963         (gst_message_new), (gst_message_new_error),
11964         (gst_message_new_warning), (gst_message_new_tag),
11965         (gst_message_new_state_changed), (gst_message_new_application),
11966         (gst_message_get_structure):
11967         * gst/gstmessage.h:
11968         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11969         (gst_structure_copy_conditional):
11970         Use parent refcount in GstMessage to ensure GstStructure
11971         consistency.
11972         Cleaned up headers a bit.
11973         
11974
11975 2005-04-20  Wim Taymans  <wim@fluendo.com>
11976
11977         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11978         (gst_basesink_pad_getcaps), (gst_basesink_init),
11979         (gst_basesink_chain_unlocked):
11980         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11981         (gst_type_find_helper):
11982         * gst/elements/gsttypefindelement.c:
11983         (gst_type_find_element_have_type), (gst_type_find_element_init),
11984         (stop_typefinding), (gst_type_find_element_handle_event),
11985         (find_suggest), (gst_type_find_element_chain),
11986         (gst_type_find_element_checkgetrange),
11987         (gst_type_find_element_getrange), (do_typefind),
11988         (gst_type_find_element_activate):
11989         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11990         (gst_buffer_default_free), (gst_buffer_default_copy),
11991         (gst_buffer_set_caps):
11992         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11993         (gst_caps_replace):
11994         * gst/gstmessage.c: (gst_message_new),
11995         (gst_message_new_state_changed):
11996         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11997         (gst_pad_set_checkgetrange_function),
11998         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11999         (gst_pad_set_caps), (gst_pad_check_pull_range),
12000         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12001         * gst/gstpad.h:
12002         * gst/gsttypefind.c: (gst_type_find_register):
12003         Make gst_caps_replace() work like other _replace() functions.
12004         Use _caps_replace() where possible.
12005         Make sure _message_new() initialises its field.
12006         Add gst_static_pad_template_get_caps()
12007
12008
12009 2005-04-18  Andy Wingo  <wingo@pobox.com>
12010
12011         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12012         on the peer, not the pad. I think that was a typo. Pass an extra
12013         arg to see if random access is possible. Activate the pads as
12014         PULL_RANGE if possible.
12015
12016         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12017
12018         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12019         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12020         to PROP_....
12021
12022 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12023
12024         * docs/faq/using.xml:
12025           Add note on gstreamer-properties (#154996).
12026
12027 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12028
12029         * docs/random/bbb/optional-properties:
12030           Some analysis on optional properties.
12031
12032 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12033
12034         * docs/gst/tmpl/gstelementfactory.sgml:
12035         * gst/gstelement.h:
12036         * gst/gstelementfactory.c: (gst_element_factory_init),
12037         (gst_element_factory_cleanup), (gst_element_register),
12038         (__gst_element_factory_add_static_pad_template),
12039         (gst_element_factory_get_static_pad_templates),
12040         (gst_element_factory_can_src_caps),
12041         (gst_element_factory_can_sink_caps):
12042         * gst/registries/Makefile.am:
12043         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12044         (gst_xml_registry_class_init), (gst_xml_registry_init),
12045         (gst_xml_registry_new), (gst_xml_registry_set_property),
12046         (gst_xml_registry_get_property), (get_time), (make_dir),
12047         (gst_xml_registry_get_perms_func),
12048         (plugin_times_older_than_recurse), (plugin_times_older_than),
12049         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12050         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12051         (add_to_char_array), (read_string), (read_uint), (read_enum),
12052         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12053         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12054         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12055         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12056         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12057         (gst_xml_registry_rebuild):
12058         * gst/registries/gstlibxmlregistry.h:
12059         * tools/gst-compprep.c: (main):
12060         * tools/gst-inspect.c: (print_pad_templates_info):
12061         * tools/gst-xmlinspect.c: (print_element_info):
12062           Use libxml2 for registry parsing, use staticpadtemplates in
12063           elementfactories. Makes gst_init() +/- 10x faster.
12064
12065 2005-04-12  Wim Taymans  <wim@fluendo.com>
12066
12067         * gst/base/Makefile.am:
12068         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12069         (gst_basesink_pad_getcaps), (gst_basesink_init),
12070         (gst_basesink_event), (gst_basesink_change_state):
12071         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12072         (gst_basesrc_init), (gst_basesrc_query),
12073         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12074         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12075         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12076         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12077         (gst_basesrc_stop), (gst_basesrc_activate),
12078         (gst_basesrc_change_state):
12079         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12080         (helper_find_suggest), (gst_type_find_helper):
12081         * gst/base/gsttypefindhelper.h:
12082         * gst/elements/Makefile.am:
12083         * gst/elements/gstelements.c:
12084         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12085         (gst_fakesink_get_times), (gst_fakesink_event),
12086         (gst_fakesink_preroll), (gst_fakesink_render):
12087         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12088         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12089         (gst_fakesrc_get_property), (gst_fakesrc_create),
12090         (gst_fakesrc_start), (gst_fakesrc_stop):
12091         * gst/elements/gstfakesrc.h:
12092         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12093         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12094         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12095         (gst_filesrc_create_read), (gst_filesrc_create),
12096         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12097         (gst_filesrc_start):
12098         * gst/elements/gsttypefindelement.c:
12099         (gst_type_find_element_have_type), (gst_type_find_element_init),
12100         (start_typefinding), (stop_typefinding), (push_buffer_store),
12101         (gst_type_find_element_handle_event),
12102         (gst_type_find_element_chain),
12103         (gst_type_find_element_checkgetrange),
12104         (gst_type_find_element_getrange), (do_typefind),
12105         (gst_type_find_element_activate),
12106         (gst_type_find_element_change_state):
12107         * gst/elements/gsttypefindelement.h:
12108         * gst/gstpipeline.c: (pipeline_bus_handler):
12109         Added typefind helper.
12110         Small preroll fix in the base sink.
12111         Disable typefind code in basesrc.
12112         Crude port of typefindelement.
12113         Fakesrc cleanups.
12114
12115
12116 2005-04-11  Wim Taymans  <wim@fluendo.com>
12117
12118         * check/gst/gstbus.c: (gstbus_suite):
12119         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12120         * check/gstcheck.h:
12121           Fix up the timeout so that the test does not fail.
12122
12123 2005-04-06  Wim Taymans  <wim@fluendo.com>
12124
12125         * gst/base/README:
12126         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12127         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12128         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12129         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12130         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12131         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12132         (gst_basesrc_stop), (gst_basesrc_activate),
12133         (gst_basesrc_change_state), (basesrc_find_peek),
12134         (basesrc_find_suggest), (gst_basesrc_type_find):
12135         * gst/base/gstbasesrc.h:
12136         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12137         (gst_filesrc_class_init), (gst_filesrc_init),
12138         (gst_filesrc_finalize), (gst_filesrc_set_location),
12139         (gst_filesrc_set_property), (gst_filesrc_get_property),
12140         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12141         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12142         (gst_filesrc_create_read), (gst_filesrc_create),
12143         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12144         * gst/elements/gstfilesrc.h:
12145         * gst/gstelement.c: (gst_element_get_state_func),
12146         (gst_element_lost_state), (gst_element_pads_activate):
12147         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12148         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12149         (gst_pad_pull_range):
12150         * gst/gstpad.h:
12151         More work on the generic source base class, implement seeking,
12152         query.
12153         Make filesrc extend the base source class.
12154         Added gst_pad_set_checkgetrange_function to GstPad.
12155
12156 2005-04-06  Andy Wingo  <wingo@pobox.com>
12157
12158         * pkgconfig/gstreamer-base.pc.in:
12159         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12160
12161         * pkgconfig/Makefile.am:
12162         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12163
12164 2005-04-04  Wim Taymans  <wim@fluendo.com>
12165
12166         * gst/base/Makefile.am:
12167         * gst/base/README:
12168         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12169         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12170         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12171         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12172         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12173         (gst_basesrc_base_init), (gst_basesrc_class_init),
12174         (gst_basesrc_init), (gst_basesrc_get_formats),
12175         (gst_basesrc_get_query_types), (gst_basesrc_query),
12176         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12177         (gst_basesrc_set_property), (gst_basesrc_get_property),
12178         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12179         (gst_basesrc_loop), (gst_basesrc_activate),
12180         (gst_basesrc_change_state):
12181         * gst/base/gstbasesrc.h:
12182         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12183         (gst_fakesrc_class_init), (gst_fakesrc_init),
12184         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12185         (gst_fakesrc_get_property), (gst_fakesrc_create):
12186         * gst/elements/gstfakesrc.h:
12187         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12188         (gst_filesrc_open_file), (gst_filesrc_loop),
12189         (gst_filesrc_activate), (filesrc_find_peek),
12190         (gst_filesrc_type_find):
12191         Made base source class, make fakesrc extend it.
12192         Add comments to basesink class.
12193         Some filesrc cleanup.
12194
12195 2005-03-31  David Schleef  <ds@schleef.org>
12196
12197         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12198         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12199         expected to link against libgstreamer.
12200         * gst/base/Makefile.am: link against libgstreamer
12201         * gst/elements/Makefile.am: same
12202
12203 2005-03-31  Andy Wingo  <wingo@pobox.com>
12204
12205         * tests/instantiate/Makefile.am:
12206         * tests/instantiate/caps.c: Add test to test speed of caps copy
12207         and free.
12208
12209         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12210         GMemChunk to be fair.
12211
12212         * gst/gsttrashstack.h: Remove warning about using the fallback
12213         trash stack implementation, it's still faster than malloc.
12214
12215 2005-03-30  Andy Wingo  <wingo@pobox.com>
12216
12217         * tests/complexity.c: Add a copyright.
12218
12219 2005-03-31  Wim Taymans  <wim@fluendo.com>
12220
12221         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12222         (gst_base_transform_class_init), (gst_base_transform_init),
12223         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12224         (gst_base_transform_get_property),
12225         (gst_base_transform_sink_activate),
12226         (gst_base_transform_src_activate),
12227         (gst_base_transform_change_state):
12228         * gst/base/gstbasetransform.h:
12229         * gst/elements/gstidentity.c: (gst_identity_class_init),
12230         (gst_identity_event), (gst_identity_check_perfect),
12231         (gst_identity_transform), (gst_identity_start),
12232         (gst_identity_stop):
12233         Added start/stop methods to transform base class so subclasses 
12234         don't need to deal with state changes even.
12235
12236 2005-03-31  Wim Taymans  <wim@fluendo.com>
12237
12238         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12239         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12240         * gst/gstevent.h:
12241         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12242         (gst_pad_pull_range):
12243         Added rate to the discont event to prepare for variable speed
12244         and reverse playback.
12245
12246 2005-03-29  David Schleef  <ds@schleef.org>
12247
12248         * configure.ac:
12249         * testsuite/trigger/Makefile.am:
12250         * testsuite/trigger/trigger.c: A little example program to show
12251         how trigger-based elements can work.
12252
12253 2005-03-29  Wim Taymans  <wim@fluendo.com>
12254
12255         * gst/base/Makefile.am:
12256         * gst/base/README:
12257         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12258         (gst_basesink_base_init), (gst_basesink_class_init),
12259         (gst_basesink_pad_getcaps), (gst_basesink_init),
12260         (gst_basesink_activate), (gst_basesink_change_state):
12261         * gst/base/gstbasesink.h:
12262         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12263         (gst_base_transform_base_init), (gst_base_transform_finalize),
12264         (gst_base_transform_class_init), (gst_base_transform_init),
12265         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12266         (gst_base_transform_event), (gst_base_transform_getrange),
12267         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12268         (gst_base_transform_set_property),
12269         (gst_base_transform_get_property),
12270         (gst_base_transform_sink_activate),
12271         (gst_base_transform_src_activate),
12272         (gst_base_transform_change_state):
12273         * gst/base/gstbasetransform.h:
12274         * gst/elements/gstidentity.c: (gst_identity_finalize),
12275         (gst_identity_class_init), (gst_identity_init),
12276         (gst_identity_event), (gst_identity_check_perfect),
12277         (gst_identity_transform), (gst_identity_set_property),
12278         (gst_identity_get_property), (gst_identity_change_state):
12279         * gst/elements/gstidentity.h:
12280         * gst/gstelement.c: (gst_element_get_state_func),
12281         (gst_element_lost_state), (gst_element_pads_activate):
12282         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12283         (gst_pad_check_pull_range), (gst_pad_pull_range):
12284         * gst/gstpad.h:
12285         Simplify pad activation.
12286         Added function to check if pull_range can be performed.
12287         Error out when pulling inactive or flushing pads.
12288         Removed const from refcounted types as it does not make sense.
12289         Simplify pad templates in basesink
12290         Added base class for simple 1-to-1 transforms.
12291         Make identity subclass the base transform.
12292
12293 2005-03-29  Andy Wingo  <wingo@pobox.com>
12294
12295         * docs/libs/gstreamer-libs-overrides.txt: 
12296         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12297         really don't understand what's going on, but like whatever. I want
12298         green buildbot!
12299
12300         * docs/gst/Makefile.am:
12301         * docs/libs/Makefile.am: Dist the overrides files.
12302
12303         * check/Makefile.am (clean-local): Remove .libs directories.
12304
12305         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12306         elements to EXTRA_DIST, so po/ files are happy.
12307
12308         * po/POTFILES.in: Er, remove it here.
12309
12310         * po/POTFILES: Remove gstspider.c.
12311
12312         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12313
12314         * docs/libs/gstreamer-libs-docs.sgml: 
12315         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12316         bytestream.
12317
12318         * tests/complexity.c (main): Set the length of the preroll queue
12319         on the sinks to prevent a lockup.
12320
12321         * libs/gst/dataprotocol/Makefile.am: 
12322         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12323         the same as the one in check/gst-libs/gdp.c.
12324
12325         * po/, docs/gst/: Commit automatic changes to docs and po files.
12326
12327         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12328         the versioned libgstbase.
12329
12330         * check/Makefile.am: Depend on an unversioned gst-register, seems
12331         to make autoconf happier.
12332
12333         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12334
12335 2005-03-28  Wim Taymans  <wim@fluendo.com>
12336
12337         * configure.ac:
12338         * docs/design/part-gstelement.txt:
12339         * docs/design/part-negotiation.txt:
12340         * docs/design/part-preroll.txt:
12341         * docs/design/part-scheduling.txt:
12342         * docs/design/part-states.txt:
12343         * gst/Makefile.am:
12344         * gst/base/Makefile.am:
12345         * gst/base/README:
12346         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12347         (gst_basesink_base_init), (gst_basesink_class_init),
12348         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12349         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12350         (gst_basesink_set_pad_functions),
12351         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12352         (gst_basesink_set_property), (gst_basesink_get_property),
12353         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12354         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12355         (gst_basesink_preroll_queue_push),
12356         (gst_basesink_preroll_queue_empty),
12357         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12358         (gst_basesink_event), (gst_basesink_get_times),
12359         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12360         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12361         (gst_basesink_loop), (gst_basesink_activate),
12362         (gst_basesink_change_state):
12363         * gst/base/gstbasesink.h:
12364         * gst/elements/Makefile.am:
12365         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12366         (gst_fakesink_class_init), (gst_fakesink_init),
12367         (gst_fakesink_set_property), (gst_fakesink_get_property),
12368         (gst_fakesink_get_times), (gst_fakesink_event),
12369         (gst_fakesink_preroll), (gst_fakesink_render),
12370         (gst_fakesink_change_state):
12371         * gst/elements/gstfakesink.h:
12372         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12373         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12374         * gst/gstelement.c: (gst_element_add_pad),
12375         (gst_element_get_state_func), (gst_element_abort_state),
12376         (gst_element_commit_state), (gst_element_lost_state),
12377         (gst_element_set_state), (gst_element_pads_activate):
12378         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12379         * gst/gstpipeline.c: (gst_pipeline_send_event),
12380         (gst_pipeline_change_state):
12381         Added state change code.
12382         Added/updated docs.
12383         Added sink base class, make fakesink extend the base class.
12384         Small cleanups in GstPipeline.
12385
12386 2005-03-26  David Schleef  <ds@schleef.org>
12387
12388         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12389         is broken and should be implemented in a different library.
12390         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12391         * gst/gst.h: remove gstcpu.h
12392         * gst/gstcpu.c: remove
12393         * gst/gstcpu.h: remove
12394         * gst/Makefile.am.future: Remove this file.  It's ancient.
12395
12396 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12397
12398         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12399         (gst_bin_send_event):
12400           Add default event/set_manager handlers. The set_manager handler
12401           takes care that the manager is distributed over kids that were
12402           already in the bin before the manager was set. The event handler
12403           is a utility virtual function that sends the event over all sinks,
12404           so that gst_element_send_event (bin, event); has the expected
12405           behaviour.
12406         * gst/gstpad.c: (gst_pad_event_default):
12407           Re-install default event handling for discontinuities, so that
12408           seeking works without requiring hacks in applications or extra
12409           code in sinks.
12410         * gst/gstpipeline.c: (gst_pipeline_class_init),
12411         (gst_pipeline_send_event):
12412           Half hack, half utility: set a pipeline to PAUSED for seek events,
12413           since that is the only way we can guarantee a/v sync. Means that
12414           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12415           and it "just works".
12416
12417 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12418
12419         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12420           Lock/unlock mismatch.
12421
12422 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12423
12424         * docs/faq/gst-uninstalled:
12425           add gst-plugins-base
12426         * docs/gst/Makefile.am:
12427           don't error out until docs are fixed
12428         * docs/gst/gstreamer.types:
12429           remove thread
12430
12431 2005-03-22  Wim Taymans  <wim@fluendo.com>
12432
12433         * check/Makefile.am:
12434         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12435         * gst/gststructure.c: (gst_structure_set_valist),
12436         (gst_structure_copy_conditional):
12437         Activated more tests.
12438         Added message test.
12439         Added G_TYPE_POINTER to GstStructure.
12440         
12441
12442 2005-03-22  Wim Taymans  <wim@fluendo.com>
12443
12444         * docs/design/part-TODO.txt:
12445         * docs/design/part-events.txt:
12446         * docs/design/part-gstbin.txt:
12447         * docs/design/part-gstbus.txt:
12448         * docs/design/part-gstpipeline.txt:
12449         * docs/design/part-messages.txt:
12450         * gst/gstbus.c:
12451         * gst/gstmessage.c:
12452         Docs updates
12453
12454 2005-03-21  Wim Taymans  <wim@fluendo.com>
12455
12456         * gst/gstbus.c: (gst_bus_post):
12457         Fix copy-and-paste error.
12458
12459 2005-03-21  Wim Taymans  <wim@fluendo.com>
12460
12461         * check/Makefile.am:
12462         * gst/Makefile.am:
12463         * gst/elements/Makefile.am:
12464         * gst/elements/gstelements.c:
12465         * gst/elements/gstfakesink.c: (gst_fakesink_init),
12466         (gst_fakesink_event), (gst_fakesink_chain):
12467         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12468         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12469         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12470         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12471         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12472         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12473         (gst_fakesrc_loop), (gst_fakesrc_activate),
12474         (gst_fakesrc_change_state):
12475         * gst/elements/gstfakesrc.h:
12476         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12477         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12478         (gst_filesrc_open_file), (gst_filesrc_loop),
12479         (gst_filesrc_activate), (gst_filesrc_change_state),
12480         (filesrc_find_peek), (filesrc_find_suggest),
12481         (gst_filesrc_type_find):
12482         * gst/elements/gstidentity.c: (gst_identity_finalize),
12483         (gst_identity_class_init), (gst_identity_init),
12484         (gst_identity_proxy_getcaps), (identity_queue_push),
12485         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12486         (gst_identity_getrange), (gst_identity_chain),
12487         (gst_identity_sink_loop), (gst_identity_src_loop),
12488         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12489         (gst_identity_set_property), (gst_identity_get_property),
12490         (gst_identity_change_state):
12491         * gst/elements/gstidentity.h:
12492         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12493         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12494         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12495         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12496         (gst_tee_sink_activate):
12497         * gst/elements/gsttee.h:
12498         * gst/gst.c: (gst_register_core_elements), (init_post):
12499         * gst/gst.h:
12500         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12501         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12502         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12503         (gst_bin_change_state):
12504         * gst/gstbin.h:
12505         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12506         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12507         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12508         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12509         (gst_bus_set_sync_handler), (gst_bus_create_watch),
12510         (bus_watch_callback), (bus_watch_destroy),
12511         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12512         (poll_timeout), (gst_bus_poll):
12513         * gst/gstbus.h:
12514         * gst/gstcaps.h:
12515         * gst/gstdata.h:
12516         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12517         (gst_element_post_message), (gst_element_message_full),
12518         (gst_element_get_state_func), (gst_element_get_state),
12519         (gst_element_abort_state), (gst_element_commit_state),
12520         (gst_element_lost_state), (gst_element_set_state),
12521         (gst_element_pads_activate), (gst_element_change_state),
12522         (gst_element_dispose), (gst_element_set_manager_func),
12523         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12524         (gst_element_set_manager), (gst_element_get_manager),
12525         (gst_element_set_bus), (gst_element_get_bus),
12526         (gst_element_set_scheduler), (gst_element_get_scheduler):
12527         * gst/gstelement.h:
12528         * gst/gstevent.c: (gst_event_new_segment_seek),
12529         (gst_event_new_flush):
12530         * gst/gstevent.h:
12531         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12532         (_gst_message_free), (gst_message_get_type), (gst_message_new),
12533         (gst_message_new_eos), (gst_message_new_error),
12534         (gst_message_new_warning), (gst_message_new_tag),
12535         (gst_message_new_state_changed), (gst_message_new_application),
12536         (gst_message_get_structure), (gst_message_parse_tag),
12537         (gst_message_parse_state_changed), (gst_message_parse_error),
12538         (gst_message_parse_warning):
12539         * gst/gstmessage.h:
12540         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12541         (gst_real_pad_set_property), (gst_pad_set_active),
12542         (gst_pad_is_active), (gst_pad_set_blocked_async),
12543         (gst_pad_set_blocked), (gst_pad_is_blocked),
12544         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12545         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12546         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12547         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12548         (gst_pad_link_filtered), (gst_pad_relink_filtered),
12549         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12550         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12551         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12552         (gst_pad_set_caps), (gst_pad_configure_sink),
12553         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12554         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12555         (gst_real_pad_dispose), (gst_real_pad_finalize),
12556         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12557         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12558         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12559         * gst/gstpad.h:
12560         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12561         (pipeline_bus_handler), (gst_pipeline_change_state),
12562         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12563         * gst/gstpipeline.h:
12564         * gst/gstprobe.h:
12565         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12566         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12567         (gst_queue_link_src), (gst_queue_bufferalloc),
12568         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12569         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12570         (gst_queue_loop), (gst_queue_handle_src_event),
12571         (gst_queue_handle_src_query), (gst_queue_src_activate),
12572         (gst_queue_change_state):
12573         * gst/gstqueue.h:
12574         * gst/gstscheduler.c: (gst_scheduler_init),
12575         (gst_scheduler_dispose), (gst_scheduler_create_task),
12576         (gst_scheduler_factory_create):
12577         * gst/gstscheduler.h:
12578         * gst/gststructure.c: (gst_structure_get_type),
12579         (gst_structure_copy_conditional):
12580         * gst/gststructure.h:
12581         * gst/gsttaginterface.h:
12582         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12583         (gst_task_init), (gst_task_dispose), (gst_task_create),
12584         (gst_task_get_state), (gst_task_start), (gst_task_stop),
12585         (gst_task_pause):
12586         * gst/gsttask.h:
12587         * gst/gstthread.c:
12588         * gst/gstthread.h:
12589         * gst/gsttypes.h:
12590         * gst/schedulers/Makefile.am:
12591         * gst/schedulers/cothreads_compat.h:
12592         * gst/schedulers/entryscheduler.c:
12593         * gst/schedulers/faircothreads.c:
12594         * gst/schedulers/faircothreads.h:
12595         * gst/schedulers/fairscheduler.c:
12596         * gst/schedulers/gstbasicscheduler.c:
12597         * gst/schedulers/gstoptimalscheduler.c:
12598         * gst/schedulers/gthread-cothreads.h:
12599         * gst/schedulers/threadscheduler.c:
12600         (gst_thread_scheduler_task_get_type),
12601         (gst_thread_scheduler_task_class_init),
12602         (gst_thread_scheduler_task_init),
12603         (gst_thread_scheduler_task_start),
12604         (gst_thread_scheduler_task_stop),
12605         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12606         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12607         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12608         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12609         (plugin_init):
12610         * libs/gst/Makefile.am:
12611         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12612         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12613         (gst_file_pad_parent_set):
12614         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12615         (gst_dp_event_from_packet):
12616         * tests/complexity.c: (main):
12617         * tests/mass_elements.c: (main):
12618         * testsuite/states/locked.c: (message_received), (main):
12619         * testsuite/states/parent.c: (main):
12620         * tools/gst-inspect.c: (print_element_flag_info),
12621         (print_implementation_info), (print_pad_info):
12622         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12623         (main):
12624         * tools/gst-md5sum.c: (event_loop), (main):
12625         * tools/gst-typefind.c: (main):
12626         * tools/gst-xmlinspect.c: (print_element_info):
12627         Next big merge.
12628         Added GstBus for mainloop integration.
12629         Added GstMessage for sending notifications on the bus.
12630         Added GstTask as an abstraction for pipeline entry points.
12631         Removed GstThread.
12632         Removed Schedulers.
12633         Simplified GstQueue for multithreaded core.
12634         Made _link threadsafe, removed old capsnego.
12635         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12636         Added pad blocking functions.
12637         Reworked scheduling functions in GstPad to prepare for
12638         scheduling updates soon.
12639         Moved events out of data stream.
12640         Simplified GstEvent types.
12641         Added return values to push/pull.
12642         Removed clocking from GstElement.
12643         Added prototypes for state change function for next merge.
12644         Removed iterate from bins and state change management.
12645         Fixed some elements, disabled others for now.
12646         Fixed -inspect and -launch.
12647         Added check for GstBus.
12648
12649 2005-03-10  Wim Taymans  <wim@fluendo.com>
12650
12651         * docs/design/part-MT-refcounting.txt:
12652         * docs/design/part-clocks.txt:
12653         * docs/design/part-gstelement.txt:
12654         * docs/design/part-gstobject.txt:
12655         * docs/design/part-standards.txt:
12656         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12657         (gst_bin_remove_func), (gst_bin_remove):
12658         * gst/gstbin.h:
12659         * gst/gstbuffer.c:
12660         * gst/gstcaps.h:
12661         * testsuite/clock/clock1.c: (main):
12662         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12663         (main):
12664         * testsuite/dlopen/loadgst.c: (do_test):
12665         * testsuite/refcounting/bin.c: (add_remove_test1),
12666         (add_remove_test2), (main):
12667         * testsuite/refcounting/element.c: (main):
12668         * testsuite/refcounting/element_pad.c: (main):
12669         * testsuite/refcounting/pad.c: (main):
12670         * tools/gst-launch.c: (sigint_handler_sighandler):
12671         * tools/gst-typefind.c: (main):
12672         Doc updates.
12673         Added doc about clock.
12674         removed gst_bin_iterate_recurse_up(), marked methods
12675         for removal.
12676         Fix more testsuites.
12677
12678 2005-03-09  Wim Taymans  <wim@fluendo.com>
12679
12680         * gst/gstpad.c: (gst_pad_get_direction),
12681         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12682         (gst_pad_collect_valist):
12683         * testsuite/bins/interface.c: (main):
12684         * testsuite/caps/audioscale.c: (test_caps):
12685         * testsuite/caps/caps.c: (test1), (test2), (test3):
12686         * testsuite/caps/deserialize.c: (main):
12687         * testsuite/caps/enumcaps.c: (main):
12688         * testsuite/caps/filtercaps.c: (main):
12689         * testsuite/caps/intersect2.c: (main):
12690         * testsuite/caps/random.c: (main):
12691         * testsuite/caps/renegotiate.c: (my_fixate), (main):
12692         * testsuite/caps/sets.c: (check_caps):
12693         * testsuite/caps/simplify.c: (check_caps), (main):
12694         * testsuite/caps/subtract.c: (check_caps):
12695         Fix _pad_get_direction wrt ghostpads.
12696         Fix caps testsuite.
12697
12698 2005-03-09  Wim Taymans  <wim@fluendo.com>
12699
12700         * check/Makefile.am:
12701         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12702         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12703         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12704         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12705         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12706         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12707         (gst_bin_remove), (gst_bin_iterate_recurse_up),
12708         (bin_element_is_sink), (gst_bin_iterate_sinks),
12709         (gst_bin_iterate_all_by_interface):
12710         * gst/gstbin.h:
12711         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12712         (gst_element_change_state), (gst_element_dispose),
12713         (gst_element_finalize), (gst_element_set_loop_function):
12714         * gst/gstelement.h:
12715         * gst/gstiterator.c: (find_custom_fold_func):
12716         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12717         (gst_pad_collectv), (gst_pad_collect_valist),
12718         (gst_pad_template_new):
12719         * gst/gstpipeline.c: (gst_pipeline_class_init),
12720         (gst_pipeline_dispose), (gst_pipeline_set_property),
12721         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12722         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12723         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12724         * gst/gstutils.h:
12725         * gst/schedulers/entryscheduler.c:
12726         * gst/schedulers/gstbasicscheduler.c:
12727         (gst_basic_scheduler_cothreaded_chain),
12728         (gst_basic_scheduler_chain_add_element):
12729         * testsuite/bins/interface.c: (main):
12730         Added GstBin test.
12731         Added GstSystemClock test.
12732         Implemented clock distribution code in GstBin.
12733         Implemented iterate sinks method for future use.
12734         Rearranged gstelement.h
12735         Fix GstIterator comparison bug.
12736         Moved some code to GstPipeline, mostly clocking related.
12737
12738 2005-03-09  Wim Taymans  <wim@fluendo.com>
12739
12740         * configure.ac:
12741         * gst/gst_private.h:
12742         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12743         (gst_bin_remove_func), (gst_bin_remove),
12744         (gst_bin_get_by_name_recurse_up):
12745         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12746         (gst_clock_id_compare_func), (gst_clock_id_wait),
12747         (gst_clock_id_wait_async), (gst_clock_init),
12748         (gst_clock_adjust_unlocked), (gst_clock_get_time):
12749         * gst/gstelement.h:
12750         * gst/gstinfo.c: (_gst_debug_init):
12751         * gst/gstobject.h:
12752         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12753         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12754         * gst/gstpad.h:
12755         Bump version number, we're now 0.9.0
12756         Add future debugging category.
12757         Fix NULL _unref() in _get_by_name_recurse_up
12758         Rearrange gstpad.h.
12759         Update some docs.
12760
12761 2005-03-08  Wim Taymans  <wim@fluendo.com>
12762
12763         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12764         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12765         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12766         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12767         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12768         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12769         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12770         * gst/elements/gstidentity.c: (gst_identity_class_init):
12771         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12772         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12773         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12774         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12775         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12776         (gst_tee_link):
12777         * gst/gstelement.c: (gst_element_class_init),
12778         (gst_element_base_class_init), (gst_element_init),
12779         (gst_element_get_random_pad), (gst_element_wait_state_change),
12780         (gst_element_change_state), (gst_element_dispose),
12781         (gst_element_finalize), (gst_element_set_loop_function):
12782         * gst/gstelement.h:
12783         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12784         * gst/gstthread.c: (gst_thread_class_init),
12785         (gst_thread_release_children_locks), (gst_thread_change_state):
12786         * gst/schedulers/gstbasicscheduler.c:
12787         (gst_basic_scheduler_loopfunc_wrapper),
12788         (gst_basic_scheduler_chain_wrapper),
12789         (gst_basic_scheduler_src_wrapper),
12790         (gst_basic_scheduler_remove_element):
12791         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12792         Remove threadsafe properties. Fix elements because GObject
12793         complains when installing a property before declaring a
12794         set/get_property handler.
12795         Rearrange gstelement.h file, use STATE macros for state locks.
12796         Free mutexes in the finalize method instead of dispose.
12797
12798 2005-03-08  Wim Taymans  <wim@fluendo.com>
12799
12800         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12801         * gst/gstthread.c: (gst_thread_release_children_locks):
12802         Added parentage check.
12803         Fix build og GstThread again.
12804
12805 2005-03-08  Wim Taymans  <wim@fluendo.com>
12806
12807         * docs/design/part-MT-refcounting.txt:
12808         * docs/design/part-conventions.txt:
12809         * docs/design/part-gstobject.txt:
12810         * docs/design/part-relations.txt:
12811         * docs/design/part-standards.txt:
12812         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12813         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12814         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12815         (gst_bin_iterate_all_by_interface):
12816         * gst/gstbuffer.h:
12817         * gst/gstclock.h:
12818         * gst/gstelement.c: (gst_element_class_init),
12819         (gst_element_change_state), (gst_element_set_loop_function):
12820         * gst/gstelement.h:
12821         * gst/gstiterator.c:
12822         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12823         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12824         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12825         (gst_object_set_parent), (gst_object_unparent),
12826         (gst_object_check_uniqueness):
12827         * gst/gstobject.h:
12828         Docs updates, clean up some headers.
12829
12830 2005-03-07  Wim Taymans  <wim@fluendo.com>
12831
12832         * check/.cvsignore:
12833         * check/Makefile.am:
12834         * check/gst-libs/.cvsignore:
12835         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12836         * check/gst/.cvsignore:
12837         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12838         (START_TEST), (gstbus_suite), (main):
12839         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12840         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12841         (gst_data_suite), (main):
12842         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12843         (add_fold_func), (gstiterator_suite), (main):
12844         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12845         (thread_name_object), (thread_name_object_default),
12846         (gst_object_name_compare), (gst_object_suite), (main):
12847         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12848         (gst_pad_suite), (main):
12849         * check/gstcheck.c: (gst_check_log_message_func),
12850         (gst_check_log_critical_func), (gst_check_init):
12851         * check/gstcheck.h:
12852         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12853         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12854         Added checks.
12855
12856 2005-03-07  Wim Taymans  <wim@fluendo.com>
12857
12858         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12859         (gst_list_iterator_next), (gst_list_iterator_resync),
12860         (gst_list_iterator_free), (gst_iterator_new_list),
12861         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12862         (gst_iterator_free), (gst_iterator_push), (filter_next),
12863         (filter_resync), (filter_uninit), (filter_free),
12864         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12865         (gst_iterator_foreach), (find_custom_fold_func),
12866         (gst_iterator_find_custom):
12867         * gst/gstiterator.h:
12868         Added missing files.
12869
12870 2005-03-07  Wim Taymans  <wim@fluendo.com>
12871
12872         * Makefile.am:
12873         * configure.ac:
12874         * docs/design/part-MT-refcounting.txt:
12875         * docs/design/part-conventions.txt:
12876         * docs/design/part-gstobject.txt:
12877         * docs/design/part-relations.txt:
12878         * examples/mixer/mixer.c: (main):
12879         * examples/thread/thread.c: (eos), (main):
12880         * gst/Makefile.am:
12881         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12882         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12883         (gst_spider_plug_from_srcpad):
12884         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12885         (gst_spider_identity_change_state),
12886         (gst_spider_identity_sink_loop_type_finding):
12887         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12888         * gst/elements/gstidentity.c: (gst_identity_init):
12889         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12890         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12891         * gst/elements/gsttypefindelement.c: (free_entry):
12892         * gst/gst.c:
12893         * gst/gst.h:
12894         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12895         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12896         (gst_bin_set_index), (gst_bin_set_element_sched),
12897         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12898         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12899         (gst_bin_iterate_elements), (iterate_child_recurse),
12900         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12901         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12902         (compare_interface), (gst_bin_get_by_interface),
12903         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12904         * gst/gstbin.h:
12905         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12906         (gst_buffer_default_free), (gst_buffer_default_copy),
12907         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12908         (gst_buffer_create_sub):
12909         * gst/gstbuffer.h:
12910         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12911         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12912         (gst_caps_unref), (gst_static_caps_get),
12913         (gst_caps_remove_and_get_structure), (gst_caps_append),
12914         (gst_caps_append_structure), (gst_caps_remove_structure),
12915         (gst_caps_copy_nth), (gst_caps_set_simple),
12916         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12917         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12918         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12919         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12920         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12921         (gst_caps_structure_figure_out_union),
12922         (gst_caps_switch_structures), (gst_caps_do_simplify),
12923         (gst_caps_replace), (gst_caps_from_string),
12924         (gst_caps_copy_conditional):
12925         * gst/gstcaps.h:
12926         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12927         (_gst_clock_id_free), (gst_clock_id_unref),
12928         (gst_clock_id_compare_func), (gst_clock_id_wait),
12929         (gst_clock_id_wait_async), (gst_clock_class_init),
12930         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12931         (gst_clock_get_time), (gst_clock_set_time_adjust),
12932         (gst_clock_set_property), (gst_clock_get_property):
12933         * gst/gstclock.h:
12934         * gst/gstcompat.h:
12935         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12936         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12937         * gst/gstdata.h:
12938         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12939         (gst_element_requires_clock), (gst_element_provides_clock),
12940         (gst_element_set_clock), (gst_element_clock_wait),
12941         (gst_element_wait), (gst_element_set_time_delay),
12942         (gst_element_is_indexable), (gst_element_add_pad),
12943         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12944         (pad_compare_name), (gst_element_get_static_pad),
12945         (gst_element_request_pad), (gst_element_get_request_pad),
12946         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12947         (gst_element_class_get_pad_template_list),
12948         (gst_element_class_get_pad_template), (gst_element_error_func),
12949         (gst_element_get_random_pad), (gst_element_get_event_masks),
12950         (gst_element_send_event), (gst_element_seek),
12951         (gst_element_get_query_types), (gst_element_query),
12952         (gst_element_get_formats), (gst_element_convert),
12953         (gst_element_is_locked_state), (gst_element_set_locked_state),
12954         (gst_element_sync_state_with_parent), (gst_element_change_state),
12955         (gst_element_finalize), (gst_element_yield),
12956         (gst_element_interrupt), (gst_element_set_scheduler),
12957         (gst_element_get_scheduler), (gst_element_set_loop_function):
12958         * gst/gstelement.h:
12959         * gst/gstevent.h:
12960         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12961         (gst_format_get_by_nick), (gst_format_get_details),
12962         (gst_format_iterate_definitions):
12963         * gst/gstformat.h:
12964         * gst/gstindex.c: (gst_index_gtype_resolver):
12965         * gst/gstinfo.c:
12966         * gst/gstinfo.h:
12967         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12968         (gst_mem_chunk_free):
12969         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12970         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12971         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12972         (gst_object_dispatch_properties_changed),
12973         (gst_object_set_name_default), (gst_object_set_name),
12974         (gst_object_get_name), (gst_object_set_name_prefix),
12975         (gst_object_get_name_prefix), (gst_object_set_parent),
12976         (gst_object_get_parent), (gst_object_unparent),
12977         (gst_object_check_uniqueness), (gst_object_save_thyself),
12978         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12979         (gst_object_set_property), (gst_object_get_property),
12980         (gst_object_get_path_string):
12981         * gst/gstobject.h:
12982         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12983         (gst_real_pad_init), (gst_real_pad_get_property),
12984         (gst_pad_custom_new), (gst_pad_get_direction),
12985         (gst_pad_set_active), (gst_pad_is_active),
12986         (gst_pad_set_event_function), (gst_pad_is_linked),
12987         (gst_pad_link_free), (gst_pad_link_intersect),
12988         (gst_pad_link_fixate), (gst_pad_set_caps),
12989         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12990         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12991         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12992         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12993         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12994         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12995         (gst_pad_realize), (gst_pad_get_allowed_caps),
12996         (gst_real_pad_dispose), (gst_real_pad_finalize),
12997         (gst_pad_collectv), (gst_pad_collect_valist),
12998         (gst_pad_template_dispose), (gst_pad_template_new),
12999         (gst_pad_get_internal_links):
13000         * gst/gstpad.h:
13001         * gst/gstpipeline.c: (gst_pipeline_dispose),
13002         (gst_pipeline_change_state):
13003         * gst/gstpipeline.h:
13004         * gst/gstplugin.c:
13005         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13006         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13007         * gst/gstpluginfeature.h:
13008         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13009         * gst/gstquery.c: (_gst_query_type_initialize),
13010         (gst_query_type_register), (gst_query_type_get_by_nick),
13011         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13012         * gst/gstquery.h:
13013         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13014         * gst/gstscheduler.c: (gst_scheduler_add_element),
13015         (gst_scheduler_factory_create):
13016         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13017         (gst_structure_free), (gst_structure_set_name),
13018         (gst_structure_id_set_value), (gst_structure_set_value),
13019         (gst_structure_set_valist), (gst_structure_remove_field),
13020         (gst_structure_remove_fields),
13021         (gst_structure_remove_fields_valist),
13022         (gst_structure_remove_all_fields), (gst_structure_foreach),
13023         (gst_structure_map_in_place),
13024         (gst_caps_structure_fixate_field_nearest_int),
13025         (gst_caps_structure_fixate_field_nearest_double):
13026         * gst/gststructure.h:
13027         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13028         (gst_system_clock_init), (gst_system_clock_dispose),
13029         (gst_system_clock_async_thread),
13030         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13031         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13032         * gst/gstsystemclock.h:
13033         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13034         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13035         * gst/gsttaginterface.c:
13036         * gst/gstthread.c: (gst_thread_dispose),
13037         (gst_thread_release_children_locks), (gst_thread_change_state),
13038         (gst_thread_main_loop):
13039         * gst/gsttrashstack.h:
13040         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13041         * gst/gsttypes.h:
13042         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13043         (gst_element_request_pad), (gst_element_get_pad_from_template),
13044         (gst_element_request_compatible_pad),
13045         (gst_element_get_compatible_pad_filtered),
13046         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13047         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13048         (gst_element_link_many), (gst_element_link),
13049         (gst_element_link_pads), (gst_element_unlink_pads),
13050         (gst_element_unlink_many), (gst_element_unlink),
13051         (gst_pad_can_link_filtered), (gst_pad_can_link),
13052         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13053         (gst_object_default_error), (gst_bin_add_many),
13054         (gst_bin_remove_many), (gst_element_populate_std_props),
13055         (gst_element_class_install_std_props), (gst_buffer_merge),
13056         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13057         (link_fold_func), (gst_pad_proxy_setcaps):
13058         * gst/gstutils.h:
13059         * gst/gstvalue.c: (gst_value_deserialize_string):
13060         * gst/parse/grammar.y:
13061         * gst/schedulers/gstbasicscheduler.c:
13062         (gst_basic_scheduler_cothreaded_chain),
13063         (gst_basic_scheduler_chain_recursive_add),
13064         (gst_basic_scheduler_pad_link):
13065         * gst/schedulers/gstoptimalscheduler.c:
13066         (get_group_schedule_function),
13067         (gst_opt_scheduler_state_transition),
13068         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13069         * libs/gst/bytestream/bytestream.c:
13070         * libs/gst/dataprotocol/dataprotocol.c:
13071         (gst_dp_header_from_buffer):
13072         * po/nb.po:
13073         * po/ru.po:
13074         * tests/threadstate/threadstate2.c: (eos):
13075         * tools/gst-compprep.c: (main):
13076         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13077         (print_pad_info), (print_children_info):
13078         * tools/gst-launch.c: (idle_func), (main):
13079         * tools/gst-md5sum.c: (idle_func), (main):
13080         * tools/gst-xmlinspect.c: (print_element_info):
13081         First THREADED backport attempt, focusing on adding locks and
13082         making sure the API is threadsafe. Needs more work. More docs
13083         follow this week.
13084
13085 2005-02-24  Andy Wingo  <wingo@pobox.com>
13086
13087         * tests/bench-complexity.scm:
13088         * tests/complexity.gnuplot: New files, good for running complexity
13089         benchmarks.
13090
13091         * tests/Makefile.am:
13092         * tests/complexity.c: New test, sets up N elements, at each level
13093         teeing into M streams per element. Eeeenteresting.
13094
13095         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13096         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13097         running bench-mass_elements.scm.
13098
13099         * tests/bench-mass_elements.scm: New script, runs mass_elements
13100         for various numbers of identities, outputting the results to a
13101         file. Requires guile 1.6. Just for testing.
13102
13103 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13104
13105         * gst/schedulers/fairscheduler.c:
13106           compile with debug disabled
13107
13108 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13109
13110         * configure.ac:
13111           hunting season on 0.9 is now OPEN